From 8d4a8cfc184bab8748ddf43ea7a1476408b8b9b6 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 27 Feb 2022 13:33:42 +0100 Subject: [PATCH 1/2] psm dirs added for global runs treatment --- .../macros/cmt/RemoteMonitoringGLOBAL.cc | 885 +- .../macros/cmt/RemoteMonitoringGLOBALTest.cc | 867 +- .../macros/cmt/RemoteMonitoringMAP_Global.cc | 592 +- .../HcalTools/macros/cmt/zadcampltest.cc | 94 +- .../HcalTools/macros/cmt/zlumiadcampltest.cc | 447 + .../HcalTools/macros/psm/LogEleMapdb.h | 14763 +++++++++++++ .../macros/psm/RemoteMonitoringALCARECOPSM.cc | 10342 ++++++++++ .../macros/psm/RemoteMonitoringIMPSM.cc | 10342 ++++++++++ .../macros/psm/RemoteMonitoringIMPSMTEST.cc | 10348 ++++++++++ .../macros/psm/RemoteMonitoringPSM.cc | 17116 ++++++++++++++++ DPGAnalysis/HcalTools/macros/psm/compile.csh | 3 + .../macros/rmt/RemoteMonitoringMAP.cc | 1216 +- .../macros/rmt/RemoteMonitoringMAPTEST.cc | 1216 +- .../macros/rmt/RemoteMonitoringMAPnoPSM.cc | 887 +- .../HcalTools/plugins/CMTRawAnalyzer.cc | 40 +- .../remoteMonitoring_LASER_era2018_cfg.py | 2 + .../remoteMonitoring_LASER_era2019_cfg.py | 2 + .../remoteMonitoring_LED_IterMethod_cfg.py | 2 + .../remoteMonitoring_LED_era2018_cfg.py | 2 + .../remoteMonitoring_LED_era2019_cfg.py | 2 + .../remoteMonitoring_LED_era2021_cfg.py | 2 + .../remoteMonitoring_PEDESTAL_era2018_cfg.py | 2 + .../remoteMonitoring_PEDESTAL_era2019_cfg.py | 2 + DPGAnalysis/HcalTools/scripts/cmt/CMT_EOS.sh | 11 +- .../HcalTools/scripts/cmt/GlobalRMT_EOS.sh | 6 +- DPGAnalysis/HcalTools/scripts/cmt/Readme | 46 +- DPGAnalysis/HcalTools/scripts/cmt/a.py.beg | 58 +- DPGAnalysis/HcalTools/scripts/cmt/a.py.end | 61 +- DPGAnalysis/HcalTools/scripts/cmt/condor.jdl | 4 +- .../HcalTools/scripts/cmt/file_lists.csh | 4 +- .../HcalTools/scripts/cmt/index_zhokin.sh | 224 +- .../HcalTools/scripts/cmt/run_condor.csh | 6 +- DPGAnalysis/HcalTools/scripts/cmt/runlist_1 | 6 +- DPGAnalysis/HcalTools/scripts/cmt/runlist_run | 7 +- .../HcalTools/scripts/psm/ALCARECOPSM_EOS.sh | 251 + .../HcalTools/scripts/psm/GlobalPSM_EOS.sh | 250 + .../HcalTools/scripts/psm/IMPSM_EOS.sh | 251 + .../scripts/psm/PSM_Global_2018_cfg.py | 629 + DPGAnalysis/HcalTools/scripts/psm/PSM_TEST.sh | 73 + DPGAnalysis/HcalTools/scripts/psm/_runlist_ | 1 + DPGAnalysis/HcalTools/scripts/psm/a.py.beg | 40 + DPGAnalysis/HcalTools/scripts/psm/a.py.end | 506 + .../HcalTools/scripts/psm/aALCARECO.py.beg | 40 + .../HcalTools/scripts/psm/aALCARECO.py.end | 507 + .../HcalTools/scripts/psm/checkoutput120.csh | 40 + .../psm/cp_runs_fromeos_into_longruns.csh | 16 + .../psm/cp_runs_fromeos_into_longruns.sh | 28 + .../HcalTools/scripts/psm/crab_NZS2018C_1.py | 53 + .../HcalTools/scripts/psm/file_ALCARECO.csh | 25 + .../HcalTools/scripts/psm/file_IMPSM.csh | 26 + .../HcalTools/scripts/psm/file_lists.csh | 72 + .../HcalTools/scripts/psm/findtime.csh | 8 + .../scripts/psm/glu_runs_fromfile.csh | 13 + .../HcalTools/scripts/psm/glu_runs_oneos.csh | 17 + .../scripts/psm/index_toAddOnlyNewRuns_EOS.sh | 223 + .../psm/index_toAddOnlyNewRuns_EOS.shOLD | 349 + .../HcalTools/scripts/psm/mkcfg_new120.csh | 45 + .../scripts/psm/mkcfg_newALCARECO.csh | 45 + .../HcalTools/scripts/psm/mkcfg_newIMPSM.csh | 45 + DPGAnalysis/HcalTools/scripts/psm/readme | 272 + DPGAnalysis/HcalTools/scripts/psm/readmeDEF | 150 + .../HcalTools/scripts/psm/run_interactive.csh | 45 + DPGAnalysis/HcalTools/scripts/psm/rundate.sh | 129 + DPGAnalysis/HcalTools/scripts/psm/runlist_1 | 5 + .../HcalTools/scripts/psm/runlist_1ALCARECO | 5 + .../HcalTools/scripts/psm/runlist_1IMPSM | 5 + DPGAnalysis/HcalTools/scripts/psm/runlist_2 | 1 + .../HcalTools/scripts/psm/runlist_2021 | 6 + .../HcalTools/scripts/psm/runlist_2ALCARECO | 1 + .../HcalTools/scripts/psm/runlist_2IMPSM | 1 + DPGAnalysis/HcalTools/scripts/psm/runlist_3 | 1 + DPGAnalysis/HcalTools/scripts/psm/runlist_all | 16 + DPGAnalysis/HcalTools/scripts/psm/runlist_run | 1 + .../HcalTools/scripts/psm/runlist_runC | 19 + .../HcalTools/scripts/psm/runlist_testC | 18 + .../HcalTools/scripts/psm/runtime_runC | 39 + DPGAnalysis/HcalTools/scripts/psm/test.csh | 91 + DPGAnalysis/HcalTools/scripts/psm/test.sh | 109 + DPGAnalysis/HcalTools/scripts/psm/ztmpC | 1 + .../scripts/psm/ztmpHcalMB0_ALCARECO | 55 + .../scripts/psm/ztmpHcalMB1_ALCARECO | 54 + .../scripts/psm/ztmpHcalMB2_ALCARECO | 57 + .../HcalTools/scripts/psm/ztmpHcalMB_ALCARECO | 119 + .../scripts/psm/ztmpHcalNZS_ALCARECO | 119 + .../HcalTools/scripts/psm/ztmpHcalNZS_C | 444 + DPGAnalysis/HcalTools/test/readme | 2 +- ...emoteMonitoring_LEDReco_eraTEST2021_cfg.py | 582 + .../remoteMonitoring_LED_eraTEST2019_cfg.py | 38 +- 88 files changed, 72421 insertions(+), 3124 deletions(-) create mode 100644 DPGAnalysis/HcalTools/macros/cmt/zlumiadcampltest.cc create mode 100644 DPGAnalysis/HcalTools/macros/psm/LogEleMapdb.h create mode 100644 DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringALCARECOPSM.cc create mode 100644 DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSM.cc create mode 100644 DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSMTEST.cc create mode 100644 DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringPSM.cc create mode 100755 DPGAnalysis/HcalTools/macros/psm/compile.csh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/ALCARECOPSM_EOS.sh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/GlobalPSM_EOS.sh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/IMPSM_EOS.sh create mode 100644 DPGAnalysis/HcalTools/scripts/psm/PSM_Global_2018_cfg.py create mode 100755 DPGAnalysis/HcalTools/scripts/psm/PSM_TEST.sh create mode 100644 DPGAnalysis/HcalTools/scripts/psm/_runlist_ create mode 100644 DPGAnalysis/HcalTools/scripts/psm/a.py.beg create mode 100644 DPGAnalysis/HcalTools/scripts/psm/a.py.end create mode 100644 DPGAnalysis/HcalTools/scripts/psm/aALCARECO.py.beg create mode 100644 DPGAnalysis/HcalTools/scripts/psm/aALCARECO.py.end create mode 100755 DPGAnalysis/HcalTools/scripts/psm/checkoutput120.csh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/cp_runs_fromeos_into_longruns.csh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/cp_runs_fromeos_into_longruns.sh create mode 100644 DPGAnalysis/HcalTools/scripts/psm/crab_NZS2018C_1.py create mode 100755 DPGAnalysis/HcalTools/scripts/psm/file_ALCARECO.csh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/file_IMPSM.csh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/file_lists.csh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/findtime.csh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/glu_runs_fromfile.csh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/glu_runs_oneos.csh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/index_toAddOnlyNewRuns_EOS.sh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/index_toAddOnlyNewRuns_EOS.shOLD create mode 100755 DPGAnalysis/HcalTools/scripts/psm/mkcfg_new120.csh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/mkcfg_newALCARECO.csh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/mkcfg_newIMPSM.csh create mode 100644 DPGAnalysis/HcalTools/scripts/psm/readme create mode 100644 DPGAnalysis/HcalTools/scripts/psm/readmeDEF create mode 100755 DPGAnalysis/HcalTools/scripts/psm/run_interactive.csh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/rundate.sh create mode 100644 DPGAnalysis/HcalTools/scripts/psm/runlist_1 create mode 100644 DPGAnalysis/HcalTools/scripts/psm/runlist_1ALCARECO create mode 100644 DPGAnalysis/HcalTools/scripts/psm/runlist_1IMPSM create mode 100644 DPGAnalysis/HcalTools/scripts/psm/runlist_2 create mode 100644 DPGAnalysis/HcalTools/scripts/psm/runlist_2021 create mode 100644 DPGAnalysis/HcalTools/scripts/psm/runlist_2ALCARECO create mode 100644 DPGAnalysis/HcalTools/scripts/psm/runlist_2IMPSM create mode 100644 DPGAnalysis/HcalTools/scripts/psm/runlist_3 create mode 100644 DPGAnalysis/HcalTools/scripts/psm/runlist_all create mode 100644 DPGAnalysis/HcalTools/scripts/psm/runlist_run create mode 100644 DPGAnalysis/HcalTools/scripts/psm/runlist_runC create mode 100644 DPGAnalysis/HcalTools/scripts/psm/runlist_testC create mode 100644 DPGAnalysis/HcalTools/scripts/psm/runtime_runC create mode 100755 DPGAnalysis/HcalTools/scripts/psm/test.csh create mode 100755 DPGAnalysis/HcalTools/scripts/psm/test.sh create mode 100644 DPGAnalysis/HcalTools/scripts/psm/ztmpC create mode 100644 DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB0_ALCARECO create mode 100644 DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB1_ALCARECO create mode 100644 DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB2_ALCARECO create mode 100644 DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB_ALCARECO create mode 100644 DPGAnalysis/HcalTools/scripts/psm/ztmpHcalNZS_ALCARECO create mode 100644 DPGAnalysis/HcalTools/scripts/psm/ztmpHcalNZS_C create mode 100644 DPGAnalysis/HcalTools/test/remoteMonitoring_LEDReco_eraTEST2021_cfg.py diff --git a/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringGLOBAL.cc b/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringGLOBAL.cc index c618f95d815d0..0e95629694fb2 100644 --- a/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringGLOBAL.cc +++ b/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringGLOBAL.cc @@ -35,6 +35,7 @@ int copyContents(TH1F **hDest, TString hname, TString htitle, const TH1F *hSrc, // ----------------------------------------------------- int main(int argc, char *argv[]) { + std::string dirnm = "Analyzer"; gROOT->Reset(); gROOT->SetStyle("Plain"); gStyle->SetOptStat(0); @@ -55,6 +56,8 @@ int main(int argc, char *argv[]) { runnumber += fname[i]; TFile *hfile = new TFile(fname, "READ"); + hfile->ls(); + TDirectory *dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str()); // Cut [test][sub][depth] // Empty HB HE HO HF double Cut0[7][5][8] = { @@ -64,6 +67,12 @@ int main(int argc, char *argv[]) { {0., 0., 0., 0., 1., 0., 0., 0.}, {0., 1., 1., 0., 0., 0., 0., 0.}}, //CapID 0,HB,HE,HO,HF // {{0.,0.,0.,0.,0.,0.,0.,0.}, {0.,35.,35.,0.,0.,0.,0.,0.}, {0.,100.,140.,150.,0.,0.,0.,0.}, {0.,0.,0.,0.,100.,0.,0.,0.}, {0.,170.,110.,170.,110.,0.,0.,0.} }, //Amplitude 0,HB,HE,HO,HF +// +// {{0., 0., 0., 0., 0., 0., 0., 0.}, +// {0., 10., 10., 10., 10., 0., 0., 0.}, +// {0., 10., 10., 10., 10., 10., 10., 10.}, +// {0., 0., 0., 0., 10., 0., 0., 0.}, +// {0., 10., 10., 10., 10., 0., 0., 0.}}, //Amplitude 0,HB,HE,HO,HF {{0., 0., 0., 0., 0., 0., 0., 0.}, {0., 3500., 3500., 3500., 3500., 0., 0., 0.}, {0., 12000., 4500., 3500., 3500., 4000., 4500., 5500.}, @@ -122,8 +131,7 @@ int main(int argc, char *argv[]) { //====================================================================== // Prepare histograms and plot them to .png files - TCanvas *c1 = new TCanvas("c1", "Hcal4test", 200, 10, 700, 900); - +// TCanvas *cHB = new TCanvas("cHB", "cHB", 200, 10, 700, 900); TCanvas *cHB = new TCanvas("cHB", "cHB", 1000, 500); TCanvas *cHE = new TCanvas("cHE", "cHE", 1500, 500); TCanvas *cONE = new TCanvas("cONE", "cONE", 500, 500); @@ -154,14 +162,16 @@ int main(int argc, char *argv[]) { //+++++++++++++++++++++++++++++ // Lumi iLumi and number of events //+++++++++++++++++++++++++++++ + // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny cHB->Divide(2, 1); cHB->cd(1); - TH1F *LumLum = (TH1F *)hfile->Get("h_lsnumber_per_eachLS"); + TH1F *LumLum = (TH1F *)dir->FindObjectAny("h_lsnumber_per_eachLS"); int MaxLumDanila = LumLum->GetBinContent(LumLum->GetMaximumBin()); // old variant of Danila cout << " MaxLumDanila= " << MaxLumDanila << endl; + gStyle->SetOptStat(110000); gPad->SetGridy(); gPad->SetGridx(); - LumLum->SetMarkerStyle(10); + LumLum->SetMarkerStyle(21); LumLum->SetMarkerSize(0.8); LumLum->GetYaxis()->SetLabelSize(0.04); LumLum->SetTitle("Cont. number per LS \b"); @@ -170,11 +180,11 @@ int main(int argc, char *argv[]) { LumLum->SetMarkerColor(4); LumLum->SetLineColor(0); LumLum->SetMinimum(0.8); - LumLum->GetXaxis()->SetRangeUser(0, MaxLumDanila); + LumLum->GetXaxis()->SetRangeUser(0, MaxLumDanila+5.); LumLum->Draw("Error"); cHB->cd(2); - TH1F *LumiEv = (TH1F *)hfile->Get("h_nevents_per_eachRealLS"); + TH1F *LumiEv = (TH1F *)dir->FindObjectAny("h_nevents_per_eachRealLS"); int MaxLum0 = LumiEv->GetBinContent(LumiEv->GetMaximumBin()); int MaxLum = 0; for (int i = 1; i <= LumiEv->GetXaxis()->GetNbins(); i++) { @@ -182,8 +192,9 @@ int main(int argc, char *argv[]) { MaxLum = i; } } - cout << " MaxLum0= " << MaxLum0 << " MaxLum= " << MaxLum << endl; + cout << " Nev in bin of MaxLum = " << MaxLum0 << " MaxLum= " << MaxLum << endl; + gStyle->SetOptStat(110000); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogy(); @@ -192,12 +203,12 @@ int main(int argc, char *argv[]) { LumiEv->SetTitle("Number of events per LS"); LumiEv->SetXTitle("LS"); LumiEv->SetYTitle("Number of events "); - LumiEv->SetMarkerStyle(10); + LumiEv->SetMarkerStyle(21); LumiEv->SetMarkerSize(0.8); LumiEv->SetMarkerColor(4); LumiEv->SetLineColor(0); // LumiEv->SetMinimum(0.8); - LumiEv->GetXaxis()->SetRangeUser(0, MaxLum); + LumiEv->GetXaxis()->SetRangeUser(0, MaxLum+5.); LumiEv->Draw("Error"); cHB->Print("LumiEvent.png"); @@ -212,81 +223,81 @@ int main(int argc, char *argv[]) { // ADC Amplitude //+++++++++++++++++++++++++++++ - H_NumBadChanDepth[1][1][1] = (TH1F *)hfile->Get("h_sumADCAmplLS1"); - H_NumBadChanDepth[1][1][2] = (TH1F *)hfile->Get("h_sumADCAmplLS2"); + H_NumBadChanDepth[1][1][1] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS1"); + H_NumBadChanDepth[1][1][2] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS2"); - H_NumBadChanDepth[1][2][1] = (TH1F *)hfile->Get("h_sumADCAmplLS3"); - H_NumBadChanDepth[1][2][2] = (TH1F *)hfile->Get("h_sumADCAmplLS4"); - H_NumBadChanDepth[1][2][3] = (TH1F *)hfile->Get("h_sumADCAmplLS5"); + H_NumBadChanDepth[1][2][1] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS3"); + H_NumBadChanDepth[1][2][2] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS4"); + H_NumBadChanDepth[1][2][3] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS5"); - H_NumBadChanDepth[1][3][4] = (TH1F *)hfile->Get("h_sumADCAmplLS8"); + H_NumBadChanDepth[1][3][4] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS8"); - H_NumBadChanDepth[1][4][1] = (TH1F *)hfile->Get("h_sumADCAmplLS6"); - H_NumBadChanDepth[1][4][2] = (TH1F *)hfile->Get("h_sumADCAmplLS7"); + H_NumBadChanDepth[1][4][1] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS6"); + H_NumBadChanDepth[1][4][2] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS7"); //+++++++++++++++++++++++++++++ // Width //+++++++++++++++++++++++++++++ - H_NumBadChanDepth[2][1][1] = (TH1F *)hfile->Get("h_sumAmplitudeLS1"); - H_NumBadChanDepth[2][1][2] = (TH1F *)hfile->Get("h_sumAmplitudeLS2"); + H_NumBadChanDepth[2][1][1] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS1"); + H_NumBadChanDepth[2][1][2] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS2"); - H_NumBadChanDepth[2][2][1] = (TH1F *)hfile->Get("h_sumAmplitudeLS3"); - H_NumBadChanDepth[2][2][2] = (TH1F *)hfile->Get("h_sumAmplitudeLS4"); - H_NumBadChanDepth[2][2][3] = (TH1F *)hfile->Get("h_sumAmplitudeLS5"); + H_NumBadChanDepth[2][2][1] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS3"); + H_NumBadChanDepth[2][2][2] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS4"); + H_NumBadChanDepth[2][2][3] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS5"); - H_NumBadChanDepth[2][3][4] = (TH1F *)hfile->Get("h_sumAmplitudeLS8"); + H_NumBadChanDepth[2][3][4] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS8"); - H_NumBadChanDepth[2][4][1] = (TH1F *)hfile->Get("h_sumAmplitudeLS6"); - H_NumBadChanDepth[2][4][2] = (TH1F *)hfile->Get("h_sumAmplitudeLS7"); + H_NumBadChanDepth[2][4][1] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS6"); + H_NumBadChanDepth[2][4][2] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS7"); //+++++++++++++++++++++++++++++ // Ratio //+++++++++++++++++++++++++++++ - H_NumBadChanDepth[3][1][1] = (TH1F *)hfile->Get("h_sumAmplLS1"); - H_NumBadChanDepth[3][1][2] = (TH1F *)hfile->Get("h_sumAmplLS2"); + H_NumBadChanDepth[3][1][1] = (TH1F *)dir->FindObjectAny("h_sumAmplLS1"); + H_NumBadChanDepth[3][1][2] = (TH1F *)dir->FindObjectAny("h_sumAmplLS2"); - H_NumBadChanDepth[3][2][1] = (TH1F *)hfile->Get("h_sumAmplLS3"); - H_NumBadChanDepth[3][2][2] = (TH1F *)hfile->Get("h_sumAmplLS4"); - H_NumBadChanDepth[3][2][3] = (TH1F *)hfile->Get("h_sumAmplLS5"); + H_NumBadChanDepth[3][2][1] = (TH1F *)dir->FindObjectAny("h_sumAmplLS3"); + H_NumBadChanDepth[3][2][2] = (TH1F *)dir->FindObjectAny("h_sumAmplLS4"); + H_NumBadChanDepth[3][2][3] = (TH1F *)dir->FindObjectAny("h_sumAmplLS5"); - H_NumBadChanDepth[3][3][4] = (TH1F *)hfile->Get("h_sumAmplLS8"); + H_NumBadChanDepth[3][3][4] = (TH1F *)dir->FindObjectAny("h_sumAmplLS8"); - H_NumBadChanDepth[3][4][1] = (TH1F *)hfile->Get("h_sumAmplLS6"); - H_NumBadChanDepth[3][4][2] = (TH1F *)hfile->Get("h_sumAmplLS7"); + H_NumBadChanDepth[3][4][1] = (TH1F *)dir->FindObjectAny("h_sumAmplLS6"); + H_NumBadChanDepth[3][4][2] = (TH1F *)dir->FindObjectAny("h_sumAmplLS7"); //+++++++++++++++++++++++++++++ // Tmean //+++++++++++++++++++++++++++++ - H_NumBadChanDepth[4][1][1] = (TH1F *)hfile->Get("h_sumTSmeanALS1"); - H_NumBadChanDepth[4][1][2] = (TH1F *)hfile->Get("h_sumTSmeanALS2"); + H_NumBadChanDepth[4][1][1] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS1"); + H_NumBadChanDepth[4][1][2] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS2"); - H_NumBadChanDepth[4][2][1] = (TH1F *)hfile->Get("h_sumTSmeanALS3"); - H_NumBadChanDepth[4][2][2] = (TH1F *)hfile->Get("h_sumTSmeanALS4"); - H_NumBadChanDepth[4][2][3] = (TH1F *)hfile->Get("h_sumTSmeanALS5"); + H_NumBadChanDepth[4][2][1] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS3"); + H_NumBadChanDepth[4][2][2] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS4"); + H_NumBadChanDepth[4][2][3] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS5"); - H_NumBadChanDepth[4][3][4] = (TH1F *)hfile->Get("h_sumTSmeanALS8"); + H_NumBadChanDepth[4][3][4] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS8"); - H_NumBadChanDepth[4][4][1] = (TH1F *)hfile->Get("h_sumTSmeanALS6"); - H_NumBadChanDepth[4][4][2] = (TH1F *)hfile->Get("h_sumTSmeanALS7"); + H_NumBadChanDepth[4][4][1] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS6"); + H_NumBadChanDepth[4][4][2] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS7"); //+++++++++++++++++++++++++++++ // Tmax //+++++++++++++++++++++++++++++ - H_NumBadChanDepth[5][1][1] = (TH1F *)hfile->Get("h_sumTSmaxALS1"); - H_NumBadChanDepth[5][1][2] = (TH1F *)hfile->Get("h_sumTSmaxALS2"); + H_NumBadChanDepth[5][1][1] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS1"); + H_NumBadChanDepth[5][1][2] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS2"); - H_NumBadChanDepth[5][2][1] = (TH1F *)hfile->Get("h_sumTSmaxALS3"); - H_NumBadChanDepth[5][2][2] = (TH1F *)hfile->Get("h_sumTSmaxALS4"); - H_NumBadChanDepth[5][2][3] = (TH1F *)hfile->Get("h_sumTSmaxALS5"); + H_NumBadChanDepth[5][2][1] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS3"); + H_NumBadChanDepth[5][2][2] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS4"); + H_NumBadChanDepth[5][2][3] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS5"); - H_NumBadChanDepth[5][3][4] = (TH1F *)hfile->Get("h_sumTSmaxALS8"); + H_NumBadChanDepth[5][3][4] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS8"); - H_NumBadChanDepth[5][4][1] = (TH1F *)hfile->Get("h_sumTSmaxALS6"); - H_NumBadChanDepth[5][4][2] = (TH1F *)hfile->Get("h_sumTSmaxALS7"); + H_NumBadChanDepth[5][4][1] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS6"); + H_NumBadChanDepth[5][4][2] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS7"); gStyle->SetOptStat(110000); @@ -466,31 +477,31 @@ int main(int argc, char *argv[]) { // CapID //+++++++++++++++++++++++++++++ - MapNumBadChanDepth[0][1][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HB"); - MapNumBadChanDepth[0][1][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HB"); + MapNumBadChanDepth[0][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HB"); + MapNumBadChanDepth[0][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HB"); - MapNumBadChanDepth[0][2][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HE"); - MapNumBadChanDepth[0][2][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HE"); - MapNumBadChanDepth[0][2][3] = (TH2F *)hfile->Get("h_mapDepth3Error_HE"); + MapNumBadChanDepth[0][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HE"); + MapNumBadChanDepth[0][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HE"); + MapNumBadChanDepth[0][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Error_HE"); - MapNumBadChanDepth[0][3][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HO"); + MapNumBadChanDepth[0][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HO"); - MapNumBadChanDepth[0][4][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HF"); - MapNumBadChanDepth[0][4][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HF"); + MapNumBadChanDepth[0][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HF"); + MapNumBadChanDepth[0][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HF"); MapNumBadChanFull[0] = (TH2F *)MapNumBadChanDepth[0][1][1]->Clone(); - MapNumChanDepth[0][1][1] = (TH2F *)hfile->Get("h_mapDepth1_HB"); - MapNumChanDepth[0][1][2] = (TH2F *)hfile->Get("h_mapDepth2_HB"); + MapNumChanDepth[0][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HB"); + MapNumChanDepth[0][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HB"); - MapNumChanDepth[0][2][1] = (TH2F *)hfile->Get("h_mapDepth1_HE"); - MapNumChanDepth[0][2][2] = (TH2F *)hfile->Get("h_mapDepth2_HE"); - MapNumChanDepth[0][2][3] = (TH2F *)hfile->Get("h_mapDepth3_HE"); + MapNumChanDepth[0][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HE"); + MapNumChanDepth[0][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HE"); + MapNumChanDepth[0][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HE"); - MapNumChanDepth[0][3][4] = (TH2F *)hfile->Get("h_mapDepth4_HO"); + MapNumChanDepth[0][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HO"); - MapNumChanDepth[0][4][1] = (TH2F *)hfile->Get("h_mapDepth1_HF"); - MapNumChanDepth[0][4][2] = (TH2F *)hfile->Get("h_mapDepth2_HF"); + MapNumChanDepth[0][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HF"); + MapNumChanDepth[0][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HF"); MapNumChanFull[0] = (TH2F *)MapNumChanDepth[0][1][1]->Clone(); @@ -498,31 +509,31 @@ int main(int argc, char *argv[]) { // ADC Amplitude //+++++++++++++++++++++++++++++ - MapNumBadChanDepth[1][1][1] = (TH2F *)hfile->Get("h_2DsumADCAmplLS1"); - MapNumBadChanDepth[1][1][2] = (TH2F *)hfile->Get("h_2DsumADCAmplLS2"); + MapNumBadChanDepth[1][1][1] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS1"); + MapNumBadChanDepth[1][1][2] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS2"); - MapNumBadChanDepth[1][2][1] = (TH2F *)hfile->Get("h_2DsumADCAmplLS3"); - MapNumBadChanDepth[1][2][2] = (TH2F *)hfile->Get("h_2DsumADCAmplLS4"); - MapNumBadChanDepth[1][2][3] = (TH2F *)hfile->Get("h_2DsumADCAmplLS5"); + MapNumBadChanDepth[1][2][1] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS3"); + MapNumBadChanDepth[1][2][2] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS4"); + MapNumBadChanDepth[1][2][3] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS5"); - MapNumBadChanDepth[1][3][4] = (TH2F *)hfile->Get("h_2DsumADCAmplLS8"); + MapNumBadChanDepth[1][3][4] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS8"); - MapNumBadChanDepth[1][4][1] = (TH2F *)hfile->Get("h_2DsumADCAmplLS6"); - MapNumBadChanDepth[1][4][2] = (TH2F *)hfile->Get("h_2DsumADCAmplLS7"); + MapNumBadChanDepth[1][4][1] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS6"); + MapNumBadChanDepth[1][4][2] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS7"); MapNumBadChanFull[1] = (TH2F *)MapNumBadChanDepth[1][1][1]->Clone(); - MapNumChanDepth[1][1][1] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS1"); - MapNumChanDepth[1][1][2] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS2"); + MapNumChanDepth[1][1][1] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS1"); + MapNumChanDepth[1][1][2] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS2"); - MapNumChanDepth[1][2][1] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS3"); - MapNumChanDepth[1][2][2] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS4"); - MapNumChanDepth[1][2][3] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS5"); + MapNumChanDepth[1][2][1] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS3"); + MapNumChanDepth[1][2][2] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS4"); + MapNumChanDepth[1][2][3] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS5"); - MapNumChanDepth[1][3][4] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS8"); + MapNumChanDepth[1][3][4] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS8"); - MapNumChanDepth[1][4][1] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS6"); - MapNumChanDepth[1][4][2] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS7"); + MapNumChanDepth[1][4][1] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS6"); + MapNumChanDepth[1][4][2] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS7"); MapNumChanFull[1] = (TH2F *)MapNumChanDepth[1][1][1]->Clone(); @@ -530,31 +541,31 @@ int main(int argc, char *argv[]) { // Width //+++++++++++++++++++++++++++++ - MapNumBadChanDepth[2][1][1] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS1"); - MapNumBadChanDepth[2][1][2] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS2"); + MapNumBadChanDepth[2][1][1] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS1"); + MapNumBadChanDepth[2][1][2] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS2"); - MapNumBadChanDepth[2][2][1] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS3"); - MapNumBadChanDepth[2][2][2] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS4"); - MapNumBadChanDepth[2][2][3] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS5"); + MapNumBadChanDepth[2][2][1] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS3"); + MapNumBadChanDepth[2][2][2] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS4"); + MapNumBadChanDepth[2][2][3] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS5"); - MapNumBadChanDepth[2][3][4] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS8"); + MapNumBadChanDepth[2][3][4] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS8"); - MapNumBadChanDepth[2][4][1] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS6"); - MapNumBadChanDepth[2][4][2] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS7"); + MapNumBadChanDepth[2][4][1] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS6"); + MapNumBadChanDepth[2][4][2] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS7"); MapNumBadChanFull[2] = (TH2F *)MapNumBadChanDepth[2][1][1]->Clone(); - MapNumChanDepth[2][1][1] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS1"); - MapNumChanDepth[2][1][2] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS2"); + MapNumChanDepth[2][1][1] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS1"); + MapNumChanDepth[2][1][2] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS2"); - MapNumChanDepth[2][2][1] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS3"); - MapNumChanDepth[2][2][2] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS4"); - MapNumChanDepth[2][2][3] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS5"); + MapNumChanDepth[2][2][1] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS3"); + MapNumChanDepth[2][2][2] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS4"); + MapNumChanDepth[2][2][3] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS5"); - MapNumChanDepth[2][3][4] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS8"); + MapNumChanDepth[2][3][4] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS8"); - MapNumChanDepth[2][4][1] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS6"); - MapNumChanDepth[2][4][2] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS7"); + MapNumChanDepth[2][4][1] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS6"); + MapNumChanDepth[2][4][2] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS7"); MapNumChanFull[2] = (TH2F *)MapNumChanDepth[2][1][1]->Clone(); @@ -562,31 +573,31 @@ int main(int argc, char *argv[]) { // Ratio //+++++++++++++++++++++++++++++ - MapNumBadChanDepth[3][1][1] = (TH2F *)hfile->Get("h_2DsumAmplLS1"); - MapNumBadChanDepth[3][1][2] = (TH2F *)hfile->Get("h_2DsumAmplLS2"); + MapNumBadChanDepth[3][1][1] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS1"); + MapNumBadChanDepth[3][1][2] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS2"); - MapNumBadChanDepth[3][2][1] = (TH2F *)hfile->Get("h_2DsumAmplLS3"); - MapNumBadChanDepth[3][2][2] = (TH2F *)hfile->Get("h_2DsumAmplLS4"); - MapNumBadChanDepth[3][2][3] = (TH2F *)hfile->Get("h_2DsumAmplLS5"); + MapNumBadChanDepth[3][2][1] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS3"); + MapNumBadChanDepth[3][2][2] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS4"); + MapNumBadChanDepth[3][2][3] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS5"); - MapNumBadChanDepth[3][3][4] = (TH2F *)hfile->Get("h_2DsumAmplLS8"); + MapNumBadChanDepth[3][3][4] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS8"); - MapNumBadChanDepth[3][4][1] = (TH2F *)hfile->Get("h_2DsumAmplLS6"); - MapNumBadChanDepth[3][4][2] = (TH2F *)hfile->Get("h_2DsumAmplLS7"); + MapNumBadChanDepth[3][4][1] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS6"); + MapNumBadChanDepth[3][4][2] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS7"); MapNumBadChanFull[3] = (TH2F *)MapNumBadChanDepth[3][1][1]->Clone(); - MapNumChanDepth[3][1][1] = (TH2F *)hfile->Get("h_2D0sumAmplLS1"); - MapNumChanDepth[3][1][2] = (TH2F *)hfile->Get("h_2D0sumAmplLS2"); + MapNumChanDepth[3][1][1] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS1"); + MapNumChanDepth[3][1][2] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS2"); - MapNumChanDepth[3][2][1] = (TH2F *)hfile->Get("h_2D0sumAmplLS3"); - MapNumChanDepth[3][2][2] = (TH2F *)hfile->Get("h_2D0sumAmplLS4"); - MapNumChanDepth[3][2][3] = (TH2F *)hfile->Get("h_2D0sumAmplLS5"); + MapNumChanDepth[3][2][1] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS3"); + MapNumChanDepth[3][2][2] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS4"); + MapNumChanDepth[3][2][3] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS5"); - MapNumChanDepth[3][3][4] = (TH2F *)hfile->Get("h_2D0sumAmplLS8"); + MapNumChanDepth[3][3][4] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS8"); - MapNumChanDepth[3][4][1] = (TH2F *)hfile->Get("h_2D0sumAmplLS6"); - MapNumChanDepth[3][4][2] = (TH2F *)hfile->Get("h_2D0sumAmplLS7"); + MapNumChanDepth[3][4][1] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS6"); + MapNumChanDepth[3][4][2] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS7"); MapNumChanFull[3] = (TH2F *)MapNumChanDepth[3][1][1]->Clone(); @@ -594,31 +605,31 @@ int main(int argc, char *argv[]) { // Tmean //+++++++++++++++++++++++++++++ - MapNumBadChanDepth[4][1][1] = (TH2F *)hfile->Get("h_2DsumTSmeanALS1"); - MapNumBadChanDepth[4][1][2] = (TH2F *)hfile->Get("h_2DsumTSmeanALS2"); + MapNumBadChanDepth[4][1][1] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS1"); + MapNumBadChanDepth[4][1][2] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS2"); - MapNumBadChanDepth[4][2][1] = (TH2F *)hfile->Get("h_2DsumTSmeanALS3"); - MapNumBadChanDepth[4][2][2] = (TH2F *)hfile->Get("h_2DsumTSmeanALS4"); - MapNumBadChanDepth[4][2][3] = (TH2F *)hfile->Get("h_2DsumTSmeanALS5"); + MapNumBadChanDepth[4][2][1] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS3"); + MapNumBadChanDepth[4][2][2] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS4"); + MapNumBadChanDepth[4][2][3] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS5"); - MapNumBadChanDepth[4][3][4] = (TH2F *)hfile->Get("h_2DsumTSmeanALS8"); + MapNumBadChanDepth[4][3][4] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS8"); - MapNumBadChanDepth[4][4][1] = (TH2F *)hfile->Get("h_2DsumTSmeanALS6"); - MapNumBadChanDepth[4][4][2] = (TH2F *)hfile->Get("h_2DsumTSmeanALS7"); + MapNumBadChanDepth[4][4][1] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS6"); + MapNumBadChanDepth[4][4][2] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS7"); MapNumBadChanFull[4] = (TH2F *)MapNumBadChanDepth[4][1][1]->Clone(); - MapNumChanDepth[4][1][1] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS1"); - MapNumChanDepth[4][1][2] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS2"); + MapNumChanDepth[4][1][1] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS1"); + MapNumChanDepth[4][1][2] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS2"); - MapNumChanDepth[4][2][1] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS3"); - MapNumChanDepth[4][2][2] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS4"); - MapNumChanDepth[4][2][3] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS5"); + MapNumChanDepth[4][2][1] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS3"); + MapNumChanDepth[4][2][2] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS4"); + MapNumChanDepth[4][2][3] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS5"); - MapNumChanDepth[4][3][4] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS8"); + MapNumChanDepth[4][3][4] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS8"); - MapNumChanDepth[4][4][1] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS6"); - MapNumChanDepth[4][4][2] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS7"); + MapNumChanDepth[4][4][1] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS6"); + MapNumChanDepth[4][4][2] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS7"); MapNumChanFull[4] = (TH2F *)MapNumChanDepth[4][1][1]->Clone(); @@ -626,31 +637,31 @@ int main(int argc, char *argv[]) { // Tmax //+++++++++++++++++++++++++++++ - MapNumBadChanDepth[5][1][1] = (TH2F *)hfile->Get("h_2DsumTSmaxALS1"); - MapNumBadChanDepth[5][1][2] = (TH2F *)hfile->Get("h_2DsumTSmaxALS2"); + MapNumBadChanDepth[5][1][1] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS1"); + MapNumBadChanDepth[5][1][2] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS2"); - MapNumBadChanDepth[5][2][1] = (TH2F *)hfile->Get("h_2DsumTSmaxALS3"); - MapNumBadChanDepth[5][2][2] = (TH2F *)hfile->Get("h_2DsumTSmaxALS4"); - MapNumBadChanDepth[5][2][3] = (TH2F *)hfile->Get("h_2DsumTSmaxALS5"); + MapNumBadChanDepth[5][2][1] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS3"); + MapNumBadChanDepth[5][2][2] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS4"); + MapNumBadChanDepth[5][2][3] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS5"); - MapNumBadChanDepth[5][3][4] = (TH2F *)hfile->Get("h_2DsumTSmaxALS8"); + MapNumBadChanDepth[5][3][4] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS8"); - MapNumBadChanDepth[5][4][1] = (TH2F *)hfile->Get("h_2DsumTSmaxALS6"); - MapNumBadChanDepth[5][4][2] = (TH2F *)hfile->Get("h_2DsumTSmaxALS7"); + MapNumBadChanDepth[5][4][1] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS6"); + MapNumBadChanDepth[5][4][2] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS7"); MapNumBadChanFull[5] = (TH2F *)MapNumBadChanDepth[5][1][1]->Clone(); - MapNumChanDepth[5][1][1] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS1"); - MapNumChanDepth[5][1][2] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS2"); + MapNumChanDepth[5][1][1] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS1"); + MapNumChanDepth[5][1][2] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS2"); - MapNumChanDepth[5][2][1] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS3"); - MapNumChanDepth[5][2][2] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS4"); - MapNumChanDepth[5][2][3] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS5"); + MapNumChanDepth[5][2][1] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS3"); + MapNumChanDepth[5][2][2] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS4"); + MapNumChanDepth[5][2][3] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS5"); - MapNumChanDepth[5][3][4] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS8"); + MapNumChanDepth[5][3][4] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS8"); - MapNumChanDepth[5][4][1] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS6"); - MapNumChanDepth[5][4][2] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS7"); + MapNumChanDepth[5][4][1] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS6"); + MapNumChanDepth[5][4][2] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS7"); MapNumChanFull[5] = (TH2F *)MapNumChanDepth[5][1][1]->Clone(); @@ -879,43 +890,43 @@ int main(int argc, char *argv[]) { // Rate of Cap ID errors //+++++++++++++++++++++++++++++ - HistNumBadChanDepth[0][1][1] = (TH1F *)hfile->Get("h_runnbadchannels_depth1_HB"); - HistNumBadChanDepth[0][1][2] = (TH1F *)hfile->Get("h_runnbadchannels_depth2_HB"); + HistNumBadChanDepth[0][1][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth1_HB"); + HistNumBadChanDepth[0][1][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth2_HB"); - HistNumBadChanDepth[0][2][1] = (TH1F *)hfile->Get("h_runnbadchannels_depth1_HE"); - HistNumBadChanDepth[0][2][2] = (TH1F *)hfile->Get("h_runnbadchannels_depth2_HE"); - HistNumBadChanDepth[0][2][3] = (TH1F *)hfile->Get("h_runnbadchannels_depth3_HE"); + HistNumBadChanDepth[0][2][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth1_HE"); + HistNumBadChanDepth[0][2][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth2_HE"); + HistNumBadChanDepth[0][2][3] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth3_HE"); - HistNumBadChanDepth[0][3][4] = (TH1F *)hfile->Get("h_runnbadchannels_depth4_HO"); + HistNumBadChanDepth[0][3][4] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth4_HO"); - HistNumBadChanDepth[0][4][1] = (TH1F *)hfile->Get("h_runnbadchannels_depth1_HF"); - HistNumBadChanDepth[0][4][2] = (TH1F *)hfile->Get("h_runnbadchannels_depth2_HF"); + HistNumBadChanDepth[0][4][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth1_HF"); + HistNumBadChanDepth[0][4][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth2_HF"); HistNumBadChanFull[0] = (TH1F *)HistNumBadChanDepth[0][1][1]->Clone(); - HistCutNumBadChanDepth[0][1][1] = (TH1F *)hfile->Get("h_runnbadchannels_depth1_HB"); - HistCutNumBadChanDepth[0][1][2] = (TH1F *)hfile->Get("h_runnbadchannels_depth2_HB"); + HistCutNumBadChanDepth[0][1][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth1_HB"); + HistCutNumBadChanDepth[0][1][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth2_HB"); - HistCutNumBadChanDepth[0][2][1] = (TH1F *)hfile->Get("h_runnbadchannels_depth1_HE"); - HistCutNumBadChanDepth[0][2][2] = (TH1F *)hfile->Get("h_runnbadchannels_depth2_HE"); - HistCutNumBadChanDepth[0][2][3] = (TH1F *)hfile->Get("h_runnbadchannels_depth3_HE"); + HistCutNumBadChanDepth[0][2][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth1_HE"); + HistCutNumBadChanDepth[0][2][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth2_HE"); + HistCutNumBadChanDepth[0][2][3] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth3_HE"); - HistCutNumBadChanDepth[0][3][4] = (TH1F *)hfile->Get("h_runnbadchannels_depth4_HO"); + HistCutNumBadChanDepth[0][3][4] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth4_HO"); - HistCutNumBadChanDepth[0][4][1] = (TH1F *)hfile->Get("h_runnbadchannels_depth1_HF"); - HistCutNumBadChanDepth[0][4][2] = (TH1F *)hfile->Get("h_runnbadchannels_depth2_HF"); + HistCutNumBadChanDepth[0][4][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth1_HF"); + HistCutNumBadChanDepth[0][4][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth2_HF"); - HistNumChanDepth[0][1][1] = (TH1F *)hfile->Get("h_runbadrate0_depth1_HB"); - HistNumChanDepth[0][1][2] = (TH1F *)hfile->Get("h_runbadrate0_depth2_HB"); + HistNumChanDepth[0][1][1] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth1_HB"); + HistNumChanDepth[0][1][2] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth2_HB"); - HistNumChanDepth[0][2][1] = (TH1F *)hfile->Get("h_runbadrate0_depth1_HE"); - HistNumChanDepth[0][2][2] = (TH1F *)hfile->Get("h_runbadrate0_depth2_HE"); - HistNumChanDepth[0][2][3] = (TH1F *)hfile->Get("h_runbadrate0_depth3_HE"); + HistNumChanDepth[0][2][1] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth1_HE"); + HistNumChanDepth[0][2][2] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth2_HE"); + HistNumChanDepth[0][2][3] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth3_HE"); - HistNumChanDepth[0][3][4] = (TH1F *)hfile->Get("h_runbadrate0_depth4_HO"); + HistNumChanDepth[0][3][4] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth4_HO"); - HistNumChanDepth[0][4][1] = (TH1F *)hfile->Get("h_runbadrate0_depth1_HF"); - HistNumChanDepth[0][4][2] = (TH1F *)hfile->Get("h_runbadrate0_depth2_HF"); + HistNumChanDepth[0][4][1] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth1_HF"); + HistNumChanDepth[0][4][2] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth2_HF"); HistNumChanFull[0] = (TH1F *)HistNumChanDepth[0][1][1]->Clone(); @@ -925,90 +936,90 @@ int main(int argc, char *argv[]) { ////////////////////// // HB: - HistNumBadChanDepth[1][1][1] = (TH1F *)hfile->Get("h_sumADCAmplperLS1"); - HistNumBadChanDepth[1][1][2] = (TH1F *)hfile->Get("h_sumADCAmplperLS2"); + HistNumBadChanDepth[1][1][1] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS1"); + HistNumBadChanDepth[1][1][2] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS2"); // HB upgrade: - HistNumBadChanDepth[1][1][3] = (TH1F *)hfile->Get("h_sumADCAmplperLSdepth3HBu"); - HistNumBadChanDepth[1][1][4] = (TH1F *)hfile->Get("h_sumADCAmplperLSdepth4HBu"); + HistNumBadChanDepth[1][1][3] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth3HBu"); + HistNumBadChanDepth[1][1][4] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth4HBu"); // HE: - HistNumBadChanDepth[1][2][1] = (TH1F *)hfile->Get("h_sumADCAmplperLS3"); - HistNumBadChanDepth[1][2][2] = (TH1F *)hfile->Get("h_sumADCAmplperLS4"); - HistNumBadChanDepth[1][2][3] = (TH1F *)hfile->Get("h_sumADCAmplperLS5"); + HistNumBadChanDepth[1][2][1] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS3"); + HistNumBadChanDepth[1][2][2] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS4"); + HistNumBadChanDepth[1][2][3] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS5"); // HE upgrade: - HistNumBadChanDepth[1][2][4] = (TH1F *)hfile->Get("h_sumADCAmplperLSdepth4HEu"); - HistNumBadChanDepth[1][2][5] = (TH1F *)hfile->Get("h_sumADCAmplperLSdepth5HEu"); - HistNumBadChanDepth[1][2][6] = (TH1F *)hfile->Get("h_sumADCAmplperLSdepth6HEu"); - HistNumBadChanDepth[1][2][7] = (TH1F *)hfile->Get("h_sumADCAmplperLSdepth7HEu"); + HistNumBadChanDepth[1][2][4] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth4HEu"); + HistNumBadChanDepth[1][2][5] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth5HEu"); + HistNumBadChanDepth[1][2][6] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth6HEu"); + HistNumBadChanDepth[1][2][7] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth7HEu"); // HO: - HistNumBadChanDepth[1][3][4] = (TH1F *)hfile->Get("h_sumADCAmplperLS8"); + HistNumBadChanDepth[1][3][4] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS8"); // HF: - HistNumBadChanDepth[1][4][1] = (TH1F *)hfile->Get("h_sumADCAmplperLS6"); - HistNumBadChanDepth[1][4][2] = (TH1F *)hfile->Get("h_sumADCAmplperLS7"); + HistNumBadChanDepth[1][4][1] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS6"); + HistNumBadChanDepth[1][4][2] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS7"); // HF upgrade: - HistNumBadChanDepth[1][4][3] = (TH1F *)hfile->Get("h_sumADCAmplperLS6u"); - HistNumBadChanDepth[1][4][4] = (TH1F *)hfile->Get("h_sumADCAmplperLS7u"); + HistNumBadChanDepth[1][4][3] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS6u"); + HistNumBadChanDepth[1][4][4] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS7u"); // other cases: HistNumBadChanFull[1] = (TH1F *)HistNumBadChanDepth[1][1][1]->Clone(); ////////////////////// // HB: - HistCutNumBadChanDepth[1][1][1] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS1"); - HistCutNumBadChanDepth[1][1][2] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS2"); + HistCutNumBadChanDepth[1][1][1] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS1"); + HistCutNumBadChanDepth[1][1][2] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS2"); // HB upgrade: - HistCutNumBadChanDepth[1][1][3] = (TH1F *)hfile->Get("h_sumCutADCAmplperLSdepth3HBu"); - HistCutNumBadChanDepth[1][1][4] = (TH1F *)hfile->Get("h_sumCutADCAmplperLSdepth4HBu"); + HistCutNumBadChanDepth[1][1][3] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth3HBu"); + HistCutNumBadChanDepth[1][1][4] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth4HBu"); // HE: - HistCutNumBadChanDepth[1][2][1] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS3"); - HistCutNumBadChanDepth[1][2][2] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS4"); - HistCutNumBadChanDepth[1][2][3] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS5"); + HistCutNumBadChanDepth[1][2][1] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS3"); + HistCutNumBadChanDepth[1][2][2] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS4"); + HistCutNumBadChanDepth[1][2][3] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS5"); // HE upgrade: - HistCutNumBadChanDepth[1][2][4] = (TH1F *)hfile->Get("h_sumCutADCAmplperLSdepth4HEu"); - HistCutNumBadChanDepth[1][2][5] = (TH1F *)hfile->Get("h_sumCutADCAmplperLSdepth5HEu"); - HistCutNumBadChanDepth[1][2][6] = (TH1F *)hfile->Get("h_sumCutADCAmplperLSdepth6HEu"); - HistCutNumBadChanDepth[1][2][7] = (TH1F *)hfile->Get("h_sumCutADCAmplperLSdepth7HEu"); + HistCutNumBadChanDepth[1][2][4] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth4HEu"); + HistCutNumBadChanDepth[1][2][5] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth5HEu"); + HistCutNumBadChanDepth[1][2][6] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth6HEu"); + HistCutNumBadChanDepth[1][2][7] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth7HEu"); // HO: - HistCutNumBadChanDepth[1][3][4] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS8"); + HistCutNumBadChanDepth[1][3][4] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS8"); // HF: - HistCutNumBadChanDepth[1][4][1] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS6"); - HistCutNumBadChanDepth[1][4][2] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS7"); + HistCutNumBadChanDepth[1][4][1] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS6"); + HistCutNumBadChanDepth[1][4][2] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS7"); // HF upgrade: - HistCutNumBadChanDepth[1][4][3] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS6u"); - HistCutNumBadChanDepth[1][4][4] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS7u"); + HistCutNumBadChanDepth[1][4][3] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS6u"); + HistCutNumBadChanDepth[1][4][4] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS7u"); ////////////////////// // HB: - HistNumChanDepth[1][1][1] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS1"); - HistNumChanDepth[1][1][2] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS2"); + HistNumChanDepth[1][1][1] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS1"); + HistNumChanDepth[1][1][2] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS2"); // HB upgrade: - HistNumChanDepth[1][1][3] = (TH1F *)hfile->Get("h_sum0ADCAmplperLSdepth3HBu"); - HistNumChanDepth[1][1][4] = (TH1F *)hfile->Get("h_sum0ADCAmplperLSdepth4HBu"); + HistNumChanDepth[1][1][3] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth3HBu"); + HistNumChanDepth[1][1][4] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth4HBu"); // HE: - HistNumChanDepth[1][2][1] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS3"); - HistNumChanDepth[1][2][2] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS4"); - HistNumChanDepth[1][2][3] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS5"); + HistNumChanDepth[1][2][1] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS3"); + HistNumChanDepth[1][2][2] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS4"); + HistNumChanDepth[1][2][3] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS5"); // HE upgrade: - HistNumChanDepth[1][2][4] = (TH1F *)hfile->Get("h_sum0ADCAmplperLSdepth4HEu"); - HistNumChanDepth[1][2][5] = (TH1F *)hfile->Get("h_sum0ADCAmplperLSdepth5HEu"); - HistNumChanDepth[1][2][6] = (TH1F *)hfile->Get("h_sum0ADCAmplperLSdepth6HEu"); - HistNumChanDepth[1][2][7] = (TH1F *)hfile->Get("h_sum0ADCAmplperLSdepth7HEu"); + HistNumChanDepth[1][2][4] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth4HEu"); + HistNumChanDepth[1][2][5] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth5HEu"); + HistNumChanDepth[1][2][6] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth6HEu"); + HistNumChanDepth[1][2][7] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth7HEu"); // HO: - HistNumChanDepth[1][3][4] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS8"); + HistNumChanDepth[1][3][4] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS8"); // HF: - HistNumChanDepth[1][4][1] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS6"); - HistNumChanDepth[1][4][2] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS7"); + HistNumChanDepth[1][4][1] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS6"); + HistNumChanDepth[1][4][2] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS7"); // HF upgrade: - HistNumChanDepth[1][4][3] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS6u"); - HistNumChanDepth[1][4][4] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS7u"); + HistNumChanDepth[1][4][3] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS6u"); + HistNumChanDepth[1][4][4] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS7u"); // other cases: HistNumChanFull[1] = (TH1F *)HistNumChanDepth[1][1][1]->Clone(); @@ -1019,172 +1030,172 @@ int main(int argc, char *argv[]) { // Width //+++++++++++++++++++++++++++++ - HistNumBadChanDepth[2][1][1] = (TH1F *)hfile->Get("h_sumAmplitudeperLS1"); - HistNumBadChanDepth[2][1][2] = (TH1F *)hfile->Get("h_sumAmplitudeperLS2"); + HistNumBadChanDepth[2][1][1] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS1"); + HistNumBadChanDepth[2][1][2] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS2"); - HistNumBadChanDepth[2][2][1] = (TH1F *)hfile->Get("h_sumAmplitudeperLS3"); - HistNumBadChanDepth[2][2][2] = (TH1F *)hfile->Get("h_sumAmplitudeperLS4"); - HistNumBadChanDepth[2][2][3] = (TH1F *)hfile->Get("h_sumAmplitudeperLS5"); + HistNumBadChanDepth[2][2][1] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS3"); + HistNumBadChanDepth[2][2][2] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS4"); + HistNumBadChanDepth[2][2][3] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS5"); - HistNumBadChanDepth[2][3][4] = (TH1F *)hfile->Get("h_sumAmplitudeperLS8"); + HistNumBadChanDepth[2][3][4] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS8"); - HistNumBadChanDepth[2][4][1] = (TH1F *)hfile->Get("h_sumAmplitudeperLS6"); - HistNumBadChanDepth[2][4][2] = (TH1F *)hfile->Get("h_sumAmplitudeperLS7"); + HistNumBadChanDepth[2][4][1] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS6"); + HistNumBadChanDepth[2][4][2] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS7"); HistNumBadChanFull[2] = (TH1F *)HistNumBadChanDepth[2][1][1]->Clone(); - HistCutNumBadChanDepth[2][1][1] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS1"); - HistCutNumBadChanDepth[2][1][2] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS2"); + HistCutNumBadChanDepth[2][1][1] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS1"); + HistCutNumBadChanDepth[2][1][2] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS2"); - HistCutNumBadChanDepth[2][2][1] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS3"); - HistCutNumBadChanDepth[2][2][2] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS4"); - HistCutNumBadChanDepth[2][2][3] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS5"); + HistCutNumBadChanDepth[2][2][1] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS3"); + HistCutNumBadChanDepth[2][2][2] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS4"); + HistCutNumBadChanDepth[2][2][3] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS5"); - HistCutNumBadChanDepth[2][3][4] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS8"); + HistCutNumBadChanDepth[2][3][4] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS8"); - HistCutNumBadChanDepth[2][4][1] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS6"); - HistCutNumBadChanDepth[2][4][2] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS7"); + HistCutNumBadChanDepth[2][4][1] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS6"); + HistCutNumBadChanDepth[2][4][2] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS7"); - HistNumChanDepth[2][1][1] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS1"); - HistNumChanDepth[2][1][2] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS2"); + HistNumChanDepth[2][1][1] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS1"); + HistNumChanDepth[2][1][2] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS2"); - HistNumChanDepth[2][2][1] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS3"); - HistNumChanDepth[2][2][2] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS4"); - HistNumChanDepth[2][2][3] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS5"); + HistNumChanDepth[2][2][1] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS3"); + HistNumChanDepth[2][2][2] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS4"); + HistNumChanDepth[2][2][3] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS5"); - HistNumChanDepth[2][3][4] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS8"); + HistNumChanDepth[2][3][4] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS8"); - HistNumChanDepth[2][4][1] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS6"); - HistNumChanDepth[2][4][2] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS7"); + HistNumChanDepth[2][4][1] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS6"); + HistNumChanDepth[2][4][2] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS7"); HistNumChanFull[2] = (TH1F *)HistNumChanDepth[2][1][1]->Clone(); //+++++++++++++++++++++++++++++ // Ratio //+++++++++++++++++++++++++++++ - HistNumBadChanDepth[3][1][1] = (TH1F *)hfile->Get("h_sumAmplperLS1"); - HistNumBadChanDepth[3][1][2] = (TH1F *)hfile->Get("h_sumAmplperLS2"); + HistNumBadChanDepth[3][1][1] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS1"); + HistNumBadChanDepth[3][1][2] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS2"); - HistNumBadChanDepth[3][2][1] = (TH1F *)hfile->Get("h_sumAmplperLS3"); - HistNumBadChanDepth[3][2][2] = (TH1F *)hfile->Get("h_sumAmplperLS4"); - HistNumBadChanDepth[3][2][3] = (TH1F *)hfile->Get("h_sumAmplperLS5"); + HistNumBadChanDepth[3][2][1] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS3"); + HistNumBadChanDepth[3][2][2] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS4"); + HistNumBadChanDepth[3][2][3] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS5"); - HistNumBadChanDepth[3][3][4] = (TH1F *)hfile->Get("h_sumAmplperLS8"); + HistNumBadChanDepth[3][3][4] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS8"); - HistNumBadChanDepth[3][4][1] = (TH1F *)hfile->Get("h_sumAmplperLS6"); - HistNumBadChanDepth[3][4][2] = (TH1F *)hfile->Get("h_sumAmplperLS7"); + HistNumBadChanDepth[3][4][1] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS6"); + HistNumBadChanDepth[3][4][2] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS7"); HistNumBadChanFull[3] = (TH1F *)HistNumBadChanDepth[3][1][1]->Clone(); - HistCutNumBadChanDepth[3][1][1] = (TH1F *)hfile->Get("h_sumCutAmplperLS1"); - HistCutNumBadChanDepth[3][1][2] = (TH1F *)hfile->Get("h_sumCutAmplperLS2"); + HistCutNumBadChanDepth[3][1][1] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS1"); + HistCutNumBadChanDepth[3][1][2] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS2"); - HistCutNumBadChanDepth[3][2][1] = (TH1F *)hfile->Get("h_sumCutAmplperLS3"); - HistCutNumBadChanDepth[3][2][2] = (TH1F *)hfile->Get("h_sumCutAmplperLS4"); - HistCutNumBadChanDepth[3][2][3] = (TH1F *)hfile->Get("h_sumCutAmplperLS5"); + HistCutNumBadChanDepth[3][2][1] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS3"); + HistCutNumBadChanDepth[3][2][2] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS4"); + HistCutNumBadChanDepth[3][2][3] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS5"); - HistCutNumBadChanDepth[3][3][4] = (TH1F *)hfile->Get("h_sumCutAmplperLS8"); + HistCutNumBadChanDepth[3][3][4] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS8"); - HistCutNumBadChanDepth[3][4][1] = (TH1F *)hfile->Get("h_sumCutAmplperLS6"); - HistCutNumBadChanDepth[3][4][2] = (TH1F *)hfile->Get("h_sumCutAmplperLS7"); + HistCutNumBadChanDepth[3][4][1] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS6"); + HistCutNumBadChanDepth[3][4][2] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS7"); - HistNumChanDepth[3][1][1] = (TH1F *)hfile->Get("h_sum0AmplperLS1"); - HistNumChanDepth[3][1][2] = (TH1F *)hfile->Get("h_sum0AmplperLS2"); + HistNumChanDepth[3][1][1] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS1"); + HistNumChanDepth[3][1][2] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS2"); - HistNumChanDepth[3][2][1] = (TH1F *)hfile->Get("h_sum0AmplperLS3"); - HistNumChanDepth[3][2][2] = (TH1F *)hfile->Get("h_sum0AmplperLS4"); - HistNumChanDepth[3][2][3] = (TH1F *)hfile->Get("h_sum0AmplperLS5"); + HistNumChanDepth[3][2][1] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS3"); + HistNumChanDepth[3][2][2] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS4"); + HistNumChanDepth[3][2][3] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS5"); - HistNumChanDepth[3][3][4] = (TH1F *)hfile->Get("h_sum0AmplperLS8"); + HistNumChanDepth[3][3][4] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS8"); - HistNumChanDepth[3][4][1] = (TH1F *)hfile->Get("h_sum0AmplperLS6"); - HistNumChanDepth[3][4][2] = (TH1F *)hfile->Get("h_sum0AmplperLS7"); + HistNumChanDepth[3][4][1] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS6"); + HistNumChanDepth[3][4][2] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS7"); HistNumChanFull[3] = (TH1F *)HistNumChanDepth[3][1][1]->Clone(); //+++++++++++++++++++++++++++++ // Tmean //+++++++++++++++++++++++++++++ - HistNumBadChanDepth[4][1][1] = (TH1F *)hfile->Get("h_sumTSmeanAperLS1"); - HistNumBadChanDepth[4][1][2] = (TH1F *)hfile->Get("h_sumTSmeanAperLS2"); + HistNumBadChanDepth[4][1][1] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS1"); + HistNumBadChanDepth[4][1][2] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS2"); - HistNumBadChanDepth[4][2][1] = (TH1F *)hfile->Get("h_sumTSmeanAperLS3"); - HistNumBadChanDepth[4][2][2] = (TH1F *)hfile->Get("h_sumTSmeanAperLS4"); - HistNumBadChanDepth[4][2][3] = (TH1F *)hfile->Get("h_sumTSmeanAperLS5"); + HistNumBadChanDepth[4][2][1] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS3"); + HistNumBadChanDepth[4][2][2] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS4"); + HistNumBadChanDepth[4][2][3] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS5"); - HistNumBadChanDepth[4][3][4] = (TH1F *)hfile->Get("h_sumTSmeanAperLS8"); + HistNumBadChanDepth[4][3][4] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS8"); - HistNumBadChanDepth[4][4][1] = (TH1F *)hfile->Get("h_sumTSmeanAperLS6"); - HistNumBadChanDepth[4][4][2] = (TH1F *)hfile->Get("h_sumTSmeanAperLS7"); + HistNumBadChanDepth[4][4][1] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS6"); + HistNumBadChanDepth[4][4][2] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS7"); HistNumBadChanFull[4] = (TH1F *)HistNumBadChanDepth[4][1][1]->Clone(); - HistCutNumBadChanDepth[4][1][1] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS1"); - HistCutNumBadChanDepth[4][1][2] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS2"); + HistCutNumBadChanDepth[4][1][1] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS1"); + HistCutNumBadChanDepth[4][1][2] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS2"); - HistCutNumBadChanDepth[4][2][1] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS3"); - HistCutNumBadChanDepth[4][2][2] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS4"); - HistCutNumBadChanDepth[4][2][3] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS5"); + HistCutNumBadChanDepth[4][2][1] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS3"); + HistCutNumBadChanDepth[4][2][2] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS4"); + HistCutNumBadChanDepth[4][2][3] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS5"); - HistCutNumBadChanDepth[4][3][4] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS8"); + HistCutNumBadChanDepth[4][3][4] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS8"); - HistCutNumBadChanDepth[4][4][1] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS6"); - HistCutNumBadChanDepth[4][4][2] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS7"); + HistCutNumBadChanDepth[4][4][1] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS6"); + HistCutNumBadChanDepth[4][4][2] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS7"); - HistNumChanDepth[4][1][1] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS1"); - HistNumChanDepth[4][1][2] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS2"); + HistNumChanDepth[4][1][1] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS1"); + HistNumChanDepth[4][1][2] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS2"); - HistNumChanDepth[4][2][1] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS3"); - HistNumChanDepth[4][2][2] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS4"); - HistNumChanDepth[4][2][3] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS5"); + HistNumChanDepth[4][2][1] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS3"); + HistNumChanDepth[4][2][2] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS4"); + HistNumChanDepth[4][2][3] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS5"); - HistNumChanDepth[4][3][4] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS8"); + HistNumChanDepth[4][3][4] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS8"); - HistNumChanDepth[4][4][1] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS6"); - HistNumChanDepth[4][4][2] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS7"); + HistNumChanDepth[4][4][1] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS6"); + HistNumChanDepth[4][4][2] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS7"); HistNumChanFull[4] = (TH1F *)HistNumChanDepth[4][1][1]->Clone(); //+++++++++++++++++++++++++++++ // Tmax //+++++++++++++++++++++++++++++ - HistNumBadChanDepth[5][1][1] = (TH1F *)hfile->Get("h_sumTSmaxAperLS1"); - HistNumBadChanDepth[5][1][2] = (TH1F *)hfile->Get("h_sumTSmaxAperLS2"); + HistNumBadChanDepth[5][1][1] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS1"); + HistNumBadChanDepth[5][1][2] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS2"); - HistNumBadChanDepth[5][2][1] = (TH1F *)hfile->Get("h_sumTSmaxAperLS3"); - HistNumBadChanDepth[5][2][2] = (TH1F *)hfile->Get("h_sumTSmaxAperLS4"); - HistNumBadChanDepth[5][2][3] = (TH1F *)hfile->Get("h_sumTSmaxAperLS5"); + HistNumBadChanDepth[5][2][1] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS3"); + HistNumBadChanDepth[5][2][2] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS4"); + HistNumBadChanDepth[5][2][3] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS5"); - HistNumBadChanDepth[5][3][4] = (TH1F *)hfile->Get("h_sumTSmaxAperLS8"); + HistNumBadChanDepth[5][3][4] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS8"); - HistNumBadChanDepth[5][4][1] = (TH1F *)hfile->Get("h_sumTSmaxAperLS6"); - HistNumBadChanDepth[5][4][2] = (TH1F *)hfile->Get("h_sumTSmaxAperLS7"); + HistNumBadChanDepth[5][4][1] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS6"); + HistNumBadChanDepth[5][4][2] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS7"); HistNumBadChanFull[5] = (TH1F *)HistNumBadChanDepth[5][1][1]->Clone(); - HistCutNumBadChanDepth[5][1][1] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS1"); - HistCutNumBadChanDepth[5][1][2] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS2"); + HistCutNumBadChanDepth[5][1][1] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS1"); + HistCutNumBadChanDepth[5][1][2] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS2"); - HistCutNumBadChanDepth[5][2][1] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS3"); - HistCutNumBadChanDepth[5][2][2] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS4"); - HistCutNumBadChanDepth[5][2][3] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS5"); + HistCutNumBadChanDepth[5][2][1] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS3"); + HistCutNumBadChanDepth[5][2][2] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS4"); + HistCutNumBadChanDepth[5][2][3] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS5"); - HistCutNumBadChanDepth[5][3][4] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS8"); + HistCutNumBadChanDepth[5][3][4] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS8"); - HistCutNumBadChanDepth[5][4][1] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS6"); - HistCutNumBadChanDepth[5][4][2] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS7"); + HistCutNumBadChanDepth[5][4][1] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS6"); + HistCutNumBadChanDepth[5][4][2] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS7"); - HistNumChanDepth[5][1][1] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS1"); - HistNumChanDepth[5][1][2] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS2"); + HistNumChanDepth[5][1][1] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS1"); + HistNumChanDepth[5][1][2] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS2"); - HistNumChanDepth[5][2][1] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS3"); - HistNumChanDepth[5][2][2] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS4"); - HistNumChanDepth[5][2][3] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS5"); + HistNumChanDepth[5][2][1] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS3"); + HistNumChanDepth[5][2][2] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS4"); + HistNumChanDepth[5][2][3] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS5"); - HistNumChanDepth[5][3][4] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS8"); + HistNumChanDepth[5][3][4] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS8"); - HistNumChanDepth[5][4][1] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS6"); - HistNumChanDepth[5][4][2] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS7"); + HistNumChanDepth[5][4][1] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS6"); + HistNumChanDepth[5][4][2] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS7"); HistNumChanFull[5] = (TH1F *)HistNumChanDepth[5][1][1]->Clone(); @@ -1598,14 +1609,14 @@ int main(int argc, char *argv[]) { // Abnormal Bad Channels Rate of Cap ID errors first set of histograms //+++++++++++++++++++++++++++++ - HistAbnormNumBadChanDepth[1][1] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth1_HB"); - HistAbnormNumBadChanDepth[1][2] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth2_HB"); - HistAbnormNumBadChanDepth[2][1] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth1_HE"); - HistAbnormNumBadChanDepth[2][2] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth2_HE"); - HistAbnormNumBadChanDepth[2][3] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth3_HE"); - HistAbnormNumBadChanDepth[3][4] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth4_HO"); - HistAbnormNumBadChanDepth[4][1] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth1_HF"); - HistAbnormNumBadChanDepth[4][2] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth2_HF"); + HistAbnormNumBadChanDepth[1][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth1_HB"); + HistAbnormNumBadChanDepth[1][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth2_HB"); + HistAbnormNumBadChanDepth[2][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth1_HE"); + HistAbnormNumBadChanDepth[2][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth2_HE"); + HistAbnormNumBadChanDepth[2][3] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth3_HE"); + HistAbnormNumBadChanDepth[3][4] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth4_HO"); + HistAbnormNumBadChanDepth[4][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth1_HF"); + HistAbnormNumBadChanDepth[4][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth2_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO if (sub == 1) @@ -1677,24 +1688,24 @@ int main(int argc, char *argv[]) { TH1F *HistPortBadEventsDepth[5][5]; // 1d histogramm for subdet, depth - HistPortBadEventsDepth[1][1] = (TH1F *)hfile->Get("h_runbadrateC_depth1_HB"); - HistPortBadEventsDepth[1][2] = (TH1F *)hfile->Get("h_runbadrateC_depth2_HB"); - HistPortBadEventsDepth[2][1] = (TH1F *)hfile->Get("h_runbadrateC_depth1_HE"); - HistPortBadEventsDepth[2][2] = (TH1F *)hfile->Get("h_runbadrateC_depth2_HE"); - HistPortBadEventsDepth[2][3] = (TH1F *)hfile->Get("h_runbadrateC_depth3_HE"); - HistPortBadEventsDepth[3][4] = (TH1F *)hfile->Get("h_runbadrateC_depth4_HO"); - HistPortBadEventsDepth[4][1] = (TH1F *)hfile->Get("h_runbadrateC_depth1_HF"); - HistPortBadEventsDepth[4][2] = (TH1F *)hfile->Get("h_runbadrateC_depth2_HF"); + HistPortBadEventsDepth[1][1] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth1_HB"); + HistPortBadEventsDepth[1][2] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth2_HB"); + HistPortBadEventsDepth[2][1] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth1_HE"); + HistPortBadEventsDepth[2][2] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth2_HE"); + HistPortBadEventsDepth[2][3] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth3_HE"); + HistPortBadEventsDepth[3][4] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth4_HO"); + HistPortBadEventsDepth[4][1] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth1_HF"); + HistPortBadEventsDepth[4][2] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth2_HF"); TH1F *HistNumRateDepth[5][5]; - HistNumRateDepth[1][1] = (TH1F *)hfile->Get("h_runbadrate0_depth1_HB"); - HistNumRateDepth[1][2] = (TH1F *)hfile->Get("h_runbadrate0_depth2_HB"); - HistNumRateDepth[2][1] = (TH1F *)hfile->Get("h_runbadrate0_depth1_HE"); - HistNumRateDepth[2][2] = (TH1F *)hfile->Get("h_runbadrate0_depth2_HE"); - HistNumRateDepth[2][3] = (TH1F *)hfile->Get("h_runbadrate0_depth3_HE"); - HistNumRateDepth[3][4] = (TH1F *)hfile->Get("h_runbadrate0_depth4_HO"); - HistNumRateDepth[4][1] = (TH1F *)hfile->Get("h_runbadrate0_depth1_HF"); - HistNumRateDepth[4][2] = (TH1F *)hfile->Get("h_runbadrate0_depth2_HF"); + HistNumRateDepth[1][1] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth1_HB"); + HistNumRateDepth[1][2] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth2_HB"); + HistNumRateDepth[2][1] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth1_HE"); + HistNumRateDepth[2][2] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth2_HE"); + HistNumRateDepth[2][3] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth3_HE"); + HistNumRateDepth[3][4] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth4_HO"); + HistNumRateDepth[4][1] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth1_HF"); + HistNumRateDepth[4][2] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth2_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO if (sub == 1) @@ -1768,14 +1779,14 @@ int main(int argc, char *argv[]) { TH1F *HistNBadChsDepth[5][5]; // 1d histogramm for subdet, depth - HistNBadChsDepth[1][1] = (TH1F *)hfile->Get("h_nbadchannels_depth1_HB"); - HistNBadChsDepth[1][2] = (TH1F *)hfile->Get("h_nbadchannels_depth2_HB"); - HistNBadChsDepth[2][1] = (TH1F *)hfile->Get("h_nbadchannels_depth1_HE"); - HistNBadChsDepth[2][2] = (TH1F *)hfile->Get("h_nbadchannels_depth2_HE"); - HistNBadChsDepth[2][3] = (TH1F *)hfile->Get("h_nbadchannels_depth3_HE"); - HistNBadChsDepth[3][4] = (TH1F *)hfile->Get("h_nbadchannels_depth4_HO"); - HistNBadChsDepth[4][1] = (TH1F *)hfile->Get("h_nbadchannels_depth1_HF"); - HistNBadChsDepth[4][2] = (TH1F *)hfile->Get("h_nbadchannels_depth2_HF"); + HistNBadChsDepth[1][1] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth1_HB"); + HistNBadChsDepth[1][2] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth2_HB"); + HistNBadChsDepth[2][1] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth1_HE"); + HistNBadChsDepth[2][2] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth2_HE"); + HistNBadChsDepth[2][3] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth3_HE"); + HistNBadChsDepth[3][4] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth4_HO"); + HistNBadChsDepth[4][1] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth1_HF"); + HistNBadChsDepth[4][2] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth2_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO if (sub == 1) @@ -1865,8 +1876,8 @@ int main(int argc, char *argv[]) { if (1) std::cout << "debugger: errA_HB : get histos for i=" << i << " " << hnames[i][0] << " and " << hnames[i][1] << "\n"; - TH1F *h1 = (TH1F *)hfile->Get(hnames[i][0]); - TH1F *h0 = (TH1F *)hfile->Get(hnames[i][1]); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hnames[i][0]); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hnames[i][1]); if (!h1 || !h0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -1996,8 +2007,8 @@ int main(int argc, char *argv[]) { TH2F *h2Cefz6 = NULL; TString hname1 = hnames[2 * depth - 2][0]; TString hname0 = hnames[2 * depth - 2][1]; - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (1) std::cout << "debugger: errB_HB depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!twod1 || !twod0) { @@ -2038,8 +2049,8 @@ int main(int argc, char *argv[]) { cHB->cd(2); hname1 = hnames[2 * depth - 1][0]; hname0 = hnames[2 * depth - 1][1]; - TH1F *h1 = (TH1F *)hfile->Get(hname1); - TH1F *h0 = (TH1F *)hfile->Get(hname0); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hname1); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hname0); if (1) std::cout << "errB_HB depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!h1 || !h0) { @@ -2142,8 +2153,8 @@ int main(int argc, char *argv[]) { if (1) std::cout << "debugger: errA_HE : get histos for i=" << i << " " << hnames[i][0] << " and " << hnames[i][1] << "\n"; - TH1F *h1 = (TH1F *)hfile->Get(hnames[i][0]); - TH1F *h0 = (TH1F *)hfile->Get(hnames[i][1]); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hnames[i][0]); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hnames[i][1]); if (!h1 || !h0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -2275,8 +2286,8 @@ int main(int argc, char *argv[]) { TH2F *h2Cefz6 = NULL; TString hname1 = hnames[2 * depth - 2][0]; TString hname0 = hnames[2 * depth - 2][1]; - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (1) std::cout << "debugger: errB_HE depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!twod1 || !twod0) { @@ -2317,8 +2328,8 @@ int main(int argc, char *argv[]) { cHB->cd(2); hname1 = hnames[2 * depth - 1][0]; hname0 = hnames[2 * depth - 1][1]; - TH1F *h1 = (TH1F *)hfile->Get(hname1); - TH1F *h0 = (TH1F *)hfile->Get(hname0); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hname1); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hname0); if (1) std::cout << "errB_HE depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!h1 || !h0) { @@ -2421,8 +2432,8 @@ int main(int argc, char *argv[]) { if (1) std::cout << "debugger: errA_HO : get histos for i=" << i << " " << hnames[i][0] << " and " << hnames[i][1] << "\n"; - TH1F *h1 = (TH1F *)hfile->Get(hnames[i][0]); - TH1F *h0 = (TH1F *)hfile->Get(hnames[i][1]); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hnames[i][0]); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hnames[i][1]); if (!h1 || !h0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -2550,8 +2561,8 @@ int main(int argc, char *argv[]) { TH2F *h2Cefz6 = NULL; TString hname1 = hnames[2 * depth - 8][0]; TString hname0 = hnames[2 * depth - 8][1]; - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (1) std::cout << "debugger: errB_HO depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!twod1 || !twod0) { @@ -2592,8 +2603,8 @@ int main(int argc, char *argv[]) { cHB->cd(2); hname1 = hnames[2 * depth - 7][0]; hname0 = hnames[2 * depth - 7][1]; - TH1F *h1 = (TH1F *)hfile->Get(hname1); - TH1F *h0 = (TH1F *)hfile->Get(hname0); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hname1); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hname0); if (1) std::cout << "errB_HO depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!h1 || !h0) { @@ -2695,8 +2706,8 @@ int main(int argc, char *argv[]) { if (1) std::cout << "debugger: errA_HF : get histos for i=" << i << " " << hnames[i][0] << " and " << hnames[i][1] << "\n"; - TH1F *h1 = (TH1F *)hfile->Get(hnames[i][0]); - TH1F *h0 = (TH1F *)hfile->Get(hnames[i][1]); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hnames[i][0]); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hnames[i][1]); if (!h1 || !h0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -2825,8 +2836,8 @@ int main(int argc, char *argv[]) { TH2F *h2Cefz6 = NULL; TString hname1 = hnames[2 * depth - 2][0]; TString hname0 = hnames[2 * depth - 2][1]; - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (1) std::cout << "debugger: errB_HF depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!twod1 || !twod0) { @@ -2865,8 +2876,8 @@ int main(int argc, char *argv[]) { cHB->cd(2); hname1 = hnames[2 * depth - 1][0]; hname0 = hnames[2 * depth - 1][1]; - TH1F *h1 = (TH1F *)hfile->Get(hname1); - TH1F *h0 = (TH1F *)hfile->Get(hname0); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hname1); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hname0); if (1) std::cout << "errB_HF depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!h1 || !h0) { @@ -2952,8 +2963,8 @@ int main(int argc, char *argv[]) { // h_mapDepth1ADCAmpl_HB div h_mapDepth1_HB TString hname1 = Form("h_mapDepth%dADCAmpl_HB", depth); TString hname0 = Form("h_mapDepth%d_HB", depth); - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (!twod1 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3016,7 +3027,7 @@ int main(int argc, char *argv[]) { cHE->cd(3); TString hname3 = Form("h_mapDepth%dADCAmpl225Copy_HB", depth); - TH2F *twod3 = (TH2F *)hfile->Get(hname3); + TH2F *twod3 = (TH2F *)dir->FindObjectAny(hname3); if (!twod3 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3081,8 +3092,8 @@ int main(int argc, char *argv[]) { // h_mapDepth1ADCAmpl_HE div h_mapDepth1_HE TString hname1 = Form("h_mapDepth%dADCAmpl_HE", depth); TString hname0 = Form("h_mapDepth%d_HE", depth); - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (!twod1 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3146,7 +3157,7 @@ int main(int argc, char *argv[]) { cHE->cd(3); TString hname3 = Form("h_mapDepth%dADCAmpl225Copy_HE", depth); - TH2F *twod3 = (TH2F *)hfile->Get(hname3); + TH2F *twod3 = (TH2F *)dir->FindObjectAny(hname3); if (!twod3 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3211,8 +3222,8 @@ int main(int argc, char *argv[]) { // h_mapDepth1ADCAmpl_HO div h_mapDepth1_HO TString hname1 = Form("h_mapDepth%dADCAmpl_HO", depth); TString hname0 = Form("h_mapDepth%d_HO", depth); - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (!twod1 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3275,7 +3286,7 @@ int main(int argc, char *argv[]) { cHE->cd(3); TString hname3 = Form("h_mapDepth%dADCAmpl225Copy_HO", depth); - TH2F *twod3 = (TH2F *)hfile->Get(hname3); + TH2F *twod3 = (TH2F *)dir->FindObjectAny(hname3); if (!twod3 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3340,8 +3351,8 @@ int main(int argc, char *argv[]) { // h_mapDepth1ADCAmpl_HF div h_mapDepth1_HF TString hname1 = Form("h_mapDepth%dADCAmpl_HF", depth); TString hname0 = Form("h_mapDepth%d_HF", depth); - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (!twod1 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3429,7 +3440,7 @@ int main(int argc, char *argv[]) { } */ TString hname3 = Form("h_mapDepth%dADCAmpl225Copy_HF", depth); - TH2F *twod3 = (TH2F *)hfile->Get(hname3); + TH2F *twod3 = (TH2F *)dir->FindObjectAny(hname3); if (!twod3 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3562,8 +3573,8 @@ HF: j = 0,1,2, 3 18,19,20,21 //====================================================================== //====================================================================== cout << " RBX general for HB **************************" << endl; - TH2F *Ghb1KKK = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs0"); - TH2F *Ghb1LLL = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs00"); + TH2F *Ghb1KKK = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs0"); + TH2F *Ghb1LLL = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs00"); TH2F *Ghb1 = (TH2F *)Ghb1LLL->Clone("Ghb1"); Ghb1->Divide(Ghb1KKK, Ghb1LLL, 1, 1, "B"); // average A // Ghb1->Sumw2(); @@ -4150,8 +4161,8 @@ HF: j = 0,1,2, 3 18,19,20,21 //====================================================================== //====================================================================== cout << " RBX general for HE **************************" << endl; - TH2F *Ghe1KKK = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs1"); - TH2F *Ghe1LLL = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs10"); + TH2F *Ghe1KKK = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs1"); + TH2F *Ghe1LLL = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs10"); TH2F *Ghe1 = (TH2F *)Ghe1LLL->Clone("Ghe1"); Ghe1->Divide(Ghe1KKK, Ghe1LLL, 1, 1, "B"); // average A // Ghe1->Sumw2(); @@ -4738,8 +4749,8 @@ HF: j = 0,1,2, 3 18,19,20,21 //====================================================================== //====================================================================== cout << " RBX general for HO **************************" << endl; - TH2F *Gho1KKK = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs2"); - TH2F *Gho1LLL = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs20"); + TH2F *Gho1KKK = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs2"); + TH2F *Gho1LLL = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs20"); TH2F *Gho1 = (TH2F *)Gho1LLL->Clone("Gho1"); Gho1->Divide(Gho1KKK, Gho1LLL, 1, 1, "B"); // average A // Gho1->Sumw2(); @@ -5327,8 +5338,8 @@ HF: j = 0,1,2, 3 18,19,20,21 //====================================================================== //====================================================================== cout << " RBX general for HF **************************" << endl; - TH2F *Ghf1KKK = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs3"); - TH2F *Ghf1LLL = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs30"); + TH2F *Ghf1KKK = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs3"); + TH2F *Ghf1LLL = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs30"); TH2F *Ghf1 = (TH2F *)Ghf1LLL->Clone("Ghf1"); Ghf1->Divide(Ghf1KKK, Ghf1LLL, 1, 1, "B"); // average A // Ghf1->Sumw2(); @@ -5911,7 +5922,7 @@ HF: j = 0,1,2, 3 18,19,20,21 cHB->Divide(2, 1); ///////// cHB->cd(1); - TH2F *occhbm = (TH2F *)hfile->Get("h_RatioOccupancy_HBM"); + TH2F *occhbm = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HBM"); TH1F *uyhbm = new TH1F("uyhbm", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhbm->GetXaxis()->GetNbins(); i++) { double ccc1 = occhbm->GetBinContent(i); @@ -5932,7 +5943,7 @@ HF: j = 0,1,2, 3 18,19,20,21 uyhbm->Draw("Error"); ///////// cHB->cd(2); - TH2F *occhbp = (TH2F *)hfile->Get("h_RatioOccupancy_HBP"); + TH2F *occhbp = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HBP"); TH1F *uyhbp = new TH1F("uyhbp", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhbp->GetXaxis()->GetNbins(); i++) { double ccc1 = occhbp->GetBinContent(i); @@ -5975,7 +5986,7 @@ HF: j = 0,1,2, 3 18,19,20,21 cHB->Divide(2, 1); ///////// cHB->cd(1); - TH2F *occhem = (TH2F *)hfile->Get("h_RatioOccupancy_HEM"); + TH2F *occhem = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HEM"); TH1F *uyhem = new TH1F("uyhem", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhem->GetXaxis()->GetNbins(); i++) { double ccc1 = occhem->GetBinContent(i); @@ -5996,7 +6007,7 @@ HF: j = 0,1,2, 3 18,19,20,21 uyhem->Draw("Error"); ///////// cHB->cd(2); - TH2F *occhep = (TH2F *)hfile->Get("h_RatioOccupancy_HEP"); + TH2F *occhep = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HEP"); TH1F *uyhep = new TH1F("uyhep", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhep->GetXaxis()->GetNbins(); i++) { double ccc1 = occhep->GetBinContent(i); @@ -6039,7 +6050,7 @@ HF: j = 0,1,2, 3 18,19,20,21 cHB->Divide(2, 1); ///////// cHB->cd(1); - TH2F *occhom = (TH2F *)hfile->Get("h_RatioOccupancy_HOM"); + TH2F *occhom = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HOM"); TH1F *uyhom = new TH1F("uyhom", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhom->GetXaxis()->GetNbins(); i++) { double ccc1 = occhom->GetBinContent(i); @@ -6060,7 +6071,7 @@ HF: j = 0,1,2, 3 18,19,20,21 uyhom->Draw("Error"); ///////// cHB->cd(2); - TH2F *occhop = (TH2F *)hfile->Get("h_RatioOccupancy_HOP"); + TH2F *occhop = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HOP"); TH1F *uyhop = new TH1F("uyhop", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhop->GetXaxis()->GetNbins(); i++) { double ccc1 = occhop->GetBinContent(i); @@ -6103,7 +6114,7 @@ HF: j = 0,1,2, 3 18,19,20,21 cHB->Divide(2, 1); ///////// cHB->cd(1); - TH2F *occhfm = (TH2F *)hfile->Get("h_RatioOccupancy_HFM"); + TH2F *occhfm = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HFM"); TH1F *uyhfm = new TH1F("uyhfm", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhfm->GetXaxis()->GetNbins(); i++) { double ccc1 = occhfm->GetBinContent(i); @@ -6124,7 +6135,7 @@ HF: j = 0,1,2, 3 18,19,20,21 uyhfm->Draw("Error"); ///////// cHB->cd(2); - TH2F *occhfp = (TH2F *)hfile->Get("h_RatioOccupancy_HFP"); + TH2F *occhfp = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HFP"); TH1F *uyhfp = new TH1F("uyhfp", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhfp->GetXaxis()->GetNbins(); i++) { double ccc1 = occhfp->GetBinContent(i); @@ -6171,15 +6182,15 @@ HF: j = 0,1,2, 3 18,19,20,21 int maxbins = MaxLum; cout << ">>>> maxbins = " << maxbins << endl; TH1F *SummedAmplitudeHisto[4]; // 1d histogramm for subdet - SummedAmplitudeHisto[0] = (TH1F *)hfile->Get("h_averSIGNALsumamplitude_HB"); - SummedAmplitudeHisto[1] = (TH1F *)hfile->Get("h_averSIGNALsumamplitude_HE"); - SummedAmplitudeHisto[2] = (TH1F *)hfile->Get("h_averSIGNALsumamplitude_HO"); - SummedAmplitudeHisto[3] = (TH1F *)hfile->Get("h_averSIGNALsumamplitude_HF"); + SummedAmplitudeHisto[0] = (TH1F *)dir->FindObjectAny("h_averSIGNALsumamplitude_HB"); + SummedAmplitudeHisto[1] = (TH1F *)dir->FindObjectAny("h_averSIGNALsumamplitude_HE"); + SummedAmplitudeHisto[2] = (TH1F *)dir->FindObjectAny("h_averSIGNALsumamplitude_HO"); + SummedAmplitudeHisto[3] = (TH1F *)dir->FindObjectAny("h_averSIGNALsumamplitude_HF"); TH1F *SummedAmplitudeOccupancyHisto[4]; // 1d histogramm for subdet - SummedAmplitudeOccupancyHisto[0] = (TH1F *)hfile->Get("h_averSIGNALoccupancy_HB"); - SummedAmplitudeOccupancyHisto[1] = (TH1F *)hfile->Get("h_averSIGNALoccupancy_HE"); - SummedAmplitudeOccupancyHisto[2] = (TH1F *)hfile->Get("h_averSIGNALoccupancy_HO"); - SummedAmplitudeOccupancyHisto[3] = (TH1F *)hfile->Get("h_averSIGNALoccupancy_HF"); + SummedAmplitudeOccupancyHisto[0] = (TH1F *)dir->FindObjectAny("h_averSIGNALoccupancy_HB"); + SummedAmplitudeOccupancyHisto[1] = (TH1F *)dir->FindObjectAny("h_averSIGNALoccupancy_HE"); + SummedAmplitudeOccupancyHisto[2] = (TH1F *)dir->FindObjectAny("h_averSIGNALoccupancy_HO"); + SummedAmplitudeOccupancyHisto[3] = (TH1F *)dir->FindObjectAny("h_averSIGNALoccupancy_HF"); for (int sub = 0; sub < 4; sub++) { cHE->Clear(); cHE->Divide(2, 1); @@ -6248,15 +6259,15 @@ HF: j = 0,1,2, 3 18,19,20,21 //************************* ***** NoSignal ***** cout << ">>>>>>>>>>>>>>>>>>>>>>>>start Summed Amplitude Plots NoSignal " << endl; TH1F *NoSignalSummedAmplitudeHisto[4]; // 1d histogramm for subdet - NoSignalSummedAmplitudeHisto[0] = (TH1F *)hfile->Get("h_averNOSIGNALsumamplitude_HB"); - NoSignalSummedAmplitudeHisto[1] = (TH1F *)hfile->Get("h_averNOSIGNALsumamplitude_HE"); - NoSignalSummedAmplitudeHisto[2] = (TH1F *)hfile->Get("h_averNOSIGNALsumamplitude_HO"); - NoSignalSummedAmplitudeHisto[3] = (TH1F *)hfile->Get("h_averNOSIGNALsumamplitude_HF"); + NoSignalSummedAmplitudeHisto[0] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALsumamplitude_HB"); + NoSignalSummedAmplitudeHisto[1] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALsumamplitude_HE"); + NoSignalSummedAmplitudeHisto[2] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALsumamplitude_HO"); + NoSignalSummedAmplitudeHisto[3] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALsumamplitude_HF"); TH1F *NoSignalSummedAmplitudeOccupancyHisto[4]; // 1d histogramm for subdet - NoSignalSummedAmplitudeOccupancyHisto[0] = (TH1F *)hfile->Get("h_averNOSIGNALoccupancy_HB"); - NoSignalSummedAmplitudeOccupancyHisto[1] = (TH1F *)hfile->Get("h_averNOSIGNALoccupancy_HE"); - NoSignalSummedAmplitudeOccupancyHisto[2] = (TH1F *)hfile->Get("h_averNOSIGNALoccupancy_HO"); - NoSignalSummedAmplitudeOccupancyHisto[3] = (TH1F *)hfile->Get("h_averNOSIGNALoccupancy_HF"); + NoSignalSummedAmplitudeOccupancyHisto[0] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALoccupancy_HB"); + NoSignalSummedAmplitudeOccupancyHisto[1] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALoccupancy_HE"); + NoSignalSummedAmplitudeOccupancyHisto[2] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALoccupancy_HO"); + NoSignalSummedAmplitudeOccupancyHisto[3] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALoccupancy_HF"); for (int sub = 0; sub < 4; sub++) { cHE->Clear(); cHE->Divide(2, 1); @@ -6350,25 +6361,25 @@ HF: j = 0,1,2, 3 18,19,20,21 //************************* ***** MaxxValues ***** cout << ">>>>>>>>>>>>>>>>>>>>>>>>start Summed Amplitude Plots Maxx " << endl; TH1F *MaxxSummedAmplitudeHisto[4]; // 1d histogramm for subdet - MaxxSummedAmplitudeHisto[0] = (TH1F *)hfile->Get("h_maxxSUMAmpl_HB"); - MaxxSummedAmplitudeHisto[1] = (TH1F *)hfile->Get("h_maxxSUMAmpl_HE"); - MaxxSummedAmplitudeHisto[2] = (TH1F *)hfile->Get("h_maxxSUMAmpl_HO"); - MaxxSummedAmplitudeHisto[3] = (TH1F *)hfile->Get("h_maxxSUMAmpl_HF"); + MaxxSummedAmplitudeHisto[0] = (TH1F *)dir->FindObjectAny("h_maxxSUMAmpl_HB"); + MaxxSummedAmplitudeHisto[1] = (TH1F *)dir->FindObjectAny("h_maxxSUMAmpl_HE"); + MaxxSummedAmplitudeHisto[2] = (TH1F *)dir->FindObjectAny("h_maxxSUMAmpl_HO"); + MaxxSummedAmplitudeHisto[3] = (TH1F *)dir->FindObjectAny("h_maxxSUMAmpl_HF"); TH1F *MaxxSummedAmplitudeOccupancyHisto[4]; // 1d histogramm for subdet - MaxxSummedAmplitudeOccupancyHisto[0] = (TH1F *)hfile->Get("h_maxxOCCUP_HB"); - MaxxSummedAmplitudeOccupancyHisto[1] = (TH1F *)hfile->Get("h_maxxOCCUP_HE"); - MaxxSummedAmplitudeOccupancyHisto[2] = (TH1F *)hfile->Get("h_maxxOCCUP_HO"); - MaxxSummedAmplitudeOccupancyHisto[3] = (TH1F *)hfile->Get("h_maxxOCCUP_HF"); + MaxxSummedAmplitudeOccupancyHisto[0] = (TH1F *)dir->FindObjectAny("h_maxxOCCUP_HB"); + MaxxSummedAmplitudeOccupancyHisto[1] = (TH1F *)dir->FindObjectAny("h_maxxOCCUP_HE"); + MaxxSummedAmplitudeOccupancyHisto[2] = (TH1F *)dir->FindObjectAny("h_maxxOCCUP_HO"); + MaxxSummedAmplitudeOccupancyHisto[3] = (TH1F *)dir->FindObjectAny("h_maxxOCCUP_HF"); TH1F *SAmplitudeHisto[4]; // 1d histogramm for subdet - SAmplitudeHisto[0] = (TH1F *)hfile->Get("h_eventamplitude_HB"); - SAmplitudeHisto[1] = (TH1F *)hfile->Get("h_eventamplitude_HE"); - SAmplitudeHisto[2] = (TH1F *)hfile->Get("h_eventamplitude_HO"); - SAmplitudeHisto[3] = (TH1F *)hfile->Get("h_eventamplitude_HF"); + SAmplitudeHisto[0] = (TH1F *)dir->FindObjectAny("h_eventamplitude_HB"); + SAmplitudeHisto[1] = (TH1F *)dir->FindObjectAny("h_eventamplitude_HE"); + SAmplitudeHisto[2] = (TH1F *)dir->FindObjectAny("h_eventamplitude_HO"); + SAmplitudeHisto[3] = (TH1F *)dir->FindObjectAny("h_eventamplitude_HF"); TH1F *OccupancyHisto[4]; // 1d histogramm for subdet - OccupancyHisto[0] = (TH1F *)hfile->Get("h_eventoccupancy_HB"); - OccupancyHisto[1] = (TH1F *)hfile->Get("h_eventoccupancy_HE"); - OccupancyHisto[2] = (TH1F *)hfile->Get("h_eventoccupancy_HO"); - OccupancyHisto[3] = (TH1F *)hfile->Get("h_eventoccupancy_HF"); + OccupancyHisto[0] = (TH1F *)dir->FindObjectAny("h_eventoccupancy_HB"); + OccupancyHisto[1] = (TH1F *)dir->FindObjectAny("h_eventoccupancy_HE"); + OccupancyHisto[2] = (TH1F *)dir->FindObjectAny("h_eventoccupancy_HO"); + OccupancyHisto[3] = (TH1F *)dir->FindObjectAny("h_eventoccupancy_HF"); int countamplmaxHB = 0; int countamplmaxHE = 0; @@ -6562,10 +6573,10 @@ HF: j = 0,1,2, 3 18,19,20,21 //************************* ***** channelsummedA over depths ***** cout << ">>>>>>>>>>>>>>>>>>>>>>>>channelsummedA over depths " << endl; TH1F *ChannelDepthsummedAmplitudesPlots[4]; // 1d histogramm for subdet - ChannelDepthsummedAmplitudesPlots[0] = (TH1F *)hfile->Get("h_sumamplitudechannel_HB"); - ChannelDepthsummedAmplitudesPlots[1] = (TH1F *)hfile->Get("h_sumamplitudechannel_HE"); - ChannelDepthsummedAmplitudesPlots[2] = (TH1F *)hfile->Get("h_sumamplitudechannel_HO"); - ChannelDepthsummedAmplitudesPlots[3] = (TH1F *)hfile->Get("h_sumamplitudechannel_HF"); + ChannelDepthsummedAmplitudesPlots[0] = (TH1F *)dir->FindObjectAny("h_sumamplitudechannel_HB"); + ChannelDepthsummedAmplitudesPlots[1] = (TH1F *)dir->FindObjectAny("h_sumamplitudechannel_HE"); + ChannelDepthsummedAmplitudesPlots[2] = (TH1F *)dir->FindObjectAny("h_sumamplitudechannel_HO"); + ChannelDepthsummedAmplitudesPlots[3] = (TH1F *)dir->FindObjectAny("h_sumamplitudechannel_HF"); TLine *litebdt[4]; if (ChannelDepthsummedAmplitudesPlots[0]) litebdt[0] = new TLine(80., 0.8, 80., ChannelDepthsummedAmplitudesPlots[0]->GetBinContent(4) + 100.); @@ -6627,8 +6638,8 @@ HF: j = 0,1,2, 3 18,19,20,21 cHB->Divide(2, 1); TH2F *DAtaildepth1[2]; // 1d histogramm for subdet - DAtaildepth1[0] = (TH2F *)hfile->Get("h_2DAtaildepth1_HB"); - DAtaildepth1[1] = (TH2F *)hfile->Get("h_2D0Ataildepth1_HB"); + DAtaildepth1[0] = (TH2F *)dir->FindObjectAny("h_2DAtaildepth1_HB"); + DAtaildepth1[1] = (TH2F *)dir->FindObjectAny("h_2D0Ataildepth1_HB"); cHB->cd(1); if (!DAtaildepth1[0] || !DAtaildepth1[1]) { cout << ">>>>>>>>>>>>>>>>>>>>>>>>Ataildepth1_HB EMPTY histoes for 2DAtaildepth 1" << endl; @@ -6650,8 +6661,8 @@ HF: j = 0,1,2, 3 18,19,20,21 tail1->Draw("COLZ"); } TH2F *DAtaildepth2[2]; // 1d histogramm for subdet - DAtaildepth2[0] = (TH2F *)hfile->Get("h_2DAtaildepth2_HB"); - DAtaildepth2[1] = (TH2F *)hfile->Get("h_2D0Ataildepth2_HB"); + DAtaildepth2[0] = (TH2F *)dir->FindObjectAny("h_2DAtaildepth2_HB"); + DAtaildepth2[1] = (TH2F *)dir->FindObjectAny("h_2D0Ataildepth2_HB"); cHB->cd(2); if (!DAtaildepth2[0] || !DAtaildepth2[1]) { cout << ">>>>>>>>>>>>>>>>>>>>>>>>Ataildepth1_HB EMPTY histoes for 2DAtaildepth 2" << endl; diff --git a/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringGLOBALTest.cc b/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringGLOBALTest.cc index 659bb31b04e59..9c46b29b6145f 100644 --- a/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringGLOBALTest.cc +++ b/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringGLOBALTest.cc @@ -30,6 +30,7 @@ int copyContents(TH1F **hDest, TString hname, TString htitle, const TH1F *hSrc, // ----------------------------------------------------- int main(int argc, char *argv[]) { + std::string dirnm = "Analyzer"; gROOT->Reset(); gROOT->SetStyle("Plain"); gStyle->SetOptStat(0); @@ -50,6 +51,9 @@ int main(int argc, char *argv[]) { runnumber += fname[i]; TFile *hfile = new TFile(fname, "READ"); + hfile->ls(); + TDirectory *dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str()); + // Cut [test][sub][depth] // Empty HB HE HO HF double Cut0[7][5][8] = { @@ -146,12 +150,13 @@ int main(int argc, char *argv[]) { // int k_maxupgrade[5]={0,2,3,4,4}; // maximum depth for each subdet HB HE HO HF int k_maxupgrade[5] = {0, 4, 7, 4, 4}; // maximum depth for each subdet HB HE HO HF + // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny //+++++++++++++++++++++++++++++ // Lumi iLumi and number of events //+++++++++++++++++++++++++++++ cHB->Divide(2, 1); cHB->cd(1); - TH1F *LumLum = (TH1F *)hfile->Get("h_lsnumber_per_eachLS"); + TH1F *LumLum = (TH1F *)dir->FindObjectAny("h_lsnumber_per_eachLS"); int MaxLumDanila = LumLum->GetBinContent(LumLum->GetMaximumBin()); // old variant of Danila cout << " MaxLumDanila= " << MaxLumDanila << endl; gPad->SetGridy(); @@ -169,7 +174,7 @@ int main(int argc, char *argv[]) { LumLum->Draw("Error"); cHB->cd(2); - TH1F *LumiEv = (TH1F *)hfile->Get("h_nevents_per_eachRealLS"); + TH1F *LumiEv = (TH1F *)dir->FindObjectAny("h_nevents_per_eachRealLS"); int MaxLum0 = LumiEv->GetBinContent(LumiEv->GetMaximumBin()); int MaxLum = 0; for (int i = 1; i <= LumiEv->GetXaxis()->GetNbins(); i++) { @@ -207,81 +212,81 @@ int main(int argc, char *argv[]) { // ADC Amplitude //+++++++++++++++++++++++++++++ - H_NumBadChanDepth[1][1][1] = (TH1F *)hfile->Get("h_sumADCAmplLS1"); - H_NumBadChanDepth[1][1][2] = (TH1F *)hfile->Get("h_sumADCAmplLS2"); + H_NumBadChanDepth[1][1][1] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS1"); + H_NumBadChanDepth[1][1][2] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS2"); - H_NumBadChanDepth[1][2][1] = (TH1F *)hfile->Get("h_sumADCAmplLS3"); - H_NumBadChanDepth[1][2][2] = (TH1F *)hfile->Get("h_sumADCAmplLS4"); - H_NumBadChanDepth[1][2][3] = (TH1F *)hfile->Get("h_sumADCAmplLS5"); + H_NumBadChanDepth[1][2][1] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS3"); + H_NumBadChanDepth[1][2][2] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS4"); + H_NumBadChanDepth[1][2][3] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS5"); - H_NumBadChanDepth[1][3][4] = (TH1F *)hfile->Get("h_sumADCAmplLS8"); + H_NumBadChanDepth[1][3][4] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS8"); - H_NumBadChanDepth[1][4][1] = (TH1F *)hfile->Get("h_sumADCAmplLS6"); - H_NumBadChanDepth[1][4][2] = (TH1F *)hfile->Get("h_sumADCAmplLS7"); + H_NumBadChanDepth[1][4][1] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS6"); + H_NumBadChanDepth[1][4][2] = (TH1F *)dir->FindObjectAny("h_sumADCAmplLS7"); //+++++++++++++++++++++++++++++ // Width //+++++++++++++++++++++++++++++ - H_NumBadChanDepth[2][1][1] = (TH1F *)hfile->Get("h_sumAmplitudeLS1"); - H_NumBadChanDepth[2][1][2] = (TH1F *)hfile->Get("h_sumAmplitudeLS2"); + H_NumBadChanDepth[2][1][1] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS1"); + H_NumBadChanDepth[2][1][2] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS2"); - H_NumBadChanDepth[2][2][1] = (TH1F *)hfile->Get("h_sumAmplitudeLS3"); - H_NumBadChanDepth[2][2][2] = (TH1F *)hfile->Get("h_sumAmplitudeLS4"); - H_NumBadChanDepth[2][2][3] = (TH1F *)hfile->Get("h_sumAmplitudeLS5"); + H_NumBadChanDepth[2][2][1] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS3"); + H_NumBadChanDepth[2][2][2] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS4"); + H_NumBadChanDepth[2][2][3] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS5"); - H_NumBadChanDepth[2][3][4] = (TH1F *)hfile->Get("h_sumAmplitudeLS8"); + H_NumBadChanDepth[2][3][4] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS8"); - H_NumBadChanDepth[2][4][1] = (TH1F *)hfile->Get("h_sumAmplitudeLS6"); - H_NumBadChanDepth[2][4][2] = (TH1F *)hfile->Get("h_sumAmplitudeLS7"); + H_NumBadChanDepth[2][4][1] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS6"); + H_NumBadChanDepth[2][4][2] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeLS7"); //+++++++++++++++++++++++++++++ // Ratio //+++++++++++++++++++++++++++++ - H_NumBadChanDepth[3][1][1] = (TH1F *)hfile->Get("h_sumAmplLS1"); - H_NumBadChanDepth[3][1][2] = (TH1F *)hfile->Get("h_sumAmplLS2"); + H_NumBadChanDepth[3][1][1] = (TH1F *)dir->FindObjectAny("h_sumAmplLS1"); + H_NumBadChanDepth[3][1][2] = (TH1F *)dir->FindObjectAny("h_sumAmplLS2"); - H_NumBadChanDepth[3][2][1] = (TH1F *)hfile->Get("h_sumAmplLS3"); - H_NumBadChanDepth[3][2][2] = (TH1F *)hfile->Get("h_sumAmplLS4"); - H_NumBadChanDepth[3][2][3] = (TH1F *)hfile->Get("h_sumAmplLS5"); + H_NumBadChanDepth[3][2][1] = (TH1F *)dir->FindObjectAny("h_sumAmplLS3"); + H_NumBadChanDepth[3][2][2] = (TH1F *)dir->FindObjectAny("h_sumAmplLS4"); + H_NumBadChanDepth[3][2][3] = (TH1F *)dir->FindObjectAny("h_sumAmplLS5"); - H_NumBadChanDepth[3][3][4] = (TH1F *)hfile->Get("h_sumAmplLS8"); + H_NumBadChanDepth[3][3][4] = (TH1F *)dir->FindObjectAny("h_sumAmplLS8"); - H_NumBadChanDepth[3][4][1] = (TH1F *)hfile->Get("h_sumAmplLS6"); - H_NumBadChanDepth[3][4][2] = (TH1F *)hfile->Get("h_sumAmplLS7"); + H_NumBadChanDepth[3][4][1] = (TH1F *)dir->FindObjectAny("h_sumAmplLS6"); + H_NumBadChanDepth[3][4][2] = (TH1F *)dir->FindObjectAny("h_sumAmplLS7"); //+++++++++++++++++++++++++++++ // Tmean //+++++++++++++++++++++++++++++ - H_NumBadChanDepth[4][1][1] = (TH1F *)hfile->Get("h_sumTSmeanALS1"); - H_NumBadChanDepth[4][1][2] = (TH1F *)hfile->Get("h_sumTSmeanALS2"); + H_NumBadChanDepth[4][1][1] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS1"); + H_NumBadChanDepth[4][1][2] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS2"); - H_NumBadChanDepth[4][2][1] = (TH1F *)hfile->Get("h_sumTSmeanALS3"); - H_NumBadChanDepth[4][2][2] = (TH1F *)hfile->Get("h_sumTSmeanALS4"); - H_NumBadChanDepth[4][2][3] = (TH1F *)hfile->Get("h_sumTSmeanALS5"); + H_NumBadChanDepth[4][2][1] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS3"); + H_NumBadChanDepth[4][2][2] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS4"); + H_NumBadChanDepth[4][2][3] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS5"); - H_NumBadChanDepth[4][3][4] = (TH1F *)hfile->Get("h_sumTSmeanALS8"); + H_NumBadChanDepth[4][3][4] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS8"); - H_NumBadChanDepth[4][4][1] = (TH1F *)hfile->Get("h_sumTSmeanALS6"); - H_NumBadChanDepth[4][4][2] = (TH1F *)hfile->Get("h_sumTSmeanALS7"); + H_NumBadChanDepth[4][4][1] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS6"); + H_NumBadChanDepth[4][4][2] = (TH1F *)dir->FindObjectAny("h_sumTSmeanALS7"); //+++++++++++++++++++++++++++++ // Tmax //+++++++++++++++++++++++++++++ - H_NumBadChanDepth[5][1][1] = (TH1F *)hfile->Get("h_sumTSmaxALS1"); - H_NumBadChanDepth[5][1][2] = (TH1F *)hfile->Get("h_sumTSmaxALS2"); + H_NumBadChanDepth[5][1][1] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS1"); + H_NumBadChanDepth[5][1][2] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS2"); - H_NumBadChanDepth[5][2][1] = (TH1F *)hfile->Get("h_sumTSmaxALS3"); - H_NumBadChanDepth[5][2][2] = (TH1F *)hfile->Get("h_sumTSmaxALS4"); - H_NumBadChanDepth[5][2][3] = (TH1F *)hfile->Get("h_sumTSmaxALS5"); + H_NumBadChanDepth[5][2][1] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS3"); + H_NumBadChanDepth[5][2][2] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS4"); + H_NumBadChanDepth[5][2][3] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS5"); - H_NumBadChanDepth[5][3][4] = (TH1F *)hfile->Get("h_sumTSmaxALS8"); + H_NumBadChanDepth[5][3][4] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS8"); - H_NumBadChanDepth[5][4][1] = (TH1F *)hfile->Get("h_sumTSmaxALS6"); - H_NumBadChanDepth[5][4][2] = (TH1F *)hfile->Get("h_sumTSmaxALS7"); + H_NumBadChanDepth[5][4][1] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS6"); + H_NumBadChanDepth[5][4][2] = (TH1F *)dir->FindObjectAny("h_sumTSmaxALS7"); gStyle->SetOptStat(110000); @@ -461,31 +466,31 @@ int main(int argc, char *argv[]) { // CapID //+++++++++++++++++++++++++++++ - MapNumBadChanDepth[0][1][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HB"); - MapNumBadChanDepth[0][1][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HB"); + MapNumBadChanDepth[0][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HB"); + MapNumBadChanDepth[0][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HB"); - MapNumBadChanDepth[0][2][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HE"); - MapNumBadChanDepth[0][2][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HE"); - MapNumBadChanDepth[0][2][3] = (TH2F *)hfile->Get("h_mapDepth3Error_HE"); + MapNumBadChanDepth[0][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HE"); + MapNumBadChanDepth[0][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HE"); + MapNumBadChanDepth[0][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Error_HE"); - MapNumBadChanDepth[0][3][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HO"); + MapNumBadChanDepth[0][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HO"); - MapNumBadChanDepth[0][4][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HF"); - MapNumBadChanDepth[0][4][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HF"); + MapNumBadChanDepth[0][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HF"); + MapNumBadChanDepth[0][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HF"); MapNumBadChanFull[0] = (TH2F *)MapNumBadChanDepth[0][1][1]->Clone(); - MapNumChanDepth[0][1][1] = (TH2F *)hfile->Get("h_mapDepth1_HB"); - MapNumChanDepth[0][1][2] = (TH2F *)hfile->Get("h_mapDepth2_HB"); + MapNumChanDepth[0][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HB"); + MapNumChanDepth[0][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HB"); - MapNumChanDepth[0][2][1] = (TH2F *)hfile->Get("h_mapDepth1_HE"); - MapNumChanDepth[0][2][2] = (TH2F *)hfile->Get("h_mapDepth2_HE"); - MapNumChanDepth[0][2][3] = (TH2F *)hfile->Get("h_mapDepth3_HE"); + MapNumChanDepth[0][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HE"); + MapNumChanDepth[0][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HE"); + MapNumChanDepth[0][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HE"); - MapNumChanDepth[0][3][4] = (TH2F *)hfile->Get("h_mapDepth4_HO"); + MapNumChanDepth[0][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HO"); - MapNumChanDepth[0][4][1] = (TH2F *)hfile->Get("h_mapDepth1_HF"); - MapNumChanDepth[0][4][2] = (TH2F *)hfile->Get("h_mapDepth2_HF"); + MapNumChanDepth[0][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HF"); + MapNumChanDepth[0][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HF"); MapNumChanFull[0] = (TH2F *)MapNumChanDepth[0][1][1]->Clone(); @@ -493,31 +498,31 @@ int main(int argc, char *argv[]) { // ADC Amplitude //+++++++++++++++++++++++++++++ - MapNumBadChanDepth[1][1][1] = (TH2F *)hfile->Get("h_2DsumADCAmplLS1"); - MapNumBadChanDepth[1][1][2] = (TH2F *)hfile->Get("h_2DsumADCAmplLS2"); + MapNumBadChanDepth[1][1][1] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS1"); + MapNumBadChanDepth[1][1][2] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS2"); - MapNumBadChanDepth[1][2][1] = (TH2F *)hfile->Get("h_2DsumADCAmplLS3"); - MapNumBadChanDepth[1][2][2] = (TH2F *)hfile->Get("h_2DsumADCAmplLS4"); - MapNumBadChanDepth[1][2][3] = (TH2F *)hfile->Get("h_2DsumADCAmplLS5"); + MapNumBadChanDepth[1][2][1] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS3"); + MapNumBadChanDepth[1][2][2] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS4"); + MapNumBadChanDepth[1][2][3] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS5"); - MapNumBadChanDepth[1][3][4] = (TH2F *)hfile->Get("h_2DsumADCAmplLS8"); + MapNumBadChanDepth[1][3][4] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS8"); - MapNumBadChanDepth[1][4][1] = (TH2F *)hfile->Get("h_2DsumADCAmplLS6"); - MapNumBadChanDepth[1][4][2] = (TH2F *)hfile->Get("h_2DsumADCAmplLS7"); + MapNumBadChanDepth[1][4][1] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS6"); + MapNumBadChanDepth[1][4][2] = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplLS7"); MapNumBadChanFull[1] = (TH2F *)MapNumBadChanDepth[1][1][1]->Clone(); - MapNumChanDepth[1][1][1] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS1"); - MapNumChanDepth[1][1][2] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS2"); + MapNumChanDepth[1][1][1] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS1"); + MapNumChanDepth[1][1][2] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS2"); - MapNumChanDepth[1][2][1] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS3"); - MapNumChanDepth[1][2][2] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS4"); - MapNumChanDepth[1][2][3] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS5"); + MapNumChanDepth[1][2][1] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS3"); + MapNumChanDepth[1][2][2] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS4"); + MapNumChanDepth[1][2][3] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS5"); - MapNumChanDepth[1][3][4] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS8"); + MapNumChanDepth[1][3][4] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS8"); - MapNumChanDepth[1][4][1] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS6"); - MapNumChanDepth[1][4][2] = (TH2F *)hfile->Get("h_2D0sumADCAmplLS7"); + MapNumChanDepth[1][4][1] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS6"); + MapNumChanDepth[1][4][2] = (TH2F *)dir->FindObjectAny("h_2D0sumADCAmplLS7"); MapNumChanFull[1] = (TH2F *)MapNumChanDepth[1][1][1]->Clone(); @@ -525,31 +530,31 @@ int main(int argc, char *argv[]) { // Width //+++++++++++++++++++++++++++++ - MapNumBadChanDepth[2][1][1] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS1"); - MapNumBadChanDepth[2][1][2] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS2"); + MapNumBadChanDepth[2][1][1] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS1"); + MapNumBadChanDepth[2][1][2] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS2"); - MapNumBadChanDepth[2][2][1] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS3"); - MapNumBadChanDepth[2][2][2] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS4"); - MapNumBadChanDepth[2][2][3] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS5"); + MapNumBadChanDepth[2][2][1] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS3"); + MapNumBadChanDepth[2][2][2] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS4"); + MapNumBadChanDepth[2][2][3] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS5"); - MapNumBadChanDepth[2][3][4] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS8"); + MapNumBadChanDepth[2][3][4] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS8"); - MapNumBadChanDepth[2][4][1] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS6"); - MapNumBadChanDepth[2][4][2] = (TH2F *)hfile->Get("h_2DsumAmplitudeLS7"); + MapNumBadChanDepth[2][4][1] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS6"); + MapNumBadChanDepth[2][4][2] = (TH2F *)dir->FindObjectAny("h_2DsumAmplitudeLS7"); MapNumBadChanFull[2] = (TH2F *)MapNumBadChanDepth[2][1][1]->Clone(); - MapNumChanDepth[2][1][1] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS1"); - MapNumChanDepth[2][1][2] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS2"); + MapNumChanDepth[2][1][1] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS1"); + MapNumChanDepth[2][1][2] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS2"); - MapNumChanDepth[2][2][1] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS3"); - MapNumChanDepth[2][2][2] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS4"); - MapNumChanDepth[2][2][3] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS5"); + MapNumChanDepth[2][2][1] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS3"); + MapNumChanDepth[2][2][2] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS4"); + MapNumChanDepth[2][2][3] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS5"); - MapNumChanDepth[2][3][4] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS8"); + MapNumChanDepth[2][3][4] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS8"); - MapNumChanDepth[2][4][1] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS6"); - MapNumChanDepth[2][4][2] = (TH2F *)hfile->Get("h_2D0sumAmplitudeLS7"); + MapNumChanDepth[2][4][1] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS6"); + MapNumChanDepth[2][4][2] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplitudeLS7"); MapNumChanFull[2] = (TH2F *)MapNumChanDepth[2][1][1]->Clone(); @@ -557,31 +562,31 @@ int main(int argc, char *argv[]) { // Ratio //+++++++++++++++++++++++++++++ - MapNumBadChanDepth[3][1][1] = (TH2F *)hfile->Get("h_2DsumAmplLS1"); - MapNumBadChanDepth[3][1][2] = (TH2F *)hfile->Get("h_2DsumAmplLS2"); + MapNumBadChanDepth[3][1][1] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS1"); + MapNumBadChanDepth[3][1][2] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS2"); - MapNumBadChanDepth[3][2][1] = (TH2F *)hfile->Get("h_2DsumAmplLS3"); - MapNumBadChanDepth[3][2][2] = (TH2F *)hfile->Get("h_2DsumAmplLS4"); - MapNumBadChanDepth[3][2][3] = (TH2F *)hfile->Get("h_2DsumAmplLS5"); + MapNumBadChanDepth[3][2][1] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS3"); + MapNumBadChanDepth[3][2][2] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS4"); + MapNumBadChanDepth[3][2][3] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS5"); - MapNumBadChanDepth[3][3][4] = (TH2F *)hfile->Get("h_2DsumAmplLS8"); + MapNumBadChanDepth[3][3][4] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS8"); - MapNumBadChanDepth[3][4][1] = (TH2F *)hfile->Get("h_2DsumAmplLS6"); - MapNumBadChanDepth[3][4][2] = (TH2F *)hfile->Get("h_2DsumAmplLS7"); + MapNumBadChanDepth[3][4][1] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS6"); + MapNumBadChanDepth[3][4][2] = (TH2F *)dir->FindObjectAny("h_2DsumAmplLS7"); MapNumBadChanFull[3] = (TH2F *)MapNumBadChanDepth[3][1][1]->Clone(); - MapNumChanDepth[3][1][1] = (TH2F *)hfile->Get("h_2D0sumAmplLS1"); - MapNumChanDepth[3][1][2] = (TH2F *)hfile->Get("h_2D0sumAmplLS2"); + MapNumChanDepth[3][1][1] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS1"); + MapNumChanDepth[3][1][2] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS2"); - MapNumChanDepth[3][2][1] = (TH2F *)hfile->Get("h_2D0sumAmplLS3"); - MapNumChanDepth[3][2][2] = (TH2F *)hfile->Get("h_2D0sumAmplLS4"); - MapNumChanDepth[3][2][3] = (TH2F *)hfile->Get("h_2D0sumAmplLS5"); + MapNumChanDepth[3][2][1] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS3"); + MapNumChanDepth[3][2][2] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS4"); + MapNumChanDepth[3][2][3] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS5"); - MapNumChanDepth[3][3][4] = (TH2F *)hfile->Get("h_2D0sumAmplLS8"); + MapNumChanDepth[3][3][4] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS8"); - MapNumChanDepth[3][4][1] = (TH2F *)hfile->Get("h_2D0sumAmplLS6"); - MapNumChanDepth[3][4][2] = (TH2F *)hfile->Get("h_2D0sumAmplLS7"); + MapNumChanDepth[3][4][1] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS6"); + MapNumChanDepth[3][4][2] = (TH2F *)dir->FindObjectAny("h_2D0sumAmplLS7"); MapNumChanFull[3] = (TH2F *)MapNumChanDepth[3][1][1]->Clone(); @@ -589,31 +594,31 @@ int main(int argc, char *argv[]) { // Tmean //+++++++++++++++++++++++++++++ - MapNumBadChanDepth[4][1][1] = (TH2F *)hfile->Get("h_2DsumTSmeanALS1"); - MapNumBadChanDepth[4][1][2] = (TH2F *)hfile->Get("h_2DsumTSmeanALS2"); + MapNumBadChanDepth[4][1][1] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS1"); + MapNumBadChanDepth[4][1][2] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS2"); - MapNumBadChanDepth[4][2][1] = (TH2F *)hfile->Get("h_2DsumTSmeanALS3"); - MapNumBadChanDepth[4][2][2] = (TH2F *)hfile->Get("h_2DsumTSmeanALS4"); - MapNumBadChanDepth[4][2][3] = (TH2F *)hfile->Get("h_2DsumTSmeanALS5"); + MapNumBadChanDepth[4][2][1] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS3"); + MapNumBadChanDepth[4][2][2] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS4"); + MapNumBadChanDepth[4][2][3] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS5"); - MapNumBadChanDepth[4][3][4] = (TH2F *)hfile->Get("h_2DsumTSmeanALS8"); + MapNumBadChanDepth[4][3][4] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS8"); - MapNumBadChanDepth[4][4][1] = (TH2F *)hfile->Get("h_2DsumTSmeanALS6"); - MapNumBadChanDepth[4][4][2] = (TH2F *)hfile->Get("h_2DsumTSmeanALS7"); + MapNumBadChanDepth[4][4][1] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS6"); + MapNumBadChanDepth[4][4][2] = (TH2F *)dir->FindObjectAny("h_2DsumTSmeanALS7"); MapNumBadChanFull[4] = (TH2F *)MapNumBadChanDepth[4][1][1]->Clone(); - MapNumChanDepth[4][1][1] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS1"); - MapNumChanDepth[4][1][2] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS2"); + MapNumChanDepth[4][1][1] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS1"); + MapNumChanDepth[4][1][2] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS2"); - MapNumChanDepth[4][2][1] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS3"); - MapNumChanDepth[4][2][2] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS4"); - MapNumChanDepth[4][2][3] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS5"); + MapNumChanDepth[4][2][1] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS3"); + MapNumChanDepth[4][2][2] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS4"); + MapNumChanDepth[4][2][3] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS5"); - MapNumChanDepth[4][3][4] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS8"); + MapNumChanDepth[4][3][4] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS8"); - MapNumChanDepth[4][4][1] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS6"); - MapNumChanDepth[4][4][2] = (TH2F *)hfile->Get("h_2D0sumTSmeanALS7"); + MapNumChanDepth[4][4][1] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS6"); + MapNumChanDepth[4][4][2] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmeanALS7"); MapNumChanFull[4] = (TH2F *)MapNumChanDepth[4][1][1]->Clone(); @@ -621,31 +626,31 @@ int main(int argc, char *argv[]) { // Tmax //+++++++++++++++++++++++++++++ - MapNumBadChanDepth[5][1][1] = (TH2F *)hfile->Get("h_2DsumTSmaxALS1"); - MapNumBadChanDepth[5][1][2] = (TH2F *)hfile->Get("h_2DsumTSmaxALS2"); + MapNumBadChanDepth[5][1][1] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS1"); + MapNumBadChanDepth[5][1][2] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS2"); - MapNumBadChanDepth[5][2][1] = (TH2F *)hfile->Get("h_2DsumTSmaxALS3"); - MapNumBadChanDepth[5][2][2] = (TH2F *)hfile->Get("h_2DsumTSmaxALS4"); - MapNumBadChanDepth[5][2][3] = (TH2F *)hfile->Get("h_2DsumTSmaxALS5"); + MapNumBadChanDepth[5][2][1] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS3"); + MapNumBadChanDepth[5][2][2] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS4"); + MapNumBadChanDepth[5][2][3] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS5"); - MapNumBadChanDepth[5][3][4] = (TH2F *)hfile->Get("h_2DsumTSmaxALS8"); + MapNumBadChanDepth[5][3][4] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS8"); - MapNumBadChanDepth[5][4][1] = (TH2F *)hfile->Get("h_2DsumTSmaxALS6"); - MapNumBadChanDepth[5][4][2] = (TH2F *)hfile->Get("h_2DsumTSmaxALS7"); + MapNumBadChanDepth[5][4][1] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS6"); + MapNumBadChanDepth[5][4][2] = (TH2F *)dir->FindObjectAny("h_2DsumTSmaxALS7"); MapNumBadChanFull[5] = (TH2F *)MapNumBadChanDepth[5][1][1]->Clone(); - MapNumChanDepth[5][1][1] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS1"); - MapNumChanDepth[5][1][2] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS2"); + MapNumChanDepth[5][1][1] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS1"); + MapNumChanDepth[5][1][2] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS2"); - MapNumChanDepth[5][2][1] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS3"); - MapNumChanDepth[5][2][2] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS4"); - MapNumChanDepth[5][2][3] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS5"); + MapNumChanDepth[5][2][1] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS3"); + MapNumChanDepth[5][2][2] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS4"); + MapNumChanDepth[5][2][3] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS5"); - MapNumChanDepth[5][3][4] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS8"); + MapNumChanDepth[5][3][4] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS8"); - MapNumChanDepth[5][4][1] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS6"); - MapNumChanDepth[5][4][2] = (TH2F *)hfile->Get("h_2D0sumTSmaxALS7"); + MapNumChanDepth[5][4][1] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS6"); + MapNumChanDepth[5][4][2] = (TH2F *)dir->FindObjectAny("h_2D0sumTSmaxALS7"); MapNumChanFull[5] = (TH2F *)MapNumChanDepth[5][1][1]->Clone(); @@ -869,43 +874,43 @@ int main(int argc, char *argv[]) { // Rate of Cap ID errors //+++++++++++++++++++++++++++++ - HistNumBadChanDepth[0][1][1] = (TH1F *)hfile->Get("h_runnbadchannels_depth1_HB"); - HistNumBadChanDepth[0][1][2] = (TH1F *)hfile->Get("h_runnbadchannels_depth2_HB"); + HistNumBadChanDepth[0][1][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth1_HB"); + HistNumBadChanDepth[0][1][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth2_HB"); - HistNumBadChanDepth[0][2][1] = (TH1F *)hfile->Get("h_runnbadchannels_depth1_HE"); - HistNumBadChanDepth[0][2][2] = (TH1F *)hfile->Get("h_runnbadchannels_depth2_HE"); - HistNumBadChanDepth[0][2][3] = (TH1F *)hfile->Get("h_runnbadchannels_depth3_HE"); + HistNumBadChanDepth[0][2][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth1_HE"); + HistNumBadChanDepth[0][2][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth2_HE"); + HistNumBadChanDepth[0][2][3] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth3_HE"); - HistNumBadChanDepth[0][3][4] = (TH1F *)hfile->Get("h_runnbadchannels_depth4_HO"); + HistNumBadChanDepth[0][3][4] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth4_HO"); - HistNumBadChanDepth[0][4][1] = (TH1F *)hfile->Get("h_runnbadchannels_depth1_HF"); - HistNumBadChanDepth[0][4][2] = (TH1F *)hfile->Get("h_runnbadchannels_depth2_HF"); + HistNumBadChanDepth[0][4][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth1_HF"); + HistNumBadChanDepth[0][4][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth2_HF"); HistNumBadChanFull[0] = (TH1F *)HistNumBadChanDepth[0][1][1]->Clone(); - HistCutNumBadChanDepth[0][1][1] = (TH1F *)hfile->Get("h_runnbadchannels_depth1_HB"); - HistCutNumBadChanDepth[0][1][2] = (TH1F *)hfile->Get("h_runnbadchannels_depth2_HB"); + HistCutNumBadChanDepth[0][1][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth1_HB"); + HistCutNumBadChanDepth[0][1][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth2_HB"); - HistCutNumBadChanDepth[0][2][1] = (TH1F *)hfile->Get("h_runnbadchannels_depth1_HE"); - HistCutNumBadChanDepth[0][2][2] = (TH1F *)hfile->Get("h_runnbadchannels_depth2_HE"); - HistCutNumBadChanDepth[0][2][3] = (TH1F *)hfile->Get("h_runnbadchannels_depth3_HE"); + HistCutNumBadChanDepth[0][2][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth1_HE"); + HistCutNumBadChanDepth[0][2][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth2_HE"); + HistCutNumBadChanDepth[0][2][3] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth3_HE"); - HistCutNumBadChanDepth[0][3][4] = (TH1F *)hfile->Get("h_runnbadchannels_depth4_HO"); + HistCutNumBadChanDepth[0][3][4] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth4_HO"); - HistCutNumBadChanDepth[0][4][1] = (TH1F *)hfile->Get("h_runnbadchannels_depth1_HF"); - HistCutNumBadChanDepth[0][4][2] = (TH1F *)hfile->Get("h_runnbadchannels_depth2_HF"); + HistCutNumBadChanDepth[0][4][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth1_HF"); + HistCutNumBadChanDepth[0][4][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannels_depth2_HF"); - HistNumChanDepth[0][1][1] = (TH1F *)hfile->Get("h_runbadrate0_depth1_HB"); - HistNumChanDepth[0][1][2] = (TH1F *)hfile->Get("h_runbadrate0_depth2_HB"); + HistNumChanDepth[0][1][1] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth1_HB"); + HistNumChanDepth[0][1][2] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth2_HB"); - HistNumChanDepth[0][2][1] = (TH1F *)hfile->Get("h_runbadrate0_depth1_HE"); - HistNumChanDepth[0][2][2] = (TH1F *)hfile->Get("h_runbadrate0_depth2_HE"); - HistNumChanDepth[0][2][3] = (TH1F *)hfile->Get("h_runbadrate0_depth3_HE"); + HistNumChanDepth[0][2][1] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth1_HE"); + HistNumChanDepth[0][2][2] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth2_HE"); + HistNumChanDepth[0][2][3] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth3_HE"); - HistNumChanDepth[0][3][4] = (TH1F *)hfile->Get("h_runbadrate0_depth4_HO"); + HistNumChanDepth[0][3][4] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth4_HO"); - HistNumChanDepth[0][4][1] = (TH1F *)hfile->Get("h_runbadrate0_depth1_HF"); - HistNumChanDepth[0][4][2] = (TH1F *)hfile->Get("h_runbadrate0_depth2_HF"); + HistNumChanDepth[0][4][1] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth1_HF"); + HistNumChanDepth[0][4][2] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth2_HF"); HistNumChanFull[0] = (TH1F *)HistNumChanDepth[0][1][1]->Clone(); @@ -915,90 +920,90 @@ int main(int argc, char *argv[]) { ////////////////////// // HB: - HistNumBadChanDepth[1][1][1] = (TH1F *)hfile->Get("h_sumADCAmplperLS1"); - HistNumBadChanDepth[1][1][2] = (TH1F *)hfile->Get("h_sumADCAmplperLS2"); + HistNumBadChanDepth[1][1][1] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS1"); + HistNumBadChanDepth[1][1][2] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS2"); // HB upgrade: - HistNumBadChanDepth[1][1][3] = (TH1F *)hfile->Get("h_sumADCAmplperLSdepth3HBu"); - HistNumBadChanDepth[1][1][4] = (TH1F *)hfile->Get("h_sumADCAmplperLSdepth4HBu"); + HistNumBadChanDepth[1][1][3] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth3HBu"); + HistNumBadChanDepth[1][1][4] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth4HBu"); // HE: - HistNumBadChanDepth[1][2][1] = (TH1F *)hfile->Get("h_sumADCAmplperLS3"); - HistNumBadChanDepth[1][2][2] = (TH1F *)hfile->Get("h_sumADCAmplperLS4"); - HistNumBadChanDepth[1][2][3] = (TH1F *)hfile->Get("h_sumADCAmplperLS5"); + HistNumBadChanDepth[1][2][1] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS3"); + HistNumBadChanDepth[1][2][2] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS4"); + HistNumBadChanDepth[1][2][3] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS5"); // HE upgrade: - HistNumBadChanDepth[1][2][4] = (TH1F *)hfile->Get("h_sumADCAmplperLSdepth4HEu"); - HistNumBadChanDepth[1][2][5] = (TH1F *)hfile->Get("h_sumADCAmplperLSdepth5HEu"); - HistNumBadChanDepth[1][2][6] = (TH1F *)hfile->Get("h_sumADCAmplperLSdepth6HEu"); - HistNumBadChanDepth[1][2][7] = (TH1F *)hfile->Get("h_sumADCAmplperLSdepth7HEu"); + HistNumBadChanDepth[1][2][4] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth4HEu"); + HistNumBadChanDepth[1][2][5] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth5HEu"); + HistNumBadChanDepth[1][2][6] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth6HEu"); + HistNumBadChanDepth[1][2][7] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth7HEu"); // HO: - HistNumBadChanDepth[1][3][4] = (TH1F *)hfile->Get("h_sumADCAmplperLS8"); + HistNumBadChanDepth[1][3][4] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS8"); // HF: - HistNumBadChanDepth[1][4][1] = (TH1F *)hfile->Get("h_sumADCAmplperLS6"); - HistNumBadChanDepth[1][4][2] = (TH1F *)hfile->Get("h_sumADCAmplperLS7"); + HistNumBadChanDepth[1][4][1] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS6"); + HistNumBadChanDepth[1][4][2] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS7"); // HF upgrade: - HistNumBadChanDepth[1][4][3] = (TH1F *)hfile->Get("h_sumADCAmplperLS6u"); - HistNumBadChanDepth[1][4][4] = (TH1F *)hfile->Get("h_sumADCAmplperLS7u"); + HistNumBadChanDepth[1][4][3] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS6u"); + HistNumBadChanDepth[1][4][4] = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS7u"); // other cases: HistNumBadChanFull[1] = (TH1F *)HistNumBadChanDepth[1][1][1]->Clone(); ////////////////////// // HB: - HistCutNumBadChanDepth[1][1][1] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS1"); - HistCutNumBadChanDepth[1][1][2] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS2"); + HistCutNumBadChanDepth[1][1][1] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS1"); + HistCutNumBadChanDepth[1][1][2] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS2"); // HB upgrade: - HistCutNumBadChanDepth[1][1][3] = (TH1F *)hfile->Get("h_sumCutADCAmplperLSdepth3HBu"); - HistCutNumBadChanDepth[1][1][4] = (TH1F *)hfile->Get("h_sumCutADCAmplperLSdepth4HBu"); + HistCutNumBadChanDepth[1][1][3] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth3HBu"); + HistCutNumBadChanDepth[1][1][4] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth4HBu"); // HE: - HistCutNumBadChanDepth[1][2][1] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS3"); - HistCutNumBadChanDepth[1][2][2] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS4"); - HistCutNumBadChanDepth[1][2][3] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS5"); + HistCutNumBadChanDepth[1][2][1] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS3"); + HistCutNumBadChanDepth[1][2][2] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS4"); + HistCutNumBadChanDepth[1][2][3] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS5"); // HE upgrade: - HistCutNumBadChanDepth[1][2][4] = (TH1F *)hfile->Get("h_sumCutADCAmplperLSdepth4HEu"); - HistCutNumBadChanDepth[1][2][5] = (TH1F *)hfile->Get("h_sumCutADCAmplperLSdepth5HEu"); - HistCutNumBadChanDepth[1][2][6] = (TH1F *)hfile->Get("h_sumCutADCAmplperLSdepth6HEu"); - HistCutNumBadChanDepth[1][2][7] = (TH1F *)hfile->Get("h_sumCutADCAmplperLSdepth7HEu"); + HistCutNumBadChanDepth[1][2][4] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth4HEu"); + HistCutNumBadChanDepth[1][2][5] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth5HEu"); + HistCutNumBadChanDepth[1][2][6] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth6HEu"); + HistCutNumBadChanDepth[1][2][7] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth7HEu"); // HO: - HistCutNumBadChanDepth[1][3][4] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS8"); + HistCutNumBadChanDepth[1][3][4] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS8"); // HF: - HistCutNumBadChanDepth[1][4][1] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS6"); - HistCutNumBadChanDepth[1][4][2] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS7"); + HistCutNumBadChanDepth[1][4][1] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS6"); + HistCutNumBadChanDepth[1][4][2] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS7"); // HF upgrade: - HistCutNumBadChanDepth[1][4][3] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS6u"); - HistCutNumBadChanDepth[1][4][4] = (TH1F *)hfile->Get("h_sumCutADCAmplperLS7u"); + HistCutNumBadChanDepth[1][4][3] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS6u"); + HistCutNumBadChanDepth[1][4][4] = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS7u"); ////////////////////// // HB: - HistNumChanDepth[1][1][1] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS1"); - HistNumChanDepth[1][1][2] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS2"); + HistNumChanDepth[1][1][1] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS1"); + HistNumChanDepth[1][1][2] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS2"); // HB upgrade: - HistNumChanDepth[1][1][3] = (TH1F *)hfile->Get("h_sum0ADCAmplperLSdepth3HBu"); - HistNumChanDepth[1][1][4] = (TH1F *)hfile->Get("h_sum0ADCAmplperLSdepth4HBu"); + HistNumChanDepth[1][1][3] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth3HBu"); + HistNumChanDepth[1][1][4] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth4HBu"); // HE: - HistNumChanDepth[1][2][1] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS3"); - HistNumChanDepth[1][2][2] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS4"); - HistNumChanDepth[1][2][3] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS5"); + HistNumChanDepth[1][2][1] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS3"); + HistNumChanDepth[1][2][2] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS4"); + HistNumChanDepth[1][2][3] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS5"); // HE upgrade: - HistNumChanDepth[1][2][4] = (TH1F *)hfile->Get("h_sum0ADCAmplperLSdepth4HEu"); - HistNumChanDepth[1][2][5] = (TH1F *)hfile->Get("h_sum0ADCAmplperLSdepth5HEu"); - HistNumChanDepth[1][2][6] = (TH1F *)hfile->Get("h_sum0ADCAmplperLSdepth6HEu"); - HistNumChanDepth[1][2][7] = (TH1F *)hfile->Get("h_sum0ADCAmplperLSdepth7HEu"); + HistNumChanDepth[1][2][4] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth4HEu"); + HistNumChanDepth[1][2][5] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth5HEu"); + HistNumChanDepth[1][2][6] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth6HEu"); + HistNumChanDepth[1][2][7] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth7HEu"); // HO: - HistNumChanDepth[1][3][4] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS8"); + HistNumChanDepth[1][3][4] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS8"); // HF: - HistNumChanDepth[1][4][1] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS6"); - HistNumChanDepth[1][4][2] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS7"); + HistNumChanDepth[1][4][1] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS6"); + HistNumChanDepth[1][4][2] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS7"); // HF upgrade: - HistNumChanDepth[1][4][3] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS6u"); - HistNumChanDepth[1][4][4] = (TH1F *)hfile->Get("h_sum0ADCAmplperLS7u"); + HistNumChanDepth[1][4][3] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS6u"); + HistNumChanDepth[1][4][4] = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS7u"); // other cases: HistNumChanFull[1] = (TH1F *)HistNumChanDepth[1][1][1]->Clone(); @@ -1009,172 +1014,172 @@ int main(int argc, char *argv[]) { // Width //+++++++++++++++++++++++++++++ - HistNumBadChanDepth[2][1][1] = (TH1F *)hfile->Get("h_sumAmplitudeperLS1"); - HistNumBadChanDepth[2][1][2] = (TH1F *)hfile->Get("h_sumAmplitudeperLS2"); + HistNumBadChanDepth[2][1][1] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS1"); + HistNumBadChanDepth[2][1][2] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS2"); - HistNumBadChanDepth[2][2][1] = (TH1F *)hfile->Get("h_sumAmplitudeperLS3"); - HistNumBadChanDepth[2][2][2] = (TH1F *)hfile->Get("h_sumAmplitudeperLS4"); - HistNumBadChanDepth[2][2][3] = (TH1F *)hfile->Get("h_sumAmplitudeperLS5"); + HistNumBadChanDepth[2][2][1] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS3"); + HistNumBadChanDepth[2][2][2] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS4"); + HistNumBadChanDepth[2][2][3] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS5"); - HistNumBadChanDepth[2][3][4] = (TH1F *)hfile->Get("h_sumAmplitudeperLS8"); + HistNumBadChanDepth[2][3][4] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS8"); - HistNumBadChanDepth[2][4][1] = (TH1F *)hfile->Get("h_sumAmplitudeperLS6"); - HistNumBadChanDepth[2][4][2] = (TH1F *)hfile->Get("h_sumAmplitudeperLS7"); + HistNumBadChanDepth[2][4][1] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS6"); + HistNumBadChanDepth[2][4][2] = (TH1F *)dir->FindObjectAny("h_sumAmplitudeperLS7"); HistNumBadChanFull[2] = (TH1F *)HistNumBadChanDepth[2][1][1]->Clone(); - HistCutNumBadChanDepth[2][1][1] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS1"); - HistCutNumBadChanDepth[2][1][2] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS2"); + HistCutNumBadChanDepth[2][1][1] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS1"); + HistCutNumBadChanDepth[2][1][2] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS2"); - HistCutNumBadChanDepth[2][2][1] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS3"); - HistCutNumBadChanDepth[2][2][2] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS4"); - HistCutNumBadChanDepth[2][2][3] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS5"); + HistCutNumBadChanDepth[2][2][1] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS3"); + HistCutNumBadChanDepth[2][2][2] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS4"); + HistCutNumBadChanDepth[2][2][3] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS5"); - HistCutNumBadChanDepth[2][3][4] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS8"); + HistCutNumBadChanDepth[2][3][4] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS8"); - HistCutNumBadChanDepth[2][4][1] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS6"); - HistCutNumBadChanDepth[2][4][2] = (TH1F *)hfile->Get("h_sumCutAmplitudeperLS7"); + HistCutNumBadChanDepth[2][4][1] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS6"); + HistCutNumBadChanDepth[2][4][2] = (TH1F *)dir->FindObjectAny("h_sumCutAmplitudeperLS7"); - HistNumChanDepth[2][1][1] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS1"); - HistNumChanDepth[2][1][2] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS2"); + HistNumChanDepth[2][1][1] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS1"); + HistNumChanDepth[2][1][2] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS2"); - HistNumChanDepth[2][2][1] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS3"); - HistNumChanDepth[2][2][2] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS4"); - HistNumChanDepth[2][2][3] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS5"); + HistNumChanDepth[2][2][1] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS3"); + HistNumChanDepth[2][2][2] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS4"); + HistNumChanDepth[2][2][3] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS5"); - HistNumChanDepth[2][3][4] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS8"); + HistNumChanDepth[2][3][4] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS8"); - HistNumChanDepth[2][4][1] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS6"); - HistNumChanDepth[2][4][2] = (TH1F *)hfile->Get("h_sum0AmplitudeperLS7"); + HistNumChanDepth[2][4][1] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS6"); + HistNumChanDepth[2][4][2] = (TH1F *)dir->FindObjectAny("h_sum0AmplitudeperLS7"); HistNumChanFull[2] = (TH1F *)HistNumChanDepth[2][1][1]->Clone(); //+++++++++++++++++++++++++++++ // Ratio //+++++++++++++++++++++++++++++ - HistNumBadChanDepth[3][1][1] = (TH1F *)hfile->Get("h_sumAmplperLS1"); - HistNumBadChanDepth[3][1][2] = (TH1F *)hfile->Get("h_sumAmplperLS2"); + HistNumBadChanDepth[3][1][1] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS1"); + HistNumBadChanDepth[3][1][2] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS2"); - HistNumBadChanDepth[3][2][1] = (TH1F *)hfile->Get("h_sumAmplperLS3"); - HistNumBadChanDepth[3][2][2] = (TH1F *)hfile->Get("h_sumAmplperLS4"); - HistNumBadChanDepth[3][2][3] = (TH1F *)hfile->Get("h_sumAmplperLS5"); + HistNumBadChanDepth[3][2][1] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS3"); + HistNumBadChanDepth[3][2][2] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS4"); + HistNumBadChanDepth[3][2][3] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS5"); - HistNumBadChanDepth[3][3][4] = (TH1F *)hfile->Get("h_sumAmplperLS8"); + HistNumBadChanDepth[3][3][4] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS8"); - HistNumBadChanDepth[3][4][1] = (TH1F *)hfile->Get("h_sumAmplperLS6"); - HistNumBadChanDepth[3][4][2] = (TH1F *)hfile->Get("h_sumAmplperLS7"); + HistNumBadChanDepth[3][4][1] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS6"); + HistNumBadChanDepth[3][4][2] = (TH1F *)dir->FindObjectAny("h_sumAmplperLS7"); HistNumBadChanFull[3] = (TH1F *)HistNumBadChanDepth[3][1][1]->Clone(); - HistCutNumBadChanDepth[3][1][1] = (TH1F *)hfile->Get("h_sumCutAmplperLS1"); - HistCutNumBadChanDepth[3][1][2] = (TH1F *)hfile->Get("h_sumCutAmplperLS2"); + HistCutNumBadChanDepth[3][1][1] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS1"); + HistCutNumBadChanDepth[3][1][2] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS2"); - HistCutNumBadChanDepth[3][2][1] = (TH1F *)hfile->Get("h_sumCutAmplperLS3"); - HistCutNumBadChanDepth[3][2][2] = (TH1F *)hfile->Get("h_sumCutAmplperLS4"); - HistCutNumBadChanDepth[3][2][3] = (TH1F *)hfile->Get("h_sumCutAmplperLS5"); + HistCutNumBadChanDepth[3][2][1] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS3"); + HistCutNumBadChanDepth[3][2][2] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS4"); + HistCutNumBadChanDepth[3][2][3] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS5"); - HistCutNumBadChanDepth[3][3][4] = (TH1F *)hfile->Get("h_sumCutAmplperLS8"); + HistCutNumBadChanDepth[3][3][4] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS8"); - HistCutNumBadChanDepth[3][4][1] = (TH1F *)hfile->Get("h_sumCutAmplperLS6"); - HistCutNumBadChanDepth[3][4][2] = (TH1F *)hfile->Get("h_sumCutAmplperLS7"); + HistCutNumBadChanDepth[3][4][1] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS6"); + HistCutNumBadChanDepth[3][4][2] = (TH1F *)dir->FindObjectAny("h_sumCutAmplperLS7"); - HistNumChanDepth[3][1][1] = (TH1F *)hfile->Get("h_sum0AmplperLS1"); - HistNumChanDepth[3][1][2] = (TH1F *)hfile->Get("h_sum0AmplperLS2"); + HistNumChanDepth[3][1][1] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS1"); + HistNumChanDepth[3][1][2] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS2"); - HistNumChanDepth[3][2][1] = (TH1F *)hfile->Get("h_sum0AmplperLS3"); - HistNumChanDepth[3][2][2] = (TH1F *)hfile->Get("h_sum0AmplperLS4"); - HistNumChanDepth[3][2][3] = (TH1F *)hfile->Get("h_sum0AmplperLS5"); + HistNumChanDepth[3][2][1] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS3"); + HistNumChanDepth[3][2][2] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS4"); + HistNumChanDepth[3][2][3] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS5"); - HistNumChanDepth[3][3][4] = (TH1F *)hfile->Get("h_sum0AmplperLS8"); + HistNumChanDepth[3][3][4] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS8"); - HistNumChanDepth[3][4][1] = (TH1F *)hfile->Get("h_sum0AmplperLS6"); - HistNumChanDepth[3][4][2] = (TH1F *)hfile->Get("h_sum0AmplperLS7"); + HistNumChanDepth[3][4][1] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS6"); + HistNumChanDepth[3][4][2] = (TH1F *)dir->FindObjectAny("h_sum0AmplperLS7"); HistNumChanFull[3] = (TH1F *)HistNumChanDepth[3][1][1]->Clone(); //+++++++++++++++++++++++++++++ // Tmean //+++++++++++++++++++++++++++++ - HistNumBadChanDepth[4][1][1] = (TH1F *)hfile->Get("h_sumTSmeanAperLS1"); - HistNumBadChanDepth[4][1][2] = (TH1F *)hfile->Get("h_sumTSmeanAperLS2"); + HistNumBadChanDepth[4][1][1] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS1"); + HistNumBadChanDepth[4][1][2] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS2"); - HistNumBadChanDepth[4][2][1] = (TH1F *)hfile->Get("h_sumTSmeanAperLS3"); - HistNumBadChanDepth[4][2][2] = (TH1F *)hfile->Get("h_sumTSmeanAperLS4"); - HistNumBadChanDepth[4][2][3] = (TH1F *)hfile->Get("h_sumTSmeanAperLS5"); + HistNumBadChanDepth[4][2][1] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS3"); + HistNumBadChanDepth[4][2][2] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS4"); + HistNumBadChanDepth[4][2][3] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS5"); - HistNumBadChanDepth[4][3][4] = (TH1F *)hfile->Get("h_sumTSmeanAperLS8"); + HistNumBadChanDepth[4][3][4] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS8"); - HistNumBadChanDepth[4][4][1] = (TH1F *)hfile->Get("h_sumTSmeanAperLS6"); - HistNumBadChanDepth[4][4][2] = (TH1F *)hfile->Get("h_sumTSmeanAperLS7"); + HistNumBadChanDepth[4][4][1] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS6"); + HistNumBadChanDepth[4][4][2] = (TH1F *)dir->FindObjectAny("h_sumTSmeanAperLS7"); HistNumBadChanFull[4] = (TH1F *)HistNumBadChanDepth[4][1][1]->Clone(); - HistCutNumBadChanDepth[4][1][1] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS1"); - HistCutNumBadChanDepth[4][1][2] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS2"); + HistCutNumBadChanDepth[4][1][1] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS1"); + HistCutNumBadChanDepth[4][1][2] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS2"); - HistCutNumBadChanDepth[4][2][1] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS3"); - HistCutNumBadChanDepth[4][2][2] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS4"); - HistCutNumBadChanDepth[4][2][3] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS5"); + HistCutNumBadChanDepth[4][2][1] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS3"); + HistCutNumBadChanDepth[4][2][2] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS4"); + HistCutNumBadChanDepth[4][2][3] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS5"); - HistCutNumBadChanDepth[4][3][4] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS8"); + HistCutNumBadChanDepth[4][3][4] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS8"); - HistCutNumBadChanDepth[4][4][1] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS6"); - HistCutNumBadChanDepth[4][4][2] = (TH1F *)hfile->Get("h_sumCutTSmeanAperLS7"); + HistCutNumBadChanDepth[4][4][1] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS6"); + HistCutNumBadChanDepth[4][4][2] = (TH1F *)dir->FindObjectAny("h_sumCutTSmeanAperLS7"); - HistNumChanDepth[4][1][1] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS1"); - HistNumChanDepth[4][1][2] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS2"); + HistNumChanDepth[4][1][1] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS1"); + HistNumChanDepth[4][1][2] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS2"); - HistNumChanDepth[4][2][1] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS3"); - HistNumChanDepth[4][2][2] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS4"); - HistNumChanDepth[4][2][3] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS5"); + HistNumChanDepth[4][2][1] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS3"); + HistNumChanDepth[4][2][2] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS4"); + HistNumChanDepth[4][2][3] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS5"); - HistNumChanDepth[4][3][4] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS8"); + HistNumChanDepth[4][3][4] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS8"); - HistNumChanDepth[4][4][1] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS6"); - HistNumChanDepth[4][4][2] = (TH1F *)hfile->Get("h_sum0TSmeanAperLS7"); + HistNumChanDepth[4][4][1] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS6"); + HistNumChanDepth[4][4][2] = (TH1F *)dir->FindObjectAny("h_sum0TSmeanAperLS7"); HistNumChanFull[4] = (TH1F *)HistNumChanDepth[4][1][1]->Clone(); //+++++++++++++++++++++++++++++ // Tmax //+++++++++++++++++++++++++++++ - HistNumBadChanDepth[5][1][1] = (TH1F *)hfile->Get("h_sumTSmaxAperLS1"); - HistNumBadChanDepth[5][1][2] = (TH1F *)hfile->Get("h_sumTSmaxAperLS2"); + HistNumBadChanDepth[5][1][1] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS1"); + HistNumBadChanDepth[5][1][2] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS2"); - HistNumBadChanDepth[5][2][1] = (TH1F *)hfile->Get("h_sumTSmaxAperLS3"); - HistNumBadChanDepth[5][2][2] = (TH1F *)hfile->Get("h_sumTSmaxAperLS4"); - HistNumBadChanDepth[5][2][3] = (TH1F *)hfile->Get("h_sumTSmaxAperLS5"); + HistNumBadChanDepth[5][2][1] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS3"); + HistNumBadChanDepth[5][2][2] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS4"); + HistNumBadChanDepth[5][2][3] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS5"); - HistNumBadChanDepth[5][3][4] = (TH1F *)hfile->Get("h_sumTSmaxAperLS8"); + HistNumBadChanDepth[5][3][4] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS8"); - HistNumBadChanDepth[5][4][1] = (TH1F *)hfile->Get("h_sumTSmaxAperLS6"); - HistNumBadChanDepth[5][4][2] = (TH1F *)hfile->Get("h_sumTSmaxAperLS7"); + HistNumBadChanDepth[5][4][1] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS6"); + HistNumBadChanDepth[5][4][2] = (TH1F *)dir->FindObjectAny("h_sumTSmaxAperLS7"); HistNumBadChanFull[5] = (TH1F *)HistNumBadChanDepth[5][1][1]->Clone(); - HistCutNumBadChanDepth[5][1][1] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS1"); - HistCutNumBadChanDepth[5][1][2] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS2"); + HistCutNumBadChanDepth[5][1][1] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS1"); + HistCutNumBadChanDepth[5][1][2] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS2"); - HistCutNumBadChanDepth[5][2][1] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS3"); - HistCutNumBadChanDepth[5][2][2] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS4"); - HistCutNumBadChanDepth[5][2][3] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS5"); + HistCutNumBadChanDepth[5][2][1] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS3"); + HistCutNumBadChanDepth[5][2][2] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS4"); + HistCutNumBadChanDepth[5][2][3] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS5"); - HistCutNumBadChanDepth[5][3][4] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS8"); + HistCutNumBadChanDepth[5][3][4] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS8"); - HistCutNumBadChanDepth[5][4][1] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS6"); - HistCutNumBadChanDepth[5][4][2] = (TH1F *)hfile->Get("h_sumCutTSmaxAperLS7"); + HistCutNumBadChanDepth[5][4][1] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS6"); + HistCutNumBadChanDepth[5][4][2] = (TH1F *)dir->FindObjectAny("h_sumCutTSmaxAperLS7"); - HistNumChanDepth[5][1][1] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS1"); - HistNumChanDepth[5][1][2] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS2"); + HistNumChanDepth[5][1][1] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS1"); + HistNumChanDepth[5][1][2] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS2"); - HistNumChanDepth[5][2][1] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS3"); - HistNumChanDepth[5][2][2] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS4"); - HistNumChanDepth[5][2][3] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS5"); + HistNumChanDepth[5][2][1] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS3"); + HistNumChanDepth[5][2][2] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS4"); + HistNumChanDepth[5][2][3] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS5"); - HistNumChanDepth[5][3][4] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS8"); + HistNumChanDepth[5][3][4] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS8"); - HistNumChanDepth[5][4][1] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS6"); - HistNumChanDepth[5][4][2] = (TH1F *)hfile->Get("h_sum0TSmaxAperLS7"); + HistNumChanDepth[5][4][1] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS6"); + HistNumChanDepth[5][4][2] = (TH1F *)dir->FindObjectAny("h_sum0TSmaxAperLS7"); HistNumChanFull[5] = (TH1F *)HistNumChanDepth[5][1][1]->Clone(); @@ -1588,14 +1593,14 @@ int main(int argc, char *argv[]) { // Abnormal Bad Channels Rate of Cap ID errors first set of histograms //+++++++++++++++++++++++++++++ - HistAbnormNumBadChanDepth[1][1] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth1_HB"); - HistAbnormNumBadChanDepth[1][2] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth2_HB"); - HistAbnormNumBadChanDepth[2][1] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth1_HE"); - HistAbnormNumBadChanDepth[2][2] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth2_HE"); - HistAbnormNumBadChanDepth[2][3] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth3_HE"); - HistAbnormNumBadChanDepth[3][4] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth4_HO"); - HistAbnormNumBadChanDepth[4][1] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth1_HF"); - HistAbnormNumBadChanDepth[4][2] = (TH1F *)hfile->Get("h_runnbadchannelsC_depth2_HF"); + HistAbnormNumBadChanDepth[1][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth1_HB"); + HistAbnormNumBadChanDepth[1][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth2_HB"); + HistAbnormNumBadChanDepth[2][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth1_HE"); + HistAbnormNumBadChanDepth[2][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth2_HE"); + HistAbnormNumBadChanDepth[2][3] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth3_HE"); + HistAbnormNumBadChanDepth[3][4] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth4_HO"); + HistAbnormNumBadChanDepth[4][1] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth1_HF"); + HistAbnormNumBadChanDepth[4][2] = (TH1F *)dir->FindObjectAny("h_runnbadchannelsC_depth2_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO if (sub == 1) @@ -1667,24 +1672,24 @@ int main(int argc, char *argv[]) { TH1F *HistPortBadEventsDepth[5][5]; // 1d histogramm for subdet, depth - HistPortBadEventsDepth[1][1] = (TH1F *)hfile->Get("h_runbadrateC_depth1_HB"); - HistPortBadEventsDepth[1][2] = (TH1F *)hfile->Get("h_runbadrateC_depth2_HB"); - HistPortBadEventsDepth[2][1] = (TH1F *)hfile->Get("h_runbadrateC_depth1_HE"); - HistPortBadEventsDepth[2][2] = (TH1F *)hfile->Get("h_runbadrateC_depth2_HE"); - HistPortBadEventsDepth[2][3] = (TH1F *)hfile->Get("h_runbadrateC_depth3_HE"); - HistPortBadEventsDepth[3][4] = (TH1F *)hfile->Get("h_runbadrateC_depth4_HO"); - HistPortBadEventsDepth[4][1] = (TH1F *)hfile->Get("h_runbadrateC_depth1_HF"); - HistPortBadEventsDepth[4][2] = (TH1F *)hfile->Get("h_runbadrateC_depth2_HF"); + HistPortBadEventsDepth[1][1] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth1_HB"); + HistPortBadEventsDepth[1][2] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth2_HB"); + HistPortBadEventsDepth[2][1] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth1_HE"); + HistPortBadEventsDepth[2][2] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth2_HE"); + HistPortBadEventsDepth[2][3] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth3_HE"); + HistPortBadEventsDepth[3][4] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth4_HO"); + HistPortBadEventsDepth[4][1] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth1_HF"); + HistPortBadEventsDepth[4][2] = (TH1F *)dir->FindObjectAny("h_runbadrateC_depth2_HF"); TH1F *HistNumRateDepth[5][5]; - HistNumRateDepth[1][1] = (TH1F *)hfile->Get("h_runbadrate0_depth1_HB"); - HistNumRateDepth[1][2] = (TH1F *)hfile->Get("h_runbadrate0_depth2_HB"); - HistNumRateDepth[2][1] = (TH1F *)hfile->Get("h_runbadrate0_depth1_HE"); - HistNumRateDepth[2][2] = (TH1F *)hfile->Get("h_runbadrate0_depth2_HE"); - HistNumRateDepth[2][3] = (TH1F *)hfile->Get("h_runbadrate0_depth3_HE"); - HistNumRateDepth[3][4] = (TH1F *)hfile->Get("h_runbadrate0_depth4_HO"); - HistNumRateDepth[4][1] = (TH1F *)hfile->Get("h_runbadrate0_depth1_HF"); - HistNumRateDepth[4][2] = (TH1F *)hfile->Get("h_runbadrate0_depth2_HF"); + HistNumRateDepth[1][1] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth1_HB"); + HistNumRateDepth[1][2] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth2_HB"); + HistNumRateDepth[2][1] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth1_HE"); + HistNumRateDepth[2][2] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth2_HE"); + HistNumRateDepth[2][3] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth3_HE"); + HistNumRateDepth[3][4] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth4_HO"); + HistNumRateDepth[4][1] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth1_HF"); + HistNumRateDepth[4][2] = (TH1F *)dir->FindObjectAny("h_runbadrate0_depth2_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO if (sub == 1) @@ -1758,14 +1763,14 @@ int main(int argc, char *argv[]) { TH1F *HistNBadChsDepth[5][5]; // 1d histogramm for subdet, depth - HistNBadChsDepth[1][1] = (TH1F *)hfile->Get("h_nbadchannels_depth1_HB"); - HistNBadChsDepth[1][2] = (TH1F *)hfile->Get("h_nbadchannels_depth2_HB"); - HistNBadChsDepth[2][1] = (TH1F *)hfile->Get("h_nbadchannels_depth1_HE"); - HistNBadChsDepth[2][2] = (TH1F *)hfile->Get("h_nbadchannels_depth2_HE"); - HistNBadChsDepth[2][3] = (TH1F *)hfile->Get("h_nbadchannels_depth3_HE"); - HistNBadChsDepth[3][4] = (TH1F *)hfile->Get("h_nbadchannels_depth4_HO"); - HistNBadChsDepth[4][1] = (TH1F *)hfile->Get("h_nbadchannels_depth1_HF"); - HistNBadChsDepth[4][2] = (TH1F *)hfile->Get("h_nbadchannels_depth2_HF"); + HistNBadChsDepth[1][1] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth1_HB"); + HistNBadChsDepth[1][2] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth2_HB"); + HistNBadChsDepth[2][1] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth1_HE"); + HistNBadChsDepth[2][2] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth2_HE"); + HistNBadChsDepth[2][3] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth3_HE"); + HistNBadChsDepth[3][4] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth4_HO"); + HistNBadChsDepth[4][1] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth1_HF"); + HistNBadChsDepth[4][2] = (TH1F *)dir->FindObjectAny("h_nbadchannels_depth2_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO if (sub == 1) @@ -1855,8 +1860,8 @@ int main(int argc, char *argv[]) { if (1) std::cout << "debugger: errA_HB : get histos for i=" << i << " " << hnames[i][0] << " and " << hnames[i][1] << "\n"; - TH1F *h1 = (TH1F *)hfile->Get(hnames[i][0]); - TH1F *h0 = (TH1F *)hfile->Get(hnames[i][1]); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hnames[i][0]); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hnames[i][1]); if (!h1 || !h0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -1986,8 +1991,8 @@ int main(int argc, char *argv[]) { TH2F *h2Cefz6 = NULL; TString hname1 = hnames[2 * depth - 2][0]; TString hname0 = hnames[2 * depth - 2][1]; - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (1) std::cout << "debugger: errB_HB depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!twod1 || !twod0) { @@ -2028,8 +2033,8 @@ int main(int argc, char *argv[]) { cHB->cd(2); hname1 = hnames[2 * depth - 1][0]; hname0 = hnames[2 * depth - 1][1]; - TH1F *h1 = (TH1F *)hfile->Get(hname1); - TH1F *h0 = (TH1F *)hfile->Get(hname0); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hname1); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hname0); if (1) std::cout << "errB_HB depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!h1 || !h0) { @@ -2132,8 +2137,8 @@ int main(int argc, char *argv[]) { if (1) std::cout << "debugger: errA_HE : get histos for i=" << i << " " << hnames[i][0] << " and " << hnames[i][1] << "\n"; - TH1F *h1 = (TH1F *)hfile->Get(hnames[i][0]); - TH1F *h0 = (TH1F *)hfile->Get(hnames[i][1]); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hnames[i][0]); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hnames[i][1]); if (!h1 || !h0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -2265,8 +2270,8 @@ int main(int argc, char *argv[]) { TH2F *h2Cefz6 = NULL; TString hname1 = hnames[2 * depth - 2][0]; TString hname0 = hnames[2 * depth - 2][1]; - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (1) std::cout << "debugger: errB_HE depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!twod1 || !twod0) { @@ -2307,8 +2312,8 @@ int main(int argc, char *argv[]) { cHB->cd(2); hname1 = hnames[2 * depth - 1][0]; hname0 = hnames[2 * depth - 1][1]; - TH1F *h1 = (TH1F *)hfile->Get(hname1); - TH1F *h0 = (TH1F *)hfile->Get(hname0); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hname1); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hname0); if (1) std::cout << "errB_HE depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!h1 || !h0) { @@ -2411,8 +2416,8 @@ int main(int argc, char *argv[]) { if (1) std::cout << "debugger: errA_HO : get histos for i=" << i << " " << hnames[i][0] << " and " << hnames[i][1] << "\n"; - TH1F *h1 = (TH1F *)hfile->Get(hnames[i][0]); - TH1F *h0 = (TH1F *)hfile->Get(hnames[i][1]); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hnames[i][0]); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hnames[i][1]); if (!h1 || !h0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -2540,8 +2545,8 @@ int main(int argc, char *argv[]) { TH2F *h2Cefz6 = NULL; TString hname1 = hnames[2 * depth - 8][0]; TString hname0 = hnames[2 * depth - 8][1]; - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (1) std::cout << "debugger: errB_HO depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!twod1 || !twod0) { @@ -2582,8 +2587,8 @@ int main(int argc, char *argv[]) { cHB->cd(2); hname1 = hnames[2 * depth - 7][0]; hname0 = hnames[2 * depth - 7][1]; - TH1F *h1 = (TH1F *)hfile->Get(hname1); - TH1F *h0 = (TH1F *)hfile->Get(hname0); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hname1); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hname0); if (1) std::cout << "errB_HO depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!h1 || !h0) { @@ -2685,8 +2690,8 @@ int main(int argc, char *argv[]) { if (1) std::cout << "debugger: errA_HF : get histos for i=" << i << " " << hnames[i][0] << " and " << hnames[i][1] << "\n"; - TH1F *h1 = (TH1F *)hfile->Get(hnames[i][0]); - TH1F *h0 = (TH1F *)hfile->Get(hnames[i][1]); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hnames[i][0]); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hnames[i][1]); if (!h1 || !h0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -2815,8 +2820,8 @@ int main(int argc, char *argv[]) { TH2F *h2Cefz6 = NULL; TString hname1 = hnames[2 * depth - 2][0]; TString hname0 = hnames[2 * depth - 2][1]; - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (1) std::cout << "debugger: errB_HF depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!twod1 || !twod0) { @@ -2855,8 +2860,8 @@ int main(int argc, char *argv[]) { cHB->cd(2); hname1 = hnames[2 * depth - 1][0]; hname0 = hnames[2 * depth - 1][1]; - TH1F *h1 = (TH1F *)hfile->Get(hname1); - TH1F *h0 = (TH1F *)hfile->Get(hname0); + TH1F *h1 = (TH1F *)dir->FindObjectAny(hname1); + TH1F *h0 = (TH1F *)dir->FindObjectAny(hname0); if (1) std::cout << "errB_HF depth=" << depth << ". get 2D histos " << hname1 << " and " << hname0 << "\n"; if (!h1 || !h0) { @@ -2942,8 +2947,8 @@ int main(int argc, char *argv[]) { // h_mapDepth1ADCAmpl_HB div h_mapDepth1_HB TString hname1 = Form("h_mapDepth%dADCAmpl_HB", depth); TString hname0 = Form("h_mapDepth%d_HB", depth); - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (!twod1 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3006,7 +3011,7 @@ int main(int argc, char *argv[]) { cHE->cd(3); TString hname3 = Form("h_mapDepth%dADCAmpl225Copy_HB", depth); - TH2F *twod3 = (TH2F *)hfile->Get(hname3); + TH2F *twod3 = (TH2F *)dir->FindObjectAny(hname3); if (!twod3 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3071,8 +3076,8 @@ int main(int argc, char *argv[]) { // h_mapDepth1ADCAmpl_HE div h_mapDepth1_HE TString hname1 = Form("h_mapDepth%dADCAmpl_HE", depth); TString hname0 = Form("h_mapDepth%d_HE", depth); - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (!twod1 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3135,7 +3140,7 @@ int main(int argc, char *argv[]) { cHE->cd(3); TString hname3 = Form("h_mapDepth%dADCAmpl225Copy_HE", depth); - TH2F *twod3 = (TH2F *)hfile->Get(hname3); + TH2F *twod3 = (TH2F *)dir->FindObjectAny(hname3); if (!twod3 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3200,8 +3205,8 @@ int main(int argc, char *argv[]) { // h_mapDepth1ADCAmpl_HO div h_mapDepth1_HO TString hname1 = Form("h_mapDepth%dADCAmpl_HO", depth); TString hname0 = Form("h_mapDepth%d_HO", depth); - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (!twod1 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3264,7 +3269,7 @@ int main(int argc, char *argv[]) { cHE->cd(3); TString hname3 = Form("h_mapDepth%dADCAmpl225Copy_HO", depth); - TH2F *twod3 = (TH2F *)hfile->Get(hname3); + TH2F *twod3 = (TH2F *)dir->FindObjectAny(hname3); if (!twod3 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3329,8 +3334,8 @@ int main(int argc, char *argv[]) { // h_mapDepth1ADCAmpl_HF div h_mapDepth1_HF TString hname1 = Form("h_mapDepth%dADCAmpl_HF", depth); TString hname0 = Form("h_mapDepth%d_HF", depth); - TH2F *twod1 = (TH2F *)hfile->Get(hname1); - TH2F *twod0 = (TH2F *)hfile->Get(hname0); + TH2F *twod1 = (TH2F *)dir->FindObjectAny(hname1); + TH2F *twod0 = (TH2F *)dir->FindObjectAny(hname0); if (!twod1 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3418,7 +3423,7 @@ int main(int argc, char *argv[]) { } */ TString hname3 = Form("h_mapDepth%dADCAmpl225Copy_HF", depth); - TH2F *twod3 = (TH2F *)hfile->Get(hname3); + TH2F *twod3 = (TH2F *)dir->FindObjectAny(hname3); if (!twod3 || !twod0) { TPaveText *ptext = new TPaveText(0.05, 0.85, 0.95, 0.95); ptext->AddText("Missing histo"); @@ -3484,7 +3489,7 @@ int main(int argc, char *argv[]) { // int njeta = 22; int njphi = 18; int lsmax=2600; int njeta = 22; int njphi = 18; - int lsmax = 2600; + int lsmax = 1800; cout << ">>>>>>>>>>>>>>>>>>>>>>>> int njeta = 22; int njphi = 18; int lsmax=2600; " << endl; @@ -3551,8 +3556,8 @@ HF: j = 0,1,2, 3 18,19,20,21 //====================================================================== //====================================================================== cout << " RBX general for HB **************************" << endl; - TH2F *Ghb1KKK = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs0"); - TH2F *Ghb1LLL = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs00"); + TH2F *Ghb1KKK = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs0"); + TH2F *Ghb1LLL = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs00"); TH2F *Ghb1 = (TH2F *)Ghb1LLL->Clone("Ghb1"); Ghb1->Divide(Ghb1KKK, Ghb1LLL, 1, 1, "B"); // average A // Ghb1->Sumw2(); @@ -4139,8 +4144,8 @@ HF: j = 0,1,2, 3 18,19,20,21 //====================================================================== //====================================================================== cout << " RBX general for HE **************************" << endl; - TH2F *Ghe1KKK = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs1"); - TH2F *Ghe1LLL = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs10"); + TH2F *Ghe1KKK = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs1"); + TH2F *Ghe1LLL = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs10"); TH2F *Ghe1 = (TH2F *)Ghe1LLL->Clone("Ghe1"); Ghe1->Divide(Ghe1KKK, Ghe1LLL, 1, 1, "B"); // average A // Ghe1->Sumw2(); @@ -4727,8 +4732,8 @@ HF: j = 0,1,2, 3 18,19,20,21 //====================================================================== //====================================================================== cout << " RBX general for HO **************************" << endl; - TH2F *Gho1KKK = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs2"); - TH2F *Gho1LLL = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs20"); + TH2F *Gho1KKK = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs2"); + TH2F *Gho1LLL = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs20"); TH2F *Gho1 = (TH2F *)Gho1LLL->Clone("Gho1"); Gho1->Divide(Gho1KKK, Gho1LLL, 1, 1, "B"); // average A // Gho1->Sumw2(); @@ -5316,8 +5321,8 @@ HF: j = 0,1,2, 3 18,19,20,21 //====================================================================== //====================================================================== cout << " RBX general for HF **************************" << endl; - TH2F *Ghf1KKK = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs3"); - TH2F *Ghf1LLL = (TH2F *)hfile->Get("h_2DsumADCAmplEtaPhiLs30"); + TH2F *Ghf1KKK = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs3"); + TH2F *Ghf1LLL = (TH2F *)dir->FindObjectAny("h_2DsumADCAmplEtaPhiLs30"); TH2F *Ghf1 = (TH2F *)Ghf1LLL->Clone("Ghf1"); Ghf1->Divide(Ghf1KKK, Ghf1LLL, 1, 1, "B"); // average A // Ghf1->Sumw2(); @@ -5900,7 +5905,7 @@ HF: j = 0,1,2, 3 18,19,20,21 cHB->Divide(2, 1); ///////// cHB->cd(1); - TH2F *occhbm = (TH2F *)hfile->Get("h_RatioOccupancy_HBM"); + TH2F *occhbm = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HBM"); TH1F *uyhbm = new TH1F("uyhbm", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhbm->GetXaxis()->GetNbins(); i++) { double ccc1 = occhbm->GetBinContent(i); @@ -5921,7 +5926,7 @@ HF: j = 0,1,2, 3 18,19,20,21 uyhbm->Draw("Error"); ///////// cHB->cd(2); - TH2F *occhbp = (TH2F *)hfile->Get("h_RatioOccupancy_HBP"); + TH2F *occhbp = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HBP"); TH1F *uyhbp = new TH1F("uyhbp", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhbp->GetXaxis()->GetNbins(); i++) { double ccc1 = occhbp->GetBinContent(i); @@ -5964,7 +5969,7 @@ HF: j = 0,1,2, 3 18,19,20,21 cHB->Divide(2, 1); ///////// cHB->cd(1); - TH2F *occhem = (TH2F *)hfile->Get("h_RatioOccupancy_HEM"); + TH2F *occhem = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HEM"); TH1F *uyhem = new TH1F("uyhem", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhem->GetXaxis()->GetNbins(); i++) { double ccc1 = occhem->GetBinContent(i); @@ -5985,7 +5990,7 @@ HF: j = 0,1,2, 3 18,19,20,21 uyhem->Draw("Error"); ///////// cHB->cd(2); - TH2F *occhep = (TH2F *)hfile->Get("h_RatioOccupancy_HEP"); + TH2F *occhep = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HEP"); TH1F *uyhep = new TH1F("uyhep", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhep->GetXaxis()->GetNbins(); i++) { double ccc1 = occhep->GetBinContent(i); @@ -6028,7 +6033,7 @@ HF: j = 0,1,2, 3 18,19,20,21 cHB->Divide(2, 1); ///////// cHB->cd(1); - TH2F *occhom = (TH2F *)hfile->Get("h_RatioOccupancy_HOM"); + TH2F *occhom = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HOM"); TH1F *uyhom = new TH1F("uyhom", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhom->GetXaxis()->GetNbins(); i++) { double ccc1 = occhom->GetBinContent(i); @@ -6049,7 +6054,7 @@ HF: j = 0,1,2, 3 18,19,20,21 uyhom->Draw("Error"); ///////// cHB->cd(2); - TH2F *occhop = (TH2F *)hfile->Get("h_RatioOccupancy_HOP"); + TH2F *occhop = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HOP"); TH1F *uyhop = new TH1F("uyhop", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhop->GetXaxis()->GetNbins(); i++) { double ccc1 = occhop->GetBinContent(i); @@ -6092,7 +6097,7 @@ HF: j = 0,1,2, 3 18,19,20,21 cHB->Divide(2, 1); ///////// cHB->cd(1); - TH2F *occhfm = (TH2F *)hfile->Get("h_RatioOccupancy_HFM"); + TH2F *occhfm = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HFM"); TH1F *uyhfm = new TH1F("uyhfm", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhfm->GetXaxis()->GetNbins(); i++) { double ccc1 = occhfm->GetBinContent(i); @@ -6113,7 +6118,7 @@ HF: j = 0,1,2, 3 18,19,20,21 uyhfm->Draw("Error"); ///////// cHB->cd(2); - TH2F *occhfp = (TH2F *)hfile->Get("h_RatioOccupancy_HFP"); + TH2F *occhfp = (TH2F *)dir->FindObjectAny("h_RatioOccupancy_HFP"); TH1F *uyhfp = new TH1F("uyhfp", "", mymaxbins, 1., mymaxbins + 1.); for (int i = 1; i <= occhfp->GetXaxis()->GetNbins(); i++) { double ccc1 = occhfp->GetBinContent(i); @@ -6160,15 +6165,15 @@ HF: j = 0,1,2, 3 18,19,20,21 int maxbins = MaxLum; cout << ">>>> maxbins = " << maxbins << endl; TH1F *SummedAmplitudeHisto[4]; // 1d histogramm for subdet - SummedAmplitudeHisto[0] = (TH1F *)hfile->Get("h_averSIGNALsumamplitude_HB"); - SummedAmplitudeHisto[1] = (TH1F *)hfile->Get("h_averSIGNALsumamplitude_HE"); - SummedAmplitudeHisto[2] = (TH1F *)hfile->Get("h_averSIGNALsumamplitude_HO"); - SummedAmplitudeHisto[3] = (TH1F *)hfile->Get("h_averSIGNALsumamplitude_HF"); + SummedAmplitudeHisto[0] = (TH1F *)dir->FindObjectAny("h_averSIGNALsumamplitude_HB"); + SummedAmplitudeHisto[1] = (TH1F *)dir->FindObjectAny("h_averSIGNALsumamplitude_HE"); + SummedAmplitudeHisto[2] = (TH1F *)dir->FindObjectAny("h_averSIGNALsumamplitude_HO"); + SummedAmplitudeHisto[3] = (TH1F *)dir->FindObjectAny("h_averSIGNALsumamplitude_HF"); TH1F *SummedAmplitudeOccupancyHisto[4]; // 1d histogramm for subdet - SummedAmplitudeOccupancyHisto[0] = (TH1F *)hfile->Get("h_averSIGNALoccupancy_HB"); - SummedAmplitudeOccupancyHisto[1] = (TH1F *)hfile->Get("h_averSIGNALoccupancy_HE"); - SummedAmplitudeOccupancyHisto[2] = (TH1F *)hfile->Get("h_averSIGNALoccupancy_HO"); - SummedAmplitudeOccupancyHisto[3] = (TH1F *)hfile->Get("h_averSIGNALoccupancy_HF"); + SummedAmplitudeOccupancyHisto[0] = (TH1F *)dir->FindObjectAny("h_averSIGNALoccupancy_HB"); + SummedAmplitudeOccupancyHisto[1] = (TH1F *)dir->FindObjectAny("h_averSIGNALoccupancy_HE"); + SummedAmplitudeOccupancyHisto[2] = (TH1F *)dir->FindObjectAny("h_averSIGNALoccupancy_HO"); + SummedAmplitudeOccupancyHisto[3] = (TH1F *)dir->FindObjectAny("h_averSIGNALoccupancy_HF"); for (int sub = 0; sub < 4; sub++) { cHE->Clear(); cHE->Divide(2, 1); @@ -6237,15 +6242,15 @@ HF: j = 0,1,2, 3 18,19,20,21 //************************* ***** NoSignal ***** cout << ">>>>>>>>>>>>>>>>>>>>>>>>start Summed Amplitude Plots NoSignal " << endl; TH1F *NoSignalSummedAmplitudeHisto[4]; // 1d histogramm for subdet - NoSignalSummedAmplitudeHisto[0] = (TH1F *)hfile->Get("h_averNOSIGNALsumamplitude_HB"); - NoSignalSummedAmplitudeHisto[1] = (TH1F *)hfile->Get("h_averNOSIGNALsumamplitude_HE"); - NoSignalSummedAmplitudeHisto[2] = (TH1F *)hfile->Get("h_averNOSIGNALsumamplitude_HO"); - NoSignalSummedAmplitudeHisto[3] = (TH1F *)hfile->Get("h_averNOSIGNALsumamplitude_HF"); + NoSignalSummedAmplitudeHisto[0] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALsumamplitude_HB"); + NoSignalSummedAmplitudeHisto[1] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALsumamplitude_HE"); + NoSignalSummedAmplitudeHisto[2] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALsumamplitude_HO"); + NoSignalSummedAmplitudeHisto[3] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALsumamplitude_HF"); TH1F *NoSignalSummedAmplitudeOccupancyHisto[4]; // 1d histogramm for subdet - NoSignalSummedAmplitudeOccupancyHisto[0] = (TH1F *)hfile->Get("h_averNOSIGNALoccupancy_HB"); - NoSignalSummedAmplitudeOccupancyHisto[1] = (TH1F *)hfile->Get("h_averNOSIGNALoccupancy_HE"); - NoSignalSummedAmplitudeOccupancyHisto[2] = (TH1F *)hfile->Get("h_averNOSIGNALoccupancy_HO"); - NoSignalSummedAmplitudeOccupancyHisto[3] = (TH1F *)hfile->Get("h_averNOSIGNALoccupancy_HF"); + NoSignalSummedAmplitudeOccupancyHisto[0] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALoccupancy_HB"); + NoSignalSummedAmplitudeOccupancyHisto[1] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALoccupancy_HE"); + NoSignalSummedAmplitudeOccupancyHisto[2] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALoccupancy_HO"); + NoSignalSummedAmplitudeOccupancyHisto[3] = (TH1F *)dir->FindObjectAny("h_averNOSIGNALoccupancy_HF"); for (int sub = 0; sub < 4; sub++) { cHE->Clear(); cHE->Divide(2, 1); @@ -6339,25 +6344,25 @@ HF: j = 0,1,2, 3 18,19,20,21 //************************* ***** MaxxValues ***** cout << ">>>>>>>>>>>>>>>>>>>>>>>>start Summed Amplitude Plots Maxx " << endl; TH1F *MaxxSummedAmplitudeHisto[4]; // 1d histogramm for subdet - MaxxSummedAmplitudeHisto[0] = (TH1F *)hfile->Get("h_maxxSUMAmpl_HB"); - MaxxSummedAmplitudeHisto[1] = (TH1F *)hfile->Get("h_maxxSUMAmpl_HE"); - MaxxSummedAmplitudeHisto[2] = (TH1F *)hfile->Get("h_maxxSUMAmpl_HO"); - MaxxSummedAmplitudeHisto[3] = (TH1F *)hfile->Get("h_maxxSUMAmpl_HF"); + MaxxSummedAmplitudeHisto[0] = (TH1F *)dir->FindObjectAny("h_maxxSUMAmpl_HB"); + MaxxSummedAmplitudeHisto[1] = (TH1F *)dir->FindObjectAny("h_maxxSUMAmpl_HE"); + MaxxSummedAmplitudeHisto[2] = (TH1F *)dir->FindObjectAny("h_maxxSUMAmpl_HO"); + MaxxSummedAmplitudeHisto[3] = (TH1F *)dir->FindObjectAny("h_maxxSUMAmpl_HF"); TH1F *MaxxSummedAmplitudeOccupancyHisto[4]; // 1d histogramm for subdet - MaxxSummedAmplitudeOccupancyHisto[0] = (TH1F *)hfile->Get("h_maxxOCCUP_HB"); - MaxxSummedAmplitudeOccupancyHisto[1] = (TH1F *)hfile->Get("h_maxxOCCUP_HE"); - MaxxSummedAmplitudeOccupancyHisto[2] = (TH1F *)hfile->Get("h_maxxOCCUP_HO"); - MaxxSummedAmplitudeOccupancyHisto[3] = (TH1F *)hfile->Get("h_maxxOCCUP_HF"); + MaxxSummedAmplitudeOccupancyHisto[0] = (TH1F *)dir->FindObjectAny("h_maxxOCCUP_HB"); + MaxxSummedAmplitudeOccupancyHisto[1] = (TH1F *)dir->FindObjectAny("h_maxxOCCUP_HE"); + MaxxSummedAmplitudeOccupancyHisto[2] = (TH1F *)dir->FindObjectAny("h_maxxOCCUP_HO"); + MaxxSummedAmplitudeOccupancyHisto[3] = (TH1F *)dir->FindObjectAny("h_maxxOCCUP_HF"); TH1F *SAmplitudeHisto[4]; // 1d histogramm for subdet - SAmplitudeHisto[0] = (TH1F *)hfile->Get("h_eventamplitude_HB"); - SAmplitudeHisto[1] = (TH1F *)hfile->Get("h_eventamplitude_HE"); - SAmplitudeHisto[2] = (TH1F *)hfile->Get("h_eventamplitude_HO"); - SAmplitudeHisto[3] = (TH1F *)hfile->Get("h_eventamplitude_HF"); + SAmplitudeHisto[0] = (TH1F *)dir->FindObjectAny("h_eventamplitude_HB"); + SAmplitudeHisto[1] = (TH1F *)dir->FindObjectAny("h_eventamplitude_HE"); + SAmplitudeHisto[2] = (TH1F *)dir->FindObjectAny("h_eventamplitude_HO"); + SAmplitudeHisto[3] = (TH1F *)dir->FindObjectAny("h_eventamplitude_HF"); TH1F *OccupancyHisto[4]; // 1d histogramm for subdet - OccupancyHisto[0] = (TH1F *)hfile->Get("h_eventoccupancy_HB"); - OccupancyHisto[1] = (TH1F *)hfile->Get("h_eventoccupancy_HE"); - OccupancyHisto[2] = (TH1F *)hfile->Get("h_eventoccupancy_HO"); - OccupancyHisto[3] = (TH1F *)hfile->Get("h_eventoccupancy_HF"); + OccupancyHisto[0] = (TH1F *)dir->FindObjectAny("h_eventoccupancy_HB"); + OccupancyHisto[1] = (TH1F *)dir->FindObjectAny("h_eventoccupancy_HE"); + OccupancyHisto[2] = (TH1F *)dir->FindObjectAny("h_eventoccupancy_HO"); + OccupancyHisto[3] = (TH1F *)dir->FindObjectAny("h_eventoccupancy_HF"); int countamplmaxHB = 0; int countamplmaxHE = 0; @@ -6551,10 +6556,10 @@ HF: j = 0,1,2, 3 18,19,20,21 //************************* ***** channelsummedA over depths ***** cout << ">>>>>>>>>>>>>>>>>>>>>>>>channelsummedA over depths " << endl; TH1F *ChannelDepthsummedAmplitudesPlots[4]; // 1d histogramm for subdet - ChannelDepthsummedAmplitudesPlots[0] = (TH1F *)hfile->Get("h_sumamplitudechannel_HB"); - ChannelDepthsummedAmplitudesPlots[1] = (TH1F *)hfile->Get("h_sumamplitudechannel_HE"); - ChannelDepthsummedAmplitudesPlots[2] = (TH1F *)hfile->Get("h_sumamplitudechannel_HO"); - ChannelDepthsummedAmplitudesPlots[3] = (TH1F *)hfile->Get("h_sumamplitudechannel_HF"); + ChannelDepthsummedAmplitudesPlots[0] = (TH1F *)dir->FindObjectAny("h_sumamplitudechannel_HB"); + ChannelDepthsummedAmplitudesPlots[1] = (TH1F *)dir->FindObjectAny("h_sumamplitudechannel_HE"); + ChannelDepthsummedAmplitudesPlots[2] = (TH1F *)dir->FindObjectAny("h_sumamplitudechannel_HO"); + ChannelDepthsummedAmplitudesPlots[3] = (TH1F *)dir->FindObjectAny("h_sumamplitudechannel_HF"); TLine *litebdt[4]; if (ChannelDepthsummedAmplitudesPlots[0]) litebdt[0] = new TLine(80., 0.8, 80., ChannelDepthsummedAmplitudesPlots[0]->GetBinContent(4) + 100.); @@ -6616,8 +6621,8 @@ HF: j = 0,1,2, 3 18,19,20,21 cHB->Divide(2, 1); TH2F *DAtaildepth1[2]; // 1d histogramm for subdet - DAtaildepth1[0] = (TH2F *)hfile->Get("h_2DAtaildepth1_HB"); - DAtaildepth1[1] = (TH2F *)hfile->Get("h_2D0Ataildepth1_HB"); + DAtaildepth1[0] = (TH2F *)dir->FindObjectAny("h_2DAtaildepth1_HB"); + DAtaildepth1[1] = (TH2F *)dir->FindObjectAny("h_2D0Ataildepth1_HB"); cHB->cd(1); if (!DAtaildepth1[0] || !DAtaildepth1[1]) { cout << ">>>>>>>>>>>>>>>>>>>>>>>>Ataildepth1_HB EMPTY histoes for 2DAtaildepth 1" << endl; @@ -6639,8 +6644,8 @@ HF: j = 0,1,2, 3 18,19,20,21 tail1->Draw("COLZ"); } TH2F *DAtaildepth2[2]; // 1d histogramm for subdet - DAtaildepth2[0] = (TH2F *)hfile->Get("h_2DAtaildepth2_HB"); - DAtaildepth2[1] = (TH2F *)hfile->Get("h_2D0Ataildepth2_HB"); + DAtaildepth2[0] = (TH2F *)dir->FindObjectAny("h_2DAtaildepth2_HB"); + DAtaildepth2[1] = (TH2F *)dir->FindObjectAny("h_2D0Ataildepth2_HB"); cHB->cd(2); if (!DAtaildepth2[0] || !DAtaildepth2[1]) { cout << ">>>>>>>>>>>>>>>>>>>>>>>>Ataildepth1_HB EMPTY histoes for 2DAtaildepth 2" << endl; diff --git a/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringMAP_Global.cc b/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringMAP_Global.cc index d5e2a8a36c7be..7d90191c7ad97 100644 --- a/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringMAP_Global.cc +++ b/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringMAP_Global.cc @@ -3,7 +3,7 @@ //root -b -q -l 'RemoteMonitoringMAP.C+("/afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/RDMweb/histos/LED_214513.root","/afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/RDMweb/histos/LED_214512.root")' //root -b -q -l 'RemoteMonitoringMAP.C+(" /afs/cern.ch/work/d/dtlisov/private/Monitoring/histos/LED_211659.root","/afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/RDMweb/histos/LED_214512.root")' // -// HistBadTSshapesHF.pn 0. Entries for each channel. MapRateEntryHF.png +// // #include "LogEleMapdb.h" @@ -33,6 +33,7 @@ using namespace std; //inline void HERE(const char *msg) { std::cout << msg << std::endl; } int main(int argc, char *argv[]) { + std::string dirnm = "Analyzer"; gROOT->Reset(); gROOT->SetStyle("Plain"); gStyle->SetOptStat(0); @@ -62,7 +63,9 @@ int main(int argc, char *argv[]) { refrunnumber += refname[i]; TFile *hfile = new TFile(fname, "READ"); - TFile *hreffile = new TFile(refname, "READ"); + hfile->ls(); + TDirectory *dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str()); + //TFile *hreffile = new TFile(refname, "READ"); //megatile channels //CUTS: [test][subdetector] CapID(Test=1; ADC amplitude Am(Test= 2); Width for Wm(Test=3); Ratio cut for Rm(Test=4); TS mean for TNm(test=5); TS max for TXm(Test=6); double MIN_M[7][5] = {{0., 0., 0., 0., 0.}, @@ -99,6 +102,7 @@ int main(int argc, char *argv[]) { // double porog[5] = {0., 200., 200., 100., 100.}; // Cut for GS test in pro cents double Pedest[2][5] = {{0., 0.2, 0.9, 0.1, 0.2}, {0., 0.2, 0.2, 0.1, 0.16}}; //Cuts for Pedestal and pedestal Width //====================================================================== + // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny //====================================================================== // Prepare histograms and plot them to .png files @@ -156,39 +160,39 @@ int main(int argc, char *argv[]) { TH1F *hist_SumADC0[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 TH1F *hist_SumADC1[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 - Map_SUB[1][1] = (TH2F *)hfile->Get("h_mapDepth1_HB"); - Map_SUB[1][2] = (TH2F *)hfile->Get("h_mapDepth2_HB"); - Map_SUB[1][3] = (TH2F *)hfile->Get("h_mapDepth3_HB"); - Map_SUB[1][4] = (TH2F *)hfile->Get("h_mapDepth4_HB"); - Map_SUB[2][1] = (TH2F *)hfile->Get("h_mapDepth1_HE"); - Map_SUB[2][2] = (TH2F *)hfile->Get("h_mapDepth2_HE"); - Map_SUB[2][3] = (TH2F *)hfile->Get("h_mapDepth3_HE"); - Map_SUB[2][4] = (TH2F *)hfile->Get("h_mapDepth4_HE"); - Map_SUB[2][5] = (TH2F *)hfile->Get("h_mapDepth5_HE"); - Map_SUB[2][6] = (TH2F *)hfile->Get("h_mapDepth6_HE"); - Map_SUB[2][7] = (TH2F *)hfile->Get("h_mapDepth7_HE"); - Map_SUB[3][4] = (TH2F *)hfile->Get("h_mapDepth4_HO"); - Map_SUB[4][1] = (TH2F *)hfile->Get("h_mapDepth1_HF"); - Map_SUB[4][2] = (TH2F *)hfile->Get("h_mapDepth2_HF"); - Map_SUB[4][3] = (TH2F *)hfile->Get("h_mapDepth3_HF"); - Map_SUB[4][4] = (TH2F *)hfile->Get("h_mapDepth4_HF"); - - Map_SUBGOOD[1][1] = (TH2F *)hfile->Get("h_mapDepth1_HB"); - Map_SUBGOOD[1][2] = (TH2F *)hfile->Get("h_mapDepth2_HB"); - Map_SUBGOOD[1][3] = (TH2F *)hfile->Get("h_mapDepth3_HB"); - Map_SUBGOOD[1][4] = (TH2F *)hfile->Get("h_mapDepth4_HB"); - Map_SUBGOOD[2][1] = (TH2F *)hfile->Get("h_mapDepth1_HE"); - Map_SUBGOOD[2][2] = (TH2F *)hfile->Get("h_mapDepth2_HE"); - Map_SUBGOOD[2][3] = (TH2F *)hfile->Get("h_mapDepth3_HE"); - Map_SUBGOOD[2][4] = (TH2F *)hfile->Get("h_mapDepth4_HE"); - Map_SUBGOOD[2][5] = (TH2F *)hfile->Get("h_mapDepth5_HE"); - Map_SUBGOOD[2][6] = (TH2F *)hfile->Get("h_mapDepth6_HE"); - Map_SUBGOOD[2][7] = (TH2F *)hfile->Get("h_mapDepth7_HE"); - Map_SUBGOOD[3][4] = (TH2F *)hfile->Get("h_mapDepth4_HO"); - Map_SUBGOOD[4][1] = (TH2F *)hfile->Get("h_mapDepth1_HF"); - Map_SUBGOOD[4][2] = (TH2F *)hfile->Get("h_mapDepth2_HF"); - Map_SUBGOOD[4][3] = (TH2F *)hfile->Get("h_mapDepth3_HF"); - Map_SUBGOOD[4][4] = (TH2F *)hfile->Get("h_mapDepth4_HF"); + Map_SUB[1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HB"); + Map_SUB[1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HB"); + Map_SUB[1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HB"); + Map_SUB[1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HB"); + Map_SUB[2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HE"); + Map_SUB[2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HE"); + Map_SUB[2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HE"); + Map_SUB[2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HE"); + Map_SUB[2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5_HE"); + Map_SUB[2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6_HE"); + Map_SUB[2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7_HE"); + Map_SUB[3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HO"); + Map_SUB[4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HF"); + Map_SUB[4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HF"); + Map_SUB[4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HF"); + Map_SUB[4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HF"); + + Map_SUBGOOD[1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HB"); + Map_SUBGOOD[1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HB"); + Map_SUBGOOD[1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HB"); + Map_SUBGOOD[1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HB"); + Map_SUBGOOD[2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HE"); + Map_SUBGOOD[2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HE"); + Map_SUBGOOD[2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HE"); + Map_SUBGOOD[2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HE"); + Map_SUBGOOD[2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5_HE"); + Map_SUBGOOD[2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6_HE"); + Map_SUBGOOD[2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7_HE"); + Map_SUBGOOD[3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HO"); + Map_SUBGOOD[4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HF"); + Map_SUBGOOD[4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HF"); + Map_SUBGOOD[4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HF"); + Map_SUBGOOD[4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HF"); //+++++++++++++++++++++++++++++ //Test 0 Entries @@ -278,24 +282,24 @@ int main(int argc, char *argv[]) { //Test 1 (Cm) Rate of Cap ID errors //+++++++++++++++++++++++++++++ - Map_Ampl[1][1][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HB"); - Map_Ampl[1][1][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HB"); - Map_Ampl[1][2][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HE"); - Map_Ampl[1][2][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HE"); - Map_Ampl[1][2][3] = (TH2F *)hfile->Get("h_mapDepth3Error_HE"); - Map_Ampl[1][3][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HO"); - Map_Ampl[1][4][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HF"); - Map_Ampl[1][4][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HF"); - - Map_Ampl[1][2][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HE"); - Map_Ampl[1][2][5] = (TH2F *)hfile->Get("h_mapDepth5Error_HE"); - Map_Ampl[1][2][6] = (TH2F *)hfile->Get("h_mapDepth6Error_HE"); - Map_Ampl[1][2][7] = (TH2F *)hfile->Get("h_mapDepth7Error_HE"); - Map_Ampl[1][4][3] = (TH2F *)hfile->Get("h_mapDepth3Error_HF"); - Map_Ampl[1][4][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HF"); - - Map_Ampl[1][1][3] = (TH2F *)hfile->Get("h_mapDepth3Error_HB"); - Map_Ampl[1][1][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HB"); + Map_Ampl[1][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HB"); + Map_Ampl[1][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HB"); + Map_Ampl[1][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HE"); + Map_Ampl[1][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HE"); + Map_Ampl[1][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Error_HE"); + Map_Ampl[1][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HO"); + Map_Ampl[1][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HF"); + Map_Ampl[1][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HF"); + + Map_Ampl[1][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HE"); + Map_Ampl[1][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5Error_HE"); + Map_Ampl[1][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6Error_HE"); + Map_Ampl[1][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7Error_HE"); + Map_Ampl[1][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Error_HF"); + Map_Ampl[1][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HF"); + + Map_Ampl[1][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Error_HB"); + Map_Ampl[1][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HB"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO // if (sub==1) cHB->Divide(2,1); @@ -382,141 +386,141 @@ int main(int argc, char *argv[]) { //Test 2 (Am) ADC amplitude //+++++++++++++++++++++++++++++ - Map_Ampl[2][1][1] = (TH2F *)hfile->Get("h_mapDepth1ADCAmpl225_HB"); - Map_Ampl[2][1][2] = (TH2F *)hfile->Get("h_mapDepth2ADCAmpl225_HB"); - Map_Ampl[2][2][1] = (TH2F *)hfile->Get("h_mapDepth1ADCAmpl225_HE"); - Map_Ampl[2][2][2] = (TH2F *)hfile->Get("h_mapDepth2ADCAmpl225_HE"); - Map_Ampl[2][2][3] = (TH2F *)hfile->Get("h_mapDepth3ADCAmpl225_HE"); - Map_Ampl[2][3][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HO"); - Map_Ampl[2][4][1] = (TH2F *)hfile->Get("h_mapDepth1ADCAmpl225_HF"); - Map_Ampl[2][4][2] = (TH2F *)hfile->Get("h_mapDepth2ADCAmpl225_HF"); - - Map_Ampl[2][2][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HE"); - Map_Ampl[2][2][5] = (TH2F *)hfile->Get("h_mapDepth5ADCAmpl225_HE"); - Map_Ampl[2][2][6] = (TH2F *)hfile->Get("h_mapDepth6ADCAmpl225_HE"); - Map_Ampl[2][2][7] = (TH2F *)hfile->Get("h_mapDepth7ADCAmpl225_HE"); - Map_Ampl[2][4][3] = (TH2F *)hfile->Get("h_mapDepth3ADCAmpl225_HF"); - Map_Ampl[2][4][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HF"); - - Map_Ampl[2][1][3] = (TH2F *)hfile->Get("h_mapDepth3ADCAmpl225_HB"); - Map_Ampl[2][1][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HB"); - - HistAmpl[2][1] = (TH1F *)hfile->Get("h_ADCAmpl_HB"); - HistAmpl[2][2] = (TH1F *)hfile->Get("h_ADCAmpl_HE"); - HistAmpl[2][3] = (TH1F *)hfile->Get("h_ADCAmpl_HO"); - HistAmpl[2][4] = (TH1F *)hfile->Get("h_ADCAmpl_HF"); + Map_Ampl[2][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HB"); + Map_Ampl[2][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HB"); + Map_Ampl[2][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HE"); + Map_Ampl[2][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HE"); + Map_Ampl[2][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HE"); + Map_Ampl[2][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HO"); + Map_Ampl[2][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HF"); + Map_Ampl[2][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HF"); + + Map_Ampl[2][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HE"); + Map_Ampl[2][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5ADCAmpl225_HE"); + Map_Ampl[2][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6ADCAmpl225_HE"); + Map_Ampl[2][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7ADCAmpl225_HE"); + Map_Ampl[2][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HF"); + Map_Ampl[2][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HF"); + + Map_Ampl[2][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HB"); + Map_Ampl[2][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HB"); + + HistAmpl[2][1] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HB"); + HistAmpl[2][2] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HE"); + HistAmpl[2][3] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HO"); + HistAmpl[2][4] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HF"); //+++++++++++++++++++++++++++++ //Test 3 (Wm) Rate of RMS //+++++++++++++++++++++++++++++ - Map_Ampl[3][1][1] = (TH2F *)hfile->Get("h_mapDepth1Amplitude225_HB"); - Map_Ampl[3][1][2] = (TH2F *)hfile->Get("h_mapDepth2Amplitude225_HB"); - Map_Ampl[3][2][1] = (TH2F *)hfile->Get("h_mapDepth1Amplitude225_HE"); - Map_Ampl[3][2][2] = (TH2F *)hfile->Get("h_mapDepth2Amplitude225_HE"); - Map_Ampl[3][2][3] = (TH2F *)hfile->Get("h_mapDepth3Amplitude225_HE"); - Map_Ampl[3][3][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HO"); - Map_Ampl[3][4][1] = (TH2F *)hfile->Get("h_mapDepth1Amplitude225_HF"); - Map_Ampl[3][4][2] = (TH2F *)hfile->Get("h_mapDepth2Amplitude225_HF"); - - Map_Ampl[3][2][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HE"); - Map_Ampl[3][2][5] = (TH2F *)hfile->Get("h_mapDepth5Amplitude225_HE"); - Map_Ampl[3][2][6] = (TH2F *)hfile->Get("h_mapDepth6Amplitude225_HE"); - Map_Ampl[3][2][7] = (TH2F *)hfile->Get("h_mapDepth7Amplitude225_HE"); - Map_Ampl[3][4][3] = (TH2F *)hfile->Get("h_mapDepth3Amplitude225_HF"); - Map_Ampl[3][4][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HF"); - - Map_Ampl[3][1][3] = (TH2F *)hfile->Get("h_mapDepth3Amplitude225_HB"); - Map_Ampl[3][1][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HB"); - - HistAmpl[3][1] = (TH1F *)hfile->Get("h_Amplitude_HB"); - HistAmpl[3][2] = (TH1F *)hfile->Get("h_Amplitude_HE"); - HistAmpl[3][3] = (TH1F *)hfile->Get("h_Amplitude_HO"); - HistAmpl[3][4] = (TH1F *)hfile->Get("h_Amplitude_HF"); + Map_Ampl[3][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Amplitude225_HB"); + Map_Ampl[3][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Amplitude225_HB"); + Map_Ampl[3][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Amplitude225_HE"); + Map_Ampl[3][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Amplitude225_HE"); + Map_Ampl[3][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Amplitude225_HE"); + Map_Ampl[3][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HO"); + Map_Ampl[3][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Amplitude225_HF"); + Map_Ampl[3][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Amplitude225_HF"); + + Map_Ampl[3][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HE"); + Map_Ampl[3][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5Amplitude225_HE"); + Map_Ampl[3][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6Amplitude225_HE"); + Map_Ampl[3][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7Amplitude225_HE"); + Map_Ampl[3][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Amplitude225_HF"); + Map_Ampl[3][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HF"); + + Map_Ampl[3][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Amplitude225_HB"); + Map_Ampl[3][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HB"); + + HistAmpl[3][1] = (TH1F *)dir->FindObjectAny("h_Amplitude_HB"); + HistAmpl[3][2] = (TH1F *)dir->FindObjectAny("h_Amplitude_HE"); + HistAmpl[3][3] = (TH1F *)dir->FindObjectAny("h_Amplitude_HO"); + HistAmpl[3][4] = (TH1F *)dir->FindObjectAny("h_Amplitude_HF"); //+++++++++++++++++++++++++++++ //Test 4 (Rm) Rate of ratio 4 near max TS/ All TS //+++++++++++++++++++++++++++++ - Map_Ampl[4][1][1] = (TH2F *)hfile->Get("h_mapDepth1Ampl047_HB"); - Map_Ampl[4][1][2] = (TH2F *)hfile->Get("h_mapDepth2Ampl047_HB"); - Map_Ampl[4][2][1] = (TH2F *)hfile->Get("h_mapDepth1Ampl047_HE"); - Map_Ampl[4][2][2] = (TH2F *)hfile->Get("h_mapDepth2Ampl047_HE"); - Map_Ampl[4][2][3] = (TH2F *)hfile->Get("h_mapDepth3Ampl047_HE"); - Map_Ampl[4][3][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HO"); - Map_Ampl[4][4][1] = (TH2F *)hfile->Get("h_mapDepth1Ampl047_HF"); - Map_Ampl[4][4][2] = (TH2F *)hfile->Get("h_mapDepth2Ampl047_HF"); - - Map_Ampl[4][2][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HE"); - Map_Ampl[4][2][5] = (TH2F *)hfile->Get("h_mapDepth5Ampl047_HE"); - Map_Ampl[4][2][6] = (TH2F *)hfile->Get("h_mapDepth6Ampl047_HE"); - Map_Ampl[4][2][7] = (TH2F *)hfile->Get("h_mapDepth7Ampl047_HE"); - Map_Ampl[4][4][3] = (TH2F *)hfile->Get("h_mapDepth3Ampl047_HF"); - Map_Ampl[4][4][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HF"); - - Map_Ampl[4][1][3] = (TH2F *)hfile->Get("h_mapDepth3Ampl047_HB"); - Map_Ampl[4][1][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HB"); - - HistAmpl[4][1] = (TH1F *)hfile->Get("h_Ampl_HB"); - HistAmpl[4][2] = (TH1F *)hfile->Get("h_Ampl_HE"); - HistAmpl[4][3] = (TH1F *)hfile->Get("h_Ampl_HO"); - HistAmpl[4][4] = (TH1F *)hfile->Get("h_Ampl_HF"); + Map_Ampl[4][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Ampl047_HB"); + Map_Ampl[4][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Ampl047_HB"); + Map_Ampl[4][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Ampl047_HE"); + Map_Ampl[4][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Ampl047_HE"); + Map_Ampl[4][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Ampl047_HE"); + Map_Ampl[4][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HO"); + Map_Ampl[4][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Ampl047_HF"); + Map_Ampl[4][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Ampl047_HF"); + + Map_Ampl[4][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HE"); + Map_Ampl[4][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5Ampl047_HE"); + Map_Ampl[4][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6Ampl047_HE"); + Map_Ampl[4][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7Ampl047_HE"); + Map_Ampl[4][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Ampl047_HF"); + Map_Ampl[4][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HF"); + + Map_Ampl[4][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Ampl047_HB"); + Map_Ampl[4][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HB"); + + HistAmpl[4][1] = (TH1F *)dir->FindObjectAny("h_Ampl_HB"); + HistAmpl[4][2] = (TH1F *)dir->FindObjectAny("h_Ampl_HE"); + HistAmpl[4][3] = (TH1F *)dir->FindObjectAny("h_Ampl_HO"); + HistAmpl[4][4] = (TH1F *)dir->FindObjectAny("h_Ampl_HF"); //+++++++++++++++++++++++++++++ //Test 5 (TNm) Mean position in 1-8 TS range //+++++++++++++++++++++++++++++ - Map_Ampl[5][1][1] = (TH2F *)hfile->Get("h_mapDepth1TSmeanA225_HB"); - Map_Ampl[5][1][2] = (TH2F *)hfile->Get("h_mapDepth2TSmeanA225_HB"); - Map_Ampl[5][2][1] = (TH2F *)hfile->Get("h_mapDepth1TSmeanA225_HE"); - Map_Ampl[5][2][2] = (TH2F *)hfile->Get("h_mapDepth2TSmeanA225_HE"); - Map_Ampl[5][2][3] = (TH2F *)hfile->Get("h_mapDepth3TSmeanA225_HE"); - Map_Ampl[5][3][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HO"); - Map_Ampl[5][4][1] = (TH2F *)hfile->Get("h_mapDepth1TSmeanA225_HF"); - Map_Ampl[5][4][2] = (TH2F *)hfile->Get("h_mapDepth2TSmeanA225_HF"); - - Map_Ampl[5][2][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HE"); - Map_Ampl[5][2][5] = (TH2F *)hfile->Get("h_mapDepth5TSmeanA225_HE"); - Map_Ampl[5][2][6] = (TH2F *)hfile->Get("h_mapDepth6TSmeanA225_HE"); - Map_Ampl[5][2][7] = (TH2F *)hfile->Get("h_mapDepth7TSmeanA225_HE"); - Map_Ampl[5][4][3] = (TH2F *)hfile->Get("h_mapDepth3TSmeanA225_HF"); - Map_Ampl[5][4][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HF"); - - Map_Ampl[5][1][3] = (TH2F *)hfile->Get("h_mapDepth3TSmeanA225_HB"); - Map_Ampl[5][1][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HB"); - - HistAmpl[5][1] = (TH1F *)hfile->Get("h_TSmeanA_HB"); - HistAmpl[5][2] = (TH1F *)hfile->Get("h_TSmeanA_HE"); - HistAmpl[5][3] = (TH1F *)hfile->Get("h_TSmeanA_HO"); - HistAmpl[5][4] = (TH1F *)hfile->Get("h_TSmeanA_HF"); + Map_Ampl[5][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmeanA225_HB"); + Map_Ampl[5][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmeanA225_HB"); + Map_Ampl[5][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmeanA225_HE"); + Map_Ampl[5][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmeanA225_HE"); + Map_Ampl[5][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmeanA225_HE"); + Map_Ampl[5][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HO"); + Map_Ampl[5][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmeanA225_HF"); + Map_Ampl[5][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmeanA225_HF"); + + Map_Ampl[5][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HE"); + Map_Ampl[5][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5TSmeanA225_HE"); + Map_Ampl[5][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6TSmeanA225_HE"); + Map_Ampl[5][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7TSmeanA225_HE"); + Map_Ampl[5][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmeanA225_HF"); + Map_Ampl[5][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HF"); + + Map_Ampl[5][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmeanA225_HB"); + Map_Ampl[5][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HB"); + + HistAmpl[5][1] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HB"); + HistAmpl[5][2] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HE"); + HistAmpl[5][3] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HO"); + HistAmpl[5][4] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HF"); //+++++++++++++++++++++++++++++ //Test 6 (TXm) Maximum position in 1-8 TS range //+++++++++++++++++++++++++++++ - Map_Ampl[6][1][1] = (TH2F *)hfile->Get("h_mapDepth1TSmaxA225_HB"); - Map_Ampl[6][1][2] = (TH2F *)hfile->Get("h_mapDepth2TSmaxA225_HB"); - Map_Ampl[6][2][1] = (TH2F *)hfile->Get("h_mapDepth1TSmaxA225_HE"); - Map_Ampl[6][2][2] = (TH2F *)hfile->Get("h_mapDepth2TSmaxA225_HE"); - Map_Ampl[6][2][3] = (TH2F *)hfile->Get("h_mapDepth3TSmaxA225_HE"); - Map_Ampl[6][3][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HO"); - Map_Ampl[6][4][1] = (TH2F *)hfile->Get("h_mapDepth1TSmaxA225_HF"); - Map_Ampl[6][4][2] = (TH2F *)hfile->Get("h_mapDepth2TSmaxA225_HF"); - - Map_Ampl[6][2][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HE"); - Map_Ampl[6][2][5] = (TH2F *)hfile->Get("h_mapDepth5TSmaxA225_HE"); - Map_Ampl[6][2][6] = (TH2F *)hfile->Get("h_mapDepth6TSmaxA225_HE"); - Map_Ampl[6][2][7] = (TH2F *)hfile->Get("h_mapDepth7TSmaxA225_HE"); - Map_Ampl[6][4][3] = (TH2F *)hfile->Get("h_mapDepth3TSmaxA225_HF"); - Map_Ampl[6][4][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HF"); - - Map_Ampl[6][1][3] = (TH2F *)hfile->Get("h_mapDepth3TSmaxA225_HB"); - Map_Ampl[6][1][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HB"); - - HistAmpl[6][1] = (TH1F *)hfile->Get("h_TSmaxA_HB"); - HistAmpl[6][2] = (TH1F *)hfile->Get("h_TSmaxA_HE"); - HistAmpl[6][3] = (TH1F *)hfile->Get("h_TSmaxA_HO"); - HistAmpl[6][4] = (TH1F *)hfile->Get("h_TSmaxA_HF"); + Map_Ampl[6][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmaxA225_HB"); + Map_Ampl[6][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmaxA225_HB"); + Map_Ampl[6][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmaxA225_HE"); + Map_Ampl[6][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmaxA225_HE"); + Map_Ampl[6][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmaxA225_HE"); + Map_Ampl[6][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HO"); + Map_Ampl[6][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmaxA225_HF"); + Map_Ampl[6][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmaxA225_HF"); + + Map_Ampl[6][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HE"); + Map_Ampl[6][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5TSmaxA225_HE"); + Map_Ampl[6][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6TSmaxA225_HE"); + Map_Ampl[6][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7TSmaxA225_HE"); + Map_Ampl[6][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmaxA225_HF"); + Map_Ampl[6][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HF"); + + Map_Ampl[6][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmaxA225_HB"); + Map_Ampl[6][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HB"); + + HistAmpl[6][1] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HB"); + HistAmpl[6][2] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HE"); + HistAmpl[6][3] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HO"); + HistAmpl[6][4] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HF"); for (int test = 2; test <= 6; test++) { //Test: 2-Am, 3-Wm, 4-Rm, 5-TNm, 6-TXm, for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO @@ -677,32 +681,32 @@ int main(int argc, char *argv[]) { cONE->Divide(2,1); if(test == 2 && sub == 2 ) { cONE->cd(2); - TH1F *kjkjkhj2= (TH1F*)hfile->Get("h_ADCAmpl_HE");kjkjkhj2->Draw("");kjkjkhj2->SetTitle("HE, All Depth: shunt6"); + TH1F *kjkjkhj2= (TH1F*)dir->FindObjectAny("h_ADCAmpl_HE");kjkjkhj2->Draw("");kjkjkhj2->SetTitle("HE, All Depth: shunt6"); } if(test == 2 && sub == 1 ) { cONE->cd(2); - TH1F *kjkjkhj1= (TH1F*)hfile->Get("h_ADCAmpl_HB");kjkjkhj1->Draw("");kjkjkhj1->SetTitle("HB, All Depth: shunt6"); + TH1F *kjkjkhj1= (TH1F*)dir->FindObjectAny("h_ADCAmpl_HB");kjkjkhj1->Draw("");kjkjkhj1->SetTitle("HB, All Depth: shunt6"); } */ cONE->Divide(3, 1); if (test == 2 && sub == 2) { cONE->cd(2); - TH1F *kjkjkhj2 = (TH1F *)hfile->Get("h_AmplitudeHEtest1"); + TH1F *kjkjkhj2 = (TH1F *)dir->FindObjectAny("h_AmplitudeHEtest1"); kjkjkhj2->Draw(""); kjkjkhj2->SetTitle("HE, All Depth: shunt1"); cONE->cd(3); - TH1F *kjkjkhj3 = (TH1F *)hfile->Get("h_AmplitudeHEtest6"); + TH1F *kjkjkhj3 = (TH1F *)dir->FindObjectAny("h_AmplitudeHEtest6"); kjkjkhj3->Draw(""); kjkjkhj3->SetTitle("HE, All Depth: shunt6"); } if (test == 2 && sub == 1) { cONE->cd(2); - TH1F *kjkjkhb2 = (TH1F *)hfile->Get("h_AmplitudeHBtest1"); + TH1F *kjkjkhb2 = (TH1F *)dir->FindObjectAny("h_AmplitudeHBtest1"); kjkjkhb2->Draw(""); kjkjkhb2->SetTitle("HB, All Depth: shunt1"); cONE->cd(3); - TH1F *kjkjkhb3 = (TH1F *)hfile->Get("h_AmplitudeHBtest6"); + TH1F *kjkjkhb3 = (TH1F *)dir->FindObjectAny("h_AmplitudeHBtest6"); kjkjkhb3->Draw(""); kjkjkhb3->SetTitle("HB, All Depth: shunt6"); } @@ -864,75 +868,75 @@ int main(int argc, char *argv[]) { //Test 31, 32 Pedestal, pedestalWidths //++++++++++++++++++++++++++++++++++++ - Map_Ampl[31][1][1] = (TH2F *)hfile->Get("h_mapDepth1pedestal_HB"); - Map_Ampl[31][1][2] = (TH2F *)hfile->Get("h_mapDepth2pedestal_HB"); - Map_Ampl[31][1][3] = (TH2F *)hfile->Get("h_mapDepth3pedestal_HB"); - Map_Ampl[31][1][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HB"); - Map_Ampl[31][2][1] = (TH2F *)hfile->Get("h_mapDepth1pedestal_HE"); - Map_Ampl[31][2][2] = (TH2F *)hfile->Get("h_mapDepth2pedestal_HE"); - Map_Ampl[31][2][3] = (TH2F *)hfile->Get("h_mapDepth3pedestal_HE"); - Map_Ampl[31][2][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HE"); - Map_Ampl[31][2][5] = (TH2F *)hfile->Get("h_mapDepth5pedestal_HE"); - Map_Ampl[31][2][6] = (TH2F *)hfile->Get("h_mapDepth6pedestal_HE"); - Map_Ampl[31][2][7] = (TH2F *)hfile->Get("h_mapDepth7pedestal_HE"); - Map_Ampl[31][3][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HO"); - Map_Ampl[31][4][1] = (TH2F *)hfile->Get("h_mapDepth1pedestal_HF"); - Map_Ampl[31][4][2] = (TH2F *)hfile->Get("h_mapDepth2pedestal_HF"); - Map_Ampl[31][4][3] = (TH2F *)hfile->Get("h_mapDepth3pedestal_HF"); - Map_Ampl[31][4][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HF"); - - Map_Ampl[32][1][1] = (TH2F *)hfile->Get("h_mapDepth1pedestalw_HB"); - Map_Ampl[32][1][2] = (TH2F *)hfile->Get("h_mapDepth2pedestalw_HB"); - Map_Ampl[32][1][3] = (TH2F *)hfile->Get("h_mapDepth3pedestalw_HB"); - Map_Ampl[32][1][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HB"); - Map_Ampl[32][2][1] = (TH2F *)hfile->Get("h_mapDepth1pedestalw_HE"); - Map_Ampl[32][2][2] = (TH2F *)hfile->Get("h_mapDepth2pedestalw_HE"); - Map_Ampl[32][2][3] = (TH2F *)hfile->Get("h_mapDepth3pedestalw_HE"); - Map_Ampl[32][2][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HE"); - Map_Ampl[32][2][5] = (TH2F *)hfile->Get("h_mapDepth5pedestalw_HE"); - Map_Ampl[32][2][6] = (TH2F *)hfile->Get("h_mapDepth6pedestalw_HE"); - Map_Ampl[32][2][7] = (TH2F *)hfile->Get("h_mapDepth7pedestalw_HE"); - Map_Ampl[32][3][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HO"); - Map_Ampl[32][4][1] = (TH2F *)hfile->Get("h_mapDepth1pedestalw_HF"); - Map_Ampl[32][4][2] = (TH2F *)hfile->Get("h_mapDepth2pedestalw_HF"); - Map_Ampl[32][4][3] = (TH2F *)hfile->Get("h_mapDepth3pedestalw_HF"); - Map_Ampl[32][4][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HF"); - - HistPed[1][1][0] = (TH1F *)hfile->Get("h_pedestal0_HB"); - HistPed[1][1][1] = (TH1F *)hfile->Get("h_pedestal1_HB"); - HistPed[1][1][2] = (TH1F *)hfile->Get("h_pedestal2_HB"); - HistPed[1][1][3] = (TH1F *)hfile->Get("h_pedestal3_HB"); - HistPed[2][1][0] = (TH1F *)hfile->Get("h_pedestalw0_HB"); - HistPed[2][1][1] = (TH1F *)hfile->Get("h_pedestalw1_HB"); - HistPed[2][1][2] = (TH1F *)hfile->Get("h_pedestalw2_HB"); - HistPed[2][1][3] = (TH1F *)hfile->Get("h_pedestalw3_HB"); - - HistPed[1][2][0] = (TH1F *)hfile->Get("h_pedestal0_HE"); - HistPed[1][2][1] = (TH1F *)hfile->Get("h_pedestal1_HE"); - HistPed[1][2][2] = (TH1F *)hfile->Get("h_pedestal2_HE"); - HistPed[1][2][3] = (TH1F *)hfile->Get("h_pedestal3_HE"); - HistPed[2][2][0] = (TH1F *)hfile->Get("h_pedestalw0_HE"); - HistPed[2][2][1] = (TH1F *)hfile->Get("h_pedestalw1_HE"); - HistPed[2][2][2] = (TH1F *)hfile->Get("h_pedestalw2_HE"); - HistPed[2][2][3] = (TH1F *)hfile->Get("h_pedestalw3_HE"); - - HistPed[1][3][0] = (TH1F *)hfile->Get("h_pedestal0_HO"); - HistPed[1][3][1] = (TH1F *)hfile->Get("h_pedestal1_HO"); - HistPed[1][3][2] = (TH1F *)hfile->Get("h_pedestal2_HO"); - HistPed[1][3][3] = (TH1F *)hfile->Get("h_pedestal3_HO"); - HistPed[2][3][0] = (TH1F *)hfile->Get("h_pedestalw0_HO"); - HistPed[2][3][1] = (TH1F *)hfile->Get("h_pedestalw1_HO"); - HistPed[2][3][2] = (TH1F *)hfile->Get("h_pedestalw2_HO"); - HistPed[2][3][3] = (TH1F *)hfile->Get("h_pedestalw3_HO"); - - HistPed[1][4][0] = (TH1F *)hfile->Get("h_pedestal0_HF"); - HistPed[1][4][1] = (TH1F *)hfile->Get("h_pedestal1_HF"); - HistPed[1][4][2] = (TH1F *)hfile->Get("h_pedestal2_HF"); - HistPed[1][4][3] = (TH1F *)hfile->Get("h_pedestal3_HF"); - HistPed[2][4][0] = (TH1F *)hfile->Get("h_pedestalw0_HF"); - HistPed[2][4][1] = (TH1F *)hfile->Get("h_pedestalw1_HF"); - HistPed[2][4][2] = (TH1F *)hfile->Get("h_pedestalw2_HF"); - HistPed[2][4][3] = (TH1F *)hfile->Get("h_pedestalw3_HF"); + Map_Ampl[31][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestal_HB"); + Map_Ampl[31][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestal_HB"); + Map_Ampl[31][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestal_HB"); + Map_Ampl[31][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HB"); + Map_Ampl[31][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestal_HE"); + Map_Ampl[31][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestal_HE"); + Map_Ampl[31][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestal_HE"); + Map_Ampl[31][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HE"); + Map_Ampl[31][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5pedestal_HE"); + Map_Ampl[31][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6pedestal_HE"); + Map_Ampl[31][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7pedestal_HE"); + Map_Ampl[31][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HO"); + Map_Ampl[31][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestal_HF"); + Map_Ampl[31][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestal_HF"); + Map_Ampl[31][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestal_HF"); + Map_Ampl[31][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HF"); + + Map_Ampl[32][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestalw_HB"); + Map_Ampl[32][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestalw_HB"); + Map_Ampl[32][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestalw_HB"); + Map_Ampl[32][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HB"); + Map_Ampl[32][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestalw_HE"); + Map_Ampl[32][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestalw_HE"); + Map_Ampl[32][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestalw_HE"); + Map_Ampl[32][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HE"); + Map_Ampl[32][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5pedestalw_HE"); + Map_Ampl[32][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6pedestalw_HE"); + Map_Ampl[32][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7pedestalw_HE"); + Map_Ampl[32][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HO"); + Map_Ampl[32][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestalw_HF"); + Map_Ampl[32][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestalw_HF"); + Map_Ampl[32][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestalw_HF"); + Map_Ampl[32][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HF"); + + HistPed[1][1][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HB"); + HistPed[1][1][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HB"); + HistPed[1][1][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HB"); + HistPed[1][1][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HB"); + HistPed[2][1][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HB"); + HistPed[2][1][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HB"); + HistPed[2][1][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HB"); + HistPed[2][1][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HB"); + + HistPed[1][2][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HE"); + HistPed[1][2][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HE"); + HistPed[1][2][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HE"); + HistPed[1][2][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HE"); + HistPed[2][2][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HE"); + HistPed[2][2][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HE"); + HistPed[2][2][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HE"); + HistPed[2][2][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HE"); + + HistPed[1][3][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HO"); + HistPed[1][3][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HO"); + HistPed[1][3][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HO"); + HistPed[1][3][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HO"); + HistPed[2][3][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HO"); + HistPed[2][3][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HO"); + HistPed[2][3][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HO"); + HistPed[2][3][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HO"); + + HistPed[1][4][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HF"); + HistPed[1][4][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HF"); + HistPed[1][4][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HF"); + HistPed[1][4][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HF"); + HistPed[2][4][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HF"); + HistPed[2][4][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HF"); + HistPed[2][4][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HF"); + HistPed[2][4][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HF"); for (int test = 31; test <= 32; test++) { //Test: 31-Pedestals, 32-pedestal Widths, for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF @@ -1124,14 +1128,14 @@ int main(int argc, char *argv[]) { //++++++++++++++++++++++++++++++++++++ cPED->Clear(); - Map_Ped[1][1] = (TH2F *)hfile->Get("h2_pedvsampl_HB"); - Map_Ped[1][2] = (TH2F *)hfile->Get("h2_pedvsampl_HE"); - Map_Ped[1][3] = (TH2F *)hfile->Get("h2_pedvsampl_HO"); - Map_Ped[1][4] = (TH2F *)hfile->Get("h2_pedvsampl_HF"); - Map_Ped[2][1] = (TH2F *)hfile->Get("h2_pedwvsampl_HB"); - Map_Ped[2][2] = (TH2F *)hfile->Get("h2_pedwvsampl_HE"); - Map_Ped[2][3] = (TH2F *)hfile->Get("h2_pedwvsampl_HO"); - Map_Ped[2][4] = (TH2F *)hfile->Get("h2_pedwvsampl_HF"); + Map_Ped[1][1] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HB"); + Map_Ped[1][2] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HE"); + Map_Ped[1][3] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HO"); + Map_Ped[1][4] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HF"); + Map_Ped[2][1] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HB"); + Map_Ped[2][2] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HE"); + Map_Ped[2][3] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HO"); + Map_Ped[2][4] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF cPED->Divide(2, 1); for (int test = 1; test <= 2; test++) { @@ -1179,25 +1183,25 @@ int main(int argc, char *argv[]) { //++++++++++++++++++++++++++++++++++++ cONE->Clear(); - hist_GoodTSshape[1] = (TH1F *)hfile->Get("h_shape_good_channels_HB"); - hist_GoodTSshape[2] = (TH1F *)hfile->Get("h_shape_good_channels_HE"); - hist_GoodTSshape[3] = (TH1F *)hfile->Get("h_shape_good_channels_HO"); - hist_GoodTSshape[4] = (TH1F *)hfile->Get("h_shape_good_channels_HF"); - - hist_GoodTSshape0[1] = (TH1F *)hfile->Get("h_shape0_good_channels_HB"); - hist_GoodTSshape0[2] = (TH1F *)hfile->Get("h_shape0_good_channels_HE"); - hist_GoodTSshape0[3] = (TH1F *)hfile->Get("h_shape0_good_channels_HO"); - hist_GoodTSshape0[4] = (TH1F *)hfile->Get("h_shape0_good_channels_HF"); - - hist_BadTSshape[1] = (TH1F *)hfile->Get("h_shape_bad_channels_HB"); - hist_BadTSshape[2] = (TH1F *)hfile->Get("h_shape_bad_channels_HE"); - hist_BadTSshape[3] = (TH1F *)hfile->Get("h_shape_bad_channels_HO"); - hist_BadTSshape[4] = (TH1F *)hfile->Get("h_shape_bad_channels_HF"); - - hist_BadTSshape0[1] = (TH1F *)hfile->Get("h_shape0_bad_channels_HB"); - hist_BadTSshape0[2] = (TH1F *)hfile->Get("h_shape0_bad_channels_HE"); - hist_BadTSshape0[3] = (TH1F *)hfile->Get("h_shape0_bad_channels_HO"); - hist_BadTSshape0[4] = (TH1F *)hfile->Get("h_shape0_bad_channels_HF"); + hist_GoodTSshape[1] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HB"); + hist_GoodTSshape[2] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HE"); + hist_GoodTSshape[3] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HO"); + hist_GoodTSshape[4] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HF"); + + hist_GoodTSshape0[1] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HB"); + hist_GoodTSshape0[2] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HE"); + hist_GoodTSshape0[3] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HO"); + hist_GoodTSshape0[4] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HF"); + + hist_BadTSshape[1] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HB"); + hist_BadTSshape[2] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HE"); + hist_BadTSshape[3] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HO"); + hist_BadTSshape[4] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HF"); + + hist_BadTSshape0[1] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HB"); + hist_BadTSshape0[2] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HE"); + hist_BadTSshape0[3] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HO"); + hist_BadTSshape0[4] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HF"); cONE->cd(1); @@ -1270,25 +1274,25 @@ int main(int argc, char *argv[]) { //+++++++++++++++++++++++++++++ //Entries in different TSs: //+++++++++++++++++++++++++++++ - Map_SUBTS[1][1] = (TH2F *)hfile->Get("h_mapDepth1TS2_HB"); - Map_SUBTS[1][2] = (TH2F *)hfile->Get("h_mapDepth2TS2_HB"); - Map_SUBTS[1][3] = (TH2F *)hfile->Get("h_mapDepth3TS2_HB"); - Map_SUBTS[1][4] = (TH2F *)hfile->Get("h_mapDepth4TS2_HB"); - - Map_SUBTS[2][1] = (TH2F *)hfile->Get("h_mapDepth1TS2_HE"); - Map_SUBTS[2][2] = (TH2F *)hfile->Get("h_mapDepth2TS2_HE"); - Map_SUBTS[2][3] = (TH2F *)hfile->Get("h_mapDepth3TS2_HE"); - Map_SUBTS[2][4] = (TH2F *)hfile->Get("h_mapDepth4TS2_HE"); - Map_SUBTS[2][5] = (TH2F *)hfile->Get("h_mapDepth5TS2_HE"); - Map_SUBTS[2][6] = (TH2F *)hfile->Get("h_mapDepth6TS2_HE"); - Map_SUBTS[2][7] = (TH2F *)hfile->Get("h_mapDepth7TS2_HE"); - - Map_SUBTS[3][4] = (TH2F *)hfile->Get("h_mapDepth4TS012_HO"); - - Map_SUBTS[4][1] = (TH2F *)hfile->Get("h_mapDepth1TS1_HF"); - Map_SUBTS[4][2] = (TH2F *)hfile->Get("h_mapDepth2TS1_HF"); - Map_SUBTS[4][3] = (TH2F *)hfile->Get("h_mapDepth3TS1_HF"); - Map_SUBTS[4][4] = (TH2F *)hfile->Get("h_mapDepth4TS1_HF"); + Map_SUBTS[1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TS2_HB"); + Map_SUBTS[1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TS2_HB"); + Map_SUBTS[1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TS2_HB"); + Map_SUBTS[1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TS2_HB"); + + Map_SUBTS[2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TS2_HE"); + Map_SUBTS[2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TS2_HE"); + Map_SUBTS[2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TS2_HE"); + Map_SUBTS[2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TS2_HE"); + Map_SUBTS[2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5TS2_HE"); + Map_SUBTS[2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6TS2_HE"); + Map_SUBTS[2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7TS2_HE"); + + Map_SUBTS[3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TS012_HO"); + + Map_SUBTS[4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TS1_HF"); + Map_SUBTS[4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TS1_HF"); + Map_SUBTS[4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TS1_HF"); + Map_SUBTS[4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TS1_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO // if (sub==1) cHB->Divide(2,1); @@ -1605,7 +1609,7 @@ int main(int argc, char *argv[]) { cmain1->Divide(2, 2); cmain1->cd(1); - TH1F *JDBEYESJ0 = (TH1F *)hfile->Get("h_totalAmplitudeHBperEvent"); + TH1F *JDBEYESJ0 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHBperEvent"); JDBEYESJ0->SetStats(0); JDBEYESJ0->SetMarkerStyle(20); JDBEYESJ0->SetMarkerSize(0.8); @@ -1620,7 +1624,7 @@ int main(int argc, char *argv[]) { JDBEYESJ0->Clear(); cmain1->cd(2); - TH1F *JDBEYESJ1 = (TH1F *)hfile->Get("h_totalAmplitudeHEperEvent"); + TH1F *JDBEYESJ1 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHEperEvent"); JDBEYESJ1->SetStats(0); JDBEYESJ1->SetMarkerStyle(20); JDBEYESJ1->SetMarkerSize(0.8); @@ -1635,7 +1639,7 @@ int main(int argc, char *argv[]) { JDBEYESJ1->Clear(); cmain1->cd(3); - TH1F *JDBEYESJ2 = (TH1F *)hfile->Get("h_totalAmplitudeHFperEvent"); + TH1F *JDBEYESJ2 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHFperEvent"); JDBEYESJ2->SetStats(0); JDBEYESJ2->SetMarkerStyle(20); JDBEYESJ2->SetMarkerSize(0.8); @@ -1650,7 +1654,7 @@ int main(int argc, char *argv[]) { JDBEYESJ2->Clear(); cmain1->cd(4); - TH1F *JDBEYESJ3 = (TH1F *)hfile->Get("h_totalAmplitudeHOperEvent"); + TH1F *JDBEYESJ3 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHOperEvent"); JDBEYESJ3->SetStats(0); JDBEYESJ3->SetMarkerStyle(20); JDBEYESJ3->SetMarkerSize(0.8); @@ -2243,7 +2247,7 @@ int main(int argc, char *argv[]) { htmlFile << "
" << std::endl; htmlFile << "to top
\n"; - ///////////////////////////////////////////////////////////////// AZ 19.03 + ///////////////////////////////////////////////////////////////// AZ 19.03.2018 /* // htmlFile << "

2.B.List of Bad channels (rate > 0.1) and its rates for each RMT criteria (for GS - %)

"<< std::endl; diff --git a/DPGAnalysis/HcalTools/macros/cmt/zadcampltest.cc b/DPGAnalysis/HcalTools/macros/cmt/zadcampltest.cc index 076bf96f4ac5f..f0e58e3867441 100644 --- a/DPGAnalysis/HcalTools/macros/cmt/zadcampltest.cc +++ b/DPGAnalysis/HcalTools/macros/cmt/zadcampltest.cc @@ -1,3 +1,14 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +//##### #include #include #include "TH1.h" @@ -25,6 +36,7 @@ using namespace std; //inline void HERE(const char *msg) { std::cout << msg << std::endl; } int main(int argc, char *argv[]) { + std::string dirnm = "Analyzer"; //====================================================================== printf("reco: gROOT Reset \n"); gROOT->Reset(); @@ -138,7 +150,11 @@ int main(int argc, char *argv[]) { // TFile *hfile1= new TFile("LED_284352.root", "READ"); // TFile *hfile1= new TFile("LEDtest.root", "READ"); - TFile *hfile1 = new TFile("Global_311668.root", "READ"); +// TFile *hfile1 = new TFile("Global_346445.root", "READ"); + + TFile *hfile1 = new TFile("Global_346300.root", "READ"); +// TH1D *hist1(nullptr); +// hist1 = (TH1D *)dir->FindObjectAny("h_mapDepth1_HE"); // TFile *hfile2= new TFile("LED_284902.root", "READ"); // TFile *hfile2= new TFile("LED_284499.root", "READ"); @@ -154,6 +170,9 @@ int main(int argc, char *argv[]) { TCanvas *c1 = new TCanvas("c1", "Hcal4test", 200, 10, 700, 900); + hfile1->ls(); + TDirectory *dir = (TDirectory *)hfile1->FindObjectAny(dirnm.c_str()); + //========================================================================================== 1 //====================================================================== //====================================================================== @@ -163,7 +182,8 @@ int main(int argc, char *argv[]) { c1->Divide(2, 4); c1->cd(1); - TH2F *Zzzdepth1hef1 = (TH2F *)hfile1->Get("h_mapDepth1_HE"); +// TH2F *Zzzdepth1hef1 = (TH2F *)hfile1->Get("h_mapDepth1_HE"); + TH2F *Zzzdepth1hef1 = (TH2F *)dir->FindObjectAny("h_mapDepth1_HE"); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); @@ -173,7 +193,7 @@ int main(int argc, char *argv[]) { Zzzdepth1hef1->Draw("COLZ"); c1->cd(2); - TH2F *Zzzdepth1hef2 = (TH2F *)hfile1->Get("h_mapDepth2_HE"); + TH2F *Zzzdepth1hef2 = (TH2F *)dir->FindObjectAny("h_mapDepth2_HE"); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); @@ -183,7 +203,7 @@ int main(int argc, char *argv[]) { Zzzdepth1hef2->Draw("COLZ"); c1->cd(3); - TH2F *Zzzdepth1hef3 = (TH2F *)hfile1->Get("h_mapDepth3_HE"); + TH2F *Zzzdepth1hef3 = (TH2F *)dir->FindObjectAny("h_mapDepth3_HE"); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); @@ -193,7 +213,7 @@ int main(int argc, char *argv[]) { Zzzdepth1hef3->Draw("COLZ"); c1->cd(4); - TH2F *Zzzdepth1hef4 = (TH2F *)hfile1->Get("h_mapDepth4_HE"); + TH2F *Zzzdepth1hef4 = (TH2F *)dir->FindObjectAny("h_mapDepth4_HE"); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); @@ -203,7 +223,7 @@ int main(int argc, char *argv[]) { Zzzdepth1hef4->Draw("COLZ"); c1->cd(5); - TH2F *Zzzdepth1hef5 = (TH2F *)hfile1->Get("h_mapDepth5_HE"); + TH2F *Zzzdepth1hef5 = (TH2F *)dir->FindObjectAny("h_mapDepth5_HE"); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); @@ -213,7 +233,7 @@ int main(int argc, char *argv[]) { Zzzdepth1hef5->Draw("COLZ"); c1->cd(6); - TH2F *Zzzdepth1hef6 = (TH2F *)hfile1->Get("h_mapDepth6_HE"); + TH2F *Zzzdepth1hef6 = (TH2F *)dir->FindObjectAny("h_mapDepth6_HE"); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); @@ -223,7 +243,7 @@ int main(int argc, char *argv[]) { Zzzdepth1hef6->Draw("COLZ"); c1->cd(7); - TH2F *Zzzdepth1hef7 = (TH2F *)hfile1->Get("h_mapDepth7_HE"); + TH2F *Zzzdepth1hef7 = (TH2F *)dir->FindObjectAny("h_mapDepth7_HE"); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); @@ -233,7 +253,7 @@ int main(int argc, char *argv[]) { Zzzdepth1hef7->Draw("COLZ"); c1->cd(8); - TH1F *jdjswi8 = (TH1F *)hfile1->Get("h_ADCAmpl_HE"); + TH1F *jdjswi8 = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HE"); gPad->SetLogy(kFALSE); // gPad->SetLogx(); jdjswi8->SetMarkerStyle(20); @@ -255,7 +275,7 @@ int main(int argc, char *argv[]) { c1->Divide(2, 4); c1->cd(1); - TH1F *wqwhef1 = (TH1F *)hfile1->Get("h_mapDepth1ADCAmpl_HE"); + TH1F *wqwhef1 = (TH1F *)dir->FindObjectAny("h_mapDepth1ADCAmpl_HE"); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); @@ -263,7 +283,7 @@ int main(int argc, char *argv[]) { wqwhef1->Draw("COLZ"); c1->cd(2); - TH1F *wqwhef2 = (TH1F *)hfile1->Get("h_mapDepth2ADCAmpl_HE"); + TH1F *wqwhef2 = (TH1F *)dir->FindObjectAny("h_mapDepth2ADCAmpl_HE"); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); @@ -271,7 +291,7 @@ int main(int argc, char *argv[]) { wqwhef2->Draw("COLZ"); c1->cd(3); - TH1F *wqwhef3 = (TH1F *)hfile1->Get("h_mapDepth3ADCAmpl_HE"); + TH1F *wqwhef3 = (TH1F *)dir->FindObjectAny("h_mapDepth3ADCAmpl_HE"); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); @@ -279,7 +299,7 @@ int main(int argc, char *argv[]) { wqwhef3->Draw("COLZ"); c1->cd(4); - TH1F *wqwhef4 = (TH1F *)hfile1->Get("h_mapDepth4ADCAmpl_HE"); + TH1F *wqwhef4 = (TH1F *)dir->FindObjectAny("h_mapDepth4ADCAmpl_HE"); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); @@ -287,7 +307,7 @@ int main(int argc, char *argv[]) { wqwhef4->Draw("COLZ"); c1->cd(5); - TH1F *wqwhef5 = (TH1F *)hfile1->Get("h_mapDepth5ADCAmpl_HE"); + TH1F *wqwhef5 = (TH1F *)dir->FindObjectAny("h_mapDepth5ADCAmpl_HE"); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); @@ -295,7 +315,7 @@ int main(int argc, char *argv[]) { wqwhef5->Draw("COLZ"); c1->cd(6); - TH1F *wqwhef6 = (TH1F *)hfile1->Get("h_mapDepth6ADCAmpl_HE"); + TH1F *wqwhef6 = (TH1F *)dir->FindObjectAny("h_mapDepth6ADCAmpl_HE"); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); @@ -303,7 +323,7 @@ int main(int argc, char *argv[]) { wqwhef6->Draw("COLZ"); c1->cd(7); - TH1F *wqwhef7 = (TH1F *)hfile1->Get("h_mapDepth7ADCAmpl_HE"); + TH1F *wqwhef7 = (TH1F *)dir->FindObjectAny("h_mapDepth7ADCAmpl_HE"); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); @@ -321,49 +341,49 @@ int main(int argc, char *argv[]) { c1->Divide(2, 4); c1->cd(1); - TH1F *azzdepth1hef1 = (TH1F *)hfile1->Get("h_sumADCAmplperLS3"); + TH1F *azzdepth1hef1 = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS3"); gPad->SetGridy(); gPad->SetGridx(); azzdepth1hef1->SetZTitle("h_sumADCAmplperLS3 \b"); azzdepth1hef1->Draw(""); c1->cd(2); - TH1F *azzdepth1hef2 = (TH1F *)hfile1->Get("h_sumADCAmplperLS4"); + TH1F *azzdepth1hef2 = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS4"); gPad->SetGridy(); gPad->SetGridx(); azzdepth1hef2->SetZTitle("h_sumADCAmplperLS3 \b"); azzdepth1hef2->Draw(""); c1->cd(3); - TH1F *azzdepth1hef3 = (TH1F *)hfile1->Get("h_sumADCAmplperLS5"); + TH1F *azzdepth1hef3 = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLS5"); gPad->SetGridy(); gPad->SetGridx(); azzdepth1hef3->SetZTitle("h_sumADCAmplperLS3 \b"); azzdepth1hef3->Draw(""); c1->cd(4); - TH1F *azzdepth1hef4 = (TH1F *)hfile1->Get("h_sumADCAmplperLSdepth4HEu"); + TH1F *azzdepth1hef4 = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth4HEu"); gPad->SetGridy(); gPad->SetGridx(); azzdepth1hef4->SetZTitle("h_sumADCAmplperLS3 \b"); azzdepth1hef4->Draw(""); c1->cd(5); - TH1F *azzdepth1hef5 = (TH1F *)hfile1->Get("h_sumADCAmplperLSdepth5HEu"); + TH1F *azzdepth1hef5 = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth5HEu"); gPad->SetGridy(); gPad->SetGridx(); azzdepth1hef5->SetZTitle("h_sumADCAmplperLS3 \b"); azzdepth1hef5->Draw(""); c1->cd(6); - TH1F *azzdepth1hef6 = (TH1F *)hfile1->Get("h_sumADCAmplperLSdepth6HEu"); + TH1F *azzdepth1hef6 = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth6HEu"); gPad->SetGridy(); gPad->SetGridx(); azzdepth1hef6->SetZTitle("h_sumADCAmplperLS3 \b"); azzdepth1hef6->Draw(""); c1->cd(7); - TH1F *azzdepth1hef7 = (TH1F *)hfile1->Get("h_sumADCAmplperLSdepth7HEu"); + TH1F *azzdepth1hef7 = (TH1F *)dir->FindObjectAny("h_sumADCAmplperLSdepth7HEu"); gPad->SetGridy(); gPad->SetGridx(); azzdepth1hef7->SetZTitle("h_sumADCAmplperLS3 \b"); @@ -380,49 +400,49 @@ int main(int argc, char *argv[]) { c1->Divide(2, 4); c1->cd(1); - TH1F *poqw1 = (TH1F *)hfile1->Get("h_sumCutADCAmplperLS3"); + TH1F *poqw1 = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS3"); gPad->SetGridy(); gPad->SetGridx(); poqw1->SetZTitle("h_sumCutADCAmplperLS3 \b"); poqw1->Draw(""); c1->cd(2); - TH1F *poqw2 = (TH1F *)hfile1->Get("h_sumCutADCAmplperLS4"); + TH1F *poqw2 = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS4"); gPad->SetGridy(); gPad->SetGridx(); poqw2->SetZTitle("h_sumCutADCAmplperLS3 \b"); poqw2->Draw(""); c1->cd(3); - TH1F *poqw3 = (TH1F *)hfile1->Get("h_sumCutADCAmplperLS5"); + TH1F *poqw3 = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLS5"); gPad->SetGridy(); gPad->SetGridx(); poqw3->SetZTitle("h_sumCutADCAmplperLS3 \b"); poqw3->Draw(""); c1->cd(4); - TH1F *poqw4 = (TH1F *)hfile1->Get("h_sumCutADCAmplperLSdepth4HEu"); + TH1F *poqw4 = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth4HEu"); gPad->SetGridy(); gPad->SetGridx(); poqw4->SetZTitle("h_sumCutADCAmplperLS3 \b"); poqw4->Draw(""); c1->cd(5); - TH1F *poqw5 = (TH1F *)hfile1->Get("h_sumCutADCAmplperLSdepth5HEu"); + TH1F *poqw5 = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth5HEu"); gPad->SetGridy(); gPad->SetGridx(); poqw5->SetZTitle("h_sumCutADCAmplperLS3 \b"); poqw5->Draw(""); c1->cd(6); - TH1F *poqw6 = (TH1F *)hfile1->Get("h_sumCutADCAmplperLSdepth6HEu"); + TH1F *poqw6 = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth6HEu"); gPad->SetGridy(); gPad->SetGridx(); poqw6->SetZTitle("h_sumCutADCAmplperLS3 \b"); poqw6->Draw(""); c1->cd(7); - TH1F *poqw7 = (TH1F *)hfile1->Get("h_sumCutADCAmplperLSdepth7HEu"); + TH1F *poqw7 = (TH1F *)dir->FindObjectAny("h_sumCutADCAmplperLSdepth7HEu"); gPad->SetGridy(); gPad->SetGridx(); poqw7->SetZTitle("h_sumCutADCAmplperLS3 \b"); @@ -439,49 +459,49 @@ int main(int argc, char *argv[]) { c1->Divide(2, 4); c1->cd(1); - TH1F *cdew1 = (TH1F *)hfile1->Get("h_sum0ADCAmplperLS3"); + TH1F *cdew1 = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS3"); gPad->SetGridy(); gPad->SetGridx(); cdew1->SetZTitle("h_sum0ADCAmplperLS3 \b"); cdew1->Draw(""); c1->cd(2); - TH1F *cdew2 = (TH1F *)hfile1->Get("h_sum0ADCAmplperLS4"); + TH1F *cdew2 = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS4"); gPad->SetGridy(); gPad->SetGridx(); cdew2->SetZTitle("h_sum0ADCAmplperLS3 \b"); cdew2->Draw(""); c1->cd(3); - TH1F *cdew3 = (TH1F *)hfile1->Get("h_sum0ADCAmplperLS5"); + TH1F *cdew3 = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLS5"); gPad->SetGridy(); gPad->SetGridx(); cdew3->SetZTitle("h_sum0ADCAmplperLS3 \b"); cdew3->Draw(""); c1->cd(4); - TH1F *cdew4 = (TH1F *)hfile1->Get("h_sum0ADCAmplperLSdepth4HEu"); + TH1F *cdew4 = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth4HEu"); gPad->SetGridy(); gPad->SetGridx(); cdew4->SetZTitle("h_sum0ADCAmplperLS3 \b"); cdew4->Draw(""); c1->cd(5); - TH1F *cdew5 = (TH1F *)hfile1->Get("h_sum0ADCAmplperLSdepth5HEu"); + TH1F *cdew5 = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth5HEu"); gPad->SetGridy(); gPad->SetGridx(); cdew5->SetZTitle("h_sum0ADCAmplperLS3 \b"); cdew5->Draw(""); c1->cd(6); - TH1F *cdew6 = (TH1F *)hfile1->Get("h_sum0ADCAmplperLSdepth6HEu"); + TH1F *cdew6 = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth6HEu"); gPad->SetGridy(); gPad->SetGridx(); cdew6->SetZTitle("h_sum0ADCAmplperLS3 \b"); cdew6->Draw(""); c1->cd(7); - TH1F *cdew7 = (TH1F *)hfile1->Get("h_sum0ADCAmplperLSdepth7HEu"); + TH1F *cdew7 = (TH1F *)dir->FindObjectAny("h_sum0ADCAmplperLSdepth7HEu"); gPad->SetGridy(); gPad->SetGridx(); cdew7->SetZTitle("h_sum0ADCAmplperLS3 \b"); diff --git a/DPGAnalysis/HcalTools/macros/cmt/zlumiadcampltest.cc b/DPGAnalysis/HcalTools/macros/cmt/zlumiadcampltest.cc new file mode 100644 index 0000000000000..d1de67c43255b --- /dev/null +++ b/DPGAnalysis/HcalTools/macros/cmt/zlumiadcampltest.cc @@ -0,0 +1,447 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +//##### +#include +#include +#include "TH1.h" +#include "TH2.h" +#include "TCanvas.h" +#include "TROOT.h" +#include +#include "TStyle.h" +#include "TSystem.h" +#include "TLegend.h" +#include "TText.h" +#include "TAxis.h" +#include "TFile.h" +#include "TLine.h" +#include "TGraph.h" +#include +#include +#include + +// +using namespace std; +// +// + +//inline void HERE(const char *msg) { std::cout << msg << std::endl; } + +int main(int argc, char *argv[]) { + std::string dirnm = "Analyzer"; + //====================================================================== + printf("reco: gROOT Reset \n"); + gROOT->Reset(); + gROOT->SetStyle("Plain"); + //====================================================================== + // gStyle->SetOptStat(0); // no statistics _or_ + // gStyle->SetOptStat(11111111); + //gStyle->SetOptStat(1101);// name mean and rms + // gStyle->SetOptStat(0101);// name and entries + // gStyle->SetOptStat(1100);// mean and rms only !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + // gStyle->SetOptStat(1110000);// und over, integral !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + gStyle->SetOptStat(101110); // entries, mean, rms, overflow !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + // gStyle->SetOptStat(100000);// over !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + // + //gStyle->SetOptFit(00010);// constant, mean and sigma only !! + // gStyle->SetOptFit(00001);// hi2/nu, constant, mean and sigma only !! + gStyle->SetOptFit(0010); // constant, mean and sigma only !! + // gStyle->SetOptFit(00011);// constant, mean and sigma only !! + // gStyle->SetOptFit(1101); + // gStyle->SetOptFit(1011); + // + //gStyle->SetStatX(0.98); + //gStyle->SetStatY(0.99); + //gStyle->SetStatW(0.30); + //gStyle->SetStatH(0.25); + gStyle->SetStatX(0.91); + gStyle->SetStatY(0.75); + gStyle->SetStatW(0.20); + gStyle->SetStatH(0.10); + // gStyle->SetStatH(0.35); + // + + // Float_t LeftOffset = 0.12; + //Float_t TopOffset = 0.12; + Float_t LeftOffset = 0.12; + Float_t TopOffset = 0.22; + + gStyle->SetLineWidth(1); + gStyle->SetErrorX(0); + + //---=[ Titles,Labels ]=----------- + gStyle->SetOptTitle(0); // title on/off + // gStyle->SetTitleColor(0); // title color + gStyle->SetTitleColor(1); // title color + // gStyle->SetTitleX(0.35); // title x-position + gStyle->SetTitleX(0.15); // title x-position + gStyle->SetTitleH(0.15); // title height + // gStyle->SetTitleW(0.53); // title width + gStyle->SetTitleW(0.60); // title width + gStyle->SetTitleFont(42); // title font + gStyle->SetTitleFontSize(0.07); // title font size + + gStyle->SetPalette(1); + //---=[ Histogram style ]=---------- + // gStyle->SetHistFillColor(38); + // gStyle->SetFrameFillColor(41);// jelto-kori4nev-svetl + // gStyle->SetFrameFillColor(5);// jeltyi + // gStyle->SetFrameFillColor(17);// seryi + // gStyle->SetFrameFillColor(18);// svetlo seryi + // gStyle->SetFrameFillColor(20);// svetlo kori4nev + // gStyle->SetFrameFillColor(33);// sine-seryi + // gStyle->SetFrameFillColor(40);// fiolet-seryi + // gStyle->SetFrameFillColor(23);// sv.kor + + //---=[ Pad style ]=---------------- + gStyle->SetPadTopMargin(TopOffset); + gStyle->SetPadBottomMargin(LeftOffset); + gStyle->SetPadRightMargin(TopOffset); + gStyle->SetPadLeftMargin(LeftOffset); + //---=[ SetCanvasDef ]=---------------- + //====================================================================== + // + // Connect the input file and get the 2-d histogram in memory + //====================================================================== + // TBrowser *b = new TBrowser + + // TFile *hfile1= new TFile("test.root", "READ"); + // + + // TFile *hfile1= new TFile("testNZS.root", "READ"); + // TFile *hfile1= new TFile("test.root", "READ"); + + // TFile *hfile1= new TFile("newruns/Global_234034.root", "READ"); + // + + // TFile *hfile1= new TFile("/afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/CMTweb/histos/Global_234556.root", "READ"); + // TFile *hfile1= new TFile("Global_234034.root", "READ"); + // TFile *hfile1= new TFile("test211006.root", "READ"); + // TFile *hfile1= new TFile("test234457.root", "READ"); + + // TFile *hfile1= new TFile("Global_51.root", "READ"); + // TFile *hfile1= new TFile("Global_235698.root", "READ"); + + // TFile *hfile1= new TFile("Global_39.root", "READ"); + // TFile *hfile1= new TFile("test237165.root", "READ"); + // + // TFile *hfile1= new TFile("Laser_238187.root", "READ"); + // TFile *hfile1= new TFile("Laser_238183.root", "READ"); + + // TFile *hfile1= new TFile("Global_255031.root", "READ"); + + // TFile *hfile1= new TFile("Global_256001.root", "READ"); + // TFile *hfile1= new TFile("Global_256167.root", "READ"); + // TFile *hfile1= new TFile("Global_256348.root", "READ"); + // TFile *hfile1= new TFile("Global_256630.root", "READ"); + + // TFile *hfile1= new TFile("../PYTHON_runlist_test/Global_283884_1.root", "READ"); + // TFile *hfile1= new TFile("Global_test.root", "READ"); + + // TFile *hfile1= new TFile("LED_280702.root", "READ"); + // TFile *hfile2= new TFile("LED_287824.root", "READ"); + + // TFile *hfile1= new TFile("LED_284352.root", "READ"); + // TFile *hfile1= new TFile("LEDtest.root", "READ"); +// TFile *hfile1 = new TFile("Global_346445.root", "READ"); + + TFile *hfile1 = new TFile("Global_346511.root", "READ"); +// TH1D *hist1(nullptr); +// hist1 = (TH1D *)dir->FindObjectAny("h_mapDepth1_HE"); + + // TFile *hfile2= new TFile("LED_284902.root", "READ"); + // TFile *hfile2= new TFile("LED_284499.root", "READ"); + // TFile *hfile2= new TFile("LED_284352.root", "READ"); + + // TFile *hfile2= new TFile("LED_286590.root", "READ"); + + // getchar(); + // + TPostScript psfile("zlumiadcampltest.ps", 111); + + // + +// TCanvas *c1 = new TCanvas("c1", "Hcal4test", 200, 10, 700, 900); + TCanvas *c1 = new TCanvas("c1", "Hcal4test", 1000, 500); + + hfile1->ls(); + TDirectory *dir = (TDirectory *)hfile1->FindObjectAny(dirnm.c_str()); + + //========================================================================================== 1 + //====================================================================== + //====================================================================== + //================ + //====================================================================== + //+++++++++++++++++++++++++++++ + // Lumi iLumi and number of events + //+++++++++++++++++++++++++++++ + // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny + c1->Clear(); + c1->Divide(2, 1); + c1->cd(1); + TH1F *LumLum = (TH1F *)dir->FindObjectAny("h_lsnumber_per_eachLS"); + int MaxLumDanila = LumLum->GetBinContent(LumLum->GetMaximumBin()); // old variant of Danila + cout << " MaxLumDanila= " << MaxLumDanila << endl; +// gPad->SetGridy(); +// gPad->SetGridx(); + LumLum->SetMarkerStyle(21); + LumLum->SetMarkerSize(0.8); + LumLum->GetYaxis()->SetLabelSize(0.04); + LumLum->SetTitle("Cont. number per LS \b"); + LumLum->SetXTitle("Cont.number \b"); + LumLum->SetYTitle("Ls \b"); + LumLum->SetMarkerColor(4); + LumLum->SetLineColor(0); + LumLum->SetMinimum(0.8); + LumLum->GetXaxis()->SetRangeUser(0, MaxLumDanila+5.); + LumLum->Draw("Error"); + + c1->cd(2); + TH1F *LumiEv = (TH1F *)dir->FindObjectAny("h_nevents_per_eachRealLS"); + int MaxLum0 = LumiEv->GetBinContent(LumiEv->GetMaximumBin()); + int MaxLum = 0; + for (int i = 1; i <= LumiEv->GetXaxis()->GetNbins(); i++) { + if (LumiEv->GetBinContent(i)) { + MaxLum = i; + } + } + cout << " Nev in bin of MaxLum = " << MaxLum0 << " MaxLum= " << MaxLum << endl; + +// gPad->SetGridy(); +// gPad->SetGridx(); + gPad->SetLogy(); + // gPad->SetLogx(); + LumiEv->GetYaxis()->SetLabelSize(0.04); + LumiEv->SetTitle("Number of events per LS"); + LumiEv->SetXTitle("LS"); + LumiEv->SetYTitle("Number of events "); + LumiEv->SetMarkerStyle(21); + LumiEv->SetMarkerSize(0.8); + LumiEv->SetMarkerColor(4); + LumiEv->SetLineColor(0); + LumiEv->SetMinimum(0.8); + LumiEv->GetXaxis()->SetRangeUser(0, MaxLum+5.); + LumiEv->Draw("Error"); + + + + c1->Update(); +// cHB->Print("LumiEvent.png"); +// cHB->Clear(); + + + //========================================================================================== 2 + //====================================================================== + //====================================================================== + //================ + //====================================================================== + +// h_lsnumber_per_eachLS->Fill(float(lscounter), float(lumi)); +// h_nevents_per_eachLS->Fill(float(lscounter), float(nevcounter)); // +// h_nls_per_run->Fill(float(lscounterrun)); +// h_nevents_per_eachRealLS->Fill(float(lscounterM1), float(nevcounter)); // +// h_nevents_per_LS->Fill(float(nevcounter)); +// h_nevents_per_LSzoom->Fill(float(nevcounter)); +// h_nls_per_run10->Fill(float(lscounterrun10)); + + + c1->Clear(); + c1->Divide(2, 4); + + c1->cd(1); + TH1F *MilMil = (TH1F *)dir->FindObjectAny("h_lsnumber_per_eachLS"); + int MaxMilDanila = MilMil->GetBinContent(MilMil->GetMaximumBin()); // old variant of Danila + cout << " MaxMilDanila= " << MaxMilDanila << endl; +// gPad->SetGridy(); +// gPad->SetGridx(); + MilMil->GetYaxis()->SetLabelSize(0.04); + MilMil->SetTitle("Cont. number per LS \b"); + MilMil->SetXTitle("Cont.number \b"); + MilMil->SetYTitle("Ls \b"); + MilMil->SetMarkerStyle(20); + MilMil->SetMarkerSize(0.2); + MilMil->SetMarkerColor(4); + MilMil->SetLineColor(0); + MilMil->SetMinimum(0.8); + MilMil->GetXaxis()->SetRangeUser(0, MaxMilDanila); + MilMil->Draw("Error"); + + c1->cd(2); + TH1F *MiliEv = (TH1F *)dir->FindObjectAny("h_nevents_per_eachLS"); + int MaxMil0 = MiliEv->GetBinContent(MiliEv->GetMaximumBin()); + int MaxMil = 0; + for (int i = 1; i <= MiliEv->GetXaxis()->GetNbins(); i++) { + if (MiliEv->GetBinContent(i)) { + MaxMil = i; + } + } + cout << " MaxMil0= " << MaxMil0 << " MaxMil= " << MaxMil << endl; + +// gPad->SetGridy(); +// gPad->SetGridx(); + gPad->SetLogy(); + // gPad->SetLogx(); + MiliEv->GetYaxis()->SetLabelSize(0.04); + MiliEv->SetTitle("Number of events per LS"); + MiliEv->SetXTitle("LS"); + MiliEv->SetYTitle("Number of events "); + MiliEv->SetMarkerStyle(20); + MiliEv->SetMarkerSize(0.2); + MiliEv->SetMarkerColor(4); + MiliEv->SetLineColor(0); + // MiliEv->SetMinimum(0.8); + MiliEv->GetXaxis()->SetRangeUser(0, MaxMil); + MiliEv->Draw("Error"); + + c1->cd(3); + TH1F *GiriEv = (TH1F *)dir->FindObjectAny("h_nls_per_run"); + int MaxGir0 = GiriEv->GetBinContent(GiriEv->GetMaximumBin()); + int MaxGir = 0; + for (int i = 1; i <= GiriEv->GetXaxis()->GetNbins(); i++) { + if (GiriEv->GetBinContent(i)) { + MaxGir = i; + } + } + cout << "nls_per_run = " << MaxGir0 << " Maxnls_per_run= " << MaxGir << endl; + +// gPad->SetGridy(); +// gPad->SetGridx(); +// gPad->SetLogy(); + // gPad->SetLogx(); + GiriEv->GetYaxis()->SetLabelSize(0.04); + GiriEv->SetTitle("Number of LS per run"); + GiriEv->SetXTitle("irun"); + GiriEv->SetYTitle("Number of LS "); + GiriEv->SetMarkerStyle(20); + GiriEv->SetMarkerSize(0.8); + GiriEv->SetMarkerColor(4); + GiriEv->SetLineColor(0); + // GiriEv->SetMinimum(0.8); + GiriEv->GetXaxis()->SetRangeUser(0, MaxGir); + GiriEv->Draw("Error"); + + c1->cd(4); + TH1F *SumiEv = (TH1F *)dir->FindObjectAny("h_nevents_per_eachRealLS"); + int MaxSum0 = SumiEv->GetBinContent(SumiEv->GetMaximumBin()); + int MaxSum = 0; + for (int i = 1; i <= SumiEv->GetXaxis()->GetNbins(); i++) { + if (SumiEv->GetBinContent(i)) { + MaxSum = i; + } + } + cout << " MaxSum0= " << MaxSum0 << " MaxSum= " << MaxSum << endl; + + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogy(); + // gPad->SetLogx(); + SumiEv->GetYaxis()->SetLabelSize(0.04); + SumiEv->SetTitle("Number of events per RealLS"); + SumiEv->SetXTitle("LS"); + SumiEv->SetYTitle("Number of events "); + SumiEv->SetMarkerStyle(20); + SumiEv->SetMarkerSize(0.2); + SumiEv->SetMarkerColor(4); + SumiEv->SetLineColor(0); + // SumiEv->SetMinimum(0.8); + SumiEv->GetXaxis()->SetRangeUser(0, MaxSum); + SumiEv->Draw("Error"); + + c1->cd(5); + TH1F *TiriEv = (TH1F *)dir->FindObjectAny("h_nevents_per_LS"); + int MaxTir0 = TiriEv->GetBinContent(TiriEv->GetMaximumBin()); + int MaxTir = 0; + for (int i = 1; i <= TiriEv->GetXaxis()->GetNbins(); i++) { + if (TiriEv->GetBinContent(i)) { + MaxTir = i; + } + } + cout << " MaxTir0= " << MaxTir0 << " MaxTir= " << MaxTir << endl; + + TiriEv->GetYaxis()->SetLabelSize(0.04); + TiriEv->SetTitle("Number of events per LS"); + TiriEv->SetXTitle("LS"); + TiriEv->SetYTitle("Number of events "); + TiriEv->SetMarkerStyle(20); + TiriEv->SetMarkerSize(0.8); + TiriEv->SetMarkerColor(4); + TiriEv->SetLineColor(0); + // TiriEv->SetMinimum(0.8); + TiriEv->GetXaxis()->SetRangeUser(0, MaxTir); + TiriEv->Draw("Error"); + + c1->cd(6); + TH1F *MasiEv = (TH1F *)dir->FindObjectAny("h_nevents_per_LSzoom"); + int MaxMas0 = MasiEv->GetBinContent(MasiEv->GetMaximumBin()); + int MaxMas = 0; + for (int i = 1; i <= MasiEv->GetXaxis()->GetNbins(); i++) { + if (MasiEv->GetBinContent(i)) { + MaxMas = i; + } + } + cout << " MaxMas0= " << MaxMas0 << " MaxMas= " << MaxMas << endl; + + MasiEv->GetYaxis()->SetLabelSize(0.04); + MasiEv->SetTitle("Number of events per LS"); + MasiEv->SetXTitle("LS"); + MasiEv->SetYTitle("Number of events "); + MasiEv->SetMarkerStyle(20); + MasiEv->SetMarkerSize(0.8); + MasiEv->SetMarkerColor(4); + MasiEv->SetLineColor(0); + // MasiEv->SetMinimum(0.8); + MasiEv->GetXaxis()->SetRangeUser(0, MaxMas); + MasiEv->Draw("Error"); + + c1->cd(7); + TH1F *LediEv = (TH1F *)dir->FindObjectAny("h_nls_per_run10"); + int MaxLed0 = LediEv->GetBinContent(LediEv->GetMaximumBin()); + int MaxLed = 0; + for (int i = 1; i <= LediEv->GetXaxis()->GetNbins(); i++) { + if (LediEv->GetBinContent(i)) { + MaxLed = i; + } + } + cout << " NlsPERrun= " << MaxLed0 << " MaxbinHisto= " << MaxLed << endl; + + LediEv->GetYaxis()->SetLabelSize(0.04); + LediEv->SetTitle("Number of ls(ev>10) per run"); + LediEv->SetXTitle("run"); + LediEv->SetYTitle("Number of ls "); + LediEv->SetMarkerStyle(20); + LediEv->SetMarkerSize(0.8); + LediEv->SetMarkerColor(4); + LediEv->SetLineColor(0); + // LediEv->SetMinimum(0.8); + LediEv->GetXaxis()->SetRangeUser(0, MaxLed); + LediEv->Draw("Error"); + + + c1->Update(); + + //====================================================================== + //==================================================================================================== end + //====================================================================== + //====================================================================== + // close and delete all possible things: + + // psfile->Close(); + psfile.Close(); + + hfile1->Close(); + // hfile1->Delete(); + hfile1->Close(); + // hfile1->Delete(); + + // Exit Root + gSystem->Exit(0); + //====================================================================== +} diff --git a/DPGAnalysis/HcalTools/macros/psm/LogEleMapdb.h b/DPGAnalysis/HcalTools/macros/psm/LogEleMapdb.h new file mode 100644 index 0000000000000..66856d577f55c --- /dev/null +++ b/DPGAnalysis/HcalTools/macros/psm/LogEleMapdb.h @@ -0,0 +1,14763 @@ +#define LogEleMapdb_h +#include +#include +#include +#include +#include + +struct Cell { + std::string subdet; + int Eta; + int Phi; + int Depth; + std::string RBX; + int RM; + int Pixel; + int RMfiber; + int FiberCh; + int QIE; + int ADC; + int VMECardID; + int dccID; + int Spigot; + int FiberIndex; + int HtrSlot; + int HtrTB; + + // the function check, if "par" == "val" for this cell + bool check(const std::string par, const int val) const { + if (par == "Eta") + return (val == Eta); + else if (par == "Phi") + return (val == Phi); + else if (par == "Depth") + return (val == Depth); + else if (par == "RM") + return (val == RM); + else if (par == "Pixel") + return (val == Pixel); + else if (par == "RMfiber") + return (val == RMfiber); + else if (par == "FiberCh") + return (val == FiberCh); + else if (par == "QIE") + return (val == QIE); + else if (par == "ADC") + return (val == ADC); + else if (par == "VMECardID") + return (val == VMECardID); + else if (par == "dccID") + return (val == dccID); + else if (par == "Spigot") + return (val == Spigot); + else if (par == "FiberIndex") + return (val == FiberIndex); + else if (par == "HtrSlot") + return (val == HtrSlot); + else if (par == "HtrTB") + return (val == HtrTB); + else + return false; + } + + bool check(const std::string par, const std::string val) const { + if (par == "subdet") + return (val == subdet); + else if (par == "RBX") + return (val == RBX); + else + return false; + } +}; + +const Cell AllCells[] = { + //{ SD, Eta, Phi, Depth, RBX, RM, PIXEL, RMfiber, Fiber Ch., QIE, ADC, VMECrateId, dccid, spigot, fiberIndex, htrSlot, htrTopBottom } + {"HB", -16, 0, 1, "HBM01", 2, 19, 3, 2, 1, 3, 10, 16, 9, 4, 6, 0}, + {"HB", -16, 0, 2, "HBM01", 2, 17, 2, 0, 1, 0, 10, 16, 9, 3, 6, 0}, + {"HB", -16, 1, 1, "HBM01", 1, 17, 3, 2, 1, 3, 10, 16, 9, 2, 6, 0}, + {"HB", -16, 1, 2, "HBM01", 1, 18, 2, 0, 1, 0, 10, 16, 9, 1, 6, 0}, + {"HB", -16, 2, 1, "HBM02", 4, 3, 3, 2, 1, 3, 4, 0, 2, 4, 3, 1}, + {"HB", -16, 2, 2, "HBM02", 4, 2, 2, 0, 1, 0, 4, 0, 2, 3, 3, 1}, + {"HB", -16, 3, 1, "HBM02", 3, 1, 3, 2, 1, 3, 4, 0, 2, 2, 3, 1}, + {"HB", -16, 3, 2, "HBM02", 3, 3, 2, 0, 1, 0, 4, 0, 2, 1, 3, 1}, + {"HB", -16, 4, 1, "HBM02", 2, 19, 3, 2, 1, 3, 4, 0, 3, 4, 3, 0}, + {"HB", -16, 4, 2, "HBM02", 2, 17, 2, 0, 1, 0, 4, 0, 3, 3, 3, 0}, + {"HB", -16, 5, 1, "HBM02", 1, 17, 3, 2, 1, 3, 4, 0, 3, 2, 3, 0}, + {"HB", -16, 5, 2, "HBM02", 1, 18, 2, 0, 1, 0, 4, 0, 3, 1, 3, 0}, + {"HB", -16, 6, 1, "HBM03", 4, 3, 3, 2, 1, 3, 4, 0, 8, 4, 6, 1}, + {"HB", -16, 6, 2, "HBM03", 4, 2, 2, 0, 1, 0, 4, 0, 8, 3, 6, 1}, + {"HB", -16, 7, 1, "HBM03", 3, 1, 3, 2, 1, 3, 4, 0, 8, 2, 6, 1}, + {"HB", -16, 7, 2, "HBM03", 3, 3, 2, 0, 1, 0, 4, 0, 8, 1, 6, 1}, + {"HB", -16, 8, 1, "HBM03", 2, 19, 3, 2, 1, 3, 4, 0, 9, 4, 6, 0}, + {"HB", -16, 8, 2, "HBM03", 2, 17, 2, 0, 1, 0, 4, 0, 9, 3, 6, 0}, + {"HB", -16, 9, 1, "HBM03", 1, 17, 3, 2, 1, 3, 4, 0, 9, 2, 6, 0}, + {"HB", -16, 9, 2, "HBM03", 1, 18, 2, 0, 1, 0, 4, 0, 9, 1, 6, 0}, + {"HB", -16, 10, 1, "HBM04", 4, 3, 3, 2, 1, 3, 0, 2, 2, 4, 3, 1}, + {"HB", -16, 10, 2, "HBM04", 4, 2, 2, 0, 1, 0, 0, 2, 2, 3, 3, 1}, + {"HB", -16, 11, 1, "HBM04", 3, 1, 3, 2, 1, 3, 0, 2, 2, 2, 3, 1}, + {"HB", -16, 11, 2, "HBM04", 3, 3, 2, 0, 1, 0, 0, 2, 2, 1, 3, 1}, + {"HB", -16, 12, 1, "HBM04", 2, 19, 3, 2, 1, 3, 0, 2, 3, 4, 3, 0}, + {"HB", -16, 12, 2, "HBM04", 2, 17, 2, 0, 1, 0, 0, 2, 3, 3, 3, 0}, + {"HB", -16, 13, 1, "HBM04", 1, 17, 3, 2, 1, 3, 0, 2, 3, 2, 3, 0}, + {"HB", -16, 13, 2, "HBM04", 1, 18, 2, 0, 1, 0, 0, 2, 3, 1, 3, 0}, + {"HB", -16, 14, 1, "HBM05", 4, 3, 3, 2, 1, 3, 0, 2, 8, 4, 6, 1}, + {"HB", -16, 14, 2, "HBM05", 4, 2, 2, 0, 1, 0, 0, 2, 8, 3, 6, 1}, + {"HB", -16, 15, 1, "HBM05", 3, 1, 3, 2, 1, 3, 0, 2, 8, 2, 6, 1}, + {"HB", -16, 15, 2, "HBM05", 3, 3, 2, 0, 1, 0, 0, 2, 8, 1, 6, 1}, + {"HB", -16, 16, 1, "HBM05", 2, 19, 3, 2, 1, 3, 0, 2, 9, 4, 6, 0}, + {"HB", -16, 16, 2, "HBM05", 2, 17, 2, 0, 1, 0, 0, 2, 9, 3, 6, 0}, + {"HB", -16, 17, 1, "HBM05", 1, 17, 3, 2, 1, 3, 0, 2, 9, 2, 6, 0}, + {"HB", -16, 17, 2, "HBM05", 1, 18, 2, 0, 1, 0, 0, 2, 9, 1, 6, 0}, + {"HB", -16, 18, 1, "HBM06", 4, 3, 3, 2, 1, 3, 1, 4, 2, 4, 3, 1}, + {"HB", -16, 18, 2, "HBM06", 4, 2, 2, 0, 1, 0, 1, 4, 2, 3, 3, 1}, + {"HB", -16, 19, 1, "HBM06", 3, 1, 3, 2, 1, 3, 1, 4, 2, 2, 3, 1}, + {"HB", -16, 19, 2, "HBM06", 3, 3, 2, 0, 1, 0, 1, 4, 2, 1, 3, 1}, + {"HB", -16, 20, 1, "HBM06", 2, 19, 3, 2, 1, 3, 1, 4, 3, 4, 3, 0}, + {"HB", -16, 20, 2, "HBM06", 2, 17, 2, 0, 1, 0, 1, 4, 3, 3, 3, 0}, + {"HB", -16, 21, 1, "HBM06", 1, 17, 3, 2, 1, 3, 1, 4, 3, 2, 3, 0}, + {"HB", -16, 21, 2, "HBM06", 1, 18, 2, 0, 1, 0, 1, 4, 3, 1, 3, 0}, + {"HB", -16, 22, 1, "HBM07", 4, 3, 3, 2, 1, 3, 1, 4, 8, 4, 6, 1}, + {"HB", -16, 22, 2, "HBM07", 4, 2, 2, 0, 1, 0, 1, 4, 8, 3, 6, 1}, + {"HB", -16, 23, 1, "HBM07", 3, 1, 3, 2, 1, 3, 1, 4, 8, 2, 6, 1}, + {"HB", -16, 23, 2, "HBM07", 3, 3, 2, 0, 1, 0, 1, 4, 8, 1, 6, 1}, + {"HB", -16, 24, 1, "HBM07", 2, 19, 3, 2, 1, 3, 1, 4, 9, 4, 6, 0}, + {"HB", -16, 24, 2, "HBM07", 2, 17, 2, 0, 1, 0, 1, 4, 9, 3, 6, 0}, + {"HB", -16, 25, 1, "HBM07", 1, 17, 3, 2, 1, 3, 1, 4, 9, 2, 6, 0}, + {"HB", -16, 25, 2, "HBM07", 1, 18, 2, 0, 1, 0, 1, 4, 9, 1, 6, 0}, + {"HB", -16, 26, 1, "HBM08", 4, 3, 3, 2, 1, 3, 5, 6, 2, 4, 3, 1}, + {"HB", -16, 26, 2, "HBM08", 4, 2, 2, 0, 1, 0, 5, 6, 2, 3, 3, 1}, + {"HB", -16, 27, 1, "HBM08", 3, 1, 3, 2, 1, 3, 5, 6, 2, 2, 3, 1}, + {"HB", -16, 27, 2, "HBM08", 3, 3, 2, 0, 1, 0, 5, 6, 2, 1, 3, 1}, + {"HB", -16, 28, 1, "HBM08", 2, 19, 3, 2, 1, 3, 5, 6, 3, 4, 3, 0}, + {"HB", -16, 28, 2, "HBM08", 2, 17, 2, 0, 1, 0, 5, 6, 3, 3, 3, 0}, + {"HB", -16, 29, 1, "HBM08", 1, 17, 3, 2, 1, 3, 5, 6, 3, 2, 3, 0}, + {"HB", -16, 29, 2, "HBM08", 1, 18, 2, 0, 1, 0, 5, 6, 3, 1, 3, 0}, + {"HB", -16, 30, 1, "HBM09", 4, 3, 3, 2, 1, 3, 5, 6, 8, 4, 6, 1}, + {"HB", -16, 30, 2, "HBM09", 4, 2, 2, 0, 1, 0, 5, 6, 8, 3, 6, 1}, + {"HB", -16, 31, 1, "HBM09", 3, 1, 3, 2, 1, 3, 5, 6, 8, 2, 6, 1}, + {"HB", -16, 31, 2, "HBM09", 3, 3, 2, 0, 1, 0, 5, 6, 8, 1, 6, 1}, + {"HB", -16, 32, 1, "HBM09", 2, 19, 3, 2, 1, 3, 5, 6, 9, 4, 6, 0}, + {"HB", -16, 32, 2, "HBM09", 2, 17, 2, 0, 1, 0, 5, 6, 9, 3, 6, 0}, + {"HB", -16, 33, 1, "HBM09", 1, 17, 3, 2, 1, 3, 5, 6, 9, 2, 6, 0}, + {"HB", -16, 33, 2, "HBM09", 1, 18, 2, 0, 1, 0, 5, 6, 9, 1, 6, 0}, + {"HB", -16, 34, 1, "HBM10", 4, 3, 3, 2, 1, 3, 11, 8, 2, 4, 3, 1}, + {"HB", -16, 34, 2, "HBM10", 4, 2, 2, 0, 1, 0, 11, 8, 2, 3, 3, 1}, + {"HB", -16, 35, 1, "HBM10", 3, 1, 3, 2, 1, 3, 11, 8, 2, 2, 3, 1}, + {"HB", -16, 35, 2, "HBM10", 3, 3, 2, 0, 1, 0, 11, 8, 2, 1, 3, 1}, + {"HB", -16, 36, 1, "HBM10", 2, 19, 3, 2, 1, 3, 11, 8, 3, 4, 3, 0}, + {"HB", -16, 36, 2, "HBM10", 2, 17, 2, 0, 1, 0, 11, 8, 3, 3, 3, 0}, + {"HB", -16, 37, 1, "HBM10", 1, 17, 3, 2, 1, 3, 11, 8, 3, 2, 3, 0}, + {"HB", -16, 37, 2, "HBM10", 1, 18, 2, 0, 1, 0, 11, 8, 3, 1, 3, 0}, + {"HB", -16, 38, 1, "HBM11", 4, 3, 3, 2, 1, 3, 11, 8, 8, 4, 6, 1}, + {"HB", -16, 38, 2, "HBM11", 4, 2, 2, 0, 1, 0, 11, 8, 8, 3, 6, 1}, + {"HB", -16, 39, 1, "HBM11", 3, 1, 3, 2, 1, 3, 11, 8, 8, 2, 6, 1}, + {"HB", -16, 39, 2, "HBM11", 3, 3, 2, 0, 1, 0, 11, 8, 8, 1, 6, 1}, + {"HB", -16, 40, 1, "HBM11", 2, 19, 3, 2, 1, 3, 11, 8, 9, 4, 6, 0}, + {"HB", -16, 40, 2, "HBM11", 2, 17, 2, 0, 1, 0, 11, 8, 9, 3, 6, 0}, + {"HB", -16, 41, 1, "HBM11", 1, 17, 3, 2, 1, 3, 11, 8, 9, 2, 6, 0}, + {"HB", -16, 41, 2, "HBM11", 1, 18, 2, 0, 1, 0, 11, 8, 9, 1, 6, 0}, + {"HB", -16, 42, 1, "HBM12", 4, 3, 3, 2, 1, 3, 15, 10, 2, 4, 3, 1}, + {"HB", -16, 42, 2, "HBM12", 4, 2, 2, 0, 1, 0, 15, 10, 2, 3, 3, 1}, + {"HB", -16, 43, 1, "HBM12", 3, 1, 3, 2, 1, 3, 15, 10, 2, 2, 3, 1}, + {"HB", -16, 43, 2, "HBM12", 3, 3, 2, 0, 1, 0, 15, 10, 2, 1, 3, 1}, + {"HB", -16, 44, 1, "HBM12", 2, 19, 3, 2, 1, 3, 15, 10, 3, 4, 3, 0}, + {"HB", -16, 44, 2, "HBM12", 2, 17, 2, 0, 1, 0, 15, 10, 3, 3, 3, 0}, + {"HB", -16, 45, 1, "HBM12", 1, 17, 3, 2, 1, 3, 15, 10, 3, 2, 3, 0}, + {"HB", -16, 45, 2, "HBM12", 1, 18, 2, 0, 1, 0, 15, 10, 3, 1, 3, 0}, + {"HB", -16, 46, 1, "HBM13", 4, 3, 3, 2, 1, 3, 15, 10, 8, 4, 6, 1}, + {"HB", -16, 46, 2, "HBM13", 4, 2, 2, 0, 1, 0, 15, 10, 8, 3, 6, 1}, + {"HB", -16, 47, 1, "HBM13", 3, 1, 3, 2, 1, 3, 15, 10, 8, 2, 6, 1}, + {"HB", -16, 47, 2, "HBM13", 3, 3, 2, 0, 1, 0, 15, 10, 8, 1, 6, 1}, + {"HB", -16, 48, 1, "HBM13", 2, 19, 3, 2, 1, 3, 15, 10, 9, 4, 6, 0}, + {"HB", -16, 48, 2, "HBM13", 2, 17, 2, 0, 1, 0, 15, 10, 9, 3, 6, 0}, + {"HB", -16, 49, 1, "HBM13", 1, 17, 3, 2, 1, 3, 15, 10, 9, 2, 6, 0}, + {"HB", -16, 49, 2, "HBM13", 1, 18, 2, 0, 1, 0, 15, 10, 9, 1, 6, 0}, + {"HB", -16, 50, 1, "HBM14", 4, 3, 3, 2, 1, 3, 17, 12, 2, 4, 3, 1}, + {"HB", -16, 50, 2, "HBM14", 4, 2, 2, 0, 1, 0, 17, 12, 2, 3, 3, 1}, + {"HB", -16, 51, 1, "HBM14", 3, 1, 3, 2, 1, 3, 17, 12, 2, 2, 3, 1}, + {"HB", -16, 51, 2, "HBM14", 3, 3, 2, 0, 1, 0, 17, 12, 2, 1, 3, 1}, + {"HB", -16, 52, 1, "HBM14", 2, 19, 3, 2, 1, 3, 17, 12, 3, 4, 3, 0}, + {"HB", -16, 52, 2, "HBM14", 2, 17, 2, 0, 1, 0, 17, 12, 3, 3, 3, 0}, + {"HB", -16, 53, 1, "HBM14", 1, 17, 3, 2, 1, 3, 17, 12, 3, 2, 3, 0}, + {"HB", -16, 53, 2, "HBM14", 1, 18, 2, 0, 1, 0, 17, 12, 3, 1, 3, 0}, + {"HB", -16, 54, 1, "HBM15", 4, 3, 3, 2, 1, 3, 17, 12, 8, 4, 6, 1}, + {"HB", -16, 54, 2, "HBM15", 4, 2, 2, 0, 1, 0, 17, 12, 8, 3, 6, 1}, + {"HB", -16, 55, 1, "HBM15", 3, 1, 3, 2, 1, 3, 17, 12, 8, 2, 6, 1}, + {"HB", -16, 55, 2, "HBM15", 3, 3, 2, 0, 1, 0, 17, 12, 8, 1, 6, 1}, + {"HB", -16, 56, 1, "HBM15", 2, 19, 3, 2, 1, 3, 17, 12, 9, 4, 6, 0}, + {"HB", -16, 56, 2, "HBM15", 2, 17, 2, 0, 1, 0, 17, 12, 9, 3, 6, 0}, + {"HB", -16, 57, 1, "HBM15", 1, 17, 3, 2, 1, 3, 17, 12, 9, 2, 6, 0}, + {"HB", -16, 57, 2, "HBM15", 1, 18, 2, 0, 1, 0, 17, 12, 9, 1, 6, 0}, + {"HB", -16, 58, 1, "HBM16", 4, 3, 3, 2, 1, 3, 14, 14, 2, 4, 3, 1}, + {"HB", -16, 58, 2, "HBM16", 4, 2, 2, 0, 1, 0, 14, 14, 2, 3, 3, 1}, + {"HB", -16, 59, 1, "HBM16", 3, 1, 3, 2, 1, 3, 14, 14, 2, 2, 3, 1}, + {"HB", -16, 59, 2, "HBM16", 3, 3, 2, 0, 1, 0, 14, 14, 2, 1, 3, 1}, + {"HB", -16, 60, 1, "HBM16", 2, 19, 3, 2, 1, 3, 14, 14, 3, 4, 3, 0}, + {"HB", -16, 60, 2, "HBM16", 2, 17, 2, 0, 1, 0, 14, 14, 3, 3, 3, 0}, + {"HB", -16, 61, 1, "HBM16", 1, 17, 3, 2, 1, 3, 14, 14, 3, 2, 3, 0}, + {"HB", -16, 61, 2, "HBM16", 1, 18, 2, 0, 1, 0, 14, 14, 3, 1, 3, 0}, + {"HB", -16, 62, 1, "HBM17", 4, 3, 3, 2, 1, 3, 14, 14, 8, 4, 6, 1}, + {"HB", -16, 62, 2, "HBM17", 4, 2, 2, 0, 1, 0, 14, 14, 8, 3, 6, 1}, + {"HB", -16, 63, 1, "HBM17", 3, 1, 3, 2, 1, 3, 14, 14, 8, 2, 6, 1}, + {"HB", -16, 63, 2, "HBM17", 3, 3, 2, 0, 1, 0, 14, 14, 8, 1, 6, 1}, + {"HB", -16, 64, 1, "HBM17", 2, 19, 3, 2, 1, 3, 14, 14, 9, 4, 6, 0}, + {"HB", -16, 64, 2, "HBM17", 2, 17, 2, 0, 1, 0, 14, 14, 9, 3, 6, 0}, + {"HB", -16, 65, 1, "HBM17", 1, 17, 3, 2, 1, 3, 14, 14, 9, 2, 6, 0}, + {"HB", -16, 65, 2, "HBM17", 1, 18, 2, 0, 1, 0, 14, 14, 9, 1, 6, 0}, + {"HB", -16, 66, 1, "HBM18", 4, 3, 3, 2, 1, 3, 10, 16, 2, 4, 3, 1}, + {"HB", -16, 66, 2, "HBM18", 4, 2, 2, 0, 1, 0, 10, 16, 2, 3, 3, 1}, + {"HB", -16, 67, 1, "HBM18", 3, 1, 3, 2, 1, 3, 10, 16, 2, 2, 3, 1}, + {"HB", -16, 67, 2, "HBM18", 3, 3, 2, 0, 1, 0, 10, 16, 2, 1, 3, 1}, + {"HB", -16, 68, 1, "HBM18", 2, 19, 3, 2, 1, 3, 10, 16, 3, 4, 3, 0}, + {"HB", -16, 68, 2, "HBM18", 2, 17, 2, 0, 1, 0, 10, 16, 3, 3, 3, 0}, + {"HB", -16, 69, 1, "HBM18", 1, 17, 3, 2, 1, 3, 10, 16, 3, 2, 3, 0}, + {"HB", -16, 69, 2, "HBM18", 1, 18, 2, 0, 1, 0, 10, 16, 3, 1, 3, 0}, + {"HB", -16, 70, 1, "HBM01", 4, 3, 3, 2, 1, 3, 10, 16, 8, 4, 6, 1}, + {"HB", -16, 70, 2, "HBM01", 4, 2, 2, 0, 1, 0, 10, 16, 8, 3, 6, 1}, + {"HB", -16, 71, 1, "HBM01", 3, 1, 3, 2, 1, 3, 10, 16, 8, 2, 6, 1}, + {"HB", -16, 71, 2, "HBM01", 3, 3, 2, 0, 1, 0, 10, 16, 8, 1, 6, 1}, + {"HB", -15, 0, 1, "HBM01", 2, 2, 3, 0, 1, 4, 10, 16, 9, 4, 6, 0}, + {"HB", -15, 0, 2, "HBM01", 2, 3, 2, 1, 1, 1, 10, 16, 9, 3, 6, 0}, + {"HB", -15, 1, 1, "HBM01", 1, 19, 3, 0, 1, 4, 10, 16, 9, 2, 6, 0}, + {"HB", -15, 1, 2, "HBM01", 1, 13, 2, 1, 1, 1, 10, 16, 9, 1, 6, 0}, + {"HB", -15, 2, 1, "HBM02", 4, 1, 3, 0, 1, 4, 4, 0, 2, 4, 3, 1}, + {"HB", -15, 2, 2, "HBM02", 4, 7, 2, 1, 1, 1, 4, 0, 2, 3, 3, 1}, + {"HB", -15, 3, 1, "HBM02", 3, 18, 3, 0, 1, 4, 4, 0, 2, 2, 3, 1}, + {"HB", -15, 3, 2, "HBM02", 3, 17, 2, 1, 1, 1, 4, 0, 2, 1, 3, 1}, + {"HB", -15, 4, 1, "HBM02", 2, 2, 3, 0, 1, 4, 4, 0, 3, 4, 3, 0}, + {"HB", -15, 4, 2, "HBM02", 2, 3, 2, 1, 1, 1, 4, 0, 3, 3, 3, 0}, + {"HB", -15, 5, 1, "HBM02", 1, 19, 3, 0, 1, 4, 4, 0, 3, 2, 3, 0}, + {"HB", -15, 5, 2, "HBM02", 1, 13, 2, 1, 1, 1, 4, 0, 3, 1, 3, 0}, + {"HB", -15, 6, 1, "HBM03", 4, 1, 3, 0, 1, 4, 4, 0, 8, 4, 6, 1}, + {"HB", -15, 6, 2, "HBM03", 4, 7, 2, 1, 1, 1, 4, 0, 8, 3, 6, 1}, + {"HB", -15, 7, 1, "HBM03", 3, 18, 3, 0, 1, 4, 4, 0, 8, 2, 6, 1}, + {"HB", -15, 7, 2, "HBM03", 3, 17, 2, 1, 1, 1, 4, 0, 8, 1, 6, 1}, + {"HB", -15, 8, 1, "HBM03", 2, 2, 3, 0, 1, 4, 4, 0, 9, 4, 6, 0}, + {"HB", -15, 8, 2, "HBM03", 2, 3, 2, 1, 1, 1, 4, 0, 9, 3, 6, 0}, + {"HB", -15, 9, 1, "HBM03", 1, 19, 3, 0, 1, 4, 4, 0, 9, 2, 6, 0}, + {"HB", -15, 9, 2, "HBM03", 1, 13, 2, 1, 1, 1, 4, 0, 9, 1, 6, 0}, + {"HB", -15, 10, 1, "HBM04", 4, 1, 3, 0, 1, 4, 0, 2, 2, 4, 3, 1}, + {"HB", -15, 10, 2, "HBM04", 4, 7, 2, 1, 1, 1, 0, 2, 2, 3, 3, 1}, + {"HB", -15, 11, 1, "HBM04", 3, 18, 3, 0, 1, 4, 0, 2, 2, 2, 3, 1}, + {"HB", -15, 11, 2, "HBM04", 3, 17, 2, 1, 1, 1, 0, 2, 2, 1, 3, 1}, + {"HB", -15, 12, 1, "HBM04", 2, 2, 3, 0, 1, 4, 0, 2, 3, 4, 3, 0}, + {"HB", -15, 12, 2, "HBM04", 2, 3, 2, 1, 1, 1, 0, 2, 3, 3, 3, 0}, + {"HB", -15, 13, 1, "HBM04", 1, 19, 3, 0, 1, 4, 0, 2, 3, 2, 3, 0}, + {"HB", -15, 13, 2, "HBM04", 1, 13, 2, 1, 1, 1, 0, 2, 3, 1, 3, 0}, + {"HB", -15, 14, 1, "HBM05", 4, 1, 3, 0, 1, 4, 0, 2, 8, 4, 6, 1}, + {"HB", -15, 14, 2, "HBM05", 4, 7, 2, 1, 1, 1, 0, 2, 8, 3, 6, 1}, + {"HB", -15, 15, 1, "HBM05", 3, 18, 3, 0, 1, 4, 0, 2, 8, 2, 6, 1}, + {"HB", -15, 15, 2, "HBM05", 3, 17, 2, 1, 1, 1, 0, 2, 8, 1, 6, 1}, + {"HB", -15, 16, 1, "HBM05", 2, 2, 3, 0, 1, 4, 0, 2, 9, 4, 6, 0}, + {"HB", -15, 16, 2, "HBM05", 2, 3, 2, 1, 1, 1, 0, 2, 9, 3, 6, 0}, + {"HB", -15, 17, 1, "HBM05", 1, 19, 3, 0, 1, 4, 0, 2, 9, 2, 6, 0}, + {"HB", -15, 17, 2, "HBM05", 1, 13, 2, 1, 1, 1, 0, 2, 9, 1, 6, 0}, + {"HB", -15, 18, 1, "HBM06", 4, 1, 3, 0, 1, 4, 1, 4, 2, 4, 3, 1}, + {"HB", -15, 18, 2, "HBM06", 4, 7, 2, 1, 1, 1, 1, 4, 2, 3, 3, 1}, + {"HB", -15, 19, 1, "HBM06", 3, 18, 3, 0, 1, 4, 1, 4, 2, 2, 3, 1}, + {"HB", -15, 19, 2, "HBM06", 3, 17, 2, 1, 1, 1, 1, 4, 2, 1, 3, 1}, + {"HB", -15, 20, 1, "HBM06", 2, 2, 3, 0, 1, 4, 1, 4, 3, 4, 3, 0}, + {"HB", -15, 20, 2, "HBM06", 2, 3, 2, 1, 1, 1, 1, 4, 3, 3, 3, 0}, + {"HB", -15, 21, 1, "HBM06", 1, 19, 3, 0, 1, 4, 1, 4, 3, 2, 3, 0}, + {"HB", -15, 21, 2, "HBM06", 1, 13, 2, 1, 1, 1, 1, 4, 3, 1, 3, 0}, + {"HB", -15, 22, 1, "HBM07", 4, 1, 3, 0, 1, 4, 1, 4, 8, 4, 6, 1}, + {"HB", -15, 22, 2, "HBM07", 4, 7, 2, 1, 1, 1, 1, 4, 8, 3, 6, 1}, + {"HB", -15, 23, 1, "HBM07", 3, 18, 3, 0, 1, 4, 1, 4, 8, 2, 6, 1}, + {"HB", -15, 23, 2, "HBM07", 3, 17, 2, 1, 1, 1, 1, 4, 8, 1, 6, 1}, + {"HB", -15, 24, 1, "HBM07", 2, 2, 3, 0, 1, 4, 1, 4, 9, 4, 6, 0}, + {"HB", -15, 24, 2, "HBM07", 2, 3, 2, 1, 1, 1, 1, 4, 9, 3, 6, 0}, + {"HB", -15, 25, 1, "HBM07", 1, 19, 3, 0, 1, 4, 1, 4, 9, 2, 6, 0}, + {"HB", -15, 25, 2, "HBM07", 1, 13, 2, 1, 1, 1, 1, 4, 9, 1, 6, 0}, + {"HB", -15, 26, 1, "HBM08", 4, 1, 3, 0, 1, 4, 5, 6, 2, 4, 3, 1}, + {"HB", -15, 26, 2, "HBM08", 4, 7, 2, 1, 1, 1, 5, 6, 2, 3, 3, 1}, + {"HB", -15, 27, 1, "HBM08", 3, 18, 3, 0, 1, 4, 5, 6, 2, 2, 3, 1}, + {"HB", -15, 27, 2, "HBM08", 3, 17, 2, 1, 1, 1, 5, 6, 2, 1, 3, 1}, + {"HB", -15, 28, 1, "HBM08", 2, 2, 3, 0, 1, 4, 5, 6, 3, 4, 3, 0}, + {"HB", -15, 28, 2, "HBM08", 2, 3, 2, 1, 1, 1, 5, 6, 3, 3, 3, 0}, + {"HB", -15, 29, 1, "HBM08", 1, 19, 3, 0, 1, 4, 5, 6, 3, 2, 3, 0}, + {"HB", -15, 29, 2, "HBM08", 1, 13, 2, 1, 1, 1, 5, 6, 3, 1, 3, 0}, + {"HB", -15, 30, 1, "HBM09", 4, 1, 3, 0, 1, 4, 5, 6, 8, 4, 6, 1}, + {"HB", -15, 30, 2, "HBM09", 4, 7, 2, 1, 1, 1, 5, 6, 8, 3, 6, 1}, + {"HB", -15, 31, 1, "HBM09", 3, 18, 3, 0, 1, 4, 5, 6, 8, 2, 6, 1}, + {"HB", -15, 31, 2, "HBM09", 3, 17, 2, 1, 1, 1, 5, 6, 8, 1, 6, 1}, + {"HB", -15, 32, 1, "HBM09", 2, 2, 3, 0, 1, 4, 5, 6, 9, 4, 6, 0}, + {"HB", -15, 32, 2, "HBM09", 2, 3, 2, 1, 1, 1, 5, 6, 9, 3, 6, 0}, + {"HB", -15, 33, 1, "HBM09", 1, 19, 3, 0, 1, 4, 5, 6, 9, 2, 6, 0}, + {"HB", -15, 33, 2, "HBM09", 1, 13, 2, 1, 1, 1, 5, 6, 9, 1, 6, 0}, + {"HB", -15, 34, 1, "HBM10", 4, 1, 3, 0, 1, 4, 11, 8, 2, 4, 3, 1}, + {"HB", -15, 34, 2, "HBM10", 4, 7, 2, 1, 1, 1, 11, 8, 2, 3, 3, 1}, + {"HB", -15, 35, 1, "HBM10", 3, 18, 3, 0, 1, 4, 11, 8, 2, 2, 3, 1}, + {"HB", -15, 35, 2, "HBM10", 3, 17, 2, 1, 1, 1, 11, 8, 2, 1, 3, 1}, + {"HB", -15, 36, 1, "HBM10", 2, 2, 3, 0, 1, 4, 11, 8, 3, 4, 3, 0}, + {"HB", -15, 36, 2, "HBM10", 2, 3, 2, 1, 1, 1, 11, 8, 3, 3, 3, 0}, + {"HB", -15, 37, 1, "HBM10", 1, 19, 3, 0, 1, 4, 11, 8, 3, 2, 3, 0}, + {"HB", -15, 37, 2, "HBM10", 1, 13, 2, 1, 1, 1, 11, 8, 3, 1, 3, 0}, + {"HB", -15, 38, 1, "HBM11", 4, 1, 3, 0, 1, 4, 11, 8, 8, 4, 6, 1}, + {"HB", -15, 38, 2, "HBM11", 4, 7, 2, 1, 1, 1, 11, 8, 8, 3, 6, 1}, + {"HB", -15, 39, 1, "HBM11", 3, 18, 3, 0, 1, 4, 11, 8, 8, 2, 6, 1}, + {"HB", -15, 39, 2, "HBM11", 3, 17, 2, 1, 1, 1, 11, 8, 8, 1, 6, 1}, + {"HB", -15, 40, 1, "HBM11", 2, 2, 3, 0, 1, 4, 11, 8, 9, 4, 6, 0}, + {"HB", -15, 40, 2, "HBM11", 2, 3, 2, 1, 1, 1, 11, 8, 9, 3, 6, 0}, + {"HB", -15, 41, 1, "HBM11", 1, 19, 3, 0, 1, 4, 11, 8, 9, 2, 6, 0}, + {"HB", -15, 41, 2, "HBM11", 1, 13, 2, 1, 1, 1, 11, 8, 9, 1, 6, 0}, + {"HB", -15, 42, 1, "HBM12", 4, 1, 3, 0, 1, 4, 15, 10, 2, 4, 3, 1}, + {"HB", -15, 42, 2, "HBM12", 4, 7, 2, 1, 1, 1, 15, 10, 2, 3, 3, 1}, + {"HB", -15, 43, 1, "HBM12", 3, 18, 3, 0, 1, 4, 15, 10, 2, 2, 3, 1}, + {"HB", -15, 43, 2, "HBM12", 3, 17, 2, 1, 1, 1, 15, 10, 2, 1, 3, 1}, + {"HB", -15, 44, 1, "HBM12", 2, 2, 3, 0, 1, 4, 15, 10, 3, 4, 3, 0}, + {"HB", -15, 44, 2, "HBM12", 2, 3, 2, 1, 1, 1, 15, 10, 3, 3, 3, 0}, + {"HB", -15, 45, 1, "HBM12", 1, 19, 3, 0, 1, 4, 15, 10, 3, 2, 3, 0}, + {"HB", -15, 45, 2, "HBM12", 1, 13, 2, 1, 1, 1, 15, 10, 3, 1, 3, 0}, + {"HB", -15, 46, 1, "HBM13", 4, 1, 3, 0, 1, 4, 15, 10, 8, 4, 6, 1}, + {"HB", -15, 46, 2, "HBM13", 4, 7, 2, 1, 1, 1, 15, 10, 8, 3, 6, 1}, + {"HB", -15, 47, 1, "HBM13", 3, 18, 3, 0, 1, 4, 15, 10, 8, 2, 6, 1}, + {"HB", -15, 47, 2, "HBM13", 3, 17, 2, 1, 1, 1, 15, 10, 8, 1, 6, 1}, + {"HB", -15, 48, 1, "HBM13", 2, 2, 3, 0, 1, 4, 15, 10, 9, 4, 6, 0}, + {"HB", -15, 48, 2, "HBM13", 2, 3, 2, 1, 1, 1, 15, 10, 9, 3, 6, 0}, + {"HB", -15, 49, 1, "HBM13", 1, 19, 3, 0, 1, 4, 15, 10, 9, 2, 6, 0}, + {"HB", -15, 49, 2, "HBM13", 1, 13, 2, 1, 1, 1, 15, 10, 9, 1, 6, 0}, + {"HB", -15, 50, 1, "HBM14", 4, 1, 3, 0, 1, 4, 17, 12, 2, 4, 3, 1}, + {"HB", -15, 50, 2, "HBM14", 4, 7, 2, 1, 1, 1, 17, 12, 2, 3, 3, 1}, + {"HB", -15, 51, 1, "HBM14", 3, 18, 3, 0, 1, 4, 17, 12, 2, 2, 3, 1}, + {"HB", -15, 51, 2, "HBM14", 3, 17, 2, 1, 1, 1, 17, 12, 2, 1, 3, 1}, + {"HB", -15, 52, 1, "HBM14", 2, 2, 3, 0, 1, 4, 17, 12, 3, 4, 3, 0}, + {"HB", -15, 52, 2, "HBM14", 2, 3, 2, 1, 1, 1, 17, 12, 3, 3, 3, 0}, + {"HB", -15, 53, 1, "HBM14", 1, 19, 3, 0, 1, 4, 17, 12, 3, 2, 3, 0}, + {"HB", -15, 53, 2, "HBM14", 1, 13, 2, 1, 1, 1, 17, 12, 3, 1, 3, 0}, + {"HB", -15, 54, 1, "HBM15", 4, 1, 3, 0, 1, 4, 17, 12, 8, 4, 6, 1}, + {"HB", -15, 54, 2, "HBM15", 4, 7, 2, 1, 1, 1, 17, 12, 8, 3, 6, 1}, + {"HB", -15, 55, 1, "HBM15", 3, 18, 3, 0, 1, 4, 17, 12, 8, 2, 6, 1}, + {"HB", -15, 55, 2, "HBM15", 3, 17, 2, 1, 1, 1, 17, 12, 8, 1, 6, 1}, + {"HB", -15, 56, 1, "HBM15", 2, 2, 3, 0, 1, 4, 17, 12, 9, 4, 6, 0}, + {"HB", -15, 56, 2, "HBM15", 2, 3, 2, 1, 1, 1, 17, 12, 9, 3, 6, 0}, + {"HB", -15, 57, 1, "HBM15", 1, 19, 3, 0, 1, 4, 17, 12, 9, 2, 6, 0}, + {"HB", -15, 57, 2, "HBM15", 1, 13, 2, 1, 1, 1, 17, 12, 9, 1, 6, 0}, + {"HB", -15, 58, 1, "HBM16", 4, 1, 3, 0, 1, 4, 14, 14, 2, 4, 3, 1}, + {"HB", -15, 58, 2, "HBM16", 4, 7, 2, 1, 1, 1, 14, 14, 2, 3, 3, 1}, + {"HB", -15, 59, 1, "HBM16", 3, 18, 3, 0, 1, 4, 14, 14, 2, 2, 3, 1}, + {"HB", -15, 59, 2, "HBM16", 3, 17, 2, 1, 1, 1, 14, 14, 2, 1, 3, 1}, + {"HB", -15, 60, 1, "HBM16", 2, 2, 3, 0, 1, 4, 14, 14, 3, 4, 3, 0}, + {"HB", -15, 60, 2, "HBM16", 2, 3, 2, 1, 1, 1, 14, 14, 3, 3, 3, 0}, + {"HB", -15, 61, 1, "HBM16", 1, 19, 3, 0, 1, 4, 14, 14, 3, 2, 3, 0}, + {"HB", -15, 61, 2, "HBM16", 1, 13, 2, 1, 1, 1, 14, 14, 3, 1, 3, 0}, + {"HB", -15, 62, 1, "HBM17", 4, 1, 3, 0, 1, 4, 14, 14, 8, 4, 6, 1}, + {"HB", -15, 62, 2, "HBM17", 4, 7, 2, 1, 1, 1, 14, 14, 8, 3, 6, 1}, + {"HB", -15, 63, 1, "HBM17", 3, 18, 3, 0, 1, 4, 14, 14, 8, 2, 6, 1}, + {"HB", -15, 63, 2, "HBM17", 3, 17, 2, 1, 1, 1, 14, 14, 8, 1, 6, 1}, + {"HB", -15, 64, 1, "HBM17", 2, 2, 3, 0, 1, 4, 14, 14, 9, 4, 6, 0}, + {"HB", -15, 64, 2, "HBM17", 2, 3, 2, 1, 1, 1, 14, 14, 9, 3, 6, 0}, + {"HB", -15, 65, 1, "HBM17", 1, 19, 3, 0, 1, 4, 14, 14, 9, 2, 6, 0}, + {"HB", -15, 65, 2, "HBM17", 1, 13, 2, 1, 1, 1, 14, 14, 9, 1, 6, 0}, + {"HB", -15, 66, 1, "HBM18", 4, 1, 3, 0, 1, 4, 10, 16, 2, 4, 3, 1}, + {"HB", -15, 66, 2, "HBM18", 4, 7, 2, 1, 1, 1, 10, 16, 2, 3, 3, 1}, + {"HB", -15, 67, 1, "HBM18", 3, 18, 3, 0, 1, 4, 10, 16, 2, 2, 3, 1}, + {"HB", -15, 67, 2, "HBM18", 3, 17, 2, 1, 1, 1, 10, 16, 2, 1, 3, 1}, + {"HB", -15, 68, 1, "HBM18", 2, 2, 3, 0, 1, 4, 10, 16, 3, 4, 3, 0}, + {"HB", -15, 68, 2, "HBM18", 2, 3, 2, 1, 1, 1, 10, 16, 3, 3, 3, 0}, + {"HB", -15, 69, 1, "HBM18", 1, 19, 3, 0, 1, 4, 10, 16, 3, 2, 3, 0}, + {"HB", -15, 69, 2, "HBM18", 1, 13, 2, 1, 1, 1, 10, 16, 3, 1, 3, 0}, + {"HB", -15, 70, 1, "HBM01", 4, 1, 3, 0, 1, 4, 10, 16, 8, 4, 6, 1}, + {"HB", -15, 70, 2, "HBM01", 4, 7, 2, 1, 1, 1, 10, 16, 8, 3, 6, 1}, + {"HB", -15, 71, 1, "HBM01", 3, 18, 3, 0, 1, 4, 10, 16, 8, 2, 6, 1}, + {"HB", -15, 71, 2, "HBM01", 3, 17, 2, 1, 1, 1, 10, 16, 8, 1, 6, 1}, + {"HB", -14, 0, 1, "HBM01", 2, 1, 2, 2, 1, 2, 10, 16, 9, 3, 6, 0}, + {"HB", -14, 0, 2, "HBM01", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 1, 1, "HBM01", 1, 14, 2, 2, 1, 2, 10, 16, 9, 1, 6, 0}, + {"HB", -14, 1, 2, "HBM01", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 2, 1, "HBM02", 4, 6, 2, 2, 1, 2, 4, 0, 2, 3, 3, 1}, + {"HB", -14, 2, 2, "HBM02", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 3, 1, "HBM02", 3, 19, 2, 2, 1, 2, 4, 0, 2, 1, 3, 1}, + {"HB", -14, 3, 2, "HBM02", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 4, 1, "HBM02", 2, 1, 2, 2, 1, 2, 4, 0, 3, 3, 3, 0}, + {"HB", -14, 4, 2, "HBM02", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 5, 1, "HBM02", 1, 14, 2, 2, 1, 2, 4, 0, 3, 1, 3, 0}, + {"HB", -14, 5, 2, "HBM02", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 6, 1, "HBM03", 4, 6, 2, 2, 1, 2, 4, 0, 8, 3, 6, 1}, + {"HB", -14, 6, 2, "HBM03", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 7, 1, "HBM03", 3, 19, 2, 2, 1, 2, 4, 0, 8, 1, 6, 1}, + {"HB", -14, 7, 2, "HBM03", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 8, 1, "HBM03", 2, 1, 2, 2, 1, 2, 4, 0, 9, 3, 6, 0}, + {"HB", -14, 8, 2, "HBM03", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 9, 1, "HBM03", 1, 14, 2, 2, 1, 2, 4, 0, 9, 1, 6, 0}, + {"HB", -14, 9, 2, "HBM03", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 10, 1, "HBM04", 4, 6, 2, 2, 1, 2, 0, 2, 2, 3, 3, 1}, + {"HB", -14, 10, 2, "HBM04", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 11, 1, "HBM04", 3, 19, 2, 2, 1, 2, 0, 2, 2, 1, 3, 1}, + {"HB", -14, 11, 2, "HBM04", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 12, 1, "HBM04", 2, 1, 2, 2, 1, 2, 0, 2, 3, 3, 3, 0}, + {"HB", -14, 12, 2, "HBM04", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 13, 1, "HBM04", 1, 14, 2, 2, 1, 2, 0, 2, 3, 1, 3, 0}, + {"HB", -14, 13, 2, "HBM04", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 14, 1, "HBM05", 4, 6, 2, 2, 1, 2, 0, 2, 8, 3, 6, 1}, + {"HB", -14, 14, 2, "HBM05", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 15, 1, "HBM05", 3, 19, 2, 2, 1, 2, 0, 2, 8, 1, 6, 1}, + {"HB", -14, 15, 2, "HBM05", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 16, 1, "HBM05", 2, 1, 2, 2, 1, 2, 0, 2, 9, 3, 6, 0}, + {"HB", -14, 16, 2, "HBM05", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 17, 1, "HBM05", 1, 14, 2, 2, 1, 2, 0, 2, 9, 1, 6, 0}, + {"HB", -14, 17, 2, "HBM05", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 18, 1, "HBM06", 4, 6, 2, 2, 1, 2, 1, 4, 2, 3, 3, 1}, + {"HB", -14, 18, 2, "HBM06", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 19, 1, "HBM06", 3, 19, 2, 2, 1, 2, 1, 4, 2, 1, 3, 1}, + {"HB", -14, 19, 2, "HBM06", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 20, 1, "HBM06", 2, 1, 2, 2, 1, 2, 1, 4, 3, 3, 3, 0}, + {"HB", -14, 20, 2, "HBM06", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 21, 1, "HBM06", 1, 14, 2, 2, 1, 2, 1, 4, 3, 1, 3, 0}, + {"HB", -14, 21, 2, "HBM06", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 22, 1, "HBM07", 4, 6, 2, 2, 1, 2, 1, 4, 8, 3, 6, 1}, + {"HB", -14, 22, 2, "HBM07", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 23, 1, "HBM07", 3, 19, 2, 2, 1, 2, 1, 4, 8, 1, 6, 1}, + {"HB", -14, 23, 2, "HBM07", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 24, 1, "HBM07", 2, 1, 2, 2, 1, 2, 1, 4, 9, 3, 6, 0}, + {"HB", -14, 24, 2, "HBM07", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 25, 1, "HBM07", 1, 14, 2, 2, 1, 2, 1, 4, 9, 1, 6, 0}, + {"HB", -14, 25, 2, "HBM07", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 26, 1, "HBM08", 4, 6, 2, 2, 1, 2, 5, 6, 2, 3, 3, 1}, + {"HB", -14, 26, 2, "HBM08", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 27, 1, "HBM08", 3, 19, 2, 2, 1, 2, 5, 6, 2, 1, 3, 1}, + {"HB", -14, 27, 2, "HBM08", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 28, 1, "HBM08", 2, 1, 2, 2, 1, 2, 5, 6, 3, 3, 3, 0}, + {"HB", -14, 28, 2, "HBM08", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 29, 1, "HBM08", 1, 14, 2, 2, 1, 2, 5, 6, 3, 1, 3, 0}, + {"HB", -14, 29, 2, "HBM08", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 30, 1, "HBM09", 4, 6, 2, 2, 1, 2, 5, 6, 8, 3, 6, 1}, + {"HB", -14, 30, 2, "HBM09", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 31, 1, "HBM09", 3, 19, 2, 2, 1, 2, 5, 6, 8, 1, 6, 1}, + {"HB", -14, 31, 2, "HBM09", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 32, 1, "HBM09", 2, 1, 2, 2, 1, 2, 5, 6, 9, 3, 6, 0}, + {"HB", -14, 32, 2, "HBM09", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 33, 1, "HBM09", 1, 14, 2, 2, 1, 2, 5, 6, 9, 1, 6, 0}, + {"HB", -14, 33, 2, "HBM09", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 34, 1, "HBM10", 4, 6, 2, 2, 1, 2, 11, 8, 2, 3, 3, 1}, + {"HB", -14, 34, 2, "HBM10", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 35, 1, "HBM10", 3, 19, 2, 2, 1, 2, 11, 8, 2, 1, 3, 1}, + {"HB", -14, 35, 2, "HBM10", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 36, 1, "HBM10", 2, 1, 2, 2, 1, 2, 11, 8, 3, 3, 3, 0}, + {"HB", -14, 36, 2, "HBM10", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 37, 1, "HBM10", 1, 14, 2, 2, 1, 2, 11, 8, 3, 1, 3, 0}, + {"HB", -14, 37, 2, "HBM10", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 38, 1, "HBM11", 4, 6, 2, 2, 1, 2, 11, 8, 8, 3, 6, 1}, + {"HB", -14, 38, 2, "HBM11", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 39, 1, "HBM11", 3, 19, 2, 2, 1, 2, 11, 8, 8, 1, 6, 1}, + {"HB", -14, 39, 2, "HBM11", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 40, 1, "HBM11", 2, 1, 2, 2, 1, 2, 11, 8, 9, 3, 6, 0}, + {"HB", -14, 40, 2, "HBM11", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 41, 1, "HBM11", 1, 14, 2, 2, 1, 2, 11, 8, 9, 1, 6, 0}, + {"HB", -14, 41, 2, "HBM11", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 42, 1, "HBM12", 4, 6, 2, 2, 1, 2, 15, 10, 2, 3, 3, 1}, + {"HB", -14, 42, 2, "HBM12", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 43, 1, "HBM12", 3, 19, 2, 2, 1, 2, 15, 10, 2, 1, 3, 1}, + {"HB", -14, 43, 2, "HBM12", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 44, 1, "HBM12", 2, 1, 2, 2, 1, 2, 15, 10, 3, 3, 3, 0}, + {"HB", -14, 44, 2, "HBM12", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 45, 1, "HBM12", 1, 14, 2, 2, 1, 2, 15, 10, 3, 1, 3, 0}, + {"HB", -14, 45, 2, "HBM12", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 46, 1, "HBM13", 4, 6, 2, 2, 1, 2, 15, 10, 8, 3, 6, 1}, + {"HB", -14, 46, 2, "HBM13", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 47, 1, "HBM13", 3, 19, 2, 2, 1, 2, 15, 10, 8, 1, 6, 1}, + {"HB", -14, 47, 2, "HBM13", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 48, 1, "HBM13", 2, 1, 2, 2, 1, 2, 15, 10, 9, 3, 6, 0}, + {"HB", -14, 48, 2, "HBM13", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 49, 1, "HBM13", 1, 14, 2, 2, 1, 2, 15, 10, 9, 1, 6, 0}, + {"HB", -14, 49, 2, "HBM13", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 50, 1, "HBM14", 4, 6, 2, 2, 1, 2, 17, 12, 2, 3, 3, 1}, + {"HB", -14, 50, 2, "HBM14", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 51, 1, "HBM14", 3, 19, 2, 2, 1, 2, 17, 12, 2, 1, 3, 1}, + {"HB", -14, 51, 2, "HBM14", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 52, 1, "HBM14", 2, 1, 2, 2, 1, 2, 17, 12, 3, 3, 3, 0}, + {"HB", -14, 52, 2, "HBM14", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 53, 1, "HBM14", 1, 14, 2, 2, 1, 2, 17, 12, 3, 1, 3, 0}, + {"HB", -14, 53, 2, "HBM14", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 54, 1, "HBM15", 4, 6, 2, 2, 1, 2, 17, 12, 8, 3, 6, 1}, + {"HB", -14, 54, 2, "HBM15", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 55, 1, "HBM15", 3, 19, 2, 2, 1, 2, 17, 12, 8, 1, 6, 1}, + {"HB", -14, 55, 2, "HBM15", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 56, 1, "HBM15", 2, 1, 2, 2, 1, 2, 17, 12, 9, 3, 6, 0}, + {"HB", -14, 56, 2, "HBM15", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 57, 1, "HBM15", 1, 14, 2, 2, 1, 2, 17, 12, 9, 1, 6, 0}, + {"HB", -14, 57, 2, "HBM15", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 58, 1, "HBM16", 4, 6, 2, 2, 1, 2, 14, 14, 2, 3, 3, 1}, + {"HB", -14, 58, 2, "HBM16", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 59, 1, "HBM16", 3, 19, 2, 2, 1, 2, 14, 14, 2, 1, 3, 1}, + {"HB", -14, 59, 2, "HBM16", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 60, 1, "HBM16", 2, 1, 2, 2, 1, 2, 14, 14, 3, 3, 3, 0}, + {"HB", -14, 60, 2, "HBM16", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 61, 1, "HBM16", 1, 14, 2, 2, 1, 2, 14, 14, 3, 1, 3, 0}, + {"HB", -14, 61, 2, "HBM16", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 62, 1, "HBM17", 4, 6, 2, 2, 1, 2, 14, 14, 8, 3, 6, 1}, + {"HB", -14, 62, 2, "HBM17", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 63, 1, "HBM17", 3, 19, 2, 2, 1, 2, 14, 14, 8, 1, 6, 1}, + {"HB", -14, 63, 2, "HBM17", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 64, 1, "HBM17", 2, 1, 2, 2, 1, 2, 14, 14, 9, 3, 6, 0}, + {"HB", -14, 64, 2, "HBM17", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 65, 1, "HBM17", 1, 14, 2, 2, 1, 2, 14, 14, 9, 1, 6, 0}, + {"HB", -14, 65, 2, "HBM17", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 66, 1, "HBM18", 4, 6, 2, 2, 1, 2, 10, 16, 2, 3, 3, 1}, + {"HB", -14, 66, 2, "HBM18", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 67, 1, "HBM18", 3, 19, 2, 2, 1, 2, 10, 16, 2, 1, 3, 1}, + {"HB", -14, 67, 2, "HBM18", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 68, 1, "HBM18", 2, 1, 2, 2, 1, 2, 10, 16, 3, 3, 3, 0}, + {"HB", -14, 68, 2, "HBM18", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 69, 1, "HBM18", 1, 14, 2, 2, 1, 2, 10, 16, 3, 1, 3, 0}, + {"HB", -14, 69, 2, "HBM18", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 70, 1, "HBM01", 4, 6, 2, 2, 1, 2, 10, 16, 8, 3, 6, 1}, + {"HB", -14, 70, 2, "HBM01", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -14, 71, 1, "HBM01", 3, 19, 2, 2, 1, 2, 10, 16, 8, 1, 6, 1}, + {"HB", -14, 71, 2, "HBM01", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 0, 1, "HBM01", 2, 7, 3, 1, 1, 5, 10, 16, 9, 4, 6, 0}, + {"HB", -13, 0, 2, "HBM01", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 1, 1, "HBM01", 1, 15, 3, 1, 1, 5, 10, 16, 9, 2, 6, 0}, + {"HB", -13, 1, 2, "HBM01", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 2, 1, "HBM02", 4, 5, 3, 1, 1, 5, 4, 0, 2, 4, 3, 1}, + {"HB", -13, 2, 2, "HBM02", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 3, 1, "HBM02", 3, 13, 3, 1, 1, 5, 4, 0, 2, 2, 3, 1}, + {"HB", -13, 3, 2, "HBM02", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 4, 1, "HBM02", 2, 7, 3, 1, 1, 5, 4, 0, 3, 4, 3, 0}, + {"HB", -13, 4, 2, "HBM02", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 5, 1, "HBM02", 1, 15, 3, 1, 1, 5, 4, 0, 3, 2, 3, 0}, + {"HB", -13, 5, 2, "HBM02", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 6, 1, "HBM03", 4, 5, 3, 1, 1, 5, 4, 0, 8, 4, 6, 1}, + {"HB", -13, 6, 2, "HBM03", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 7, 1, "HBM03", 3, 13, 3, 1, 1, 5, 4, 0, 8, 2, 6, 1}, + {"HB", -13, 7, 2, "HBM03", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 8, 1, "HBM03", 2, 7, 3, 1, 1, 5, 4, 0, 9, 4, 6, 0}, + {"HB", -13, 8, 2, "HBM03", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 9, 1, "HBM03", 1, 15, 3, 1, 1, 5, 4, 0, 9, 2, 6, 0}, + {"HB", -13, 9, 2, "HBM03", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 10, 1, "HBM04", 4, 5, 3, 1, 1, 5, 0, 2, 2, 4, 3, 1}, + {"HB", -13, 10, 2, "HBM04", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 11, 1, "HBM04", 3, 13, 3, 1, 1, 5, 0, 2, 2, 2, 3, 1}, + {"HB", -13, 11, 2, "HBM04", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 12, 1, "HBM04", 2, 7, 3, 1, 1, 5, 0, 2, 3, 4, 3, 0}, + {"HB", -13, 12, 2, "HBM04", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 13, 1, "HBM04", 1, 15, 3, 1, 1, 5, 0, 2, 3, 2, 3, 0}, + {"HB", -13, 13, 2, "HBM04", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 14, 1, "HBM05", 4, 5, 3, 1, 1, 5, 0, 2, 8, 4, 6, 1}, + {"HB", -13, 14, 2, "HBM05", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 15, 1, "HBM05", 3, 13, 3, 1, 1, 5, 0, 2, 8, 2, 6, 1}, + {"HB", -13, 15, 2, "HBM05", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 16, 1, "HBM05", 2, 7, 3, 1, 1, 5, 0, 2, 9, 4, 6, 0}, + {"HB", -13, 16, 2, "HBM05", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 17, 1, "HBM05", 1, 15, 3, 1, 1, 5, 0, 2, 9, 2, 6, 0}, + {"HB", -13, 17, 2, "HBM05", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 18, 1, "HBM06", 4, 5, 3, 1, 1, 5, 1, 4, 2, 4, 3, 1}, + {"HB", -13, 18, 2, "HBM06", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 19, 1, "HBM06", 3, 13, 3, 1, 1, 5, 1, 4, 2, 2, 3, 1}, + {"HB", -13, 19, 2, "HBM06", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 20, 1, "HBM06", 2, 7, 3, 1, 1, 5, 1, 4, 3, 4, 3, 0}, + {"HB", -13, 20, 2, "HBM06", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 21, 1, "HBM06", 1, 15, 3, 1, 1, 5, 1, 4, 3, 2, 3, 0}, + {"HB", -13, 21, 2, "HBM06", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 22, 1, "HBM07", 4, 5, 3, 1, 1, 5, 1, 4, 8, 4, 6, 1}, + {"HB", -13, 22, 2, "HBM07", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 23, 1, "HBM07", 3, 13, 3, 1, 1, 5, 1, 4, 8, 2, 6, 1}, + {"HB", -13, 23, 2, "HBM07", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 24, 1, "HBM07", 2, 7, 3, 1, 1, 5, 1, 4, 9, 4, 6, 0}, + {"HB", -13, 24, 2, "HBM07", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 25, 1, "HBM07", 1, 15, 3, 1, 1, 5, 1, 4, 9, 2, 6, 0}, + {"HB", -13, 25, 2, "HBM07", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 26, 1, "HBM08", 4, 5, 3, 1, 1, 5, 5, 6, 2, 4, 3, 1}, + {"HB", -13, 26, 2, "HBM08", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 27, 1, "HBM08", 3, 13, 3, 1, 1, 5, 5, 6, 2, 2, 3, 1}, + {"HB", -13, 27, 2, "HBM08", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 28, 1, "HBM08", 2, 7, 3, 1, 1, 5, 5, 6, 3, 4, 3, 0}, + {"HB", -13, 28, 2, "HBM08", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 29, 1, "HBM08", 1, 15, 3, 1, 1, 5, 5, 6, 3, 2, 3, 0}, + {"HB", -13, 29, 2, "HBM08", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 30, 1, "HBM09", 4, 5, 3, 1, 1, 5, 5, 6, 8, 4, 6, 1}, + {"HB", -13, 30, 2, "HBM09", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 31, 1, "HBM09", 3, 13, 3, 1, 1, 5, 5, 6, 8, 2, 6, 1}, + {"HB", -13, 31, 2, "HBM09", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 32, 1, "HBM09", 2, 7, 3, 1, 1, 5, 5, 6, 9, 4, 6, 0}, + {"HB", -13, 32, 2, "HBM09", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 33, 1, "HBM09", 1, 15, 3, 1, 1, 5, 5, 6, 9, 2, 6, 0}, + {"HB", -13, 33, 2, "HBM09", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 34, 1, "HBM10", 4, 5, 3, 1, 1, 5, 11, 8, 2, 4, 3, 1}, + {"HB", -13, 34, 2, "HBM10", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 35, 1, "HBM10", 3, 13, 3, 1, 1, 5, 11, 8, 2, 2, 3, 1}, + {"HB", -13, 35, 2, "HBM10", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 36, 1, "HBM10", 2, 7, 3, 1, 1, 5, 11, 8, 3, 4, 3, 0}, + {"HB", -13, 36, 2, "HBM10", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 37, 1, "HBM10", 1, 15, 3, 1, 1, 5, 11, 8, 3, 2, 3, 0}, + {"HB", -13, 37, 2, "HBM10", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 38, 1, "HBM11", 4, 5, 3, 1, 1, 5, 11, 8, 8, 4, 6, 1}, + {"HB", -13, 38, 2, "HBM11", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 39, 1, "HBM11", 3, 13, 3, 1, 1, 5, 11, 8, 8, 2, 6, 1}, + {"HB", -13, 39, 2, "HBM11", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 40, 1, "HBM11", 2, 7, 3, 1, 1, 5, 11, 8, 9, 4, 6, 0}, + {"HB", -13, 40, 2, "HBM11", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 41, 1, "HBM11", 1, 15, 3, 1, 1, 5, 11, 8, 9, 2, 6, 0}, + {"HB", -13, 41, 2, "HBM11", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 42, 1, "HBM12", 4, 5, 3, 1, 1, 5, 15, 10, 2, 4, 3, 1}, + {"HB", -13, 42, 2, "HBM12", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 43, 1, "HBM12", 3, 13, 3, 1, 1, 5, 15, 10, 2, 2, 3, 1}, + {"HB", -13, 43, 2, "HBM12", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 44, 1, "HBM12", 2, 7, 3, 1, 1, 5, 15, 10, 3, 4, 3, 0}, + {"HB", -13, 44, 2, "HBM12", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 45, 1, "HBM12", 1, 15, 3, 1, 1, 5, 15, 10, 3, 2, 3, 0}, + {"HB", -13, 45, 2, "HBM12", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 46, 1, "HBM13", 4, 5, 3, 1, 1, 5, 15, 10, 8, 4, 6, 1}, + {"HB", -13, 46, 2, "HBM13", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 47, 1, "HBM13", 3, 13, 3, 1, 1, 5, 15, 10, 8, 2, 6, 1}, + {"HB", -13, 47, 2, "HBM13", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 48, 1, "HBM13", 2, 7, 3, 1, 1, 5, 15, 10, 9, 4, 6, 0}, + {"HB", -13, 48, 2, "HBM13", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 49, 1, "HBM13", 1, 15, 3, 1, 1, 5, 15, 10, 9, 2, 6, 0}, + {"HB", -13, 49, 2, "HBM13", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 50, 1, "HBM14", 4, 5, 3, 1, 1, 5, 17, 12, 2, 4, 3, 1}, + {"HB", -13, 50, 2, "HBM14", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 51, 1, "HBM14", 3, 13, 3, 1, 1, 5, 17, 12, 2, 2, 3, 1}, + {"HB", -13, 51, 2, "HBM14", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 52, 1, "HBM14", 2, 7, 3, 1, 1, 5, 17, 12, 3, 4, 3, 0}, + {"HB", -13, 52, 2, "HBM14", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 53, 1, "HBM14", 1, 15, 3, 1, 1, 5, 17, 12, 3, 2, 3, 0}, + {"HB", -13, 53, 2, "HBM14", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 54, 1, "HBM15", 4, 5, 3, 1, 1, 5, 17, 12, 8, 4, 6, 1}, + {"HB", -13, 54, 2, "HBM15", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 55, 1, "HBM15", 3, 13, 3, 1, 1, 5, 17, 12, 8, 2, 6, 1}, + {"HB", -13, 55, 2, "HBM15", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 56, 1, "HBM15", 2, 7, 3, 1, 1, 5, 17, 12, 9, 4, 6, 0}, + {"HB", -13, 56, 2, "HBM15", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 57, 1, "HBM15", 1, 15, 3, 1, 1, 5, 17, 12, 9, 2, 6, 0}, + {"HB", -13, 57, 2, "HBM15", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 58, 1, "HBM16", 4, 5, 3, 1, 1, 5, 14, 14, 2, 4, 3, 1}, + {"HB", -13, 58, 2, "HBM16", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 59, 1, "HBM16", 3, 13, 3, 1, 1, 5, 14, 14, 2, 2, 3, 1}, + {"HB", -13, 59, 2, "HBM16", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 60, 1, "HBM16", 2, 7, 3, 1, 1, 5, 14, 14, 3, 4, 3, 0}, + {"HB", -13, 60, 2, "HBM16", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 61, 1, "HBM16", 1, 15, 3, 1, 1, 5, 14, 14, 3, 2, 3, 0}, + {"HB", -13, 61, 2, "HBM16", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 62, 1, "HBM17", 4, 5, 3, 1, 1, 5, 14, 14, 8, 4, 6, 1}, + {"HB", -13, 62, 2, "HBM17", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 63, 1, "HBM17", 3, 13, 3, 1, 1, 5, 14, 14, 8, 2, 6, 1}, + {"HB", -13, 63, 2, "HBM17", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 64, 1, "HBM17", 2, 7, 3, 1, 1, 5, 14, 14, 9, 4, 6, 0}, + {"HB", -13, 64, 2, "HBM17", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 65, 1, "HBM17", 1, 15, 3, 1, 1, 5, 14, 14, 9, 2, 6, 0}, + {"HB", -13, 65, 2, "HBM17", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 66, 1, "HBM18", 4, 5, 3, 1, 1, 5, 10, 16, 2, 4, 3, 1}, + {"HB", -13, 66, 2, "HBM18", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 67, 1, "HBM18", 3, 13, 3, 1, 1, 5, 10, 16, 2, 2, 3, 1}, + {"HB", -13, 67, 2, "HBM18", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 68, 1, "HBM18", 2, 7, 3, 1, 1, 5, 10, 16, 3, 4, 3, 0}, + {"HB", -13, 68, 2, "HBM18", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 69, 1, "HBM18", 1, 15, 3, 1, 1, 5, 10, 16, 3, 2, 3, 0}, + {"HB", -13, 69, 2, "HBM18", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 70, 1, "HBM01", 4, 5, 3, 1, 1, 5, 10, 16, 8, 4, 6, 1}, + {"HB", -13, 70, 2, "HBM01", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -13, 71, 1, "HBM01", 3, 13, 3, 1, 1, 5, 10, 16, 8, 2, 6, 1}, + {"HB", -13, 71, 2, "HBM01", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 0, 1, "HBM01", 2, 6, 5, 2, 2, 3, 10, 16, 7, 8, 5, 0}, + {"HB", -12, 0, 2, "HBM01", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 1, 1, "HBM01", 1, 16, 5, 2, 2, 3, 10, 16, 7, 6, 5, 0}, + {"HB", -12, 1, 2, "HBM01", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 2, 1, "HBM02", 4, 4, 5, 2, 2, 3, 4, 0, 0, 8, 2, 1}, + {"HB", -12, 2, 2, "HBM02", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 3, 1, "HBM02", 3, 14, 5, 2, 2, 3, 4, 0, 0, 6, 2, 1}, + {"HB", -12, 3, 2, "HBM02", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 4, 1, "HBM02", 2, 6, 5, 2, 2, 3, 4, 0, 1, 8, 2, 0}, + {"HB", -12, 4, 2, "HBM02", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 5, 1, "HBM02", 1, 16, 5, 2, 2, 3, 4, 0, 1, 6, 2, 0}, + {"HB", -12, 5, 2, "HBM02", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 6, 1, "HBM03", 4, 4, 5, 2, 2, 3, 4, 0, 6, 8, 5, 1}, + {"HB", -12, 6, 2, "HBM03", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 7, 1, "HBM03", 3, 14, 5, 2, 2, 3, 4, 0, 6, 6, 5, 1}, + {"HB", -12, 7, 2, "HBM03", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 8, 1, "HBM03", 2, 6, 5, 2, 2, 3, 4, 0, 7, 8, 5, 0}, + {"HB", -12, 8, 2, "HBM03", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 9, 1, "HBM03", 1, 16, 5, 2, 2, 3, 4, 0, 7, 6, 5, 0}, + {"HB", -12, 9, 2, "HBM03", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 10, 1, "HBM04", 4, 4, 5, 2, 2, 3, 0, 2, 0, 8, 2, 1}, + {"HB", -12, 10, 2, "HBM04", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 11, 1, "HBM04", 3, 14, 5, 2, 2, 3, 0, 2, 0, 6, 2, 1}, + {"HB", -12, 11, 2, "HBM04", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 12, 1, "HBM04", 2, 6, 5, 2, 2, 3, 0, 2, 1, 8, 2, 0}, + {"HB", -12, 12, 2, "HBM04", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 13, 1, "HBM04", 1, 16, 5, 2, 2, 3, 0, 2, 1, 6, 2, 0}, + {"HB", -12, 13, 2, "HBM04", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 14, 1, "HBM05", 4, 4, 5, 2, 2, 3, 0, 2, 6, 8, 5, 1}, + {"HB", -12, 14, 2, "HBM05", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 15, 1, "HBM05", 3, 14, 5, 2, 2, 3, 0, 2, 6, 6, 5, 1}, + {"HB", -12, 15, 2, "HBM05", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 16, 1, "HBM05", 2, 6, 5, 2, 2, 3, 0, 2, 7, 8, 5, 0}, + {"HB", -12, 16, 2, "HBM05", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 17, 1, "HBM05", 1, 16, 5, 2, 2, 3, 0, 2, 7, 6, 5, 0}, + {"HB", -12, 17, 2, "HBM05", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 18, 1, "HBM06", 4, 4, 5, 2, 2, 3, 1, 4, 0, 8, 2, 1}, + {"HB", -12, 18, 2, "HBM06", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 19, 1, "HBM06", 3, 14, 5, 2, 2, 3, 1, 4, 0, 6, 2, 1}, + {"HB", -12, 19, 2, "HBM06", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 20, 1, "HBM06", 2, 6, 5, 2, 2, 3, 1, 4, 1, 8, 2, 0}, + {"HB", -12, 20, 2, "HBM06", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 21, 1, "HBM06", 1, 16, 5, 2, 2, 3, 1, 4, 1, 6, 2, 0}, + {"HB", -12, 21, 2, "HBM06", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 22, 1, "HBM07", 4, 4, 5, 2, 2, 3, 1, 4, 6, 8, 5, 1}, + {"HB", -12, 22, 2, "HBM07", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 23, 1, "HBM07", 3, 14, 5, 2, 2, 3, 1, 4, 6, 6, 5, 1}, + {"HB", -12, 23, 2, "HBM07", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 24, 1, "HBM07", 2, 6, 5, 2, 2, 3, 1, 4, 7, 8, 5, 0}, + {"HB", -12, 24, 2, "HBM07", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 25, 1, "HBM07", 1, 16, 5, 2, 2, 3, 1, 4, 7, 6, 5, 0}, + {"HB", -12, 25, 2, "HBM07", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 26, 1, "HBM08", 4, 4, 5, 2, 2, 3, 5, 6, 0, 8, 2, 1}, + {"HB", -12, 26, 2, "HBM08", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 27, 1, "HBM08", 3, 14, 5, 2, 2, 3, 5, 6, 0, 6, 2, 1}, + {"HB", -12, 27, 2, "HBM08", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 28, 1, "HBM08", 2, 6, 5, 2, 2, 3, 5, 6, 1, 8, 2, 0}, + {"HB", -12, 28, 2, "HBM08", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 29, 1, "HBM08", 1, 16, 5, 2, 2, 3, 5, 6, 1, 6, 2, 0}, + {"HB", -12, 29, 2, "HBM08", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 30, 1, "HBM09", 4, 4, 5, 2, 2, 3, 5, 6, 6, 8, 5, 1}, + {"HB", -12, 30, 2, "HBM09", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 31, 1, "HBM09", 3, 14, 5, 2, 2, 3, 5, 6, 6, 6, 5, 1}, + {"HB", -12, 31, 2, "HBM09", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 32, 1, "HBM09", 2, 6, 5, 2, 2, 3, 5, 6, 7, 8, 5, 0}, + {"HB", -12, 32, 2, "HBM09", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 33, 1, "HBM09", 1, 16, 5, 2, 2, 3, 5, 6, 7, 6, 5, 0}, + {"HB", -12, 33, 2, "HBM09", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 34, 1, "HBM10", 4, 4, 5, 2, 2, 3, 11, 8, 0, 8, 2, 1}, + {"HB", -12, 34, 2, "HBM10", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 35, 1, "HBM10", 3, 14, 5, 2, 2, 3, 11, 8, 0, 6, 2, 1}, + {"HB", -12, 35, 2, "HBM10", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 36, 1, "HBM10", 2, 6, 5, 2, 2, 3, 11, 8, 1, 8, 2, 0}, + {"HB", -12, 36, 2, "HBM10", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 37, 1, "HBM10", 1, 16, 5, 2, 2, 3, 11, 8, 1, 6, 2, 0}, + {"HB", -12, 37, 2, "HBM10", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 38, 1, "HBM11", 4, 4, 5, 2, 2, 3, 11, 8, 6, 8, 5, 1}, + {"HB", -12, 38, 2, "HBM11", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 39, 1, "HBM11", 3, 14, 5, 2, 2, 3, 11, 8, 6, 6, 5, 1}, + {"HB", -12, 39, 2, "HBM11", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 40, 1, "HBM11", 2, 6, 5, 2, 2, 3, 11, 8, 7, 8, 5, 0}, + {"HB", -12, 40, 2, "HBM11", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 41, 1, "HBM11", 1, 16, 5, 2, 2, 3, 11, 8, 7, 6, 5, 0}, + {"HB", -12, 41, 2, "HBM11", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 42, 1, "HBM12", 4, 4, 5, 2, 2, 3, 15, 10, 0, 8, 2, 1}, + {"HB", -12, 42, 2, "HBM12", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 43, 1, "HBM12", 3, 14, 5, 2, 2, 3, 15, 10, 0, 6, 2, 1}, + {"HB", -12, 43, 2, "HBM12", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 44, 1, "HBM12", 2, 6, 5, 2, 2, 3, 15, 10, 1, 8, 2, 0}, + {"HB", -12, 44, 2, "HBM12", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 45, 1, "HBM12", 1, 16, 5, 2, 2, 3, 15, 10, 1, 6, 2, 0}, + {"HB", -12, 45, 2, "HBM12", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 46, 1, "HBM13", 4, 4, 5, 2, 2, 3, 15, 10, 6, 8, 5, 1}, + {"HB", -12, 46, 2, "HBM13", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 47, 1, "HBM13", 3, 14, 5, 2, 2, 3, 15, 10, 6, 6, 5, 1}, + {"HB", -12, 47, 2, "HBM13", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 48, 1, "HBM13", 2, 6, 5, 2, 2, 3, 15, 10, 7, 8, 5, 0}, + {"HB", -12, 48, 2, "HBM13", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 49, 1, "HBM13", 1, 16, 5, 2, 2, 3, 15, 10, 7, 6, 5, 0}, + {"HB", -12, 49, 2, "HBM13", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 50, 1, "HBM14", 4, 4, 5, 2, 2, 3, 17, 12, 0, 8, 2, 1}, + {"HB", -12, 50, 2, "HBM14", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 51, 1, "HBM14", 3, 14, 5, 2, 2, 3, 17, 12, 0, 6, 2, 1}, + {"HB", -12, 51, 2, "HBM14", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 52, 1, "HBM14", 2, 6, 5, 2, 2, 3, 17, 12, 1, 8, 2, 0}, + {"HB", -12, 52, 2, "HBM14", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 53, 1, "HBM14", 1, 16, 5, 2, 2, 3, 17, 12, 1, 6, 2, 0}, + {"HB", -12, 53, 2, "HBM14", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 54, 1, "HBM15", 4, 4, 5, 2, 2, 3, 17, 12, 6, 8, 5, 1}, + {"HB", -12, 54, 2, "HBM15", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 55, 1, "HBM15", 3, 14, 5, 2, 2, 3, 17, 12, 6, 6, 5, 1}, + {"HB", -12, 55, 2, "HBM15", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 56, 1, "HBM15", 2, 6, 5, 2, 2, 3, 17, 12, 7, 8, 5, 0}, + {"HB", -12, 56, 2, "HBM15", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 57, 1, "HBM15", 1, 16, 5, 2, 2, 3, 17, 12, 7, 6, 5, 0}, + {"HB", -12, 57, 2, "HBM15", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 58, 1, "HBM16", 4, 4, 5, 2, 2, 3, 14, 14, 0, 8, 2, 1}, + {"HB", -12, 58, 2, "HBM16", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 59, 1, "HBM16", 3, 14, 5, 2, 2, 3, 14, 14, 0, 6, 2, 1}, + {"HB", -12, 59, 2, "HBM16", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 60, 1, "HBM16", 2, 6, 5, 2, 2, 3, 14, 14, 1, 8, 2, 0}, + {"HB", -12, 60, 2, "HBM16", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 61, 1, "HBM16", 1, 16, 5, 2, 2, 3, 14, 14, 1, 6, 2, 0}, + {"HB", -12, 61, 2, "HBM16", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 62, 1, "HBM17", 4, 4, 5, 2, 2, 3, 14, 14, 6, 8, 5, 1}, + {"HB", -12, 62, 2, "HBM17", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 63, 1, "HBM17", 3, 14, 5, 2, 2, 3, 14, 14, 6, 6, 5, 1}, + {"HB", -12, 63, 2, "HBM17", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 64, 1, "HBM17", 2, 6, 5, 2, 2, 3, 14, 14, 7, 8, 5, 0}, + {"HB", -12, 64, 2, "HBM17", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 65, 1, "HBM17", 1, 16, 5, 2, 2, 3, 14, 14, 7, 6, 5, 0}, + {"HB", -12, 65, 2, "HBM17", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 66, 1, "HBM18", 4, 4, 5, 2, 2, 3, 10, 16, 0, 8, 2, 1}, + {"HB", -12, 66, 2, "HBM18", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 67, 1, "HBM18", 3, 14, 5, 2, 2, 3, 10, 16, 0, 6, 2, 1}, + {"HB", -12, 67, 2, "HBM18", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 68, 1, "HBM18", 2, 6, 5, 2, 2, 3, 10, 16, 1, 8, 2, 0}, + {"HB", -12, 68, 2, "HBM18", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 69, 1, "HBM18", 1, 16, 5, 2, 2, 3, 10, 16, 1, 6, 2, 0}, + {"HB", -12, 69, 2, "HBM18", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 70, 1, "HBM01", 4, 4, 5, 2, 2, 3, 10, 16, 6, 8, 5, 1}, + {"HB", -12, 70, 2, "HBM01", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -12, 71, 1, "HBM01", 3, 14, 5, 2, 2, 3, 10, 16, 6, 6, 5, 1}, + {"HB", -12, 71, 2, "HBM01", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 0, 1, "HBM01", 2, 5, 6, 0, 3, 0, 10, 16, 7, 3, 5, 0}, + {"HB", -11, 0, 2, "HBM01", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 1, 1, "HBM01", 1, 8, 6, 0, 3, 0, 10, 16, 7, 1, 5, 0}, + {"HB", -11, 1, 2, "HBM01", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 2, 1, "HBM02", 4, 12, 6, 0, 3, 0, 4, 0, 0, 3, 2, 1}, + {"HB", -11, 2, 2, "HBM02", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 3, 1, "HBM02", 3, 15, 6, 0, 3, 0, 4, 0, 0, 1, 2, 1}, + {"HB", -11, 3, 2, "HBM02", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 4, 1, "HBM02", 2, 5, 6, 0, 3, 0, 4, 0, 1, 3, 2, 0}, + {"HB", -11, 4, 2, "HBM02", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 5, 1, "HBM02", 1, 8, 6, 0, 3, 0, 4, 0, 1, 1, 2, 0}, + {"HB", -11, 5, 2, "HBM02", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 6, 1, "HBM03", 4, 12, 6, 0, 3, 0, 4, 0, 6, 3, 5, 1}, + {"HB", -11, 6, 2, "HBM03", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 7, 1, "HBM03", 3, 15, 6, 0, 3, 0, 4, 0, 6, 1, 5, 1}, + {"HB", -11, 7, 2, "HBM03", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 8, 1, "HBM03", 2, 5, 6, 0, 3, 0, 4, 0, 7, 3, 5, 0}, + {"HB", -11, 8, 2, "HBM03", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 9, 1, "HBM03", 1, 8, 6, 0, 3, 0, 4, 0, 7, 1, 5, 0}, + {"HB", -11, 9, 2, "HBM03", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 10, 1, "HBM04", 4, 12, 6, 0, 3, 0, 0, 2, 0, 3, 2, 1}, + {"HB", -11, 10, 2, "HBM04", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 11, 1, "HBM04", 3, 15, 6, 0, 3, 0, 0, 2, 0, 1, 2, 1}, + {"HB", -11, 11, 2, "HBM04", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 12, 1, "HBM04", 2, 5, 6, 0, 3, 0, 0, 2, 1, 3, 2, 0}, + {"HB", -11, 12, 2, "HBM04", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 13, 1, "HBM04", 1, 8, 6, 0, 3, 0, 0, 2, 1, 1, 2, 0}, + {"HB", -11, 13, 2, "HBM04", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 14, 1, "HBM05", 4, 12, 6, 0, 3, 0, 0, 2, 6, 3, 5, 1}, + {"HB", -11, 14, 2, "HBM05", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 15, 1, "HBM05", 3, 15, 6, 0, 3, 0, 0, 2, 6, 1, 5, 1}, + {"HB", -11, 15, 2, "HBM05", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 16, 1, "HBM05", 2, 5, 6, 0, 3, 0, 0, 2, 7, 3, 5, 0}, + {"HB", -11, 16, 2, "HBM05", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 17, 1, "HBM05", 1, 8, 6, 0, 3, 0, 0, 2, 7, 1, 5, 0}, + {"HB", -11, 17, 2, "HBM05", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 18, 1, "HBM06", 4, 12, 6, 0, 3, 0, 1, 4, 0, 3, 2, 1}, + {"HB", -11, 18, 2, "HBM06", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 19, 1, "HBM06", 3, 15, 6, 0, 3, 0, 1, 4, 0, 1, 2, 1}, + {"HB", -11, 19, 2, "HBM06", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 20, 1, "HBM06", 2, 5, 6, 0, 3, 0, 1, 4, 1, 3, 2, 0}, + {"HB", -11, 20, 2, "HBM06", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 21, 1, "HBM06", 1, 8, 6, 0, 3, 0, 1, 4, 1, 1, 2, 0}, + {"HB", -11, 21, 2, "HBM06", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 22, 1, "HBM07", 4, 12, 6, 0, 3, 0, 1, 4, 6, 3, 5, 1}, + {"HB", -11, 22, 2, "HBM07", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 23, 1, "HBM07", 3, 15, 6, 0, 3, 0, 1, 4, 6, 1, 5, 1}, + {"HB", -11, 23, 2, "HBM07", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 24, 1, "HBM07", 2, 5, 6, 0, 3, 0, 1, 4, 7, 3, 5, 0}, + {"HB", -11, 24, 2, "HBM07", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 25, 1, "HBM07", 1, 8, 6, 0, 3, 0, 1, 4, 7, 1, 5, 0}, + {"HB", -11, 25, 2, "HBM07", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 26, 1, "HBM08", 4, 12, 6, 0, 3, 0, 5, 6, 0, 3, 2, 1}, + {"HB", -11, 26, 2, "HBM08", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 27, 1, "HBM08", 3, 15, 6, 0, 3, 0, 5, 6, 0, 1, 2, 1}, + {"HB", -11, 27, 2, "HBM08", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 28, 1, "HBM08", 2, 5, 6, 0, 3, 0, 5, 6, 1, 3, 2, 0}, + {"HB", -11, 28, 2, "HBM08", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 29, 1, "HBM08", 1, 8, 6, 0, 3, 0, 5, 6, 1, 1, 2, 0}, + {"HB", -11, 29, 2, "HBM08", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 30, 1, "HBM09", 4, 12, 6, 0, 3, 0, 5, 6, 6, 3, 5, 1}, + {"HB", -11, 30, 2, "HBM09", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 31, 1, "HBM09", 3, 15, 6, 0, 3, 0, 5, 6, 6, 1, 5, 1}, + {"HB", -11, 31, 2, "HBM09", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 32, 1, "HBM09", 2, 5, 6, 0, 3, 0, 5, 6, 7, 3, 5, 0}, + {"HB", -11, 32, 2, "HBM09", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 33, 1, "HBM09", 1, 8, 6, 0, 3, 0, 5, 6, 7, 1, 5, 0}, + {"HB", -11, 33, 2, "HBM09", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 34, 1, "HBM10", 4, 12, 6, 0, 3, 0, 11, 8, 0, 3, 2, 1}, + {"HB", -11, 34, 2, "HBM10", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 35, 1, "HBM10", 3, 15, 6, 0, 3, 0, 11, 8, 0, 1, 2, 1}, + {"HB", -11, 35, 2, "HBM10", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 36, 1, "HBM10", 2, 5, 6, 0, 3, 0, 11, 8, 1, 3, 2, 0}, + {"HB", -11, 36, 2, "HBM10", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 37, 1, "HBM10", 1, 8, 6, 0, 3, 0, 11, 8, 1, 1, 2, 0}, + {"HB", -11, 37, 2, "HBM10", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 38, 1, "HBM11", 4, 12, 6, 0, 3, 0, 11, 8, 6, 3, 5, 1}, + {"HB", -11, 38, 2, "HBM11", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 39, 1, "HBM11", 3, 15, 6, 0, 3, 0, 11, 8, 6, 1, 5, 1}, + {"HB", -11, 39, 2, "HBM11", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 40, 1, "HBM11", 2, 5, 6, 0, 3, 0, 11, 8, 7, 3, 5, 0}, + {"HB", -11, 40, 2, "HBM11", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 41, 1, "HBM11", 1, 8, 6, 0, 3, 0, 11, 8, 7, 1, 5, 0}, + {"HB", -11, 41, 2, "HBM11", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 42, 1, "HBM12", 4, 12, 6, 0, 3, 0, 15, 10, 0, 3, 2, 1}, + {"HB", -11, 42, 2, "HBM12", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 43, 1, "HBM12", 3, 15, 6, 0, 3, 0, 15, 10, 0, 1, 2, 1}, + {"HB", -11, 43, 2, "HBM12", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 44, 1, "HBM12", 2, 5, 6, 0, 3, 0, 15, 10, 1, 3, 2, 0}, + {"HB", -11, 44, 2, "HBM12", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 45, 1, "HBM12", 1, 8, 6, 0, 3, 0, 15, 10, 1, 1, 2, 0}, + {"HB", -11, 45, 2, "HBM12", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 46, 1, "HBM13", 4, 12, 6, 0, 3, 0, 15, 10, 6, 3, 5, 1}, + {"HB", -11, 46, 2, "HBM13", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 47, 1, "HBM13", 3, 15, 6, 0, 3, 0, 15, 10, 6, 1, 5, 1}, + {"HB", -11, 47, 2, "HBM13", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 48, 1, "HBM13", 2, 5, 6, 0, 3, 0, 15, 10, 7, 3, 5, 0}, + {"HB", -11, 48, 2, "HBM13", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 49, 1, "HBM13", 1, 8, 6, 0, 3, 0, 15, 10, 7, 1, 5, 0}, + {"HB", -11, 49, 2, "HBM13", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 50, 1, "HBM14", 4, 12, 6, 0, 3, 0, 17, 12, 0, 3, 2, 1}, + {"HB", -11, 50, 2, "HBM14", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 51, 1, "HBM14", 3, 15, 6, 0, 3, 0, 17, 12, 0, 1, 2, 1}, + {"HB", -11, 51, 2, "HBM14", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 52, 1, "HBM14", 2, 5, 6, 0, 3, 0, 17, 12, 1, 3, 2, 0}, + {"HB", -11, 52, 2, "HBM14", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 53, 1, "HBM14", 1, 8, 6, 0, 3, 0, 17, 12, 1, 1, 2, 0}, + {"HB", -11, 53, 2, "HBM14", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 54, 1, "HBM15", 4, 12, 6, 0, 3, 0, 17, 12, 6, 3, 5, 1}, + {"HB", -11, 54, 2, "HBM15", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 55, 1, "HBM15", 3, 15, 6, 0, 3, 0, 17, 12, 6, 1, 5, 1}, + {"HB", -11, 55, 2, "HBM15", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 56, 1, "HBM15", 2, 5, 6, 0, 3, 0, 17, 12, 7, 3, 5, 0}, + {"HB", -11, 56, 2, "HBM15", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 57, 1, "HBM15", 1, 8, 6, 0, 3, 0, 17, 12, 7, 1, 5, 0}, + {"HB", -11, 57, 2, "HBM15", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 58, 1, "HBM16", 4, 12, 6, 0, 3, 0, 14, 14, 0, 3, 2, 1}, + {"HB", -11, 58, 2, "HBM16", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 59, 1, "HBM16", 3, 15, 6, 0, 3, 0, 14, 14, 0, 1, 2, 1}, + {"HB", -11, 59, 2, "HBM16", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 60, 1, "HBM16", 2, 5, 6, 0, 3, 0, 14, 14, 1, 3, 2, 0}, + {"HB", -11, 60, 2, "HBM16", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 61, 1, "HBM16", 1, 8, 6, 0, 3, 0, 14, 14, 1, 1, 2, 0}, + {"HB", -11, 61, 2, "HBM16", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 62, 1, "HBM17", 4, 12, 6, 0, 3, 0, 14, 14, 6, 3, 5, 1}, + {"HB", -11, 62, 2, "HBM17", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 63, 1, "HBM17", 3, 15, 6, 0, 3, 0, 14, 14, 6, 1, 5, 1}, + {"HB", -11, 63, 2, "HBM17", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 64, 1, "HBM17", 2, 5, 6, 0, 3, 0, 14, 14, 7, 3, 5, 0}, + {"HB", -11, 64, 2, "HBM17", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 65, 1, "HBM17", 1, 8, 6, 0, 3, 0, 14, 14, 7, 1, 5, 0}, + {"HB", -11, 65, 2, "HBM17", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 66, 1, "HBM18", 4, 12, 6, 0, 3, 0, 10, 16, 0, 3, 2, 1}, + {"HB", -11, 66, 2, "HBM18", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 67, 1, "HBM18", 3, 15, 6, 0, 3, 0, 10, 16, 0, 1, 2, 1}, + {"HB", -11, 67, 2, "HBM18", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 68, 1, "HBM18", 2, 5, 6, 0, 3, 0, 10, 16, 1, 3, 2, 0}, + {"HB", -11, 68, 2, "HBM18", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 69, 1, "HBM18", 1, 8, 6, 0, 3, 0, 10, 16, 1, 1, 2, 0}, + {"HB", -11, 69, 2, "HBM18", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 70, 1, "HBM01", 4, 12, 6, 0, 3, 0, 10, 16, 6, 3, 5, 1}, + {"HB", -11, 70, 2, "HBM01", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -11, 71, 1, "HBM01", 3, 15, 6, 0, 3, 0, 10, 16, 6, 1, 5, 1}, + {"HB", -11, 71, 2, "HBM01", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 0, 1, "HBM01", 2, 4, 4, 0, 2, 0, 10, 16, 7, 7, 5, 0}, + {"HB", -10, 0, 2, "HBM01", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 1, 1, "HBM01", 1, 9, 4, 0, 2, 0, 10, 16, 7, 5, 5, 0}, + {"HB", -10, 1, 2, "HBM01", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 2, 1, "HBM02", 4, 11, 4, 0, 2, 0, 4, 0, 0, 7, 2, 1}, + {"HB", -10, 2, 2, "HBM02", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 3, 1, "HBM02", 3, 16, 4, 0, 2, 0, 4, 0, 0, 5, 2, 1}, + {"HB", -10, 3, 2, "HBM02", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 4, 1, "HBM02", 2, 4, 4, 0, 2, 0, 4, 0, 1, 7, 2, 0}, + {"HB", -10, 4, 2, "HBM02", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 5, 1, "HBM02", 1, 9, 4, 0, 2, 0, 4, 0, 1, 5, 2, 0}, + {"HB", -10, 5, 2, "HBM02", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 6, 1, "HBM03", 4, 11, 4, 0, 2, 0, 4, 0, 6, 7, 5, 1}, + {"HB", -10, 6, 2, "HBM03", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 7, 1, "HBM03", 3, 16, 4, 0, 2, 0, 4, 0, 6, 5, 5, 1}, + {"HB", -10, 7, 2, "HBM03", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 8, 1, "HBM03", 2, 4, 4, 0, 2, 0, 4, 0, 7, 7, 5, 0}, + {"HB", -10, 8, 2, "HBM03", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 9, 1, "HBM03", 1, 9, 4, 0, 2, 0, 4, 0, 7, 5, 5, 0}, + {"HB", -10, 9, 2, "HBM03", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 10, 1, "HBM04", 4, 11, 4, 0, 2, 0, 0, 2, 0, 7, 2, 1}, + {"HB", -10, 10, 2, "HBM04", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 11, 1, "HBM04", 3, 16, 4, 0, 2, 0, 0, 2, 0, 5, 2, 1}, + {"HB", -10, 11, 2, "HBM04", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 12, 1, "HBM04", 2, 4, 4, 0, 2, 0, 0, 2, 1, 7, 2, 0}, + {"HB", -10, 12, 2, "HBM04", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 13, 1, "HBM04", 1, 9, 4, 0, 2, 0, 0, 2, 1, 5, 2, 0}, + {"HB", -10, 13, 2, "HBM04", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 14, 1, "HBM05", 4, 11, 4, 0, 2, 0, 0, 2, 6, 7, 5, 1}, + {"HB", -10, 14, 2, "HBM05", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 15, 1, "HBM05", 3, 16, 4, 0, 2, 0, 0, 2, 6, 5, 5, 1}, + {"HB", -10, 15, 2, "HBM05", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 16, 1, "HBM05", 2, 4, 4, 0, 2, 0, 0, 2, 7, 7, 5, 0}, + {"HB", -10, 16, 2, "HBM05", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 17, 1, "HBM05", 1, 9, 4, 0, 2, 0, 0, 2, 7, 5, 5, 0}, + {"HB", -10, 17, 2, "HBM05", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 18, 1, "HBM06", 4, 11, 4, 0, 2, 0, 1, 4, 0, 7, 2, 1}, + {"HB", -10, 18, 2, "HBM06", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 19, 1, "HBM06", 3, 16, 4, 0, 2, 0, 1, 4, 0, 5, 2, 1}, + {"HB", -10, 19, 2, "HBM06", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 20, 1, "HBM06", 2, 4, 4, 0, 2, 0, 1, 4, 1, 7, 2, 0}, + {"HB", -10, 20, 2, "HBM06", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 21, 1, "HBM06", 1, 9, 4, 0, 2, 0, 1, 4, 1, 5, 2, 0}, + {"HB", -10, 21, 2, "HBM06", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 22, 1, "HBM07", 4, 11, 4, 0, 2, 0, 1, 4, 6, 7, 5, 1}, + {"HB", -10, 22, 2, "HBM07", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 23, 1, "HBM07", 3, 16, 4, 0, 2, 0, 1, 4, 6, 5, 5, 1}, + {"HB", -10, 23, 2, "HBM07", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 24, 1, "HBM07", 2, 4, 4, 0, 2, 0, 1, 4, 7, 7, 5, 0}, + {"HB", -10, 24, 2, "HBM07", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 25, 1, "HBM07", 1, 9, 4, 0, 2, 0, 1, 4, 7, 5, 5, 0}, + {"HB", -10, 25, 2, "HBM07", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 26, 1, "HBM08", 4, 11, 4, 0, 2, 0, 5, 6, 0, 7, 2, 1}, + {"HB", -10, 26, 2, "HBM08", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 27, 1, "HBM08", 3, 16, 4, 0, 2, 0, 5, 6, 0, 5, 2, 1}, + {"HB", -10, 27, 2, "HBM08", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 28, 1, "HBM08", 2, 4, 4, 0, 2, 0, 5, 6, 1, 7, 2, 0}, + {"HB", -10, 28, 2, "HBM08", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 29, 1, "HBM08", 1, 9, 4, 0, 2, 0, 5, 6, 1, 5, 2, 0}, + {"HB", -10, 29, 2, "HBM08", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 30, 1, "HBM09", 4, 11, 4, 0, 2, 0, 5, 6, 6, 7, 5, 1}, + {"HB", -10, 30, 2, "HBM09", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 31, 1, "HBM09", 3, 16, 4, 0, 2, 0, 5, 6, 6, 5, 5, 1}, + {"HB", -10, 31, 2, "HBM09", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 32, 1, "HBM09", 2, 4, 4, 0, 2, 0, 5, 6, 7, 7, 5, 0}, + {"HB", -10, 32, 2, "HBM09", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 33, 1, "HBM09", 1, 9, 4, 0, 2, 0, 5, 6, 7, 5, 5, 0}, + {"HB", -10, 33, 2, "HBM09", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 34, 1, "HBM10", 4, 11, 4, 0, 2, 0, 11, 8, 0, 7, 2, 1}, + {"HB", -10, 34, 2, "HBM10", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 35, 1, "HBM10", 3, 16, 4, 0, 2, 0, 11, 8, 0, 5, 2, 1}, + {"HB", -10, 35, 2, "HBM10", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 36, 1, "HBM10", 2, 4, 4, 0, 2, 0, 11, 8, 1, 7, 2, 0}, + {"HB", -10, 36, 2, "HBM10", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 37, 1, "HBM10", 1, 9, 4, 0, 2, 0, 11, 8, 1, 5, 2, 0}, + {"HB", -10, 37, 2, "HBM10", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 38, 1, "HBM11", 4, 11, 4, 0, 2, 0, 11, 8, 6, 7, 5, 1}, + {"HB", -10, 38, 2, "HBM11", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 39, 1, "HBM11", 3, 16, 4, 0, 2, 0, 11, 8, 6, 5, 5, 1}, + {"HB", -10, 39, 2, "HBM11", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 40, 1, "HBM11", 2, 4, 4, 0, 2, 0, 11, 8, 7, 7, 5, 0}, + {"HB", -10, 40, 2, "HBM11", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 41, 1, "HBM11", 1, 9, 4, 0, 2, 0, 11, 8, 7, 5, 5, 0}, + {"HB", -10, 41, 2, "HBM11", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 42, 1, "HBM12", 4, 11, 4, 0, 2, 0, 15, 10, 0, 7, 2, 1}, + {"HB", -10, 42, 2, "HBM12", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 43, 1, "HBM12", 3, 16, 4, 0, 2, 0, 15, 10, 0, 5, 2, 1}, + {"HB", -10, 43, 2, "HBM12", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 44, 1, "HBM12", 2, 4, 4, 0, 2, 0, 15, 10, 1, 7, 2, 0}, + {"HB", -10, 44, 2, "HBM12", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 45, 1, "HBM12", 1, 9, 4, 0, 2, 0, 15, 10, 1, 5, 2, 0}, + {"HB", -10, 45, 2, "HBM12", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 46, 1, "HBM13", 4, 11, 4, 0, 2, 0, 15, 10, 6, 7, 5, 1}, + {"HB", -10, 46, 2, "HBM13", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 47, 1, "HBM13", 3, 16, 4, 0, 2, 0, 15, 10, 6, 5, 5, 1}, + {"HB", -10, 47, 2, "HBM13", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 48, 1, "HBM13", 2, 4, 4, 0, 2, 0, 15, 10, 7, 7, 5, 0}, + {"HB", -10, 48, 2, "HBM13", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 49, 1, "HBM13", 1, 9, 4, 0, 2, 0, 15, 10, 7, 5, 5, 0}, + {"HB", -10, 49, 2, "HBM13", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 50, 1, "HBM14", 4, 11, 4, 0, 2, 0, 17, 12, 0, 7, 2, 1}, + {"HB", -10, 50, 2, "HBM14", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 51, 1, "HBM14", 3, 16, 4, 0, 2, 0, 17, 12, 0, 5, 2, 1}, + {"HB", -10, 51, 2, "HBM14", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 52, 1, "HBM14", 2, 4, 4, 0, 2, 0, 17, 12, 1, 7, 2, 0}, + {"HB", -10, 52, 2, "HBM14", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 53, 1, "HBM14", 1, 9, 4, 0, 2, 0, 17, 12, 1, 5, 2, 0}, + {"HB", -10, 53, 2, "HBM14", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 54, 1, "HBM15", 4, 11, 4, 0, 2, 0, 17, 12, 6, 7, 5, 1}, + {"HB", -10, 54, 2, "HBM15", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 55, 1, "HBM15", 3, 16, 4, 0, 2, 0, 17, 12, 6, 5, 5, 1}, + {"HB", -10, 55, 2, "HBM15", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 56, 1, "HBM15", 2, 4, 4, 0, 2, 0, 17, 12, 7, 7, 5, 0}, + {"HB", -10, 56, 2, "HBM15", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 57, 1, "HBM15", 1, 9, 4, 0, 2, 0, 17, 12, 7, 5, 5, 0}, + {"HB", -10, 57, 2, "HBM15", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 58, 1, "HBM16", 4, 11, 4, 0, 2, 0, 14, 14, 0, 7, 2, 1}, + {"HB", -10, 58, 2, "HBM16", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 59, 1, "HBM16", 3, 16, 4, 0, 2, 0, 14, 14, 0, 5, 2, 1}, + {"HB", -10, 59, 2, "HBM16", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 60, 1, "HBM16", 2, 4, 4, 0, 2, 0, 14, 14, 1, 7, 2, 0}, + {"HB", -10, 60, 2, "HBM16", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 61, 1, "HBM16", 1, 9, 4, 0, 2, 0, 14, 14, 1, 5, 2, 0}, + {"HB", -10, 61, 2, "HBM16", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 62, 1, "HBM17", 4, 11, 4, 0, 2, 0, 14, 14, 6, 7, 5, 1}, + {"HB", -10, 62, 2, "HBM17", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 63, 1, "HBM17", 3, 16, 4, 0, 2, 0, 14, 14, 6, 5, 5, 1}, + {"HB", -10, 63, 2, "HBM17", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 64, 1, "HBM17", 2, 4, 4, 0, 2, 0, 14, 14, 7, 7, 5, 0}, + {"HB", -10, 64, 2, "HBM17", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 65, 1, "HBM17", 1, 9, 4, 0, 2, 0, 14, 14, 7, 5, 5, 0}, + {"HB", -10, 65, 2, "HBM17", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 66, 1, "HBM18", 4, 11, 4, 0, 2, 0, 10, 16, 0, 7, 2, 1}, + {"HB", -10, 66, 2, "HBM18", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 67, 1, "HBM18", 3, 16, 4, 0, 2, 0, 10, 16, 0, 5, 2, 1}, + {"HB", -10, 67, 2, "HBM18", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 68, 1, "HBM18", 2, 4, 4, 0, 2, 0, 10, 16, 1, 7, 2, 0}, + {"HB", -10, 68, 2, "HBM18", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 69, 1, "HBM18", 1, 9, 4, 0, 2, 0, 10, 16, 1, 5, 2, 0}, + {"HB", -10, 69, 2, "HBM18", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 70, 1, "HBM01", 4, 11, 4, 0, 2, 0, 10, 16, 6, 7, 5, 1}, + {"HB", -10, 70, 2, "HBM01", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -10, 71, 1, "HBM01", 3, 16, 4, 0, 2, 0, 10, 16, 6, 5, 5, 1}, + {"HB", -10, 71, 2, "HBM01", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 0, 1, "HBM01", 2, 12, 7, 2, 3, 3, 10, 16, 7, 4, 5, 0}, + {"HB", -9, 0, 2, "HBM01", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 1, 1, "HBM01", 1, 11, 7, 2, 3, 3, 10, 16, 7, 2, 5, 0}, + {"HB", -9, 1, 2, "HBM01", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 2, 1, "HBM02", 4, 9, 7, 2, 3, 3, 4, 0, 0, 4, 2, 1}, + {"HB", -9, 2, 2, "HBM02", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 3, 1, "HBM02", 3, 8, 7, 2, 3, 3, 4, 0, 0, 2, 2, 1}, + {"HB", -9, 3, 2, "HBM02", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 4, 1, "HBM02", 2, 12, 7, 2, 3, 3, 4, 0, 1, 4, 2, 0}, + {"HB", -9, 4, 2, "HBM02", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 5, 1, "HBM02", 1, 11, 7, 2, 3, 3, 4, 0, 1, 2, 2, 0}, + {"HB", -9, 5, 2, "HBM02", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 6, 1, "HBM03", 4, 9, 7, 2, 3, 3, 4, 0, 6, 4, 5, 1}, + {"HB", -9, 6, 2, "HBM03", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 7, 1, "HBM03", 3, 8, 7, 2, 3, 3, 4, 0, 6, 2, 5, 1}, + {"HB", -9, 7, 2, "HBM03", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 8, 1, "HBM03", 2, 12, 7, 2, 3, 3, 4, 0, 7, 4, 5, 0}, + {"HB", -9, 8, 2, "HBM03", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 9, 1, "HBM03", 1, 11, 7, 2, 3, 3, 4, 0, 7, 2, 5, 0}, + {"HB", -9, 9, 2, "HBM03", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 10, 1, "HBM04", 4, 9, 7, 2, 3, 3, 0, 2, 0, 4, 2, 1}, + {"HB", -9, 10, 2, "HBM04", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 11, 1, "HBM04", 3, 8, 7, 2, 3, 3, 0, 2, 0, 2, 2, 1}, + {"HB", -9, 11, 2, "HBM04", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 12, 1, "HBM04", 2, 12, 7, 2, 3, 3, 0, 2, 1, 4, 2, 0}, + {"HB", -9, 12, 2, "HBM04", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 13, 1, "HBM04", 1, 11, 7, 2, 3, 3, 0, 2, 1, 2, 2, 0}, + {"HB", -9, 13, 2, "HBM04", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 14, 1, "HBM05", 4, 9, 7, 2, 3, 3, 0, 2, 6, 4, 5, 1}, + {"HB", -9, 14, 2, "HBM05", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 15, 1, "HBM05", 3, 8, 7, 2, 3, 3, 0, 2, 6, 2, 5, 1}, + {"HB", -9, 15, 2, "HBM05", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 16, 1, "HBM05", 2, 12, 7, 2, 3, 3, 0, 2, 7, 4, 5, 0}, + {"HB", -9, 16, 2, "HBM05", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 17, 1, "HBM05", 1, 11, 7, 2, 3, 3, 0, 2, 7, 2, 5, 0}, + {"HB", -9, 17, 2, "HBM05", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 18, 1, "HBM06", 4, 9, 7, 2, 3, 3, 1, 4, 0, 4, 2, 1}, + {"HB", -9, 18, 2, "HBM06", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 19, 1, "HBM06", 3, 8, 7, 2, 3, 3, 1, 4, 0, 2, 2, 1}, + {"HB", -9, 19, 2, "HBM06", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 20, 1, "HBM06", 2, 12, 7, 2, 3, 3, 1, 4, 1, 4, 2, 0}, + {"HB", -9, 20, 2, "HBM06", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 21, 1, "HBM06", 1, 11, 7, 2, 3, 3, 1, 4, 1, 2, 2, 0}, + {"HB", -9, 21, 2, "HBM06", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 22, 1, "HBM07", 4, 9, 7, 2, 3, 3, 1, 4, 6, 4, 5, 1}, + {"HB", -9, 22, 2, "HBM07", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 23, 1, "HBM07", 3, 8, 7, 2, 3, 3, 1, 4, 6, 2, 5, 1}, + {"HB", -9, 23, 2, "HBM07", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 24, 1, "HBM07", 2, 12, 7, 2, 3, 3, 1, 4, 7, 4, 5, 0}, + {"HB", -9, 24, 2, "HBM07", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 25, 1, "HBM07", 1, 11, 7, 2, 3, 3, 1, 4, 7, 2, 5, 0}, + {"HB", -9, 25, 2, "HBM07", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 26, 1, "HBM08", 4, 9, 7, 2, 3, 3, 5, 6, 0, 4, 2, 1}, + {"HB", -9, 26, 2, "HBM08", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 27, 1, "HBM08", 3, 8, 7, 2, 3, 3, 5, 6, 0, 2, 2, 1}, + {"HB", -9, 27, 2, "HBM08", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 28, 1, "HBM08", 2, 12, 7, 2, 3, 3, 5, 6, 1, 4, 2, 0}, + {"HB", -9, 28, 2, "HBM08", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 29, 1, "HBM08", 1, 11, 7, 2, 3, 3, 5, 6, 1, 2, 2, 0}, + {"HB", -9, 29, 2, "HBM08", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 30, 1, "HBM09", 4, 9, 7, 2, 3, 3, 5, 6, 6, 4, 5, 1}, + {"HB", -9, 30, 2, "HBM09", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 31, 1, "HBM09", 3, 8, 7, 2, 3, 3, 5, 6, 6, 2, 5, 1}, + {"HB", -9, 31, 2, "HBM09", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 32, 1, "HBM09", 2, 12, 7, 2, 3, 3, 5, 6, 7, 4, 5, 0}, + {"HB", -9, 32, 2, "HBM09", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 33, 1, "HBM09", 1, 11, 7, 2, 3, 3, 5, 6, 7, 2, 5, 0}, + {"HB", -9, 33, 2, "HBM09", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 34, 1, "HBM10", 4, 9, 7, 2, 3, 3, 11, 8, 0, 4, 2, 1}, + {"HB", -9, 34, 2, "HBM10", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 35, 1, "HBM10", 3, 8, 7, 2, 3, 3, 11, 8, 0, 2, 2, 1}, + {"HB", -9, 35, 2, "HBM10", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 36, 1, "HBM10", 2, 12, 7, 2, 3, 3, 11, 8, 1, 4, 2, 0}, + {"HB", -9, 36, 2, "HBM10", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 37, 1, "HBM10", 1, 11, 7, 2, 3, 3, 11, 8, 1, 2, 2, 0}, + {"HB", -9, 37, 2, "HBM10", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 38, 1, "HBM11", 4, 9, 7, 2, 3, 3, 11, 8, 6, 4, 5, 1}, + {"HB", -9, 38, 2, "HBM11", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 39, 1, "HBM11", 3, 8, 7, 2, 3, 3, 11, 8, 6, 2, 5, 1}, + {"HB", -9, 39, 2, "HBM11", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 40, 1, "HBM11", 2, 12, 7, 2, 3, 3, 11, 8, 7, 4, 5, 0}, + {"HB", -9, 40, 2, "HBM11", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 41, 1, "HBM11", 1, 11, 7, 2, 3, 3, 11, 8, 7, 2, 5, 0}, + {"HB", -9, 41, 2, "HBM11", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 42, 1, "HBM12", 4, 9, 7, 2, 3, 3, 15, 10, 0, 4, 2, 1}, + {"HB", -9, 42, 2, "HBM12", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 43, 1, "HBM12", 3, 8, 7, 2, 3, 3, 15, 10, 0, 2, 2, 1}, + {"HB", -9, 43, 2, "HBM12", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 44, 1, "HBM12", 2, 12, 7, 2, 3, 3, 15, 10, 1, 4, 2, 0}, + {"HB", -9, 44, 2, "HBM12", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 45, 1, "HBM12", 1, 11, 7, 2, 3, 3, 15, 10, 1, 2, 2, 0}, + {"HB", -9, 45, 2, "HBM12", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 46, 1, "HBM13", 4, 9, 7, 2, 3, 3, 15, 10, 6, 4, 5, 1}, + {"HB", -9, 46, 2, "HBM13", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 47, 1, "HBM13", 3, 8, 7, 2, 3, 3, 15, 10, 6, 2, 5, 1}, + {"HB", -9, 47, 2, "HBM13", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 48, 1, "HBM13", 2, 12, 7, 2, 3, 3, 15, 10, 7, 4, 5, 0}, + {"HB", -9, 48, 2, "HBM13", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 49, 1, "HBM13", 1, 11, 7, 2, 3, 3, 15, 10, 7, 2, 5, 0}, + {"HB", -9, 49, 2, "HBM13", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 50, 1, "HBM14", 4, 9, 7, 2, 3, 3, 17, 12, 0, 4, 2, 1}, + {"HB", -9, 50, 2, "HBM14", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 51, 1, "HBM14", 3, 8, 7, 2, 3, 3, 17, 12, 0, 2, 2, 1}, + {"HB", -9, 51, 2, "HBM14", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 52, 1, "HBM14", 2, 12, 7, 2, 3, 3, 17, 12, 1, 4, 2, 0}, + {"HB", -9, 52, 2, "HBM14", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 53, 1, "HBM14", 1, 11, 7, 2, 3, 3, 17, 12, 1, 2, 2, 0}, + {"HB", -9, 53, 2, "HBM14", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 54, 1, "HBM15", 4, 9, 7, 2, 3, 3, 17, 12, 6, 4, 5, 1}, + {"HB", -9, 54, 2, "HBM15", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 55, 1, "HBM15", 3, 8, 7, 2, 3, 3, 17, 12, 6, 2, 5, 1}, + {"HB", -9, 55, 2, "HBM15", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 56, 1, "HBM15", 2, 12, 7, 2, 3, 3, 17, 12, 7, 4, 5, 0}, + {"HB", -9, 56, 2, "HBM15", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 57, 1, "HBM15", 1, 11, 7, 2, 3, 3, 17, 12, 7, 2, 5, 0}, + {"HB", -9, 57, 2, "HBM15", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 58, 1, "HBM16", 4, 9, 7, 2, 3, 3, 14, 14, 0, 4, 2, 1}, + {"HB", -9, 58, 2, "HBM16", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 59, 1, "HBM16", 3, 8, 7, 2, 3, 3, 14, 14, 0, 2, 2, 1}, + {"HB", -9, 59, 2, "HBM16", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 60, 1, "HBM16", 2, 12, 7, 2, 3, 3, 14, 14, 1, 4, 2, 0}, + {"HB", -9, 60, 2, "HBM16", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 61, 1, "HBM16", 1, 11, 7, 2, 3, 3, 14, 14, 1, 2, 2, 0}, + {"HB", -9, 61, 2, "HBM16", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 62, 1, "HBM17", 4, 9, 7, 2, 3, 3, 14, 14, 6, 4, 5, 1}, + {"HB", -9, 62, 2, "HBM17", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 63, 1, "HBM17", 3, 8, 7, 2, 3, 3, 14, 14, 6, 2, 5, 1}, + {"HB", -9, 63, 2, "HBM17", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 64, 1, "HBM17", 2, 12, 7, 2, 3, 3, 14, 14, 7, 4, 5, 0}, + {"HB", -9, 64, 2, "HBM17", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 65, 1, "HBM17", 1, 11, 7, 2, 3, 3, 14, 14, 7, 2, 5, 0}, + {"HB", -9, 65, 2, "HBM17", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 66, 1, "HBM18", 4, 9, 7, 2, 3, 3, 10, 16, 0, 4, 2, 1}, + {"HB", -9, 66, 2, "HBM18", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 67, 1, "HBM18", 3, 8, 7, 2, 3, 3, 10, 16, 0, 2, 2, 1}, + {"HB", -9, 67, 2, "HBM18", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 68, 1, "HBM18", 2, 12, 7, 2, 3, 3, 10, 16, 1, 4, 2, 0}, + {"HB", -9, 68, 2, "HBM18", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 69, 1, "HBM18", 1, 11, 7, 2, 3, 3, 10, 16, 1, 2, 2, 0}, + {"HB", -9, 69, 2, "HBM18", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 70, 1, "HBM01", 4, 9, 7, 2, 3, 3, 10, 16, 6, 4, 5, 1}, + {"HB", -9, 70, 2, "HBM01", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -9, 71, 1, "HBM01", 3, 8, 7, 2, 3, 3, 10, 16, 6, 2, 5, 1}, + {"HB", -9, 71, 2, "HBM01", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 0, 1, "HBM01", 2, 11, 5, 0, 2, 4, 10, 16, 7, 8, 5, 0}, + {"HB", -8, 0, 2, "HBM01", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 1, 1, "HBM01", 1, 12, 5, 0, 2, 4, 10, 16, 7, 6, 5, 0}, + {"HB", -8, 1, 2, "HBM01", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 2, 1, "HBM02", 4, 8, 5, 0, 2, 4, 4, 0, 0, 8, 2, 1}, + {"HB", -8, 2, 2, "HBM02", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 3, 1, "HBM02", 3, 9, 5, 0, 2, 4, 4, 0, 0, 6, 2, 1}, + {"HB", -8, 3, 2, "HBM02", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 4, 1, "HBM02", 2, 11, 5, 0, 2, 4, 4, 0, 1, 8, 2, 0}, + {"HB", -8, 4, 2, "HBM02", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 5, 1, "HBM02", 1, 12, 5, 0, 2, 4, 4, 0, 1, 6, 2, 0}, + {"HB", -8, 5, 2, "HBM02", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 6, 1, "HBM03", 4, 8, 5, 0, 2, 4, 4, 0, 6, 8, 5, 1}, + {"HB", -8, 6, 2, "HBM03", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 7, 1, "HBM03", 3, 9, 5, 0, 2, 4, 4, 0, 6, 6, 5, 1}, + {"HB", -8, 7, 2, "HBM03", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 8, 1, "HBM03", 2, 11, 5, 0, 2, 4, 4, 0, 7, 8, 5, 0}, + {"HB", -8, 8, 2, "HBM03", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 9, 1, "HBM03", 1, 12, 5, 0, 2, 4, 4, 0, 7, 6, 5, 0}, + {"HB", -8, 9, 2, "HBM03", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 10, 1, "HBM04", 4, 8, 5, 0, 2, 4, 0, 2, 0, 8, 2, 1}, + {"HB", -8, 10, 2, "HBM04", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 11, 1, "HBM04", 3, 9, 5, 0, 2, 4, 0, 2, 0, 6, 2, 1}, + {"HB", -8, 11, 2, "HBM04", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 12, 1, "HBM04", 2, 11, 5, 0, 2, 4, 0, 2, 1, 8, 2, 0}, + {"HB", -8, 12, 2, "HBM04", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 13, 1, "HBM04", 1, 12, 5, 0, 2, 4, 0, 2, 1, 6, 2, 0}, + {"HB", -8, 13, 2, "HBM04", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 14, 1, "HBM05", 4, 8, 5, 0, 2, 4, 0, 2, 6, 8, 5, 1}, + {"HB", -8, 14, 2, "HBM05", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 15, 1, "HBM05", 3, 9, 5, 0, 2, 4, 0, 2, 6, 6, 5, 1}, + {"HB", -8, 15, 2, "HBM05", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 16, 1, "HBM05", 2, 11, 5, 0, 2, 4, 0, 2, 7, 8, 5, 0}, + {"HB", -8, 16, 2, "HBM05", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 17, 1, "HBM05", 1, 12, 5, 0, 2, 4, 0, 2, 7, 6, 5, 0}, + {"HB", -8, 17, 2, "HBM05", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 18, 1, "HBM06", 4, 8, 5, 0, 2, 4, 1, 4, 0, 8, 2, 1}, + {"HB", -8, 18, 2, "HBM06", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 19, 1, "HBM06", 3, 9, 5, 0, 2, 4, 1, 4, 0, 6, 2, 1}, + {"HB", -8, 19, 2, "HBM06", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 20, 1, "HBM06", 2, 11, 5, 0, 2, 4, 1, 4, 1, 8, 2, 0}, + {"HB", -8, 20, 2, "HBM06", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 21, 1, "HBM06", 1, 12, 5, 0, 2, 4, 1, 4, 1, 6, 2, 0}, + {"HB", -8, 21, 2, "HBM06", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 22, 1, "HBM07", 4, 8, 5, 0, 2, 4, 1, 4, 6, 8, 5, 1}, + {"HB", -8, 22, 2, "HBM07", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 23, 1, "HBM07", 3, 9, 5, 0, 2, 4, 1, 4, 6, 6, 5, 1}, + {"HB", -8, 23, 2, "HBM07", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 24, 1, "HBM07", 2, 11, 5, 0, 2, 4, 1, 4, 7, 8, 5, 0}, + {"HB", -8, 24, 2, "HBM07", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 25, 1, "HBM07", 1, 12, 5, 0, 2, 4, 1, 4, 7, 6, 5, 0}, + {"HB", -8, 25, 2, "HBM07", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 26, 1, "HBM08", 4, 8, 5, 0, 2, 4, 5, 6, 0, 8, 2, 1}, + {"HB", -8, 26, 2, "HBM08", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 27, 1, "HBM08", 3, 9, 5, 0, 2, 4, 5, 6, 0, 6, 2, 1}, + {"HB", -8, 27, 2, "HBM08", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 28, 1, "HBM08", 2, 11, 5, 0, 2, 4, 5, 6, 1, 8, 2, 0}, + {"HB", -8, 28, 2, "HBM08", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 29, 1, "HBM08", 1, 12, 5, 0, 2, 4, 5, 6, 1, 6, 2, 0}, + {"HB", -8, 29, 2, "HBM08", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 30, 1, "HBM09", 4, 8, 5, 0, 2, 4, 5, 6, 6, 8, 5, 1}, + {"HB", -8, 30, 2, "HBM09", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 31, 1, "HBM09", 3, 9, 5, 0, 2, 4, 5, 6, 6, 6, 5, 1}, + {"HB", -8, 31, 2, "HBM09", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 32, 1, "HBM09", 2, 11, 5, 0, 2, 4, 5, 6, 7, 8, 5, 0}, + {"HB", -8, 32, 2, "HBM09", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 33, 1, "HBM09", 1, 12, 5, 0, 2, 4, 5, 6, 7, 6, 5, 0}, + {"HB", -8, 33, 2, "HBM09", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 34, 1, "HBM10", 4, 8, 5, 0, 2, 4, 11, 8, 0, 8, 2, 1}, + {"HB", -8, 34, 2, "HBM10", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 35, 1, "HBM10", 3, 9, 5, 0, 2, 4, 11, 8, 0, 6, 2, 1}, + {"HB", -8, 35, 2, "HBM10", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 36, 1, "HBM10", 2, 11, 5, 0, 2, 4, 11, 8, 1, 8, 2, 0}, + {"HB", -8, 36, 2, "HBM10", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 37, 1, "HBM10", 1, 12, 5, 0, 2, 4, 11, 8, 1, 6, 2, 0}, + {"HB", -8, 37, 2, "HBM10", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 38, 1, "HBM11", 4, 8, 5, 0, 2, 4, 11, 8, 6, 8, 5, 1}, + {"HB", -8, 38, 2, "HBM11", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 39, 1, "HBM11", 3, 9, 5, 0, 2, 4, 11, 8, 6, 6, 5, 1}, + {"HB", -8, 39, 2, "HBM11", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 40, 1, "HBM11", 2, 11, 5, 0, 2, 4, 11, 8, 7, 8, 5, 0}, + {"HB", -8, 40, 2, "HBM11", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 41, 1, "HBM11", 1, 12, 5, 0, 2, 4, 11, 8, 7, 6, 5, 0}, + {"HB", -8, 41, 2, "HBM11", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 42, 1, "HBM12", 4, 8, 5, 0, 2, 4, 15, 10, 0, 8, 2, 1}, + {"HB", -8, 42, 2, "HBM12", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 43, 1, "HBM12", 3, 9, 5, 0, 2, 4, 15, 10, 0, 6, 2, 1}, + {"HB", -8, 43, 2, "HBM12", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 44, 1, "HBM12", 2, 11, 5, 0, 2, 4, 15, 10, 1, 8, 2, 0}, + {"HB", -8, 44, 2, "HBM12", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 45, 1, "HBM12", 1, 12, 5, 0, 2, 4, 15, 10, 1, 6, 2, 0}, + {"HB", -8, 45, 2, "HBM12", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 46, 1, "HBM13", 4, 8, 5, 0, 2, 4, 15, 10, 6, 8, 5, 1}, + {"HB", -8, 46, 2, "HBM13", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 47, 1, "HBM13", 3, 9, 5, 0, 2, 4, 15, 10, 6, 6, 5, 1}, + {"HB", -8, 47, 2, "HBM13", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 48, 1, "HBM13", 2, 11, 5, 0, 2, 4, 15, 10, 7, 8, 5, 0}, + {"HB", -8, 48, 2, "HBM13", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 49, 1, "HBM13", 1, 12, 5, 0, 2, 4, 15, 10, 7, 6, 5, 0}, + {"HB", -8, 49, 2, "HBM13", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 50, 1, "HBM14", 4, 8, 5, 0, 2, 4, 17, 12, 0, 8, 2, 1}, + {"HB", -8, 50, 2, "HBM14", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 51, 1, "HBM14", 3, 9, 5, 0, 2, 4, 17, 12, 0, 6, 2, 1}, + {"HB", -8, 51, 2, "HBM14", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 52, 1, "HBM14", 2, 11, 5, 0, 2, 4, 17, 12, 1, 8, 2, 0}, + {"HB", -8, 52, 2, "HBM14", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 53, 1, "HBM14", 1, 12, 5, 0, 2, 4, 17, 12, 1, 6, 2, 0}, + {"HB", -8, 53, 2, "HBM14", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 54, 1, "HBM15", 4, 8, 5, 0, 2, 4, 17, 12, 6, 8, 5, 1}, + {"HB", -8, 54, 2, "HBM15", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 55, 1, "HBM15", 3, 9, 5, 0, 2, 4, 17, 12, 6, 6, 5, 1}, + {"HB", -8, 55, 2, "HBM15", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 56, 1, "HBM15", 2, 11, 5, 0, 2, 4, 17, 12, 7, 8, 5, 0}, + {"HB", -8, 56, 2, "HBM15", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 57, 1, "HBM15", 1, 12, 5, 0, 2, 4, 17, 12, 7, 6, 5, 0}, + {"HB", -8, 57, 2, "HBM15", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 58, 1, "HBM16", 4, 8, 5, 0, 2, 4, 14, 14, 0, 8, 2, 1}, + {"HB", -8, 58, 2, "HBM16", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 59, 1, "HBM16", 3, 9, 5, 0, 2, 4, 14, 14, 0, 6, 2, 1}, + {"HB", -8, 59, 2, "HBM16", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 60, 1, "HBM16", 2, 11, 5, 0, 2, 4, 14, 14, 1, 8, 2, 0}, + {"HB", -8, 60, 2, "HBM16", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 61, 1, "HBM16", 1, 12, 5, 0, 2, 4, 14, 14, 1, 6, 2, 0}, + {"HB", -8, 61, 2, "HBM16", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 62, 1, "HBM17", 4, 8, 5, 0, 2, 4, 14, 14, 6, 8, 5, 1}, + {"HB", -8, 62, 2, "HBM17", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 63, 1, "HBM17", 3, 9, 5, 0, 2, 4, 14, 14, 6, 6, 5, 1}, + {"HB", -8, 63, 2, "HBM17", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 64, 1, "HBM17", 2, 11, 5, 0, 2, 4, 14, 14, 7, 8, 5, 0}, + {"HB", -8, 64, 2, "HBM17", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 65, 1, "HBM17", 1, 12, 5, 0, 2, 4, 14, 14, 7, 6, 5, 0}, + {"HB", -8, 65, 2, "HBM17", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 66, 1, "HBM18", 4, 8, 5, 0, 2, 4, 10, 16, 0, 8, 2, 1}, + {"HB", -8, 66, 2, "HBM18", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 67, 1, "HBM18", 3, 9, 5, 0, 2, 4, 10, 16, 0, 6, 2, 1}, + {"HB", -8, 67, 2, "HBM18", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 68, 1, "HBM18", 2, 11, 5, 0, 2, 4, 10, 16, 1, 8, 2, 0}, + {"HB", -8, 68, 2, "HBM18", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 69, 1, "HBM18", 1, 12, 5, 0, 2, 4, 10, 16, 1, 6, 2, 0}, + {"HB", -8, 69, 2, "HBM18", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 70, 1, "HBM01", 4, 8, 5, 0, 2, 4, 10, 16, 6, 8, 5, 1}, + {"HB", -8, 70, 2, "HBM01", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -8, 71, 1, "HBM01", 3, 9, 5, 0, 2, 4, 10, 16, 6, 6, 5, 1}, + {"HB", -8, 71, 2, "HBM01", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 0, 1, "HBM01", 2, 9, 6, 1, 3, 1, 10, 16, 7, 3, 5, 0}, + {"HB", -7, 0, 2, "HBM01", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 1, 1, "HBM01", 1, 4, 6, 1, 3, 1, 10, 16, 7, 1, 5, 0}, + {"HB", -7, 1, 2, "HBM01", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 2, 1, "HBM02", 4, 16, 6, 1, 3, 1, 4, 0, 0, 3, 2, 1}, + {"HB", -7, 2, 2, "HBM02", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 3, 1, "HBM02", 3, 11, 6, 1, 3, 1, 4, 0, 0, 1, 2, 1}, + {"HB", -7, 3, 2, "HBM02", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 4, 1, "HBM02", 2, 9, 6, 1, 3, 1, 4, 0, 1, 3, 2, 0}, + {"HB", -7, 4, 2, "HBM02", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 5, 1, "HBM02", 1, 4, 6, 1, 3, 1, 4, 0, 1, 1, 2, 0}, + {"HB", -7, 5, 2, "HBM02", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 6, 1, "HBM03", 4, 16, 6, 1, 3, 1, 4, 0, 6, 3, 5, 1}, + {"HB", -7, 6, 2, "HBM03", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 7, 1, "HBM03", 3, 11, 6, 1, 3, 1, 4, 0, 6, 1, 5, 1}, + {"HB", -7, 7, 2, "HBM03", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 8, 1, "HBM03", 2, 9, 6, 1, 3, 1, 4, 0, 7, 3, 5, 0}, + {"HB", -7, 8, 2, "HBM03", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 9, 1, "HBM03", 1, 4, 6, 1, 3, 1, 4, 0, 7, 1, 5, 0}, + {"HB", -7, 9, 2, "HBM03", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 10, 1, "HBM04", 4, 16, 6, 1, 3, 1, 0, 2, 0, 3, 2, 1}, + {"HB", -7, 10, 2, "HBM04", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 11, 1, "HBM04", 3, 11, 6, 1, 3, 1, 0, 2, 0, 1, 2, 1}, + {"HB", -7, 11, 2, "HBM04", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 12, 1, "HBM04", 2, 9, 6, 1, 3, 1, 0, 2, 1, 3, 2, 0}, + {"HB", -7, 12, 2, "HBM04", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 13, 1, "HBM04", 1, 4, 6, 1, 3, 1, 0, 2, 1, 1, 2, 0}, + {"HB", -7, 13, 2, "HBM04", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 14, 1, "HBM05", 4, 16, 6, 1, 3, 1, 0, 2, 6, 3, 5, 1}, + {"HB", -7, 14, 2, "HBM05", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 15, 1, "HBM05", 3, 11, 6, 1, 3, 1, 0, 2, 6, 1, 5, 1}, + {"HB", -7, 15, 2, "HBM05", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 16, 1, "HBM05", 2, 9, 6, 1, 3, 1, 0, 2, 7, 3, 5, 0}, + {"HB", -7, 16, 2, "HBM05", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 17, 1, "HBM05", 1, 4, 6, 1, 3, 1, 0, 2, 7, 1, 5, 0}, + {"HB", -7, 17, 2, "HBM05", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 18, 1, "HBM06", 4, 16, 6, 1, 3, 1, 1, 4, 0, 3, 2, 1}, + {"HB", -7, 18, 2, "HBM06", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 19, 1, "HBM06", 3, 11, 6, 1, 3, 1, 1, 4, 0, 1, 2, 1}, + {"HB", -7, 19, 2, "HBM06", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 20, 1, "HBM06", 2, 9, 6, 1, 3, 1, 1, 4, 1, 3, 2, 0}, + {"HB", -7, 20, 2, "HBM06", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 21, 1, "HBM06", 1, 4, 6, 1, 3, 1, 1, 4, 1, 1, 2, 0}, + {"HB", -7, 21, 2, "HBM06", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 22, 1, "HBM07", 4, 16, 6, 1, 3, 1, 1, 4, 6, 3, 5, 1}, + {"HB", -7, 22, 2, "HBM07", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 23, 1, "HBM07", 3, 11, 6, 1, 3, 1, 1, 4, 6, 1, 5, 1}, + {"HB", -7, 23, 2, "HBM07", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 24, 1, "HBM07", 2, 9, 6, 1, 3, 1, 1, 4, 7, 3, 5, 0}, + {"HB", -7, 24, 2, "HBM07", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 25, 1, "HBM07", 1, 4, 6, 1, 3, 1, 1, 4, 7, 1, 5, 0}, + {"HB", -7, 25, 2, "HBM07", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 26, 1, "HBM08", 4, 16, 6, 1, 3, 1, 5, 6, 0, 3, 2, 1}, + {"HB", -7, 26, 2, "HBM08", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 27, 1, "HBM08", 3, 11, 6, 1, 3, 1, 5, 6, 0, 1, 2, 1}, + {"HB", -7, 27, 2, "HBM08", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 28, 1, "HBM08", 2, 9, 6, 1, 3, 1, 5, 6, 1, 3, 2, 0}, + {"HB", -7, 28, 2, "HBM08", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 29, 1, "HBM08", 1, 4, 6, 1, 3, 1, 5, 6, 1, 1, 2, 0}, + {"HB", -7, 29, 2, "HBM08", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 30, 1, "HBM09", 4, 16, 6, 1, 3, 1, 5, 6, 6, 3, 5, 1}, + {"HB", -7, 30, 2, "HBM09", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 31, 1, "HBM09", 3, 11, 6, 1, 3, 1, 5, 6, 6, 1, 5, 1}, + {"HB", -7, 31, 2, "HBM09", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 32, 1, "HBM09", 2, 9, 6, 1, 3, 1, 5, 6, 7, 3, 5, 0}, + {"HB", -7, 32, 2, "HBM09", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 33, 1, "HBM09", 1, 4, 6, 1, 3, 1, 5, 6, 7, 1, 5, 0}, + {"HB", -7, 33, 2, "HBM09", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 34, 1, "HBM10", 4, 16, 6, 1, 3, 1, 11, 8, 0, 3, 2, 1}, + {"HB", -7, 34, 2, "HBM10", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 35, 1, "HBM10", 3, 11, 6, 1, 3, 1, 11, 8, 0, 1, 2, 1}, + {"HB", -7, 35, 2, "HBM10", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 36, 1, "HBM10", 2, 9, 6, 1, 3, 1, 11, 8, 1, 3, 2, 0}, + {"HB", -7, 36, 2, "HBM10", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 37, 1, "HBM10", 1, 4, 6, 1, 3, 1, 11, 8, 1, 1, 2, 0}, + {"HB", -7, 37, 2, "HBM10", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 38, 1, "HBM11", 4, 16, 6, 1, 3, 1, 11, 8, 6, 3, 5, 1}, + {"HB", -7, 38, 2, "HBM11", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 39, 1, "HBM11", 3, 11, 6, 1, 3, 1, 11, 8, 6, 1, 5, 1}, + {"HB", -7, 39, 2, "HBM11", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 40, 1, "HBM11", 2, 9, 6, 1, 3, 1, 11, 8, 7, 3, 5, 0}, + {"HB", -7, 40, 2, "HBM11", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 41, 1, "HBM11", 1, 4, 6, 1, 3, 1, 11, 8, 7, 1, 5, 0}, + {"HB", -7, 41, 2, "HBM11", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 42, 1, "HBM12", 4, 16, 6, 1, 3, 1, 15, 10, 0, 3, 2, 1}, + {"HB", -7, 42, 2, "HBM12", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 43, 1, "HBM12", 3, 11, 6, 1, 3, 1, 15, 10, 0, 1, 2, 1}, + {"HB", -7, 43, 2, "HBM12", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 44, 1, "HBM12", 2, 9, 6, 1, 3, 1, 15, 10, 1, 3, 2, 0}, + {"HB", -7, 44, 2, "HBM12", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 45, 1, "HBM12", 1, 4, 6, 1, 3, 1, 15, 10, 1, 1, 2, 0}, + {"HB", -7, 45, 2, "HBM12", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 46, 1, "HBM13", 4, 16, 6, 1, 3, 1, 15, 10, 6, 3, 5, 1}, + {"HB", -7, 46, 2, "HBM13", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 47, 1, "HBM13", 3, 11, 6, 1, 3, 1, 15, 10, 6, 1, 5, 1}, + {"HB", -7, 47, 2, "HBM13", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 48, 1, "HBM13", 2, 9, 6, 1, 3, 1, 15, 10, 7, 3, 5, 0}, + {"HB", -7, 48, 2, "HBM13", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 49, 1, "HBM13", 1, 4, 6, 1, 3, 1, 15, 10, 7, 1, 5, 0}, + {"HB", -7, 49, 2, "HBM13", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 50, 1, "HBM14", 4, 16, 6, 1, 3, 1, 17, 12, 0, 3, 2, 1}, + {"HB", -7, 50, 2, "HBM14", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 51, 1, "HBM14", 3, 11, 6, 1, 3, 1, 17, 12, 0, 1, 2, 1}, + {"HB", -7, 51, 2, "HBM14", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 52, 1, "HBM14", 2, 9, 6, 1, 3, 1, 17, 12, 1, 3, 2, 0}, + {"HB", -7, 52, 2, "HBM14", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 53, 1, "HBM14", 1, 4, 6, 1, 3, 1, 17, 12, 1, 1, 2, 0}, + {"HB", -7, 53, 2, "HBM14", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 54, 1, "HBM15", 4, 16, 6, 1, 3, 1, 17, 12, 6, 3, 5, 1}, + {"HB", -7, 54, 2, "HBM15", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 55, 1, "HBM15", 3, 11, 6, 1, 3, 1, 17, 12, 6, 1, 5, 1}, + {"HB", -7, 55, 2, "HBM15", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 56, 1, "HBM15", 2, 9, 6, 1, 3, 1, 17, 12, 7, 3, 5, 0}, + {"HB", -7, 56, 2, "HBM15", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 57, 1, "HBM15", 1, 4, 6, 1, 3, 1, 17, 12, 7, 1, 5, 0}, + {"HB", -7, 57, 2, "HBM15", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 58, 1, "HBM16", 4, 16, 6, 1, 3, 1, 14, 14, 0, 3, 2, 1}, + {"HB", -7, 58, 2, "HBM16", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 59, 1, "HBM16", 3, 11, 6, 1, 3, 1, 14, 14, 0, 1, 2, 1}, + {"HB", -7, 59, 2, "HBM16", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 60, 1, "HBM16", 2, 9, 6, 1, 3, 1, 14, 14, 1, 3, 2, 0}, + {"HB", -7, 60, 2, "HBM16", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 61, 1, "HBM16", 1, 4, 6, 1, 3, 1, 14, 14, 1, 1, 2, 0}, + {"HB", -7, 61, 2, "HBM16", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 62, 1, "HBM17", 4, 16, 6, 1, 3, 1, 14, 14, 6, 3, 5, 1}, + {"HB", -7, 62, 2, "HBM17", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 63, 1, "HBM17", 3, 11, 6, 1, 3, 1, 14, 14, 6, 1, 5, 1}, + {"HB", -7, 63, 2, "HBM17", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 64, 1, "HBM17", 2, 9, 6, 1, 3, 1, 14, 14, 7, 3, 5, 0}, + {"HB", -7, 64, 2, "HBM17", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 65, 1, "HBM17", 1, 4, 6, 1, 3, 1, 14, 14, 7, 1, 5, 0}, + {"HB", -7, 65, 2, "HBM17", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 66, 1, "HBM18", 4, 16, 6, 1, 3, 1, 10, 16, 0, 3, 2, 1}, + {"HB", -7, 66, 2, "HBM18", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 67, 1, "HBM18", 3, 11, 6, 1, 3, 1, 10, 16, 0, 1, 2, 1}, + {"HB", -7, 67, 2, "HBM18", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 68, 1, "HBM18", 2, 9, 6, 1, 3, 1, 10, 16, 1, 3, 2, 0}, + {"HB", -7, 68, 2, "HBM18", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 69, 1, "HBM18", 1, 4, 6, 1, 3, 1, 10, 16, 1, 1, 2, 0}, + {"HB", -7, 69, 2, "HBM18", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 70, 1, "HBM01", 4, 16, 6, 1, 3, 1, 10, 16, 6, 3, 5, 1}, + {"HB", -7, 70, 2, "HBM01", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -7, 71, 1, "HBM01", 3, 11, 6, 1, 3, 1, 10, 16, 6, 1, 5, 1}, + {"HB", -7, 71, 2, "HBM01", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 0, 1, "HBM01", 2, 8, 4, 1, 2, 1, 10, 16, 7, 7, 5, 0}, + {"HB", -6, 0, 2, "HBM01", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 1, 1, "HBM01", 1, 5, 4, 1, 2, 1, 10, 16, 7, 5, 5, 0}, + {"HB", -6, 1, 2, "HBM01", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 2, 1, "HBM02", 4, 15, 4, 1, 2, 1, 4, 0, 0, 7, 2, 1}, + {"HB", -6, 2, 2, "HBM02", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 3, 1, "HBM02", 3, 12, 4, 1, 2, 1, 4, 0, 0, 5, 2, 1}, + {"HB", -6, 3, 2, "HBM02", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 4, 1, "HBM02", 2, 8, 4, 1, 2, 1, 4, 0, 1, 7, 2, 0}, + {"HB", -6, 4, 2, "HBM02", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 5, 1, "HBM02", 1, 5, 4, 1, 2, 1, 4, 0, 1, 5, 2, 0}, + {"HB", -6, 5, 2, "HBM02", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 6, 1, "HBM03", 4, 15, 4, 1, 2, 1, 4, 0, 6, 7, 5, 1}, + {"HB", -6, 6, 2, "HBM03", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 7, 1, "HBM03", 3, 12, 4, 1, 2, 1, 4, 0, 6, 5, 5, 1}, + {"HB", -6, 7, 2, "HBM03", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 8, 1, "HBM03", 2, 8, 4, 1, 2, 1, 4, 0, 7, 7, 5, 0}, + {"HB", -6, 8, 2, "HBM03", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 9, 1, "HBM03", 1, 5, 4, 1, 2, 1, 4, 0, 7, 5, 5, 0}, + {"HB", -6, 9, 2, "HBM03", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 10, 1, "HBM04", 4, 15, 4, 1, 2, 1, 0, 2, 0, 7, 2, 1}, + {"HB", -6, 10, 2, "HBM04", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 11, 1, "HBM04", 3, 12, 4, 1, 2, 1, 0, 2, 0, 5, 2, 1}, + {"HB", -6, 11, 2, "HBM04", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 12, 1, "HBM04", 2, 8, 4, 1, 2, 1, 0, 2, 1, 7, 2, 0}, + {"HB", -6, 12, 2, "HBM04", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 13, 1, "HBM04", 1, 5, 4, 1, 2, 1, 0, 2, 1, 5, 2, 0}, + {"HB", -6, 13, 2, "HBM04", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 14, 1, "HBM05", 4, 15, 4, 1, 2, 1, 0, 2, 6, 7, 5, 1}, + {"HB", -6, 14, 2, "HBM05", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 15, 1, "HBM05", 3, 12, 4, 1, 2, 1, 0, 2, 6, 5, 5, 1}, + {"HB", -6, 15, 2, "HBM05", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 16, 1, "HBM05", 2, 8, 4, 1, 2, 1, 0, 2, 7, 7, 5, 0}, + {"HB", -6, 16, 2, "HBM05", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 17, 1, "HBM05", 1, 5, 4, 1, 2, 1, 0, 2, 7, 5, 5, 0}, + {"HB", -6, 17, 2, "HBM05", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 18, 1, "HBM06", 4, 15, 4, 1, 2, 1, 1, 4, 0, 7, 2, 1}, + {"HB", -6, 18, 2, "HBM06", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 19, 1, "HBM06", 3, 12, 4, 1, 2, 1, 1, 4, 0, 5, 2, 1}, + {"HB", -6, 19, 2, "HBM06", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 20, 1, "HBM06", 2, 8, 4, 1, 2, 1, 1, 4, 1, 7, 2, 0}, + {"HB", -6, 20, 2, "HBM06", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 21, 1, "HBM06", 1, 5, 4, 1, 2, 1, 1, 4, 1, 5, 2, 0}, + {"HB", -6, 21, 2, "HBM06", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 22, 1, "HBM07", 4, 15, 4, 1, 2, 1, 1, 4, 6, 7, 5, 1}, + {"HB", -6, 22, 2, "HBM07", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 23, 1, "HBM07", 3, 12, 4, 1, 2, 1, 1, 4, 6, 5, 5, 1}, + {"HB", -6, 23, 2, "HBM07", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 24, 1, "HBM07", 2, 8, 4, 1, 2, 1, 1, 4, 7, 7, 5, 0}, + {"HB", -6, 24, 2, "HBM07", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 25, 1, "HBM07", 1, 5, 4, 1, 2, 1, 1, 4, 7, 5, 5, 0}, + {"HB", -6, 25, 2, "HBM07", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 26, 1, "HBM08", 4, 15, 4, 1, 2, 1, 5, 6, 0, 7, 2, 1}, + {"HB", -6, 26, 2, "HBM08", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 27, 1, "HBM08", 3, 12, 4, 1, 2, 1, 5, 6, 0, 5, 2, 1}, + {"HB", -6, 27, 2, "HBM08", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 28, 1, "HBM08", 2, 8, 4, 1, 2, 1, 5, 6, 1, 7, 2, 0}, + {"HB", -6, 28, 2, "HBM08", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 29, 1, "HBM08", 1, 5, 4, 1, 2, 1, 5, 6, 1, 5, 2, 0}, + {"HB", -6, 29, 2, "HBM08", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 30, 1, "HBM09", 4, 15, 4, 1, 2, 1, 5, 6, 6, 7, 5, 1}, + {"HB", -6, 30, 2, "HBM09", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 31, 1, "HBM09", 3, 12, 4, 1, 2, 1, 5, 6, 6, 5, 5, 1}, + {"HB", -6, 31, 2, "HBM09", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 32, 1, "HBM09", 2, 8, 4, 1, 2, 1, 5, 6, 7, 7, 5, 0}, + {"HB", -6, 32, 2, "HBM09", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 33, 1, "HBM09", 1, 5, 4, 1, 2, 1, 5, 6, 7, 5, 5, 0}, + {"HB", -6, 33, 2, "HBM09", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 34, 1, "HBM10", 4, 15, 4, 1, 2, 1, 11, 8, 0, 7, 2, 1}, + {"HB", -6, 34, 2, "HBM10", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 35, 1, "HBM10", 3, 12, 4, 1, 2, 1, 11, 8, 0, 5, 2, 1}, + {"HB", -6, 35, 2, "HBM10", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 36, 1, "HBM10", 2, 8, 4, 1, 2, 1, 11, 8, 1, 7, 2, 0}, + {"HB", -6, 36, 2, "HBM10", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 37, 1, "HBM10", 1, 5, 4, 1, 2, 1, 11, 8, 1, 5, 2, 0}, + {"HB", -6, 37, 2, "HBM10", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 38, 1, "HBM11", 4, 15, 4, 1, 2, 1, 11, 8, 6, 7, 5, 1}, + {"HB", -6, 38, 2, "HBM11", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 39, 1, "HBM11", 3, 12, 4, 1, 2, 1, 11, 8, 6, 5, 5, 1}, + {"HB", -6, 39, 2, "HBM11", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 40, 1, "HBM11", 2, 8, 4, 1, 2, 1, 11, 8, 7, 7, 5, 0}, + {"HB", -6, 40, 2, "HBM11", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 41, 1, "HBM11", 1, 5, 4, 1, 2, 1, 11, 8, 7, 5, 5, 0}, + {"HB", -6, 41, 2, "HBM11", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 42, 1, "HBM12", 4, 15, 4, 1, 2, 1, 15, 10, 0, 7, 2, 1}, + {"HB", -6, 42, 2, "HBM12", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 43, 1, "HBM12", 3, 12, 4, 1, 2, 1, 15, 10, 0, 5, 2, 1}, + {"HB", -6, 43, 2, "HBM12", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 44, 1, "HBM12", 2, 8, 4, 1, 2, 1, 15, 10, 1, 7, 2, 0}, + {"HB", -6, 44, 2, "HBM12", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 45, 1, "HBM12", 1, 5, 4, 1, 2, 1, 15, 10, 1, 5, 2, 0}, + {"HB", -6, 45, 2, "HBM12", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 46, 1, "HBM13", 4, 15, 4, 1, 2, 1, 15, 10, 6, 7, 5, 1}, + {"HB", -6, 46, 2, "HBM13", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 47, 1, "HBM13", 3, 12, 4, 1, 2, 1, 15, 10, 6, 5, 5, 1}, + {"HB", -6, 47, 2, "HBM13", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 48, 1, "HBM13", 2, 8, 4, 1, 2, 1, 15, 10, 7, 7, 5, 0}, + {"HB", -6, 48, 2, "HBM13", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 49, 1, "HBM13", 1, 5, 4, 1, 2, 1, 15, 10, 7, 5, 5, 0}, + {"HB", -6, 49, 2, "HBM13", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 50, 1, "HBM14", 4, 15, 4, 1, 2, 1, 17, 12, 0, 7, 2, 1}, + {"HB", -6, 50, 2, "HBM14", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 51, 1, "HBM14", 3, 12, 4, 1, 2, 1, 17, 12, 0, 5, 2, 1}, + {"HB", -6, 51, 2, "HBM14", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 52, 1, "HBM14", 2, 8, 4, 1, 2, 1, 17, 12, 1, 7, 2, 0}, + {"HB", -6, 52, 2, "HBM14", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 53, 1, "HBM14", 1, 5, 4, 1, 2, 1, 17, 12, 1, 5, 2, 0}, + {"HB", -6, 53, 2, "HBM14", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 54, 1, "HBM15", 4, 15, 4, 1, 2, 1, 17, 12, 6, 7, 5, 1}, + {"HB", -6, 54, 2, "HBM15", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 55, 1, "HBM15", 3, 12, 4, 1, 2, 1, 17, 12, 6, 5, 5, 1}, + {"HB", -6, 55, 2, "HBM15", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 56, 1, "HBM15", 2, 8, 4, 1, 2, 1, 17, 12, 7, 7, 5, 0}, + {"HB", -6, 56, 2, "HBM15", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 57, 1, "HBM15", 1, 5, 4, 1, 2, 1, 17, 12, 7, 5, 5, 0}, + {"HB", -6, 57, 2, "HBM15", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 58, 1, "HBM16", 4, 15, 4, 1, 2, 1, 14, 14, 0, 7, 2, 1}, + {"HB", -6, 58, 2, "HBM16", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 59, 1, "HBM16", 3, 12, 4, 1, 2, 1, 14, 14, 0, 5, 2, 1}, + {"HB", -6, 59, 2, "HBM16", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 60, 1, "HBM16", 2, 8, 4, 1, 2, 1, 14, 14, 1, 7, 2, 0}, + {"HB", -6, 60, 2, "HBM16", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 61, 1, "HBM16", 1, 5, 4, 1, 2, 1, 14, 14, 1, 5, 2, 0}, + {"HB", -6, 61, 2, "HBM16", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 62, 1, "HBM17", 4, 15, 4, 1, 2, 1, 14, 14, 6, 7, 5, 1}, + {"HB", -6, 62, 2, "HBM17", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 63, 1, "HBM17", 3, 12, 4, 1, 2, 1, 14, 14, 6, 5, 5, 1}, + {"HB", -6, 63, 2, "HBM17", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 64, 1, "HBM17", 2, 8, 4, 1, 2, 1, 14, 14, 7, 7, 5, 0}, + {"HB", -6, 64, 2, "HBM17", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 65, 1, "HBM17", 1, 5, 4, 1, 2, 1, 14, 14, 7, 5, 5, 0}, + {"HB", -6, 65, 2, "HBM17", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 66, 1, "HBM18", 4, 15, 4, 1, 2, 1, 10, 16, 0, 7, 2, 1}, + {"HB", -6, 66, 2, "HBM18", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 67, 1, "HBM18", 3, 12, 4, 1, 2, 1, 10, 16, 0, 5, 2, 1}, + {"HB", -6, 67, 2, "HBM18", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 68, 1, "HBM18", 2, 8, 4, 1, 2, 1, 10, 16, 1, 7, 2, 0}, + {"HB", -6, 68, 2, "HBM18", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 69, 1, "HBM18", 1, 5, 4, 1, 2, 1, 10, 16, 1, 5, 2, 0}, + {"HB", -6, 69, 2, "HBM18", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 70, 1, "HBM01", 4, 15, 4, 1, 2, 1, 10, 16, 6, 7, 5, 1}, + {"HB", -6, 70, 2, "HBM01", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -6, 71, 1, "HBM01", 3, 12, 4, 1, 2, 1, 10, 16, 6, 5, 5, 1}, + {"HB", -6, 71, 2, "HBM01", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 0, 1, "HBM01", 2, 16, 7, 0, 3, 4, 10, 16, 7, 4, 5, 0}, + {"HB", -5, 0, 2, "HBM01", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 1, 1, "HBM01", 1, 6, 7, 0, 3, 4, 10, 16, 7, 2, 5, 0}, + {"HB", -5, 1, 2, "HBM01", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 2, 1, "HBM02", 4, 14, 7, 0, 3, 4, 4, 0, 0, 4, 2, 1}, + {"HB", -5, 2, 2, "HBM02", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 3, 1, "HBM02", 3, 4, 7, 0, 3, 4, 4, 0, 0, 2, 2, 1}, + {"HB", -5, 3, 2, "HBM02", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 4, 1, "HBM02", 2, 16, 7, 0, 3, 4, 4, 0, 1, 4, 2, 0}, + {"HB", -5, 4, 2, "HBM02", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 5, 1, "HBM02", 1, 6, 7, 0, 3, 4, 4, 0, 1, 2, 2, 0}, + {"HB", -5, 5, 2, "HBM02", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 6, 1, "HBM03", 4, 14, 7, 0, 3, 4, 4, 0, 6, 4, 5, 1}, + {"HB", -5, 6, 2, "HBM03", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 7, 1, "HBM03", 3, 4, 7, 0, 3, 4, 4, 0, 6, 2, 5, 1}, + {"HB", -5, 7, 2, "HBM03", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 8, 1, "HBM03", 2, 16, 7, 0, 3, 4, 4, 0, 7, 4, 5, 0}, + {"HB", -5, 8, 2, "HBM03", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 9, 1, "HBM03", 1, 6, 7, 0, 3, 4, 4, 0, 7, 2, 5, 0}, + {"HB", -5, 9, 2, "HBM03", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 10, 1, "HBM04", 4, 14, 7, 0, 3, 4, 0, 2, 0, 4, 2, 1}, + {"HB", -5, 10, 2, "HBM04", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 11, 1, "HBM04", 3, 4, 7, 0, 3, 4, 0, 2, 0, 2, 2, 1}, + {"HB", -5, 11, 2, "HBM04", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 12, 1, "HBM04", 2, 16, 7, 0, 3, 4, 0, 2, 1, 4, 2, 0}, + {"HB", -5, 12, 2, "HBM04", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 13, 1, "HBM04", 1, 6, 7, 0, 3, 4, 0, 2, 1, 2, 2, 0}, + {"HB", -5, 13, 2, "HBM04", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 14, 1, "HBM05", 4, 14, 7, 0, 3, 4, 0, 2, 6, 4, 5, 1}, + {"HB", -5, 14, 2, "HBM05", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 15, 1, "HBM05", 3, 4, 7, 0, 3, 4, 0, 2, 6, 2, 5, 1}, + {"HB", -5, 15, 2, "HBM05", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 16, 1, "HBM05", 2, 16, 7, 0, 3, 4, 0, 2, 7, 4, 5, 0}, + {"HB", -5, 16, 2, "HBM05", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 17, 1, "HBM05", 1, 6, 7, 0, 3, 4, 0, 2, 7, 2, 5, 0}, + {"HB", -5, 17, 2, "HBM05", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 18, 1, "HBM06", 4, 14, 7, 0, 3, 4, 1, 4, 0, 4, 2, 1}, + {"HB", -5, 18, 2, "HBM06", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 19, 1, "HBM06", 3, 4, 7, 0, 3, 4, 1, 4, 0, 2, 2, 1}, + {"HB", -5, 19, 2, "HBM06", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 20, 1, "HBM06", 2, 16, 7, 0, 3, 4, 1, 4, 1, 4, 2, 0}, + {"HB", -5, 20, 2, "HBM06", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 21, 1, "HBM06", 1, 6, 7, 0, 3, 4, 1, 4, 1, 2, 2, 0}, + {"HB", -5, 21, 2, "HBM06", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 22, 1, "HBM07", 4, 14, 7, 0, 3, 4, 1, 4, 6, 4, 5, 1}, + {"HB", -5, 22, 2, "HBM07", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 23, 1, "HBM07", 3, 4, 7, 0, 3, 4, 1, 4, 6, 2, 5, 1}, + {"HB", -5, 23, 2, "HBM07", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 24, 1, "HBM07", 2, 16, 7, 0, 3, 4, 1, 4, 7, 4, 5, 0}, + {"HB", -5, 24, 2, "HBM07", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 25, 1, "HBM07", 1, 6, 7, 0, 3, 4, 1, 4, 7, 2, 5, 0}, + {"HB", -5, 25, 2, "HBM07", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 26, 1, "HBM08", 4, 14, 7, 0, 3, 4, 5, 6, 0, 4, 2, 1}, + {"HB", -5, 26, 2, "HBM08", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 27, 1, "HBM08", 3, 4, 7, 0, 3, 4, 5, 6, 0, 2, 2, 1}, + {"HB", -5, 27, 2, "HBM08", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 28, 1, "HBM08", 2, 16, 7, 0, 3, 4, 5, 6, 1, 4, 2, 0}, + {"HB", -5, 28, 2, "HBM08", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 29, 1, "HBM08", 1, 6, 7, 0, 3, 4, 5, 6, 1, 2, 2, 0}, + {"HB", -5, 29, 2, "HBM08", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 30, 1, "HBM09", 4, 14, 7, 0, 3, 4, 5, 6, 6, 4, 5, 1}, + {"HB", -5, 30, 2, "HBM09", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 31, 1, "HBM09", 3, 4, 7, 0, 3, 4, 5, 6, 6, 2, 5, 1}, + {"HB", -5, 31, 2, "HBM09", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 32, 1, "HBM09", 2, 16, 7, 0, 3, 4, 5, 6, 7, 4, 5, 0}, + {"HB", -5, 32, 2, "HBM09", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 33, 1, "HBM09", 1, 6, 7, 0, 3, 4, 5, 6, 7, 2, 5, 0}, + {"HB", -5, 33, 2, "HBM09", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 34, 1, "HBM10", 4, 14, 7, 0, 3, 4, 11, 8, 0, 4, 2, 1}, + {"HB", -5, 34, 2, "HBM10", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 35, 1, "HBM10", 3, 4, 7, 0, 3, 4, 11, 8, 0, 2, 2, 1}, + {"HB", -5, 35, 2, "HBM10", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 36, 1, "HBM10", 2, 16, 7, 0, 3, 4, 11, 8, 1, 4, 2, 0}, + {"HB", -5, 36, 2, "HBM10", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 37, 1, "HBM10", 1, 6, 7, 0, 3, 4, 11, 8, 1, 2, 2, 0}, + {"HB", -5, 37, 2, "HBM10", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 38, 1, "HBM11", 4, 14, 7, 0, 3, 4, 11, 8, 6, 4, 5, 1}, + {"HB", -5, 38, 2, "HBM11", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 39, 1, "HBM11", 3, 4, 7, 0, 3, 4, 11, 8, 6, 2, 5, 1}, + {"HB", -5, 39, 2, "HBM11", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 40, 1, "HBM11", 2, 16, 7, 0, 3, 4, 11, 8, 7, 4, 5, 0}, + {"HB", -5, 40, 2, "HBM11", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 41, 1, "HBM11", 1, 6, 7, 0, 3, 4, 11, 8, 7, 2, 5, 0}, + {"HB", -5, 41, 2, "HBM11", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 42, 1, "HBM12", 4, 14, 7, 0, 3, 4, 15, 10, 0, 4, 2, 1}, + {"HB", -5, 42, 2, "HBM12", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 43, 1, "HBM12", 3, 4, 7, 0, 3, 4, 15, 10, 0, 2, 2, 1}, + {"HB", -5, 43, 2, "HBM12", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 44, 1, "HBM12", 2, 16, 7, 0, 3, 4, 15, 10, 1, 4, 2, 0}, + {"HB", -5, 44, 2, "HBM12", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 45, 1, "HBM12", 1, 6, 7, 0, 3, 4, 15, 10, 1, 2, 2, 0}, + {"HB", -5, 45, 2, "HBM12", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 46, 1, "HBM13", 4, 14, 7, 0, 3, 4, 15, 10, 6, 4, 5, 1}, + {"HB", -5, 46, 2, "HBM13", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 47, 1, "HBM13", 3, 4, 7, 0, 3, 4, 15, 10, 6, 2, 5, 1}, + {"HB", -5, 47, 2, "HBM13", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 48, 1, "HBM13", 2, 16, 7, 0, 3, 4, 15, 10, 7, 4, 5, 0}, + {"HB", -5, 48, 2, "HBM13", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 49, 1, "HBM13", 1, 6, 7, 0, 3, 4, 15, 10, 7, 2, 5, 0}, + {"HB", -5, 49, 2, "HBM13", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 50, 1, "HBM14", 4, 14, 7, 0, 3, 4, 17, 12, 0, 4, 2, 1}, + {"HB", -5, 50, 2, "HBM14", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 51, 1, "HBM14", 3, 4, 7, 0, 3, 4, 17, 12, 0, 2, 2, 1}, + {"HB", -5, 51, 2, "HBM14", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 52, 1, "HBM14", 2, 16, 7, 0, 3, 4, 17, 12, 1, 4, 2, 0}, + {"HB", -5, 52, 2, "HBM14", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 53, 1, "HBM14", 1, 6, 7, 0, 3, 4, 17, 12, 1, 2, 2, 0}, + {"HB", -5, 53, 2, "HBM14", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 54, 1, "HBM15", 4, 14, 7, 0, 3, 4, 17, 12, 6, 4, 5, 1}, + {"HB", -5, 54, 2, "HBM15", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 55, 1, "HBM15", 3, 4, 7, 0, 3, 4, 17, 12, 6, 2, 5, 1}, + {"HB", -5, 55, 2, "HBM15", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 56, 1, "HBM15", 2, 16, 7, 0, 3, 4, 17, 12, 7, 4, 5, 0}, + {"HB", -5, 56, 2, "HBM15", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 57, 1, "HBM15", 1, 6, 7, 0, 3, 4, 17, 12, 7, 2, 5, 0}, + {"HB", -5, 57, 2, "HBM15", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 58, 1, "HBM16", 4, 14, 7, 0, 3, 4, 14, 14, 0, 4, 2, 1}, + {"HB", -5, 58, 2, "HBM16", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 59, 1, "HBM16", 3, 4, 7, 0, 3, 4, 14, 14, 0, 2, 2, 1}, + {"HB", -5, 59, 2, "HBM16", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 60, 1, "HBM16", 2, 16, 7, 0, 3, 4, 14, 14, 1, 4, 2, 0}, + {"HB", -5, 60, 2, "HBM16", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 61, 1, "HBM16", 1, 6, 7, 0, 3, 4, 14, 14, 1, 2, 2, 0}, + {"HB", -5, 61, 2, "HBM16", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 62, 1, "HBM17", 4, 14, 7, 0, 3, 4, 14, 14, 6, 4, 5, 1}, + {"HB", -5, 62, 2, "HBM17", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 63, 1, "HBM17", 3, 4, 7, 0, 3, 4, 14, 14, 6, 2, 5, 1}, + {"HB", -5, 63, 2, "HBM17", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 64, 1, "HBM17", 2, 16, 7, 0, 3, 4, 14, 14, 7, 4, 5, 0}, + {"HB", -5, 64, 2, "HBM17", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 65, 1, "HBM17", 1, 6, 7, 0, 3, 4, 14, 14, 7, 2, 5, 0}, + {"HB", -5, 65, 2, "HBM17", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 66, 1, "HBM18", 4, 14, 7, 0, 3, 4, 10, 16, 0, 4, 2, 1}, + {"HB", -5, 66, 2, "HBM18", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 67, 1, "HBM18", 3, 4, 7, 0, 3, 4, 10, 16, 0, 2, 2, 1}, + {"HB", -5, 67, 2, "HBM18", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 68, 1, "HBM18", 2, 16, 7, 0, 3, 4, 10, 16, 1, 4, 2, 0}, + {"HB", -5, 68, 2, "HBM18", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 69, 1, "HBM18", 1, 6, 7, 0, 3, 4, 10, 16, 1, 2, 2, 0}, + {"HB", -5, 69, 2, "HBM18", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 70, 1, "HBM01", 4, 14, 7, 0, 3, 4, 10, 16, 6, 4, 5, 1}, + {"HB", -5, 70, 2, "HBM01", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -5, 71, 1, "HBM01", 3, 4, 7, 0, 3, 4, 10, 16, 6, 2, 5, 1}, + {"HB", -5, 71, 2, "HBM01", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 0, 1, "HBM01", 2, 15, 5, 1, 2, 5, 10, 16, 7, 8, 5, 0}, + {"HB", -4, 0, 2, "HBM01", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 1, 1, "HBM01", 1, 7, 5, 1, 2, 5, 10, 16, 7, 6, 5, 0}, + {"HB", -4, 1, 2, "HBM01", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 2, 1, "HBM02", 4, 13, 5, 1, 2, 5, 4, 0, 0, 8, 2, 1}, + {"HB", -4, 2, 2, "HBM02", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 3, 1, "HBM02", 3, 5, 5, 1, 2, 5, 4, 0, 0, 6, 2, 1}, + {"HB", -4, 3, 2, "HBM02", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 4, 1, "HBM02", 2, 15, 5, 1, 2, 5, 4, 0, 1, 8, 2, 0}, + {"HB", -4, 4, 2, "HBM02", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 5, 1, "HBM02", 1, 7, 5, 1, 2, 5, 4, 0, 1, 6, 2, 0}, + {"HB", -4, 5, 2, "HBM02", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 6, 1, "HBM03", 4, 13, 5, 1, 2, 5, 4, 0, 6, 8, 5, 1}, + {"HB", -4, 6, 2, "HBM03", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 7, 1, "HBM03", 3, 5, 5, 1, 2, 5, 4, 0, 6, 6, 5, 1}, + {"HB", -4, 7, 2, "HBM03", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 8, 1, "HBM03", 2, 15, 5, 1, 2, 5, 4, 0, 7, 8, 5, 0}, + {"HB", -4, 8, 2, "HBM03", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 9, 1, "HBM03", 1, 7, 5, 1, 2, 5, 4, 0, 7, 6, 5, 0}, + {"HB", -4, 9, 2, "HBM03", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 10, 1, "HBM04", 4, 13, 5, 1, 2, 5, 0, 2, 0, 8, 2, 1}, + {"HB", -4, 10, 2, "HBM04", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 11, 1, "HBM04", 3, 5, 5, 1, 2, 5, 0, 2, 0, 6, 2, 1}, + {"HB", -4, 11, 2, "HBM04", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 12, 1, "HBM04", 2, 15, 5, 1, 2, 5, 0, 2, 1, 8, 2, 0}, + {"HB", -4, 12, 2, "HBM04", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 13, 1, "HBM04", 1, 7, 5, 1, 2, 5, 0, 2, 1, 6, 2, 0}, + {"HB", -4, 13, 2, "HBM04", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 14, 1, "HBM05", 4, 13, 5, 1, 2, 5, 0, 2, 6, 8, 5, 1}, + {"HB", -4, 14, 2, "HBM05", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 15, 1, "HBM05", 3, 5, 5, 1, 2, 5, 0, 2, 6, 6, 5, 1}, + {"HB", -4, 15, 2, "HBM05", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 16, 1, "HBM05", 2, 15, 5, 1, 2, 5, 0, 2, 7, 8, 5, 0}, + {"HB", -4, 16, 2, "HBM05", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 17, 1, "HBM05", 1, 7, 5, 1, 2, 5, 0, 2, 7, 6, 5, 0}, + {"HB", -4, 17, 2, "HBM05", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 18, 1, "HBM06", 4, 13, 5, 1, 2, 5, 1, 4, 0, 8, 2, 1}, + {"HB", -4, 18, 2, "HBM06", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 19, 1, "HBM06", 3, 5, 5, 1, 2, 5, 1, 4, 0, 6, 2, 1}, + {"HB", -4, 19, 2, "HBM06", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 20, 1, "HBM06", 2, 15, 5, 1, 2, 5, 1, 4, 1, 8, 2, 0}, + {"HB", -4, 20, 2, "HBM06", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 21, 1, "HBM06", 1, 7, 5, 1, 2, 5, 1, 4, 1, 6, 2, 0}, + {"HB", -4, 21, 2, "HBM06", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 22, 1, "HBM07", 4, 13, 5, 1, 2, 5, 1, 4, 6, 8, 5, 1}, + {"HB", -4, 22, 2, "HBM07", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 23, 1, "HBM07", 3, 5, 5, 1, 2, 5, 1, 4, 6, 6, 5, 1}, + {"HB", -4, 23, 2, "HBM07", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 24, 1, "HBM07", 2, 15, 5, 1, 2, 5, 1, 4, 7, 8, 5, 0}, + {"HB", -4, 24, 2, "HBM07", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 25, 1, "HBM07", 1, 7, 5, 1, 2, 5, 1, 4, 7, 6, 5, 0}, + {"HB", -4, 25, 2, "HBM07", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 26, 1, "HBM08", 4, 13, 5, 1, 2, 5, 5, 6, 0, 8, 2, 1}, + {"HB", -4, 26, 2, "HBM08", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 27, 1, "HBM08", 3, 5, 5, 1, 2, 5, 5, 6, 0, 6, 2, 1}, + {"HB", -4, 27, 2, "HBM08", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 28, 1, "HBM08", 2, 15, 5, 1, 2, 5, 5, 6, 1, 8, 2, 0}, + {"HB", -4, 28, 2, "HBM08", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 29, 1, "HBM08", 1, 7, 5, 1, 2, 5, 5, 6, 1, 6, 2, 0}, + {"HB", -4, 29, 2, "HBM08", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 30, 1, "HBM09", 4, 13, 5, 1, 2, 5, 5, 6, 6, 8, 5, 1}, + {"HB", -4, 30, 2, "HBM09", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 31, 1, "HBM09", 3, 5, 5, 1, 2, 5, 5, 6, 6, 6, 5, 1}, + {"HB", -4, 31, 2, "HBM09", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 32, 1, "HBM09", 2, 15, 5, 1, 2, 5, 5, 6, 7, 8, 5, 0}, + {"HB", -4, 32, 2, "HBM09", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 33, 1, "HBM09", 1, 7, 5, 1, 2, 5, 5, 6, 7, 6, 5, 0}, + {"HB", -4, 33, 2, "HBM09", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 34, 1, "HBM10", 4, 13, 5, 1, 2, 5, 11, 8, 0, 8, 2, 1}, + {"HB", -4, 34, 2, "HBM10", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 35, 1, "HBM10", 3, 5, 5, 1, 2, 5, 11, 8, 0, 6, 2, 1}, + {"HB", -4, 35, 2, "HBM10", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 36, 1, "HBM10", 2, 15, 5, 1, 2, 5, 11, 8, 1, 8, 2, 0}, + {"HB", -4, 36, 2, "HBM10", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 37, 1, "HBM10", 1, 7, 5, 1, 2, 5, 11, 8, 1, 6, 2, 0}, + {"HB", -4, 37, 2, "HBM10", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 38, 1, "HBM11", 4, 13, 5, 1, 2, 5, 11, 8, 6, 8, 5, 1}, + {"HB", -4, 38, 2, "HBM11", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 39, 1, "HBM11", 3, 5, 5, 1, 2, 5, 11, 8, 6, 6, 5, 1}, + {"HB", -4, 39, 2, "HBM11", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 40, 1, "HBM11", 2, 15, 5, 1, 2, 5, 11, 8, 7, 8, 5, 0}, + {"HB", -4, 40, 2, "HBM11", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 41, 1, "HBM11", 1, 7, 5, 1, 2, 5, 11, 8, 7, 6, 5, 0}, + {"HB", -4, 41, 2, "HBM11", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 42, 1, "HBM12", 4, 13, 5, 1, 2, 5, 15, 10, 0, 8, 2, 1}, + {"HB", -4, 42, 2, "HBM12", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 43, 1, "HBM12", 3, 5, 5, 1, 2, 5, 15, 10, 0, 6, 2, 1}, + {"HB", -4, 43, 2, "HBM12", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 44, 1, "HBM12", 2, 15, 5, 1, 2, 5, 15, 10, 1, 8, 2, 0}, + {"HB", -4, 44, 2, "HBM12", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 45, 1, "HBM12", 1, 7, 5, 1, 2, 5, 15, 10, 1, 6, 2, 0}, + {"HB", -4, 45, 2, "HBM12", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 46, 1, "HBM13", 4, 13, 5, 1, 2, 5, 15, 10, 6, 8, 5, 1}, + {"HB", -4, 46, 2, "HBM13", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 47, 1, "HBM13", 3, 5, 5, 1, 2, 5, 15, 10, 6, 6, 5, 1}, + {"HB", -4, 47, 2, "HBM13", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 48, 1, "HBM13", 2, 15, 5, 1, 2, 5, 15, 10, 7, 8, 5, 0}, + {"HB", -4, 48, 2, "HBM13", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 49, 1, "HBM13", 1, 7, 5, 1, 2, 5, 15, 10, 7, 6, 5, 0}, + {"HB", -4, 49, 2, "HBM13", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 50, 1, "HBM14", 4, 13, 5, 1, 2, 5, 17, 12, 0, 8, 2, 1}, + {"HB", -4, 50, 2, "HBM14", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 51, 1, "HBM14", 3, 5, 5, 1, 2, 5, 17, 12, 0, 6, 2, 1}, + {"HB", -4, 51, 2, "HBM14", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 52, 1, "HBM14", 2, 15, 5, 1, 2, 5, 17, 12, 1, 8, 2, 0}, + {"HB", -4, 52, 2, "HBM14", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 53, 1, "HBM14", 1, 7, 5, 1, 2, 5, 17, 12, 1, 6, 2, 0}, + {"HB", -4, 53, 2, "HBM14", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 54, 1, "HBM15", 4, 13, 5, 1, 2, 5, 17, 12, 6, 8, 5, 1}, + {"HB", -4, 54, 2, "HBM15", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 55, 1, "HBM15", 3, 5, 5, 1, 2, 5, 17, 12, 6, 6, 5, 1}, + {"HB", -4, 55, 2, "HBM15", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 56, 1, "HBM15", 2, 15, 5, 1, 2, 5, 17, 12, 7, 8, 5, 0}, + {"HB", -4, 56, 2, "HBM15", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 57, 1, "HBM15", 1, 7, 5, 1, 2, 5, 17, 12, 7, 6, 5, 0}, + {"HB", -4, 57, 2, "HBM15", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 58, 1, "HBM16", 4, 13, 5, 1, 2, 5, 14, 14, 0, 8, 2, 1}, + {"HB", -4, 58, 2, "HBM16", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 59, 1, "HBM16", 3, 5, 5, 1, 2, 5, 14, 14, 0, 6, 2, 1}, + {"HB", -4, 59, 2, "HBM16", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 60, 1, "HBM16", 2, 15, 5, 1, 2, 5, 14, 14, 1, 8, 2, 0}, + {"HB", -4, 60, 2, "HBM16", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 61, 1, "HBM16", 1, 7, 5, 1, 2, 5, 14, 14, 1, 6, 2, 0}, + {"HB", -4, 61, 2, "HBM16", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 62, 1, "HBM17", 4, 13, 5, 1, 2, 5, 14, 14, 6, 8, 5, 1}, + {"HB", -4, 62, 2, "HBM17", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 63, 1, "HBM17", 3, 5, 5, 1, 2, 5, 14, 14, 6, 6, 5, 1}, + {"HB", -4, 63, 2, "HBM17", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 64, 1, "HBM17", 2, 15, 5, 1, 2, 5, 14, 14, 7, 8, 5, 0}, + {"HB", -4, 64, 2, "HBM17", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 65, 1, "HBM17", 1, 7, 5, 1, 2, 5, 14, 14, 7, 6, 5, 0}, + {"HB", -4, 65, 2, "HBM17", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 66, 1, "HBM18", 4, 13, 5, 1, 2, 5, 10, 16, 0, 8, 2, 1}, + {"HB", -4, 66, 2, "HBM18", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 67, 1, "HBM18", 3, 5, 5, 1, 2, 5, 10, 16, 0, 6, 2, 1}, + {"HB", -4, 67, 2, "HBM18", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 68, 1, "HBM18", 2, 15, 5, 1, 2, 5, 10, 16, 1, 8, 2, 0}, + {"HB", -4, 68, 2, "HBM18", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 69, 1, "HBM18", 1, 7, 5, 1, 2, 5, 10, 16, 1, 6, 2, 0}, + {"HB", -4, 69, 2, "HBM18", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 70, 1, "HBM01", 4, 13, 5, 1, 2, 5, 10, 16, 6, 8, 5, 1}, + {"HB", -4, 70, 2, "HBM01", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -4, 71, 1, "HBM01", 3, 5, 5, 1, 2, 5, 10, 16, 6, 6, 5, 1}, + {"HB", -4, 71, 2, "HBM01", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 0, 1, "HBM01", 2, 14, 6, 2, 3, 2, 10, 16, 7, 3, 5, 0}, + {"HB", -3, 0, 2, "HBM01", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 1, 1, "HBM01", 1, 1, 6, 2, 3, 2, 10, 16, 7, 1, 5, 0}, + {"HB", -3, 1, 2, "HBM01", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 2, 1, "HBM02", 4, 19, 6, 2, 3, 2, 4, 0, 0, 3, 2, 1}, + {"HB", -3, 2, 2, "HBM02", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 3, 1, "HBM02", 3, 6, 6, 2, 3, 2, 4, 0, 0, 1, 2, 1}, + {"HB", -3, 3, 2, "HBM02", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 4, 1, "HBM02", 2, 14, 6, 2, 3, 2, 4, 0, 1, 3, 2, 0}, + {"HB", -3, 4, 2, "HBM02", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 5, 1, "HBM02", 1, 1, 6, 2, 3, 2, 4, 0, 1, 1, 2, 0}, + {"HB", -3, 5, 2, "HBM02", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 6, 1, "HBM03", 4, 19, 6, 2, 3, 2, 4, 0, 6, 3, 5, 1}, + {"HB", -3, 6, 2, "HBM03", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 7, 1, "HBM03", 3, 6, 6, 2, 3, 2, 4, 0, 6, 1, 5, 1}, + {"HB", -3, 7, 2, "HBM03", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 8, 1, "HBM03", 2, 14, 6, 2, 3, 2, 4, 0, 7, 3, 5, 0}, + {"HB", -3, 8, 2, "HBM03", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 9, 1, "HBM03", 1, 1, 6, 2, 3, 2, 4, 0, 7, 1, 5, 0}, + {"HB", -3, 9, 2, "HBM03", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 10, 1, "HBM04", 4, 19, 6, 2, 3, 2, 0, 2, 0, 3, 2, 1}, + {"HB", -3, 10, 2, "HBM04", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 11, 1, "HBM04", 3, 6, 6, 2, 3, 2, 0, 2, 0, 1, 2, 1}, + {"HB", -3, 11, 2, "HBM04", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 12, 1, "HBM04", 2, 14, 6, 2, 3, 2, 0, 2, 1, 3, 2, 0}, + {"HB", -3, 12, 2, "HBM04", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 13, 1, "HBM04", 1, 1, 6, 2, 3, 2, 0, 2, 1, 1, 2, 0}, + {"HB", -3, 13, 2, "HBM04", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 14, 1, "HBM05", 4, 19, 6, 2, 3, 2, 0, 2, 6, 3, 5, 1}, + {"HB", -3, 14, 2, "HBM05", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 15, 1, "HBM05", 3, 6, 6, 2, 3, 2, 0, 2, 6, 1, 5, 1}, + {"HB", -3, 15, 2, "HBM05", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 16, 1, "HBM05", 2, 14, 6, 2, 3, 2, 0, 2, 7, 3, 5, 0}, + {"HB", -3, 16, 2, "HBM05", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 17, 1, "HBM05", 1, 1, 6, 2, 3, 2, 0, 2, 7, 1, 5, 0}, + {"HB", -3, 17, 2, "HBM05", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 18, 1, "HBM06", 4, 19, 6, 2, 3, 2, 1, 4, 0, 3, 2, 1}, + {"HB", -3, 18, 2, "HBM06", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 19, 1, "HBM06", 3, 6, 6, 2, 3, 2, 1, 4, 0, 1, 2, 1}, + {"HB", -3, 19, 2, "HBM06", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 20, 1, "HBM06", 2, 14, 6, 2, 3, 2, 1, 4, 1, 3, 2, 0}, + {"HB", -3, 20, 2, "HBM06", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 21, 1, "HBM06", 1, 1, 6, 2, 3, 2, 1, 4, 1, 1, 2, 0}, + {"HB", -3, 21, 2, "HBM06", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 22, 1, "HBM07", 4, 19, 6, 2, 3, 2, 1, 4, 6, 3, 5, 1}, + {"HB", -3, 22, 2, "HBM07", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 23, 1, "HBM07", 3, 6, 6, 2, 3, 2, 1, 4, 6, 1, 5, 1}, + {"HB", -3, 23, 2, "HBM07", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 24, 1, "HBM07", 2, 14, 6, 2, 3, 2, 1, 4, 7, 3, 5, 0}, + {"HB", -3, 24, 2, "HBM07", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 25, 1, "HBM07", 1, 1, 6, 2, 3, 2, 1, 4, 7, 1, 5, 0}, + {"HB", -3, 25, 2, "HBM07", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 26, 1, "HBM08", 4, 19, 6, 2, 3, 2, 5, 6, 0, 3, 2, 1}, + {"HB", -3, 26, 2, "HBM08", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 27, 1, "HBM08", 3, 6, 6, 2, 3, 2, 5, 6, 0, 1, 2, 1}, + {"HB", -3, 27, 2, "HBM08", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 28, 1, "HBM08", 2, 14, 6, 2, 3, 2, 5, 6, 1, 3, 2, 0}, + {"HB", -3, 28, 2, "HBM08", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 29, 1, "HBM08", 1, 1, 6, 2, 3, 2, 5, 6, 1, 1, 2, 0}, + {"HB", -3, 29, 2, "HBM08", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 30, 1, "HBM09", 4, 19, 6, 2, 3, 2, 5, 6, 6, 3, 5, 1}, + {"HB", -3, 30, 2, "HBM09", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 31, 1, "HBM09", 3, 6, 6, 2, 3, 2, 5, 6, 6, 1, 5, 1}, + {"HB", -3, 31, 2, "HBM09", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 32, 1, "HBM09", 2, 14, 6, 2, 3, 2, 5, 6, 7, 3, 5, 0}, + {"HB", -3, 32, 2, "HBM09", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 33, 1, "HBM09", 1, 1, 6, 2, 3, 2, 5, 6, 7, 1, 5, 0}, + {"HB", -3, 33, 2, "HBM09", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 34, 1, "HBM10", 4, 19, 6, 2, 3, 2, 11, 8, 0, 3, 2, 1}, + {"HB", -3, 34, 2, "HBM10", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 35, 1, "HBM10", 3, 6, 6, 2, 3, 2, 11, 8, 0, 1, 2, 1}, + {"HB", -3, 35, 2, "HBM10", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 36, 1, "HBM10", 2, 14, 6, 2, 3, 2, 11, 8, 1, 3, 2, 0}, + {"HB", -3, 36, 2, "HBM10", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 37, 1, "HBM10", 1, 1, 6, 2, 3, 2, 11, 8, 1, 1, 2, 0}, + {"HB", -3, 37, 2, "HBM10", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 38, 1, "HBM11", 4, 19, 6, 2, 3, 2, 11, 8, 6, 3, 5, 1}, + {"HB", -3, 38, 2, "HBM11", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 39, 1, "HBM11", 3, 6, 6, 2, 3, 2, 11, 8, 6, 1, 5, 1}, + {"HB", -3, 39, 2, "HBM11", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 40, 1, "HBM11", 2, 14, 6, 2, 3, 2, 11, 8, 7, 3, 5, 0}, + {"HB", -3, 40, 2, "HBM11", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 41, 1, "HBM11", 1, 1, 6, 2, 3, 2, 11, 8, 7, 1, 5, 0}, + {"HB", -3, 41, 2, "HBM11", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 42, 1, "HBM12", 4, 19, 6, 2, 3, 2, 15, 10, 0, 3, 2, 1}, + {"HB", -3, 42, 2, "HBM12", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 43, 1, "HBM12", 3, 6, 6, 2, 3, 2, 15, 10, 0, 1, 2, 1}, + {"HB", -3, 43, 2, "HBM12", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 44, 1, "HBM12", 2, 14, 6, 2, 3, 2, 15, 10, 1, 3, 2, 0}, + {"HB", -3, 44, 2, "HBM12", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 45, 1, "HBM12", 1, 1, 6, 2, 3, 2, 15, 10, 1, 1, 2, 0}, + {"HB", -3, 45, 2, "HBM12", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 46, 1, "HBM13", 4, 19, 6, 2, 3, 2, 15, 10, 6, 3, 5, 1}, + {"HB", -3, 46, 2, "HBM13", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 47, 1, "HBM13", 3, 6, 6, 2, 3, 2, 15, 10, 6, 1, 5, 1}, + {"HB", -3, 47, 2, "HBM13", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 48, 1, "HBM13", 2, 14, 6, 2, 3, 2, 15, 10, 7, 3, 5, 0}, + {"HB", -3, 48, 2, "HBM13", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 49, 1, "HBM13", 1, 1, 6, 2, 3, 2, 15, 10, 7, 1, 5, 0}, + {"HB", -3, 49, 2, "HBM13", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 50, 1, "HBM14", 4, 19, 6, 2, 3, 2, 17, 12, 0, 3, 2, 1}, + {"HB", -3, 50, 2, "HBM14", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 51, 1, "HBM14", 3, 6, 6, 2, 3, 2, 17, 12, 0, 1, 2, 1}, + {"HB", -3, 51, 2, "HBM14", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 52, 1, "HBM14", 2, 14, 6, 2, 3, 2, 17, 12, 1, 3, 2, 0}, + {"HB", -3, 52, 2, "HBM14", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 53, 1, "HBM14", 1, 1, 6, 2, 3, 2, 17, 12, 1, 1, 2, 0}, + {"HB", -3, 53, 2, "HBM14", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 54, 1, "HBM15", 4, 19, 6, 2, 3, 2, 17, 12, 6, 3, 5, 1}, + {"HB", -3, 54, 2, "HBM15", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 55, 1, "HBM15", 3, 6, 6, 2, 3, 2, 17, 12, 6, 1, 5, 1}, + {"HB", -3, 55, 2, "HBM15", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 56, 1, "HBM15", 2, 14, 6, 2, 3, 2, 17, 12, 7, 3, 5, 0}, + {"HB", -3, 56, 2, "HBM15", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 57, 1, "HBM15", 1, 1, 6, 2, 3, 2, 17, 12, 7, 1, 5, 0}, + {"HB", -3, 57, 2, "HBM15", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 58, 1, "HBM16", 4, 19, 6, 2, 3, 2, 14, 14, 0, 3, 2, 1}, + {"HB", -3, 58, 2, "HBM16", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 59, 1, "HBM16", 3, 6, 6, 2, 3, 2, 14, 14, 0, 1, 2, 1}, + {"HB", -3, 59, 2, "HBM16", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 60, 1, "HBM16", 2, 14, 6, 2, 3, 2, 14, 14, 1, 3, 2, 0}, + {"HB", -3, 60, 2, "HBM16", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 61, 1, "HBM16", 1, 1, 6, 2, 3, 2, 14, 14, 1, 1, 2, 0}, + {"HB", -3, 61, 2, "HBM16", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 62, 1, "HBM17", 4, 19, 6, 2, 3, 2, 14, 14, 6, 3, 5, 1}, + {"HB", -3, 62, 2, "HBM17", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 63, 1, "HBM17", 3, 6, 6, 2, 3, 2, 14, 14, 6, 1, 5, 1}, + {"HB", -3, 63, 2, "HBM17", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 64, 1, "HBM17", 2, 14, 6, 2, 3, 2, 14, 14, 7, 3, 5, 0}, + {"HB", -3, 64, 2, "HBM17", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 65, 1, "HBM17", 1, 1, 6, 2, 3, 2, 14, 14, 7, 1, 5, 0}, + {"HB", -3, 65, 2, "HBM17", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 66, 1, "HBM18", 4, 19, 6, 2, 3, 2, 10, 16, 0, 3, 2, 1}, + {"HB", -3, 66, 2, "HBM18", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 67, 1, "HBM18", 3, 6, 6, 2, 3, 2, 10, 16, 0, 1, 2, 1}, + {"HB", -3, 67, 2, "HBM18", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 68, 1, "HBM18", 2, 14, 6, 2, 3, 2, 10, 16, 1, 3, 2, 0}, + {"HB", -3, 68, 2, "HBM18", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 69, 1, "HBM18", 1, 1, 6, 2, 3, 2, 10, 16, 1, 1, 2, 0}, + {"HB", -3, 69, 2, "HBM18", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 70, 1, "HBM01", 4, 19, 6, 2, 3, 2, 10, 16, 6, 3, 5, 1}, + {"HB", -3, 70, 2, "HBM01", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -3, 71, 1, "HBM01", 3, 6, 6, 2, 3, 2, 10, 16, 6, 1, 5, 1}, + {"HB", -3, 71, 2, "HBM01", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 0, 1, "HBM01", 2, 13, 4, 2, 2, 2, 10, 16, 7, 7, 5, 0}, + {"HB", -2, 0, 2, "HBM01", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 1, 1, "HBM01", 1, 2, 4, 2, 2, 2, 10, 16, 7, 5, 5, 0}, + {"HB", -2, 1, 2, "HBM01", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 2, 1, "HBM02", 4, 18, 4, 2, 2, 2, 4, 0, 0, 7, 2, 1}, + {"HB", -2, 2, 2, "HBM02", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 3, 1, "HBM02", 3, 7, 4, 2, 2, 2, 4, 0, 0, 5, 2, 1}, + {"HB", -2, 3, 2, "HBM02", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 4, 1, "HBM02", 2, 13, 4, 2, 2, 2, 4, 0, 1, 7, 2, 0}, + {"HB", -2, 4, 2, "HBM02", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 5, 1, "HBM02", 1, 2, 4, 2, 2, 2, 4, 0, 1, 5, 2, 0}, + {"HB", -2, 5, 2, "HBM02", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 6, 1, "HBM03", 4, 18, 4, 2, 2, 2, 4, 0, 6, 7, 5, 1}, + {"HB", -2, 6, 2, "HBM03", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 7, 1, "HBM03", 3, 7, 4, 2, 2, 2, 4, 0, 6, 5, 5, 1}, + {"HB", -2, 7, 2, "HBM03", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 8, 1, "HBM03", 2, 13, 4, 2, 2, 2, 4, 0, 7, 7, 5, 0}, + {"HB", -2, 8, 2, "HBM03", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 9, 1, "HBM03", 1, 2, 4, 2, 2, 2, 4, 0, 7, 5, 5, 0}, + {"HB", -2, 9, 2, "HBM03", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 10, 1, "HBM04", 4, 18, 4, 2, 2, 2, 0, 2, 0, 7, 2, 1}, + {"HB", -2, 10, 2, "HBM04", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 11, 1, "HBM04", 3, 7, 4, 2, 2, 2, 0, 2, 0, 5, 2, 1}, + {"HB", -2, 11, 2, "HBM04", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 12, 1, "HBM04", 2, 13, 4, 2, 2, 2, 0, 2, 1, 7, 2, 0}, + {"HB", -2, 12, 2, "HBM04", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 13, 1, "HBM04", 1, 2, 4, 2, 2, 2, 0, 2, 1, 5, 2, 0}, + {"HB", -2, 13, 2, "HBM04", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 14, 1, "HBM05", 4, 18, 4, 2, 2, 2, 0, 2, 6, 7, 5, 1}, + {"HB", -2, 14, 2, "HBM05", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 15, 1, "HBM05", 3, 7, 4, 2, 2, 2, 0, 2, 6, 5, 5, 1}, + {"HB", -2, 15, 2, "HBM05", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 16, 1, "HBM05", 2, 13, 4, 2, 2, 2, 0, 2, 7, 7, 5, 0}, + {"HB", -2, 16, 2, "HBM05", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 17, 1, "HBM05", 1, 2, 4, 2, 2, 2, 0, 2, 7, 5, 5, 0}, + {"HB", -2, 17, 2, "HBM05", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 18, 1, "HBM06", 4, 18, 4, 2, 2, 2, 1, 4, 0, 7, 2, 1}, + {"HB", -2, 18, 2, "HBM06", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 19, 1, "HBM06", 3, 7, 4, 2, 2, 2, 1, 4, 0, 5, 2, 1}, + {"HB", -2, 19, 2, "HBM06", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 20, 1, "HBM06", 2, 13, 4, 2, 2, 2, 1, 4, 1, 7, 2, 0}, + {"HB", -2, 20, 2, "HBM06", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 21, 1, "HBM06", 1, 2, 4, 2, 2, 2, 1, 4, 1, 5, 2, 0}, + {"HB", -2, 21, 2, "HBM06", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 22, 1, "HBM07", 4, 18, 4, 2, 2, 2, 1, 4, 6, 7, 5, 1}, + {"HB", -2, 22, 2, "HBM07", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 23, 1, "HBM07", 3, 7, 4, 2, 2, 2, 1, 4, 6, 5, 5, 1}, + {"HB", -2, 23, 2, "HBM07", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 24, 1, "HBM07", 2, 13, 4, 2, 2, 2, 1, 4, 7, 7, 5, 0}, + {"HB", -2, 24, 2, "HBM07", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 25, 1, "HBM07", 1, 2, 4, 2, 2, 2, 1, 4, 7, 5, 5, 0}, + {"HB", -2, 25, 2, "HBM07", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 26, 1, "HBM08", 4, 18, 4, 2, 2, 2, 5, 6, 0, 7, 2, 1}, + {"HB", -2, 26, 2, "HBM08", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 27, 1, "HBM08", 3, 7, 4, 2, 2, 2, 5, 6, 0, 5, 2, 1}, + {"HB", -2, 27, 2, "HBM08", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 28, 1, "HBM08", 2, 13, 4, 2, 2, 2, 5, 6, 1, 7, 2, 0}, + {"HB", -2, 28, 2, "HBM08", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 29, 1, "HBM08", 1, 2, 4, 2, 2, 2, 5, 6, 1, 5, 2, 0}, + {"HB", -2, 29, 2, "HBM08", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 30, 1, "HBM09", 4, 18, 4, 2, 2, 2, 5, 6, 6, 7, 5, 1}, + {"HB", -2, 30, 2, "HBM09", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 31, 1, "HBM09", 3, 7, 4, 2, 2, 2, 5, 6, 6, 5, 5, 1}, + {"HB", -2, 31, 2, "HBM09", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 32, 1, "HBM09", 2, 13, 4, 2, 2, 2, 5, 6, 7, 7, 5, 0}, + {"HB", -2, 32, 2, "HBM09", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 33, 1, "HBM09", 1, 2, 4, 2, 2, 2, 5, 6, 7, 5, 5, 0}, + {"HB", -2, 33, 2, "HBM09", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 34, 1, "HBM10", 4, 18, 4, 2, 2, 2, 11, 8, 0, 7, 2, 1}, + {"HB", -2, 34, 2, "HBM10", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 35, 1, "HBM10", 3, 7, 4, 2, 2, 2, 11, 8, 0, 5, 2, 1}, + {"HB", -2, 35, 2, "HBM10", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 36, 1, "HBM10", 2, 13, 4, 2, 2, 2, 11, 8, 1, 7, 2, 0}, + {"HB", -2, 36, 2, "HBM10", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 37, 1, "HBM10", 1, 2, 4, 2, 2, 2, 11, 8, 1, 5, 2, 0}, + {"HB", -2, 37, 2, "HBM10", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 38, 1, "HBM11", 4, 18, 4, 2, 2, 2, 11, 8, 6, 7, 5, 1}, + {"HB", -2, 38, 2, "HBM11", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 39, 1, "HBM11", 3, 7, 4, 2, 2, 2, 11, 8, 6, 5, 5, 1}, + {"HB", -2, 39, 2, "HBM11", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 40, 1, "HBM11", 2, 13, 4, 2, 2, 2, 11, 8, 7, 7, 5, 0}, + {"HB", -2, 40, 2, "HBM11", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 41, 1, "HBM11", 1, 2, 4, 2, 2, 2, 11, 8, 7, 5, 5, 0}, + {"HB", -2, 41, 2, "HBM11", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 42, 1, "HBM12", 4, 18, 4, 2, 2, 2, 15, 10, 0, 7, 2, 1}, + {"HB", -2, 42, 2, "HBM12", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 43, 1, "HBM12", 3, 7, 4, 2, 2, 2, 15, 10, 0, 5, 2, 1}, + {"HB", -2, 43, 2, "HBM12", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 44, 1, "HBM12", 2, 13, 4, 2, 2, 2, 15, 10, 1, 7, 2, 0}, + {"HB", -2, 44, 2, "HBM12", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 45, 1, "HBM12", 1, 2, 4, 2, 2, 2, 15, 10, 1, 5, 2, 0}, + {"HB", -2, 45, 2, "HBM12", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 46, 1, "HBM13", 4, 18, 4, 2, 2, 2, 15, 10, 6, 7, 5, 1}, + {"HB", -2, 46, 2, "HBM13", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 47, 1, "HBM13", 3, 7, 4, 2, 2, 2, 15, 10, 6, 5, 5, 1}, + {"HB", -2, 47, 2, "HBM13", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 48, 1, "HBM13", 2, 13, 4, 2, 2, 2, 15, 10, 7, 7, 5, 0}, + {"HB", -2, 48, 2, "HBM13", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 49, 1, "HBM13", 1, 2, 4, 2, 2, 2, 15, 10, 7, 5, 5, 0}, + {"HB", -2, 49, 2, "HBM13", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 50, 1, "HBM14", 4, 18, 4, 2, 2, 2, 17, 12, 0, 7, 2, 1}, + {"HB", -2, 50, 2, "HBM14", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 51, 1, "HBM14", 3, 7, 4, 2, 2, 2, 17, 12, 0, 5, 2, 1}, + {"HB", -2, 51, 2, "HBM14", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 52, 1, "HBM14", 2, 13, 4, 2, 2, 2, 17, 12, 1, 7, 2, 0}, + {"HB", -2, 52, 2, "HBM14", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 53, 1, "HBM14", 1, 2, 4, 2, 2, 2, 17, 12, 1, 5, 2, 0}, + {"HB", -2, 53, 2, "HBM14", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 54, 1, "HBM15", 4, 18, 4, 2, 2, 2, 17, 12, 6, 7, 5, 1}, + {"HB", -2, 54, 2, "HBM15", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 55, 1, "HBM15", 3, 7, 4, 2, 2, 2, 17, 12, 6, 5, 5, 1}, + {"HB", -2, 55, 2, "HBM15", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 56, 1, "HBM15", 2, 13, 4, 2, 2, 2, 17, 12, 7, 7, 5, 0}, + {"HB", -2, 56, 2, "HBM15", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 57, 1, "HBM15", 1, 2, 4, 2, 2, 2, 17, 12, 7, 5, 5, 0}, + {"HB", -2, 57, 2, "HBM15", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 58, 1, "HBM16", 4, 18, 4, 2, 2, 2, 14, 14, 0, 7, 2, 1}, + {"HB", -2, 58, 2, "HBM16", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 59, 1, "HBM16", 3, 7, 4, 2, 2, 2, 14, 14, 0, 5, 2, 1}, + {"HB", -2, 59, 2, "HBM16", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 60, 1, "HBM16", 2, 13, 4, 2, 2, 2, 14, 14, 1, 7, 2, 0}, + {"HB", -2, 60, 2, "HBM16", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 61, 1, "HBM16", 1, 2, 4, 2, 2, 2, 14, 14, 1, 5, 2, 0}, + {"HB", -2, 61, 2, "HBM16", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 62, 1, "HBM17", 4, 18, 4, 2, 2, 2, 14, 14, 6, 7, 5, 1}, + {"HB", -2, 62, 2, "HBM17", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 63, 1, "HBM17", 3, 7, 4, 2, 2, 2, 14, 14, 6, 5, 5, 1}, + {"HB", -2, 63, 2, "HBM17", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 64, 1, "HBM17", 2, 13, 4, 2, 2, 2, 14, 14, 7, 7, 5, 0}, + {"HB", -2, 64, 2, "HBM17", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 65, 1, "HBM17", 1, 2, 4, 2, 2, 2, 14, 14, 7, 5, 5, 0}, + {"HB", -2, 65, 2, "HBM17", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 66, 1, "HBM18", 4, 18, 4, 2, 2, 2, 10, 16, 0, 7, 2, 1}, + {"HB", -2, 66, 2, "HBM18", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 67, 1, "HBM18", 3, 7, 4, 2, 2, 2, 10, 16, 0, 5, 2, 1}, + {"HB", -2, 67, 2, "HBM18", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 68, 1, "HBM18", 2, 13, 4, 2, 2, 2, 10, 16, 1, 7, 2, 0}, + {"HB", -2, 68, 2, "HBM18", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 69, 1, "HBM18", 1, 2, 4, 2, 2, 2, 10, 16, 1, 5, 2, 0}, + {"HB", -2, 69, 2, "HBM18", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 70, 1, "HBM01", 4, 18, 4, 2, 2, 2, 10, 16, 6, 7, 5, 1}, + {"HB", -2, 70, 2, "HBM01", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -2, 71, 1, "HBM01", 3, 7, 4, 2, 2, 2, 10, 16, 6, 5, 5, 1}, + {"HB", -2, 71, 2, "HBM01", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 0, 1, "HBM01", 2, 18, 7, 1, 3, 5, 10, 16, 7, 4, 5, 0}, + {"HB", -1, 0, 2, "HBM01", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 1, 1, "HBM01", 1, 3, 7, 1, 3, 5, 10, 16, 7, 2, 5, 0}, + {"HB", -1, 1, 2, "HBM01", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 2, 1, "HBM02", 4, 17, 7, 1, 3, 5, 4, 0, 0, 4, 2, 1}, + {"HB", -1, 2, 2, "HBM02", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 3, 1, "HBM02", 3, 2, 7, 1, 3, 5, 4, 0, 0, 2, 2, 1}, + {"HB", -1, 3, 2, "HBM02", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 4, 1, "HBM02", 2, 18, 7, 1, 3, 5, 4, 0, 1, 4, 2, 0}, + {"HB", -1, 4, 2, "HBM02", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 5, 1, "HBM02", 1, 3, 7, 1, 3, 5, 4, 0, 1, 2, 2, 0}, + {"HB", -1, 5, 2, "HBM02", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 6, 1, "HBM03", 4, 17, 7, 1, 3, 5, 4, 0, 6, 4, 5, 1}, + {"HB", -1, 6, 2, "HBM03", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 7, 1, "HBM03", 3, 2, 7, 1, 3, 5, 4, 0, 6, 2, 5, 1}, + {"HB", -1, 7, 2, "HBM03", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 8, 1, "HBM03", 2, 18, 7, 1, 3, 5, 4, 0, 7, 4, 5, 0}, + {"HB", -1, 8, 2, "HBM03", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 9, 1, "HBM03", 1, 3, 7, 1, 3, 5, 4, 0, 7, 2, 5, 0}, + {"HB", -1, 9, 2, "HBM03", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 10, 1, "HBM04", 4, 17, 7, 1, 3, 5, 0, 2, 0, 4, 2, 1}, + {"HB", -1, 10, 2, "HBM04", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 11, 1, "HBM04", 3, 2, 7, 1, 3, 5, 0, 2, 0, 2, 2, 1}, + {"HB", -1, 11, 2, "HBM04", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 12, 1, "HBM04", 2, 18, 7, 1, 3, 5, 0, 2, 1, 4, 2, 0}, + {"HB", -1, 12, 2, "HBM04", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 13, 1, "HBM04", 1, 3, 7, 1, 3, 5, 0, 2, 1, 2, 2, 0}, + {"HB", -1, 13, 2, "HBM04", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 14, 1, "HBM05", 4, 17, 7, 1, 3, 5, 0, 2, 6, 4, 5, 1}, + {"HB", -1, 14, 2, "HBM05", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 15, 1, "HBM05", 3, 2, 7, 1, 3, 5, 0, 2, 6, 2, 5, 1}, + {"HB", -1, 15, 2, "HBM05", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 16, 1, "HBM05", 2, 18, 7, 1, 3, 5, 0, 2, 7, 4, 5, 0}, + {"HB", -1, 16, 2, "HBM05", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 17, 1, "HBM05", 1, 3, 7, 1, 3, 5, 0, 2, 7, 2, 5, 0}, + {"HB", -1, 17, 2, "HBM05", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 18, 1, "HBM06", 4, 17, 7, 1, 3, 5, 1, 4, 0, 4, 2, 1}, + {"HB", -1, 18, 2, "HBM06", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 19, 1, "HBM06", 3, 2, 7, 1, 3, 5, 1, 4, 0, 2, 2, 1}, + {"HB", -1, 19, 2, "HBM06", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 20, 1, "HBM06", 2, 18, 7, 1, 3, 5, 1, 4, 1, 4, 2, 0}, + {"HB", -1, 20, 2, "HBM06", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 21, 1, "HBM06", 1, 3, 7, 1, 3, 5, 1, 4, 1, 2, 2, 0}, + {"HB", -1, 21, 2, "HBM06", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 22, 1, "HBM07", 4, 17, 7, 1, 3, 5, 1, 4, 6, 4, 5, 1}, + {"HB", -1, 22, 2, "HBM07", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 23, 1, "HBM07", 3, 2, 7, 1, 3, 5, 1, 4, 6, 2, 5, 1}, + {"HB", -1, 23, 2, "HBM07", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 24, 1, "HBM07", 2, 18, 7, 1, 3, 5, 1, 4, 7, 4, 5, 0}, + {"HB", -1, 24, 2, "HBM07", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 25, 1, "HBM07", 1, 3, 7, 1, 3, 5, 1, 4, 7, 2, 5, 0}, + {"HB", -1, 25, 2, "HBM07", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 26, 1, "HBM08", 4, 17, 7, 1, 3, 5, 5, 6, 0, 4, 2, 1}, + {"HB", -1, 26, 2, "HBM08", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 27, 1, "HBM08", 3, 2, 7, 1, 3, 5, 5, 6, 0, 2, 2, 1}, + {"HB", -1, 27, 2, "HBM08", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 28, 1, "HBM08", 2, 18, 7, 1, 3, 5, 5, 6, 1, 4, 2, 0}, + {"HB", -1, 28, 2, "HBM08", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 29, 1, "HBM08", 1, 3, 7, 1, 3, 5, 5, 6, 1, 2, 2, 0}, + {"HB", -1, 29, 2, "HBM08", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 30, 1, "HBM09", 4, 17, 7, 1, 3, 5, 5, 6, 6, 4, 5, 1}, + {"HB", -1, 30, 2, "HBM09", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 31, 1, "HBM09", 3, 2, 7, 1, 3, 5, 5, 6, 6, 2, 5, 1}, + {"HB", -1, 31, 2, "HBM09", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 32, 1, "HBM09", 2, 18, 7, 1, 3, 5, 5, 6, 7, 4, 5, 0}, + {"HB", -1, 32, 2, "HBM09", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 33, 1, "HBM09", 1, 3, 7, 1, 3, 5, 5, 6, 7, 2, 5, 0}, + {"HB", -1, 33, 2, "HBM09", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 34, 1, "HBM10", 4, 17, 7, 1, 3, 5, 11, 8, 0, 4, 2, 1}, + {"HB", -1, 34, 2, "HBM10", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 35, 1, "HBM10", 3, 2, 7, 1, 3, 5, 11, 8, 0, 2, 2, 1}, + {"HB", -1, 35, 2, "HBM10", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 36, 1, "HBM10", 2, 18, 7, 1, 3, 5, 11, 8, 1, 4, 2, 0}, + {"HB", -1, 36, 2, "HBM10", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 37, 1, "HBM10", 1, 3, 7, 1, 3, 5, 11, 8, 1, 2, 2, 0}, + {"HB", -1, 37, 2, "HBM10", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 38, 1, "HBM11", 4, 17, 7, 1, 3, 5, 11, 8, 6, 4, 5, 1}, + {"HB", -1, 38, 2, "HBM11", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 39, 1, "HBM11", 3, 2, 7, 1, 3, 5, 11, 8, 6, 2, 5, 1}, + {"HB", -1, 39, 2, "HBM11", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 40, 1, "HBM11", 2, 18, 7, 1, 3, 5, 11, 8, 7, 4, 5, 0}, + {"HB", -1, 40, 2, "HBM11", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 41, 1, "HBM11", 1, 3, 7, 1, 3, 5, 11, 8, 7, 2, 5, 0}, + {"HB", -1, 41, 2, "HBM11", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 42, 1, "HBM12", 4, 17, 7, 1, 3, 5, 15, 10, 0, 4, 2, 1}, + {"HB", -1, 42, 2, "HBM12", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 43, 1, "HBM12", 3, 2, 7, 1, 3, 5, 15, 10, 0, 2, 2, 1}, + {"HB", -1, 43, 2, "HBM12", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 44, 1, "HBM12", 2, 18, 7, 1, 3, 5, 15, 10, 1, 4, 2, 0}, + {"HB", -1, 44, 2, "HBM12", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 45, 1, "HBM12", 1, 3, 7, 1, 3, 5, 15, 10, 1, 2, 2, 0}, + {"HB", -1, 45, 2, "HBM12", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 46, 1, "HBM13", 4, 17, 7, 1, 3, 5, 15, 10, 6, 4, 5, 1}, + {"HB", -1, 46, 2, "HBM13", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 47, 1, "HBM13", 3, 2, 7, 1, 3, 5, 15, 10, 6, 2, 5, 1}, + {"HB", -1, 47, 2, "HBM13", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 48, 1, "HBM13", 2, 18, 7, 1, 3, 5, 15, 10, 7, 4, 5, 0}, + {"HB", -1, 48, 2, "HBM13", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 49, 1, "HBM13", 1, 3, 7, 1, 3, 5, 15, 10, 7, 2, 5, 0}, + {"HB", -1, 49, 2, "HBM13", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 50, 1, "HBM14", 4, 17, 7, 1, 3, 5, 17, 12, 0, 4, 2, 1}, + {"HB", -1, 50, 2, "HBM14", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 51, 1, "HBM14", 3, 2, 7, 1, 3, 5, 17, 12, 0, 2, 2, 1}, + {"HB", -1, 51, 2, "HBM14", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 52, 1, "HBM14", 2, 18, 7, 1, 3, 5, 17, 12, 1, 4, 2, 0}, + {"HB", -1, 52, 2, "HBM14", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 53, 1, "HBM14", 1, 3, 7, 1, 3, 5, 17, 12, 1, 2, 2, 0}, + {"HB", -1, 53, 2, "HBM14", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 54, 1, "HBM15", 4, 17, 7, 1, 3, 5, 17, 12, 6, 4, 5, 1}, + {"HB", -1, 54, 2, "HBM15", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 55, 1, "HBM15", 3, 2, 7, 1, 3, 5, 17, 12, 6, 2, 5, 1}, + {"HB", -1, 55, 2, "HBM15", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 56, 1, "HBM15", 2, 18, 7, 1, 3, 5, 17, 12, 7, 4, 5, 0}, + {"HB", -1, 56, 2, "HBM15", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 57, 1, "HBM15", 1, 3, 7, 1, 3, 5, 17, 12, 7, 2, 5, 0}, + {"HB", -1, 57, 2, "HBM15", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 58, 1, "HBM16", 4, 17, 7, 1, 3, 5, 14, 14, 0, 4, 2, 1}, + {"HB", -1, 58, 2, "HBM16", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 59, 1, "HBM16", 3, 2, 7, 1, 3, 5, 14, 14, 0, 2, 2, 1}, + {"HB", -1, 59, 2, "HBM16", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 60, 1, "HBM16", 2, 18, 7, 1, 3, 5, 14, 14, 1, 4, 2, 0}, + {"HB", -1, 60, 2, "HBM16", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 61, 1, "HBM16", 1, 3, 7, 1, 3, 5, 14, 14, 1, 2, 2, 0}, + {"HB", -1, 61, 2, "HBM16", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 62, 1, "HBM17", 4, 17, 7, 1, 3, 5, 14, 14, 6, 4, 5, 1}, + {"HB", -1, 62, 2, "HBM17", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 63, 1, "HBM17", 3, 2, 7, 1, 3, 5, 14, 14, 6, 2, 5, 1}, + {"HB", -1, 63, 2, "HBM17", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 64, 1, "HBM17", 2, 18, 7, 1, 3, 5, 14, 14, 7, 4, 5, 0}, + {"HB", -1, 64, 2, "HBM17", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 65, 1, "HBM17", 1, 3, 7, 1, 3, 5, 14, 14, 7, 2, 5, 0}, + {"HB", -1, 65, 2, "HBM17", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 66, 1, "HBM18", 4, 17, 7, 1, 3, 5, 10, 16, 0, 4, 2, 1}, + {"HB", -1, 66, 2, "HBM18", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 67, 1, "HBM18", 3, 2, 7, 1, 3, 5, 10, 16, 0, 2, 2, 1}, + {"HB", -1, 67, 2, "HBM18", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 68, 1, "HBM18", 2, 18, 7, 1, 3, 5, 10, 16, 1, 4, 2, 0}, + {"HB", -1, 68, 2, "HBM18", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 69, 1, "HBM18", 1, 3, 7, 1, 3, 5, 10, 16, 1, 2, 2, 0}, + {"HB", -1, 69, 2, "HBM18", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 70, 1, "HBM01", 4, 17, 7, 1, 3, 5, 10, 16, 6, 4, 5, 1}, + {"HB", -1, 70, 2, "HBM01", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", -1, 71, 1, "HBM01", 3, 2, 7, 1, 3, 5, 10, 16, 6, 2, 5, 1}, + {"HB", -1, 71, 2, "HBM01", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 0, 1, "HBP01", 3, 2, 7, 1, 3, 5, 10, 17, 7, 2, 16, 0}, + {"HB", 0, 0, 2, "HBP01", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 1, 1, "HBP01", 4, 17, 7, 1, 3, 5, 10, 17, 7, 4, 16, 0}, + {"HB", 0, 1, 2, "HBP01", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 2, 1, "HBP02", 1, 3, 7, 1, 3, 5, 4, 1, 0, 2, 13, 1}, + {"HB", 0, 2, 2, "HBP02", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 3, 1, "HBP02", 2, 18, 7, 1, 3, 5, 4, 1, 0, 4, 13, 1}, + {"HB", 0, 3, 2, "HBP02", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 4, 1, "HBP02", 3, 2, 7, 1, 3, 5, 4, 1, 1, 2, 13, 0}, + {"HB", 0, 4, 2, "HBP02", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 5, 1, "HBP02", 4, 17, 7, 1, 3, 5, 4, 1, 1, 4, 13, 0}, + {"HB", 0, 5, 2, "HBP02", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 6, 1, "HBP03", 1, 3, 7, 1, 3, 5, 4, 1, 6, 2, 16, 1}, + {"HB", 0, 6, 2, "HBP03", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 7, 1, "HBP03", 2, 18, 7, 1, 3, 5, 4, 1, 6, 4, 16, 1}, + {"HB", 0, 7, 2, "HBP03", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 8, 1, "HBP03", 3, 2, 7, 1, 3, 5, 4, 1, 7, 2, 16, 0}, + {"HB", 0, 8, 2, "HBP03", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 9, 1, "HBP03", 4, 17, 7, 1, 3, 5, 4, 1, 7, 4, 16, 0}, + {"HB", 0, 9, 2, "HBP03", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 10, 1, "HBP04", 1, 3, 7, 1, 3, 5, 0, 3, 0, 2, 13, 1}, + {"HB", 0, 10, 2, "HBP04", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 11, 1, "HBP04", 2, 18, 7, 1, 3, 5, 0, 3, 0, 4, 13, 1}, + {"HB", 0, 11, 2, "HBP04", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 12, 1, "HBP04", 3, 2, 7, 1, 3, 5, 0, 3, 1, 2, 13, 0}, + {"HB", 0, 12, 2, "HBP04", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 13, 1, "HBP04", 4, 17, 7, 1, 3, 5, 0, 3, 1, 4, 13, 0}, + {"HB", 0, 13, 2, "HBP04", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 14, 1, "HBP05", 1, 3, 7, 1, 3, 5, 0, 3, 6, 2, 16, 1}, + {"HB", 0, 14, 2, "HBP05", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 15, 1, "HBP05", 2, 18, 7, 1, 3, 5, 0, 3, 6, 4, 16, 1}, + {"HB", 0, 15, 2, "HBP05", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 16, 1, "HBP05", 3, 2, 7, 1, 3, 5, 0, 3, 7, 2, 16, 0}, + {"HB", 0, 16, 2, "HBP05", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 17, 1, "HBP05", 4, 17, 7, 1, 3, 5, 0, 3, 7, 4, 16, 0}, + {"HB", 0, 17, 2, "HBP05", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 18, 1, "HBP06", 1, 3, 7, 1, 3, 5, 1, 5, 0, 2, 13, 1}, + {"HB", 0, 18, 2, "HBP06", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 19, 1, "HBP06", 2, 18, 7, 1, 3, 5, 1, 5, 0, 4, 13, 1}, + {"HB", 0, 19, 2, "HBP06", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 20, 1, "HBP06", 3, 2, 7, 1, 3, 5, 1, 5, 1, 2, 13, 0}, + {"HB", 0, 20, 2, "HBP06", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 21, 1, "HBP06", 4, 17, 7, 1, 3, 5, 1, 5, 1, 4, 13, 0}, + {"HB", 0, 21, 2, "HBP06", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 22, 1, "HBP07", 1, 3, 7, 1, 3, 5, 1, 5, 6, 2, 16, 1}, + {"HB", 0, 22, 2, "HBP07", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 23, 1, "HBP07", 2, 18, 7, 1, 3, 5, 1, 5, 6, 4, 16, 1}, + {"HB", 0, 23, 2, "HBP07", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 24, 1, "HBP07", 3, 2, 7, 1, 3, 5, 1, 5, 7, 2, 16, 0}, + {"HB", 0, 24, 2, "HBP07", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 25, 1, "HBP07", 4, 17, 7, 1, 3, 5, 1, 5, 7, 4, 16, 0}, + {"HB", 0, 25, 2, "HBP07", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 26, 1, "HBP08", 1, 3, 7, 1, 3, 5, 5, 7, 0, 2, 13, 1}, + {"HB", 0, 26, 2, "HBP08", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 27, 1, "HBP08", 2, 18, 7, 1, 3, 5, 5, 7, 0, 4, 13, 1}, + {"HB", 0, 27, 2, "HBP08", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 28, 1, "HBP08", 3, 2, 7, 1, 3, 5, 5, 7, 1, 2, 13, 0}, + {"HB", 0, 28, 2, "HBP08", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 29, 1, "HBP08", 4, 17, 7, 1, 3, 5, 5, 7, 1, 4, 13, 0}, + {"HB", 0, 29, 2, "HBP08", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 30, 1, "HBP09", 1, 3, 7, 1, 3, 5, 5, 7, 6, 2, 16, 1}, + {"HB", 0, 30, 2, "HBP09", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 31, 1, "HBP09", 2, 18, 7, 1, 3, 5, 5, 7, 6, 4, 16, 1}, + {"HB", 0, 31, 2, "HBP09", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 32, 1, "HBP09", 3, 2, 7, 1, 3, 5, 5, 7, 7, 2, 16, 0}, + {"HB", 0, 32, 2, "HBP09", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 33, 1, "HBP09", 4, 17, 7, 1, 3, 5, 5, 7, 7, 4, 16, 0}, + {"HB", 0, 33, 2, "HBP09", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 34, 1, "HBP10", 1, 3, 7, 1, 3, 5, 11, 9, 0, 2, 13, 1}, + {"HB", 0, 34, 2, "HBP10", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 35, 1, "HBP10", 2, 18, 7, 1, 3, 5, 11, 9, 0, 4, 13, 1}, + {"HB", 0, 35, 2, "HBP10", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 36, 1, "HBP10", 3, 2, 7, 1, 3, 5, 11, 9, 1, 2, 13, 0}, + {"HB", 0, 36, 2, "HBP10", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 37, 1, "HBP10", 4, 17, 7, 1, 3, 5, 11, 9, 1, 4, 13, 0}, + {"HB", 0, 37, 2, "HBP10", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 38, 1, "HBP11", 1, 3, 7, 1, 3, 5, 11, 9, 6, 2, 16, 1}, + {"HB", 0, 38, 2, "HBP11", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 39, 1, "HBP11", 2, 18, 7, 1, 3, 5, 11, 9, 6, 4, 16, 1}, + {"HB", 0, 39, 2, "HBP11", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 40, 1, "HBP11", 3, 2, 7, 1, 3, 5, 11, 9, 7, 2, 16, 0}, + {"HB", 0, 40, 2, "HBP11", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 41, 1, "HBP11", 4, 17, 7, 1, 3, 5, 11, 9, 7, 4, 16, 0}, + {"HB", 0, 41, 2, "HBP11", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 42, 1, "HBP12", 1, 3, 7, 1, 3, 5, 15, 11, 0, 2, 13, 1}, + {"HB", 0, 42, 2, "HBP12", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 43, 1, "HBP12", 2, 18, 7, 1, 3, 5, 15, 11, 0, 4, 13, 1}, + {"HB", 0, 43, 2, "HBP12", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 44, 1, "HBP12", 3, 2, 7, 1, 3, 5, 15, 11, 1, 2, 13, 0}, + {"HB", 0, 44, 2, "HBP12", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 45, 1, "HBP12", 4, 17, 7, 1, 3, 5, 15, 11, 1, 4, 13, 0}, + {"HB", 0, 45, 2, "HBP12", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 46, 1, "HBP13", 1, 3, 7, 1, 3, 5, 15, 11, 6, 2, 16, 1}, + {"HB", 0, 46, 2, "HBP13", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 47, 1, "HBP13", 2, 18, 7, 1, 3, 5, 15, 11, 6, 4, 16, 1}, + {"HB", 0, 47, 2, "HBP13", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 48, 1, "HBP13", 3, 2, 7, 1, 3, 5, 15, 11, 7, 2, 16, 0}, + {"HB", 0, 48, 2, "HBP13", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 49, 1, "HBP13", 4, 17, 7, 1, 3, 5, 15, 11, 7, 4, 16, 0}, + {"HB", 0, 49, 2, "HBP13", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 50, 1, "HBP14", 1, 3, 7, 1, 3, 5, 17, 13, 0, 2, 13, 1}, + {"HB", 0, 50, 2, "HBP14", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 51, 1, "HBP14", 2, 18, 7, 1, 3, 5, 17, 13, 0, 4, 13, 1}, + {"HB", 0, 51, 2, "HBP14", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 52, 1, "HBP14", 3, 2, 7, 1, 3, 5, 17, 13, 1, 2, 13, 0}, + {"HB", 0, 52, 2, "HBP14", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 53, 1, "HBP14", 4, 17, 7, 1, 3, 5, 17, 13, 1, 4, 13, 0}, + {"HB", 0, 53, 2, "HBP14", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 54, 1, "HBP15", 1, 3, 7, 1, 3, 5, 17, 13, 6, 2, 16, 1}, + {"HB", 0, 54, 2, "HBP15", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 55, 1, "HBP15", 2, 18, 7, 1, 3, 5, 17, 13, 6, 4, 16, 1}, + {"HB", 0, 55, 2, "HBP15", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 56, 1, "HBP15", 3, 2, 7, 1, 3, 5, 17, 13, 7, 2, 16, 0}, + {"HB", 0, 56, 2, "HBP15", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 57, 1, "HBP15", 4, 17, 7, 1, 3, 5, 17, 13, 7, 4, 16, 0}, + {"HB", 0, 57, 2, "HBP15", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 58, 1, "HBP16", 1, 3, 7, 1, 3, 5, 14, 15, 0, 2, 13, 1}, + {"HB", 0, 58, 2, "HBP16", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 59, 1, "HBP16", 2, 18, 7, 1, 3, 5, 14, 15, 0, 4, 13, 1}, + {"HB", 0, 59, 2, "HBP16", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 60, 1, "HBP16", 3, 2, 7, 1, 3, 5, 14, 15, 1, 2, 13, 0}, + {"HB", 0, 60, 2, "HBP16", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 61, 1, "HBP16", 4, 17, 7, 1, 3, 5, 14, 15, 1, 4, 13, 0}, + {"HB", 0, 61, 2, "HBP16", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 62, 1, "HBP17", 1, 3, 7, 1, 3, 5, 14, 15, 6, 2, 16, 1}, + {"HB", 0, 62, 2, "HBP17", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 63, 1, "HBP17", 2, 18, 7, 1, 3, 5, 14, 15, 6, 4, 16, 1}, + {"HB", 0, 63, 2, "HBP17", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 64, 1, "HBP17", 3, 2, 7, 1, 3, 5, 14, 15, 7, 2, 16, 0}, + {"HB", 0, 64, 2, "HBP17", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 65, 1, "HBP17", 4, 17, 7, 1, 3, 5, 14, 15, 7, 4, 16, 0}, + {"HB", 0, 65, 2, "HBP17", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 66, 1, "HBP18", 1, 3, 7, 1, 3, 5, 10, 17, 0, 2, 13, 1}, + {"HB", 0, 66, 2, "HBP18", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 67, 1, "HBP18", 2, 18, 7, 1, 3, 5, 10, 17, 0, 4, 13, 1}, + {"HB", 0, 67, 2, "HBP18", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 68, 1, "HBP18", 3, 2, 7, 1, 3, 5, 10, 17, 1, 2, 13, 0}, + {"HB", 0, 68, 2, "HBP18", 3, 7, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 69, 1, "HBP18", 4, 17, 7, 1, 3, 5, 10, 17, 1, 4, 13, 0}, + {"HB", 0, 69, 2, "HBP18", 4, 18, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 70, 1, "HBP01", 1, 3, 7, 1, 3, 5, 10, 17, 6, 2, 16, 1}, + {"HB", 0, 70, 2, "HBP01", 1, 2, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 0, 71, 1, "HBP01", 2, 18, 7, 1, 3, 5, 10, 17, 6, 4, 16, 1}, + {"HB", 0, 71, 2, "HBP01", 2, 13, 4, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 0, 1, "HBP01", 3, 7, 4, 2, 2, 2, 10, 17, 7, 5, 16, 0}, + {"HB", 1, 0, 2, "HBP01", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 1, 1, "HBP01", 4, 18, 4, 2, 2, 2, 10, 17, 7, 7, 16, 0}, + {"HB", 1, 1, 2, "HBP01", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 2, 1, "HBP02", 1, 2, 4, 2, 2, 2, 4, 1, 0, 5, 13, 1}, + {"HB", 1, 2, 2, "HBP02", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 3, 1, "HBP02", 2, 13, 4, 2, 2, 2, 4, 1, 0, 7, 13, 1}, + {"HB", 1, 3, 2, "HBP02", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 4, 1, "HBP02", 3, 7, 4, 2, 2, 2, 4, 1, 1, 5, 13, 0}, + {"HB", 1, 4, 2, "HBP02", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 5, 1, "HBP02", 4, 18, 4, 2, 2, 2, 4, 1, 1, 7, 13, 0}, + {"HB", 1, 5, 2, "HBP02", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 6, 1, "HBP03", 1, 2, 4, 2, 2, 2, 4, 1, 6, 5, 16, 1}, + {"HB", 1, 6, 2, "HBP03", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 7, 1, "HBP03", 2, 13, 4, 2, 2, 2, 4, 1, 6, 7, 16, 1}, + {"HB", 1, 7, 2, "HBP03", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 8, 1, "HBP03", 3, 7, 4, 2, 2, 2, 4, 1, 7, 5, 16, 0}, + {"HB", 1, 8, 2, "HBP03", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 9, 1, "HBP03", 4, 18, 4, 2, 2, 2, 4, 1, 7, 7, 16, 0}, + {"HB", 1, 9, 2, "HBP03", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 10, 1, "HBP04", 1, 2, 4, 2, 2, 2, 0, 3, 0, 5, 13, 1}, + {"HB", 1, 10, 2, "HBP04", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 11, 1, "HBP04", 2, 13, 4, 2, 2, 2, 0, 3, 0, 7, 13, 1}, + {"HB", 1, 11, 2, "HBP04", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 12, 1, "HBP04", 3, 7, 4, 2, 2, 2, 0, 3, 1, 5, 13, 0}, + {"HB", 1, 12, 2, "HBP04", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 13, 1, "HBP04", 4, 18, 4, 2, 2, 2, 0, 3, 1, 7, 13, 0}, + {"HB", 1, 13, 2, "HBP04", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 14, 1, "HBP05", 1, 2, 4, 2, 2, 2, 0, 3, 6, 5, 16, 1}, + {"HB", 1, 14, 2, "HBP05", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 15, 1, "HBP05", 2, 13, 4, 2, 2, 2, 0, 3, 6, 7, 16, 1}, + {"HB", 1, 15, 2, "HBP05", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 16, 1, "HBP05", 3, 7, 4, 2, 2, 2, 0, 3, 7, 5, 16, 0}, + {"HB", 1, 16, 2, "HBP05", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 17, 1, "HBP05", 4, 18, 4, 2, 2, 2, 0, 3, 7, 7, 16, 0}, + {"HB", 1, 17, 2, "HBP05", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 18, 1, "HBP06", 1, 2, 4, 2, 2, 2, 1, 5, 0, 5, 13, 1}, + {"HB", 1, 18, 2, "HBP06", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 19, 1, "HBP06", 2, 13, 4, 2, 2, 2, 1, 5, 0, 7, 13, 1}, + {"HB", 1, 19, 2, "HBP06", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 20, 1, "HBP06", 3, 7, 4, 2, 2, 2, 1, 5, 1, 5, 13, 0}, + {"HB", 1, 20, 2, "HBP06", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 21, 1, "HBP06", 4, 18, 4, 2, 2, 2, 1, 5, 1, 7, 13, 0}, + {"HB", 1, 21, 2, "HBP06", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 22, 1, "HBP07", 1, 2, 4, 2, 2, 2, 1, 5, 6, 5, 16, 1}, + {"HB", 1, 22, 2, "HBP07", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 23, 1, "HBP07", 2, 13, 4, 2, 2, 2, 1, 5, 6, 7, 16, 1}, + {"HB", 1, 23, 2, "HBP07", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 24, 1, "HBP07", 3, 7, 4, 2, 2, 2, 1, 5, 7, 5, 16, 0}, + {"HB", 1, 24, 2, "HBP07", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 25, 1, "HBP07", 4, 18, 4, 2, 2, 2, 1, 5, 7, 7, 16, 0}, + {"HB", 1, 25, 2, "HBP07", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 26, 1, "HBP08", 1, 2, 4, 2, 2, 2, 5, 7, 0, 5, 13, 1}, + {"HB", 1, 26, 2, "HBP08", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 27, 1, "HBP08", 2, 13, 4, 2, 2, 2, 5, 7, 0, 7, 13, 1}, + {"HB", 1, 27, 2, "HBP08", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 28, 1, "HBP08", 3, 7, 4, 2, 2, 2, 5, 7, 1, 5, 13, 0}, + {"HB", 1, 28, 2, "HBP08", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 29, 1, "HBP08", 4, 18, 4, 2, 2, 2, 5, 7, 1, 7, 13, 0}, + {"HB", 1, 29, 2, "HBP08", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 30, 1, "HBP09", 1, 2, 4, 2, 2, 2, 5, 7, 6, 5, 16, 1}, + {"HB", 1, 30, 2, "HBP09", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 31, 1, "HBP09", 2, 13, 4, 2, 2, 2, 5, 7, 6, 7, 16, 1}, + {"HB", 1, 31, 2, "HBP09", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 32, 1, "HBP09", 3, 7, 4, 2, 2, 2, 5, 7, 7, 5, 16, 0}, + {"HB", 1, 32, 2, "HBP09", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 33, 1, "HBP09", 4, 18, 4, 2, 2, 2, 5, 7, 7, 7, 16, 0}, + {"HB", 1, 33, 2, "HBP09", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 34, 1, "HBP10", 1, 2, 4, 2, 2, 2, 11, 9, 0, 5, 13, 1}, + {"HB", 1, 34, 2, "HBP10", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 35, 1, "HBP10", 2, 13, 4, 2, 2, 2, 11, 9, 0, 7, 13, 1}, + {"HB", 1, 35, 2, "HBP10", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 36, 1, "HBP10", 3, 7, 4, 2, 2, 2, 11, 9, 1, 5, 13, 0}, + {"HB", 1, 36, 2, "HBP10", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 37, 1, "HBP10", 4, 18, 4, 2, 2, 2, 11, 9, 1, 7, 13, 0}, + {"HB", 1, 37, 2, "HBP10", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 38, 1, "HBP11", 1, 2, 4, 2, 2, 2, 11, 9, 6, 5, 16, 1}, + {"HB", 1, 38, 2, "HBP11", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 39, 1, "HBP11", 2, 13, 4, 2, 2, 2, 11, 9, 6, 7, 16, 1}, + {"HB", 1, 39, 2, "HBP11", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 40, 1, "HBP11", 3, 7, 4, 2, 2, 2, 11, 9, 7, 5, 16, 0}, + {"HB", 1, 40, 2, "HBP11", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 41, 1, "HBP11", 4, 18, 4, 2, 2, 2, 11, 9, 7, 7, 16, 0}, + {"HB", 1, 41, 2, "HBP11", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 42, 1, "HBP12", 1, 2, 4, 2, 2, 2, 15, 11, 0, 5, 13, 1}, + {"HB", 1, 42, 2, "HBP12", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 43, 1, "HBP12", 2, 13, 4, 2, 2, 2, 15, 11, 0, 7, 13, 1}, + {"HB", 1, 43, 2, "HBP12", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 44, 1, "HBP12", 3, 7, 4, 2, 2, 2, 15, 11, 1, 5, 13, 0}, + {"HB", 1, 44, 2, "HBP12", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 45, 1, "HBP12", 4, 18, 4, 2, 2, 2, 15, 11, 1, 7, 13, 0}, + {"HB", 1, 45, 2, "HBP12", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 46, 1, "HBP13", 1, 2, 4, 2, 2, 2, 15, 11, 6, 5, 16, 1}, + {"HB", 1, 46, 2, "HBP13", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 47, 1, "HBP13", 2, 13, 4, 2, 2, 2, 15, 11, 6, 7, 16, 1}, + {"HB", 1, 47, 2, "HBP13", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 48, 1, "HBP13", 3, 7, 4, 2, 2, 2, 15, 11, 7, 5, 16, 0}, + {"HB", 1, 48, 2, "HBP13", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 49, 1, "HBP13", 4, 18, 4, 2, 2, 2, 15, 11, 7, 7, 16, 0}, + {"HB", 1, 49, 2, "HBP13", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 50, 1, "HBP14", 1, 2, 4, 2, 2, 2, 17, 13, 0, 5, 13, 1}, + {"HB", 1, 50, 2, "HBP14", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 51, 1, "HBP14", 2, 13, 4, 2, 2, 2, 17, 13, 0, 7, 13, 1}, + {"HB", 1, 51, 2, "HBP14", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 52, 1, "HBP14", 3, 7, 4, 2, 2, 2, 17, 13, 1, 5, 13, 0}, + {"HB", 1, 52, 2, "HBP14", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 53, 1, "HBP14", 4, 18, 4, 2, 2, 2, 17, 13, 1, 7, 13, 0}, + {"HB", 1, 53, 2, "HBP14", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 54, 1, "HBP15", 1, 2, 4, 2, 2, 2, 17, 13, 6, 5, 16, 1}, + {"HB", 1, 54, 2, "HBP15", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 55, 1, "HBP15", 2, 13, 4, 2, 2, 2, 17, 13, 6, 7, 16, 1}, + {"HB", 1, 55, 2, "HBP15", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 56, 1, "HBP15", 3, 7, 4, 2, 2, 2, 17, 13, 7, 5, 16, 0}, + {"HB", 1, 56, 2, "HBP15", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 57, 1, "HBP15", 4, 18, 4, 2, 2, 2, 17, 13, 7, 7, 16, 0}, + {"HB", 1, 57, 2, "HBP15", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 58, 1, "HBP16", 1, 2, 4, 2, 2, 2, 14, 15, 0, 5, 13, 1}, + {"HB", 1, 58, 2, "HBP16", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 59, 1, "HBP16", 2, 13, 4, 2, 2, 2, 14, 15, 0, 7, 13, 1}, + {"HB", 1, 59, 2, "HBP16", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 60, 1, "HBP16", 3, 7, 4, 2, 2, 2, 14, 15, 1, 5, 13, 0}, + {"HB", 1, 60, 2, "HBP16", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 61, 1, "HBP16", 4, 18, 4, 2, 2, 2, 14, 15, 1, 7, 13, 0}, + {"HB", 1, 61, 2, "HBP16", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 62, 1, "HBP17", 1, 2, 4, 2, 2, 2, 14, 15, 6, 5, 16, 1}, + {"HB", 1, 62, 2, "HBP17", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 63, 1, "HBP17", 2, 13, 4, 2, 2, 2, 14, 15, 6, 7, 16, 1}, + {"HB", 1, 63, 2, "HBP17", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 64, 1, "HBP17", 3, 7, 4, 2, 2, 2, 14, 15, 7, 5, 16, 0}, + {"HB", 1, 64, 2, "HBP17", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 65, 1, "HBP17", 4, 18, 4, 2, 2, 2, 14, 15, 7, 7, 16, 0}, + {"HB", 1, 65, 2, "HBP17", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 66, 1, "HBP18", 1, 2, 4, 2, 2, 2, 10, 17, 0, 5, 13, 1}, + {"HB", 1, 66, 2, "HBP18", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 67, 1, "HBP18", 2, 13, 4, 2, 2, 2, 10, 17, 0, 7, 13, 1}, + {"HB", 1, 67, 2, "HBP18", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 68, 1, "HBP18", 3, 7, 4, 2, 2, 2, 10, 17, 1, 5, 13, 0}, + {"HB", 1, 68, 2, "HBP18", 3, 6, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 69, 1, "HBP18", 4, 18, 4, 2, 2, 2, 10, 17, 1, 7, 13, 0}, + {"HB", 1, 69, 2, "HBP18", 4, 19, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 70, 1, "HBP01", 1, 2, 4, 2, 2, 2, 10, 17, 6, 5, 16, 1}, + {"HB", 1, 70, 2, "HBP01", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 1, 71, 1, "HBP01", 2, 13, 4, 2, 2, 2, 10, 17, 6, 7, 16, 1}, + {"HB", 1, 71, 2, "HBP01", 2, 14, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 0, 1, "HBP01", 3, 6, 6, 2, 3, 2, 10, 17, 7, 1, 16, 0}, + {"HB", 2, 0, 2, "HBP01", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 1, 1, "HBP01", 4, 19, 6, 2, 3, 2, 10, 17, 7, 3, 16, 0}, + {"HB", 2, 1, 2, "HBP01", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 2, 1, "HBP02", 1, 1, 6, 2, 3, 2, 4, 1, 0, 1, 13, 1}, + {"HB", 2, 2, 2, "HBP02", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 3, 1, "HBP02", 2, 14, 6, 2, 3, 2, 4, 1, 0, 3, 13, 1}, + {"HB", 2, 3, 2, "HBP02", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 4, 1, "HBP02", 3, 6, 6, 2, 3, 2, 4, 1, 1, 1, 13, 0}, + {"HB", 2, 4, 2, "HBP02", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 5, 1, "HBP02", 4, 19, 6, 2, 3, 2, 4, 1, 1, 3, 13, 0}, + {"HB", 2, 5, 2, "HBP02", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 6, 1, "HBP03", 1, 1, 6, 2, 3, 2, 4, 1, 6, 1, 16, 1}, + {"HB", 2, 6, 2, "HBP03", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 7, 1, "HBP03", 2, 14, 6, 2, 3, 2, 4, 1, 6, 3, 16, 1}, + {"HB", 2, 7, 2, "HBP03", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 8, 1, "HBP03", 3, 6, 6, 2, 3, 2, 4, 1, 7, 1, 16, 0}, + {"HB", 2, 8, 2, "HBP03", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 9, 1, "HBP03", 4, 19, 6, 2, 3, 2, 4, 1, 7, 3, 16, 0}, + {"HB", 2, 9, 2, "HBP03", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 10, 1, "HBP04", 1, 1, 6, 2, 3, 2, 0, 3, 0, 1, 13, 1}, + {"HB", 2, 10, 2, "HBP04", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 11, 1, "HBP04", 2, 14, 6, 2, 3, 2, 0, 3, 0, 3, 13, 1}, + {"HB", 2, 11, 2, "HBP04", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 12, 1, "HBP04", 3, 6, 6, 2, 3, 2, 0, 3, 1, 1, 13, 0}, + {"HB", 2, 12, 2, "HBP04", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 13, 1, "HBP04", 4, 19, 6, 2, 3, 2, 0, 3, 1, 3, 13, 0}, + {"HB", 2, 13, 2, "HBP04", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 14, 1, "HBP05", 1, 1, 6, 2, 3, 2, 0, 3, 6, 1, 16, 1}, + {"HB", 2, 14, 2, "HBP05", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 15, 1, "HBP05", 2, 14, 6, 2, 3, 2, 0, 3, 6, 3, 16, 1}, + {"HB", 2, 15, 2, "HBP05", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 16, 1, "HBP05", 3, 6, 6, 2, 3, 2, 0, 3, 7, 1, 16, 0}, + {"HB", 2, 16, 2, "HBP05", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 17, 1, "HBP05", 4, 19, 6, 2, 3, 2, 0, 3, 7, 3, 16, 0}, + {"HB", 2, 17, 2, "HBP05", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 18, 1, "HBP06", 1, 1, 6, 2, 3, 2, 1, 5, 0, 1, 13, 1}, + {"HB", 2, 18, 2, "HBP06", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 19, 1, "HBP06", 2, 14, 6, 2, 3, 2, 1, 5, 0, 3, 13, 1}, + {"HB", 2, 19, 2, "HBP06", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 20, 1, "HBP06", 3, 6, 6, 2, 3, 2, 1, 5, 1, 1, 13, 0}, + {"HB", 2, 20, 2, "HBP06", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 21, 1, "HBP06", 4, 19, 6, 2, 3, 2, 1, 5, 1, 3, 13, 0}, + {"HB", 2, 21, 2, "HBP06", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 22, 1, "HBP07", 1, 1, 6, 2, 3, 2, 1, 5, 6, 1, 16, 1}, + {"HB", 2, 22, 2, "HBP07", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 23, 1, "HBP07", 2, 14, 6, 2, 3, 2, 1, 5, 6, 3, 16, 1}, + {"HB", 2, 23, 2, "HBP07", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 24, 1, "HBP07", 3, 6, 6, 2, 3, 2, 1, 5, 7, 1, 16, 0}, + {"HB", 2, 24, 2, "HBP07", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 25, 1, "HBP07", 4, 19, 6, 2, 3, 2, 1, 5, 7, 3, 16, 0}, + {"HB", 2, 25, 2, "HBP07", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 26, 1, "HBP08", 1, 1, 6, 2, 3, 2, 5, 7, 0, 1, 13, 1}, + {"HB", 2, 26, 2, "HBP08", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 27, 1, "HBP08", 2, 14, 6, 2, 3, 2, 5, 7, 0, 3, 13, 1}, + {"HB", 2, 27, 2, "HBP08", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 28, 1, "HBP08", 3, 6, 6, 2, 3, 2, 5, 7, 1, 1, 13, 0}, + {"HB", 2, 28, 2, "HBP08", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 29, 1, "HBP08", 4, 19, 6, 2, 3, 2, 5, 7, 1, 3, 13, 0}, + {"HB", 2, 29, 2, "HBP08", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 30, 1, "HBP09", 1, 1, 6, 2, 3, 2, 5, 7, 6, 1, 16, 1}, + {"HB", 2, 30, 2, "HBP09", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 31, 1, "HBP09", 2, 14, 6, 2, 3, 2, 5, 7, 6, 3, 16, 1}, + {"HB", 2, 31, 2, "HBP09", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 32, 1, "HBP09", 3, 6, 6, 2, 3, 2, 5, 7, 7, 1, 16, 0}, + {"HB", 2, 32, 2, "HBP09", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 33, 1, "HBP09", 4, 19, 6, 2, 3, 2, 5, 7, 7, 3, 16, 0}, + {"HB", 2, 33, 2, "HBP09", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 34, 1, "HBP10", 1, 1, 6, 2, 3, 2, 11, 9, 0, 1, 13, 1}, + {"HB", 2, 34, 2, "HBP10", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 35, 1, "HBP10", 2, 14, 6, 2, 3, 2, 11, 9, 0, 3, 13, 1}, + {"HB", 2, 35, 2, "HBP10", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 36, 1, "HBP10", 3, 6, 6, 2, 3, 2, 11, 9, 1, 1, 13, 0}, + {"HB", 2, 36, 2, "HBP10", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 37, 1, "HBP10", 4, 19, 6, 2, 3, 2, 11, 9, 1, 3, 13, 0}, + {"HB", 2, 37, 2, "HBP10", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 38, 1, "HBP11", 1, 1, 6, 2, 3, 2, 11, 9, 6, 1, 16, 1}, + {"HB", 2, 38, 2, "HBP11", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 39, 1, "HBP11", 2, 14, 6, 2, 3, 2, 11, 9, 6, 3, 16, 1}, + {"HB", 2, 39, 2, "HBP11", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 40, 1, "HBP11", 3, 6, 6, 2, 3, 2, 11, 9, 7, 1, 16, 0}, + {"HB", 2, 40, 2, "HBP11", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 41, 1, "HBP11", 4, 19, 6, 2, 3, 2, 11, 9, 7, 3, 16, 0}, + {"HB", 2, 41, 2, "HBP11", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 42, 1, "HBP12", 1, 1, 6, 2, 3, 2, 15, 11, 0, 1, 13, 1}, + {"HB", 2, 42, 2, "HBP12", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 43, 1, "HBP12", 2, 14, 6, 2, 3, 2, 15, 11, 0, 3, 13, 1}, + {"HB", 2, 43, 2, "HBP12", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 44, 1, "HBP12", 3, 6, 6, 2, 3, 2, 15, 11, 1, 1, 13, 0}, + {"HB", 2, 44, 2, "HBP12", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 45, 1, "HBP12", 4, 19, 6, 2, 3, 2, 15, 11, 1, 3, 13, 0}, + {"HB", 2, 45, 2, "HBP12", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 46, 1, "HBP13", 1, 1, 6, 2, 3, 2, 15, 11, 6, 1, 16, 1}, + {"HB", 2, 46, 2, "HBP13", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 47, 1, "HBP13", 2, 14, 6, 2, 3, 2, 15, 11, 6, 3, 16, 1}, + {"HB", 2, 47, 2, "HBP13", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 48, 1, "HBP13", 3, 6, 6, 2, 3, 2, 15, 11, 7, 1, 16, 0}, + {"HB", 2, 48, 2, "HBP13", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 49, 1, "HBP13", 4, 19, 6, 2, 3, 2, 15, 11, 7, 3, 16, 0}, + {"HB", 2, 49, 2, "HBP13", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 50, 1, "HBP14", 1, 1, 6, 2, 3, 2, 17, 13, 0, 1, 13, 1}, + {"HB", 2, 50, 2, "HBP14", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 51, 1, "HBP14", 2, 14, 6, 2, 3, 2, 17, 13, 0, 3, 13, 1}, + {"HB", 2, 51, 2, "HBP14", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 52, 1, "HBP14", 3, 6, 6, 2, 3, 2, 17, 13, 1, 1, 13, 0}, + {"HB", 2, 52, 2, "HBP14", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 53, 1, "HBP14", 4, 19, 6, 2, 3, 2, 17, 13, 1, 3, 13, 0}, + {"HB", 2, 53, 2, "HBP14", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 54, 1, "HBP15", 1, 1, 6, 2, 3, 2, 17, 13, 6, 1, 16, 1}, + {"HB", 2, 54, 2, "HBP15", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 55, 1, "HBP15", 2, 14, 6, 2, 3, 2, 17, 13, 6, 3, 16, 1}, + {"HB", 2, 55, 2, "HBP15", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 56, 1, "HBP15", 3, 6, 6, 2, 3, 2, 17, 13, 7, 1, 16, 0}, + {"HB", 2, 56, 2, "HBP15", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 57, 1, "HBP15", 4, 19, 6, 2, 3, 2, 17, 13, 7, 3, 16, 0}, + {"HB", 2, 57, 2, "HBP15", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 58, 1, "HBP16", 1, 1, 6, 2, 3, 2, 14, 15, 0, 1, 13, 1}, + {"HB", 2, 58, 2, "HBP16", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 59, 1, "HBP16", 2, 14, 6, 2, 3, 2, 14, 15, 0, 3, 13, 1}, + {"HB", 2, 59, 2, "HBP16", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 60, 1, "HBP16", 3, 6, 6, 2, 3, 2, 14, 15, 1, 1, 13, 0}, + {"HB", 2, 60, 2, "HBP16", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 61, 1, "HBP16", 4, 19, 6, 2, 3, 2, 14, 15, 1, 3, 13, 0}, + {"HB", 2, 61, 2, "HBP16", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 62, 1, "HBP17", 1, 1, 6, 2, 3, 2, 14, 15, 6, 1, 16, 1}, + {"HB", 2, 62, 2, "HBP17", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 63, 1, "HBP17", 2, 14, 6, 2, 3, 2, 14, 15, 6, 3, 16, 1}, + {"HB", 2, 63, 2, "HBP17", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 64, 1, "HBP17", 3, 6, 6, 2, 3, 2, 14, 15, 7, 1, 16, 0}, + {"HB", 2, 64, 2, "HBP17", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 65, 1, "HBP17", 4, 19, 6, 2, 3, 2, 14, 15, 7, 3, 16, 0}, + {"HB", 2, 65, 2, "HBP17", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 66, 1, "HBP18", 1, 1, 6, 2, 3, 2, 10, 17, 0, 1, 13, 1}, + {"HB", 2, 66, 2, "HBP18", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 67, 1, "HBP18", 2, 14, 6, 2, 3, 2, 10, 17, 0, 3, 13, 1}, + {"HB", 2, 67, 2, "HBP18", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 68, 1, "HBP18", 3, 6, 6, 2, 3, 2, 10, 17, 1, 1, 13, 0}, + {"HB", 2, 68, 2, "HBP18", 3, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 69, 1, "HBP18", 4, 19, 6, 2, 3, 2, 10, 17, 1, 3, 13, 0}, + {"HB", 2, 69, 2, "HBP18", 4, 13, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 70, 1, "HBP01", 1, 1, 6, 2, 3, 2, 10, 17, 6, 1, 16, 1}, + {"HB", 2, 70, 2, "HBP01", 1, 7, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 2, 71, 1, "HBP01", 2, 14, 6, 2, 3, 2, 10, 17, 6, 3, 16, 1}, + {"HB", 2, 71, 2, "HBP01", 2, 15, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 0, 1, "HBP01", 3, 5, 5, 1, 2, 5, 10, 17, 7, 6, 16, 0}, + {"HB", 3, 0, 2, "HBP01", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 1, 1, "HBP01", 4, 13, 5, 1, 2, 5, 10, 17, 7, 8, 16, 0}, + {"HB", 3, 1, 2, "HBP01", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 2, 1, "HBP02", 1, 7, 5, 1, 2, 5, 4, 1, 0, 6, 13, 1}, + {"HB", 3, 2, 2, "HBP02", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 3, 1, "HBP02", 2, 15, 5, 1, 2, 5, 4, 1, 0, 8, 13, 1}, + {"HB", 3, 3, 2, "HBP02", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 4, 1, "HBP02", 3, 5, 5, 1, 2, 5, 4, 1, 1, 6, 13, 0}, + {"HB", 3, 4, 2, "HBP02", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 5, 1, "HBP02", 4, 13, 5, 1, 2, 5, 4, 1, 1, 8, 13, 0}, + {"HB", 3, 5, 2, "HBP02", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 6, 1, "HBP03", 1, 7, 5, 1, 2, 5, 4, 1, 6, 6, 16, 1}, + {"HB", 3, 6, 2, "HBP03", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 7, 1, "HBP03", 2, 15, 5, 1, 2, 5, 4, 1, 6, 8, 16, 1}, + {"HB", 3, 7, 2, "HBP03", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 8, 1, "HBP03", 3, 5, 5, 1, 2, 5, 4, 1, 7, 6, 16, 0}, + {"HB", 3, 8, 2, "HBP03", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 9, 1, "HBP03", 4, 13, 5, 1, 2, 5, 4, 1, 7, 8, 16, 0}, + {"HB", 3, 9, 2, "HBP03", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 10, 1, "HBP04", 1, 7, 5, 1, 2, 5, 0, 3, 0, 6, 13, 1}, + {"HB", 3, 10, 2, "HBP04", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 11, 1, "HBP04", 2, 15, 5, 1, 2, 5, 0, 3, 0, 8, 13, 1}, + {"HB", 3, 11, 2, "HBP04", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 12, 1, "HBP04", 3, 5, 5, 1, 2, 5, 0, 3, 1, 6, 13, 0}, + {"HB", 3, 12, 2, "HBP04", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 13, 1, "HBP04", 4, 13, 5, 1, 2, 5, 0, 3, 1, 8, 13, 0}, + {"HB", 3, 13, 2, "HBP04", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 14, 1, "HBP05", 1, 7, 5, 1, 2, 5, 0, 3, 6, 6, 16, 1}, + {"HB", 3, 14, 2, "HBP05", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 15, 1, "HBP05", 2, 15, 5, 1, 2, 5, 0, 3, 6, 8, 16, 1}, + {"HB", 3, 15, 2, "HBP05", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 16, 1, "HBP05", 3, 5, 5, 1, 2, 5, 0, 3, 7, 6, 16, 0}, + {"HB", 3, 16, 2, "HBP05", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 17, 1, "HBP05", 4, 13, 5, 1, 2, 5, 0, 3, 7, 8, 16, 0}, + {"HB", 3, 17, 2, "HBP05", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 18, 1, "HBP06", 1, 7, 5, 1, 2, 5, 1, 5, 0, 6, 13, 1}, + {"HB", 3, 18, 2, "HBP06", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 19, 1, "HBP06", 2, 15, 5, 1, 2, 5, 1, 5, 0, 8, 13, 1}, + {"HB", 3, 19, 2, "HBP06", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 20, 1, "HBP06", 3, 5, 5, 1, 2, 5, 1, 5, 1, 6, 13, 0}, + {"HB", 3, 20, 2, "HBP06", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 21, 1, "HBP06", 4, 13, 5, 1, 2, 5, 1, 5, 1, 8, 13, 0}, + {"HB", 3, 21, 2, "HBP06", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 22, 1, "HBP07", 1, 7, 5, 1, 2, 5, 1, 5, 6, 6, 16, 1}, + {"HB", 3, 22, 2, "HBP07", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 23, 1, "HBP07", 2, 15, 5, 1, 2, 5, 1, 5, 6, 8, 16, 1}, + {"HB", 3, 23, 2, "HBP07", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 24, 1, "HBP07", 3, 5, 5, 1, 2, 5, 1, 5, 7, 6, 16, 0}, + {"HB", 3, 24, 2, "HBP07", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 25, 1, "HBP07", 4, 13, 5, 1, 2, 5, 1, 5, 7, 8, 16, 0}, + {"HB", 3, 25, 2, "HBP07", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 26, 1, "HBP08", 1, 7, 5, 1, 2, 5, 5, 7, 0, 6, 13, 1}, + {"HB", 3, 26, 2, "HBP08", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 27, 1, "HBP08", 2, 15, 5, 1, 2, 5, 5, 7, 0, 8, 13, 1}, + {"HB", 3, 27, 2, "HBP08", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 28, 1, "HBP08", 3, 5, 5, 1, 2, 5, 5, 7, 1, 6, 13, 0}, + {"HB", 3, 28, 2, "HBP08", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 29, 1, "HBP08", 4, 13, 5, 1, 2, 5, 5, 7, 1, 8, 13, 0}, + {"HB", 3, 29, 2, "HBP08", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 30, 1, "HBP09", 1, 7, 5, 1, 2, 5, 5, 7, 6, 6, 16, 1}, + {"HB", 3, 30, 2, "HBP09", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 31, 1, "HBP09", 2, 15, 5, 1, 2, 5, 5, 7, 6, 8, 16, 1}, + {"HB", 3, 31, 2, "HBP09", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 32, 1, "HBP09", 3, 5, 5, 1, 2, 5, 5, 7, 7, 6, 16, 0}, + {"HB", 3, 32, 2, "HBP09", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 33, 1, "HBP09", 4, 13, 5, 1, 2, 5, 5, 7, 7, 8, 16, 0}, + {"HB", 3, 33, 2, "HBP09", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 34, 1, "HBP10", 1, 7, 5, 1, 2, 5, 11, 9, 0, 6, 13, 1}, + {"HB", 3, 34, 2, "HBP10", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 35, 1, "HBP10", 2, 15, 5, 1, 2, 5, 11, 9, 0, 8, 13, 1}, + {"HB", 3, 35, 2, "HBP10", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 36, 1, "HBP10", 3, 5, 5, 1, 2, 5, 11, 9, 1, 6, 13, 0}, + {"HB", 3, 36, 2, "HBP10", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 37, 1, "HBP10", 4, 13, 5, 1, 2, 5, 11, 9, 1, 8, 13, 0}, + {"HB", 3, 37, 2, "HBP10", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 38, 1, "HBP11", 1, 7, 5, 1, 2, 5, 11, 9, 6, 6, 16, 1}, + {"HB", 3, 38, 2, "HBP11", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 39, 1, "HBP11", 2, 15, 5, 1, 2, 5, 11, 9, 6, 8, 16, 1}, + {"HB", 3, 39, 2, "HBP11", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 40, 1, "HBP11", 3, 5, 5, 1, 2, 5, 11, 9, 7, 6, 16, 0}, + {"HB", 3, 40, 2, "HBP11", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 41, 1, "HBP11", 4, 13, 5, 1, 2, 5, 11, 9, 7, 8, 16, 0}, + {"HB", 3, 41, 2, "HBP11", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 42, 1, "HBP12", 1, 7, 5, 1, 2, 5, 15, 11, 0, 6, 13, 1}, + {"HB", 3, 42, 2, "HBP12", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 43, 1, "HBP12", 2, 15, 5, 1, 2, 5, 15, 11, 0, 8, 13, 1}, + {"HB", 3, 43, 2, "HBP12", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 44, 1, "HBP12", 3, 5, 5, 1, 2, 5, 15, 11, 1, 6, 13, 0}, + {"HB", 3, 44, 2, "HBP12", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 45, 1, "HBP12", 4, 13, 5, 1, 2, 5, 15, 11, 1, 8, 13, 0}, + {"HB", 3, 45, 2, "HBP12", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 46, 1, "HBP13", 1, 7, 5, 1, 2, 5, 15, 11, 6, 6, 16, 1}, + {"HB", 3, 46, 2, "HBP13", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 47, 1, "HBP13", 2, 15, 5, 1, 2, 5, 15, 11, 6, 8, 16, 1}, + {"HB", 3, 47, 2, "HBP13", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 48, 1, "HBP13", 3, 5, 5, 1, 2, 5, 15, 11, 7, 6, 16, 0}, + {"HB", 3, 48, 2, "HBP13", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 49, 1, "HBP13", 4, 13, 5, 1, 2, 5, 15, 11, 7, 8, 16, 0}, + {"HB", 3, 49, 2, "HBP13", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 50, 1, "HBP14", 1, 7, 5, 1, 2, 5, 17, 13, 0, 6, 13, 1}, + {"HB", 3, 50, 2, "HBP14", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 51, 1, "HBP14", 2, 15, 5, 1, 2, 5, 17, 13, 0, 8, 13, 1}, + {"HB", 3, 51, 2, "HBP14", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 52, 1, "HBP14", 3, 5, 5, 1, 2, 5, 17, 13, 1, 6, 13, 0}, + {"HB", 3, 52, 2, "HBP14", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 53, 1, "HBP14", 4, 13, 5, 1, 2, 5, 17, 13, 1, 8, 13, 0}, + {"HB", 3, 53, 2, "HBP14", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 54, 1, "HBP15", 1, 7, 5, 1, 2, 5, 17, 13, 6, 6, 16, 1}, + {"HB", 3, 54, 2, "HBP15", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 55, 1, "HBP15", 2, 15, 5, 1, 2, 5, 17, 13, 6, 8, 16, 1}, + {"HB", 3, 55, 2, "HBP15", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 56, 1, "HBP15", 3, 5, 5, 1, 2, 5, 17, 13, 7, 6, 16, 0}, + {"HB", 3, 56, 2, "HBP15", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 57, 1, "HBP15", 4, 13, 5, 1, 2, 5, 17, 13, 7, 8, 16, 0}, + {"HB", 3, 57, 2, "HBP15", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 58, 1, "HBP16", 1, 7, 5, 1, 2, 5, 14, 15, 0, 6, 13, 1}, + {"HB", 3, 58, 2, "HBP16", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 59, 1, "HBP16", 2, 15, 5, 1, 2, 5, 14, 15, 0, 8, 13, 1}, + {"HB", 3, 59, 2, "HBP16", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 60, 1, "HBP16", 3, 5, 5, 1, 2, 5, 14, 15, 1, 6, 13, 0}, + {"HB", 3, 60, 2, "HBP16", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 61, 1, "HBP16", 4, 13, 5, 1, 2, 5, 14, 15, 1, 8, 13, 0}, + {"HB", 3, 61, 2, "HBP16", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 62, 1, "HBP17", 1, 7, 5, 1, 2, 5, 14, 15, 6, 6, 16, 1}, + {"HB", 3, 62, 2, "HBP17", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 63, 1, "HBP17", 2, 15, 5, 1, 2, 5, 14, 15, 6, 8, 16, 1}, + {"HB", 3, 63, 2, "HBP17", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 64, 1, "HBP17", 3, 5, 5, 1, 2, 5, 14, 15, 7, 6, 16, 0}, + {"HB", 3, 64, 2, "HBP17", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 65, 1, "HBP17", 4, 13, 5, 1, 2, 5, 14, 15, 7, 8, 16, 0}, + {"HB", 3, 65, 2, "HBP17", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 66, 1, "HBP18", 1, 7, 5, 1, 2, 5, 10, 17, 0, 6, 13, 1}, + {"HB", 3, 66, 2, "HBP18", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 67, 1, "HBP18", 2, 15, 5, 1, 2, 5, 10, 17, 0, 8, 13, 1}, + {"HB", 3, 67, 2, "HBP18", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 68, 1, "HBP18", 3, 5, 5, 1, 2, 5, 10, 17, 1, 6, 13, 0}, + {"HB", 3, 68, 2, "HBP18", 3, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 69, 1, "HBP18", 4, 13, 5, 1, 2, 5, 10, 17, 1, 8, 13, 0}, + {"HB", 3, 69, 2, "HBP18", 4, 14, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 70, 1, "HBP01", 1, 7, 5, 1, 2, 5, 10, 17, 6, 6, 16, 1}, + {"HB", 3, 70, 2, "HBP01", 1, 6, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 3, 71, 1, "HBP01", 2, 15, 5, 1, 2, 5, 10, 17, 6, 8, 16, 1}, + {"HB", 3, 71, 2, "HBP01", 2, 16, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 0, 1, "HBP01", 3, 4, 7, 0, 3, 4, 10, 17, 7, 2, 16, 0}, + {"HB", 4, 0, 2, "HBP01", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 1, 1, "HBP01", 4, 14, 7, 0, 3, 4, 10, 17, 7, 4, 16, 0}, + {"HB", 4, 1, 2, "HBP01", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 2, 1, "HBP02", 1, 6, 7, 0, 3, 4, 4, 1, 0, 2, 13, 1}, + {"HB", 4, 2, 2, "HBP02", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 3, 1, "HBP02", 2, 16, 7, 0, 3, 4, 4, 1, 0, 4, 13, 1}, + {"HB", 4, 3, 2, "HBP02", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 4, 1, "HBP02", 3, 4, 7, 0, 3, 4, 4, 1, 1, 2, 13, 0}, + {"HB", 4, 4, 2, "HBP02", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 5, 1, "HBP02", 4, 14, 7, 0, 3, 4, 4, 1, 1, 4, 13, 0}, + {"HB", 4, 5, 2, "HBP02", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 6, 1, "HBP03", 1, 6, 7, 0, 3, 4, 4, 1, 6, 2, 16, 1}, + {"HB", 4, 6, 2, "HBP03", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 7, 1, "HBP03", 2, 16, 7, 0, 3, 4, 4, 1, 6, 4, 16, 1}, + {"HB", 4, 7, 2, "HBP03", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 8, 1, "HBP03", 3, 4, 7, 0, 3, 4, 4, 1, 7, 2, 16, 0}, + {"HB", 4, 8, 2, "HBP03", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 9, 1, "HBP03", 4, 14, 7, 0, 3, 4, 4, 1, 7, 4, 16, 0}, + {"HB", 4, 9, 2, "HBP03", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 10, 1, "HBP04", 1, 6, 7, 0, 3, 4, 0, 3, 0, 2, 13, 1}, + {"HB", 4, 10, 2, "HBP04", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 11, 1, "HBP04", 2, 16, 7, 0, 3, 4, 0, 3, 0, 4, 13, 1}, + {"HB", 4, 11, 2, "HBP04", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 12, 1, "HBP04", 3, 4, 7, 0, 3, 4, 0, 3, 1, 2, 13, 0}, + {"HB", 4, 12, 2, "HBP04", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 13, 1, "HBP04", 4, 14, 7, 0, 3, 4, 0, 3, 1, 4, 13, 0}, + {"HB", 4, 13, 2, "HBP04", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 14, 1, "HBP05", 1, 6, 7, 0, 3, 4, 0, 3, 6, 2, 16, 1}, + {"HB", 4, 14, 2, "HBP05", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 15, 1, "HBP05", 2, 16, 7, 0, 3, 4, 0, 3, 6, 4, 16, 1}, + {"HB", 4, 15, 2, "HBP05", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 16, 1, "HBP05", 3, 4, 7, 0, 3, 4, 0, 3, 7, 2, 16, 0}, + {"HB", 4, 16, 2, "HBP05", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 17, 1, "HBP05", 4, 14, 7, 0, 3, 4, 0, 3, 7, 4, 16, 0}, + {"HB", 4, 17, 2, "HBP05", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 18, 1, "HBP06", 1, 6, 7, 0, 3, 4, 1, 5, 0, 2, 13, 1}, + {"HB", 4, 18, 2, "HBP06", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 19, 1, "HBP06", 2, 16, 7, 0, 3, 4, 1, 5, 0, 4, 13, 1}, + {"HB", 4, 19, 2, "HBP06", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 20, 1, "HBP06", 3, 4, 7, 0, 3, 4, 1, 5, 1, 2, 13, 0}, + {"HB", 4, 20, 2, "HBP06", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 21, 1, "HBP06", 4, 14, 7, 0, 3, 4, 1, 5, 1, 4, 13, 0}, + {"HB", 4, 21, 2, "HBP06", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 22, 1, "HBP07", 1, 6, 7, 0, 3, 4, 1, 5, 6, 2, 16, 1}, + {"HB", 4, 22, 2, "HBP07", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 23, 1, "HBP07", 2, 16, 7, 0, 3, 4, 1, 5, 6, 4, 16, 1}, + {"HB", 4, 23, 2, "HBP07", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 24, 1, "HBP07", 3, 4, 7, 0, 3, 4, 1, 5, 7, 2, 16, 0}, + {"HB", 4, 24, 2, "HBP07", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 25, 1, "HBP07", 4, 14, 7, 0, 3, 4, 1, 5, 7, 4, 16, 0}, + {"HB", 4, 25, 2, "HBP07", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 26, 1, "HBP08", 1, 6, 7, 0, 3, 4, 5, 7, 0, 2, 13, 1}, + {"HB", 4, 26, 2, "HBP08", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 27, 1, "HBP08", 2, 16, 7, 0, 3, 4, 5, 7, 0, 4, 13, 1}, + {"HB", 4, 27, 2, "HBP08", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 28, 1, "HBP08", 3, 4, 7, 0, 3, 4, 5, 7, 1, 2, 13, 0}, + {"HB", 4, 28, 2, "HBP08", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 29, 1, "HBP08", 4, 14, 7, 0, 3, 4, 5, 7, 1, 4, 13, 0}, + {"HB", 4, 29, 2, "HBP08", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 30, 1, "HBP09", 1, 6, 7, 0, 3, 4, 5, 7, 6, 2, 16, 1}, + {"HB", 4, 30, 2, "HBP09", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 31, 1, "HBP09", 2, 16, 7, 0, 3, 4, 5, 7, 6, 4, 16, 1}, + {"HB", 4, 31, 2, "HBP09", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 32, 1, "HBP09", 3, 4, 7, 0, 3, 4, 5, 7, 7, 2, 16, 0}, + {"HB", 4, 32, 2, "HBP09", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 33, 1, "HBP09", 4, 14, 7, 0, 3, 4, 5, 7, 7, 4, 16, 0}, + {"HB", 4, 33, 2, "HBP09", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 34, 1, "HBP10", 1, 6, 7, 0, 3, 4, 11, 9, 0, 2, 13, 1}, + {"HB", 4, 34, 2, "HBP10", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 35, 1, "HBP10", 2, 16, 7, 0, 3, 4, 11, 9, 0, 4, 13, 1}, + {"HB", 4, 35, 2, "HBP10", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 36, 1, "HBP10", 3, 4, 7, 0, 3, 4, 11, 9, 1, 2, 13, 0}, + {"HB", 4, 36, 2, "HBP10", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 37, 1, "HBP10", 4, 14, 7, 0, 3, 4, 11, 9, 1, 4, 13, 0}, + {"HB", 4, 37, 2, "HBP10", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 38, 1, "HBP11", 1, 6, 7, 0, 3, 4, 11, 9, 6, 2, 16, 1}, + {"HB", 4, 38, 2, "HBP11", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 39, 1, "HBP11", 2, 16, 7, 0, 3, 4, 11, 9, 6, 4, 16, 1}, + {"HB", 4, 39, 2, "HBP11", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 40, 1, "HBP11", 3, 4, 7, 0, 3, 4, 11, 9, 7, 2, 16, 0}, + {"HB", 4, 40, 2, "HBP11", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 41, 1, "HBP11", 4, 14, 7, 0, 3, 4, 11, 9, 7, 4, 16, 0}, + {"HB", 4, 41, 2, "HBP11", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 42, 1, "HBP12", 1, 6, 7, 0, 3, 4, 15, 11, 0, 2, 13, 1}, + {"HB", 4, 42, 2, "HBP12", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 43, 1, "HBP12", 2, 16, 7, 0, 3, 4, 15, 11, 0, 4, 13, 1}, + {"HB", 4, 43, 2, "HBP12", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 44, 1, "HBP12", 3, 4, 7, 0, 3, 4, 15, 11, 1, 2, 13, 0}, + {"HB", 4, 44, 2, "HBP12", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 45, 1, "HBP12", 4, 14, 7, 0, 3, 4, 15, 11, 1, 4, 13, 0}, + {"HB", 4, 45, 2, "HBP12", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 46, 1, "HBP13", 1, 6, 7, 0, 3, 4, 15, 11, 6, 2, 16, 1}, + {"HB", 4, 46, 2, "HBP13", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 47, 1, "HBP13", 2, 16, 7, 0, 3, 4, 15, 11, 6, 4, 16, 1}, + {"HB", 4, 47, 2, "HBP13", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 48, 1, "HBP13", 3, 4, 7, 0, 3, 4, 15, 11, 7, 2, 16, 0}, + {"HB", 4, 48, 2, "HBP13", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 49, 1, "HBP13", 4, 14, 7, 0, 3, 4, 15, 11, 7, 4, 16, 0}, + {"HB", 4, 49, 2, "HBP13", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 50, 1, "HBP14", 1, 6, 7, 0, 3, 4, 17, 13, 0, 2, 13, 1}, + {"HB", 4, 50, 2, "HBP14", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 51, 1, "HBP14", 2, 16, 7, 0, 3, 4, 17, 13, 0, 4, 13, 1}, + {"HB", 4, 51, 2, "HBP14", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 52, 1, "HBP14", 3, 4, 7, 0, 3, 4, 17, 13, 1, 2, 13, 0}, + {"HB", 4, 52, 2, "HBP14", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 53, 1, "HBP14", 4, 14, 7, 0, 3, 4, 17, 13, 1, 4, 13, 0}, + {"HB", 4, 53, 2, "HBP14", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 54, 1, "HBP15", 1, 6, 7, 0, 3, 4, 17, 13, 6, 2, 16, 1}, + {"HB", 4, 54, 2, "HBP15", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 55, 1, "HBP15", 2, 16, 7, 0, 3, 4, 17, 13, 6, 4, 16, 1}, + {"HB", 4, 55, 2, "HBP15", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 56, 1, "HBP15", 3, 4, 7, 0, 3, 4, 17, 13, 7, 2, 16, 0}, + {"HB", 4, 56, 2, "HBP15", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 57, 1, "HBP15", 4, 14, 7, 0, 3, 4, 17, 13, 7, 4, 16, 0}, + {"HB", 4, 57, 2, "HBP15", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 58, 1, "HBP16", 1, 6, 7, 0, 3, 4, 14, 15, 0, 2, 13, 1}, + {"HB", 4, 58, 2, "HBP16", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 59, 1, "HBP16", 2, 16, 7, 0, 3, 4, 14, 15, 0, 4, 13, 1}, + {"HB", 4, 59, 2, "HBP16", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 60, 1, "HBP16", 3, 4, 7, 0, 3, 4, 14, 15, 1, 2, 13, 0}, + {"HB", 4, 60, 2, "HBP16", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 61, 1, "HBP16", 4, 14, 7, 0, 3, 4, 14, 15, 1, 4, 13, 0}, + {"HB", 4, 61, 2, "HBP16", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 62, 1, "HBP17", 1, 6, 7, 0, 3, 4, 14, 15, 6, 2, 16, 1}, + {"HB", 4, 62, 2, "HBP17", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 63, 1, "HBP17", 2, 16, 7, 0, 3, 4, 14, 15, 6, 4, 16, 1}, + {"HB", 4, 63, 2, "HBP17", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 64, 1, "HBP17", 3, 4, 7, 0, 3, 4, 14, 15, 7, 2, 16, 0}, + {"HB", 4, 64, 2, "HBP17", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 65, 1, "HBP17", 4, 14, 7, 0, 3, 4, 14, 15, 7, 4, 16, 0}, + {"HB", 4, 65, 2, "HBP17", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 66, 1, "HBP18", 1, 6, 7, 0, 3, 4, 10, 17, 0, 2, 13, 1}, + {"HB", 4, 66, 2, "HBP18", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 67, 1, "HBP18", 2, 16, 7, 0, 3, 4, 10, 17, 0, 4, 13, 1}, + {"HB", 4, 67, 2, "HBP18", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 68, 1, "HBP18", 3, 4, 7, 0, 3, 4, 10, 17, 1, 2, 13, 0}, + {"HB", 4, 68, 2, "HBP18", 3, 12, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 69, 1, "HBP18", 4, 14, 7, 0, 3, 4, 10, 17, 1, 4, 13, 0}, + {"HB", 4, 69, 2, "HBP18", 4, 15, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 70, 1, "HBP01", 1, 6, 7, 0, 3, 4, 10, 17, 6, 2, 16, 1}, + {"HB", 4, 70, 2, "HBP01", 1, 5, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 4, 71, 1, "HBP01", 2, 16, 7, 0, 3, 4, 10, 17, 6, 4, 16, 1}, + {"HB", 4, 71, 2, "HBP01", 2, 8, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 0, 1, "HBP01", 3, 12, 4, 1, 2, 1, 10, 17, 7, 5, 16, 0}, + {"HB", 5, 0, 2, "HBP01", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 1, 1, "HBP01", 4, 15, 4, 1, 2, 1, 10, 17, 7, 7, 16, 0}, + {"HB", 5, 1, 2, "HBP01", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 2, 1, "HBP02", 1, 5, 4, 1, 2, 1, 4, 1, 0, 5, 13, 1}, + {"HB", 5, 2, 2, "HBP02", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 3, 1, "HBP02", 2, 8, 4, 1, 2, 1, 4, 1, 0, 7, 13, 1}, + {"HB", 5, 3, 2, "HBP02", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 4, 1, "HBP02", 3, 12, 4, 1, 2, 1, 4, 1, 1, 5, 13, 0}, + {"HB", 5, 4, 2, "HBP02", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 5, 1, "HBP02", 4, 15, 4, 1, 2, 1, 4, 1, 1, 7, 13, 0}, + {"HB", 5, 5, 2, "HBP02", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 6, 1, "HBP03", 1, 5, 4, 1, 2, 1, 4, 1, 6, 5, 16, 1}, + {"HB", 5, 6, 2, "HBP03", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 7, 1, "HBP03", 2, 8, 4, 1, 2, 1, 4, 1, 6, 7, 16, 1}, + {"HB", 5, 7, 2, "HBP03", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 8, 1, "HBP03", 3, 12, 4, 1, 2, 1, 4, 1, 7, 5, 16, 0}, + {"HB", 5, 8, 2, "HBP03", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 9, 1, "HBP03", 4, 15, 4, 1, 2, 1, 4, 1, 7, 7, 16, 0}, + {"HB", 5, 9, 2, "HBP03", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 10, 1, "HBP04", 1, 5, 4, 1, 2, 1, 0, 3, 0, 5, 13, 1}, + {"HB", 5, 10, 2, "HBP04", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 11, 1, "HBP04", 2, 8, 4, 1, 2, 1, 0, 3, 0, 7, 13, 1}, + {"HB", 5, 11, 2, "HBP04", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 12, 1, "HBP04", 3, 12, 4, 1, 2, 1, 0, 3, 1, 5, 13, 0}, + {"HB", 5, 12, 2, "HBP04", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 13, 1, "HBP04", 4, 15, 4, 1, 2, 1, 0, 3, 1, 7, 13, 0}, + {"HB", 5, 13, 2, "HBP04", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 14, 1, "HBP05", 1, 5, 4, 1, 2, 1, 0, 3, 6, 5, 16, 1}, + {"HB", 5, 14, 2, "HBP05", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 15, 1, "HBP05", 2, 8, 4, 1, 2, 1, 0, 3, 6, 7, 16, 1}, + {"HB", 5, 15, 2, "HBP05", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 16, 1, "HBP05", 3, 12, 4, 1, 2, 1, 0, 3, 7, 5, 16, 0}, + {"HB", 5, 16, 2, "HBP05", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 17, 1, "HBP05", 4, 15, 4, 1, 2, 1, 0, 3, 7, 7, 16, 0}, + {"HB", 5, 17, 2, "HBP05", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 18, 1, "HBP06", 1, 5, 4, 1, 2, 1, 1, 5, 0, 5, 13, 1}, + {"HB", 5, 18, 2, "HBP06", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 19, 1, "HBP06", 2, 8, 4, 1, 2, 1, 1, 5, 0, 7, 13, 1}, + {"HB", 5, 19, 2, "HBP06", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 20, 1, "HBP06", 3, 12, 4, 1, 2, 1, 1, 5, 1, 5, 13, 0}, + {"HB", 5, 20, 2, "HBP06", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 21, 1, "HBP06", 4, 15, 4, 1, 2, 1, 1, 5, 1, 7, 13, 0}, + {"HB", 5, 21, 2, "HBP06", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 22, 1, "HBP07", 1, 5, 4, 1, 2, 1, 1, 5, 6, 5, 16, 1}, + {"HB", 5, 22, 2, "HBP07", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 23, 1, "HBP07", 2, 8, 4, 1, 2, 1, 1, 5, 6, 7, 16, 1}, + {"HB", 5, 23, 2, "HBP07", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 24, 1, "HBP07", 3, 12, 4, 1, 2, 1, 1, 5, 7, 5, 16, 0}, + {"HB", 5, 24, 2, "HBP07", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 25, 1, "HBP07", 4, 15, 4, 1, 2, 1, 1, 5, 7, 7, 16, 0}, + {"HB", 5, 25, 2, "HBP07", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 26, 1, "HBP08", 1, 5, 4, 1, 2, 1, 5, 7, 0, 5, 13, 1}, + {"HB", 5, 26, 2, "HBP08", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 27, 1, "HBP08", 2, 8, 4, 1, 2, 1, 5, 7, 0, 7, 13, 1}, + {"HB", 5, 27, 2, "HBP08", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 28, 1, "HBP08", 3, 12, 4, 1, 2, 1, 5, 7, 1, 5, 13, 0}, + {"HB", 5, 28, 2, "HBP08", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 29, 1, "HBP08", 4, 15, 4, 1, 2, 1, 5, 7, 1, 7, 13, 0}, + {"HB", 5, 29, 2, "HBP08", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 30, 1, "HBP09", 1, 5, 4, 1, 2, 1, 5, 7, 6, 5, 16, 1}, + {"HB", 5, 30, 2, "HBP09", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 31, 1, "HBP09", 2, 8, 4, 1, 2, 1, 5, 7, 6, 7, 16, 1}, + {"HB", 5, 31, 2, "HBP09", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 32, 1, "HBP09", 3, 12, 4, 1, 2, 1, 5, 7, 7, 5, 16, 0}, + {"HB", 5, 32, 2, "HBP09", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 33, 1, "HBP09", 4, 15, 4, 1, 2, 1, 5, 7, 7, 7, 16, 0}, + {"HB", 5, 33, 2, "HBP09", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 34, 1, "HBP10", 1, 5, 4, 1, 2, 1, 11, 9, 0, 5, 13, 1}, + {"HB", 5, 34, 2, "HBP10", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 35, 1, "HBP10", 2, 8, 4, 1, 2, 1, 11, 9, 0, 7, 13, 1}, + {"HB", 5, 35, 2, "HBP10", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 36, 1, "HBP10", 3, 12, 4, 1, 2, 1, 11, 9, 1, 5, 13, 0}, + {"HB", 5, 36, 2, "HBP10", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 37, 1, "HBP10", 4, 15, 4, 1, 2, 1, 11, 9, 1, 7, 13, 0}, + {"HB", 5, 37, 2, "HBP10", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 38, 1, "HBP11", 1, 5, 4, 1, 2, 1, 11, 9, 6, 5, 16, 1}, + {"HB", 5, 38, 2, "HBP11", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 39, 1, "HBP11", 2, 8, 4, 1, 2, 1, 11, 9, 6, 7, 16, 1}, + {"HB", 5, 39, 2, "HBP11", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 40, 1, "HBP11", 3, 12, 4, 1, 2, 1, 11, 9, 7, 5, 16, 0}, + {"HB", 5, 40, 2, "HBP11", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 41, 1, "HBP11", 4, 15, 4, 1, 2, 1, 11, 9, 7, 7, 16, 0}, + {"HB", 5, 41, 2, "HBP11", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 42, 1, "HBP12", 1, 5, 4, 1, 2, 1, 15, 11, 0, 5, 13, 1}, + {"HB", 5, 42, 2, "HBP12", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 43, 1, "HBP12", 2, 8, 4, 1, 2, 1, 15, 11, 0, 7, 13, 1}, + {"HB", 5, 43, 2, "HBP12", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 44, 1, "HBP12", 3, 12, 4, 1, 2, 1, 15, 11, 1, 5, 13, 0}, + {"HB", 5, 44, 2, "HBP12", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 45, 1, "HBP12", 4, 15, 4, 1, 2, 1, 15, 11, 1, 7, 13, 0}, + {"HB", 5, 45, 2, "HBP12", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 46, 1, "HBP13", 1, 5, 4, 1, 2, 1, 15, 11, 6, 5, 16, 1}, + {"HB", 5, 46, 2, "HBP13", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 47, 1, "HBP13", 2, 8, 4, 1, 2, 1, 15, 11, 6, 7, 16, 1}, + {"HB", 5, 47, 2, "HBP13", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 48, 1, "HBP13", 3, 12, 4, 1, 2, 1, 15, 11, 7, 5, 16, 0}, + {"HB", 5, 48, 2, "HBP13", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 49, 1, "HBP13", 4, 15, 4, 1, 2, 1, 15, 11, 7, 7, 16, 0}, + {"HB", 5, 49, 2, "HBP13", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 50, 1, "HBP14", 1, 5, 4, 1, 2, 1, 17, 13, 0, 5, 13, 1}, + {"HB", 5, 50, 2, "HBP14", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 51, 1, "HBP14", 2, 8, 4, 1, 2, 1, 17, 13, 0, 7, 13, 1}, + {"HB", 5, 51, 2, "HBP14", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 52, 1, "HBP14", 3, 12, 4, 1, 2, 1, 17, 13, 1, 5, 13, 0}, + {"HB", 5, 52, 2, "HBP14", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 53, 1, "HBP14", 4, 15, 4, 1, 2, 1, 17, 13, 1, 7, 13, 0}, + {"HB", 5, 53, 2, "HBP14", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 54, 1, "HBP15", 1, 5, 4, 1, 2, 1, 17, 13, 6, 5, 16, 1}, + {"HB", 5, 54, 2, "HBP15", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 55, 1, "HBP15", 2, 8, 4, 1, 2, 1, 17, 13, 6, 7, 16, 1}, + {"HB", 5, 55, 2, "HBP15", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 56, 1, "HBP15", 3, 12, 4, 1, 2, 1, 17, 13, 7, 5, 16, 0}, + {"HB", 5, 56, 2, "HBP15", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 57, 1, "HBP15", 4, 15, 4, 1, 2, 1, 17, 13, 7, 7, 16, 0}, + {"HB", 5, 57, 2, "HBP15", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 58, 1, "HBP16", 1, 5, 4, 1, 2, 1, 14, 15, 0, 5, 13, 1}, + {"HB", 5, 58, 2, "HBP16", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 59, 1, "HBP16", 2, 8, 4, 1, 2, 1, 14, 15, 0, 7, 13, 1}, + {"HB", 5, 59, 2, "HBP16", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 60, 1, "HBP16", 3, 12, 4, 1, 2, 1, 14, 15, 1, 5, 13, 0}, + {"HB", 5, 60, 2, "HBP16", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 61, 1, "HBP16", 4, 15, 4, 1, 2, 1, 14, 15, 1, 7, 13, 0}, + {"HB", 5, 61, 2, "HBP16", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 62, 1, "HBP17", 1, 5, 4, 1, 2, 1, 14, 15, 6, 5, 16, 1}, + {"HB", 5, 62, 2, "HBP17", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 63, 1, "HBP17", 2, 8, 4, 1, 2, 1, 14, 15, 6, 7, 16, 1}, + {"HB", 5, 63, 2, "HBP17", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 64, 1, "HBP17", 3, 12, 4, 1, 2, 1, 14, 15, 7, 5, 16, 0}, + {"HB", 5, 64, 2, "HBP17", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 65, 1, "HBP17", 4, 15, 4, 1, 2, 1, 14, 15, 7, 7, 16, 0}, + {"HB", 5, 65, 2, "HBP17", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 66, 1, "HBP18", 1, 5, 4, 1, 2, 1, 10, 17, 0, 5, 13, 1}, + {"HB", 5, 66, 2, "HBP18", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 67, 1, "HBP18", 2, 8, 4, 1, 2, 1, 10, 17, 0, 7, 13, 1}, + {"HB", 5, 67, 2, "HBP18", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 68, 1, "HBP18", 3, 12, 4, 1, 2, 1, 10, 17, 1, 5, 13, 0}, + {"HB", 5, 68, 2, "HBP18", 3, 11, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 69, 1, "HBP18", 4, 15, 4, 1, 2, 1, 10, 17, 1, 7, 13, 0}, + {"HB", 5, 69, 2, "HBP18", 4, 16, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 70, 1, "HBP01", 1, 5, 4, 1, 2, 1, 10, 17, 6, 5, 16, 1}, + {"HB", 5, 70, 2, "HBP01", 1, 4, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 5, 71, 1, "HBP01", 2, 8, 4, 1, 2, 1, 10, 17, 6, 7, 16, 1}, + {"HB", 5, 71, 2, "HBP01", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 0, 1, "HBP01", 3, 11, 6, 1, 3, 1, 10, 17, 7, 1, 16, 0}, + {"HB", 6, 0, 2, "HBP01", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 1, 1, "HBP01", 4, 16, 6, 1, 3, 1, 10, 17, 7, 3, 16, 0}, + {"HB", 6, 1, 2, "HBP01", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 2, 1, "HBP02", 1, 4, 6, 1, 3, 1, 4, 1, 0, 1, 13, 1}, + {"HB", 6, 2, 2, "HBP02", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 3, 1, "HBP02", 2, 9, 6, 1, 3, 1, 4, 1, 0, 3, 13, 1}, + {"HB", 6, 3, 2, "HBP02", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 4, 1, "HBP02", 3, 11, 6, 1, 3, 1, 4, 1, 1, 1, 13, 0}, + {"HB", 6, 4, 2, "HBP02", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 5, 1, "HBP02", 4, 16, 6, 1, 3, 1, 4, 1, 1, 3, 13, 0}, + {"HB", 6, 5, 2, "HBP02", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 6, 1, "HBP03", 1, 4, 6, 1, 3, 1, 4, 1, 6, 1, 16, 1}, + {"HB", 6, 6, 2, "HBP03", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 7, 1, "HBP03", 2, 9, 6, 1, 3, 1, 4, 1, 6, 3, 16, 1}, + {"HB", 6, 7, 2, "HBP03", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 8, 1, "HBP03", 3, 11, 6, 1, 3, 1, 4, 1, 7, 1, 16, 0}, + {"HB", 6, 8, 2, "HBP03", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 9, 1, "HBP03", 4, 16, 6, 1, 3, 1, 4, 1, 7, 3, 16, 0}, + {"HB", 6, 9, 2, "HBP03", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 10, 1, "HBP04", 1, 4, 6, 1, 3, 1, 0, 3, 0, 1, 13, 1}, + {"HB", 6, 10, 2, "HBP04", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 11, 1, "HBP04", 2, 9, 6, 1, 3, 1, 0, 3, 0, 3, 13, 1}, + {"HB", 6, 11, 2, "HBP04", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 12, 1, "HBP04", 3, 11, 6, 1, 3, 1, 0, 3, 1, 1, 13, 0}, + {"HB", 6, 12, 2, "HBP04", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 13, 1, "HBP04", 4, 16, 6, 1, 3, 1, 0, 3, 1, 3, 13, 0}, + {"HB", 6, 13, 2, "HBP04", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 14, 1, "HBP05", 1, 4, 6, 1, 3, 1, 0, 3, 6, 1, 16, 1}, + {"HB", 6, 14, 2, "HBP05", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 15, 1, "HBP05", 2, 9, 6, 1, 3, 1, 0, 3, 6, 3, 16, 1}, + {"HB", 6, 15, 2, "HBP05", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 16, 1, "HBP05", 3, 11, 6, 1, 3, 1, 0, 3, 7, 1, 16, 0}, + {"HB", 6, 16, 2, "HBP05", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 17, 1, "HBP05", 4, 16, 6, 1, 3, 1, 0, 3, 7, 3, 16, 0}, + {"HB", 6, 17, 2, "HBP05", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 18, 1, "HBP06", 1, 4, 6, 1, 3, 1, 1, 5, 0, 1, 13, 1}, + {"HB", 6, 18, 2, "HBP06", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 19, 1, "HBP06", 2, 9, 6, 1, 3, 1, 1, 5, 0, 3, 13, 1}, + {"HB", 6, 19, 2, "HBP06", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 20, 1, "HBP06", 3, 11, 6, 1, 3, 1, 1, 5, 1, 1, 13, 0}, + {"HB", 6, 20, 2, "HBP06", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 21, 1, "HBP06", 4, 16, 6, 1, 3, 1, 1, 5, 1, 3, 13, 0}, + {"HB", 6, 21, 2, "HBP06", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 22, 1, "HBP07", 1, 4, 6, 1, 3, 1, 1, 5, 6, 1, 16, 1}, + {"HB", 6, 22, 2, "HBP07", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 23, 1, "HBP07", 2, 9, 6, 1, 3, 1, 1, 5, 6, 3, 16, 1}, + {"HB", 6, 23, 2, "HBP07", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 24, 1, "HBP07", 3, 11, 6, 1, 3, 1, 1, 5, 7, 1, 16, 0}, + {"HB", 6, 24, 2, "HBP07", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 25, 1, "HBP07", 4, 16, 6, 1, 3, 1, 1, 5, 7, 3, 16, 0}, + {"HB", 6, 25, 2, "HBP07", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 26, 1, "HBP08", 1, 4, 6, 1, 3, 1, 5, 7, 0, 1, 13, 1}, + {"HB", 6, 26, 2, "HBP08", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 27, 1, "HBP08", 2, 9, 6, 1, 3, 1, 5, 7, 0, 3, 13, 1}, + {"HB", 6, 27, 2, "HBP08", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 28, 1, "HBP08", 3, 11, 6, 1, 3, 1, 5, 7, 1, 1, 13, 0}, + {"HB", 6, 28, 2, "HBP08", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 29, 1, "HBP08", 4, 16, 6, 1, 3, 1, 5, 7, 1, 3, 13, 0}, + {"HB", 6, 29, 2, "HBP08", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 30, 1, "HBP09", 1, 4, 6, 1, 3, 1, 5, 7, 6, 1, 16, 1}, + {"HB", 6, 30, 2, "HBP09", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 31, 1, "HBP09", 2, 9, 6, 1, 3, 1, 5, 7, 6, 3, 16, 1}, + {"HB", 6, 31, 2, "HBP09", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 32, 1, "HBP09", 3, 11, 6, 1, 3, 1, 5, 7, 7, 1, 16, 0}, + {"HB", 6, 32, 2, "HBP09", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 33, 1, "HBP09", 4, 16, 6, 1, 3, 1, 5, 7, 7, 3, 16, 0}, + {"HB", 6, 33, 2, "HBP09", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 34, 1, "HBP10", 1, 4, 6, 1, 3, 1, 11, 9, 0, 1, 13, 1}, + {"HB", 6, 34, 2, "HBP10", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 35, 1, "HBP10", 2, 9, 6, 1, 3, 1, 11, 9, 0, 3, 13, 1}, + {"HB", 6, 35, 2, "HBP10", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 36, 1, "HBP10", 3, 11, 6, 1, 3, 1, 11, 9, 1, 1, 13, 0}, + {"HB", 6, 36, 2, "HBP10", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 37, 1, "HBP10", 4, 16, 6, 1, 3, 1, 11, 9, 1, 3, 13, 0}, + {"HB", 6, 37, 2, "HBP10", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 38, 1, "HBP11", 1, 4, 6, 1, 3, 1, 11, 9, 6, 1, 16, 1}, + {"HB", 6, 38, 2, "HBP11", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 39, 1, "HBP11", 2, 9, 6, 1, 3, 1, 11, 9, 6, 3, 16, 1}, + {"HB", 6, 39, 2, "HBP11", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 40, 1, "HBP11", 3, 11, 6, 1, 3, 1, 11, 9, 7, 1, 16, 0}, + {"HB", 6, 40, 2, "HBP11", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 41, 1, "HBP11", 4, 16, 6, 1, 3, 1, 11, 9, 7, 3, 16, 0}, + {"HB", 6, 41, 2, "HBP11", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 42, 1, "HBP12", 1, 4, 6, 1, 3, 1, 15, 11, 0, 1, 13, 1}, + {"HB", 6, 42, 2, "HBP12", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 43, 1, "HBP12", 2, 9, 6, 1, 3, 1, 15, 11, 0, 3, 13, 1}, + {"HB", 6, 43, 2, "HBP12", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 44, 1, "HBP12", 3, 11, 6, 1, 3, 1, 15, 11, 1, 1, 13, 0}, + {"HB", 6, 44, 2, "HBP12", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 45, 1, "HBP12", 4, 16, 6, 1, 3, 1, 15, 11, 1, 3, 13, 0}, + {"HB", 6, 45, 2, "HBP12", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 46, 1, "HBP13", 1, 4, 6, 1, 3, 1, 15, 11, 6, 1, 16, 1}, + {"HB", 6, 46, 2, "HBP13", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 47, 1, "HBP13", 2, 9, 6, 1, 3, 1, 15, 11, 6, 3, 16, 1}, + {"HB", 6, 47, 2, "HBP13", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 48, 1, "HBP13", 3, 11, 6, 1, 3, 1, 15, 11, 7, 1, 16, 0}, + {"HB", 6, 48, 2, "HBP13", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 49, 1, "HBP13", 4, 16, 6, 1, 3, 1, 15, 11, 7, 3, 16, 0}, + {"HB", 6, 49, 2, "HBP13", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 50, 1, "HBP14", 1, 4, 6, 1, 3, 1, 17, 13, 0, 1, 13, 1}, + {"HB", 6, 50, 2, "HBP14", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 51, 1, "HBP14", 2, 9, 6, 1, 3, 1, 17, 13, 0, 3, 13, 1}, + {"HB", 6, 51, 2, "HBP14", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 52, 1, "HBP14", 3, 11, 6, 1, 3, 1, 17, 13, 1, 1, 13, 0}, + {"HB", 6, 52, 2, "HBP14", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 53, 1, "HBP14", 4, 16, 6, 1, 3, 1, 17, 13, 1, 3, 13, 0}, + {"HB", 6, 53, 2, "HBP14", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 54, 1, "HBP15", 1, 4, 6, 1, 3, 1, 17, 13, 6, 1, 16, 1}, + {"HB", 6, 54, 2, "HBP15", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 55, 1, "HBP15", 2, 9, 6, 1, 3, 1, 17, 13, 6, 3, 16, 1}, + {"HB", 6, 55, 2, "HBP15", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 56, 1, "HBP15", 3, 11, 6, 1, 3, 1, 17, 13, 7, 1, 16, 0}, + {"HB", 6, 56, 2, "HBP15", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 57, 1, "HBP15", 4, 16, 6, 1, 3, 1, 17, 13, 7, 3, 16, 0}, + {"HB", 6, 57, 2, "HBP15", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 58, 1, "HBP16", 1, 4, 6, 1, 3, 1, 14, 15, 0, 1, 13, 1}, + {"HB", 6, 58, 2, "HBP16", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 59, 1, "HBP16", 2, 9, 6, 1, 3, 1, 14, 15, 0, 3, 13, 1}, + {"HB", 6, 59, 2, "HBP16", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 60, 1, "HBP16", 3, 11, 6, 1, 3, 1, 14, 15, 1, 1, 13, 0}, + {"HB", 6, 60, 2, "HBP16", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 61, 1, "HBP16", 4, 16, 6, 1, 3, 1, 14, 15, 1, 3, 13, 0}, + {"HB", 6, 61, 2, "HBP16", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 62, 1, "HBP17", 1, 4, 6, 1, 3, 1, 14, 15, 6, 1, 16, 1}, + {"HB", 6, 62, 2, "HBP17", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 63, 1, "HBP17", 2, 9, 6, 1, 3, 1, 14, 15, 6, 3, 16, 1}, + {"HB", 6, 63, 2, "HBP17", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 64, 1, "HBP17", 3, 11, 6, 1, 3, 1, 14, 15, 7, 1, 16, 0}, + {"HB", 6, 64, 2, "HBP17", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 65, 1, "HBP17", 4, 16, 6, 1, 3, 1, 14, 15, 7, 3, 16, 0}, + {"HB", 6, 65, 2, "HBP17", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 66, 1, "HBP18", 1, 4, 6, 1, 3, 1, 10, 17, 0, 1, 13, 1}, + {"HB", 6, 66, 2, "HBP18", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 67, 1, "HBP18", 2, 9, 6, 1, 3, 1, 10, 17, 0, 3, 13, 1}, + {"HB", 6, 67, 2, "HBP18", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 68, 1, "HBP18", 3, 11, 6, 1, 3, 1, 10, 17, 1, 1, 13, 0}, + {"HB", 6, 68, 2, "HBP18", 3, 9, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 69, 1, "HBP18", 4, 16, 6, 1, 3, 1, 10, 17, 1, 3, 13, 0}, + {"HB", 6, 69, 2, "HBP18", 4, 8, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 70, 1, "HBP01", 1, 4, 6, 1, 3, 1, 10, 17, 6, 1, 16, 1}, + {"HB", 6, 70, 2, "HBP01", 1, 12, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 6, 71, 1, "HBP01", 2, 9, 6, 1, 3, 1, 10, 17, 6, 3, 16, 1}, + {"HB", 6, 71, 2, "HBP01", 2, 11, 5, 0, 2, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 0, 1, "HBP01", 3, 9, 5, 0, 2, 4, 10, 17, 7, 6, 16, 0}, + {"HB", 7, 0, 2, "HBP01", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 1, 1, "HBP01", 4, 8, 5, 0, 2, 4, 10, 17, 7, 8, 16, 0}, + {"HB", 7, 1, 2, "HBP01", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 2, 1, "HBP02", 1, 12, 5, 0, 2, 4, 4, 1, 0, 6, 13, 1}, + {"HB", 7, 2, 2, "HBP02", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 3, 1, "HBP02", 2, 11, 5, 0, 2, 4, 4, 1, 0, 8, 13, 1}, + {"HB", 7, 3, 2, "HBP02", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 4, 1, "HBP02", 3, 9, 5, 0, 2, 4, 4, 1, 1, 6, 13, 0}, + {"HB", 7, 4, 2, "HBP02", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 5, 1, "HBP02", 4, 8, 5, 0, 2, 4, 4, 1, 1, 8, 13, 0}, + {"HB", 7, 5, 2, "HBP02", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 6, 1, "HBP03", 1, 12, 5, 0, 2, 4, 4, 1, 6, 6, 16, 1}, + {"HB", 7, 6, 2, "HBP03", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 7, 1, "HBP03", 2, 11, 5, 0, 2, 4, 4, 1, 6, 8, 16, 1}, + {"HB", 7, 7, 2, "HBP03", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 8, 1, "HBP03", 3, 9, 5, 0, 2, 4, 4, 1, 7, 6, 16, 0}, + {"HB", 7, 8, 2, "HBP03", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 9, 1, "HBP03", 4, 8, 5, 0, 2, 4, 4, 1, 7, 8, 16, 0}, + {"HB", 7, 9, 2, "HBP03", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 10, 1, "HBP04", 1, 12, 5, 0, 2, 4, 0, 3, 0, 6, 13, 1}, + {"HB", 7, 10, 2, "HBP04", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 11, 1, "HBP04", 2, 11, 5, 0, 2, 4, 0, 3, 0, 8, 13, 1}, + {"HB", 7, 11, 2, "HBP04", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 12, 1, "HBP04", 3, 9, 5, 0, 2, 4, 0, 3, 1, 6, 13, 0}, + {"HB", 7, 12, 2, "HBP04", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 13, 1, "HBP04", 4, 8, 5, 0, 2, 4, 0, 3, 1, 8, 13, 0}, + {"HB", 7, 13, 2, "HBP04", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 14, 1, "HBP05", 1, 12, 5, 0, 2, 4, 0, 3, 6, 6, 16, 1}, + {"HB", 7, 14, 2, "HBP05", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 15, 1, "HBP05", 2, 11, 5, 0, 2, 4, 0, 3, 6, 8, 16, 1}, + {"HB", 7, 15, 2, "HBP05", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 16, 1, "HBP05", 3, 9, 5, 0, 2, 4, 0, 3, 7, 6, 16, 0}, + {"HB", 7, 16, 2, "HBP05", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 17, 1, "HBP05", 4, 8, 5, 0, 2, 4, 0, 3, 7, 8, 16, 0}, + {"HB", 7, 17, 2, "HBP05", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 18, 1, "HBP06", 1, 12, 5, 0, 2, 4, 1, 5, 0, 6, 13, 1}, + {"HB", 7, 18, 2, "HBP06", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 19, 1, "HBP06", 2, 11, 5, 0, 2, 4, 1, 5, 0, 8, 13, 1}, + {"HB", 7, 19, 2, "HBP06", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 20, 1, "HBP06", 3, 9, 5, 0, 2, 4, 1, 5, 1, 6, 13, 0}, + {"HB", 7, 20, 2, "HBP06", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 21, 1, "HBP06", 4, 8, 5, 0, 2, 4, 1, 5, 1, 8, 13, 0}, + {"HB", 7, 21, 2, "HBP06", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 22, 1, "HBP07", 1, 12, 5, 0, 2, 4, 1, 5, 6, 6, 16, 1}, + {"HB", 7, 22, 2, "HBP07", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 23, 1, "HBP07", 2, 11, 5, 0, 2, 4, 1, 5, 6, 8, 16, 1}, + {"HB", 7, 23, 2, "HBP07", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 24, 1, "HBP07", 3, 9, 5, 0, 2, 4, 1, 5, 7, 6, 16, 0}, + {"HB", 7, 24, 2, "HBP07", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 25, 1, "HBP07", 4, 8, 5, 0, 2, 4, 1, 5, 7, 8, 16, 0}, + {"HB", 7, 25, 2, "HBP07", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 26, 1, "HBP08", 1, 12, 5, 0, 2, 4, 5, 7, 0, 6, 13, 1}, + {"HB", 7, 26, 2, "HBP08", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 27, 1, "HBP08", 2, 11, 5, 0, 2, 4, 5, 7, 0, 8, 13, 1}, + {"HB", 7, 27, 2, "HBP08", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 28, 1, "HBP08", 3, 9, 5, 0, 2, 4, 5, 7, 1, 6, 13, 0}, + {"HB", 7, 28, 2, "HBP08", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 29, 1, "HBP08", 4, 8, 5, 0, 2, 4, 5, 7, 1, 8, 13, 0}, + {"HB", 7, 29, 2, "HBP08", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 30, 1, "HBP09", 1, 12, 5, 0, 2, 4, 5, 7, 6, 6, 16, 1}, + {"HB", 7, 30, 2, "HBP09", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 31, 1, "HBP09", 2, 11, 5, 0, 2, 4, 5, 7, 6, 8, 16, 1}, + {"HB", 7, 31, 2, "HBP09", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 32, 1, "HBP09", 3, 9, 5, 0, 2, 4, 5, 7, 7, 6, 16, 0}, + {"HB", 7, 32, 2, "HBP09", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 33, 1, "HBP09", 4, 8, 5, 0, 2, 4, 5, 7, 7, 8, 16, 0}, + {"HB", 7, 33, 2, "HBP09", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 34, 1, "HBP10", 1, 12, 5, 0, 2, 4, 11, 9, 0, 6, 13, 1}, + {"HB", 7, 34, 2, "HBP10", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 35, 1, "HBP10", 2, 11, 5, 0, 2, 4, 11, 9, 0, 8, 13, 1}, + {"HB", 7, 35, 2, "HBP10", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 36, 1, "HBP10", 3, 9, 5, 0, 2, 4, 11, 9, 1, 6, 13, 0}, + {"HB", 7, 36, 2, "HBP10", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 37, 1, "HBP10", 4, 8, 5, 0, 2, 4, 11, 9, 1, 8, 13, 0}, + {"HB", 7, 37, 2, "HBP10", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 38, 1, "HBP11", 1, 12, 5, 0, 2, 4, 11, 9, 6, 6, 16, 1}, + {"HB", 7, 38, 2, "HBP11", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 39, 1, "HBP11", 2, 11, 5, 0, 2, 4, 11, 9, 6, 8, 16, 1}, + {"HB", 7, 39, 2, "HBP11", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 40, 1, "HBP11", 3, 9, 5, 0, 2, 4, 11, 9, 7, 6, 16, 0}, + {"HB", 7, 40, 2, "HBP11", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 41, 1, "HBP11", 4, 8, 5, 0, 2, 4, 11, 9, 7, 8, 16, 0}, + {"HB", 7, 41, 2, "HBP11", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 42, 1, "HBP12", 1, 12, 5, 0, 2, 4, 15, 11, 0, 6, 13, 1}, + {"HB", 7, 42, 2, "HBP12", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 43, 1, "HBP12", 2, 11, 5, 0, 2, 4, 15, 11, 0, 8, 13, 1}, + {"HB", 7, 43, 2, "HBP12", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 44, 1, "HBP12", 3, 9, 5, 0, 2, 4, 15, 11, 1, 6, 13, 0}, + {"HB", 7, 44, 2, "HBP12", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 45, 1, "HBP12", 4, 8, 5, 0, 2, 4, 15, 11, 1, 8, 13, 0}, + {"HB", 7, 45, 2, "HBP12", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 46, 1, "HBP13", 1, 12, 5, 0, 2, 4, 15, 11, 6, 6, 16, 1}, + {"HB", 7, 46, 2, "HBP13", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 47, 1, "HBP13", 2, 11, 5, 0, 2, 4, 15, 11, 6, 8, 16, 1}, + {"HB", 7, 47, 2, "HBP13", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 48, 1, "HBP13", 3, 9, 5, 0, 2, 4, 15, 11, 7, 6, 16, 0}, + {"HB", 7, 48, 2, "HBP13", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 49, 1, "HBP13", 4, 8, 5, 0, 2, 4, 15, 11, 7, 8, 16, 0}, + {"HB", 7, 49, 2, "HBP13", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 50, 1, "HBP14", 1, 12, 5, 0, 2, 4, 17, 13, 0, 6, 13, 1}, + {"HB", 7, 50, 2, "HBP14", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 51, 1, "HBP14", 2, 11, 5, 0, 2, 4, 17, 13, 0, 8, 13, 1}, + {"HB", 7, 51, 2, "HBP14", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 52, 1, "HBP14", 3, 9, 5, 0, 2, 4, 17, 13, 1, 6, 13, 0}, + {"HB", 7, 52, 2, "HBP14", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 53, 1, "HBP14", 4, 8, 5, 0, 2, 4, 17, 13, 1, 8, 13, 0}, + {"HB", 7, 53, 2, "HBP14", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 54, 1, "HBP15", 1, 12, 5, 0, 2, 4, 17, 13, 6, 6, 16, 1}, + {"HB", 7, 54, 2, "HBP15", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 55, 1, "HBP15", 2, 11, 5, 0, 2, 4, 17, 13, 6, 8, 16, 1}, + {"HB", 7, 55, 2, "HBP15", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 56, 1, "HBP15", 3, 9, 5, 0, 2, 4, 17, 13, 7, 6, 16, 0}, + {"HB", 7, 56, 2, "HBP15", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 57, 1, "HBP15", 4, 8, 5, 0, 2, 4, 17, 13, 7, 8, 16, 0}, + {"HB", 7, 57, 2, "HBP15", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 58, 1, "HBP16", 1, 12, 5, 0, 2, 4, 14, 15, 0, 6, 13, 1}, + {"HB", 7, 58, 2, "HBP16", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 59, 1, "HBP16", 2, 11, 5, 0, 2, 4, 14, 15, 0, 8, 13, 1}, + {"HB", 7, 59, 2, "HBP16", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 60, 1, "HBP16", 3, 9, 5, 0, 2, 4, 14, 15, 1, 6, 13, 0}, + {"HB", 7, 60, 2, "HBP16", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 61, 1, "HBP16", 4, 8, 5, 0, 2, 4, 14, 15, 1, 8, 13, 0}, + {"HB", 7, 61, 2, "HBP16", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 62, 1, "HBP17", 1, 12, 5, 0, 2, 4, 14, 15, 6, 6, 16, 1}, + {"HB", 7, 62, 2, "HBP17", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 63, 1, "HBP17", 2, 11, 5, 0, 2, 4, 14, 15, 6, 8, 16, 1}, + {"HB", 7, 63, 2, "HBP17", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 64, 1, "HBP17", 3, 9, 5, 0, 2, 4, 14, 15, 7, 6, 16, 0}, + {"HB", 7, 64, 2, "HBP17", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 65, 1, "HBP17", 4, 8, 5, 0, 2, 4, 14, 15, 7, 8, 16, 0}, + {"HB", 7, 65, 2, "HBP17", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 66, 1, "HBP18", 1, 12, 5, 0, 2, 4, 10, 17, 0, 6, 13, 1}, + {"HB", 7, 66, 2, "HBP18", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 67, 1, "HBP18", 2, 11, 5, 0, 2, 4, 10, 17, 0, 8, 13, 1}, + {"HB", 7, 67, 2, "HBP18", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 68, 1, "HBP18", 3, 9, 5, 0, 2, 4, 10, 17, 1, 6, 13, 0}, + {"HB", 7, 68, 2, "HBP18", 3, 8, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 69, 1, "HBP18", 4, 8, 5, 0, 2, 4, 10, 17, 1, 8, 13, 0}, + {"HB", 7, 69, 2, "HBP18", 4, 9, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 70, 1, "HBP01", 1, 12, 5, 0, 2, 4, 10, 17, 6, 6, 16, 1}, + {"HB", 7, 70, 2, "HBP01", 1, 11, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 7, 71, 1, "HBP01", 2, 11, 5, 0, 2, 4, 10, 17, 6, 8, 16, 1}, + {"HB", 7, 71, 2, "HBP01", 2, 12, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 0, 1, "HBP01", 3, 8, 7, 2, 3, 3, 10, 17, 7, 2, 16, 0}, + {"HB", 8, 0, 2, "HBP01", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 1, 1, "HBP01", 4, 9, 7, 2, 3, 3, 10, 17, 7, 4, 16, 0}, + {"HB", 8, 1, 2, "HBP01", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 2, 1, "HBP02", 1, 11, 7, 2, 3, 3, 4, 1, 0, 2, 13, 1}, + {"HB", 8, 2, 2, "HBP02", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 3, 1, "HBP02", 2, 12, 7, 2, 3, 3, 4, 1, 0, 4, 13, 1}, + {"HB", 8, 3, 2, "HBP02", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 4, 1, "HBP02", 3, 8, 7, 2, 3, 3, 4, 1, 1, 2, 13, 0}, + {"HB", 8, 4, 2, "HBP02", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 5, 1, "HBP02", 4, 9, 7, 2, 3, 3, 4, 1, 1, 4, 13, 0}, + {"HB", 8, 5, 2, "HBP02", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 6, 1, "HBP03", 1, 11, 7, 2, 3, 3, 4, 1, 6, 2, 16, 1}, + {"HB", 8, 6, 2, "HBP03", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 7, 1, "HBP03", 2, 12, 7, 2, 3, 3, 4, 1, 6, 4, 16, 1}, + {"HB", 8, 7, 2, "HBP03", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 8, 1, "HBP03", 3, 8, 7, 2, 3, 3, 4, 1, 7, 2, 16, 0}, + {"HB", 8, 8, 2, "HBP03", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 9, 1, "HBP03", 4, 9, 7, 2, 3, 3, 4, 1, 7, 4, 16, 0}, + {"HB", 8, 9, 2, "HBP03", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 10, 1, "HBP04", 1, 11, 7, 2, 3, 3, 0, 3, 0, 2, 13, 1}, + {"HB", 8, 10, 2, "HBP04", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 11, 1, "HBP04", 2, 12, 7, 2, 3, 3, 0, 3, 0, 4, 13, 1}, + {"HB", 8, 11, 2, "HBP04", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 12, 1, "HBP04", 3, 8, 7, 2, 3, 3, 0, 3, 1, 2, 13, 0}, + {"HB", 8, 12, 2, "HBP04", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 13, 1, "HBP04", 4, 9, 7, 2, 3, 3, 0, 3, 1, 4, 13, 0}, + {"HB", 8, 13, 2, "HBP04", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 14, 1, "HBP05", 1, 11, 7, 2, 3, 3, 0, 3, 6, 2, 16, 1}, + {"HB", 8, 14, 2, "HBP05", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 15, 1, "HBP05", 2, 12, 7, 2, 3, 3, 0, 3, 6, 4, 16, 1}, + {"HB", 8, 15, 2, "HBP05", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 16, 1, "HBP05", 3, 8, 7, 2, 3, 3, 0, 3, 7, 2, 16, 0}, + {"HB", 8, 16, 2, "HBP05", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 17, 1, "HBP05", 4, 9, 7, 2, 3, 3, 0, 3, 7, 4, 16, 0}, + {"HB", 8, 17, 2, "HBP05", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 18, 1, "HBP06", 1, 11, 7, 2, 3, 3, 1, 5, 0, 2, 13, 1}, + {"HB", 8, 18, 2, "HBP06", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 19, 1, "HBP06", 2, 12, 7, 2, 3, 3, 1, 5, 0, 4, 13, 1}, + {"HB", 8, 19, 2, "HBP06", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 20, 1, "HBP06", 3, 8, 7, 2, 3, 3, 1, 5, 1, 2, 13, 0}, + {"HB", 8, 20, 2, "HBP06", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 21, 1, "HBP06", 4, 9, 7, 2, 3, 3, 1, 5, 1, 4, 13, 0}, + {"HB", 8, 21, 2, "HBP06", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 22, 1, "HBP07", 1, 11, 7, 2, 3, 3, 1, 5, 6, 2, 16, 1}, + {"HB", 8, 22, 2, "HBP07", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 23, 1, "HBP07", 2, 12, 7, 2, 3, 3, 1, 5, 6, 4, 16, 1}, + {"HB", 8, 23, 2, "HBP07", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 24, 1, "HBP07", 3, 8, 7, 2, 3, 3, 1, 5, 7, 2, 16, 0}, + {"HB", 8, 24, 2, "HBP07", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 25, 1, "HBP07", 4, 9, 7, 2, 3, 3, 1, 5, 7, 4, 16, 0}, + {"HB", 8, 25, 2, "HBP07", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 26, 1, "HBP08", 1, 11, 7, 2, 3, 3, 5, 7, 0, 2, 13, 1}, + {"HB", 8, 26, 2, "HBP08", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 27, 1, "HBP08", 2, 12, 7, 2, 3, 3, 5, 7, 0, 4, 13, 1}, + {"HB", 8, 27, 2, "HBP08", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 28, 1, "HBP08", 3, 8, 7, 2, 3, 3, 5, 7, 1, 2, 13, 0}, + {"HB", 8, 28, 2, "HBP08", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 29, 1, "HBP08", 4, 9, 7, 2, 3, 3, 5, 7, 1, 4, 13, 0}, + {"HB", 8, 29, 2, "HBP08", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 30, 1, "HBP09", 1, 11, 7, 2, 3, 3, 5, 7, 6, 2, 16, 1}, + {"HB", 8, 30, 2, "HBP09", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 31, 1, "HBP09", 2, 12, 7, 2, 3, 3, 5, 7, 6, 4, 16, 1}, + {"HB", 8, 31, 2, "HBP09", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 32, 1, "HBP09", 3, 8, 7, 2, 3, 3, 5, 7, 7, 2, 16, 0}, + {"HB", 8, 32, 2, "HBP09", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 33, 1, "HBP09", 4, 9, 7, 2, 3, 3, 5, 7, 7, 4, 16, 0}, + {"HB", 8, 33, 2, "HBP09", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 34, 1, "HBP10", 1, 11, 7, 2, 3, 3, 11, 9, 0, 2, 13, 1}, + {"HB", 8, 34, 2, "HBP10", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 35, 1, "HBP10", 2, 12, 7, 2, 3, 3, 11, 9, 0, 4, 13, 1}, + {"HB", 8, 35, 2, "HBP10", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 36, 1, "HBP10", 3, 8, 7, 2, 3, 3, 11, 9, 1, 2, 13, 0}, + {"HB", 8, 36, 2, "HBP10", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 37, 1, "HBP10", 4, 9, 7, 2, 3, 3, 11, 9, 1, 4, 13, 0}, + {"HB", 8, 37, 2, "HBP10", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 38, 1, "HBP11", 1, 11, 7, 2, 3, 3, 11, 9, 6, 2, 16, 1}, + {"HB", 8, 38, 2, "HBP11", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 39, 1, "HBP11", 2, 12, 7, 2, 3, 3, 11, 9, 6, 4, 16, 1}, + {"HB", 8, 39, 2, "HBP11", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 40, 1, "HBP11", 3, 8, 7, 2, 3, 3, 11, 9, 7, 2, 16, 0}, + {"HB", 8, 40, 2, "HBP11", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 41, 1, "HBP11", 4, 9, 7, 2, 3, 3, 11, 9, 7, 4, 16, 0}, + {"HB", 8, 41, 2, "HBP11", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 42, 1, "HBP12", 1, 11, 7, 2, 3, 3, 15, 11, 0, 2, 13, 1}, + {"HB", 8, 42, 2, "HBP12", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 43, 1, "HBP12", 2, 12, 7, 2, 3, 3, 15, 11, 0, 4, 13, 1}, + {"HB", 8, 43, 2, "HBP12", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 44, 1, "HBP12", 3, 8, 7, 2, 3, 3, 15, 11, 1, 2, 13, 0}, + {"HB", 8, 44, 2, "HBP12", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 45, 1, "HBP12", 4, 9, 7, 2, 3, 3, 15, 11, 1, 4, 13, 0}, + {"HB", 8, 45, 2, "HBP12", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 46, 1, "HBP13", 1, 11, 7, 2, 3, 3, 15, 11, 6, 2, 16, 1}, + {"HB", 8, 46, 2, "HBP13", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 47, 1, "HBP13", 2, 12, 7, 2, 3, 3, 15, 11, 6, 4, 16, 1}, + {"HB", 8, 47, 2, "HBP13", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 48, 1, "HBP13", 3, 8, 7, 2, 3, 3, 15, 11, 7, 2, 16, 0}, + {"HB", 8, 48, 2, "HBP13", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 49, 1, "HBP13", 4, 9, 7, 2, 3, 3, 15, 11, 7, 4, 16, 0}, + {"HB", 8, 49, 2, "HBP13", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 50, 1, "HBP14", 1, 11, 7, 2, 3, 3, 17, 13, 0, 2, 13, 1}, + {"HB", 8, 50, 2, "HBP14", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 51, 1, "HBP14", 2, 12, 7, 2, 3, 3, 17, 13, 0, 4, 13, 1}, + {"HB", 8, 51, 2, "HBP14", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 52, 1, "HBP14", 3, 8, 7, 2, 3, 3, 17, 13, 1, 2, 13, 0}, + {"HB", 8, 52, 2, "HBP14", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 53, 1, "HBP14", 4, 9, 7, 2, 3, 3, 17, 13, 1, 4, 13, 0}, + {"HB", 8, 53, 2, "HBP14", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 54, 1, "HBP15", 1, 11, 7, 2, 3, 3, 17, 13, 6, 2, 16, 1}, + {"HB", 8, 54, 2, "HBP15", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 55, 1, "HBP15", 2, 12, 7, 2, 3, 3, 17, 13, 6, 4, 16, 1}, + {"HB", 8, 55, 2, "HBP15", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 56, 1, "HBP15", 3, 8, 7, 2, 3, 3, 17, 13, 7, 2, 16, 0}, + {"HB", 8, 56, 2, "HBP15", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 57, 1, "HBP15", 4, 9, 7, 2, 3, 3, 17, 13, 7, 4, 16, 0}, + {"HB", 8, 57, 2, "HBP15", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 58, 1, "HBP16", 1, 11, 7, 2, 3, 3, 14, 15, 0, 2, 13, 1}, + {"HB", 8, 58, 2, "HBP16", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 59, 1, "HBP16", 2, 12, 7, 2, 3, 3, 14, 15, 0, 4, 13, 1}, + {"HB", 8, 59, 2, "HBP16", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 60, 1, "HBP16", 3, 8, 7, 2, 3, 3, 14, 15, 1, 2, 13, 0}, + {"HB", 8, 60, 2, "HBP16", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 61, 1, "HBP16", 4, 9, 7, 2, 3, 3, 14, 15, 1, 4, 13, 0}, + {"HB", 8, 61, 2, "HBP16", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 62, 1, "HBP17", 1, 11, 7, 2, 3, 3, 14, 15, 6, 2, 16, 1}, + {"HB", 8, 62, 2, "HBP17", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 63, 1, "HBP17", 2, 12, 7, 2, 3, 3, 14, 15, 6, 4, 16, 1}, + {"HB", 8, 63, 2, "HBP17", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 64, 1, "HBP17", 3, 8, 7, 2, 3, 3, 14, 15, 7, 2, 16, 0}, + {"HB", 8, 64, 2, "HBP17", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 65, 1, "HBP17", 4, 9, 7, 2, 3, 3, 14, 15, 7, 4, 16, 0}, + {"HB", 8, 65, 2, "HBP17", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 66, 1, "HBP18", 1, 11, 7, 2, 3, 3, 10, 17, 0, 2, 13, 1}, + {"HB", 8, 66, 2, "HBP18", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 67, 1, "HBP18", 2, 12, 7, 2, 3, 3, 10, 17, 0, 4, 13, 1}, + {"HB", 8, 67, 2, "HBP18", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 68, 1, "HBP18", 3, 8, 7, 2, 3, 3, 10, 17, 1, 2, 13, 0}, + {"HB", 8, 68, 2, "HBP18", 3, 16, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 69, 1, "HBP18", 4, 9, 7, 2, 3, 3, 10, 17, 1, 4, 13, 0}, + {"HB", 8, 69, 2, "HBP18", 4, 11, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 70, 1, "HBP01", 1, 11, 7, 2, 3, 3, 10, 17, 6, 2, 16, 1}, + {"HB", 8, 70, 2, "HBP01", 1, 9, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 8, 71, 1, "HBP01", 2, 12, 7, 2, 3, 3, 10, 17, 6, 4, 16, 1}, + {"HB", 8, 71, 2, "HBP01", 2, 4, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 0, 1, "HBP01", 3, 16, 4, 0, 2, 0, 10, 17, 7, 5, 16, 0}, + {"HB", 9, 0, 2, "HBP01", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 1, 1, "HBP01", 4, 11, 4, 0, 2, 0, 10, 17, 7, 7, 16, 0}, + {"HB", 9, 1, 2, "HBP01", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 2, 1, "HBP02", 1, 9, 4, 0, 2, 0, 4, 1, 0, 5, 13, 1}, + {"HB", 9, 2, 2, "HBP02", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 3, 1, "HBP02", 2, 4, 4, 0, 2, 0, 4, 1, 0, 7, 13, 1}, + {"HB", 9, 3, 2, "HBP02", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 4, 1, "HBP02", 3, 16, 4, 0, 2, 0, 4, 1, 1, 5, 13, 0}, + {"HB", 9, 4, 2, "HBP02", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 5, 1, "HBP02", 4, 11, 4, 0, 2, 0, 4, 1, 1, 7, 13, 0}, + {"HB", 9, 5, 2, "HBP02", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 6, 1, "HBP03", 1, 9, 4, 0, 2, 0, 4, 1, 6, 5, 16, 1}, + {"HB", 9, 6, 2, "HBP03", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 7, 1, "HBP03", 2, 4, 4, 0, 2, 0, 4, 1, 6, 7, 16, 1}, + {"HB", 9, 7, 2, "HBP03", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 8, 1, "HBP03", 3, 16, 4, 0, 2, 0, 4, 1, 7, 5, 16, 0}, + {"HB", 9, 8, 2, "HBP03", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 9, 1, "HBP03", 4, 11, 4, 0, 2, 0, 4, 1, 7, 7, 16, 0}, + {"HB", 9, 9, 2, "HBP03", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 10, 1, "HBP04", 1, 9, 4, 0, 2, 0, 0, 3, 0, 5, 13, 1}, + {"HB", 9, 10, 2, "HBP04", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 11, 1, "HBP04", 2, 4, 4, 0, 2, 0, 0, 3, 0, 7, 13, 1}, + {"HB", 9, 11, 2, "HBP04", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 12, 1, "HBP04", 3, 16, 4, 0, 2, 0, 0, 3, 1, 5, 13, 0}, + {"HB", 9, 12, 2, "HBP04", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 13, 1, "HBP04", 4, 11, 4, 0, 2, 0, 0, 3, 1, 7, 13, 0}, + {"HB", 9, 13, 2, "HBP04", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 14, 1, "HBP05", 1, 9, 4, 0, 2, 0, 0, 3, 6, 5, 16, 1}, + {"HB", 9, 14, 2, "HBP05", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 15, 1, "HBP05", 2, 4, 4, 0, 2, 0, 0, 3, 6, 7, 16, 1}, + {"HB", 9, 15, 2, "HBP05", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 16, 1, "HBP05", 3, 16, 4, 0, 2, 0, 0, 3, 7, 5, 16, 0}, + {"HB", 9, 16, 2, "HBP05", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 17, 1, "HBP05", 4, 11, 4, 0, 2, 0, 0, 3, 7, 7, 16, 0}, + {"HB", 9, 17, 2, "HBP05", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 18, 1, "HBP06", 1, 9, 4, 0, 2, 0, 1, 5, 0, 5, 13, 1}, + {"HB", 9, 18, 2, "HBP06", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 19, 1, "HBP06", 2, 4, 4, 0, 2, 0, 1, 5, 0, 7, 13, 1}, + {"HB", 9, 19, 2, "HBP06", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 20, 1, "HBP06", 3, 16, 4, 0, 2, 0, 1, 5, 1, 5, 13, 0}, + {"HB", 9, 20, 2, "HBP06", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 21, 1, "HBP06", 4, 11, 4, 0, 2, 0, 1, 5, 1, 7, 13, 0}, + {"HB", 9, 21, 2, "HBP06", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 22, 1, "HBP07", 1, 9, 4, 0, 2, 0, 1, 5, 6, 5, 16, 1}, + {"HB", 9, 22, 2, "HBP07", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 23, 1, "HBP07", 2, 4, 4, 0, 2, 0, 1, 5, 6, 7, 16, 1}, + {"HB", 9, 23, 2, "HBP07", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 24, 1, "HBP07", 3, 16, 4, 0, 2, 0, 1, 5, 7, 5, 16, 0}, + {"HB", 9, 24, 2, "HBP07", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 25, 1, "HBP07", 4, 11, 4, 0, 2, 0, 1, 5, 7, 7, 16, 0}, + {"HB", 9, 25, 2, "HBP07", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 26, 1, "HBP08", 1, 9, 4, 0, 2, 0, 5, 7, 0, 5, 13, 1}, + {"HB", 9, 26, 2, "HBP08", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 27, 1, "HBP08", 2, 4, 4, 0, 2, 0, 5, 7, 0, 7, 13, 1}, + {"HB", 9, 27, 2, "HBP08", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 28, 1, "HBP08", 3, 16, 4, 0, 2, 0, 5, 7, 1, 5, 13, 0}, + {"HB", 9, 28, 2, "HBP08", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 29, 1, "HBP08", 4, 11, 4, 0, 2, 0, 5, 7, 1, 7, 13, 0}, + {"HB", 9, 29, 2, "HBP08", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 30, 1, "HBP09", 1, 9, 4, 0, 2, 0, 5, 7, 6, 5, 16, 1}, + {"HB", 9, 30, 2, "HBP09", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 31, 1, "HBP09", 2, 4, 4, 0, 2, 0, 5, 7, 6, 7, 16, 1}, + {"HB", 9, 31, 2, "HBP09", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 32, 1, "HBP09", 3, 16, 4, 0, 2, 0, 5, 7, 7, 5, 16, 0}, + {"HB", 9, 32, 2, "HBP09", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 33, 1, "HBP09", 4, 11, 4, 0, 2, 0, 5, 7, 7, 7, 16, 0}, + {"HB", 9, 33, 2, "HBP09", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 34, 1, "HBP10", 1, 9, 4, 0, 2, 0, 11, 9, 0, 5, 13, 1}, + {"HB", 9, 34, 2, "HBP10", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 35, 1, "HBP10", 2, 4, 4, 0, 2, 0, 11, 9, 0, 7, 13, 1}, + {"HB", 9, 35, 2, "HBP10", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 36, 1, "HBP10", 3, 16, 4, 0, 2, 0, 11, 9, 1, 5, 13, 0}, + {"HB", 9, 36, 2, "HBP10", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 37, 1, "HBP10", 4, 11, 4, 0, 2, 0, 11, 9, 1, 7, 13, 0}, + {"HB", 9, 37, 2, "HBP10", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 38, 1, "HBP11", 1, 9, 4, 0, 2, 0, 11, 9, 6, 5, 16, 1}, + {"HB", 9, 38, 2, "HBP11", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 39, 1, "HBP11", 2, 4, 4, 0, 2, 0, 11, 9, 6, 7, 16, 1}, + {"HB", 9, 39, 2, "HBP11", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 40, 1, "HBP11", 3, 16, 4, 0, 2, 0, 11, 9, 7, 5, 16, 0}, + {"HB", 9, 40, 2, "HBP11", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 41, 1, "HBP11", 4, 11, 4, 0, 2, 0, 11, 9, 7, 7, 16, 0}, + {"HB", 9, 41, 2, "HBP11", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 42, 1, "HBP12", 1, 9, 4, 0, 2, 0, 15, 11, 0, 5, 13, 1}, + {"HB", 9, 42, 2, "HBP12", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 43, 1, "HBP12", 2, 4, 4, 0, 2, 0, 15, 11, 0, 7, 13, 1}, + {"HB", 9, 43, 2, "HBP12", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 44, 1, "HBP12", 3, 16, 4, 0, 2, 0, 15, 11, 1, 5, 13, 0}, + {"HB", 9, 44, 2, "HBP12", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 45, 1, "HBP12", 4, 11, 4, 0, 2, 0, 15, 11, 1, 7, 13, 0}, + {"HB", 9, 45, 2, "HBP12", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 46, 1, "HBP13", 1, 9, 4, 0, 2, 0, 15, 11, 6, 5, 16, 1}, + {"HB", 9, 46, 2, "HBP13", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 47, 1, "HBP13", 2, 4, 4, 0, 2, 0, 15, 11, 6, 7, 16, 1}, + {"HB", 9, 47, 2, "HBP13", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 48, 1, "HBP13", 3, 16, 4, 0, 2, 0, 15, 11, 7, 5, 16, 0}, + {"HB", 9, 48, 2, "HBP13", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 49, 1, "HBP13", 4, 11, 4, 0, 2, 0, 15, 11, 7, 7, 16, 0}, + {"HB", 9, 49, 2, "HBP13", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 50, 1, "HBP14", 1, 9, 4, 0, 2, 0, 17, 13, 0, 5, 13, 1}, + {"HB", 9, 50, 2, "HBP14", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 51, 1, "HBP14", 2, 4, 4, 0, 2, 0, 17, 13, 0, 7, 13, 1}, + {"HB", 9, 51, 2, "HBP14", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 52, 1, "HBP14", 3, 16, 4, 0, 2, 0, 17, 13, 1, 5, 13, 0}, + {"HB", 9, 52, 2, "HBP14", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 53, 1, "HBP14", 4, 11, 4, 0, 2, 0, 17, 13, 1, 7, 13, 0}, + {"HB", 9, 53, 2, "HBP14", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 54, 1, "HBP15", 1, 9, 4, 0, 2, 0, 17, 13, 6, 5, 16, 1}, + {"HB", 9, 54, 2, "HBP15", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 55, 1, "HBP15", 2, 4, 4, 0, 2, 0, 17, 13, 6, 7, 16, 1}, + {"HB", 9, 55, 2, "HBP15", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 56, 1, "HBP15", 3, 16, 4, 0, 2, 0, 17, 13, 7, 5, 16, 0}, + {"HB", 9, 56, 2, "HBP15", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 57, 1, "HBP15", 4, 11, 4, 0, 2, 0, 17, 13, 7, 7, 16, 0}, + {"HB", 9, 57, 2, "HBP15", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 58, 1, "HBP16", 1, 9, 4, 0, 2, 0, 14, 15, 0, 5, 13, 1}, + {"HB", 9, 58, 2, "HBP16", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 59, 1, "HBP16", 2, 4, 4, 0, 2, 0, 14, 15, 0, 7, 13, 1}, + {"HB", 9, 59, 2, "HBP16", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 60, 1, "HBP16", 3, 16, 4, 0, 2, 0, 14, 15, 1, 5, 13, 0}, + {"HB", 9, 60, 2, "HBP16", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 61, 1, "HBP16", 4, 11, 4, 0, 2, 0, 14, 15, 1, 7, 13, 0}, + {"HB", 9, 61, 2, "HBP16", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 62, 1, "HBP17", 1, 9, 4, 0, 2, 0, 14, 15, 6, 5, 16, 1}, + {"HB", 9, 62, 2, "HBP17", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 63, 1, "HBP17", 2, 4, 4, 0, 2, 0, 14, 15, 6, 7, 16, 1}, + {"HB", 9, 63, 2, "HBP17", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 64, 1, "HBP17", 3, 16, 4, 0, 2, 0, 14, 15, 7, 5, 16, 0}, + {"HB", 9, 64, 2, "HBP17", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 65, 1, "HBP17", 4, 11, 4, 0, 2, 0, 14, 15, 7, 7, 16, 0}, + {"HB", 9, 65, 2, "HBP17", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 66, 1, "HBP18", 1, 9, 4, 0, 2, 0, 10, 17, 0, 5, 13, 1}, + {"HB", 9, 66, 2, "HBP18", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 67, 1, "HBP18", 2, 4, 4, 0, 2, 0, 10, 17, 0, 7, 13, 1}, + {"HB", 9, 67, 2, "HBP18", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 68, 1, "HBP18", 3, 16, 4, 0, 2, 0, 10, 17, 1, 5, 13, 0}, + {"HB", 9, 68, 2, "HBP18", 3, 15, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 69, 1, "HBP18", 4, 11, 4, 0, 2, 0, 10, 17, 1, 7, 13, 0}, + {"HB", 9, 69, 2, "HBP18", 4, 12, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 70, 1, "HBP01", 1, 9, 4, 0, 2, 0, 10, 17, 6, 5, 16, 1}, + {"HB", 9, 70, 2, "HBP01", 1, 8, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 9, 71, 1, "HBP01", 2, 4, 4, 0, 2, 0, 10, 17, 6, 7, 16, 1}, + {"HB", 9, 71, 2, "HBP01", 2, 5, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 0, 1, "HBP01", 3, 15, 6, 0, 3, 0, 10, 17, 7, 1, 16, 0}, + {"HB", 10, 0, 2, "HBP01", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 1, 1, "HBP01", 4, 12, 6, 0, 3, 0, 10, 17, 7, 3, 16, 0}, + {"HB", 10, 1, 2, "HBP01", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 2, 1, "HBP02", 1, 8, 6, 0, 3, 0, 4, 1, 0, 1, 13, 1}, + {"HB", 10, 2, 2, "HBP02", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 3, 1, "HBP02", 2, 5, 6, 0, 3, 0, 4, 1, 0, 3, 13, 1}, + {"HB", 10, 3, 2, "HBP02", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 4, 1, "HBP02", 3, 15, 6, 0, 3, 0, 4, 1, 1, 1, 13, 0}, + {"HB", 10, 4, 2, "HBP02", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 5, 1, "HBP02", 4, 12, 6, 0, 3, 0, 4, 1, 1, 3, 13, 0}, + {"HB", 10, 5, 2, "HBP02", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 6, 1, "HBP03", 1, 8, 6, 0, 3, 0, 4, 1, 6, 1, 16, 1}, + {"HB", 10, 6, 2, "HBP03", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 7, 1, "HBP03", 2, 5, 6, 0, 3, 0, 4, 1, 6, 3, 16, 1}, + {"HB", 10, 7, 2, "HBP03", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 8, 1, "HBP03", 3, 15, 6, 0, 3, 0, 4, 1, 7, 1, 16, 0}, + {"HB", 10, 8, 2, "HBP03", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 9, 1, "HBP03", 4, 12, 6, 0, 3, 0, 4, 1, 7, 3, 16, 0}, + {"HB", 10, 9, 2, "HBP03", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 10, 1, "HBP04", 1, 8, 6, 0, 3, 0, 0, 3, 0, 1, 13, 1}, + {"HB", 10, 10, 2, "HBP04", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 11, 1, "HBP04", 2, 5, 6, 0, 3, 0, 0, 3, 0, 3, 13, 1}, + {"HB", 10, 11, 2, "HBP04", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 12, 1, "HBP04", 3, 15, 6, 0, 3, 0, 0, 3, 1, 1, 13, 0}, + {"HB", 10, 12, 2, "HBP04", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 13, 1, "HBP04", 4, 12, 6, 0, 3, 0, 0, 3, 1, 3, 13, 0}, + {"HB", 10, 13, 2, "HBP04", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 14, 1, "HBP05", 1, 8, 6, 0, 3, 0, 0, 3, 6, 1, 16, 1}, + {"HB", 10, 14, 2, "HBP05", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 15, 1, "HBP05", 2, 5, 6, 0, 3, 0, 0, 3, 6, 3, 16, 1}, + {"HB", 10, 15, 2, "HBP05", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 16, 1, "HBP05", 3, 15, 6, 0, 3, 0, 0, 3, 7, 1, 16, 0}, + {"HB", 10, 16, 2, "HBP05", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 17, 1, "HBP05", 4, 12, 6, 0, 3, 0, 0, 3, 7, 3, 16, 0}, + {"HB", 10, 17, 2, "HBP05", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 18, 1, "HBP06", 1, 8, 6, 0, 3, 0, 1, 5, 0, 1, 13, 1}, + {"HB", 10, 18, 2, "HBP06", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 19, 1, "HBP06", 2, 5, 6, 0, 3, 0, 1, 5, 0, 3, 13, 1}, + {"HB", 10, 19, 2, "HBP06", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 20, 1, "HBP06", 3, 15, 6, 0, 3, 0, 1, 5, 1, 1, 13, 0}, + {"HB", 10, 20, 2, "HBP06", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 21, 1, "HBP06", 4, 12, 6, 0, 3, 0, 1, 5, 1, 3, 13, 0}, + {"HB", 10, 21, 2, "HBP06", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 22, 1, "HBP07", 1, 8, 6, 0, 3, 0, 1, 5, 6, 1, 16, 1}, + {"HB", 10, 22, 2, "HBP07", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 23, 1, "HBP07", 2, 5, 6, 0, 3, 0, 1, 5, 6, 3, 16, 1}, + {"HB", 10, 23, 2, "HBP07", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 24, 1, "HBP07", 3, 15, 6, 0, 3, 0, 1, 5, 7, 1, 16, 0}, + {"HB", 10, 24, 2, "HBP07", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 25, 1, "HBP07", 4, 12, 6, 0, 3, 0, 1, 5, 7, 3, 16, 0}, + {"HB", 10, 25, 2, "HBP07", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 26, 1, "HBP08", 1, 8, 6, 0, 3, 0, 5, 7, 0, 1, 13, 1}, + {"HB", 10, 26, 2, "HBP08", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 27, 1, "HBP08", 2, 5, 6, 0, 3, 0, 5, 7, 0, 3, 13, 1}, + {"HB", 10, 27, 2, "HBP08", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 28, 1, "HBP08", 3, 15, 6, 0, 3, 0, 5, 7, 1, 1, 13, 0}, + {"HB", 10, 28, 2, "HBP08", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 29, 1, "HBP08", 4, 12, 6, 0, 3, 0, 5, 7, 1, 3, 13, 0}, + {"HB", 10, 29, 2, "HBP08", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 30, 1, "HBP09", 1, 8, 6, 0, 3, 0, 5, 7, 6, 1, 16, 1}, + {"HB", 10, 30, 2, "HBP09", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 31, 1, "HBP09", 2, 5, 6, 0, 3, 0, 5, 7, 6, 3, 16, 1}, + {"HB", 10, 31, 2, "HBP09", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 32, 1, "HBP09", 3, 15, 6, 0, 3, 0, 5, 7, 7, 1, 16, 0}, + {"HB", 10, 32, 2, "HBP09", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 33, 1, "HBP09", 4, 12, 6, 0, 3, 0, 5, 7, 7, 3, 16, 0}, + {"HB", 10, 33, 2, "HBP09", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 34, 1, "HBP10", 1, 8, 6, 0, 3, 0, 11, 9, 0, 1, 13, 1}, + {"HB", 10, 34, 2, "HBP10", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 35, 1, "HBP10", 2, 5, 6, 0, 3, 0, 11, 9, 0, 3, 13, 1}, + {"HB", 10, 35, 2, "HBP10", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 36, 1, "HBP10", 3, 15, 6, 0, 3, 0, 11, 9, 1, 1, 13, 0}, + {"HB", 10, 36, 2, "HBP10", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 37, 1, "HBP10", 4, 12, 6, 0, 3, 0, 11, 9, 1, 3, 13, 0}, + {"HB", 10, 37, 2, "HBP10", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 38, 1, "HBP11", 1, 8, 6, 0, 3, 0, 11, 9, 6, 1, 16, 1}, + {"HB", 10, 38, 2, "HBP11", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 39, 1, "HBP11", 2, 5, 6, 0, 3, 0, 11, 9, 6, 3, 16, 1}, + {"HB", 10, 39, 2, "HBP11", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 40, 1, "HBP11", 3, 15, 6, 0, 3, 0, 11, 9, 7, 1, 16, 0}, + {"HB", 10, 40, 2, "HBP11", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 41, 1, "HBP11", 4, 12, 6, 0, 3, 0, 11, 9, 7, 3, 16, 0}, + {"HB", 10, 41, 2, "HBP11", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 42, 1, "HBP12", 1, 8, 6, 0, 3, 0, 15, 11, 0, 1, 13, 1}, + {"HB", 10, 42, 2, "HBP12", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 43, 1, "HBP12", 2, 5, 6, 0, 3, 0, 15, 11, 0, 3, 13, 1}, + {"HB", 10, 43, 2, "HBP12", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 44, 1, "HBP12", 3, 15, 6, 0, 3, 0, 15, 11, 1, 1, 13, 0}, + {"HB", 10, 44, 2, "HBP12", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 45, 1, "HBP12", 4, 12, 6, 0, 3, 0, 15, 11, 1, 3, 13, 0}, + {"HB", 10, 45, 2, "HBP12", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 46, 1, "HBP13", 1, 8, 6, 0, 3, 0, 15, 11, 6, 1, 16, 1}, + {"HB", 10, 46, 2, "HBP13", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 47, 1, "HBP13", 2, 5, 6, 0, 3, 0, 15, 11, 6, 3, 16, 1}, + {"HB", 10, 47, 2, "HBP13", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 48, 1, "HBP13", 3, 15, 6, 0, 3, 0, 15, 11, 7, 1, 16, 0}, + {"HB", 10, 48, 2, "HBP13", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 49, 1, "HBP13", 4, 12, 6, 0, 3, 0, 15, 11, 7, 3, 16, 0}, + {"HB", 10, 49, 2, "HBP13", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 50, 1, "HBP14", 1, 8, 6, 0, 3, 0, 17, 13, 0, 1, 13, 1}, + {"HB", 10, 50, 2, "HBP14", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 51, 1, "HBP14", 2, 5, 6, 0, 3, 0, 17, 13, 0, 3, 13, 1}, + {"HB", 10, 51, 2, "HBP14", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 52, 1, "HBP14", 3, 15, 6, 0, 3, 0, 17, 13, 1, 1, 13, 0}, + {"HB", 10, 52, 2, "HBP14", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 53, 1, "HBP14", 4, 12, 6, 0, 3, 0, 17, 13, 1, 3, 13, 0}, + {"HB", 10, 53, 2, "HBP14", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 54, 1, "HBP15", 1, 8, 6, 0, 3, 0, 17, 13, 6, 1, 16, 1}, + {"HB", 10, 54, 2, "HBP15", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 55, 1, "HBP15", 2, 5, 6, 0, 3, 0, 17, 13, 6, 3, 16, 1}, + {"HB", 10, 55, 2, "HBP15", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 56, 1, "HBP15", 3, 15, 6, 0, 3, 0, 17, 13, 7, 1, 16, 0}, + {"HB", 10, 56, 2, "HBP15", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 57, 1, "HBP15", 4, 12, 6, 0, 3, 0, 17, 13, 7, 3, 16, 0}, + {"HB", 10, 57, 2, "HBP15", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 58, 1, "HBP16", 1, 8, 6, 0, 3, 0, 14, 15, 0, 1, 13, 1}, + {"HB", 10, 58, 2, "HBP16", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 59, 1, "HBP16", 2, 5, 6, 0, 3, 0, 14, 15, 0, 3, 13, 1}, + {"HB", 10, 59, 2, "HBP16", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 60, 1, "HBP16", 3, 15, 6, 0, 3, 0, 14, 15, 1, 1, 13, 0}, + {"HB", 10, 60, 2, "HBP16", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 61, 1, "HBP16", 4, 12, 6, 0, 3, 0, 14, 15, 1, 3, 13, 0}, + {"HB", 10, 61, 2, "HBP16", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 62, 1, "HBP17", 1, 8, 6, 0, 3, 0, 14, 15, 6, 1, 16, 1}, + {"HB", 10, 62, 2, "HBP17", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 63, 1, "HBP17", 2, 5, 6, 0, 3, 0, 14, 15, 6, 3, 16, 1}, + {"HB", 10, 63, 2, "HBP17", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 64, 1, "HBP17", 3, 15, 6, 0, 3, 0, 14, 15, 7, 1, 16, 0}, + {"HB", 10, 64, 2, "HBP17", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 65, 1, "HBP17", 4, 12, 6, 0, 3, 0, 14, 15, 7, 3, 16, 0}, + {"HB", 10, 65, 2, "HBP17", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 66, 1, "HBP18", 1, 8, 6, 0, 3, 0, 10, 17, 0, 1, 13, 1}, + {"HB", 10, 66, 2, "HBP18", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 67, 1, "HBP18", 2, 5, 6, 0, 3, 0, 10, 17, 0, 3, 13, 1}, + {"HB", 10, 67, 2, "HBP18", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 68, 1, "HBP18", 3, 15, 6, 0, 3, 0, 10, 17, 1, 1, 13, 0}, + {"HB", 10, 68, 2, "HBP18", 3, 14, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 69, 1, "HBP18", 4, 12, 6, 0, 3, 0, 10, 17, 1, 3, 13, 0}, + {"HB", 10, 69, 2, "HBP18", 4, 4, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 70, 1, "HBP01", 1, 8, 6, 0, 3, 0, 10, 17, 6, 1, 16, 1}, + {"HB", 10, 70, 2, "HBP01", 1, 16, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 10, 71, 1, "HBP01", 2, 5, 6, 0, 3, 0, 10, 17, 6, 3, 16, 1}, + {"HB", 10, 71, 2, "HBP01", 2, 6, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 0, 1, "HBP01", 3, 14, 5, 2, 2, 3, 10, 17, 7, 6, 16, 0}, + {"HB", 11, 0, 2, "HBP01", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 1, 1, "HBP01", 4, 4, 5, 2, 2, 3, 10, 17, 7, 8, 16, 0}, + {"HB", 11, 1, 2, "HBP01", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 2, 1, "HBP02", 1, 16, 5, 2, 2, 3, 4, 1, 0, 6, 13, 1}, + {"HB", 11, 2, 2, "HBP02", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 3, 1, "HBP02", 2, 6, 5, 2, 2, 3, 4, 1, 0, 8, 13, 1}, + {"HB", 11, 3, 2, "HBP02", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 4, 1, "HBP02", 3, 14, 5, 2, 2, 3, 4, 1, 1, 6, 13, 0}, + {"HB", 11, 4, 2, "HBP02", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 5, 1, "HBP02", 4, 4, 5, 2, 2, 3, 4, 1, 1, 8, 13, 0}, + {"HB", 11, 5, 2, "HBP02", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 6, 1, "HBP03", 1, 16, 5, 2, 2, 3, 4, 1, 6, 6, 16, 1}, + {"HB", 11, 6, 2, "HBP03", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 7, 1, "HBP03", 2, 6, 5, 2, 2, 3, 4, 1, 6, 8, 16, 1}, + {"HB", 11, 7, 2, "HBP03", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 8, 1, "HBP03", 3, 14, 5, 2, 2, 3, 4, 1, 7, 6, 16, 0}, + {"HB", 11, 8, 2, "HBP03", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 9, 1, "HBP03", 4, 4, 5, 2, 2, 3, 4, 1, 7, 8, 16, 0}, + {"HB", 11, 9, 2, "HBP03", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 10, 1, "HBP04", 1, 16, 5, 2, 2, 3, 0, 3, 0, 6, 13, 1}, + {"HB", 11, 10, 2, "HBP04", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 11, 1, "HBP04", 2, 6, 5, 2, 2, 3, 0, 3, 0, 8, 13, 1}, + {"HB", 11, 11, 2, "HBP04", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 12, 1, "HBP04", 3, 14, 5, 2, 2, 3, 0, 3, 1, 6, 13, 0}, + {"HB", 11, 12, 2, "HBP04", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 13, 1, "HBP04", 4, 4, 5, 2, 2, 3, 0, 3, 1, 8, 13, 0}, + {"HB", 11, 13, 2, "HBP04", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 14, 1, "HBP05", 1, 16, 5, 2, 2, 3, 0, 3, 6, 6, 16, 1}, + {"HB", 11, 14, 2, "HBP05", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 15, 1, "HBP05", 2, 6, 5, 2, 2, 3, 0, 3, 6, 8, 16, 1}, + {"HB", 11, 15, 2, "HBP05", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 16, 1, "HBP05", 3, 14, 5, 2, 2, 3, 0, 3, 7, 6, 16, 0}, + {"HB", 11, 16, 2, "HBP05", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 17, 1, "HBP05", 4, 4, 5, 2, 2, 3, 0, 3, 7, 8, 16, 0}, + {"HB", 11, 17, 2, "HBP05", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 18, 1, "HBP06", 1, 16, 5, 2, 2, 3, 1, 5, 0, 6, 13, 1}, + {"HB", 11, 18, 2, "HBP06", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 19, 1, "HBP06", 2, 6, 5, 2, 2, 3, 1, 5, 0, 8, 13, 1}, + {"HB", 11, 19, 2, "HBP06", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 20, 1, "HBP06", 3, 14, 5, 2, 2, 3, 1, 5, 1, 6, 13, 0}, + {"HB", 11, 20, 2, "HBP06", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 21, 1, "HBP06", 4, 4, 5, 2, 2, 3, 1, 5, 1, 8, 13, 0}, + {"HB", 11, 21, 2, "HBP06", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 22, 1, "HBP07", 1, 16, 5, 2, 2, 3, 1, 5, 6, 6, 16, 1}, + {"HB", 11, 22, 2, "HBP07", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 23, 1, "HBP07", 2, 6, 5, 2, 2, 3, 1, 5, 6, 8, 16, 1}, + {"HB", 11, 23, 2, "HBP07", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 24, 1, "HBP07", 3, 14, 5, 2, 2, 3, 1, 5, 7, 6, 16, 0}, + {"HB", 11, 24, 2, "HBP07", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 25, 1, "HBP07", 4, 4, 5, 2, 2, 3, 1, 5, 7, 8, 16, 0}, + {"HB", 11, 25, 2, "HBP07", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 26, 1, "HBP08", 1, 16, 5, 2, 2, 3, 5, 7, 0, 6, 13, 1}, + {"HB", 11, 26, 2, "HBP08", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 27, 1, "HBP08", 2, 6, 5, 2, 2, 3, 5, 7, 0, 8, 13, 1}, + {"HB", 11, 27, 2, "HBP08", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 28, 1, "HBP08", 3, 14, 5, 2, 2, 3, 5, 7, 1, 6, 13, 0}, + {"HB", 11, 28, 2, "HBP08", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 29, 1, "HBP08", 4, 4, 5, 2, 2, 3, 5, 7, 1, 8, 13, 0}, + {"HB", 11, 29, 2, "HBP08", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 30, 1, "HBP09", 1, 16, 5, 2, 2, 3, 5, 7, 6, 6, 16, 1}, + {"HB", 11, 30, 2, "HBP09", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 31, 1, "HBP09", 2, 6, 5, 2, 2, 3, 5, 7, 6, 8, 16, 1}, + {"HB", 11, 31, 2, "HBP09", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 32, 1, "HBP09", 3, 14, 5, 2, 2, 3, 5, 7, 7, 6, 16, 0}, + {"HB", 11, 32, 2, "HBP09", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 33, 1, "HBP09", 4, 4, 5, 2, 2, 3, 5, 7, 7, 8, 16, 0}, + {"HB", 11, 33, 2, "HBP09", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 34, 1, "HBP10", 1, 16, 5, 2, 2, 3, 11, 9, 0, 6, 13, 1}, + {"HB", 11, 34, 2, "HBP10", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 35, 1, "HBP10", 2, 6, 5, 2, 2, 3, 11, 9, 0, 8, 13, 1}, + {"HB", 11, 35, 2, "HBP10", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 36, 1, "HBP10", 3, 14, 5, 2, 2, 3, 11, 9, 1, 6, 13, 0}, + {"HB", 11, 36, 2, "HBP10", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 37, 1, "HBP10", 4, 4, 5, 2, 2, 3, 11, 9, 1, 8, 13, 0}, + {"HB", 11, 37, 2, "HBP10", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 38, 1, "HBP11", 1, 16, 5, 2, 2, 3, 11, 9, 6, 6, 16, 1}, + {"HB", 11, 38, 2, "HBP11", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 39, 1, "HBP11", 2, 6, 5, 2, 2, 3, 11, 9, 6, 8, 16, 1}, + {"HB", 11, 39, 2, "HBP11", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 40, 1, "HBP11", 3, 14, 5, 2, 2, 3, 11, 9, 7, 6, 16, 0}, + {"HB", 11, 40, 2, "HBP11", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 41, 1, "HBP11", 4, 4, 5, 2, 2, 3, 11, 9, 7, 8, 16, 0}, + {"HB", 11, 41, 2, "HBP11", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 42, 1, "HBP12", 1, 16, 5, 2, 2, 3, 15, 11, 0, 6, 13, 1}, + {"HB", 11, 42, 2, "HBP12", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 43, 1, "HBP12", 2, 6, 5, 2, 2, 3, 15, 11, 0, 8, 13, 1}, + {"HB", 11, 43, 2, "HBP12", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 44, 1, "HBP12", 3, 14, 5, 2, 2, 3, 15, 11, 1, 6, 13, 0}, + {"HB", 11, 44, 2, "HBP12", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 45, 1, "HBP12", 4, 4, 5, 2, 2, 3, 15, 11, 1, 8, 13, 0}, + {"HB", 11, 45, 2, "HBP12", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 46, 1, "HBP13", 1, 16, 5, 2, 2, 3, 15, 11, 6, 6, 16, 1}, + {"HB", 11, 46, 2, "HBP13", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 47, 1, "HBP13", 2, 6, 5, 2, 2, 3, 15, 11, 6, 8, 16, 1}, + {"HB", 11, 47, 2, "HBP13", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 48, 1, "HBP13", 3, 14, 5, 2, 2, 3, 15, 11, 7, 6, 16, 0}, + {"HB", 11, 48, 2, "HBP13", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 49, 1, "HBP13", 4, 4, 5, 2, 2, 3, 15, 11, 7, 8, 16, 0}, + {"HB", 11, 49, 2, "HBP13", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 50, 1, "HBP14", 1, 16, 5, 2, 2, 3, 17, 13, 0, 6, 13, 1}, + {"HB", 11, 50, 2, "HBP14", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 51, 1, "HBP14", 2, 6, 5, 2, 2, 3, 17, 13, 0, 8, 13, 1}, + {"HB", 11, 51, 2, "HBP14", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 52, 1, "HBP14", 3, 14, 5, 2, 2, 3, 17, 13, 1, 6, 13, 0}, + {"HB", 11, 52, 2, "HBP14", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 53, 1, "HBP14", 4, 4, 5, 2, 2, 3, 17, 13, 1, 8, 13, 0}, + {"HB", 11, 53, 2, "HBP14", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 54, 1, "HBP15", 1, 16, 5, 2, 2, 3, 17, 13, 6, 6, 16, 1}, + {"HB", 11, 54, 2, "HBP15", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 55, 1, "HBP15", 2, 6, 5, 2, 2, 3, 17, 13, 6, 8, 16, 1}, + {"HB", 11, 55, 2, "HBP15", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 56, 1, "HBP15", 3, 14, 5, 2, 2, 3, 17, 13, 7, 6, 16, 0}, + {"HB", 11, 56, 2, "HBP15", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 57, 1, "HBP15", 4, 4, 5, 2, 2, 3, 17, 13, 7, 8, 16, 0}, + {"HB", 11, 57, 2, "HBP15", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 58, 1, "HBP16", 1, 16, 5, 2, 2, 3, 14, 15, 0, 6, 13, 1}, + {"HB", 11, 58, 2, "HBP16", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 59, 1, "HBP16", 2, 6, 5, 2, 2, 3, 14, 15, 0, 8, 13, 1}, + {"HB", 11, 59, 2, "HBP16", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 60, 1, "HBP16", 3, 14, 5, 2, 2, 3, 14, 15, 1, 6, 13, 0}, + {"HB", 11, 60, 2, "HBP16", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 61, 1, "HBP16", 4, 4, 5, 2, 2, 3, 14, 15, 1, 8, 13, 0}, + {"HB", 11, 61, 2, "HBP16", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 62, 1, "HBP17", 1, 16, 5, 2, 2, 3, 14, 15, 6, 6, 16, 1}, + {"HB", 11, 62, 2, "HBP17", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 63, 1, "HBP17", 2, 6, 5, 2, 2, 3, 14, 15, 6, 8, 16, 1}, + {"HB", 11, 63, 2, "HBP17", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 64, 1, "HBP17", 3, 14, 5, 2, 2, 3, 14, 15, 7, 6, 16, 0}, + {"HB", 11, 64, 2, "HBP17", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 65, 1, "HBP17", 4, 4, 5, 2, 2, 3, 14, 15, 7, 8, 16, 0}, + {"HB", 11, 65, 2, "HBP17", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 66, 1, "HBP18", 1, 16, 5, 2, 2, 3, 10, 17, 0, 6, 13, 1}, + {"HB", 11, 66, 2, "HBP18", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 67, 1, "HBP18", 2, 6, 5, 2, 2, 3, 10, 17, 0, 8, 13, 1}, + {"HB", 11, 67, 2, "HBP18", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 68, 1, "HBP18", 3, 14, 5, 2, 2, 3, 10, 17, 1, 6, 13, 0}, + {"HB", 11, 68, 2, "HBP18", 3, 13, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 69, 1, "HBP18", 4, 4, 5, 2, 2, 3, 10, 17, 1, 8, 13, 0}, + {"HB", 11, 69, 2, "HBP18", 4, 5, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 70, 1, "HBP01", 1, 16, 5, 2, 2, 3, 10, 17, 6, 6, 16, 1}, + {"HB", 11, 70, 2, "HBP01", 1, 15, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 11, 71, 1, "HBP01", 2, 6, 5, 2, 2, 3, 10, 17, 6, 8, 16, 1}, + {"HB", 11, 71, 2, "HBP01", 2, 7, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 0, 1, "HBP01", 3, 13, 3, 1, 1, 5, 10, 17, 9, 2, 17, 0}, + {"HB", 12, 0, 2, "HBP01", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 1, 1, "HBP01", 4, 5, 3, 1, 1, 5, 10, 17, 9, 4, 17, 0}, + {"HB", 12, 1, 2, "HBP01", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 2, 1, "HBP02", 1, 15, 3, 1, 1, 5, 4, 1, 2, 2, 14, 1}, + {"HB", 12, 2, 2, "HBP02", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 3, 1, "HBP02", 2, 7, 3, 1, 1, 5, 4, 1, 2, 4, 14, 1}, + {"HB", 12, 3, 2, "HBP02", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 4, 1, "HBP02", 3, 13, 3, 1, 1, 5, 4, 1, 3, 2, 14, 0}, + {"HB", 12, 4, 2, "HBP02", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 5, 1, "HBP02", 4, 5, 3, 1, 1, 5, 4, 1, 3, 4, 14, 0}, + {"HB", 12, 5, 2, "HBP02", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 6, 1, "HBP03", 1, 15, 3, 1, 1, 5, 4, 1, 8, 2, 17, 1}, + {"HB", 12, 6, 2, "HBP03", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 7, 1, "HBP03", 2, 7, 3, 1, 1, 5, 4, 1, 8, 4, 17, 1}, + {"HB", 12, 7, 2, "HBP03", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 8, 1, "HBP03", 3, 13, 3, 1, 1, 5, 4, 1, 9, 2, 17, 0}, + {"HB", 12, 8, 2, "HBP03", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 9, 1, "HBP03", 4, 5, 3, 1, 1, 5, 4, 1, 9, 4, 17, 0}, + {"HB", 12, 9, 2, "HBP03", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 10, 1, "HBP04", 1, 15, 3, 1, 1, 5, 0, 3, 2, 2, 14, 1}, + {"HB", 12, 10, 2, "HBP04", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 11, 1, "HBP04", 2, 7, 3, 1, 1, 5, 0, 3, 2, 4, 14, 1}, + {"HB", 12, 11, 2, "HBP04", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 12, 1, "HBP04", 3, 13, 3, 1, 1, 5, 0, 3, 3, 2, 14, 0}, + {"HB", 12, 12, 2, "HBP04", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 13, 1, "HBP04", 4, 5, 3, 1, 1, 5, 0, 3, 3, 4, 14, 0}, + {"HB", 12, 13, 2, "HBP04", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 14, 1, "HBP05", 1, 15, 3, 1, 1, 5, 0, 3, 8, 2, 17, 1}, + {"HB", 12, 14, 2, "HBP05", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 15, 1, "HBP05", 2, 7, 3, 1, 1, 5, 0, 3, 8, 4, 17, 1}, + {"HB", 12, 15, 2, "HBP05", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 16, 1, "HBP05", 3, 13, 3, 1, 1, 5, 0, 3, 9, 2, 17, 0}, + {"HB", 12, 16, 2, "HBP05", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 17, 1, "HBP05", 4, 5, 3, 1, 1, 5, 0, 3, 9, 4, 17, 0}, + {"HB", 12, 17, 2, "HBP05", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 18, 1, "HBP06", 1, 15, 3, 1, 1, 5, 1, 5, 2, 2, 14, 1}, + {"HB", 12, 18, 2, "HBP06", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 19, 1, "HBP06", 2, 7, 3, 1, 1, 5, 1, 5, 2, 4, 14, 1}, + {"HB", 12, 19, 2, "HBP06", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 20, 1, "HBP06", 3, 13, 3, 1, 1, 5, 1, 5, 3, 2, 14, 0}, + {"HB", 12, 20, 2, "HBP06", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 21, 1, "HBP06", 4, 5, 3, 1, 1, 5, 1, 5, 3, 4, 14, 0}, + {"HB", 12, 21, 2, "HBP06", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 22, 1, "HBP07", 1, 15, 3, 1, 1, 5, 1, 5, 8, 2, 17, 1}, + {"HB", 12, 22, 2, "HBP07", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 23, 1, "HBP07", 2, 7, 3, 1, 1, 5, 1, 5, 8, 4, 17, 1}, + {"HB", 12, 23, 2, "HBP07", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 24, 1, "HBP07", 3, 13, 3, 1, 1, 5, 1, 5, 9, 2, 17, 0}, + {"HB", 12, 24, 2, "HBP07", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 25, 1, "HBP07", 4, 5, 3, 1, 1, 5, 1, 5, 9, 4, 17, 0}, + {"HB", 12, 25, 2, "HBP07", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 26, 1, "HBP08", 1, 15, 3, 1, 1, 5, 5, 7, 2, 2, 14, 1}, + {"HB", 12, 26, 2, "HBP08", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 27, 1, "HBP08", 2, 7, 3, 1, 1, 5, 5, 7, 2, 4, 14, 1}, + {"HB", 12, 27, 2, "HBP08", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 28, 1, "HBP08", 3, 13, 3, 1, 1, 5, 5, 7, 3, 2, 14, 0}, + {"HB", 12, 28, 2, "HBP08", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 29, 1, "HBP08", 4, 5, 3, 1, 1, 5, 5, 7, 3, 4, 14, 0}, + {"HB", 12, 29, 2, "HBP08", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 30, 1, "HBP09", 1, 15, 3, 1, 1, 5, 5, 7, 8, 2, 17, 1}, + {"HB", 12, 30, 2, "HBP09", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 31, 1, "HBP09", 2, 7, 3, 1, 1, 5, 5, 7, 8, 4, 17, 1}, + {"HB", 12, 31, 2, "HBP09", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 32, 1, "HBP09", 3, 13, 3, 1, 1, 5, 5, 7, 9, 2, 17, 0}, + {"HB", 12, 32, 2, "HBP09", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 33, 1, "HBP09", 4, 5, 3, 1, 1, 5, 5, 7, 9, 4, 17, 0}, + {"HB", 12, 33, 2, "HBP09", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 34, 1, "HBP10", 1, 15, 3, 1, 1, 5, 11, 9, 2, 2, 14, 1}, + {"HB", 12, 34, 2, "HBP10", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 35, 1, "HBP10", 2, 7, 3, 1, 1, 5, 11, 9, 2, 4, 14, 1}, + {"HB", 12, 35, 2, "HBP10", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 36, 1, "HBP10", 3, 13, 3, 1, 1, 5, 11, 9, 3, 2, 14, 0}, + {"HB", 12, 36, 2, "HBP10", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 37, 1, "HBP10", 4, 5, 3, 1, 1, 5, 11, 9, 3, 4, 14, 0}, + {"HB", 12, 37, 2, "HBP10", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 38, 1, "HBP11", 1, 15, 3, 1, 1, 5, 11, 9, 8, 2, 17, 1}, + {"HB", 12, 38, 2, "HBP11", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 39, 1, "HBP11", 2, 7, 3, 1, 1, 5, 11, 9, 8, 4, 17, 1}, + {"HB", 12, 39, 2, "HBP11", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 40, 1, "HBP11", 3, 13, 3, 1, 1, 5, 11, 9, 9, 2, 17, 0}, + {"HB", 12, 40, 2, "HBP11", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 41, 1, "HBP11", 4, 5, 3, 1, 1, 5, 11, 9, 9, 4, 17, 0}, + {"HB", 12, 41, 2, "HBP11", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 42, 1, "HBP12", 1, 15, 3, 1, 1, 5, 15, 11, 2, 2, 14, 1}, + {"HB", 12, 42, 2, "HBP12", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 43, 1, "HBP12", 2, 7, 3, 1, 1, 5, 15, 11, 2, 4, 14, 1}, + {"HB", 12, 43, 2, "HBP12", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 44, 1, "HBP12", 3, 13, 3, 1, 1, 5, 15, 11, 3, 2, 14, 0}, + {"HB", 12, 44, 2, "HBP12", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 45, 1, "HBP12", 4, 5, 3, 1, 1, 5, 15, 11, 3, 4, 14, 0}, + {"HB", 12, 45, 2, "HBP12", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 46, 1, "HBP13", 1, 15, 3, 1, 1, 5, 15, 11, 8, 2, 17, 1}, + {"HB", 12, 46, 2, "HBP13", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 47, 1, "HBP13", 2, 7, 3, 1, 1, 5, 15, 11, 8, 4, 17, 1}, + {"HB", 12, 47, 2, "HBP13", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 48, 1, "HBP13", 3, 13, 3, 1, 1, 5, 15, 11, 9, 2, 17, 0}, + {"HB", 12, 48, 2, "HBP13", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 49, 1, "HBP13", 4, 5, 3, 1, 1, 5, 15, 11, 9, 4, 17, 0}, + {"HB", 12, 49, 2, "HBP13", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 50, 1, "HBP14", 1, 15, 3, 1, 1, 5, 17, 13, 2, 2, 14, 1}, + {"HB", 12, 50, 2, "HBP14", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 51, 1, "HBP14", 2, 7, 3, 1, 1, 5, 17, 13, 2, 4, 14, 1}, + {"HB", 12, 51, 2, "HBP14", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 52, 1, "HBP14", 3, 13, 3, 1, 1, 5, 17, 13, 3, 2, 14, 0}, + {"HB", 12, 52, 2, "HBP14", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 53, 1, "HBP14", 4, 5, 3, 1, 1, 5, 17, 13, 3, 4, 14, 0}, + {"HB", 12, 53, 2, "HBP14", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 54, 1, "HBP15", 1, 15, 3, 1, 1, 5, 17, 13, 8, 2, 17, 1}, + {"HB", 12, 54, 2, "HBP15", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 55, 1, "HBP15", 2, 7, 3, 1, 1, 5, 17, 13, 8, 4, 17, 1}, + {"HB", 12, 55, 2, "HBP15", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 56, 1, "HBP15", 3, 13, 3, 1, 1, 5, 17, 13, 9, 2, 17, 0}, + {"HB", 12, 56, 2, "HBP15", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 57, 1, "HBP15", 4, 5, 3, 1, 1, 5, 17, 13, 9, 4, 17, 0}, + {"HB", 12, 57, 2, "HBP15", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 58, 1, "HBP16", 1, 15, 3, 1, 1, 5, 14, 15, 2, 2, 14, 1}, + {"HB", 12, 58, 2, "HBP16", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 59, 1, "HBP16", 2, 7, 3, 1, 1, 5, 14, 15, 2, 4, 14, 1}, + {"HB", 12, 59, 2, "HBP16", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 60, 1, "HBP16", 3, 13, 3, 1, 1, 5, 14, 15, 3, 2, 14, 0}, + {"HB", 12, 60, 2, "HBP16", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 61, 1, "HBP16", 4, 5, 3, 1, 1, 5, 14, 15, 3, 4, 14, 0}, + {"HB", 12, 61, 2, "HBP16", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 62, 1, "HBP17", 1, 15, 3, 1, 1, 5, 14, 15, 8, 2, 17, 1}, + {"HB", 12, 62, 2, "HBP17", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 63, 1, "HBP17", 2, 7, 3, 1, 1, 5, 14, 15, 8, 4, 17, 1}, + {"HB", 12, 63, 2, "HBP17", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 64, 1, "HBP17", 3, 13, 3, 1, 1, 5, 14, 15, 9, 2, 17, 0}, + {"HB", 12, 64, 2, "HBP17", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 65, 1, "HBP17", 4, 5, 3, 1, 1, 5, 14, 15, 9, 4, 17, 0}, + {"HB", 12, 65, 2, "HBP17", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 66, 1, "HBP18", 1, 15, 3, 1, 1, 5, 10, 17, 2, 2, 14, 1}, + {"HB", 12, 66, 2, "HBP18", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 67, 1, "HBP18", 2, 7, 3, 1, 1, 5, 10, 17, 2, 4, 14, 1}, + {"HB", 12, 67, 2, "HBP18", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 68, 1, "HBP18", 3, 13, 3, 1, 1, 5, 10, 17, 3, 2, 14, 0}, + {"HB", 12, 68, 2, "HBP18", 3, 19, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 69, 1, "HBP18", 4, 5, 3, 1, 1, 5, 10, 17, 3, 4, 14, 0}, + {"HB", 12, 69, 2, "HBP18", 4, 6, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 70, 1, "HBP01", 1, 15, 3, 1, 1, 5, 10, 17, 8, 2, 17, 1}, + {"HB", 12, 70, 2, "HBP01", 1, 14, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 12, 71, 1, "HBP01", 2, 7, 3, 1, 1, 5, 10, 17, 8, 4, 17, 1}, + {"HB", 12, 71, 2, "HBP01", 2, 1, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 0, 1, "HBP01", 3, 19, 2, 2, 1, 2, 10, 17, 9, 1, 17, 0}, + {"HB", 13, 0, 2, "HBP01", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 1, 1, "HBP01", 4, 6, 2, 2, 1, 2, 10, 17, 9, 3, 17, 0}, + {"HB", 13, 1, 2, "HBP01", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 2, 1, "HBP02", 1, 14, 2, 2, 1, 2, 4, 1, 2, 1, 14, 1}, + {"HB", 13, 2, 2, "HBP02", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 3, 1, "HBP02", 2, 1, 2, 2, 1, 2, 4, 1, 2, 3, 14, 1}, + {"HB", 13, 3, 2, "HBP02", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 4, 1, "HBP02", 3, 19, 2, 2, 1, 2, 4, 1, 3, 1, 14, 0}, + {"HB", 13, 4, 2, "HBP02", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 5, 1, "HBP02", 4, 6, 2, 2, 1, 2, 4, 1, 3, 3, 14, 0}, + {"HB", 13, 5, 2, "HBP02", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 6, 1, "HBP03", 1, 14, 2, 2, 1, 2, 4, 1, 8, 1, 17, 1}, + {"HB", 13, 6, 2, "HBP03", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 7, 1, "HBP03", 2, 1, 2, 2, 1, 2, 4, 1, 8, 3, 17, 1}, + {"HB", 13, 7, 2, "HBP03", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 8, 1, "HBP03", 3, 19, 2, 2, 1, 2, 4, 1, 9, 1, 17, 0}, + {"HB", 13, 8, 2, "HBP03", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 9, 1, "HBP03", 4, 6, 2, 2, 1, 2, 4, 1, 9, 3, 17, 0}, + {"HB", 13, 9, 2, "HBP03", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 10, 1, "HBP04", 1, 14, 2, 2, 1, 2, 0, 3, 2, 1, 14, 1}, + {"HB", 13, 10, 2, "HBP04", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 11, 1, "HBP04", 2, 1, 2, 2, 1, 2, 0, 3, 2, 3, 14, 1}, + {"HB", 13, 11, 2, "HBP04", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 12, 1, "HBP04", 3, 19, 2, 2, 1, 2, 0, 3, 3, 1, 14, 0}, + {"HB", 13, 12, 2, "HBP04", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 13, 1, "HBP04", 4, 6, 2, 2, 1, 2, 0, 3, 3, 3, 14, 0}, + {"HB", 13, 13, 2, "HBP04", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 14, 1, "HBP05", 1, 14, 2, 2, 1, 2, 0, 3, 8, 1, 17, 1}, + {"HB", 13, 14, 2, "HBP05", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 15, 1, "HBP05", 2, 1, 2, 2, 1, 2, 0, 3, 8, 3, 17, 1}, + {"HB", 13, 15, 2, "HBP05", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 16, 1, "HBP05", 3, 19, 2, 2, 1, 2, 0, 3, 9, 1, 17, 0}, + {"HB", 13, 16, 2, "HBP05", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 17, 1, "HBP05", 4, 6, 2, 2, 1, 2, 0, 3, 9, 3, 17, 0}, + {"HB", 13, 17, 2, "HBP05", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 18, 1, "HBP06", 1, 14, 2, 2, 1, 2, 1, 5, 2, 1, 14, 1}, + {"HB", 13, 18, 2, "HBP06", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 19, 1, "HBP06", 2, 1, 2, 2, 1, 2, 1, 5, 2, 3, 14, 1}, + {"HB", 13, 19, 2, "HBP06", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 20, 1, "HBP06", 3, 19, 2, 2, 1, 2, 1, 5, 3, 1, 14, 0}, + {"HB", 13, 20, 2, "HBP06", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 21, 1, "HBP06", 4, 6, 2, 2, 1, 2, 1, 5, 3, 3, 14, 0}, + {"HB", 13, 21, 2, "HBP06", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 22, 1, "HBP07", 1, 14, 2, 2, 1, 2, 1, 5, 8, 1, 17, 1}, + {"HB", 13, 22, 2, "HBP07", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 23, 1, "HBP07", 2, 1, 2, 2, 1, 2, 1, 5, 8, 3, 17, 1}, + {"HB", 13, 23, 2, "HBP07", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 24, 1, "HBP07", 3, 19, 2, 2, 1, 2, 1, 5, 9, 1, 17, 0}, + {"HB", 13, 24, 2, "HBP07", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 25, 1, "HBP07", 4, 6, 2, 2, 1, 2, 1, 5, 9, 3, 17, 0}, + {"HB", 13, 25, 2, "HBP07", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 26, 1, "HBP08", 1, 14, 2, 2, 1, 2, 5, 7, 2, 1, 14, 1}, + {"HB", 13, 26, 2, "HBP08", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 27, 1, "HBP08", 2, 1, 2, 2, 1, 2, 5, 7, 2, 3, 14, 1}, + {"HB", 13, 27, 2, "HBP08", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 28, 1, "HBP08", 3, 19, 2, 2, 1, 2, 5, 7, 3, 1, 14, 0}, + {"HB", 13, 28, 2, "HBP08", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 29, 1, "HBP08", 4, 6, 2, 2, 1, 2, 5, 7, 3, 3, 14, 0}, + {"HB", 13, 29, 2, "HBP08", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 30, 1, "HBP09", 1, 14, 2, 2, 1, 2, 5, 7, 8, 1, 17, 1}, + {"HB", 13, 30, 2, "HBP09", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 31, 1, "HBP09", 2, 1, 2, 2, 1, 2, 5, 7, 8, 3, 17, 1}, + {"HB", 13, 31, 2, "HBP09", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 32, 1, "HBP09", 3, 19, 2, 2, 1, 2, 5, 7, 9, 1, 17, 0}, + {"HB", 13, 32, 2, "HBP09", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 33, 1, "HBP09", 4, 6, 2, 2, 1, 2, 5, 7, 9, 3, 17, 0}, + {"HB", 13, 33, 2, "HBP09", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 34, 1, "HBP10", 1, 14, 2, 2, 1, 2, 11, 9, 2, 1, 14, 1}, + {"HB", 13, 34, 2, "HBP10", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 35, 1, "HBP10", 2, 1, 2, 2, 1, 2, 11, 9, 2, 3, 14, 1}, + {"HB", 13, 35, 2, "HBP10", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 36, 1, "HBP10", 3, 19, 2, 2, 1, 2, 11, 9, 3, 1, 14, 0}, + {"HB", 13, 36, 2, "HBP10", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 37, 1, "HBP10", 4, 6, 2, 2, 1, 2, 11, 9, 3, 3, 14, 0}, + {"HB", 13, 37, 2, "HBP10", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 38, 1, "HBP11", 1, 14, 2, 2, 1, 2, 11, 9, 8, 1, 17, 1}, + {"HB", 13, 38, 2, "HBP11", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 39, 1, "HBP11", 2, 1, 2, 2, 1, 2, 11, 9, 8, 3, 17, 1}, + {"HB", 13, 39, 2, "HBP11", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 40, 1, "HBP11", 3, 19, 2, 2, 1, 2, 11, 9, 9, 1, 17, 0}, + {"HB", 13, 40, 2, "HBP11", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 41, 1, "HBP11", 4, 6, 2, 2, 1, 2, 11, 9, 9, 3, 17, 0}, + {"HB", 13, 41, 2, "HBP11", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 42, 1, "HBP12", 1, 14, 2, 2, 1, 2, 15, 11, 2, 1, 14, 1}, + {"HB", 13, 42, 2, "HBP12", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 43, 1, "HBP12", 2, 1, 2, 2, 1, 2, 15, 11, 2, 3, 14, 1}, + {"HB", 13, 43, 2, "HBP12", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 44, 1, "HBP12", 3, 19, 2, 2, 1, 2, 15, 11, 3, 1, 14, 0}, + {"HB", 13, 44, 2, "HBP12", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 45, 1, "HBP12", 4, 6, 2, 2, 1, 2, 15, 11, 3, 3, 14, 0}, + {"HB", 13, 45, 2, "HBP12", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 46, 1, "HBP13", 1, 14, 2, 2, 1, 2, 15, 11, 8, 1, 17, 1}, + {"HB", 13, 46, 2, "HBP13", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 47, 1, "HBP13", 2, 1, 2, 2, 1, 2, 15, 11, 8, 3, 17, 1}, + {"HB", 13, 47, 2, "HBP13", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 48, 1, "HBP13", 3, 19, 2, 2, 1, 2, 15, 11, 9, 1, 17, 0}, + {"HB", 13, 48, 2, "HBP13", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 49, 1, "HBP13", 4, 6, 2, 2, 1, 2, 15, 11, 9, 3, 17, 0}, + {"HB", 13, 49, 2, "HBP13", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 50, 1, "HBP14", 1, 14, 2, 2, 1, 2, 17, 13, 2, 1, 14, 1}, + {"HB", 13, 50, 2, "HBP14", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 51, 1, "HBP14", 2, 1, 2, 2, 1, 2, 17, 13, 2, 3, 14, 1}, + {"HB", 13, 51, 2, "HBP14", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 52, 1, "HBP14", 3, 19, 2, 2, 1, 2, 17, 13, 3, 1, 14, 0}, + {"HB", 13, 52, 2, "HBP14", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 53, 1, "HBP14", 4, 6, 2, 2, 1, 2, 17, 13, 3, 3, 14, 0}, + {"HB", 13, 53, 2, "HBP14", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 54, 1, "HBP15", 1, 14, 2, 2, 1, 2, 17, 13, 8, 1, 17, 1}, + {"HB", 13, 54, 2, "HBP15", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 55, 1, "HBP15", 2, 1, 2, 2, 1, 2, 17, 13, 8, 3, 17, 1}, + {"HB", 13, 55, 2, "HBP15", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 56, 1, "HBP15", 3, 19, 2, 2, 1, 2, 17, 13, 9, 1, 17, 0}, + {"HB", 13, 56, 2, "HBP15", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 57, 1, "HBP15", 4, 6, 2, 2, 1, 2, 17, 13, 9, 3, 17, 0}, + {"HB", 13, 57, 2, "HBP15", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 58, 1, "HBP16", 1, 14, 2, 2, 1, 2, 14, 15, 2, 1, 14, 1}, + {"HB", 13, 58, 2, "HBP16", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 59, 1, "HBP16", 2, 1, 2, 2, 1, 2, 14, 15, 2, 3, 14, 1}, + {"HB", 13, 59, 2, "HBP16", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 60, 1, "HBP16", 3, 19, 2, 2, 1, 2, 14, 15, 3, 1, 14, 0}, + {"HB", 13, 60, 2, "HBP16", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 61, 1, "HBP16", 4, 6, 2, 2, 1, 2, 14, 15, 3, 3, 14, 0}, + {"HB", 13, 61, 2, "HBP16", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 62, 1, "HBP17", 1, 14, 2, 2, 1, 2, 14, 15, 8, 1, 17, 1}, + {"HB", 13, 62, 2, "HBP17", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 63, 1, "HBP17", 2, 1, 2, 2, 1, 2, 14, 15, 8, 3, 17, 1}, + {"HB", 13, 63, 2, "HBP17", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 64, 1, "HBP17", 3, 19, 2, 2, 1, 2, 14, 15, 9, 1, 17, 0}, + {"HB", 13, 64, 2, "HBP17", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 65, 1, "HBP17", 4, 6, 2, 2, 1, 2, 14, 15, 9, 3, 17, 0}, + {"HB", 13, 65, 2, "HBP17", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 66, 1, "HBP18", 1, 14, 2, 2, 1, 2, 10, 17, 2, 1, 14, 1}, + {"HB", 13, 66, 2, "HBP18", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 67, 1, "HBP18", 2, 1, 2, 2, 1, 2, 10, 17, 2, 3, 14, 1}, + {"HB", 13, 67, 2, "HBP18", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 68, 1, "HBP18", 3, 19, 2, 2, 1, 2, 10, 17, 3, 1, 14, 0}, + {"HB", 13, 68, 2, "HBP18", 3, 18, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 69, 1, "HBP18", 4, 6, 2, 2, 1, 2, 10, 17, 3, 3, 14, 0}, + {"HB", 13, 69, 2, "HBP18", 4, 1, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 70, 1, "HBP01", 1, 14, 2, 2, 1, 2, 10, 17, 8, 1, 17, 1}, + {"HB", 13, 70, 2, "HBP01", 1, 19, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 13, 71, 1, "HBP01", 2, 1, 2, 2, 1, 2, 10, 17, 8, 3, 17, 1}, + {"HB", 13, 71, 2, "HBP01", 2, 2, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HB", 14, 0, 1, "HBP01", 3, 18, 3, 0, 1, 4, 10, 17, 9, 2, 17, 0}, + {"HB", 14, 0, 2, "HBP01", 3, 17, 2, 1, 1, 1, 10, 17, 9, 1, 17, 0}, + {"HB", 14, 1, 1, "HBP01", 4, 1, 3, 0, 1, 4, 10, 17, 9, 4, 17, 0}, + {"HB", 14, 1, 2, "HBP01", 4, 7, 2, 1, 1, 1, 10, 17, 9, 3, 17, 0}, + {"HB", 14, 2, 1, "HBP02", 1, 19, 3, 0, 1, 4, 4, 1, 2, 2, 14, 1}, + {"HB", 14, 2, 2, "HBP02", 1, 13, 2, 1, 1, 1, 4, 1, 2, 1, 14, 1}, + {"HB", 14, 3, 1, "HBP02", 2, 2, 3, 0, 1, 4, 4, 1, 2, 4, 14, 1}, + {"HB", 14, 3, 2, "HBP02", 2, 3, 2, 1, 1, 1, 4, 1, 2, 3, 14, 1}, + {"HB", 14, 4, 1, "HBP02", 3, 18, 3, 0, 1, 4, 4, 1, 3, 2, 14, 0}, + {"HB", 14, 4, 2, "HBP02", 3, 17, 2, 1, 1, 1, 4, 1, 3, 1, 14, 0}, + {"HB", 14, 5, 1, "HBP02", 4, 1, 3, 0, 1, 4, 4, 1, 3, 4, 14, 0}, + {"HB", 14, 5, 2, "HBP02", 4, 7, 2, 1, 1, 1, 4, 1, 3, 3, 14, 0}, + {"HB", 14, 6, 1, "HBP03", 1, 19, 3, 0, 1, 4, 4, 1, 8, 2, 17, 1}, + {"HB", 14, 6, 2, "HBP03", 1, 13, 2, 1, 1, 1, 4, 1, 8, 1, 17, 1}, + {"HB", 14, 7, 1, "HBP03", 2, 2, 3, 0, 1, 4, 4, 1, 8, 4, 17, 1}, + {"HB", 14, 7, 2, "HBP03", 2, 3, 2, 1, 1, 1, 4, 1, 8, 3, 17, 1}, + {"HB", 14, 8, 1, "HBP03", 3, 18, 3, 0, 1, 4, 4, 1, 9, 2, 17, 0}, + {"HB", 14, 8, 2, "HBP03", 3, 17, 2, 1, 1, 1, 4, 1, 9, 1, 17, 0}, + {"HB", 14, 9, 1, "HBP03", 4, 1, 3, 0, 1, 4, 4, 1, 9, 4, 17, 0}, + {"HB", 14, 9, 2, "HBP03", 4, 7, 2, 1, 1, 1, 4, 1, 9, 3, 17, 0}, + {"HB", 14, 10, 1, "HBP04", 1, 19, 3, 0, 1, 4, 0, 3, 2, 2, 14, 1}, + {"HB", 14, 10, 2, "HBP04", 1, 13, 2, 1, 1, 1, 0, 3, 2, 1, 14, 1}, + {"HB", 14, 11, 1, "HBP04", 2, 2, 3, 0, 1, 4, 0, 3, 2, 4, 14, 1}, + {"HB", 14, 11, 2, "HBP04", 2, 3, 2, 1, 1, 1, 0, 3, 2, 3, 14, 1}, + {"HB", 14, 12, 1, "HBP04", 3, 18, 3, 0, 1, 4, 0, 3, 3, 2, 14, 0}, + {"HB", 14, 12, 2, "HBP04", 3, 17, 2, 1, 1, 1, 0, 3, 3, 1, 14, 0}, + {"HB", 14, 13, 1, "HBP04", 4, 1, 3, 0, 1, 4, 0, 3, 3, 4, 14, 0}, + {"HB", 14, 13, 2, "HBP04", 4, 7, 2, 1, 1, 1, 0, 3, 3, 3, 14, 0}, + {"HB", 14, 14, 1, "HBP05", 1, 19, 3, 0, 1, 4, 0, 3, 8, 2, 17, 1}, + {"HB", 14, 14, 2, "HBP05", 1, 13, 2, 1, 1, 1, 0, 3, 8, 1, 17, 1}, + {"HB", 14, 15, 1, "HBP05", 2, 2, 3, 0, 1, 4, 0, 3, 8, 4, 17, 1}, + {"HB", 14, 15, 2, "HBP05", 2, 3, 2, 1, 1, 1, 0, 3, 8, 3, 17, 1}, + {"HB", 14, 16, 1, "HBP05", 3, 18, 3, 0, 1, 4, 0, 3, 9, 2, 17, 0}, + {"HB", 14, 16, 2, "HBP05", 3, 17, 2, 1, 1, 1, 0, 3, 9, 1, 17, 0}, + {"HB", 14, 17, 1, "HBP05", 4, 1, 3, 0, 1, 4, 0, 3, 9, 4, 17, 0}, + {"HB", 14, 17, 2, "HBP05", 4, 7, 2, 1, 1, 1, 0, 3, 9, 3, 17, 0}, + {"HB", 14, 18, 1, "HBP06", 1, 19, 3, 0, 1, 4, 1, 5, 2, 2, 14, 1}, + {"HB", 14, 18, 2, "HBP06", 1, 13, 2, 1, 1, 1, 1, 5, 2, 1, 14, 1}, + {"HB", 14, 19, 1, "HBP06", 2, 2, 3, 0, 1, 4, 1, 5, 2, 4, 14, 1}, + {"HB", 14, 19, 2, "HBP06", 2, 3, 2, 1, 1, 1, 1, 5, 2, 3, 14, 1}, + {"HB", 14, 20, 1, "HBP06", 3, 18, 3, 0, 1, 4, 1, 5, 3, 2, 14, 0}, + {"HB", 14, 20, 2, "HBP06", 3, 17, 2, 1, 1, 1, 1, 5, 3, 1, 14, 0}, + {"HB", 14, 21, 1, "HBP06", 4, 1, 3, 0, 1, 4, 1, 5, 3, 4, 14, 0}, + {"HB", 14, 21, 2, "HBP06", 4, 7, 2, 1, 1, 1, 1, 5, 3, 3, 14, 0}, + {"HB", 14, 22, 1, "HBP07", 1, 19, 3, 0, 1, 4, 1, 5, 8, 2, 17, 1}, + {"HB", 14, 22, 2, "HBP07", 1, 13, 2, 1, 1, 1, 1, 5, 8, 1, 17, 1}, + {"HB", 14, 23, 1, "HBP07", 2, 2, 3, 0, 1, 4, 1, 5, 8, 4, 17, 1}, + {"HB", 14, 23, 2, "HBP07", 2, 3, 2, 1, 1, 1, 1, 5, 8, 3, 17, 1}, + {"HB", 14, 24, 1, "HBP07", 3, 18, 3, 0, 1, 4, 1, 5, 9, 2, 17, 0}, + {"HB", 14, 24, 2, "HBP07", 3, 17, 2, 1, 1, 1, 1, 5, 9, 1, 17, 0}, + {"HB", 14, 25, 1, "HBP07", 4, 1, 3, 0, 1, 4, 1, 5, 9, 4, 17, 0}, + {"HB", 14, 25, 2, "HBP07", 4, 7, 2, 1, 1, 1, 1, 5, 9, 3, 17, 0}, + {"HB", 14, 26, 1, "HBP08", 1, 19, 3, 0, 1, 4, 5, 7, 2, 2, 14, 1}, + {"HB", 14, 26, 2, "HBP08", 1, 13, 2, 1, 1, 1, 5, 7, 2, 1, 14, 1}, + {"HB", 14, 27, 1, "HBP08", 2, 2, 3, 0, 1, 4, 5, 7, 2, 4, 14, 1}, + {"HB", 14, 27, 2, "HBP08", 2, 3, 2, 1, 1, 1, 5, 7, 2, 3, 14, 1}, + {"HB", 14, 28, 1, "HBP08", 3, 18, 3, 0, 1, 4, 5, 7, 3, 2, 14, 0}, + {"HB", 14, 28, 2, "HBP08", 3, 17, 2, 1, 1, 1, 5, 7, 3, 1, 14, 0}, + {"HB", 14, 29, 1, "HBP08", 4, 1, 3, 0, 1, 4, 5, 7, 3, 4, 14, 0}, + {"HB", 14, 29, 2, "HBP08", 4, 7, 2, 1, 1, 1, 5, 7, 3, 3, 14, 0}, + {"HB", 14, 30, 1, "HBP09", 1, 19, 3, 0, 1, 4, 5, 7, 8, 2, 17, 1}, + {"HB", 14, 30, 2, "HBP09", 1, 13, 2, 1, 1, 1, 5, 7, 8, 1, 17, 1}, + {"HB", 14, 31, 1, "HBP09", 2, 2, 3, 0, 1, 4, 5, 7, 8, 4, 17, 1}, + {"HB", 14, 31, 2, "HBP09", 2, 3, 2, 1, 1, 1, 5, 7, 8, 3, 17, 1}, + {"HB", 14, 32, 1, "HBP09", 3, 18, 3, 0, 1, 4, 5, 7, 9, 2, 17, 0}, + {"HB", 14, 32, 2, "HBP09", 3, 17, 2, 1, 1, 1, 5, 7, 9, 1, 17, 0}, + {"HB", 14, 33, 1, "HBP09", 4, 1, 3, 0, 1, 4, 5, 7, 9, 4, 17, 0}, + {"HB", 14, 33, 2, "HBP09", 4, 7, 2, 1, 1, 1, 5, 7, 9, 3, 17, 0}, + {"HB", 14, 34, 1, "HBP10", 1, 19, 3, 0, 1, 4, 11, 9, 2, 2, 14, 1}, + {"HB", 14, 34, 2, "HBP10", 1, 13, 2, 1, 1, 1, 11, 9, 2, 1, 14, 1}, + {"HB", 14, 35, 1, "HBP10", 2, 2, 3, 0, 1, 4, 11, 9, 2, 4, 14, 1}, + {"HB", 14, 35, 2, "HBP10", 2, 3, 2, 1, 1, 1, 11, 9, 2, 3, 14, 1}, + {"HB", 14, 36, 1, "HBP10", 3, 18, 3, 0, 1, 4, 11, 9, 3, 2, 14, 0}, + {"HB", 14, 36, 2, "HBP10", 3, 17, 2, 1, 1, 1, 11, 9, 3, 1, 14, 0}, + {"HB", 14, 37, 1, "HBP10", 4, 1, 3, 0, 1, 4, 11, 9, 3, 4, 14, 0}, + {"HB", 14, 37, 2, "HBP10", 4, 7, 2, 1, 1, 1, 11, 9, 3, 3, 14, 0}, + {"HB", 14, 38, 1, "HBP11", 1, 19, 3, 0, 1, 4, 11, 9, 8, 2, 17, 1}, + {"HB", 14, 38, 2, "HBP11", 1, 13, 2, 1, 1, 1, 11, 9, 8, 1, 17, 1}, + {"HB", 14, 39, 1, "HBP11", 2, 2, 3, 0, 1, 4, 11, 9, 8, 4, 17, 1}, + {"HB", 14, 39, 2, "HBP11", 2, 3, 2, 1, 1, 1, 11, 9, 8, 3, 17, 1}, + {"HB", 14, 40, 1, "HBP11", 3, 18, 3, 0, 1, 4, 11, 9, 9, 2, 17, 0}, + {"HB", 14, 40, 2, "HBP11", 3, 17, 2, 1, 1, 1, 11, 9, 9, 1, 17, 0}, + {"HB", 14, 41, 1, "HBP11", 4, 1, 3, 0, 1, 4, 11, 9, 9, 4, 17, 0}, + {"HB", 14, 41, 2, "HBP11", 4, 7, 2, 1, 1, 1, 11, 9, 9, 3, 17, 0}, + {"HB", 14, 42, 1, "HBP12", 1, 19, 3, 0, 1, 4, 15, 11, 2, 2, 14, 1}, + {"HB", 14, 42, 2, "HBP12", 1, 13, 2, 1, 1, 1, 15, 11, 2, 1, 14, 1}, + {"HB", 14, 43, 1, "HBP12", 2, 2, 3, 0, 1, 4, 15, 11, 2, 4, 14, 1}, + {"HB", 14, 43, 2, "HBP12", 2, 3, 2, 1, 1, 1, 15, 11, 2, 3, 14, 1}, + {"HB", 14, 44, 1, "HBP12", 3, 18, 3, 0, 1, 4, 15, 11, 3, 2, 14, 0}, + {"HB", 14, 44, 2, "HBP12", 3, 17, 2, 1, 1, 1, 15, 11, 3, 1, 14, 0}, + {"HB", 14, 45, 1, "HBP12", 4, 1, 3, 0, 1, 4, 15, 11, 3, 4, 14, 0}, + {"HB", 14, 45, 2, "HBP12", 4, 7, 2, 1, 1, 1, 15, 11, 3, 3, 14, 0}, + {"HB", 14, 46, 1, "HBP13", 1, 19, 3, 0, 1, 4, 15, 11, 8, 2, 17, 1}, + {"HB", 14, 46, 2, "HBP13", 1, 13, 2, 1, 1, 1, 15, 11, 8, 1, 17, 1}, + {"HB", 14, 47, 1, "HBP13", 2, 2, 3, 0, 1, 4, 15, 11, 8, 4, 17, 1}, + {"HB", 14, 47, 2, "HBP13", 2, 3, 2, 1, 1, 1, 15, 11, 8, 3, 17, 1}, + {"HB", 14, 48, 1, "HBP13", 3, 18, 3, 0, 1, 4, 15, 11, 9, 2, 17, 0}, + {"HB", 14, 48, 2, "HBP13", 3, 17, 2, 1, 1, 1, 15, 11, 9, 1, 17, 0}, + {"HB", 14, 49, 1, "HBP13", 4, 1, 3, 0, 1, 4, 15, 11, 9, 4, 17, 0}, + {"HB", 14, 49, 2, "HBP13", 4, 7, 2, 1, 1, 1, 15, 11, 9, 3, 17, 0}, + {"HB", 14, 50, 1, "HBP14", 1, 19, 3, 0, 1, 4, 17, 13, 2, 2, 14, 1}, + {"HB", 14, 50, 2, "HBP14", 1, 13, 2, 1, 1, 1, 17, 13, 2, 1, 14, 1}, + {"HB", 14, 51, 1, "HBP14", 2, 2, 3, 0, 1, 4, 17, 13, 2, 4, 14, 1}, + {"HB", 14, 51, 2, "HBP14", 2, 3, 2, 1, 1, 1, 17, 13, 2, 3, 14, 1}, + {"HB", 14, 52, 1, "HBP14", 3, 18, 3, 0, 1, 4, 17, 13, 3, 2, 14, 0}, + {"HB", 14, 52, 2, "HBP14", 3, 17, 2, 1, 1, 1, 17, 13, 3, 1, 14, 0}, + {"HB", 14, 53, 1, "HBP14", 4, 1, 3, 0, 1, 4, 17, 13, 3, 4, 14, 0}, + {"HB", 14, 53, 2, "HBP14", 4, 7, 2, 1, 1, 1, 17, 13, 3, 3, 14, 0}, + {"HB", 14, 54, 1, "HBP15", 1, 19, 3, 0, 1, 4, 17, 13, 8, 2, 17, 1}, + {"HB", 14, 54, 2, "HBP15", 1, 13, 2, 1, 1, 1, 17, 13, 8, 1, 17, 1}, + {"HB", 14, 55, 1, "HBP15", 2, 2, 3, 0, 1, 4, 17, 13, 8, 4, 17, 1}, + {"HB", 14, 55, 2, "HBP15", 2, 3, 2, 1, 1, 1, 17, 13, 8, 3, 17, 1}, + {"HB", 14, 56, 1, "HBP15", 3, 18, 3, 0, 1, 4, 17, 13, 9, 2, 17, 0}, + {"HB", 14, 56, 2, "HBP15", 3, 17, 2, 1, 1, 1, 17, 13, 9, 1, 17, 0}, + {"HB", 14, 57, 1, "HBP15", 4, 1, 3, 0, 1, 4, 17, 13, 9, 4, 17, 0}, + {"HB", 14, 57, 2, "HBP15", 4, 7, 2, 1, 1, 1, 17, 13, 9, 3, 17, 0}, + {"HB", 14, 58, 1, "HBP16", 1, 19, 3, 0, 1, 4, 14, 15, 2, 2, 14, 1}, + {"HB", 14, 58, 2, "HBP16", 1, 13, 2, 1, 1, 1, 14, 15, 2, 1, 14, 1}, + {"HB", 14, 59, 1, "HBP16", 2, 2, 3, 0, 1, 4, 14, 15, 2, 4, 14, 1}, + {"HB", 14, 59, 2, "HBP16", 2, 3, 2, 1, 1, 1, 14, 15, 2, 3, 14, 1}, + {"HB", 14, 60, 1, "HBP16", 3, 18, 3, 0, 1, 4, 14, 15, 3, 2, 14, 0}, + {"HB", 14, 60, 2, "HBP16", 3, 17, 2, 1, 1, 1, 14, 15, 3, 1, 14, 0}, + {"HB", 14, 61, 1, "HBP16", 4, 1, 3, 0, 1, 4, 14, 15, 3, 4, 14, 0}, + {"HB", 14, 61, 2, "HBP16", 4, 7, 2, 1, 1, 1, 14, 15, 3, 3, 14, 0}, + {"HB", 14, 62, 1, "HBP17", 1, 19, 3, 0, 1, 4, 14, 15, 8, 2, 17, 1}, + {"HB", 14, 62, 2, "HBP17", 1, 13, 2, 1, 1, 1, 14, 15, 8, 1, 17, 1}, + {"HB", 14, 63, 1, "HBP17", 2, 2, 3, 0, 1, 4, 14, 15, 8, 4, 17, 1}, + {"HB", 14, 63, 2, "HBP17", 2, 3, 2, 1, 1, 1, 14, 15, 8, 3, 17, 1}, + {"HB", 14, 64, 1, "HBP17", 3, 18, 3, 0, 1, 4, 14, 15, 9, 2, 17, 0}, + {"HB", 14, 64, 2, "HBP17", 3, 17, 2, 1, 1, 1, 14, 15, 9, 1, 17, 0}, + {"HB", 14, 65, 1, "HBP17", 4, 1, 3, 0, 1, 4, 14, 15, 9, 4, 17, 0}, + {"HB", 14, 65, 2, "HBP17", 4, 7, 2, 1, 1, 1, 14, 15, 9, 3, 17, 0}, + {"HB", 14, 66, 1, "HBP18", 1, 19, 3, 0, 1, 4, 10, 17, 2, 2, 14, 1}, + {"HB", 14, 66, 2, "HBP18", 1, 13, 2, 1, 1, 1, 10, 17, 2, 1, 14, 1}, + {"HB", 14, 67, 1, "HBP18", 2, 2, 3, 0, 1, 4, 10, 17, 2, 4, 14, 1}, + {"HB", 14, 67, 2, "HBP18", 2, 3, 2, 1, 1, 1, 10, 17, 2, 3, 14, 1}, + {"HB", 14, 68, 1, "HBP18", 3, 18, 3, 0, 1, 4, 10, 17, 3, 2, 14, 0}, + {"HB", 14, 68, 2, "HBP18", 3, 17, 2, 1, 1, 1, 10, 17, 3, 1, 14, 0}, + {"HB", 14, 69, 1, "HBP18", 4, 1, 3, 0, 1, 4, 10, 17, 3, 4, 14, 0}, + {"HB", 14, 69, 2, "HBP18", 4, 7, 2, 1, 1, 1, 10, 17, 3, 3, 14, 0}, + {"HB", 14, 70, 1, "HBP01", 1, 19, 3, 0, 1, 4, 10, 17, 8, 2, 17, 1}, + {"HB", 14, 70, 2, "HBP01", 1, 13, 2, 1, 1, 1, 10, 17, 8, 1, 17, 1}, + {"HB", 14, 71, 1, "HBP01", 2, 2, 3, 0, 1, 4, 10, 17, 8, 4, 17, 1}, + {"HB", 14, 71, 2, "HBP01", 2, 3, 2, 1, 1, 1, 10, 17, 8, 3, 17, 1}, + {"HB", 15, 0, 1, "HBP01", 3, 1, 3, 2, 1, 3, 10, 17, 9, 2, 17, 0}, + {"HB", 15, 0, 2, "HBP01", 3, 3, 2, 0, 1, 0, 10, 17, 9, 1, 17, 0}, + {"HB", 15, 1, 1, "HBP01", 4, 3, 3, 2, 1, 3, 10, 17, 9, 4, 17, 0}, + {"HB", 15, 1, 2, "HBP01", 4, 2, 2, 0, 1, 0, 10, 17, 9, 3, 17, 0}, + {"HB", 15, 2, 1, "HBP02", 1, 17, 3, 2, 1, 3, 4, 1, 2, 2, 14, 1}, + {"HB", 15, 2, 2, "HBP02", 1, 18, 2, 0, 1, 0, 4, 1, 2, 1, 14, 1}, + {"HB", 15, 3, 1, "HBP02", 2, 19, 3, 2, 1, 3, 4, 1, 2, 4, 14, 1}, + {"HB", 15, 3, 2, "HBP02", 2, 17, 2, 0, 1, 0, 4, 1, 2, 3, 14, 1}, + {"HB", 15, 4, 1, "HBP02", 3, 1, 3, 2, 1, 3, 4, 1, 3, 2, 14, 0}, + {"HB", 15, 4, 2, "HBP02", 3, 3, 2, 0, 1, 0, 4, 1, 3, 1, 14, 0}, + {"HB", 15, 5, 1, "HBP02", 4, 3, 3, 2, 1, 3, 4, 1, 3, 4, 14, 0}, + {"HB", 15, 5, 2, "HBP02", 4, 2, 2, 0, 1, 0, 4, 1, 3, 3, 14, 0}, + {"HB", 15, 6, 1, "HBP03", 1, 17, 3, 2, 1, 3, 4, 1, 8, 2, 17, 1}, + {"HB", 15, 6, 2, "HBP03", 1, 18, 2, 0, 1, 0, 4, 1, 8, 1, 17, 1}, + {"HB", 15, 7, 1, "HBP03", 2, 19, 3, 2, 1, 3, 4, 1, 8, 4, 17, 1}, + {"HB", 15, 7, 2, "HBP03", 2, 17, 2, 0, 1, 0, 4, 1, 8, 3, 17, 1}, + {"HB", 15, 8, 1, "HBP03", 3, 1, 3, 2, 1, 3, 4, 1, 9, 2, 17, 0}, + {"HB", 15, 8, 2, "HBP03", 3, 3, 2, 0, 1, 0, 4, 1, 9, 1, 17, 0}, + {"HB", 15, 9, 1, "HBP03", 4, 3, 3, 2, 1, 3, 4, 1, 9, 4, 17, 0}, + {"HB", 15, 9, 2, "HBP03", 4, 2, 2, 0, 1, 0, 4, 1, 9, 3, 17, 0}, + {"HB", 15, 10, 1, "HBP04", 1, 17, 3, 2, 1, 3, 0, 3, 2, 2, 14, 1}, + {"HB", 15, 10, 2, "HBP04", 1, 18, 2, 0, 1, 0, 0, 3, 2, 1, 14, 1}, + {"HB", 15, 11, 1, "HBP04", 2, 19, 3, 2, 1, 3, 0, 3, 2, 4, 14, 1}, + {"HB", 15, 11, 2, "HBP04", 2, 17, 2, 0, 1, 0, 0, 3, 2, 3, 14, 1}, + {"HB", 15, 12, 1, "HBP04", 3, 1, 3, 2, 1, 3, 0, 3, 3, 2, 14, 0}, + {"HB", 15, 12, 2, "HBP04", 3, 3, 2, 0, 1, 0, 0, 3, 3, 1, 14, 0}, + {"HB", 15, 13, 1, "HBP04", 4, 3, 3, 2, 1, 3, 0, 3, 3, 4, 14, 0}, + {"HB", 15, 13, 2, "HBP04", 4, 2, 2, 0, 1, 0, 0, 3, 3, 3, 14, 0}, + {"HB", 15, 14, 1, "HBP05", 1, 17, 3, 2, 1, 3, 0, 3, 8, 2, 17, 1}, + {"HB", 15, 14, 2, "HBP05", 1, 18, 2, 0, 1, 0, 0, 3, 8, 1, 17, 1}, + {"HB", 15, 15, 1, "HBP05", 2, 19, 3, 2, 1, 3, 0, 3, 8, 4, 17, 1}, + {"HB", 15, 15, 2, "HBP05", 2, 17, 2, 0, 1, 0, 0, 3, 8, 3, 17, 1}, + {"HB", 15, 16, 1, "HBP05", 3, 1, 3, 2, 1, 3, 0, 3, 9, 2, 17, 0}, + {"HB", 15, 16, 2, "HBP05", 3, 3, 2, 0, 1, 0, 0, 3, 9, 1, 17, 0}, + {"HB", 15, 17, 1, "HBP05", 4, 3, 3, 2, 1, 3, 0, 3, 9, 4, 17, 0}, + {"HB", 15, 17, 2, "HBP05", 4, 2, 2, 0, 1, 0, 0, 3, 9, 3, 17, 0}, + {"HB", 15, 18, 1, "HBP06", 1, 17, 3, 2, 1, 3, 1, 5, 2, 2, 14, 1}, + {"HB", 15, 18, 2, "HBP06", 1, 18, 2, 0, 1, 0, 1, 5, 2, 1, 14, 1}, + {"HB", 15, 19, 1, "HBP06", 2, 19, 3, 2, 1, 3, 1, 5, 2, 4, 14, 1}, + {"HB", 15, 19, 2, "HBP06", 2, 17, 2, 0, 1, 0, 1, 5, 2, 3, 14, 1}, + {"HB", 15, 20, 1, "HBP06", 3, 1, 3, 2, 1, 3, 1, 5, 3, 2, 14, 0}, + {"HB", 15, 20, 2, "HBP06", 3, 3, 2, 0, 1, 0, 1, 5, 3, 1, 14, 0}, + {"HB", 15, 21, 1, "HBP06", 4, 3, 3, 2, 1, 3, 1, 5, 3, 4, 14, 0}, + {"HB", 15, 21, 2, "HBP06", 4, 2, 2, 0, 1, 0, 1, 5, 3, 3, 14, 0}, + {"HB", 15, 22, 1, "HBP07", 1, 17, 3, 2, 1, 3, 1, 5, 8, 2, 17, 1}, + {"HB", 15, 22, 2, "HBP07", 1, 18, 2, 0, 1, 0, 1, 5, 8, 1, 17, 1}, + {"HB", 15, 23, 1, "HBP07", 2, 19, 3, 2, 1, 3, 1, 5, 8, 4, 17, 1}, + {"HB", 15, 23, 2, "HBP07", 2, 17, 2, 0, 1, 0, 1, 5, 8, 3, 17, 1}, + {"HB", 15, 24, 1, "HBP07", 3, 1, 3, 2, 1, 3, 1, 5, 9, 2, 17, 0}, + {"HB", 15, 24, 2, "HBP07", 3, 3, 2, 0, 1, 0, 1, 5, 9, 1, 17, 0}, + {"HB", 15, 25, 1, "HBP07", 4, 3, 3, 2, 1, 3, 1, 5, 9, 4, 17, 0}, + {"HB", 15, 25, 2, "HBP07", 4, 2, 2, 0, 1, 0, 1, 5, 9, 3, 17, 0}, + {"HB", 15, 26, 1, "HBP08", 1, 17, 3, 2, 1, 3, 5, 7, 2, 2, 14, 1}, + {"HB", 15, 26, 2, "HBP08", 1, 18, 2, 0, 1, 0, 5, 7, 2, 1, 14, 1}, + {"HB", 15, 27, 1, "HBP08", 2, 19, 3, 2, 1, 3, 5, 7, 2, 4, 14, 1}, + {"HB", 15, 27, 2, "HBP08", 2, 17, 2, 0, 1, 0, 5, 7, 2, 3, 14, 1}, + {"HB", 15, 28, 1, "HBP08", 3, 1, 3, 2, 1, 3, 5, 7, 3, 2, 14, 0}, + {"HB", 15, 28, 2, "HBP08", 3, 3, 2, 0, 1, 0, 5, 7, 3, 1, 14, 0}, + {"HB", 15, 29, 1, "HBP08", 4, 3, 3, 2, 1, 3, 5, 7, 3, 4, 14, 0}, + {"HB", 15, 29, 2, "HBP08", 4, 2, 2, 0, 1, 0, 5, 7, 3, 3, 14, 0}, + {"HB", 15, 30, 1, "HBP09", 1, 17, 3, 2, 1, 3, 5, 7, 8, 2, 17, 1}, + {"HB", 15, 30, 2, "HBP09", 1, 18, 2, 0, 1, 0, 5, 7, 8, 1, 17, 1}, + {"HB", 15, 31, 1, "HBP09", 2, 19, 3, 2, 1, 3, 5, 7, 8, 4, 17, 1}, + {"HB", 15, 31, 2, "HBP09", 2, 17, 2, 0, 1, 0, 5, 7, 8, 3, 17, 1}, + {"HB", 15, 32, 1, "HBP09", 3, 1, 3, 2, 1, 3, 5, 7, 9, 2, 17, 0}, + {"HB", 15, 32, 2, "HBP09", 3, 3, 2, 0, 1, 0, 5, 7, 9, 1, 17, 0}, + {"HB", 15, 33, 1, "HBP09", 4, 3, 3, 2, 1, 3, 5, 7, 9, 4, 17, 0}, + {"HB", 15, 33, 2, "HBP09", 4, 2, 2, 0, 1, 0, 5, 7, 9, 3, 17, 0}, + {"HB", 15, 34, 1, "HBP10", 1, 17, 3, 2, 1, 3, 11, 9, 2, 2, 14, 1}, + {"HB", 15, 34, 2, "HBP10", 1, 18, 2, 0, 1, 0, 11, 9, 2, 1, 14, 1}, + {"HB", 15, 35, 1, "HBP10", 2, 19, 3, 2, 1, 3, 11, 9, 2, 4, 14, 1}, + {"HB", 15, 35, 2, "HBP10", 2, 17, 2, 0, 1, 0, 11, 9, 2, 3, 14, 1}, + {"HB", 15, 36, 1, "HBP10", 3, 1, 3, 2, 1, 3, 11, 9, 3, 2, 14, 0}, + {"HB", 15, 36, 2, "HBP10", 3, 3, 2, 0, 1, 0, 11, 9, 3, 1, 14, 0}, + {"HB", 15, 37, 1, "HBP10", 4, 3, 3, 2, 1, 3, 11, 9, 3, 4, 14, 0}, + {"HB", 15, 37, 2, "HBP10", 4, 2, 2, 0, 1, 0, 11, 9, 3, 3, 14, 0}, + {"HB", 15, 38, 1, "HBP11", 1, 17, 3, 2, 1, 3, 11, 9, 8, 2, 17, 1}, + {"HB", 15, 38, 2, "HBP11", 1, 18, 2, 0, 1, 0, 11, 9, 8, 1, 17, 1}, + {"HB", 15, 39, 1, "HBP11", 2, 19, 3, 2, 1, 3, 11, 9, 8, 4, 17, 1}, + {"HB", 15, 39, 2, "HBP11", 2, 17, 2, 0, 1, 0, 11, 9, 8, 3, 17, 1}, + {"HB", 15, 40, 1, "HBP11", 3, 1, 3, 2, 1, 3, 11, 9, 9, 2, 17, 0}, + {"HB", 15, 40, 2, "HBP11", 3, 3, 2, 0, 1, 0, 11, 9, 9, 1, 17, 0}, + {"HB", 15, 41, 1, "HBP11", 4, 3, 3, 2, 1, 3, 11, 9, 9, 4, 17, 0}, + {"HB", 15, 41, 2, "HBP11", 4, 2, 2, 0, 1, 0, 11, 9, 9, 3, 17, 0}, + {"HB", 15, 42, 1, "HBP12", 1, 17, 3, 2, 1, 3, 15, 11, 2, 2, 14, 1}, + {"HB", 15, 42, 2, "HBP12", 1, 18, 2, 0, 1, 0, 15, 11, 2, 1, 14, 1}, + {"HB", 15, 43, 1, "HBP12", 2, 19, 3, 2, 1, 3, 15, 11, 2, 4, 14, 1}, + {"HB", 15, 43, 2, "HBP12", 2, 17, 2, 0, 1, 0, 15, 11, 2, 3, 14, 1}, + {"HB", 15, 44, 1, "HBP12", 3, 1, 3, 2, 1, 3, 15, 11, 3, 2, 14, 0}, + {"HB", 15, 44, 2, "HBP12", 3, 3, 2, 0, 1, 0, 15, 11, 3, 1, 14, 0}, + {"HB", 15, 45, 1, "HBP12", 4, 3, 3, 2, 1, 3, 15, 11, 3, 4, 14, 0}, + {"HB", 15, 45, 2, "HBP12", 4, 2, 2, 0, 1, 0, 15, 11, 3, 3, 14, 0}, + {"HB", 15, 46, 1, "HBP13", 1, 17, 3, 2, 1, 3, 15, 11, 8, 2, 17, 1}, + {"HB", 15, 46, 2, "HBP13", 1, 18, 2, 0, 1, 0, 15, 11, 8, 1, 17, 1}, + {"HB", 15, 47, 1, "HBP13", 2, 19, 3, 2, 1, 3, 15, 11, 8, 4, 17, 1}, + {"HB", 15, 47, 2, "HBP13", 2, 17, 2, 0, 1, 0, 15, 11, 8, 3, 17, 1}, + {"HB", 15, 48, 1, "HBP13", 3, 1, 3, 2, 1, 3, 15, 11, 9, 2, 17, 0}, + {"HB", 15, 48, 2, "HBP13", 3, 3, 2, 0, 1, 0, 15, 11, 9, 1, 17, 0}, + {"HB", 15, 49, 1, "HBP13", 4, 3, 3, 2, 1, 3, 15, 11, 9, 4, 17, 0}, + {"HB", 15, 49, 2, "HBP13", 4, 2, 2, 0, 1, 0, 15, 11, 9, 3, 17, 0}, + {"HB", 15, 50, 1, "HBP14", 1, 17, 3, 2, 1, 3, 17, 13, 2, 2, 14, 1}, + {"HB", 15, 50, 2, "HBP14", 1, 18, 2, 0, 1, 0, 17, 13, 2, 1, 14, 1}, + {"HB", 15, 51, 1, "HBP14", 2, 19, 3, 2, 1, 3, 17, 13, 2, 4, 14, 1}, + {"HB", 15, 51, 2, "HBP14", 2, 17, 2, 0, 1, 0, 17, 13, 2, 3, 14, 1}, + {"HB", 15, 52, 1, "HBP14", 3, 1, 3, 2, 1, 3, 17, 13, 3, 2, 14, 0}, + {"HB", 15, 52, 2, "HBP14", 3, 3, 2, 0, 1, 0, 17, 13, 3, 1, 14, 0}, + {"HB", 15, 53, 1, "HBP14", 4, 3, 3, 2, 1, 3, 17, 13, 3, 4, 14, 0}, + {"HB", 15, 53, 2, "HBP14", 4, 2, 2, 0, 1, 0, 17, 13, 3, 3, 14, 0}, + {"HB", 15, 54, 1, "HBP15", 1, 17, 3, 2, 1, 3, 17, 13, 8, 2, 17, 1}, + {"HB", 15, 54, 2, "HBP15", 1, 18, 2, 0, 1, 0, 17, 13, 8, 1, 17, 1}, + {"HB", 15, 55, 1, "HBP15", 2, 19, 3, 2, 1, 3, 17, 13, 8, 4, 17, 1}, + {"HB", 15, 55, 2, "HBP15", 2, 17, 2, 0, 1, 0, 17, 13, 8, 3, 17, 1}, + {"HB", 15, 56, 1, "HBP15", 3, 1, 3, 2, 1, 3, 17, 13, 9, 2, 17, 0}, + {"HB", 15, 56, 2, "HBP15", 3, 3, 2, 0, 1, 0, 17, 13, 9, 1, 17, 0}, + {"HB", 15, 57, 1, "HBP15", 4, 3, 3, 2, 1, 3, 17, 13, 9, 4, 17, 0}, + {"HB", 15, 57, 2, "HBP15", 4, 2, 2, 0, 1, 0, 17, 13, 9, 3, 17, 0}, + {"HB", 15, 58, 1, "HBP16", 1, 17, 3, 2, 1, 3, 14, 15, 2, 2, 14, 1}, + {"HB", 15, 58, 2, "HBP16", 1, 18, 2, 0, 1, 0, 14, 15, 2, 1, 14, 1}, + {"HB", 15, 59, 1, "HBP16", 2, 19, 3, 2, 1, 3, 14, 15, 2, 4, 14, 1}, + {"HB", 15, 59, 2, "HBP16", 2, 17, 2, 0, 1, 0, 14, 15, 2, 3, 14, 1}, + {"HB", 15, 60, 1, "HBP16", 3, 1, 3, 2, 1, 3, 14, 15, 3, 2, 14, 0}, + {"HB", 15, 60, 2, "HBP16", 3, 3, 2, 0, 1, 0, 14, 15, 3, 1, 14, 0}, + {"HB", 15, 61, 1, "HBP16", 4, 3, 3, 2, 1, 3, 14, 15, 3, 4, 14, 0}, + {"HB", 15, 61, 2, "HBP16", 4, 2, 2, 0, 1, 0, 14, 15, 3, 3, 14, 0}, + {"HB", 15, 62, 1, "HBP17", 1, 17, 3, 2, 1, 3, 14, 15, 8, 2, 17, 1}, + {"HB", 15, 62, 2, "HBP17", 1, 18, 2, 0, 1, 0, 14, 15, 8, 1, 17, 1}, + {"HB", 15, 63, 1, "HBP17", 2, 19, 3, 2, 1, 3, 14, 15, 8, 4, 17, 1}, + {"HB", 15, 63, 2, "HBP17", 2, 17, 2, 0, 1, 0, 14, 15, 8, 3, 17, 1}, + {"HB", 15, 64, 1, "HBP17", 3, 1, 3, 2, 1, 3, 14, 15, 9, 2, 17, 0}, + {"HB", 15, 64, 2, "HBP17", 3, 3, 2, 0, 1, 0, 14, 15, 9, 1, 17, 0}, + {"HB", 15, 65, 1, "HBP17", 4, 3, 3, 2, 1, 3, 14, 15, 9, 4, 17, 0}, + {"HB", 15, 65, 2, "HBP17", 4, 2, 2, 0, 1, 0, 14, 15, 9, 3, 17, 0}, + {"HB", 15, 66, 1, "HBP18", 1, 17, 3, 2, 1, 3, 10, 17, 2, 2, 14, 1}, + {"HB", 15, 66, 2, "HBP18", 1, 18, 2, 0, 1, 0, 10, 17, 2, 1, 14, 1}, + {"HB", 15, 67, 1, "HBP18", 2, 19, 3, 2, 1, 3, 10, 17, 2, 4, 14, 1}, + {"HB", 15, 67, 2, "HBP18", 2, 17, 2, 0, 1, 0, 10, 17, 2, 3, 14, 1}, + {"HB", 15, 68, 1, "HBP18", 3, 1, 3, 2, 1, 3, 10, 17, 3, 2, 14, 0}, + {"HB", 15, 68, 2, "HBP18", 3, 3, 2, 0, 1, 0, 10, 17, 3, 1, 14, 0}, + {"HB", 15, 69, 1, "HBP18", 4, 3, 3, 2, 1, 3, 10, 17, 3, 4, 14, 0}, + {"HB", 15, 69, 2, "HBP18", 4, 2, 2, 0, 1, 0, 10, 17, 3, 3, 14, 0}, + {"HB", 15, 70, 1, "HBP01", 1, 17, 3, 2, 1, 3, 10, 17, 8, 2, 17, 1}, + {"HB", 15, 70, 2, "HBP01", 1, 18, 2, 0, 1, 0, 10, 17, 8, 1, 17, 1}, + {"HB", 15, 71, 1, "HBP01", 2, 19, 3, 2, 1, 3, 10, 17, 8, 4, 17, 1}, + {"HB", 15, 71, 2, "HBP01", 2, 17, 2, 0, 1, 0, 10, 17, 8, 3, 17, 1}, + {"HE", -20, 71, 1, "HEM01", 3, 9, 6, 1, 3, 1, 10, 16, 10, 5, 7, 1}, + {"HE", -20, 71, 2, "HEM01", 3, 8, 7, 1, 3, 5, 10, 16, 10, 6, 7, 1}, + {"HE", -19, 71, 1, "HEM01", 3, 13, 7, 0, 3, 4, 10, 16, 10, 6, 7, 1}, + {"HE", -19, 71, 2, "HEM01", 3, 17, 6, 0, 3, 0, 10, 16, 10, 5, 7, 1}, + {"HE", -19, 71, 3, "HEM01", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 71, 1, "HEM01", 3, 11, 3, 0, 1, 4, 10, 16, 8, 6, 6, 1}, + {"HE", -18, 71, 2, "HEM01", 3, 19, 3, 1, 1, 5, 10, 16, 8, 6, 6, 1}, + {"HE", -18, 71, 3, "HEM01", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 71, 1, "HEM01", 3, 12, 2, 0, 1, 0, 10, 16, 8, 5, 6, 1}, + {"HE", -17, 71, 2, "HEM01", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 71, 3, "HEM01", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 71, 1, "HEM01", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 71, 2, "HEM01", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 71, 3, "HEM01", 3, 16, 2, 1, 1, 1, 10, 16, 8, 5, 6, 1}, + {"HE", -29, 0, 1, "HEM01", 1, 6, 4, 2, 2, 2, 10, 16, 11, 1, 7, 0}, + {"HE", -29, 0, 2, "HEM01", 2, 6, 4, 2, 2, 2, 10, 16, 11, 3, 7, 0}, + {"HE", -29, 0, 3, "HEM01", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 1, 1, "HEM02", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 1, 2, "HEM02", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 1, 3, "HEM02", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 2, 1, "HEM02", 4, 15, 4, 2, 2, 2, 4, 0, 4, 3, 4, 1}, + {"HE", -29, 2, 2, "HEM02", 3, 15, 4, 2, 2, 2, 4, 0, 4, 1, 4, 1}, + {"HE", -29, 2, 3, "HEM02", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 3, 1, "HEM02", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 3, 2, "HEM02", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 3, 3, "HEM02", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 4, 1, "HEM02", 1, 6, 4, 2, 2, 2, 4, 0, 5, 1, 4, 0}, + {"HE", -29, 4, 2, "HEM02", 2, 6, 4, 2, 2, 2, 4, 0, 5, 3, 4, 0}, + {"HE", -29, 4, 3, "HEM02", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 5, 1, "HEM03", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 5, 2, "HEM03", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 5, 3, "HEM03", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 6, 1, "HEM03", 4, 15, 4, 2, 2, 2, 4, 0, 10, 3, 7, 1}, + {"HE", -29, 6, 2, "HEM03", 3, 15, 4, 2, 2, 2, 4, 0, 10, 1, 7, 1}, + {"HE", -29, 6, 3, "HEM03", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 7, 1, "HEM03", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 7, 2, "HEM03", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 7, 3, "HEM03", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 8, 1, "HEM03", 1, 6, 4, 2, 2, 2, 4, 0, 11, 1, 7, 0}, + {"HE", -29, 8, 2, "HEM03", 2, 6, 4, 2, 2, 2, 4, 0, 11, 3, 7, 0}, + {"HE", -29, 8, 3, "HEM03", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 9, 1, "HEM04", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 9, 2, "HEM04", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 9, 3, "HEM04", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 10, 1, "HEM04", 4, 15, 4, 2, 2, 2, 0, 2, 4, 3, 4, 1}, + {"HE", -29, 10, 2, "HEM04", 3, 15, 4, 2, 2, 2, 0, 2, 4, 1, 4, 1}, + {"HE", -29, 10, 3, "HEM04", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 11, 1, "HEM04", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 11, 2, "HEM04", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 11, 3, "HEM04", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 12, 1, "HEM04", 1, 6, 4, 2, 2, 2, 0, 2, 5, 1, 4, 0}, + {"HE", -29, 12, 2, "HEM04", 2, 6, 4, 2, 2, 2, 0, 2, 5, 3, 4, 0}, + {"HE", -29, 12, 3, "HEM04", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 13, 1, "HEM05", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 13, 2, "HEM05", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 13, 3, "HEM05", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 14, 1, "HEM05", 4, 15, 4, 2, 2, 2, 0, 2, 10, 3, 7, 1}, + {"HE", -29, 14, 2, "HEM05", 3, 15, 4, 2, 2, 2, 0, 2, 10, 1, 7, 1}, + {"HE", -29, 14, 3, "HEM05", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 15, 1, "HEM05", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 15, 2, "HEM05", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 15, 3, "HEM05", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 16, 1, "HEM05", 1, 6, 4, 2, 2, 2, 0, 2, 11, 1, 7, 0}, + {"HE", -29, 16, 2, "HEM05", 2, 6, 4, 2, 2, 2, 0, 2, 11, 3, 7, 0}, + {"HE", -29, 16, 3, "HEM05", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 17, 1, "HEM06", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 17, 2, "HEM06", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 17, 3, "HEM06", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 18, 1, "HEM06", 4, 15, 4, 2, 2, 2, 1, 4, 4, 3, 4, 1}, + {"HE", -29, 18, 2, "HEM06", 3, 15, 4, 2, 2, 2, 1, 4, 4, 1, 4, 1}, + {"HE", -29, 18, 3, "HEM06", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 19, 1, "HEM06", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 19, 2, "HEM06", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 19, 3, "HEM06", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 20, 1, "HEM06", 1, 6, 4, 2, 2, 2, 1, 4, 5, 1, 4, 0}, + {"HE", -29, 20, 2, "HEM06", 2, 6, 4, 2, 2, 2, 1, 4, 5, 3, 4, 0}, + {"HE", -29, 20, 3, "HEM06", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 21, 1, "HEM07", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 21, 2, "HEM07", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 21, 3, "HEM07", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 22, 1, "HEM07", 4, 15, 4, 2, 2, 2, 1, 4, 10, 3, 7, 1}, + {"HE", -29, 22, 2, "HEM07", 3, 15, 4, 2, 2, 2, 1, 4, 10, 1, 7, 1}, + {"HE", -29, 22, 3, "HEM07", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 23, 1, "HEM07", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 23, 2, "HEM07", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 23, 3, "HEM07", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 24, 1, "HEM07", 1, 6, 4, 2, 2, 2, 1, 4, 11, 1, 7, 0}, + {"HE", -29, 24, 2, "HEM07", 2, 6, 4, 2, 2, 2, 1, 4, 11, 3, 7, 0}, + {"HE", -29, 24, 3, "HEM07", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 25, 1, "HEM08", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 25, 2, "HEM08", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 25, 3, "HEM08", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 26, 1, "HEM08", 4, 15, 4, 2, 2, 2, 5, 6, 4, 3, 4, 1}, + {"HE", -29, 26, 2, "HEM08", 3, 15, 4, 2, 2, 2, 5, 6, 4, 1, 4, 1}, + {"HE", -29, 26, 3, "HEM08", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 27, 1, "HEM08", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 27, 2, "HEM08", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 27, 3, "HEM08", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 28, 1, "HEM08", 1, 6, 4, 2, 2, 2, 5, 6, 5, 1, 4, 0}, + {"HE", -29, 28, 2, "HEM08", 2, 6, 4, 2, 2, 2, 5, 6, 5, 3, 4, 0}, + {"HE", -29, 28, 3, "HEM08", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 29, 1, "HEM09", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 29, 2, "HEM09", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 29, 3, "HEM09", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 30, 1, "HEM09", 4, 15, 4, 2, 2, 2, 5, 6, 10, 3, 7, 1}, + {"HE", -29, 30, 2, "HEM09", 3, 15, 4, 2, 2, 2, 5, 6, 10, 1, 7, 1}, + {"HE", -29, 30, 3, "HEM09", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 31, 1, "HEM09", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 31, 2, "HEM09", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 31, 3, "HEM09", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 32, 1, "HEM09", 1, 6, 4, 2, 2, 2, 5, 6, 11, 1, 7, 0}, + {"HE", -29, 32, 2, "HEM09", 2, 6, 4, 2, 2, 2, 5, 6, 11, 3, 7, 0}, + {"HE", -29, 32, 3, "HEM09", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 33, 1, "HEM10", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 33, 2, "HEM10", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 33, 3, "HEM10", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 34, 1, "HEM10", 4, 15, 4, 2, 2, 2, 11, 8, 4, 3, 4, 1}, + {"HE", -29, 34, 2, "HEM10", 3, 15, 4, 2, 2, 2, 11, 8, 4, 1, 4, 1}, + {"HE", -29, 34, 3, "HEM10", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 35, 1, "HEM10", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 35, 2, "HEM10", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 35, 3, "HEM10", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 36, 1, "HEM10", 1, 6, 4, 2, 2, 2, 11, 8, 5, 1, 4, 0}, + {"HE", -29, 36, 2, "HEM10", 2, 6, 4, 2, 2, 2, 11, 8, 5, 3, 4, 0}, + {"HE", -29, 36, 3, "HEM10", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 37, 1, "HEM11", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 37, 2, "HEM11", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 37, 3, "HEM11", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 38, 1, "HEM11", 4, 15, 4, 2, 2, 2, 11, 8, 10, 3, 7, 1}, + {"HE", -29, 38, 2, "HEM11", 3, 15, 4, 2, 2, 2, 11, 8, 10, 1, 7, 1}, + {"HE", -29, 38, 3, "HEM11", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 39, 1, "HEM11", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 39, 2, "HEM11", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 39, 3, "HEM11", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 40, 1, "HEM11", 1, 6, 4, 2, 2, 2, 11, 8, 11, 1, 7, 0}, + {"HE", -29, 40, 2, "HEM11", 2, 6, 4, 2, 2, 2, 11, 8, 11, 3, 7, 0}, + {"HE", -29, 40, 3, "HEM11", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 41, 1, "HEM12", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 41, 2, "HEM12", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 41, 3, "HEM12", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 42, 1, "HEM12", 4, 15, 4, 2, 2, 2, 15, 10, 4, 3, 4, 1}, + {"HE", -29, 42, 2, "HEM12", 3, 15, 4, 2, 2, 2, 15, 10, 4, 1, 4, 1}, + {"HE", -29, 42, 3, "HEM12", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 43, 1, "HEM12", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 43, 2, "HEM12", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 43, 3, "HEM12", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 44, 1, "HEM12", 1, 6, 4, 2, 2, 2, 15, 10, 5, 1, 4, 0}, + {"HE", -29, 44, 2, "HEM12", 2, 6, 4, 2, 2, 2, 15, 10, 5, 3, 4, 0}, + {"HE", -29, 44, 3, "HEM12", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 45, 1, "HEM13", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 45, 2, "HEM13", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 45, 3, "HEM13", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 46, 1, "HEM13", 4, 15, 4, 2, 2, 2, 15, 10, 10, 3, 7, 1}, + {"HE", -29, 46, 2, "HEM13", 3, 15, 4, 2, 2, 2, 15, 10, 10, 1, 7, 1}, + {"HE", -29, 46, 3, "HEM13", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 47, 1, "HEM13", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 47, 2, "HEM13", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 47, 3, "HEM13", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 48, 1, "HEM13", 1, 6, 4, 2, 2, 2, 15, 10, 11, 1, 7, 0}, + {"HE", -29, 48, 2, "HEM13", 2, 6, 4, 2, 2, 2, 15, 10, 11, 3, 7, 0}, + {"HE", -29, 48, 3, "HEM13", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 49, 1, "HEM14", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 49, 2, "HEM14", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 49, 3, "HEM14", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 50, 1, "HEM14", 4, 15, 4, 2, 2, 2, 17, 12, 4, 3, 4, 1}, + {"HE", -29, 50, 2, "HEM14", 3, 15, 4, 2, 2, 2, 17, 12, 4, 1, 4, 1}, + {"HE", -29, 50, 3, "HEM14", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 51, 1, "HEM14", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 51, 2, "HEM14", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 51, 3, "HEM14", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 52, 1, "HEM14", 1, 6, 4, 2, 2, 2, 17, 12, 5, 1, 4, 0}, + {"HE", -29, 52, 2, "HEM14", 2, 6, 4, 2, 2, 2, 17, 12, 5, 3, 4, 0}, + {"HE", -29, 52, 3, "HEM14", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 53, 1, "HEM15", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 53, 2, "HEM15", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 53, 3, "HEM15", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 54, 1, "HEM15", 4, 15, 4, 2, 2, 2, 17, 12, 10, 3, 7, 1}, + {"HE", -29, 54, 2, "HEM15", 3, 15, 4, 2, 2, 2, 17, 12, 10, 1, 7, 1}, + {"HE", -29, 54, 3, "HEM15", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 55, 1, "HEM15", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 55, 2, "HEM15", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 55, 3, "HEM15", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 56, 1, "HEM15", 1, 6, 4, 2, 2, 2, 17, 12, 11, 1, 7, 0}, + {"HE", -29, 56, 2, "HEM15", 2, 6, 4, 2, 2, 2, 17, 12, 11, 3, 7, 0}, + {"HE", -29, 56, 3, "HEM15", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 57, 1, "HEM16", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 57, 2, "HEM16", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 57, 3, "HEM16", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 58, 1, "HEM16", 4, 15, 4, 2, 2, 2, 14, 14, 4, 3, 4, 1}, + {"HE", -29, 58, 2, "HEM16", 3, 15, 4, 2, 2, 2, 14, 14, 4, 1, 4, 1}, + {"HE", -29, 58, 3, "HEM16", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 59, 1, "HEM16", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 59, 2, "HEM16", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 59, 3, "HEM16", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 60, 1, "HEM16", 1, 6, 4, 2, 2, 2, 14, 14, 5, 1, 4, 0}, + {"HE", -29, 60, 2, "HEM16", 2, 6, 4, 2, 2, 2, 14, 14, 5, 3, 4, 0}, + {"HE", -29, 60, 3, "HEM16", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 61, 1, "HEM17", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 61, 2, "HEM17", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 61, 3, "HEM17", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 62, 1, "HEM17", 4, 15, 4, 2, 2, 2, 14, 14, 10, 3, 7, 1}, + {"HE", -29, 62, 2, "HEM17", 3, 15, 4, 2, 2, 2, 14, 14, 10, 1, 7, 1}, + {"HE", -29, 62, 3, "HEM17", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 63, 1, "HEM17", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 63, 2, "HEM17", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 63, 3, "HEM17", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 64, 1, "HEM17", 1, 6, 4, 2, 2, 2, 14, 14, 11, 1, 7, 0}, + {"HE", -29, 64, 2, "HEM17", 2, 6, 4, 2, 2, 2, 14, 14, 11, 3, 7, 0}, + {"HE", -29, 64, 3, "HEM17", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 65, 1, "HEM18", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 65, 2, "HEM18", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 65, 3, "HEM18", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 66, 1, "HEM18", 4, 15, 4, 2, 2, 2, 10, 16, 4, 3, 4, 1}, + {"HE", -29, 66, 2, "HEM18", 3, 15, 4, 2, 2, 2, 10, 16, 4, 1, 4, 1}, + {"HE", -29, 66, 3, "HEM18", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 67, 1, "HEM18", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 67, 2, "HEM18", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 67, 3, "HEM18", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 68, 1, "HEM18", 1, 6, 4, 2, 2, 2, 10, 16, 5, 1, 4, 0}, + {"HE", -29, 68, 2, "HEM18", 2, 6, 4, 2, 2, 2, 10, 16, 5, 3, 4, 0}, + {"HE", -29, 68, 3, "HEM18", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 69, 1, "HEM01", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 69, 2, "HEM01", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 69, 3, "HEM01", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -29, 70, 1, "HEM01", 4, 15, 4, 2, 2, 2, 10, 16, 10, 3, 7, 1}, + {"HE", -29, 70, 2, "HEM01", 3, 15, 4, 2, 2, 2, 10, 16, 10, 1, 7, 1}, + {"HE", -29, 70, 3, "HEM01", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 0, 1, "HEM01", 1, 15, 4, 0, 2, 0, 10, 16, 11, 1, 7, 0}, + {"HE", -28, 0, 2, "HEM01", 1, 2, 4, 1, 2, 1, 10, 16, 11, 1, 7, 0}, + {"HE", -28, 0, 3, "HEM01", 1, 5, 5, 0, 2, 4, 10, 16, 11, 2, 7, 0}, + {"HE", -28, 1, 1, "HEM02", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 1, 2, "HEM02", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 1, 3, "HEM02", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 2, 1, "HEM02", 4, 6, 4, 0, 2, 0, 4, 0, 4, 3, 4, 1}, + {"HE", -28, 2, 2, "HEM02", 4, 18, 4, 1, 2, 1, 4, 0, 4, 3, 4, 1}, + {"HE", -28, 2, 3, "HEM02", 4, 14, 5, 0, 2, 4, 4, 0, 4, 4, 4, 1}, + {"HE", -28, 3, 1, "HEM02", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 3, 2, "HEM02", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 3, 3, "HEM02", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 4, 1, "HEM02", 1, 15, 4, 0, 2, 0, 4, 0, 5, 1, 4, 0}, + {"HE", -28, 4, 2, "HEM02", 1, 2, 4, 1, 2, 1, 4, 0, 5, 1, 4, 0}, + {"HE", -28, 4, 3, "HEM02", 1, 5, 5, 0, 2, 4, 4, 0, 5, 2, 4, 0}, + {"HE", -28, 5, 1, "HEM03", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 5, 2, "HEM03", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 5, 3, "HEM03", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 6, 1, "HEM03", 4, 6, 4, 0, 2, 0, 4, 0, 10, 3, 7, 1}, + {"HE", -28, 6, 2, "HEM03", 4, 18, 4, 1, 2, 1, 4, 0, 10, 3, 7, 1}, + {"HE", -28, 6, 3, "HEM03", 4, 14, 5, 0, 2, 4, 4, 0, 10, 4, 7, 1}, + {"HE", -28, 7, 1, "HEM03", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 7, 2, "HEM03", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 7, 3, "HEM03", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 8, 1, "HEM03", 1, 15, 4, 0, 2, 0, 4, 0, 11, 1, 7, 0}, + {"HE", -28, 8, 2, "HEM03", 1, 2, 4, 1, 2, 1, 4, 0, 11, 1, 7, 0}, + {"HE", -28, 8, 3, "HEM03", 1, 5, 5, 0, 2, 4, 4, 0, 11, 2, 7, 0}, + {"HE", -28, 9, 1, "HEM04", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 9, 2, "HEM04", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 9, 3, "HEM04", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 10, 1, "HEM04", 4, 6, 4, 0, 2, 0, 0, 2, 4, 3, 4, 1}, + {"HE", -28, 10, 2, "HEM04", 4, 18, 4, 1, 2, 1, 0, 2, 4, 3, 4, 1}, + {"HE", -28, 10, 3, "HEM04", 4, 14, 5, 0, 2, 4, 0, 2, 4, 4, 4, 1}, + {"HE", -28, 11, 1, "HEM04", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 11, 2, "HEM04", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 11, 3, "HEM04", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 12, 1, "HEM04", 1, 15, 4, 0, 2, 0, 0, 2, 5, 1, 4, 0}, + {"HE", -28, 12, 2, "HEM04", 1, 2, 4, 1, 2, 1, 0, 2, 5, 1, 4, 0}, + {"HE", -28, 12, 3, "HEM04", 1, 5, 5, 0, 2, 4, 0, 2, 5, 2, 4, 0}, + {"HE", -28, 13, 1, "HEM05", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 13, 2, "HEM05", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 13, 3, "HEM05", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 14, 1, "HEM05", 4, 6, 4, 0, 2, 0, 0, 2, 10, 3, 7, 1}, + {"HE", -28, 14, 2, "HEM05", 4, 18, 4, 1, 2, 1, 0, 2, 10, 3, 7, 1}, + {"HE", -28, 14, 3, "HEM05", 4, 14, 5, 0, 2, 4, 0, 2, 10, 4, 7, 1}, + {"HE", -28, 15, 1, "HEM05", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 15, 2, "HEM05", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 15, 3, "HEM05", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 16, 1, "HEM05", 1, 15, 4, 0, 2, 0, 0, 2, 11, 1, 7, 0}, + {"HE", -28, 16, 2, "HEM05", 1, 2, 4, 1, 2, 1, 0, 2, 11, 1, 7, 0}, + {"HE", -28, 16, 3, "HEM05", 1, 5, 5, 0, 2, 4, 0, 2, 11, 2, 7, 0}, + {"HE", -28, 17, 1, "HEM06", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 17, 2, "HEM06", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 17, 3, "HEM06", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 18, 1, "HEM06", 4, 6, 4, 0, 2, 0, 1, 4, 4, 3, 4, 1}, + {"HE", -28, 18, 2, "HEM06", 4, 18, 4, 1, 2, 1, 1, 4, 4, 3, 4, 1}, + {"HE", -28, 18, 3, "HEM06", 4, 14, 5, 0, 2, 4, 1, 4, 4, 4, 4, 1}, + {"HE", -28, 19, 1, "HEM06", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 19, 2, "HEM06", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 19, 3, "HEM06", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 20, 1, "HEM06", 1, 15, 4, 0, 2, 0, 1, 4, 5, 1, 4, 0}, + {"HE", -28, 20, 2, "HEM06", 1, 2, 4, 1, 2, 1, 1, 4, 5, 1, 4, 0}, + {"HE", -28, 20, 3, "HEM06", 1, 5, 5, 0, 2, 4, 1, 4, 5, 2, 4, 0}, + {"HE", -28, 21, 1, "HEM07", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 21, 2, "HEM07", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 21, 3, "HEM07", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 22, 1, "HEM07", 4, 6, 4, 0, 2, 0, 1, 4, 10, 3, 7, 1}, + {"HE", -28, 22, 2, "HEM07", 4, 18, 4, 1, 2, 1, 1, 4, 10, 3, 7, 1}, + {"HE", -28, 22, 3, "HEM07", 4, 14, 5, 0, 2, 4, 1, 4, 10, 4, 7, 1}, + {"HE", -28, 23, 1, "HEM07", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 23, 2, "HEM07", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 23, 3, "HEM07", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 24, 1, "HEM07", 1, 15, 4, 0, 2, 0, 1, 4, 11, 1, 7, 0}, + {"HE", -28, 24, 2, "HEM07", 1, 2, 4, 1, 2, 1, 1, 4, 11, 1, 7, 0}, + {"HE", -28, 24, 3, "HEM07", 1, 5, 5, 0, 2, 4, 1, 4, 11, 2, 7, 0}, + {"HE", -28, 25, 1, "HEM08", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 25, 2, "HEM08", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 25, 3, "HEM08", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 26, 1, "HEM08", 4, 6, 4, 0, 2, 0, 5, 6, 4, 3, 4, 1}, + {"HE", -28, 26, 2, "HEM08", 4, 18, 4, 1, 2, 1, 5, 6, 4, 3, 4, 1}, + {"HE", -28, 26, 3, "HEM08", 4, 14, 5, 0, 2, 4, 5, 6, 4, 4, 4, 1}, + {"HE", -28, 27, 1, "HEM08", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 27, 2, "HEM08", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 27, 3, "HEM08", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 28, 1, "HEM08", 1, 15, 4, 0, 2, 0, 5, 6, 5, 1, 4, 0}, + {"HE", -28, 28, 2, "HEM08", 1, 2, 4, 1, 2, 1, 5, 6, 5, 1, 4, 0}, + {"HE", -28, 28, 3, "HEM08", 1, 5, 5, 0, 2, 4, 5, 6, 5, 2, 4, 0}, + {"HE", -28, 29, 1, "HEM09", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 29, 2, "HEM09", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 29, 3, "HEM09", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 30, 1, "HEM09", 4, 6, 4, 0, 2, 0, 5, 6, 10, 3, 7, 1}, + {"HE", -28, 30, 2, "HEM09", 4, 18, 4, 1, 2, 1, 5, 6, 10, 3, 7, 1}, + {"HE", -28, 30, 3, "HEM09", 4, 14, 5, 0, 2, 4, 5, 6, 10, 4, 7, 1}, + {"HE", -28, 31, 1, "HEM09", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 31, 2, "HEM09", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 31, 3, "HEM09", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 32, 1, "HEM09", 1, 15, 4, 0, 2, 0, 5, 6, 11, 1, 7, 0}, + {"HE", -28, 32, 2, "HEM09", 1, 2, 4, 1, 2, 1, 5, 6, 11, 1, 7, 0}, + {"HE", -28, 32, 3, "HEM09", 1, 5, 5, 0, 2, 4, 5, 6, 11, 2, 7, 0}, + {"HE", -28, 33, 1, "HEM10", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 33, 2, "HEM10", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 33, 3, "HEM10", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 34, 1, "HEM10", 4, 6, 4, 0, 2, 0, 11, 8, 4, 3, 4, 1}, + {"HE", -28, 34, 2, "HEM10", 4, 18, 4, 1, 2, 1, 11, 8, 4, 3, 4, 1}, + {"HE", -28, 34, 3, "HEM10", 4, 14, 5, 0, 2, 4, 11, 8, 4, 4, 4, 1}, + {"HE", -28, 35, 1, "HEM10", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 35, 2, "HEM10", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 35, 3, "HEM10", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 36, 1, "HEM10", 1, 15, 4, 0, 2, 0, 11, 8, 5, 1, 4, 0}, + {"HE", -28, 36, 2, "HEM10", 1, 2, 4, 1, 2, 1, 11, 8, 5, 1, 4, 0}, + {"HE", -28, 36, 3, "HEM10", 1, 5, 5, 0, 2, 4, 11, 8, 5, 2, 4, 0}, + {"HE", -28, 37, 1, "HEM11", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 37, 2, "HEM11", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 37, 3, "HEM11", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 38, 1, "HEM11", 4, 6, 4, 0, 2, 0, 11, 8, 10, 3, 7, 1}, + {"HE", -28, 38, 2, "HEM11", 4, 18, 4, 1, 2, 1, 11, 8, 10, 3, 7, 1}, + {"HE", -28, 38, 3, "HEM11", 4, 14, 5, 0, 2, 4, 11, 8, 10, 4, 7, 1}, + {"HE", -28, 39, 1, "HEM11", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 39, 2, "HEM11", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 39, 3, "HEM11", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 40, 1, "HEM11", 1, 15, 4, 0, 2, 0, 11, 8, 11, 1, 7, 0}, + {"HE", -28, 40, 2, "HEM11", 1, 2, 4, 1, 2, 1, 11, 8, 11, 1, 7, 0}, + {"HE", -28, 40, 3, "HEM11", 1, 5, 5, 0, 2, 4, 11, 8, 11, 2, 7, 0}, + {"HE", -28, 41, 1, "HEM12", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 41, 2, "HEM12", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 41, 3, "HEM12", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 42, 1, "HEM12", 4, 6, 4, 0, 2, 0, 15, 10, 4, 3, 4, 1}, + {"HE", -28, 42, 2, "HEM12", 4, 18, 4, 1, 2, 1, 15, 10, 4, 3, 4, 1}, + {"HE", -28, 42, 3, "HEM12", 4, 14, 5, 0, 2, 4, 15, 10, 4, 4, 4, 1}, + {"HE", -28, 43, 1, "HEM12", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 43, 2, "HEM12", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 43, 3, "HEM12", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 44, 1, "HEM12", 1, 15, 4, 0, 2, 0, 15, 10, 5, 1, 4, 0}, + {"HE", -28, 44, 2, "HEM12", 1, 2, 4, 1, 2, 1, 15, 10, 5, 1, 4, 0}, + {"HE", -28, 44, 3, "HEM12", 1, 5, 5, 0, 2, 4, 15, 10, 5, 2, 4, 0}, + {"HE", -28, 45, 1, "HEM13", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 45, 2, "HEM13", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 45, 3, "HEM13", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 46, 1, "HEM13", 4, 6, 4, 0, 2, 0, 15, 10, 10, 3, 7, 1}, + {"HE", -28, 46, 2, "HEM13", 4, 18, 4, 1, 2, 1, 15, 10, 10, 3, 7, 1}, + {"HE", -28, 46, 3, "HEM13", 4, 14, 5, 0, 2, 4, 15, 10, 10, 4, 7, 1}, + {"HE", -28, 47, 1, "HEM13", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 47, 2, "HEM13", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 47, 3, "HEM13", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 48, 1, "HEM13", 1, 15, 4, 0, 2, 0, 15, 10, 11, 1, 7, 0}, + {"HE", -28, 48, 2, "HEM13", 1, 2, 4, 1, 2, 1, 15, 10, 11, 1, 7, 0}, + {"HE", -28, 48, 3, "HEM13", 1, 5, 5, 0, 2, 4, 15, 10, 11, 2, 7, 0}, + {"HE", -28, 49, 1, "HEM14", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 49, 2, "HEM14", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 49, 3, "HEM14", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 50, 1, "HEM14", 4, 6, 4, 0, 2, 0, 17, 12, 4, 3, 4, 1}, + {"HE", -28, 50, 2, "HEM14", 4, 18, 4, 1, 2, 1, 17, 12, 4, 3, 4, 1}, + {"HE", -28, 50, 3, "HEM14", 4, 14, 5, 0, 2, 4, 17, 12, 4, 4, 4, 1}, + {"HE", -28, 51, 1, "HEM14", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 51, 2, "HEM14", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 51, 3, "HEM14", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 52, 1, "HEM14", 1, 15, 4, 0, 2, 0, 17, 12, 5, 1, 4, 0}, + {"HE", -28, 52, 2, "HEM14", 1, 2, 4, 1, 2, 1, 17, 12, 5, 1, 4, 0}, + {"HE", -28, 52, 3, "HEM14", 1, 5, 5, 0, 2, 4, 17, 12, 5, 2, 4, 0}, + {"HE", -28, 53, 1, "HEM15", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 53, 2, "HEM15", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 53, 3, "HEM15", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 54, 1, "HEM15", 4, 6, 4, 0, 2, 0, 17, 12, 10, 3, 7, 1}, + {"HE", -28, 54, 2, "HEM15", 4, 18, 4, 1, 2, 1, 17, 12, 10, 3, 7, 1}, + {"HE", -28, 54, 3, "HEM15", 4, 14, 5, 0, 2, 4, 17, 12, 10, 4, 7, 1}, + {"HE", -28, 55, 1, "HEM15", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 55, 2, "HEM15", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 55, 3, "HEM15", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 56, 1, "HEM15", 1, 15, 4, 0, 2, 0, 17, 12, 11, 1, 7, 0}, + {"HE", -28, 56, 2, "HEM15", 1, 2, 4, 1, 2, 1, 17, 12, 11, 1, 7, 0}, + {"HE", -28, 56, 3, "HEM15", 1, 5, 5, 0, 2, 4, 17, 12, 11, 2, 7, 0}, + {"HE", -28, 57, 1, "HEM16", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 57, 2, "HEM16", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 57, 3, "HEM16", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 58, 1, "HEM16", 4, 6, 4, 0, 2, 0, 14, 14, 4, 3, 4, 1}, + {"HE", -28, 58, 2, "HEM16", 4, 18, 4, 1, 2, 1, 14, 14, 4, 3, 4, 1}, + {"HE", -28, 58, 3, "HEM16", 4, 14, 5, 0, 2, 4, 14, 14, 4, 4, 4, 1}, + {"HE", -28, 59, 1, "HEM16", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 59, 2, "HEM16", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 59, 3, "HEM16", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 60, 1, "HEM16", 1, 15, 4, 0, 2, 0, 14, 14, 5, 1, 4, 0}, + {"HE", -28, 60, 2, "HEM16", 1, 2, 4, 1, 2, 1, 14, 14, 5, 1, 4, 0}, + {"HE", -28, 60, 3, "HEM16", 1, 5, 5, 0, 2, 4, 14, 14, 5, 2, 4, 0}, + {"HE", -28, 61, 1, "HEM17", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 61, 2, "HEM17", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 61, 3, "HEM17", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 62, 1, "HEM17", 4, 6, 4, 0, 2, 0, 14, 14, 10, 3, 7, 1}, + {"HE", -28, 62, 2, "HEM17", 4, 18, 4, 1, 2, 1, 14, 14, 10, 3, 7, 1}, + {"HE", -28, 62, 3, "HEM17", 4, 14, 5, 0, 2, 4, 14, 14, 10, 4, 7, 1}, + {"HE", -28, 63, 1, "HEM17", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 63, 2, "HEM17", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 63, 3, "HEM17", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 64, 1, "HEM17", 1, 15, 4, 0, 2, 0, 14, 14, 11, 1, 7, 0}, + {"HE", -28, 64, 2, "HEM17", 1, 2, 4, 1, 2, 1, 14, 14, 11, 1, 7, 0}, + {"HE", -28, 64, 3, "HEM17", 1, 5, 5, 0, 2, 4, 14, 14, 11, 2, 7, 0}, + {"HE", -28, 65, 1, "HEM18", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 65, 2, "HEM18", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 65, 3, "HEM18", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 66, 1, "HEM18", 4, 6, 4, 0, 2, 0, 10, 16, 4, 3, 4, 1}, + {"HE", -28, 66, 2, "HEM18", 4, 18, 4, 1, 2, 1, 10, 16, 4, 3, 4, 1}, + {"HE", -28, 66, 3, "HEM18", 4, 14, 5, 0, 2, 4, 10, 16, 4, 4, 4, 1}, + {"HE", -28, 67, 1, "HEM18", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 67, 2, "HEM18", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 67, 3, "HEM18", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 68, 1, "HEM18", 1, 15, 4, 0, 2, 0, 10, 16, 5, 1, 4, 0}, + {"HE", -28, 68, 2, "HEM18", 1, 2, 4, 1, 2, 1, 10, 16, 5, 1, 4, 0}, + {"HE", -28, 68, 3, "HEM18", 1, 5, 5, 0, 2, 4, 10, 16, 5, 2, 4, 0}, + {"HE", -28, 69, 1, "HEM01", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 69, 2, "HEM01", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 69, 3, "HEM01", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -28, 70, 1, "HEM01", 4, 6, 4, 0, 2, 0, 10, 16, 10, 3, 7, 1}, + {"HE", -28, 70, 2, "HEM01", 4, 18, 4, 1, 2, 1, 10, 16, 10, 3, 7, 1}, + {"HE", -28, 70, 3, "HEM01", 4, 14, 5, 0, 2, 4, 10, 16, 10, 4, 7, 1}, + {"HE", -27, 0, 1, "HEM01", 2, 15, 4, 0, 2, 0, 10, 16, 11, 3, 7, 0}, + {"HE", -27, 0, 2, "HEM01", 2, 18, 4, 1, 2, 1, 10, 16, 11, 3, 7, 0}, + {"HE", -27, 0, 3, "HEM01", 2, 14, 5, 0, 2, 4, 10, 16, 11, 4, 7, 0}, + {"HE", -27, 1, 1, "HEM02", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 1, 2, "HEM02", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 1, 3, "HEM02", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 2, 1, "HEM02", 3, 6, 4, 0, 2, 0, 4, 0, 4, 1, 4, 1}, + {"HE", -27, 2, 2, "HEM02", 3, 2, 4, 1, 2, 1, 4, 0, 4, 1, 4, 1}, + {"HE", -27, 2, 3, "HEM02", 3, 5, 5, 0, 2, 4, 4, 0, 4, 2, 4, 1}, + {"HE", -27, 3, 1, "HEM02", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 3, 2, "HEM02", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 3, 3, "HEM02", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 4, 1, "HEM02", 2, 15, 4, 0, 2, 0, 4, 0, 5, 3, 4, 0}, + {"HE", -27, 4, 2, "HEM02", 2, 18, 4, 1, 2, 1, 4, 0, 5, 3, 4, 0}, + {"HE", -27, 4, 3, "HEM02", 2, 14, 5, 0, 2, 4, 4, 0, 5, 4, 4, 0}, + {"HE", -27, 5, 1, "HEM03", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 5, 2, "HEM03", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 5, 3, "HEM03", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 6, 1, "HEM03", 3, 6, 4, 0, 2, 0, 4, 0, 10, 1, 7, 1}, + {"HE", -27, 6, 2, "HEM03", 3, 2, 4, 1, 2, 1, 4, 0, 10, 1, 7, 1}, + {"HE", -27, 6, 3, "HEM03", 3, 5, 5, 0, 2, 4, 4, 0, 10, 2, 7, 1}, + {"HE", -27, 7, 1, "HEM03", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 7, 2, "HEM03", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 7, 3, "HEM03", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 8, 1, "HEM03", 2, 15, 4, 0, 2, 0, 4, 0, 11, 3, 7, 0}, + {"HE", -27, 8, 2, "HEM03", 2, 18, 4, 1, 2, 1, 4, 0, 11, 3, 7, 0}, + {"HE", -27, 8, 3, "HEM03", 2, 14, 5, 0, 2, 4, 4, 0, 11, 4, 7, 0}, + {"HE", -27, 9, 1, "HEM04", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 9, 2, "HEM04", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 9, 3, "HEM04", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 10, 1, "HEM04", 3, 6, 4, 0, 2, 0, 0, 2, 4, 1, 4, 1}, + {"HE", -27, 10, 2, "HEM04", 3, 2, 4, 1, 2, 1, 0, 2, 4, 1, 4, 1}, + {"HE", -27, 10, 3, "HEM04", 3, 5, 5, 0, 2, 4, 0, 2, 4, 2, 4, 1}, + {"HE", -27, 11, 1, "HEM04", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 11, 2, "HEM04", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 11, 3, "HEM04", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 12, 1, "HEM04", 2, 15, 4, 0, 2, 0, 0, 2, 5, 3, 4, 0}, + {"HE", -27, 12, 2, "HEM04", 2, 18, 4, 1, 2, 1, 0, 2, 5, 3, 4, 0}, + {"HE", -27, 12, 3, "HEM04", 2, 14, 5, 0, 2, 4, 0, 2, 5, 4, 4, 0}, + {"HE", -27, 13, 1, "HEM05", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 13, 2, "HEM05", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 13, 3, "HEM05", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 14, 1, "HEM05", 3, 6, 4, 0, 2, 0, 0, 2, 10, 1, 7, 1}, + {"HE", -27, 14, 2, "HEM05", 3, 2, 4, 1, 2, 1, 0, 2, 10, 1, 7, 1}, + {"HE", -27, 14, 3, "HEM05", 3, 5, 5, 0, 2, 4, 0, 2, 10, 2, 7, 1}, + {"HE", -27, 15, 1, "HEM05", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 15, 2, "HEM05", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 15, 3, "HEM05", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 16, 1, "HEM05", 2, 15, 4, 0, 2, 0, 0, 2, 11, 3, 7, 0}, + {"HE", -27, 16, 2, "HEM05", 2, 18, 4, 1, 2, 1, 0, 2, 11, 3, 7, 0}, + {"HE", -27, 16, 3, "HEM05", 2, 14, 5, 0, 2, 4, 0, 2, 11, 4, 7, 0}, + {"HE", -27, 17, 1, "HEM06", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 17, 2, "HEM06", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 17, 3, "HEM06", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 18, 1, "HEM06", 3, 6, 4, 0, 2, 0, 1, 4, 4, 1, 4, 1}, + {"HE", -27, 18, 2, "HEM06", 3, 2, 4, 1, 2, 1, 1, 4, 4, 1, 4, 1}, + {"HE", -27, 18, 3, "HEM06", 3, 5, 5, 0, 2, 4, 1, 4, 4, 2, 4, 1}, + {"HE", -27, 19, 1, "HEM06", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 19, 2, "HEM06", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 19, 3, "HEM06", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 20, 1, "HEM06", 2, 15, 4, 0, 2, 0, 1, 4, 5, 3, 4, 0}, + {"HE", -27, 20, 2, "HEM06", 2, 18, 4, 1, 2, 1, 1, 4, 5, 3, 4, 0}, + {"HE", -27, 20, 3, "HEM06", 2, 14, 5, 0, 2, 4, 1, 4, 5, 4, 4, 0}, + {"HE", -27, 21, 1, "HEM07", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 21, 2, "HEM07", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 21, 3, "HEM07", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 22, 1, "HEM07", 3, 6, 4, 0, 2, 0, 1, 4, 10, 1, 7, 1}, + {"HE", -27, 22, 2, "HEM07", 3, 2, 4, 1, 2, 1, 1, 4, 10, 1, 7, 1}, + {"HE", -27, 22, 3, "HEM07", 3, 5, 5, 0, 2, 4, 1, 4, 10, 2, 7, 1}, + {"HE", -27, 23, 1, "HEM07", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 23, 2, "HEM07", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 23, 3, "HEM07", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 24, 1, "HEM07", 2, 15, 4, 0, 2, 0, 1, 4, 11, 3, 7, 0}, + {"HE", -27, 24, 2, "HEM07", 2, 18, 4, 1, 2, 1, 1, 4, 11, 3, 7, 0}, + {"HE", -27, 24, 3, "HEM07", 2, 14, 5, 0, 2, 4, 1, 4, 11, 4, 7, 0}, + {"HE", -27, 25, 1, "HEM08", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 25, 2, "HEM08", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 25, 3, "HEM08", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 26, 1, "HEM08", 3, 6, 4, 0, 2, 0, 5, 6, 4, 1, 4, 1}, + {"HE", -27, 26, 2, "HEM08", 3, 2, 4, 1, 2, 1, 5, 6, 4, 1, 4, 1}, + {"HE", -27, 26, 3, "HEM08", 3, 5, 5, 0, 2, 4, 5, 6, 4, 2, 4, 1}, + {"HE", -27, 27, 1, "HEM08", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 27, 2, "HEM08", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 27, 3, "HEM08", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 28, 1, "HEM08", 2, 15, 4, 0, 2, 0, 5, 6, 5, 3, 4, 0}, + {"HE", -27, 28, 2, "HEM08", 2, 18, 4, 1, 2, 1, 5, 6, 5, 3, 4, 0}, + {"HE", -27, 28, 3, "HEM08", 2, 14, 5, 0, 2, 4, 5, 6, 5, 4, 4, 0}, + {"HE", -27, 29, 1, "HEM09", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 29, 2, "HEM09", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 29, 3, "HEM09", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 30, 1, "HEM09", 3, 6, 4, 0, 2, 0, 5, 6, 10, 1, 7, 1}, + {"HE", -27, 30, 2, "HEM09", 3, 2, 4, 1, 2, 1, 5, 6, 10, 1, 7, 1}, + {"HE", -27, 30, 3, "HEM09", 3, 5, 5, 0, 2, 4, 5, 6, 10, 2, 7, 1}, + {"HE", -27, 31, 1, "HEM09", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 31, 2, "HEM09", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 31, 3, "HEM09", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 32, 1, "HEM09", 2, 15, 4, 0, 2, 0, 5, 6, 11, 3, 7, 0}, + {"HE", -27, 32, 2, "HEM09", 2, 18, 4, 1, 2, 1, 5, 6, 11, 3, 7, 0}, + {"HE", -27, 32, 3, "HEM09", 2, 14, 5, 0, 2, 4, 5, 6, 11, 4, 7, 0}, + {"HE", -27, 33, 1, "HEM10", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 33, 2, "HEM10", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 33, 3, "HEM10", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 34, 1, "HEM10", 3, 6, 4, 0, 2, 0, 11, 8, 4, 1, 4, 1}, + {"HE", -27, 34, 2, "HEM10", 3, 2, 4, 1, 2, 1, 11, 8, 4, 1, 4, 1}, + {"HE", -27, 34, 3, "HEM10", 3, 5, 5, 0, 2, 4, 11, 8, 4, 2, 4, 1}, + {"HE", -27, 35, 1, "HEM10", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 35, 2, "HEM10", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 35, 3, "HEM10", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 36, 1, "HEM10", 2, 15, 4, 0, 2, 0, 11, 8, 5, 3, 4, 0}, + {"HE", -27, 36, 2, "HEM10", 2, 18, 4, 1, 2, 1, 11, 8, 5, 3, 4, 0}, + {"HE", -27, 36, 3, "HEM10", 2, 14, 5, 0, 2, 4, 11, 8, 5, 4, 4, 0}, + {"HE", -27, 37, 1, "HEM11", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 37, 2, "HEM11", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 37, 3, "HEM11", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 38, 1, "HEM11", 3, 6, 4, 0, 2, 0, 11, 8, 10, 1, 7, 1}, + {"HE", -27, 38, 2, "HEM11", 3, 2, 4, 1, 2, 1, 11, 8, 10, 1, 7, 1}, + {"HE", -27, 38, 3, "HEM11", 3, 5, 5, 0, 2, 4, 11, 8, 10, 2, 7, 1}, + {"HE", -27, 39, 1, "HEM11", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 39, 2, "HEM11", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 39, 3, "HEM11", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 40, 1, "HEM11", 2, 15, 4, 0, 2, 0, 11, 8, 11, 3, 7, 0}, + {"HE", -27, 40, 2, "HEM11", 2, 18, 4, 1, 2, 1, 11, 8, 11, 3, 7, 0}, + {"HE", -27, 40, 3, "HEM11", 2, 14, 5, 0, 2, 4, 11, 8, 11, 4, 7, 0}, + {"HE", -27, 41, 1, "HEM12", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 41, 2, "HEM12", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 41, 3, "HEM12", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 42, 1, "HEM12", 3, 6, 4, 0, 2, 0, 15, 10, 4, 1, 4, 1}, + {"HE", -27, 42, 2, "HEM12", 3, 2, 4, 1, 2, 1, 15, 10, 4, 1, 4, 1}, + {"HE", -27, 42, 3, "HEM12", 3, 5, 5, 0, 2, 4, 15, 10, 4, 2, 4, 1}, + {"HE", -27, 43, 1, "HEM12", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 43, 2, "HEM12", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 43, 3, "HEM12", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 44, 1, "HEM12", 2, 15, 4, 0, 2, 0, 15, 10, 5, 3, 4, 0}, + {"HE", -27, 44, 2, "HEM12", 2, 18, 4, 1, 2, 1, 15, 10, 5, 3, 4, 0}, + {"HE", -27, 44, 3, "HEM12", 2, 14, 5, 0, 2, 4, 15, 10, 5, 4, 4, 0}, + {"HE", -27, 45, 1, "HEM13", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 45, 2, "HEM13", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 45, 3, "HEM13", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 46, 1, "HEM13", 3, 6, 4, 0, 2, 0, 15, 10, 10, 1, 7, 1}, + {"HE", -27, 46, 2, "HEM13", 3, 2, 4, 1, 2, 1, 15, 10, 10, 1, 7, 1}, + {"HE", -27, 46, 3, "HEM13", 3, 5, 5, 0, 2, 4, 15, 10, 10, 2, 7, 1}, + {"HE", -27, 47, 1, "HEM13", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 47, 2, "HEM13", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 47, 3, "HEM13", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 48, 1, "HEM13", 2, 15, 4, 0, 2, 0, 15, 10, 11, 3, 7, 0}, + {"HE", -27, 48, 2, "HEM13", 2, 18, 4, 1, 2, 1, 15, 10, 11, 3, 7, 0}, + {"HE", -27, 48, 3, "HEM13", 2, 14, 5, 0, 2, 4, 15, 10, 11, 4, 7, 0}, + {"HE", -27, 49, 1, "HEM14", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 49, 2, "HEM14", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 49, 3, "HEM14", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 50, 1, "HEM14", 3, 6, 4, 0, 2, 0, 17, 12, 4, 1, 4, 1}, + {"HE", -27, 50, 2, "HEM14", 3, 2, 4, 1, 2, 1, 17, 12, 4, 1, 4, 1}, + {"HE", -27, 50, 3, "HEM14", 3, 5, 5, 0, 2, 4, 17, 12, 4, 2, 4, 1}, + {"HE", -27, 51, 1, "HEM14", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 51, 2, "HEM14", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 51, 3, "HEM14", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 52, 1, "HEM14", 2, 15, 4, 0, 2, 0, 17, 12, 5, 3, 4, 0}, + {"HE", -27, 52, 2, "HEM14", 2, 18, 4, 1, 2, 1, 17, 12, 5, 3, 4, 0}, + {"HE", -27, 52, 3, "HEM14", 2, 14, 5, 0, 2, 4, 17, 12, 5, 4, 4, 0}, + {"HE", -27, 53, 1, "HEM15", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 53, 2, "HEM15", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 53, 3, "HEM15", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 54, 1, "HEM15", 3, 6, 4, 0, 2, 0, 17, 12, 10, 1, 7, 1}, + {"HE", -27, 54, 2, "HEM15", 3, 2, 4, 1, 2, 1, 17, 12, 10, 1, 7, 1}, + {"HE", -27, 54, 3, "HEM15", 3, 5, 5, 0, 2, 4, 17, 12, 10, 2, 7, 1}, + {"HE", -27, 55, 1, "HEM15", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 55, 2, "HEM15", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 55, 3, "HEM15", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 56, 1, "HEM15", 2, 15, 4, 0, 2, 0, 17, 12, 11, 3, 7, 0}, + {"HE", -27, 56, 2, "HEM15", 2, 18, 4, 1, 2, 1, 17, 12, 11, 3, 7, 0}, + {"HE", -27, 56, 3, "HEM15", 2, 14, 5, 0, 2, 4, 17, 12, 11, 4, 7, 0}, + {"HE", -27, 57, 1, "HEM16", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 57, 2, "HEM16", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 57, 3, "HEM16", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 58, 1, "HEM16", 3, 6, 4, 0, 2, 0, 14, 14, 4, 1, 4, 1}, + {"HE", -27, 58, 2, "HEM16", 3, 2, 4, 1, 2, 1, 14, 14, 4, 1, 4, 1}, + {"HE", -27, 58, 3, "HEM16", 3, 5, 5, 0, 2, 4, 14, 14, 4, 2, 4, 1}, + {"HE", -27, 59, 1, "HEM16", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 59, 2, "HEM16", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 59, 3, "HEM16", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 60, 1, "HEM16", 2, 15, 4, 0, 2, 0, 14, 14, 5, 3, 4, 0}, + {"HE", -27, 60, 2, "HEM16", 2, 18, 4, 1, 2, 1, 14, 14, 5, 3, 4, 0}, + {"HE", -27, 60, 3, "HEM16", 2, 14, 5, 0, 2, 4, 14, 14, 5, 4, 4, 0}, + {"HE", -27, 61, 1, "HEM17", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 61, 2, "HEM17", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 61, 3, "HEM17", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 62, 1, "HEM17", 3, 6, 4, 0, 2, 0, 14, 14, 10, 1, 7, 1}, + {"HE", -27, 62, 2, "HEM17", 3, 2, 4, 1, 2, 1, 14, 14, 10, 1, 7, 1}, + {"HE", -27, 62, 3, "HEM17", 3, 5, 5, 0, 2, 4, 14, 14, 10, 2, 7, 1}, + {"HE", -27, 63, 1, "HEM17", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 63, 2, "HEM17", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 63, 3, "HEM17", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 64, 1, "HEM17", 2, 15, 4, 0, 2, 0, 14, 14, 11, 3, 7, 0}, + {"HE", -27, 64, 2, "HEM17", 2, 18, 4, 1, 2, 1, 14, 14, 11, 3, 7, 0}, + {"HE", -27, 64, 3, "HEM17", 2, 14, 5, 0, 2, 4, 14, 14, 11, 4, 7, 0}, + {"HE", -27, 65, 1, "HEM18", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 65, 2, "HEM18", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 65, 3, "HEM18", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 66, 1, "HEM18", 3, 6, 4, 0, 2, 0, 10, 16, 4, 1, 4, 1}, + {"HE", -27, 66, 2, "HEM18", 3, 2, 4, 1, 2, 1, 10, 16, 4, 1, 4, 1}, + {"HE", -27, 66, 3, "HEM18", 3, 5, 5, 0, 2, 4, 10, 16, 4, 2, 4, 1}, + {"HE", -27, 67, 1, "HEM18", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 67, 2, "HEM18", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 67, 3, "HEM18", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 68, 1, "HEM18", 2, 15, 4, 0, 2, 0, 10, 16, 5, 3, 4, 0}, + {"HE", -27, 68, 2, "HEM18", 2, 18, 4, 1, 2, 1, 10, 16, 5, 3, 4, 0}, + {"HE", -27, 68, 3, "HEM18", 2, 14, 5, 0, 2, 4, 10, 16, 5, 4, 4, 0}, + {"HE", -27, 69, 1, "HEM01", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 69, 2, "HEM01", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 69, 3, "HEM01", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -27, 70, 1, "HEM01", 3, 6, 4, 0, 2, 0, 10, 16, 10, 1, 7, 1}, + {"HE", -27, 70, 2, "HEM01", 3, 2, 4, 1, 2, 1, 10, 16, 10, 1, 7, 1}, + {"HE", -27, 70, 3, "HEM01", 3, 5, 5, 0, 2, 4, 10, 16, 10, 2, 7, 1}, + {"HE", -26, 0, 1, "HEM01", 1, 7, 2, 2, 1, 2, 10, 16, 9, 5, 6, 0}, + {"HE", -26, 0, 2, "HEM01", 1, 3, 3, 2, 1, 3, 10, 16, 9, 6, 6, 0}, + {"HE", -26, 0, 3, "HEM01", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 1, 1, "HEM02", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 1, 2, "HEM02", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 1, 3, "HEM02", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 2, 1, "HEM02", 4, 16, 2, 2, 1, 2, 4, 0, 2, 7, 3, 1}, + {"HE", -26, 2, 2, "HEM02", 4, 19, 3, 2, 1, 3, 4, 0, 2, 8, 3, 1}, + {"HE", -26, 2, 3, "HEM02", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 3, 1, "HEM02", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 3, 2, "HEM02", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 3, 3, "HEM02", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 4, 1, "HEM02", 1, 7, 2, 2, 1, 2, 4, 0, 3, 5, 3, 0}, + {"HE", -26, 4, 2, "HEM02", 1, 3, 3, 2, 1, 3, 4, 0, 3, 6, 3, 0}, + {"HE", -26, 4, 3, "HEM02", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 5, 1, "HEM03", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 5, 2, "HEM03", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 5, 3, "HEM03", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 6, 1, "HEM03", 4, 16, 2, 2, 1, 2, 4, 0, 8, 7, 6, 1}, + {"HE", -26, 6, 2, "HEM03", 4, 19, 3, 2, 1, 3, 4, 0, 8, 8, 6, 1}, + {"HE", -26, 6, 3, "HEM03", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 7, 1, "HEM03", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 7, 2, "HEM03", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 7, 3, "HEM03", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 8, 1, "HEM03", 1, 7, 2, 2, 1, 2, 4, 0, 9, 5, 6, 0}, + {"HE", -26, 8, 2, "HEM03", 1, 3, 3, 2, 1, 3, 4, 0, 9, 6, 6, 0}, + {"HE", -26, 8, 3, "HEM03", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 9, 1, "HEM04", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 9, 2, "HEM04", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 9, 3, "HEM04", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 10, 1, "HEM04", 4, 16, 2, 2, 1, 2, 0, 2, 2, 7, 3, 1}, + {"HE", -26, 10, 2, "HEM04", 4, 19, 3, 2, 1, 3, 0, 2, 2, 8, 3, 1}, + {"HE", -26, 10, 3, "HEM04", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 11, 1, "HEM04", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 11, 2, "HEM04", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 11, 3, "HEM04", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 12, 1, "HEM04", 1, 7, 2, 2, 1, 2, 0, 2, 3, 5, 3, 0}, + {"HE", -26, 12, 2, "HEM04", 1, 3, 3, 2, 1, 3, 0, 2, 3, 6, 3, 0}, + {"HE", -26, 12, 3, "HEM04", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 13, 1, "HEM05", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 13, 2, "HEM05", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 13, 3, "HEM05", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 14, 1, "HEM05", 4, 16, 2, 2, 1, 2, 0, 2, 8, 7, 6, 1}, + {"HE", -26, 14, 2, "HEM05", 4, 19, 3, 2, 1, 3, 0, 2, 8, 8, 6, 1}, + {"HE", -26, 14, 3, "HEM05", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 15, 1, "HEM05", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 15, 2, "HEM05", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 15, 3, "HEM05", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 16, 1, "HEM05", 1, 7, 2, 2, 1, 2, 0, 2, 9, 5, 6, 0}, + {"HE", -26, 16, 2, "HEM05", 1, 3, 3, 2, 1, 3, 0, 2, 9, 6, 6, 0}, + {"HE", -26, 16, 3, "HEM05", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 17, 1, "HEM06", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 17, 2, "HEM06", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 17, 3, "HEM06", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 18, 1, "HEM06", 4, 16, 2, 2, 1, 2, 1, 4, 2, 7, 3, 1}, + {"HE", -26, 18, 2, "HEM06", 4, 19, 3, 2, 1, 3, 1, 4, 2, 8, 3, 1}, + {"HE", -26, 18, 3, "HEM06", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 19, 1, "HEM06", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 19, 2, "HEM06", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 19, 3, "HEM06", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 20, 1, "HEM06", 1, 7, 2, 2, 1, 2, 1, 4, 3, 5, 3, 0}, + {"HE", -26, 20, 2, "HEM06", 1, 3, 3, 2, 1, 3, 1, 4, 3, 6, 3, 0}, + {"HE", -26, 20, 3, "HEM06", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 21, 1, "HEM07", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 21, 2, "HEM07", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 21, 3, "HEM07", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 22, 1, "HEM07", 4, 16, 2, 2, 1, 2, 1, 4, 8, 7, 6, 1}, + {"HE", -26, 22, 2, "HEM07", 4, 19, 3, 2, 1, 3, 1, 4, 8, 8, 6, 1}, + {"HE", -26, 22, 3, "HEM07", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 23, 1, "HEM07", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 23, 2, "HEM07", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 23, 3, "HEM07", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 24, 1, "HEM07", 1, 7, 2, 2, 1, 2, 1, 4, 9, 5, 6, 0}, + {"HE", -26, 24, 2, "HEM07", 1, 3, 3, 2, 1, 3, 1, 4, 9, 6, 6, 0}, + {"HE", -26, 24, 3, "HEM07", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 25, 1, "HEM08", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 25, 2, "HEM08", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 25, 3, "HEM08", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 26, 1, "HEM08", 4, 16, 2, 2, 1, 2, 5, 6, 2, 7, 3, 1}, + {"HE", -26, 26, 2, "HEM08", 4, 19, 3, 2, 1, 3, 5, 6, 2, 8, 3, 1}, + {"HE", -26, 26, 3, "HEM08", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 27, 1, "HEM08", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 27, 2, "HEM08", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 27, 3, "HEM08", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 28, 1, "HEM08", 1, 7, 2, 2, 1, 2, 5, 6, 3, 5, 3, 0}, + {"HE", -26, 28, 2, "HEM08", 1, 3, 3, 2, 1, 3, 5, 6, 3, 6, 3, 0}, + {"HE", -26, 28, 3, "HEM08", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 29, 1, "HEM09", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 29, 2, "HEM09", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 29, 3, "HEM09", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 30, 1, "HEM09", 4, 16, 2, 2, 1, 2, 5, 6, 8, 7, 6, 1}, + {"HE", -26, 30, 2, "HEM09", 4, 19, 3, 2, 1, 3, 5, 6, 8, 8, 6, 1}, + {"HE", -26, 30, 3, "HEM09", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 31, 1, "HEM09", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 31, 2, "HEM09", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 31, 3, "HEM09", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 32, 1, "HEM09", 1, 7, 2, 2, 1, 2, 5, 6, 9, 5, 6, 0}, + {"HE", -26, 32, 2, "HEM09", 1, 3, 3, 2, 1, 3, 5, 6, 9, 6, 6, 0}, + {"HE", -26, 32, 3, "HEM09", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 33, 1, "HEM10", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 33, 2, "HEM10", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 33, 3, "HEM10", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 34, 1, "HEM10", 4, 16, 2, 2, 1, 2, 11, 8, 2, 7, 3, 1}, + {"HE", -26, 34, 2, "HEM10", 4, 19, 3, 2, 1, 3, 11, 8, 2, 8, 3, 1}, + {"HE", -26, 34, 3, "HEM10", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 35, 1, "HEM10", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 35, 2, "HEM10", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 35, 3, "HEM10", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 36, 1, "HEM10", 1, 7, 2, 2, 1, 2, 11, 8, 3, 5, 3, 0}, + {"HE", -26, 36, 2, "HEM10", 1, 3, 3, 2, 1, 3, 11, 8, 3, 6, 3, 0}, + {"HE", -26, 36, 3, "HEM10", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 37, 1, "HEM11", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 37, 2, "HEM11", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 37, 3, "HEM11", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 38, 1, "HEM11", 4, 16, 2, 2, 1, 2, 11, 8, 8, 7, 6, 1}, + {"HE", -26, 38, 2, "HEM11", 4, 19, 3, 2, 1, 3, 11, 8, 8, 8, 6, 1}, + {"HE", -26, 38, 3, "HEM11", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 39, 1, "HEM11", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 39, 2, "HEM11", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 39, 3, "HEM11", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 40, 1, "HEM11", 1, 7, 2, 2, 1, 2, 11, 8, 9, 5, 6, 0}, + {"HE", -26, 40, 2, "HEM11", 1, 3, 3, 2, 1, 3, 11, 8, 9, 6, 6, 0}, + {"HE", -26, 40, 3, "HEM11", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 41, 1, "HEM12", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 41, 2, "HEM12", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 41, 3, "HEM12", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 42, 1, "HEM12", 4, 16, 2, 2, 1, 2, 15, 10, 2, 7, 3, 1}, + {"HE", -26, 42, 2, "HEM12", 4, 19, 3, 2, 1, 3, 15, 10, 2, 8, 3, 1}, + {"HE", -26, 42, 3, "HEM12", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 43, 1, "HEM12", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 43, 2, "HEM12", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 43, 3, "HEM12", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 44, 1, "HEM12", 1, 7, 2, 2, 1, 2, 15, 10, 3, 5, 3, 0}, + {"HE", -26, 44, 2, "HEM12", 1, 3, 3, 2, 1, 3, 15, 10, 3, 6, 3, 0}, + {"HE", -26, 44, 3, "HEM12", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 45, 1, "HEM13", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 45, 2, "HEM13", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 45, 3, "HEM13", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 46, 1, "HEM13", 4, 16, 2, 2, 1, 2, 15, 10, 8, 7, 6, 1}, + {"HE", -26, 46, 2, "HEM13", 4, 19, 3, 2, 1, 3, 15, 10, 8, 8, 6, 1}, + {"HE", -26, 46, 3, "HEM13", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 47, 1, "HEM13", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 47, 2, "HEM13", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 47, 3, "HEM13", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 48, 1, "HEM13", 1, 7, 2, 2, 1, 2, 15, 10, 9, 5, 6, 0}, + {"HE", -26, 48, 2, "HEM13", 1, 3, 3, 2, 1, 3, 15, 10, 9, 6, 6, 0}, + {"HE", -26, 48, 3, "HEM13", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 49, 1, "HEM14", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 49, 2, "HEM14", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 49, 3, "HEM14", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 50, 1, "HEM14", 4, 16, 2, 2, 1, 2, 17, 12, 2, 7, 3, 1}, + {"HE", -26, 50, 2, "HEM14", 4, 19, 3, 2, 1, 3, 17, 12, 2, 8, 3, 1}, + {"HE", -26, 50, 3, "HEM14", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 51, 1, "HEM14", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 51, 2, "HEM14", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 51, 3, "HEM14", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 52, 1, "HEM14", 1, 7, 2, 2, 1, 2, 17, 12, 3, 5, 3, 0}, + {"HE", -26, 52, 2, "HEM14", 1, 3, 3, 2, 1, 3, 17, 12, 3, 6, 3, 0}, + {"HE", -26, 52, 3, "HEM14", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 53, 1, "HEM15", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 53, 2, "HEM15", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 53, 3, "HEM15", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 54, 1, "HEM15", 4, 16, 2, 2, 1, 2, 17, 12, 8, 7, 6, 1}, + {"HE", -26, 54, 2, "HEM15", 4, 19, 3, 2, 1, 3, 17, 12, 8, 8, 6, 1}, + {"HE", -26, 54, 3, "HEM15", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 55, 1, "HEM15", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 55, 2, "HEM15", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 55, 3, "HEM15", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 56, 1, "HEM15", 1, 7, 2, 2, 1, 2, 17, 12, 9, 5, 6, 0}, + {"HE", -26, 56, 2, "HEM15", 1, 3, 3, 2, 1, 3, 17, 12, 9, 6, 6, 0}, + {"HE", -26, 56, 3, "HEM15", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 57, 1, "HEM16", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 57, 2, "HEM16", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 57, 3, "HEM16", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 58, 1, "HEM16", 4, 16, 2, 2, 1, 2, 14, 14, 2, 7, 3, 1}, + {"HE", -26, 58, 2, "HEM16", 4, 19, 3, 2, 1, 3, 14, 14, 2, 8, 3, 1}, + {"HE", -26, 58, 3, "HEM16", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 59, 1, "HEM16", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 59, 2, "HEM16", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 59, 3, "HEM16", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 60, 1, "HEM16", 1, 7, 2, 2, 1, 2, 14, 14, 3, 5, 3, 0}, + {"HE", -26, 60, 2, "HEM16", 1, 3, 3, 2, 1, 3, 14, 14, 3, 6, 3, 0}, + {"HE", -26, 60, 3, "HEM16", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 61, 1, "HEM17", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 61, 2, "HEM17", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 61, 3, "HEM17", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 62, 1, "HEM17", 4, 16, 2, 2, 1, 2, 14, 14, 8, 7, 6, 1}, + {"HE", -26, 62, 2, "HEM17", 4, 19, 3, 2, 1, 3, 14, 14, 8, 8, 6, 1}, + {"HE", -26, 62, 3, "HEM17", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 63, 1, "HEM17", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 63, 2, "HEM17", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 63, 3, "HEM17", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 64, 1, "HEM17", 1, 7, 2, 2, 1, 2, 14, 14, 9, 5, 6, 0}, + {"HE", -26, 64, 2, "HEM17", 1, 3, 3, 2, 1, 3, 14, 14, 9, 6, 6, 0}, + {"HE", -26, 64, 3, "HEM17", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 65, 1, "HEM18", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 65, 2, "HEM18", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 65, 3, "HEM18", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 66, 1, "HEM18", 4, 16, 2, 2, 1, 2, 10, 16, 2, 7, 3, 1}, + {"HE", -26, 66, 2, "HEM18", 4, 19, 3, 2, 1, 3, 10, 16, 2, 8, 3, 1}, + {"HE", -26, 66, 3, "HEM18", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 67, 1, "HEM18", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 67, 2, "HEM18", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 67, 3, "HEM18", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 68, 1, "HEM18", 1, 7, 2, 2, 1, 2, 10, 16, 3, 5, 3, 0}, + {"HE", -26, 68, 2, "HEM18", 1, 3, 3, 2, 1, 3, 10, 16, 3, 6, 3, 0}, + {"HE", -26, 68, 3, "HEM18", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 69, 1, "HEM01", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 69, 2, "HEM01", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 69, 3, "HEM01", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -26, 70, 1, "HEM01", 4, 16, 2, 2, 1, 2, 10, 16, 8, 7, 6, 1}, + {"HE", -26, 70, 2, "HEM01", 4, 19, 3, 2, 1, 3, 10, 16, 8, 8, 6, 1}, + {"HE", -26, 70, 3, "HEM01", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 0, 1, "HEM01", 2, 16, 2, 2, 1, 2, 10, 16, 9, 7, 6, 0}, + {"HE", -25, 0, 2, "HEM01", 2, 19, 3, 2, 1, 3, 10, 16, 9, 8, 6, 0}, + {"HE", -25, 0, 3, "HEM01", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 1, 1, "HEM02", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 1, 2, "HEM02", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 1, 3, "HEM02", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 2, 1, "HEM02", 3, 7, 2, 2, 1, 2, 4, 0, 2, 5, 3, 1}, + {"HE", -25, 2, 2, "HEM02", 3, 3, 3, 2, 1, 3, 4, 0, 2, 6, 3, 1}, + {"HE", -25, 2, 3, "HEM02", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 3, 1, "HEM02", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 3, 2, "HEM02", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 3, 3, "HEM02", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 4, 1, "HEM02", 2, 16, 2, 2, 1, 2, 4, 0, 3, 7, 3, 0}, + {"HE", -25, 4, 2, "HEM02", 2, 19, 3, 2, 1, 3, 4, 0, 3, 8, 3, 0}, + {"HE", -25, 4, 3, "HEM02", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 5, 1, "HEM03", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 5, 2, "HEM03", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 5, 3, "HEM03", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 6, 1, "HEM03", 3, 7, 2, 2, 1, 2, 4, 0, 8, 5, 6, 1}, + {"HE", -25, 6, 2, "HEM03", 3, 3, 3, 2, 1, 3, 4, 0, 8, 6, 6, 1}, + {"HE", -25, 6, 3, "HEM03", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 7, 1, "HEM03", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 7, 2, "HEM03", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 7, 3, "HEM03", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 8, 1, "HEM03", 2, 16, 2, 2, 1, 2, 4, 0, 9, 7, 6, 0}, + {"HE", -25, 8, 2, "HEM03", 2, 19, 3, 2, 1, 3, 4, 0, 9, 8, 6, 0}, + {"HE", -25, 8, 3, "HEM03", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 9, 1, "HEM04", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 9, 2, "HEM04", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 9, 3, "HEM04", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 10, 1, "HEM04", 3, 7, 2, 2, 1, 2, 0, 2, 2, 5, 3, 1}, + {"HE", -25, 10, 2, "HEM04", 3, 3, 3, 2, 1, 3, 0, 2, 2, 6, 3, 1}, + {"HE", -25, 10, 3, "HEM04", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 11, 1, "HEM04", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 11, 2, "HEM04", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 11, 3, "HEM04", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 12, 1, "HEM04", 2, 16, 2, 2, 1, 2, 0, 2, 3, 7, 3, 0}, + {"HE", -25, 12, 2, "HEM04", 2, 19, 3, 2, 1, 3, 0, 2, 3, 8, 3, 0}, + {"HE", -25, 12, 3, "HEM04", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 13, 1, "HEM05", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 13, 2, "HEM05", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 13, 3, "HEM05", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 14, 1, "HEM05", 3, 7, 2, 2, 1, 2, 0, 2, 8, 5, 6, 1}, + {"HE", -25, 14, 2, "HEM05", 3, 3, 3, 2, 1, 3, 0, 2, 8, 6, 6, 1}, + {"HE", -25, 14, 3, "HEM05", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 15, 1, "HEM05", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 15, 2, "HEM05", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 15, 3, "HEM05", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 16, 1, "HEM05", 2, 16, 2, 2, 1, 2, 0, 2, 9, 7, 6, 0}, + {"HE", -25, 16, 2, "HEM05", 2, 19, 3, 2, 1, 3, 0, 2, 9, 8, 6, 0}, + {"HE", -25, 16, 3, "HEM05", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 17, 1, "HEM06", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 17, 2, "HEM06", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 17, 3, "HEM06", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 18, 1, "HEM06", 3, 7, 2, 2, 1, 2, 1, 4, 2, 5, 3, 1}, + {"HE", -25, 18, 2, "HEM06", 3, 3, 3, 2, 1, 3, 1, 4, 2, 6, 3, 1}, + {"HE", -25, 18, 3, "HEM06", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 19, 1, "HEM06", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 19, 2, "HEM06", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 19, 3, "HEM06", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 20, 1, "HEM06", 2, 16, 2, 2, 1, 2, 1, 4, 3, 7, 3, 0}, + {"HE", -25, 20, 2, "HEM06", 2, 19, 3, 2, 1, 3, 1, 4, 3, 8, 3, 0}, + {"HE", -25, 20, 3, "HEM06", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 21, 1, "HEM07", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 21, 2, "HEM07", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 21, 3, "HEM07", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 22, 1, "HEM07", 3, 7, 2, 2, 1, 2, 1, 4, 8, 5, 6, 1}, + {"HE", -25, 22, 2, "HEM07", 3, 3, 3, 2, 1, 3, 1, 4, 8, 6, 6, 1}, + {"HE", -25, 22, 3, "HEM07", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 23, 1, "HEM07", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 23, 2, "HEM07", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 23, 3, "HEM07", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 24, 1, "HEM07", 2, 16, 2, 2, 1, 2, 1, 4, 9, 7, 6, 0}, + {"HE", -25, 24, 2, "HEM07", 2, 19, 3, 2, 1, 3, 1, 4, 9, 8, 6, 0}, + {"HE", -25, 24, 3, "HEM07", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 25, 1, "HEM08", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 25, 2, "HEM08", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 25, 3, "HEM08", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 26, 1, "HEM08", 3, 7, 2, 2, 1, 2, 5, 6, 2, 5, 3, 1}, + {"HE", -25, 26, 2, "HEM08", 3, 3, 3, 2, 1, 3, 5, 6, 2, 6, 3, 1}, + {"HE", -25, 26, 3, "HEM08", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 27, 1, "HEM08", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 27, 2, "HEM08", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 27, 3, "HEM08", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 28, 1, "HEM08", 2, 16, 2, 2, 1, 2, 5, 6, 3, 7, 3, 0}, + {"HE", -25, 28, 2, "HEM08", 2, 19, 3, 2, 1, 3, 5, 6, 3, 8, 3, 0}, + {"HE", -25, 28, 3, "HEM08", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 29, 1, "HEM09", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 29, 2, "HEM09", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 29, 3, "HEM09", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 30, 1, "HEM09", 3, 7, 2, 2, 1, 2, 5, 6, 8, 5, 6, 1}, + {"HE", -25, 30, 2, "HEM09", 3, 3, 3, 2, 1, 3, 5, 6, 8, 6, 6, 1}, + {"HE", -25, 30, 3, "HEM09", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 31, 1, "HEM09", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 31, 2, "HEM09", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 31, 3, "HEM09", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 32, 1, "HEM09", 2, 16, 2, 2, 1, 2, 5, 6, 9, 7, 6, 0}, + {"HE", -25, 32, 2, "HEM09", 2, 19, 3, 2, 1, 3, 5, 6, 9, 8, 6, 0}, + {"HE", -25, 32, 3, "HEM09", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 33, 1, "HEM10", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 33, 2, "HEM10", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 33, 3, "HEM10", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 34, 1, "HEM10", 3, 7, 2, 2, 1, 2, 11, 8, 2, 5, 3, 1}, + {"HE", -25, 34, 2, "HEM10", 3, 3, 3, 2, 1, 3, 11, 8, 2, 6, 3, 1}, + {"HE", -25, 34, 3, "HEM10", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 35, 1, "HEM10", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 35, 2, "HEM10", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 35, 3, "HEM10", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 36, 1, "HEM10", 2, 16, 2, 2, 1, 2, 11, 8, 3, 7, 3, 0}, + {"HE", -25, 36, 2, "HEM10", 2, 19, 3, 2, 1, 3, 11, 8, 3, 8, 3, 0}, + {"HE", -25, 36, 3, "HEM10", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 37, 1, "HEM11", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 37, 2, "HEM11", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 37, 3, "HEM11", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 38, 1, "HEM11", 3, 7, 2, 2, 1, 2, 11, 8, 8, 5, 6, 1}, + {"HE", -25, 38, 2, "HEM11", 3, 3, 3, 2, 1, 3, 11, 8, 8, 6, 6, 1}, + {"HE", -25, 38, 3, "HEM11", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 39, 1, "HEM11", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 39, 2, "HEM11", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 39, 3, "HEM11", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 40, 1, "HEM11", 2, 16, 2, 2, 1, 2, 11, 8, 9, 7, 6, 0}, + {"HE", -25, 40, 2, "HEM11", 2, 19, 3, 2, 1, 3, 11, 8, 9, 8, 6, 0}, + {"HE", -25, 40, 3, "HEM11", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 41, 1, "HEM12", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 41, 2, "HEM12", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 41, 3, "HEM12", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 42, 1, "HEM12", 3, 7, 2, 2, 1, 2, 15, 10, 2, 5, 3, 1}, + {"HE", -25, 42, 2, "HEM12", 3, 3, 3, 2, 1, 3, 15, 10, 2, 6, 3, 1}, + {"HE", -25, 42, 3, "HEM12", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 43, 1, "HEM12", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 43, 2, "HEM12", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 43, 3, "HEM12", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 44, 1, "HEM12", 2, 16, 2, 2, 1, 2, 15, 10, 3, 7, 3, 0}, + {"HE", -25, 44, 2, "HEM12", 2, 19, 3, 2, 1, 3, 15, 10, 3, 8, 3, 0}, + {"HE", -25, 44, 3, "HEM12", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 45, 1, "HEM13", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 45, 2, "HEM13", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 45, 3, "HEM13", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 46, 1, "HEM13", 3, 7, 2, 2, 1, 2, 15, 10, 8, 5, 6, 1}, + {"HE", -25, 46, 2, "HEM13", 3, 3, 3, 2, 1, 3, 15, 10, 8, 6, 6, 1}, + {"HE", -25, 46, 3, "HEM13", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 47, 1, "HEM13", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 47, 2, "HEM13", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 47, 3, "HEM13", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 48, 1, "HEM13", 2, 16, 2, 2, 1, 2, 15, 10, 9, 7, 6, 0}, + {"HE", -25, 48, 2, "HEM13", 2, 19, 3, 2, 1, 3, 15, 10, 9, 8, 6, 0}, + {"HE", -25, 48, 3, "HEM13", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 49, 1, "HEM14", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 49, 2, "HEM14", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 49, 3, "HEM14", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 50, 1, "HEM14", 3, 7, 2, 2, 1, 2, 17, 12, 2, 5, 3, 1}, + {"HE", -25, 50, 2, "HEM14", 3, 3, 3, 2, 1, 3, 17, 12, 2, 6, 3, 1}, + {"HE", -25, 50, 3, "HEM14", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 51, 1, "HEM14", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 51, 2, "HEM14", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 51, 3, "HEM14", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 52, 1, "HEM14", 2, 16, 2, 2, 1, 2, 17, 12, 3, 7, 3, 0}, + {"HE", -25, 52, 2, "HEM14", 2, 19, 3, 2, 1, 3, 17, 12, 3, 8, 3, 0}, + {"HE", -25, 52, 3, "HEM14", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 53, 1, "HEM15", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 53, 2, "HEM15", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 53, 3, "HEM15", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 54, 1, "HEM15", 3, 7, 2, 2, 1, 2, 17, 12, 8, 5, 6, 1}, + {"HE", -25, 54, 2, "HEM15", 3, 3, 3, 2, 1, 3, 17, 12, 8, 6, 6, 1}, + {"HE", -25, 54, 3, "HEM15", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 55, 1, "HEM15", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 55, 2, "HEM15", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 55, 3, "HEM15", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 56, 1, "HEM15", 2, 16, 2, 2, 1, 2, 17, 12, 9, 7, 6, 0}, + {"HE", -25, 56, 2, "HEM15", 2, 19, 3, 2, 1, 3, 17, 12, 9, 8, 6, 0}, + {"HE", -25, 56, 3, "HEM15", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 57, 1, "HEM16", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 57, 2, "HEM16", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 57, 3, "HEM16", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 58, 1, "HEM16", 3, 7, 2, 2, 1, 2, 14, 14, 2, 5, 3, 1}, + {"HE", -25, 58, 2, "HEM16", 3, 3, 3, 2, 1, 3, 14, 14, 2, 6, 3, 1}, + {"HE", -25, 58, 3, "HEM16", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 59, 1, "HEM16", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 59, 2, "HEM16", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 59, 3, "HEM16", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 60, 1, "HEM16", 2, 16, 2, 2, 1, 2, 14, 14, 3, 7, 3, 0}, + {"HE", -25, 60, 2, "HEM16", 2, 19, 3, 2, 1, 3, 14, 14, 3, 8, 3, 0}, + {"HE", -25, 60, 3, "HEM16", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 61, 1, "HEM17", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 61, 2, "HEM17", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 61, 3, "HEM17", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 62, 1, "HEM17", 3, 7, 2, 2, 1, 2, 14, 14, 8, 5, 6, 1}, + {"HE", -25, 62, 2, "HEM17", 3, 3, 3, 2, 1, 3, 14, 14, 8, 6, 6, 1}, + {"HE", -25, 62, 3, "HEM17", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 63, 1, "HEM17", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 63, 2, "HEM17", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 63, 3, "HEM17", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 64, 1, "HEM17", 2, 16, 2, 2, 1, 2, 14, 14, 9, 7, 6, 0}, + {"HE", -25, 64, 2, "HEM17", 2, 19, 3, 2, 1, 3, 14, 14, 9, 8, 6, 0}, + {"HE", -25, 64, 3, "HEM17", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 65, 1, "HEM18", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 65, 2, "HEM18", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 65, 3, "HEM18", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 66, 1, "HEM18", 3, 7, 2, 2, 1, 2, 10, 16, 2, 5, 3, 1}, + {"HE", -25, 66, 2, "HEM18", 3, 3, 3, 2, 1, 3, 10, 16, 2, 6, 3, 1}, + {"HE", -25, 66, 3, "HEM18", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 67, 1, "HEM18", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 67, 2, "HEM18", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 67, 3, "HEM18", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 68, 1, "HEM18", 2, 16, 2, 2, 1, 2, 10, 16, 3, 7, 3, 0}, + {"HE", -25, 68, 2, "HEM18", 2, 19, 3, 2, 1, 3, 10, 16, 3, 8, 3, 0}, + {"HE", -25, 68, 3, "HEM18", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 69, 1, "HEM01", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 69, 2, "HEM01", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 69, 3, "HEM01", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -25, 70, 1, "HEM01", 3, 7, 2, 2, 1, 2, 10, 16, 8, 5, 6, 1}, + {"HE", -25, 70, 2, "HEM01", 3, 3, 3, 2, 1, 3, 10, 16, 8, 6, 6, 1}, + {"HE", -25, 70, 3, "HEM01", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 0, 1, "HEM01", 1, 18, 5, 2, 2, 3, 10, 16, 11, 2, 7, 0}, + {"HE", -24, 0, 2, "HEM01", 1, 14, 5, 1, 2, 5, 10, 16, 11, 2, 7, 0}, + {"HE", -24, 0, 3, "HEM01", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 1, 1, "HEM02", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 1, 2, "HEM02", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 1, 3, "HEM02", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 2, 1, "HEM02", 4, 2, 5, 2, 2, 3, 4, 0, 4, 4, 4, 1}, + {"HE", -24, 2, 2, "HEM02", 4, 5, 5, 1, 2, 5, 4, 0, 4, 4, 4, 1}, + {"HE", -24, 2, 3, "HEM02", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 3, 1, "HEM02", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 3, 2, "HEM02", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 3, 3, "HEM02", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 4, 1, "HEM02", 1, 18, 5, 2, 2, 3, 4, 0, 5, 2, 4, 0}, + {"HE", -24, 4, 2, "HEM02", 1, 14, 5, 1, 2, 5, 4, 0, 5, 2, 4, 0}, + {"HE", -24, 4, 3, "HEM02", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 5, 1, "HEM03", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 5, 2, "HEM03", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 5, 3, "HEM03", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 6, 1, "HEM03", 4, 2, 5, 2, 2, 3, 4, 0, 10, 4, 7, 1}, + {"HE", -24, 6, 2, "HEM03", 4, 5, 5, 1, 2, 5, 4, 0, 10, 4, 7, 1}, + {"HE", -24, 6, 3, "HEM03", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 7, 1, "HEM03", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 7, 2, "HEM03", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 7, 3, "HEM03", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 8, 1, "HEM03", 1, 18, 5, 2, 2, 3, 4, 0, 11, 2, 7, 0}, + {"HE", -24, 8, 2, "HEM03", 1, 14, 5, 1, 2, 5, 4, 0, 11, 2, 7, 0}, + {"HE", -24, 8, 3, "HEM03", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 9, 1, "HEM04", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 9, 2, "HEM04", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 9, 3, "HEM04", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 10, 1, "HEM04", 4, 2, 5, 2, 2, 3, 0, 2, 4, 4, 4, 1}, + {"HE", -24, 10, 2, "HEM04", 4, 5, 5, 1, 2, 5, 0, 2, 4, 4, 4, 1}, + {"HE", -24, 10, 3, "HEM04", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 11, 1, "HEM04", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 11, 2, "HEM04", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 11, 3, "HEM04", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 12, 1, "HEM04", 1, 18, 5, 2, 2, 3, 0, 2, 5, 2, 4, 0}, + {"HE", -24, 12, 2, "HEM04", 1, 14, 5, 1, 2, 5, 0, 2, 5, 2, 4, 0}, + {"HE", -24, 12, 3, "HEM04", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 13, 1, "HEM05", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 13, 2, "HEM05", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 13, 3, "HEM05", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 14, 1, "HEM05", 4, 2, 5, 2, 2, 3, 0, 2, 10, 4, 7, 1}, + {"HE", -24, 14, 2, "HEM05", 4, 5, 5, 1, 2, 5, 0, 2, 10, 4, 7, 1}, + {"HE", -24, 14, 3, "HEM05", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 15, 1, "HEM05", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 15, 2, "HEM05", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 15, 3, "HEM05", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 16, 1, "HEM05", 1, 18, 5, 2, 2, 3, 0, 2, 11, 2, 7, 0}, + {"HE", -24, 16, 2, "HEM05", 1, 14, 5, 1, 2, 5, 0, 2, 11, 2, 7, 0}, + {"HE", -24, 16, 3, "HEM05", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 17, 1, "HEM06", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 17, 2, "HEM06", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 17, 3, "HEM06", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 18, 1, "HEM06", 4, 2, 5, 2, 2, 3, 1, 4, 4, 4, 4, 1}, + {"HE", -24, 18, 2, "HEM06", 4, 5, 5, 1, 2, 5, 1, 4, 4, 4, 4, 1}, + {"HE", -24, 18, 3, "HEM06", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 19, 1, "HEM06", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 19, 2, "HEM06", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 19, 3, "HEM06", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 20, 1, "HEM06", 1, 18, 5, 2, 2, 3, 1, 4, 5, 2, 4, 0}, + {"HE", -24, 20, 2, "HEM06", 1, 14, 5, 1, 2, 5, 1, 4, 5, 2, 4, 0}, + {"HE", -24, 20, 3, "HEM06", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 21, 1, "HEM07", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 21, 2, "HEM07", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 21, 3, "HEM07", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 22, 1, "HEM07", 4, 2, 5, 2, 2, 3, 1, 4, 10, 4, 7, 1}, + {"HE", -24, 22, 2, "HEM07", 4, 5, 5, 1, 2, 5, 1, 4, 10, 4, 7, 1}, + {"HE", -24, 22, 3, "HEM07", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 23, 1, "HEM07", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 23, 2, "HEM07", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 23, 3, "HEM07", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 24, 1, "HEM07", 1, 18, 5, 2, 2, 3, 1, 4, 11, 2, 7, 0}, + {"HE", -24, 24, 2, "HEM07", 1, 14, 5, 1, 2, 5, 1, 4, 11, 2, 7, 0}, + {"HE", -24, 24, 3, "HEM07", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 25, 1, "HEM08", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 25, 2, "HEM08", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 25, 3, "HEM08", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 26, 1, "HEM08", 4, 2, 5, 2, 2, 3, 5, 6, 4, 4, 4, 1}, + {"HE", -24, 26, 2, "HEM08", 4, 5, 5, 1, 2, 5, 5, 6, 4, 4, 4, 1}, + {"HE", -24, 26, 3, "HEM08", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 27, 1, "HEM08", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 27, 2, "HEM08", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 27, 3, "HEM08", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 28, 1, "HEM08", 1, 18, 5, 2, 2, 3, 5, 6, 5, 2, 4, 0}, + {"HE", -24, 28, 2, "HEM08", 1, 14, 5, 1, 2, 5, 5, 6, 5, 2, 4, 0}, + {"HE", -24, 28, 3, "HEM08", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 29, 1, "HEM09", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 29, 2, "HEM09", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 29, 3, "HEM09", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 30, 1, "HEM09", 4, 2, 5, 2, 2, 3, 5, 6, 10, 4, 7, 1}, + {"HE", -24, 30, 2, "HEM09", 4, 5, 5, 1, 2, 5, 5, 6, 10, 4, 7, 1}, + {"HE", -24, 30, 3, "HEM09", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 31, 1, "HEM09", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 31, 2, "HEM09", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 31, 3, "HEM09", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 32, 1, "HEM09", 1, 18, 5, 2, 2, 3, 5, 6, 11, 2, 7, 0}, + {"HE", -24, 32, 2, "HEM09", 1, 14, 5, 1, 2, 5, 5, 6, 11, 2, 7, 0}, + {"HE", -24, 32, 3, "HEM09", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 33, 1, "HEM10", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 33, 2, "HEM10", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 33, 3, "HEM10", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 34, 1, "HEM10", 4, 2, 5, 2, 2, 3, 11, 8, 4, 4, 4, 1}, + {"HE", -24, 34, 2, "HEM10", 4, 5, 5, 1, 2, 5, 11, 8, 4, 4, 4, 1}, + {"HE", -24, 34, 3, "HEM10", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 35, 1, "HEM10", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 35, 2, "HEM10", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 35, 3, "HEM10", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 36, 1, "HEM10", 1, 18, 5, 2, 2, 3, 11, 8, 5, 2, 4, 0}, + {"HE", -24, 36, 2, "HEM10", 1, 14, 5, 1, 2, 5, 11, 8, 5, 2, 4, 0}, + {"HE", -24, 36, 3, "HEM10", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 37, 1, "HEM11", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 37, 2, "HEM11", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 37, 3, "HEM11", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 38, 1, "HEM11", 4, 2, 5, 2, 2, 3, 11, 8, 10, 4, 7, 1}, + {"HE", -24, 38, 2, "HEM11", 4, 5, 5, 1, 2, 5, 11, 8, 10, 4, 7, 1}, + {"HE", -24, 38, 3, "HEM11", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 39, 1, "HEM11", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 39, 2, "HEM11", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 39, 3, "HEM11", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 40, 1, "HEM11", 1, 18, 5, 2, 2, 3, 11, 8, 11, 2, 7, 0}, + {"HE", -24, 40, 2, "HEM11", 1, 14, 5, 1, 2, 5, 11, 8, 11, 2, 7, 0}, + {"HE", -24, 40, 3, "HEM11", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 41, 1, "HEM12", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 41, 2, "HEM12", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 41, 3, "HEM12", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 42, 1, "HEM12", 4, 2, 5, 2, 2, 3, 15, 10, 4, 4, 4, 1}, + {"HE", -24, 42, 2, "HEM12", 4, 5, 5, 1, 2, 5, 15, 10, 4, 4, 4, 1}, + {"HE", -24, 42, 3, "HEM12", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 43, 1, "HEM12", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 43, 2, "HEM12", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 43, 3, "HEM12", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 44, 1, "HEM12", 1, 18, 5, 2, 2, 3, 15, 10, 5, 2, 4, 0}, + {"HE", -24, 44, 2, "HEM12", 1, 14, 5, 1, 2, 5, 15, 10, 5, 2, 4, 0}, + {"HE", -24, 44, 3, "HEM12", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 45, 1, "HEM13", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 45, 2, "HEM13", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 45, 3, "HEM13", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 46, 1, "HEM13", 4, 2, 5, 2, 2, 3, 15, 10, 10, 4, 7, 1}, + {"HE", -24, 46, 2, "HEM13", 4, 5, 5, 1, 2, 5, 15, 10, 10, 4, 7, 1}, + {"HE", -24, 46, 3, "HEM13", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 47, 1, "HEM13", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 47, 2, "HEM13", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 47, 3, "HEM13", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 48, 1, "HEM13", 1, 18, 5, 2, 2, 3, 15, 10, 11, 2, 7, 0}, + {"HE", -24, 48, 2, "HEM13", 1, 14, 5, 1, 2, 5, 15, 10, 11, 2, 7, 0}, + {"HE", -24, 48, 3, "HEM13", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 49, 1, "HEM14", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 49, 2, "HEM14", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 49, 3, "HEM14", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 50, 1, "HEM14", 4, 2, 5, 2, 2, 3, 17, 12, 4, 4, 4, 1}, + {"HE", -24, 50, 2, "HEM14", 4, 5, 5, 1, 2, 5, 17, 12, 4, 4, 4, 1}, + {"HE", -24, 50, 3, "HEM14", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 51, 1, "HEM14", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 51, 2, "HEM14", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 51, 3, "HEM14", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 52, 1, "HEM14", 1, 18, 5, 2, 2, 3, 17, 12, 5, 2, 4, 0}, + {"HE", -24, 52, 2, "HEM14", 1, 14, 5, 1, 2, 5, 17, 12, 5, 2, 4, 0}, + {"HE", -24, 52, 3, "HEM14", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 53, 1, "HEM15", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 53, 2, "HEM15", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 53, 3, "HEM15", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 54, 1, "HEM15", 4, 2, 5, 2, 2, 3, 17, 12, 10, 4, 7, 1}, + {"HE", -24, 54, 2, "HEM15", 4, 5, 5, 1, 2, 5, 17, 12, 10, 4, 7, 1}, + {"HE", -24, 54, 3, "HEM15", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 55, 1, "HEM15", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 55, 2, "HEM15", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 55, 3, "HEM15", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 56, 1, "HEM15", 1, 18, 5, 2, 2, 3, 17, 12, 11, 2, 7, 0}, + {"HE", -24, 56, 2, "HEM15", 1, 14, 5, 1, 2, 5, 17, 12, 11, 2, 7, 0}, + {"HE", -24, 56, 3, "HEM15", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 57, 1, "HEM16", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 57, 2, "HEM16", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 57, 3, "HEM16", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 58, 1, "HEM16", 4, 2, 5, 2, 2, 3, 14, 14, 4, 4, 4, 1}, + {"HE", -24, 58, 2, "HEM16", 4, 5, 5, 1, 2, 5, 14, 14, 4, 4, 4, 1}, + {"HE", -24, 58, 3, "HEM16", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 59, 1, "HEM16", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 59, 2, "HEM16", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 59, 3, "HEM16", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 60, 1, "HEM16", 1, 18, 5, 2, 2, 3, 14, 14, 5, 2, 4, 0}, + {"HE", -24, 60, 2, "HEM16", 1, 14, 5, 1, 2, 5, 14, 14, 5, 2, 4, 0}, + {"HE", -24, 60, 3, "HEM16", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 61, 1, "HEM17", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 61, 2, "HEM17", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 61, 3, "HEM17", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 62, 1, "HEM17", 4, 2, 5, 2, 2, 3, 14, 14, 10, 4, 7, 1}, + {"HE", -24, 62, 2, "HEM17", 4, 5, 5, 1, 2, 5, 14, 14, 10, 4, 7, 1}, + {"HE", -24, 62, 3, "HEM17", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 63, 1, "HEM17", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 63, 2, "HEM17", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 63, 3, "HEM17", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 64, 1, "HEM17", 1, 18, 5, 2, 2, 3, 14, 14, 11, 2, 7, 0}, + {"HE", -24, 64, 2, "HEM17", 1, 14, 5, 1, 2, 5, 14, 14, 11, 2, 7, 0}, + {"HE", -24, 64, 3, "HEM17", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 65, 1, "HEM18", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 65, 2, "HEM18", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 65, 3, "HEM18", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 66, 1, "HEM18", 4, 2, 5, 2, 2, 3, 10, 16, 4, 4, 4, 1}, + {"HE", -24, 66, 2, "HEM18", 4, 5, 5, 1, 2, 5, 10, 16, 4, 4, 4, 1}, + {"HE", -24, 66, 3, "HEM18", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 67, 1, "HEM18", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 67, 2, "HEM18", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 67, 3, "HEM18", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 68, 1, "HEM18", 1, 18, 5, 2, 2, 3, 10, 16, 5, 2, 4, 0}, + {"HE", -24, 68, 2, "HEM18", 1, 14, 5, 1, 2, 5, 10, 16, 5, 2, 4, 0}, + {"HE", -24, 68, 3, "HEM18", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 69, 1, "HEM01", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 69, 2, "HEM01", 4, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 69, 3, "HEM01", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -24, 70, 1, "HEM01", 4, 2, 5, 2, 2, 3, 10, 16, 10, 4, 7, 1}, + {"HE", -24, 70, 2, "HEM01", 4, 5, 5, 1, 2, 5, 10, 16, 10, 4, 7, 1}, + {"HE", -24, 70, 3, "HEM01", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 0, 1, "HEM01", 2, 2, 5, 2, 2, 3, 10, 16, 11, 4, 7, 0}, + {"HE", -23, 0, 2, "HEM01", 2, 5, 5, 1, 2, 5, 10, 16, 11, 4, 7, 0}, + {"HE", -23, 0, 3, "HEM01", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 1, 1, "HEM02", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 1, 2, "HEM02", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 1, 3, "HEM02", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 2, 1, "HEM02", 3, 18, 5, 2, 2, 3, 4, 0, 4, 2, 4, 1}, + {"HE", -23, 2, 2, "HEM02", 3, 14, 5, 1, 2, 5, 4, 0, 4, 2, 4, 1}, + {"HE", -23, 2, 3, "HEM02", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 3, 1, "HEM02", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 3, 2, "HEM02", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 3, 3, "HEM02", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 4, 1, "HEM02", 2, 2, 5, 2, 2, 3, 4, 0, 5, 4, 4, 0}, + {"HE", -23, 4, 2, "HEM02", 2, 5, 5, 1, 2, 5, 4, 0, 5, 4, 4, 0}, + {"HE", -23, 4, 3, "HEM02", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 5, 1, "HEM03", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 5, 2, "HEM03", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 5, 3, "HEM03", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 6, 1, "HEM03", 3, 18, 5, 2, 2, 3, 4, 0, 10, 2, 7, 1}, + {"HE", -23, 6, 2, "HEM03", 3, 14, 5, 1, 2, 5, 4, 0, 10, 2, 7, 1}, + {"HE", -23, 6, 3, "HEM03", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 7, 1, "HEM03", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 7, 2, "HEM03", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 7, 3, "HEM03", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 8, 1, "HEM03", 2, 2, 5, 2, 2, 3, 4, 0, 11, 4, 7, 0}, + {"HE", -23, 8, 2, "HEM03", 2, 5, 5, 1, 2, 5, 4, 0, 11, 4, 7, 0}, + {"HE", -23, 8, 3, "HEM03", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 9, 1, "HEM04", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 9, 2, "HEM04", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 9, 3, "HEM04", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 10, 1, "HEM04", 3, 18, 5, 2, 2, 3, 0, 2, 4, 2, 4, 1}, + {"HE", -23, 10, 2, "HEM04", 3, 14, 5, 1, 2, 5, 0, 2, 4, 2, 4, 1}, + {"HE", -23, 10, 3, "HEM04", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 11, 1, "HEM04", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 11, 2, "HEM04", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 11, 3, "HEM04", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 12, 1, "HEM04", 2, 2, 5, 2, 2, 3, 0, 2, 5, 4, 4, 0}, + {"HE", -23, 12, 2, "HEM04", 2, 5, 5, 1, 2, 5, 0, 2, 5, 4, 4, 0}, + {"HE", -23, 12, 3, "HEM04", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 13, 1, "HEM05", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 13, 2, "HEM05", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 13, 3, "HEM05", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 14, 1, "HEM05", 3, 18, 5, 2, 2, 3, 0, 2, 10, 2, 7, 1}, + {"HE", -23, 14, 2, "HEM05", 3, 14, 5, 1, 2, 5, 0, 2, 10, 2, 7, 1}, + {"HE", -23, 14, 3, "HEM05", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 15, 1, "HEM05", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 15, 2, "HEM05", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 15, 3, "HEM05", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 16, 1, "HEM05", 2, 2, 5, 2, 2, 3, 0, 2, 11, 4, 7, 0}, + {"HE", -23, 16, 2, "HEM05", 2, 5, 5, 1, 2, 5, 0, 2, 11, 4, 7, 0}, + {"HE", -23, 16, 3, "HEM05", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 17, 1, "HEM06", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 17, 2, "HEM06", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 17, 3, "HEM06", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 18, 1, "HEM06", 3, 18, 5, 2, 2, 3, 1, 4, 4, 2, 4, 1}, + {"HE", -23, 18, 2, "HEM06", 3, 14, 5, 1, 2, 5, 1, 4, 4, 2, 4, 1}, + {"HE", -23, 18, 3, "HEM06", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 19, 1, "HEM06", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 19, 2, "HEM06", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 19, 3, "HEM06", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 20, 1, "HEM06", 2, 2, 5, 2, 2, 3, 1, 4, 5, 4, 4, 0}, + {"HE", -23, 20, 2, "HEM06", 2, 5, 5, 1, 2, 5, 1, 4, 5, 4, 4, 0}, + {"HE", -23, 20, 3, "HEM06", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 21, 1, "HEM07", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 21, 2, "HEM07", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 21, 3, "HEM07", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 22, 1, "HEM07", 3, 18, 5, 2, 2, 3, 1, 4, 10, 2, 7, 1}, + {"HE", -23, 22, 2, "HEM07", 3, 14, 5, 1, 2, 5, 1, 4, 10, 2, 7, 1}, + {"HE", -23, 22, 3, "HEM07", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 23, 1, "HEM07", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 23, 2, "HEM07", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 23, 3, "HEM07", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 24, 1, "HEM07", 2, 2, 5, 2, 2, 3, 1, 4, 11, 4, 7, 0}, + {"HE", -23, 24, 2, "HEM07", 2, 5, 5, 1, 2, 5, 1, 4, 11, 4, 7, 0}, + {"HE", -23, 24, 3, "HEM07", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 25, 1, "HEM08", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 25, 2, "HEM08", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 25, 3, "HEM08", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 26, 1, "HEM08", 3, 18, 5, 2, 2, 3, 5, 6, 4, 2, 4, 1}, + {"HE", -23, 26, 2, "HEM08", 3, 14, 5, 1, 2, 5, 5, 6, 4, 2, 4, 1}, + {"HE", -23, 26, 3, "HEM08", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 27, 1, "HEM08", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 27, 2, "HEM08", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 27, 3, "HEM08", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 28, 1, "HEM08", 2, 2, 5, 2, 2, 3, 5, 6, 5, 4, 4, 0}, + {"HE", -23, 28, 2, "HEM08", 2, 5, 5, 1, 2, 5, 5, 6, 5, 4, 4, 0}, + {"HE", -23, 28, 3, "HEM08", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 29, 1, "HEM09", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 29, 2, "HEM09", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 29, 3, "HEM09", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 30, 1, "HEM09", 3, 18, 5, 2, 2, 3, 5, 6, 10, 2, 7, 1}, + {"HE", -23, 30, 2, "HEM09", 3, 14, 5, 1, 2, 5, 5, 6, 10, 2, 7, 1}, + {"HE", -23, 30, 3, "HEM09", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 31, 1, "HEM09", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 31, 2, "HEM09", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 31, 3, "HEM09", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 32, 1, "HEM09", 2, 2, 5, 2, 2, 3, 5, 6, 11, 4, 7, 0}, + {"HE", -23, 32, 2, "HEM09", 2, 5, 5, 1, 2, 5, 5, 6, 11, 4, 7, 0}, + {"HE", -23, 32, 3, "HEM09", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 33, 1, "HEM10", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 33, 2, "HEM10", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 33, 3, "HEM10", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 34, 1, "HEM10", 3, 18, 5, 2, 2, 3, 11, 8, 4, 2, 4, 1}, + {"HE", -23, 34, 2, "HEM10", 3, 14, 5, 1, 2, 5, 11, 8, 4, 2, 4, 1}, + {"HE", -23, 34, 3, "HEM10", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 35, 1, "HEM10", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 35, 2, "HEM10", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 35, 3, "HEM10", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 36, 1, "HEM10", 2, 2, 5, 2, 2, 3, 11, 8, 5, 4, 4, 0}, + {"HE", -23, 36, 2, "HEM10", 2, 5, 5, 1, 2, 5, 11, 8, 5, 4, 4, 0}, + {"HE", -23, 36, 3, "HEM10", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 37, 1, "HEM11", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 37, 2, "HEM11", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 37, 3, "HEM11", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 38, 1, "HEM11", 3, 18, 5, 2, 2, 3, 11, 8, 10, 2, 7, 1}, + {"HE", -23, 38, 2, "HEM11", 3, 14, 5, 1, 2, 5, 11, 8, 10, 2, 7, 1}, + {"HE", -23, 38, 3, "HEM11", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 39, 1, "HEM11", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 39, 2, "HEM11", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 39, 3, "HEM11", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 40, 1, "HEM11", 2, 2, 5, 2, 2, 3, 11, 8, 11, 4, 7, 0}, + {"HE", -23, 40, 2, "HEM11", 2, 5, 5, 1, 2, 5, 11, 8, 11, 4, 7, 0}, + {"HE", -23, 40, 3, "HEM11", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 41, 1, "HEM12", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 41, 2, "HEM12", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 41, 3, "HEM12", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 42, 1, "HEM12", 3, 18, 5, 2, 2, 3, 15, 10, 4, 2, 4, 1}, + {"HE", -23, 42, 2, "HEM12", 3, 14, 5, 1, 2, 5, 15, 10, 4, 2, 4, 1}, + {"HE", -23, 42, 3, "HEM12", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 43, 1, "HEM12", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 43, 2, "HEM12", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 43, 3, "HEM12", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 44, 1, "HEM12", 2, 2, 5, 2, 2, 3, 15, 10, 5, 4, 4, 0}, + {"HE", -23, 44, 2, "HEM12", 2, 5, 5, 1, 2, 5, 15, 10, 5, 4, 4, 0}, + {"HE", -23, 44, 3, "HEM12", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 45, 1, "HEM13", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 45, 2, "HEM13", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 45, 3, "HEM13", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 46, 1, "HEM13", 3, 18, 5, 2, 2, 3, 15, 10, 10, 2, 7, 1}, + {"HE", -23, 46, 2, "HEM13", 3, 14, 5, 1, 2, 5, 15, 10, 10, 2, 7, 1}, + {"HE", -23, 46, 3, "HEM13", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 47, 1, "HEM13", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 47, 2, "HEM13", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 47, 3, "HEM13", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 48, 1, "HEM13", 2, 2, 5, 2, 2, 3, 15, 10, 11, 4, 7, 0}, + {"HE", -23, 48, 2, "HEM13", 2, 5, 5, 1, 2, 5, 15, 10, 11, 4, 7, 0}, + {"HE", -23, 48, 3, "HEM13", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 49, 1, "HEM14", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 49, 2, "HEM14", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 49, 3, "HEM14", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 50, 1, "HEM14", 3, 18, 5, 2, 2, 3, 17, 12, 4, 2, 4, 1}, + {"HE", -23, 50, 2, "HEM14", 3, 14, 5, 1, 2, 5, 17, 12, 4, 2, 4, 1}, + {"HE", -23, 50, 3, "HEM14", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 51, 1, "HEM14", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 51, 2, "HEM14", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 51, 3, "HEM14", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 52, 1, "HEM14", 2, 2, 5, 2, 2, 3, 17, 12, 5, 4, 4, 0}, + {"HE", -23, 52, 2, "HEM14", 2, 5, 5, 1, 2, 5, 17, 12, 5, 4, 4, 0}, + {"HE", -23, 52, 3, "HEM14", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 53, 1, "HEM15", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 53, 2, "HEM15", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 53, 3, "HEM15", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 54, 1, "HEM15", 3, 18, 5, 2, 2, 3, 17, 12, 10, 2, 7, 1}, + {"HE", -23, 54, 2, "HEM15", 3, 14, 5, 1, 2, 5, 17, 12, 10, 2, 7, 1}, + {"HE", -23, 54, 3, "HEM15", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 55, 1, "HEM15", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 55, 2, "HEM15", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 55, 3, "HEM15", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 56, 1, "HEM15", 2, 2, 5, 2, 2, 3, 17, 12, 11, 4, 7, 0}, + {"HE", -23, 56, 2, "HEM15", 2, 5, 5, 1, 2, 5, 17, 12, 11, 4, 7, 0}, + {"HE", -23, 56, 3, "HEM15", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 57, 1, "HEM16", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 57, 2, "HEM16", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 57, 3, "HEM16", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 58, 1, "HEM16", 3, 18, 5, 2, 2, 3, 14, 14, 4, 2, 4, 1}, + {"HE", -23, 58, 2, "HEM16", 3, 14, 5, 1, 2, 5, 14, 14, 4, 2, 4, 1}, + {"HE", -23, 58, 3, "HEM16", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 59, 1, "HEM16", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 59, 2, "HEM16", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 59, 3, "HEM16", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 60, 1, "HEM16", 2, 2, 5, 2, 2, 3, 14, 14, 5, 4, 4, 0}, + {"HE", -23, 60, 2, "HEM16", 2, 5, 5, 1, 2, 5, 14, 14, 5, 4, 4, 0}, + {"HE", -23, 60, 3, "HEM16", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 61, 1, "HEM17", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 61, 2, "HEM17", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 61, 3, "HEM17", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 62, 1, "HEM17", 3, 18, 5, 2, 2, 3, 14, 14, 10, 2, 7, 1}, + {"HE", -23, 62, 2, "HEM17", 3, 14, 5, 1, 2, 5, 14, 14, 10, 2, 7, 1}, + {"HE", -23, 62, 3, "HEM17", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 63, 1, "HEM17", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 63, 2, "HEM17", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 63, 3, "HEM17", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 64, 1, "HEM17", 2, 2, 5, 2, 2, 3, 14, 14, 11, 4, 7, 0}, + {"HE", -23, 64, 2, "HEM17", 2, 5, 5, 1, 2, 5, 14, 14, 11, 4, 7, 0}, + {"HE", -23, 64, 3, "HEM17", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 65, 1, "HEM18", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 65, 2, "HEM18", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 65, 3, "HEM18", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 66, 1, "HEM18", 3, 18, 5, 2, 2, 3, 10, 16, 4, 2, 4, 1}, + {"HE", -23, 66, 2, "HEM18", 3, 14, 5, 1, 2, 5, 10, 16, 4, 2, 4, 1}, + {"HE", -23, 66, 3, "HEM18", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 67, 1, "HEM18", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 67, 2, "HEM18", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 67, 3, "HEM18", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 68, 1, "HEM18", 2, 2, 5, 2, 2, 3, 10, 16, 5, 4, 4, 0}, + {"HE", -23, 68, 2, "HEM18", 2, 5, 5, 1, 2, 5, 10, 16, 5, 4, 4, 0}, + {"HE", -23, 68, 3, "HEM18", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 69, 1, "HEM01", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 69, 2, "HEM01", 4, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 69, 3, "HEM01", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -23, 70, 1, "HEM01", 3, 18, 5, 2, 2, 3, 10, 16, 10, 2, 7, 1}, + {"HE", -23, 70, 2, "HEM01", 3, 14, 5, 1, 2, 5, 10, 16, 10, 2, 7, 1}, + {"HE", -23, 70, 3, "HEM01", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 0, 1, "HEM01", 1, 4, 7, 2, 3, 3, 10, 16, 11, 6, 7, 0}, + {"HE", -22, 0, 2, "HEM01", 1, 1, 6, 2, 3, 2, 10, 16, 11, 5, 7, 0}, + {"HE", -22, 0, 3, "HEM01", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 1, 1, "HEM02", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 1, 2, "HEM02", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 1, 3, "HEM02", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 2, 1, "HEM02", 4, 13, 7, 2, 3, 3, 4, 0, 4, 8, 4, 1}, + {"HE", -22, 2, 2, "HEM02", 4, 17, 6, 2, 3, 2, 4, 0, 4, 7, 4, 1}, + {"HE", -22, 2, 3, "HEM02", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 3, 1, "HEM02", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 3, 2, "HEM02", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 3, 3, "HEM02", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 4, 1, "HEM02", 1, 4, 7, 2, 3, 3, 4, 0, 5, 6, 4, 0}, + {"HE", -22, 4, 2, "HEM02", 1, 1, 6, 2, 3, 2, 4, 0, 5, 5, 4, 0}, + {"HE", -22, 4, 3, "HEM02", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 5, 1, "HEM03", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 5, 2, "HEM03", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 5, 3, "HEM03", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 6, 1, "HEM03", 4, 13, 7, 2, 3, 3, 4, 0, 10, 8, 7, 1}, + {"HE", -22, 6, 2, "HEM03", 4, 17, 6, 2, 3, 2, 4, 0, 10, 7, 7, 1}, + {"HE", -22, 6, 3, "HEM03", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 7, 1, "HEM03", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 7, 2, "HEM03", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 7, 3, "HEM03", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 8, 1, "HEM03", 1, 4, 7, 2, 3, 3, 4, 0, 11, 6, 7, 0}, + {"HE", -22, 8, 2, "HEM03", 1, 1, 6, 2, 3, 2, 4, 0, 11, 5, 7, 0}, + {"HE", -22, 8, 3, "HEM03", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 9, 1, "HEM04", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 9, 2, "HEM04", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 9, 3, "HEM04", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 10, 1, "HEM04", 4, 13, 7, 2, 3, 3, 0, 2, 4, 8, 4, 1}, + {"HE", -22, 10, 2, "HEM04", 4, 17, 6, 2, 3, 2, 0, 2, 4, 7, 4, 1}, + {"HE", -22, 10, 3, "HEM04", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 11, 1, "HEM04", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 11, 2, "HEM04", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 11, 3, "HEM04", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 12, 1, "HEM04", 1, 4, 7, 2, 3, 3, 0, 2, 5, 6, 4, 0}, + {"HE", -22, 12, 2, "HEM04", 1, 1, 6, 2, 3, 2, 0, 2, 5, 5, 4, 0}, + {"HE", -22, 12, 3, "HEM04", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 13, 1, "HEM05", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 13, 2, "HEM05", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 13, 3, "HEM05", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 14, 1, "HEM05", 4, 13, 7, 2, 3, 3, 0, 2, 10, 8, 7, 1}, + {"HE", -22, 14, 2, "HEM05", 4, 17, 6, 2, 3, 2, 0, 2, 10, 7, 7, 1}, + {"HE", -22, 14, 3, "HEM05", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 15, 1, "HEM05", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 15, 2, "HEM05", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 15, 3, "HEM05", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 16, 1, "HEM05", 1, 4, 7, 2, 3, 3, 0, 2, 11, 6, 7, 0}, + {"HE", -22, 16, 2, "HEM05", 1, 1, 6, 2, 3, 2, 0, 2, 11, 5, 7, 0}, + {"HE", -22, 16, 3, "HEM05", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 17, 1, "HEM06", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 17, 2, "HEM06", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 17, 3, "HEM06", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 18, 1, "HEM06", 4, 13, 7, 2, 3, 3, 1, 4, 4, 8, 4, 1}, + {"HE", -22, 18, 2, "HEM06", 4, 17, 6, 2, 3, 2, 1, 4, 4, 7, 4, 1}, + {"HE", -22, 18, 3, "HEM06", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 19, 1, "HEM06", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 19, 2, "HEM06", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 19, 3, "HEM06", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 20, 1, "HEM06", 1, 4, 7, 2, 3, 3, 1, 4, 5, 6, 4, 0}, + {"HE", -22, 20, 2, "HEM06", 1, 1, 6, 2, 3, 2, 1, 4, 5, 5, 4, 0}, + {"HE", -22, 20, 3, "HEM06", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 21, 1, "HEM07", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 21, 2, "HEM07", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 21, 3, "HEM07", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 22, 1, "HEM07", 4, 13, 7, 2, 3, 3, 1, 4, 10, 8, 7, 1}, + {"HE", -22, 22, 2, "HEM07", 4, 17, 6, 2, 3, 2, 1, 4, 10, 7, 7, 1}, + {"HE", -22, 22, 3, "HEM07", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 23, 1, "HEM07", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 23, 2, "HEM07", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 23, 3, "HEM07", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 24, 1, "HEM07", 1, 4, 7, 2, 3, 3, 1, 4, 11, 6, 7, 0}, + {"HE", -22, 24, 2, "HEM07", 1, 1, 6, 2, 3, 2, 1, 4, 11, 5, 7, 0}, + {"HE", -22, 24, 3, "HEM07", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 25, 1, "HEM08", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 25, 2, "HEM08", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 25, 3, "HEM08", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 26, 1, "HEM08", 4, 13, 7, 2, 3, 3, 5, 6, 4, 8, 4, 1}, + {"HE", -22, 26, 2, "HEM08", 4, 17, 6, 2, 3, 2, 5, 6, 4, 7, 4, 1}, + {"HE", -22, 26, 3, "HEM08", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 27, 1, "HEM08", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 27, 2, "HEM08", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 27, 3, "HEM08", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 28, 1, "HEM08", 1, 4, 7, 2, 3, 3, 5, 6, 5, 6, 4, 0}, + {"HE", -22, 28, 2, "HEM08", 1, 1, 6, 2, 3, 2, 5, 6, 5, 5, 4, 0}, + {"HE", -22, 28, 3, "HEM08", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 29, 1, "HEM09", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 29, 2, "HEM09", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 29, 3, "HEM09", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 30, 1, "HEM09", 4, 13, 7, 2, 3, 3, 5, 6, 10, 8, 7, 1}, + {"HE", -22, 30, 2, "HEM09", 4, 17, 6, 2, 3, 2, 5, 6, 10, 7, 7, 1}, + {"HE", -22, 30, 3, "HEM09", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 31, 1, "HEM09", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 31, 2, "HEM09", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 31, 3, "HEM09", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 32, 1, "HEM09", 1, 4, 7, 2, 3, 3, 5, 6, 11, 6, 7, 0}, + {"HE", -22, 32, 2, "HEM09", 1, 1, 6, 2, 3, 2, 5, 6, 11, 5, 7, 0}, + {"HE", -22, 32, 3, "HEM09", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 33, 1, "HEM10", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 33, 2, "HEM10", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 33, 3, "HEM10", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 34, 1, "HEM10", 4, 13, 7, 2, 3, 3, 11, 8, 4, 8, 4, 1}, + {"HE", -22, 34, 2, "HEM10", 4, 17, 6, 2, 3, 2, 11, 8, 4, 7, 4, 1}, + {"HE", -22, 34, 3, "HEM10", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 35, 1, "HEM10", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 35, 2, "HEM10", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 35, 3, "HEM10", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 36, 1, "HEM10", 1, 4, 7, 2, 3, 3, 11, 8, 5, 6, 4, 0}, + {"HE", -22, 36, 2, "HEM10", 1, 1, 6, 2, 3, 2, 11, 8, 5, 5, 4, 0}, + {"HE", -22, 36, 3, "HEM10", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 37, 1, "HEM11", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 37, 2, "HEM11", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 37, 3, "HEM11", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 38, 1, "HEM11", 4, 13, 7, 2, 3, 3, 11, 8, 10, 8, 7, 1}, + {"HE", -22, 38, 2, "HEM11", 4, 17, 6, 2, 3, 2, 11, 8, 10, 7, 7, 1}, + {"HE", -22, 38, 3, "HEM11", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 39, 1, "HEM11", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 39, 2, "HEM11", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 39, 3, "HEM11", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 40, 1, "HEM11", 1, 4, 7, 2, 3, 3, 11, 8, 11, 6, 7, 0}, + {"HE", -22, 40, 2, "HEM11", 1, 1, 6, 2, 3, 2, 11, 8, 11, 5, 7, 0}, + {"HE", -22, 40, 3, "HEM11", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 41, 1, "HEM12", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 41, 2, "HEM12", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 41, 3, "HEM12", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 42, 1, "HEM12", 4, 13, 7, 2, 3, 3, 15, 10, 4, 8, 4, 1}, + {"HE", -22, 42, 2, "HEM12", 4, 17, 6, 2, 3, 2, 15, 10, 4, 7, 4, 1}, + {"HE", -22, 42, 3, "HEM12", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 43, 1, "HEM12", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 43, 2, "HEM12", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 43, 3, "HEM12", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 44, 1, "HEM12", 1, 4, 7, 2, 3, 3, 15, 10, 5, 6, 4, 0}, + {"HE", -22, 44, 2, "HEM12", 1, 1, 6, 2, 3, 2, 15, 10, 5, 5, 4, 0}, + {"HE", -22, 44, 3, "HEM12", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 45, 1, "HEM13", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 45, 2, "HEM13", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 45, 3, "HEM13", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 46, 1, "HEM13", 4, 13, 7, 2, 3, 3, 15, 10, 10, 8, 7, 1}, + {"HE", -22, 46, 2, "HEM13", 4, 17, 6, 2, 3, 2, 15, 10, 10, 7, 7, 1}, + {"HE", -22, 46, 3, "HEM13", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 47, 1, "HEM13", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 47, 2, "HEM13", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 47, 3, "HEM13", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 48, 1, "HEM13", 1, 4, 7, 2, 3, 3, 15, 10, 11, 6, 7, 0}, + {"HE", -22, 48, 2, "HEM13", 1, 1, 6, 2, 3, 2, 15, 10, 11, 5, 7, 0}, + {"HE", -22, 48, 3, "HEM13", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 49, 1, "HEM14", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 49, 2, "HEM14", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 49, 3, "HEM14", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 50, 1, "HEM14", 4, 13, 7, 2, 3, 3, 17, 12, 4, 8, 4, 1}, + {"HE", -22, 50, 2, "HEM14", 4, 17, 6, 2, 3, 2, 17, 12, 4, 7, 4, 1}, + {"HE", -22, 50, 3, "HEM14", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 51, 1, "HEM14", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 51, 2, "HEM14", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 51, 3, "HEM14", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 52, 1, "HEM14", 1, 4, 7, 2, 3, 3, 17, 12, 5, 6, 4, 0}, + {"HE", -22, 52, 2, "HEM14", 1, 1, 6, 2, 3, 2, 17, 12, 5, 5, 4, 0}, + {"HE", -22, 52, 3, "HEM14", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 53, 1, "HEM15", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 53, 2, "HEM15", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 53, 3, "HEM15", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 54, 1, "HEM15", 4, 13, 7, 2, 3, 3, 17, 12, 10, 8, 7, 1}, + {"HE", -22, 54, 2, "HEM15", 4, 17, 6, 2, 3, 2, 17, 12, 10, 7, 7, 1}, + {"HE", -22, 54, 3, "HEM15", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 55, 1, "HEM15", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 55, 2, "HEM15", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 55, 3, "HEM15", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 56, 1, "HEM15", 1, 4, 7, 2, 3, 3, 17, 12, 11, 6, 7, 0}, + {"HE", -22, 56, 2, "HEM15", 1, 1, 6, 2, 3, 2, 17, 12, 11, 5, 7, 0}, + {"HE", -22, 56, 3, "HEM15", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 57, 1, "HEM16", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 57, 2, "HEM16", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 57, 3, "HEM16", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 58, 1, "HEM16", 4, 13, 7, 2, 3, 3, 14, 14, 4, 8, 4, 1}, + {"HE", -22, 58, 2, "HEM16", 4, 17, 6, 2, 3, 2, 14, 14, 4, 7, 4, 1}, + {"HE", -22, 58, 3, "HEM16", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 59, 1, "HEM16", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 59, 2, "HEM16", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 59, 3, "HEM16", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 60, 1, "HEM16", 1, 4, 7, 2, 3, 3, 14, 14, 5, 6, 4, 0}, + {"HE", -22, 60, 2, "HEM16", 1, 1, 6, 2, 3, 2, 14, 14, 5, 5, 4, 0}, + {"HE", -22, 60, 3, "HEM16", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 61, 1, "HEM17", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 61, 2, "HEM17", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 61, 3, "HEM17", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 62, 1, "HEM17", 4, 13, 7, 2, 3, 3, 14, 14, 10, 8, 7, 1}, + {"HE", -22, 62, 2, "HEM17", 4, 17, 6, 2, 3, 2, 14, 14, 10, 7, 7, 1}, + {"HE", -22, 62, 3, "HEM17", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 63, 1, "HEM17", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 63, 2, "HEM17", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 63, 3, "HEM17", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 64, 1, "HEM17", 1, 4, 7, 2, 3, 3, 14, 14, 11, 6, 7, 0}, + {"HE", -22, 64, 2, "HEM17", 1, 1, 6, 2, 3, 2, 14, 14, 11, 5, 7, 0}, + {"HE", -22, 64, 3, "HEM17", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 65, 1, "HEM18", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 65, 2, "HEM18", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 65, 3, "HEM18", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 66, 1, "HEM18", 4, 13, 7, 2, 3, 3, 10, 16, 4, 8, 4, 1}, + {"HE", -22, 66, 2, "HEM18", 4, 17, 6, 2, 3, 2, 10, 16, 4, 7, 4, 1}, + {"HE", -22, 66, 3, "HEM18", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 67, 1, "HEM18", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 67, 2, "HEM18", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 67, 3, "HEM18", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 68, 1, "HEM18", 1, 4, 7, 2, 3, 3, 10, 16, 5, 6, 4, 0}, + {"HE", -22, 68, 2, "HEM18", 1, 1, 6, 2, 3, 2, 10, 16, 5, 5, 4, 0}, + {"HE", -22, 68, 3, "HEM18", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 69, 1, "HEM01", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 69, 2, "HEM01", 4, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 69, 3, "HEM01", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -22, 70, 1, "HEM01", 4, 13, 7, 2, 3, 3, 10, 16, 10, 8, 7, 1}, + {"HE", -22, 70, 2, "HEM01", 4, 17, 6, 2, 3, 2, 10, 16, 10, 7, 7, 1}, + {"HE", -22, 70, 3, "HEM01", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 0, 1, "HEM01", 2, 13, 7, 2, 3, 3, 10, 16, 11, 8, 7, 0}, + {"HE", -21, 0, 2, "HEM01", 2, 17, 6, 2, 3, 2, 10, 16, 11, 7, 7, 0}, + {"HE", -21, 0, 3, "HEM01", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 1, 1, "HEM02", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 1, 2, "HEM02", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 1, 3, "HEM02", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 2, 1, "HEM02", 3, 4, 7, 2, 3, 3, 4, 0, 4, 6, 4, 1}, + {"HE", -21, 2, 2, "HEM02", 3, 1, 6, 2, 3, 2, 4, 0, 4, 5, 4, 1}, + {"HE", -21, 2, 3, "HEM02", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 3, 1, "HEM02", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 3, 2, "HEM02", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 3, 3, "HEM02", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 4, 1, "HEM02", 2, 13, 7, 2, 3, 3, 4, 0, 5, 8, 4, 0}, + {"HE", -21, 4, 2, "HEM02", 2, 17, 6, 2, 3, 2, 4, 0, 5, 7, 4, 0}, + {"HE", -21, 4, 3, "HEM02", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 5, 1, "HEM03", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 5, 2, "HEM03", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 5, 3, "HEM03", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 6, 1, "HEM03", 3, 4, 7, 2, 3, 3, 4, 0, 10, 6, 7, 1}, + {"HE", -21, 6, 2, "HEM03", 3, 1, 6, 2, 3, 2, 4, 0, 10, 5, 7, 1}, + {"HE", -21, 6, 3, "HEM03", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 7, 1, "HEM03", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 7, 2, "HEM03", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 7, 3, "HEM03", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 8, 1, "HEM03", 2, 13, 7, 2, 3, 3, 4, 0, 11, 8, 7, 0}, + {"HE", -21, 8, 2, "HEM03", 2, 17, 6, 2, 3, 2, 4, 0, 11, 7, 7, 0}, + {"HE", -21, 8, 3, "HEM03", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 9, 1, "HEM04", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 9, 2, "HEM04", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 9, 3, "HEM04", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 10, 1, "HEM04", 3, 4, 7, 2, 3, 3, 0, 2, 4, 6, 4, 1}, + {"HE", -21, 10, 2, "HEM04", 3, 1, 6, 2, 3, 2, 0, 2, 4, 5, 4, 1}, + {"HE", -21, 10, 3, "HEM04", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 11, 1, "HEM04", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 11, 2, "HEM04", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 11, 3, "HEM04", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 12, 1, "HEM04", 2, 13, 7, 2, 3, 3, 0, 2, 5, 8, 4, 0}, + {"HE", -21, 12, 2, "HEM04", 2, 17, 6, 2, 3, 2, 0, 2, 5, 7, 4, 0}, + {"HE", -21, 12, 3, "HEM04", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 13, 1, "HEM05", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 13, 2, "HEM05", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 13, 3, "HEM05", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 14, 1, "HEM05", 3, 4, 7, 2, 3, 3, 0, 2, 10, 6, 7, 1}, + {"HE", -21, 14, 2, "HEM05", 3, 1, 6, 2, 3, 2, 0, 2, 10, 5, 7, 1}, + {"HE", -21, 14, 3, "HEM05", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 15, 1, "HEM05", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 15, 2, "HEM05", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 15, 3, "HEM05", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 16, 1, "HEM05", 2, 13, 7, 2, 3, 3, 0, 2, 11, 8, 7, 0}, + {"HE", -21, 16, 2, "HEM05", 2, 17, 6, 2, 3, 2, 0, 2, 11, 7, 7, 0}, + {"HE", -21, 16, 3, "HEM05", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 17, 1, "HEM06", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 17, 2, "HEM06", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 17, 3, "HEM06", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 18, 1, "HEM06", 3, 4, 7, 2, 3, 3, 1, 4, 4, 6, 4, 1}, + {"HE", -21, 18, 2, "HEM06", 3, 1, 6, 2, 3, 2, 1, 4, 4, 5, 4, 1}, + {"HE", -21, 18, 3, "HEM06", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 19, 1, "HEM06", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 19, 2, "HEM06", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 19, 3, "HEM06", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 20, 1, "HEM06", 2, 13, 7, 2, 3, 3, 1, 4, 5, 8, 4, 0}, + {"HE", -21, 20, 2, "HEM06", 2, 17, 6, 2, 3, 2, 1, 4, 5, 7, 4, 0}, + {"HE", -21, 20, 3, "HEM06", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 21, 1, "HEM07", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 21, 2, "HEM07", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 21, 3, "HEM07", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 22, 1, "HEM07", 3, 4, 7, 2, 3, 3, 1, 4, 10, 6, 7, 1}, + {"HE", -21, 22, 2, "HEM07", 3, 1, 6, 2, 3, 2, 1, 4, 10, 5, 7, 1}, + {"HE", -21, 22, 3, "HEM07", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 23, 1, "HEM07", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 23, 2, "HEM07", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 23, 3, "HEM07", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 24, 1, "HEM07", 2, 13, 7, 2, 3, 3, 1, 4, 11, 8, 7, 0}, + {"HE", -21, 24, 2, "HEM07", 2, 17, 6, 2, 3, 2, 1, 4, 11, 7, 7, 0}, + {"HE", -21, 24, 3, "HEM07", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 25, 1, "HEM08", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 25, 2, "HEM08", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 25, 3, "HEM08", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 26, 1, "HEM08", 3, 4, 7, 2, 3, 3, 5, 6, 4, 6, 4, 1}, + {"HE", -21, 26, 2, "HEM08", 3, 1, 6, 2, 3, 2, 5, 6, 4, 5, 4, 1}, + {"HE", -21, 26, 3, "HEM08", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 27, 1, "HEM08", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 27, 2, "HEM08", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 27, 3, "HEM08", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 28, 1, "HEM08", 2, 13, 7, 2, 3, 3, 5, 6, 5, 8, 4, 0}, + {"HE", -21, 28, 2, "HEM08", 2, 17, 6, 2, 3, 2, 5, 6, 5, 7, 4, 0}, + {"HE", -21, 28, 3, "HEM08", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 29, 1, "HEM09", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 29, 2, "HEM09", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 29, 3, "HEM09", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 30, 1, "HEM09", 3, 4, 7, 2, 3, 3, 5, 6, 10, 6, 7, 1}, + {"HE", -21, 30, 2, "HEM09", 3, 1, 6, 2, 3, 2, 5, 6, 10, 5, 7, 1}, + {"HE", -21, 30, 3, "HEM09", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 31, 1, "HEM09", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 31, 2, "HEM09", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 31, 3, "HEM09", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 32, 1, "HEM09", 2, 13, 7, 2, 3, 3, 5, 6, 11, 8, 7, 0}, + {"HE", -21, 32, 2, "HEM09", 2, 17, 6, 2, 3, 2, 5, 6, 11, 7, 7, 0}, + {"HE", -21, 32, 3, "HEM09", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 33, 1, "HEM10", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 33, 2, "HEM10", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 33, 3, "HEM10", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 34, 1, "HEM10", 3, 4, 7, 2, 3, 3, 11, 8, 4, 6, 4, 1}, + {"HE", -21, 34, 2, "HEM10", 3, 1, 6, 2, 3, 2, 11, 8, 4, 5, 4, 1}, + {"HE", -21, 34, 3, "HEM10", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 35, 1, "HEM10", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 35, 2, "HEM10", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 35, 3, "HEM10", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 36, 1, "HEM10", 2, 13, 7, 2, 3, 3, 11, 8, 5, 8, 4, 0}, + {"HE", -21, 36, 2, "HEM10", 2, 17, 6, 2, 3, 2, 11, 8, 5, 7, 4, 0}, + {"HE", -21, 36, 3, "HEM10", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 37, 1, "HEM11", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 37, 2, "HEM11", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 37, 3, "HEM11", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 38, 1, "HEM11", 3, 4, 7, 2, 3, 3, 11, 8, 10, 6, 7, 1}, + {"HE", -21, 38, 2, "HEM11", 3, 1, 6, 2, 3, 2, 11, 8, 10, 5, 7, 1}, + {"HE", -21, 38, 3, "HEM11", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 39, 1, "HEM11", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 39, 2, "HEM11", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 39, 3, "HEM11", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 40, 1, "HEM11", 2, 13, 7, 2, 3, 3, 11, 8, 11, 8, 7, 0}, + {"HE", -21, 40, 2, "HEM11", 2, 17, 6, 2, 3, 2, 11, 8, 11, 7, 7, 0}, + {"HE", -21, 40, 3, "HEM11", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 41, 1, "HEM12", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 41, 2, "HEM12", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 41, 3, "HEM12", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 42, 1, "HEM12", 3, 4, 7, 2, 3, 3, 15, 10, 4, 6, 4, 1}, + {"HE", -21, 42, 2, "HEM12", 3, 1, 6, 2, 3, 2, 15, 10, 4, 5, 4, 1}, + {"HE", -21, 42, 3, "HEM12", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 43, 1, "HEM12", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 43, 2, "HEM12", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 43, 3, "HEM12", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 44, 1, "HEM12", 2, 13, 7, 2, 3, 3, 15, 10, 5, 8, 4, 0}, + {"HE", -21, 44, 2, "HEM12", 2, 17, 6, 2, 3, 2, 15, 10, 5, 7, 4, 0}, + {"HE", -21, 44, 3, "HEM12", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 45, 1, "HEM13", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 45, 2, "HEM13", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 45, 3, "HEM13", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 46, 1, "HEM13", 3, 4, 7, 2, 3, 3, 15, 10, 10, 6, 7, 1}, + {"HE", -21, 46, 2, "HEM13", 3, 1, 6, 2, 3, 2, 15, 10, 10, 5, 7, 1}, + {"HE", -21, 46, 3, "HEM13", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 47, 1, "HEM13", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 47, 2, "HEM13", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 47, 3, "HEM13", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 48, 1, "HEM13", 2, 13, 7, 2, 3, 3, 15, 10, 11, 8, 7, 0}, + {"HE", -21, 48, 2, "HEM13", 2, 17, 6, 2, 3, 2, 15, 10, 11, 7, 7, 0}, + {"HE", -21, 48, 3, "HEM13", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 49, 1, "HEM14", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 49, 2, "HEM14", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 49, 3, "HEM14", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 50, 1, "HEM14", 3, 4, 7, 2, 3, 3, 17, 12, 4, 6, 4, 1}, + {"HE", -21, 50, 2, "HEM14", 3, 1, 6, 2, 3, 2, 17, 12, 4, 5, 4, 1}, + {"HE", -21, 50, 3, "HEM14", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 51, 1, "HEM14", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 51, 2, "HEM14", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 51, 3, "HEM14", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 52, 1, "HEM14", 2, 13, 7, 2, 3, 3, 17, 12, 5, 8, 4, 0}, + {"HE", -21, 52, 2, "HEM14", 2, 17, 6, 2, 3, 2, 17, 12, 5, 7, 4, 0}, + {"HE", -21, 52, 3, "HEM14", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 53, 1, "HEM15", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 53, 2, "HEM15", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 53, 3, "HEM15", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 54, 1, "HEM15", 3, 4, 7, 2, 3, 3, 17, 12, 10, 6, 7, 1}, + {"HE", -21, 54, 2, "HEM15", 3, 1, 6, 2, 3, 2, 17, 12, 10, 5, 7, 1}, + {"HE", -21, 54, 3, "HEM15", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 55, 1, "HEM15", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 55, 2, "HEM15", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 55, 3, "HEM15", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 56, 1, "HEM15", 2, 13, 7, 2, 3, 3, 17, 12, 11, 8, 7, 0}, + {"HE", -21, 56, 2, "HEM15", 2, 17, 6, 2, 3, 2, 17, 12, 11, 7, 7, 0}, + {"HE", -21, 56, 3, "HEM15", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 57, 1, "HEM16", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 57, 2, "HEM16", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 57, 3, "HEM16", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 58, 1, "HEM16", 3, 4, 7, 2, 3, 3, 14, 14, 4, 6, 4, 1}, + {"HE", -21, 58, 2, "HEM16", 3, 1, 6, 2, 3, 2, 14, 14, 4, 5, 4, 1}, + {"HE", -21, 58, 3, "HEM16", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 59, 1, "HEM16", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 59, 2, "HEM16", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 59, 3, "HEM16", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 60, 1, "HEM16", 2, 13, 7, 2, 3, 3, 14, 14, 5, 8, 4, 0}, + {"HE", -21, 60, 2, "HEM16", 2, 17, 6, 2, 3, 2, 14, 14, 5, 7, 4, 0}, + {"HE", -21, 60, 3, "HEM16", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 61, 1, "HEM17", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 61, 2, "HEM17", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 61, 3, "HEM17", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 62, 1, "HEM17", 3, 4, 7, 2, 3, 3, 14, 14, 10, 6, 7, 1}, + {"HE", -21, 62, 2, "HEM17", 3, 1, 6, 2, 3, 2, 14, 14, 10, 5, 7, 1}, + {"HE", -21, 62, 3, "HEM17", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 63, 1, "HEM17", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 63, 2, "HEM17", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 63, 3, "HEM17", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 64, 1, "HEM17", 2, 13, 7, 2, 3, 3, 14, 14, 11, 8, 7, 0}, + {"HE", -21, 64, 2, "HEM17", 2, 17, 6, 2, 3, 2, 14, 14, 11, 7, 7, 0}, + {"HE", -21, 64, 3, "HEM17", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 65, 1, "HEM18", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 65, 2, "HEM18", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 65, 3, "HEM18", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 66, 1, "HEM18", 3, 4, 7, 2, 3, 3, 10, 16, 4, 6, 4, 1}, + {"HE", -21, 66, 2, "HEM18", 3, 1, 6, 2, 3, 2, 10, 16, 4, 5, 4, 1}, + {"HE", -21, 66, 3, "HEM18", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 67, 1, "HEM18", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 67, 2, "HEM18", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 67, 3, "HEM18", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 68, 1, "HEM18", 2, 13, 7, 2, 3, 3, 10, 16, 5, 8, 4, 0}, + {"HE", -21, 68, 2, "HEM18", 2, 17, 6, 2, 3, 2, 10, 16, 5, 7, 4, 0}, + {"HE", -21, 68, 3, "HEM18", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 69, 1, "HEM01", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 69, 2, "HEM01", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 69, 3, "HEM01", 4, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -21, 70, 1, "HEM01", 3, 4, 7, 2, 3, 3, 10, 16, 10, 6, 7, 1}, + {"HE", -21, 70, 2, "HEM01", 3, 1, 6, 2, 3, 2, 10, 16, 10, 5, 7, 1}, + {"HE", -21, 70, 3, "HEM01", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 0, 1, "HEM01", 2, 9, 6, 1, 3, 1, 10, 16, 11, 7, 7, 0}, + {"HE", -20, 0, 2, "HEM01", 2, 8, 7, 1, 3, 5, 10, 16, 11, 8, 7, 0}, + {"HE", -20, 0, 3, "HEM01", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 1, 1, "HEM01", 1, 9, 6, 1, 3, 1, 10, 16, 11, 5, 7, 0}, + {"HE", -20, 1, 2, "HEM01", 1, 8, 7, 1, 3, 5, 10, 16, 11, 6, 7, 0}, + {"HE", -20, 1, 3, "HEM02", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 2, 1, "HEM02", 4, 9, 6, 1, 3, 1, 4, 0, 4, 7, 4, 1}, + {"HE", -20, 2, 2, "HEM02", 4, 8, 7, 1, 3, 5, 4, 0, 4, 8, 4, 1}, + {"HE", -20, 2, 3, "HEM02", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 3, 1, "HEM02", 3, 9, 6, 1, 3, 1, 4, 0, 4, 5, 4, 1}, + {"HE", -20, 3, 2, "HEM02", 3, 8, 7, 1, 3, 5, 4, 0, 4, 6, 4, 1}, + {"HE", -20, 3, 3, "HEM02", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 4, 1, "HEM02", 2, 9, 6, 1, 3, 1, 4, 0, 5, 7, 4, 0}, + {"HE", -20, 4, 2, "HEM02", 2, 8, 7, 1, 3, 5, 4, 0, 5, 8, 4, 0}, + {"HE", -20, 4, 3, "HEM02", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 5, 1, "HEM02", 1, 9, 6, 1, 3, 1, 4, 0, 5, 5, 4, 0}, + {"HE", -20, 5, 2, "HEM02", 1, 8, 7, 1, 3, 5, 4, 0, 5, 6, 4, 0}, + {"HE", -20, 5, 3, "HEM03", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 6, 1, "HEM03", 4, 9, 6, 1, 3, 1, 4, 0, 10, 7, 7, 1}, + {"HE", -20, 6, 2, "HEM03", 4, 8, 7, 1, 3, 5, 4, 0, 10, 8, 7, 1}, + {"HE", -20, 6, 3, "HEM03", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 7, 1, "HEM03", 3, 9, 6, 1, 3, 1, 4, 0, 10, 5, 7, 1}, + {"HE", -20, 7, 2, "HEM03", 3, 8, 7, 1, 3, 5, 4, 0, 10, 6, 7, 1}, + {"HE", -20, 7, 3, "HEM03", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 8, 1, "HEM03", 2, 9, 6, 1, 3, 1, 4, 0, 11, 7, 7, 0}, + {"HE", -20, 8, 2, "HEM03", 2, 8, 7, 1, 3, 5, 4, 0, 11, 8, 7, 0}, + {"HE", -20, 8, 3, "HEM03", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 9, 1, "HEM03", 1, 9, 6, 1, 3, 1, 4, 0, 11, 5, 7, 0}, + {"HE", -20, 9, 2, "HEM03", 1, 8, 7, 1, 3, 5, 4, 0, 11, 6, 7, 0}, + {"HE", -20, 9, 3, "HEM04", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 10, 1, "HEM04", 4, 9, 6, 1, 3, 1, 0, 2, 4, 7, 4, 1}, + {"HE", -20, 10, 2, "HEM04", 4, 8, 7, 1, 3, 5, 0, 2, 4, 8, 4, 1}, + {"HE", -20, 10, 3, "HEM04", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 11, 1, "HEM04", 3, 9, 6, 1, 3, 1, 0, 2, 4, 5, 4, 1}, + {"HE", -20, 11, 2, "HEM04", 3, 8, 7, 1, 3, 5, 0, 2, 4, 6, 4, 1}, + {"HE", -20, 11, 3, "HEM04", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 12, 1, "HEM04", 2, 9, 6, 1, 3, 1, 0, 2, 5, 7, 4, 0}, + {"HE", -20, 12, 2, "HEM04", 2, 8, 7, 1, 3, 5, 0, 2, 5, 8, 4, 0}, + {"HE", -20, 12, 3, "HEM04", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 13, 1, "HEM04", 1, 9, 6, 1, 3, 1, 0, 2, 5, 5, 4, 0}, + {"HE", -20, 13, 2, "HEM04", 1, 8, 7, 1, 3, 5, 0, 2, 5, 6, 4, 0}, + {"HE", -20, 13, 3, "HEM05", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 14, 1, "HEM05", 4, 9, 6, 1, 3, 1, 0, 2, 10, 7, 7, 1}, + {"HE", -20, 14, 2, "HEM05", 4, 8, 7, 1, 3, 5, 0, 2, 10, 8, 7, 1}, + {"HE", -20, 14, 3, "HEM05", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 15, 1, "HEM05", 3, 9, 6, 1, 3, 1, 0, 2, 10, 5, 7, 1}, + {"HE", -20, 15, 2, "HEM05", 3, 8, 7, 1, 3, 5, 0, 2, 10, 6, 7, 1}, + {"HE", -20, 15, 3, "HEM05", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 16, 1, "HEM05", 2, 9, 6, 1, 3, 1, 0, 2, 11, 7, 7, 0}, + {"HE", -20, 16, 2, "HEM05", 2, 8, 7, 1, 3, 5, 0, 2, 11, 8, 7, 0}, + {"HE", -20, 16, 3, "HEM05", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 17, 1, "HEM05", 1, 9, 6, 1, 3, 1, 0, 2, 11, 5, 7, 0}, + {"HE", -20, 17, 2, "HEM05", 1, 8, 7, 1, 3, 5, 0, 2, 11, 6, 7, 0}, + {"HE", -20, 17, 3, "HEM06", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 18, 1, "HEM06", 4, 9, 6, 1, 3, 1, 1, 4, 4, 7, 4, 1}, + {"HE", -20, 18, 2, "HEM06", 4, 8, 7, 1, 3, 5, 1, 4, 4, 8, 4, 1}, + {"HE", -20, 18, 3, "HEM06", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 19, 1, "HEM06", 3, 9, 6, 1, 3, 1, 1, 4, 4, 5, 4, 1}, + {"HE", -20, 19, 2, "HEM06", 3, 8, 7, 1, 3, 5, 1, 4, 4, 6, 4, 1}, + {"HE", -20, 19, 3, "HEM06", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 20, 1, "HEM06", 2, 9, 6, 1, 3, 1, 1, 4, 5, 7, 4, 0}, + {"HE", -20, 20, 2, "HEM06", 2, 8, 7, 1, 3, 5, 1, 4, 5, 8, 4, 0}, + {"HE", -20, 20, 3, "HEM06", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 21, 1, "HEM06", 1, 9, 6, 1, 3, 1, 1, 4, 5, 5, 4, 0}, + {"HE", -20, 21, 2, "HEM06", 1, 8, 7, 1, 3, 5, 1, 4, 5, 6, 4, 0}, + {"HE", -20, 21, 3, "HEM07", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 22, 1, "HEM07", 4, 9, 6, 1, 3, 1, 1, 4, 10, 7, 7, 1}, + {"HE", -20, 22, 2, "HEM07", 4, 8, 7, 1, 3, 5, 1, 4, 10, 8, 7, 1}, + {"HE", -20, 22, 3, "HEM07", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 23, 1, "HEM07", 3, 9, 6, 1, 3, 1, 1, 4, 10, 5, 7, 1}, + {"HE", -20, 23, 2, "HEM07", 3, 8, 7, 1, 3, 5, 1, 4, 10, 6, 7, 1}, + {"HE", -20, 23, 3, "HEM07", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 24, 1, "HEM07", 2, 9, 6, 1, 3, 1, 1, 4, 11, 7, 7, 0}, + {"HE", -20, 24, 2, "HEM07", 2, 8, 7, 1, 3, 5, 1, 4, 11, 8, 7, 0}, + {"HE", -20, 24, 3, "HEM07", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 25, 1, "HEM07", 1, 9, 6, 1, 3, 1, 1, 4, 11, 5, 7, 0}, + {"HE", -20, 25, 2, "HEM07", 1, 8, 7, 1, 3, 5, 1, 4, 11, 6, 7, 0}, + {"HE", -20, 25, 3, "HEM08", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 26, 1, "HEM08", 4, 9, 6, 1, 3, 1, 5, 6, 4, 7, 4, 1}, + {"HE", -20, 26, 2, "HEM08", 4, 8, 7, 1, 3, 5, 5, 6, 4, 8, 4, 1}, + {"HE", -20, 26, 3, "HEM08", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 27, 1, "HEM08", 3, 9, 6, 1, 3, 1, 5, 6, 4, 5, 4, 1}, + {"HE", -20, 27, 2, "HEM08", 3, 8, 7, 1, 3, 5, 5, 6, 4, 6, 4, 1}, + {"HE", -20, 27, 3, "HEM08", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 28, 1, "HEM08", 2, 9, 6, 1, 3, 1, 5, 6, 5, 7, 4, 0}, + {"HE", -20, 28, 2, "HEM08", 2, 8, 7, 1, 3, 5, 5, 6, 5, 8, 4, 0}, + {"HE", -20, 28, 3, "HEM08", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 29, 1, "HEM08", 1, 9, 6, 1, 3, 1, 5, 6, 5, 5, 4, 0}, + {"HE", -20, 29, 2, "HEM08", 1, 8, 7, 1, 3, 5, 5, 6, 5, 6, 4, 0}, + {"HE", -20, 29, 3, "HEM09", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 30, 1, "HEM09", 4, 9, 6, 1, 3, 1, 5, 6, 10, 7, 7, 1}, + {"HE", -20, 30, 2, "HEM09", 4, 8, 7, 1, 3, 5, 5, 6, 10, 8, 7, 1}, + {"HE", -20, 30, 3, "HEM09", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 31, 1, "HEM09", 3, 9, 6, 1, 3, 1, 5, 6, 10, 5, 7, 1}, + {"HE", -20, 31, 2, "HEM09", 3, 8, 7, 1, 3, 5, 5, 6, 10, 6, 7, 1}, + {"HE", -20, 31, 3, "HEM09", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 32, 1, "HEM09", 2, 9, 6, 1, 3, 1, 5, 6, 11, 7, 7, 0}, + {"HE", -20, 32, 2, "HEM09", 2, 8, 7, 1, 3, 5, 5, 6, 11, 8, 7, 0}, + {"HE", -20, 32, 3, "HEM09", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 33, 1, "HEM09", 1, 9, 6, 1, 3, 1, 5, 6, 11, 5, 7, 0}, + {"HE", -20, 33, 2, "HEM09", 1, 8, 7, 1, 3, 5, 5, 6, 11, 6, 7, 0}, + {"HE", -20, 33, 3, "HEM10", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 34, 1, "HEM10", 4, 9, 6, 1, 3, 1, 11, 8, 4, 7, 4, 1}, + {"HE", -20, 34, 2, "HEM10", 4, 8, 7, 1, 3, 5, 11, 8, 4, 8, 4, 1}, + {"HE", -20, 34, 3, "HEM10", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 35, 1, "HEM10", 3, 9, 6, 1, 3, 1, 11, 8, 4, 5, 4, 1}, + {"HE", -20, 35, 2, "HEM10", 3, 8, 7, 1, 3, 5, 11, 8, 4, 6, 4, 1}, + {"HE", -20, 35, 3, "HEM10", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 36, 1, "HEM10", 2, 9, 6, 1, 3, 1, 11, 8, 5, 7, 4, 0}, + {"HE", -20, 36, 2, "HEM10", 2, 8, 7, 1, 3, 5, 11, 8, 5, 8, 4, 0}, + {"HE", -20, 36, 3, "HEM10", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 37, 1, "HEM10", 1, 9, 6, 1, 3, 1, 11, 8, 5, 5, 4, 0}, + {"HE", -20, 37, 2, "HEM10", 1, 8, 7, 1, 3, 5, 11, 8, 5, 6, 4, 0}, + {"HE", -20, 37, 3, "HEM11", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 38, 1, "HEM11", 4, 9, 6, 1, 3, 1, 11, 8, 10, 7, 7, 1}, + {"HE", -20, 38, 2, "HEM11", 4, 8, 7, 1, 3, 5, 11, 8, 10, 8, 7, 1}, + {"HE", -20, 38, 3, "HEM11", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 39, 1, "HEM11", 3, 9, 6, 1, 3, 1, 11, 8, 10, 5, 7, 1}, + {"HE", -20, 39, 2, "HEM11", 3, 8, 7, 1, 3, 5, 11, 8, 10, 6, 7, 1}, + {"HE", -20, 39, 3, "HEM11", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 40, 1, "HEM11", 2, 9, 6, 1, 3, 1, 11, 8, 11, 7, 7, 0}, + {"HE", -20, 40, 2, "HEM11", 2, 8, 7, 1, 3, 5, 11, 8, 11, 8, 7, 0}, + {"HE", -20, 40, 3, "HEM11", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 41, 1, "HEM11", 1, 9, 6, 1, 3, 1, 11, 8, 11, 5, 7, 0}, + {"HE", -20, 41, 2, "HEM11", 1, 8, 7, 1, 3, 5, 11, 8, 11, 6, 7, 0}, + {"HE", -20, 41, 3, "HEM12", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 42, 1, "HEM12", 4, 9, 6, 1, 3, 1, 15, 10, 4, 7, 4, 1}, + {"HE", -20, 42, 2, "HEM12", 4, 8, 7, 1, 3, 5, 15, 10, 4, 8, 4, 1}, + {"HE", -20, 42, 3, "HEM12", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 43, 1, "HEM12", 3, 9, 6, 1, 3, 1, 15, 10, 4, 5, 4, 1}, + {"HE", -20, 43, 2, "HEM12", 3, 8, 7, 1, 3, 5, 15, 10, 4, 6, 4, 1}, + {"HE", -20, 43, 3, "HEM12", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 44, 1, "HEM12", 2, 9, 6, 1, 3, 1, 15, 10, 5, 7, 4, 0}, + {"HE", -20, 44, 2, "HEM12", 2, 8, 7, 1, 3, 5, 15, 10, 5, 8, 4, 0}, + {"HE", -20, 44, 3, "HEM12", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 45, 1, "HEM12", 1, 9, 6, 1, 3, 1, 15, 10, 5, 5, 4, 0}, + {"HE", -20, 45, 2, "HEM12", 1, 8, 7, 1, 3, 5, 15, 10, 5, 6, 4, 0}, + {"HE", -20, 45, 3, "HEM13", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 46, 1, "HEM13", 4, 9, 6, 1, 3, 1, 15, 10, 10, 7, 7, 1}, + {"HE", -20, 46, 2, "HEM13", 4, 8, 7, 1, 3, 5, 15, 10, 10, 8, 7, 1}, + {"HE", -20, 46, 3, "HEM13", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 47, 1, "HEM13", 3, 9, 6, 1, 3, 1, 15, 10, 10, 5, 7, 1}, + {"HE", -20, 47, 2, "HEM13", 3, 8, 7, 1, 3, 5, 15, 10, 10, 6, 7, 1}, + {"HE", -20, 47, 3, "HEM13", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 48, 1, "HEM13", 2, 9, 6, 1, 3, 1, 15, 10, 11, 7, 7, 0}, + {"HE", -20, 48, 2, "HEM13", 2, 8, 7, 1, 3, 5, 15, 10, 11, 8, 7, 0}, + {"HE", -20, 48, 3, "HEM13", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 49, 1, "HEM13", 1, 9, 6, 1, 3, 1, 15, 10, 11, 5, 7, 0}, + {"HE", -20, 49, 2, "HEM13", 1, 8, 7, 1, 3, 5, 15, 10, 11, 6, 7, 0}, + {"HE", -20, 49, 3, "HEM14", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 50, 1, "HEM14", 4, 9, 6, 1, 3, 1, 17, 12, 4, 7, 4, 1}, + {"HE", -20, 50, 2, "HEM14", 4, 8, 7, 1, 3, 5, 17, 12, 4, 8, 4, 1}, + {"HE", -20, 50, 3, "HEM14", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 51, 1, "HEM14", 3, 9, 6, 1, 3, 1, 17, 12, 4, 5, 4, 1}, + {"HE", -20, 51, 2, "HEM14", 3, 8, 7, 1, 3, 5, 17, 12, 4, 6, 4, 1}, + {"HE", -20, 51, 3, "HEM14", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 52, 1, "HEM14", 2, 9, 6, 1, 3, 1, 17, 12, 5, 7, 4, 0}, + {"HE", -20, 52, 2, "HEM14", 2, 8, 7, 1, 3, 5, 17, 12, 5, 8, 4, 0}, + {"HE", -20, 52, 3, "HEM14", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 53, 1, "HEM14", 1, 9, 6, 1, 3, 1, 17, 12, 5, 5, 4, 0}, + {"HE", -20, 53, 2, "HEM14", 1, 8, 7, 1, 3, 5, 17, 12, 5, 6, 4, 0}, + {"HE", -20, 53, 3, "HEM15", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 54, 1, "HEM15", 4, 9, 6, 1, 3, 1, 17, 12, 10, 7, 7, 1}, + {"HE", -20, 54, 2, "HEM15", 4, 8, 7, 1, 3, 5, 17, 12, 10, 8, 7, 1}, + {"HE", -20, 54, 3, "HEM15", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 55, 1, "HEM15", 3, 9, 6, 1, 3, 1, 17, 12, 10, 5, 7, 1}, + {"HE", -20, 55, 2, "HEM15", 3, 8, 7, 1, 3, 5, 17, 12, 10, 6, 7, 1}, + {"HE", -20, 55, 3, "HEM15", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 56, 1, "HEM15", 2, 9, 6, 1, 3, 1, 17, 12, 11, 7, 7, 0}, + {"HE", -20, 56, 2, "HEM15", 2, 8, 7, 1, 3, 5, 17, 12, 11, 8, 7, 0}, + {"HE", -20, 56, 3, "HEM15", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 57, 1, "HEM15", 1, 9, 6, 1, 3, 1, 17, 12, 11, 5, 7, 0}, + {"HE", -20, 57, 2, "HEM15", 1, 8, 7, 1, 3, 5, 17, 12, 11, 6, 7, 0}, + {"HE", -20, 57, 3, "HEM16", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 58, 1, "HEM16", 4, 9, 6, 1, 3, 1, 14, 14, 4, 7, 4, 1}, + {"HE", -20, 58, 2, "HEM16", 4, 8, 7, 1, 3, 5, 14, 14, 4, 8, 4, 1}, + {"HE", -20, 58, 3, "HEM16", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 59, 1, "HEM16", 3, 9, 6, 1, 3, 1, 14, 14, 4, 5, 4, 1}, + {"HE", -20, 59, 2, "HEM16", 3, 8, 7, 1, 3, 5, 14, 14, 4, 6, 4, 1}, + {"HE", -20, 59, 3, "HEM16", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 60, 1, "HEM16", 2, 9, 6, 1, 3, 1, 14, 14, 5, 7, 4, 0}, + {"HE", -20, 60, 2, "HEM16", 2, 8, 7, 1, 3, 5, 14, 14, 5, 8, 4, 0}, + {"HE", -20, 60, 3, "HEM16", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 61, 1, "HEM16", 1, 9, 6, 1, 3, 1, 14, 14, 5, 5, 4, 0}, + {"HE", -20, 61, 2, "HEM16", 1, 8, 7, 1, 3, 5, 14, 14, 5, 6, 4, 0}, + {"HE", -20, 61, 3, "HEM17", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 62, 1, "HEM17", 4, 9, 6, 1, 3, 1, 14, 14, 10, 7, 7, 1}, + {"HE", -20, 62, 2, "HEM17", 4, 8, 7, 1, 3, 5, 14, 14, 10, 8, 7, 1}, + {"HE", -20, 62, 3, "HEM17", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 63, 1, "HEM17", 3, 9, 6, 1, 3, 1, 14, 14, 10, 5, 7, 1}, + {"HE", -20, 63, 2, "HEM17", 3, 8, 7, 1, 3, 5, 14, 14, 10, 6, 7, 1}, + {"HE", -20, 63, 3, "HEM17", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 64, 1, "HEM17", 2, 9, 6, 1, 3, 1, 14, 14, 11, 7, 7, 0}, + {"HE", -20, 64, 2, "HEM17", 2, 8, 7, 1, 3, 5, 14, 14, 11, 8, 7, 0}, + {"HE", -20, 64, 3, "HEM17", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 65, 1, "HEM17", 1, 9, 6, 1, 3, 1, 14, 14, 11, 5, 7, 0}, + {"HE", -20, 65, 2, "HEM17", 1, 8, 7, 1, 3, 5, 14, 14, 11, 6, 7, 0}, + {"HE", -20, 65, 3, "HEM18", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 66, 1, "HEM18", 4, 9, 6, 1, 3, 1, 10, 16, 4, 7, 4, 1}, + {"HE", -20, 66, 2, "HEM18", 4, 8, 7, 1, 3, 5, 10, 16, 4, 8, 4, 1}, + {"HE", -20, 66, 3, "HEM18", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 67, 1, "HEM18", 3, 9, 6, 1, 3, 1, 10, 16, 4, 5, 4, 1}, + {"HE", -20, 67, 2, "HEM18", 3, 8, 7, 1, 3, 5, 10, 16, 4, 6, 4, 1}, + {"HE", -20, 67, 3, "HEM18", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 68, 1, "HEM18", 2, 9, 6, 1, 3, 1, 10, 16, 5, 7, 4, 0}, + {"HE", -20, 68, 2, "HEM18", 2, 8, 7, 1, 3, 5, 10, 16, 5, 8, 4, 0}, + {"HE", -20, 68, 3, "HEM18", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 69, 1, "HEM18", 1, 9, 6, 1, 3, 1, 10, 16, 5, 5, 4, 0}, + {"HE", -20, 69, 2, "HEM18", 1, 8, 7, 1, 3, 5, 10, 16, 5, 6, 4, 0}, + {"HE", -20, 69, 3, "HEM01", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -20, 70, 1, "HEM01", 4, 9, 6, 1, 3, 1, 10, 16, 10, 7, 7, 1}, + {"HE", -20, 70, 2, "HEM01", 4, 8, 7, 1, 3, 5, 10, 16, 10, 8, 7, 1}, + {"HE", -20, 70, 3, "HEM01", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 0, 1, "HEM01", 2, 4, 7, 0, 3, 4, 10, 16, 11, 8, 7, 0}, + {"HE", -19, 0, 2, "HEM01", 2, 1, 6, 0, 3, 0, 10, 16, 11, 7, 7, 0}, + {"HE", -19, 0, 3, "HEM01", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 1, 1, "HEM01", 1, 13, 7, 0, 3, 4, 10, 16, 11, 6, 7, 0}, + {"HE", -19, 1, 2, "HEM01", 1, 17, 6, 0, 3, 0, 10, 16, 11, 5, 7, 0}, + {"HE", -19, 1, 3, "HEM01", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 2, 1, "HEM02", 4, 4, 7, 0, 3, 4, 4, 0, 4, 8, 4, 1}, + {"HE", -19, 2, 2, "HEM02", 4, 1, 6, 0, 3, 0, 4, 0, 4, 7, 4, 1}, + {"HE", -19, 2, 3, "HEM02", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 3, 1, "HEM02", 3, 13, 7, 0, 3, 4, 4, 0, 4, 6, 4, 1}, + {"HE", -19, 3, 2, "HEM02", 3, 17, 6, 0, 3, 0, 4, 0, 4, 5, 4, 1}, + {"HE", -19, 3, 3, "HEM02", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 4, 1, "HEM02", 2, 4, 7, 0, 3, 4, 4, 0, 5, 8, 4, 0}, + {"HE", -19, 4, 2, "HEM02", 2, 1, 6, 0, 3, 0, 4, 0, 5, 7, 4, 0}, + {"HE", -19, 4, 3, "HEM02", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 5, 1, "HEM02", 1, 13, 7, 0, 3, 4, 4, 0, 5, 6, 4, 0}, + {"HE", -19, 5, 2, "HEM02", 1, 17, 6, 0, 3, 0, 4, 0, 5, 5, 4, 0}, + {"HE", -19, 5, 3, "HEM02", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 6, 1, "HEM03", 4, 4, 7, 0, 3, 4, 4, 0, 10, 8, 7, 1}, + {"HE", -19, 6, 2, "HEM03", 4, 1, 6, 0, 3, 0, 4, 0, 10, 7, 7, 1}, + {"HE", -19, 6, 3, "HEM03", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 7, 1, "HEM03", 3, 13, 7, 0, 3, 4, 4, 0, 10, 6, 7, 1}, + {"HE", -19, 7, 2, "HEM03", 3, 17, 6, 0, 3, 0, 4, 0, 10, 5, 7, 1}, + {"HE", -19, 7, 3, "HEM03", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 8, 1, "HEM03", 2, 4, 7, 0, 3, 4, 4, 0, 11, 8, 7, 0}, + {"HE", -19, 8, 2, "HEM03", 2, 1, 6, 0, 3, 0, 4, 0, 11, 7, 7, 0}, + {"HE", -19, 8, 3, "HEM03", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 9, 1, "HEM03", 1, 13, 7, 0, 3, 4, 4, 0, 11, 6, 7, 0}, + {"HE", -19, 9, 2, "HEM03", 1, 17, 6, 0, 3, 0, 4, 0, 11, 5, 7, 0}, + {"HE", -19, 9, 3, "HEM03", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 10, 1, "HEM04", 4, 4, 7, 0, 3, 4, 0, 2, 4, 8, 4, 1}, + {"HE", -19, 10, 2, "HEM04", 4, 1, 6, 0, 3, 0, 0, 2, 4, 7, 4, 1}, + {"HE", -19, 10, 3, "HEM04", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 11, 1, "HEM04", 3, 13, 7, 0, 3, 4, 0, 2, 4, 6, 4, 1}, + {"HE", -19, 11, 2, "HEM04", 3, 17, 6, 0, 3, 0, 0, 2, 4, 5, 4, 1}, + {"HE", -19, 11, 3, "HEM04", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 12, 1, "HEM04", 2, 4, 7, 0, 3, 4, 0, 2, 5, 8, 4, 0}, + {"HE", -19, 12, 2, "HEM04", 2, 1, 6, 0, 3, 0, 0, 2, 5, 7, 4, 0}, + {"HE", -19, 12, 3, "HEM04", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 13, 1, "HEM04", 1, 13, 7, 0, 3, 4, 0, 2, 5, 6, 4, 0}, + {"HE", -19, 13, 2, "HEM04", 1, 17, 6, 0, 3, 0, 0, 2, 5, 5, 4, 0}, + {"HE", -19, 13, 3, "HEM04", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 14, 1, "HEM05", 4, 4, 7, 0, 3, 4, 0, 2, 10, 8, 7, 1}, + {"HE", -19, 14, 2, "HEM05", 4, 1, 6, 0, 3, 0, 0, 2, 10, 7, 7, 1}, + {"HE", -19, 14, 3, "HEM05", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 15, 1, "HEM05", 3, 13, 7, 0, 3, 4, 0, 2, 10, 6, 7, 1}, + {"HE", -19, 15, 2, "HEM05", 3, 17, 6, 0, 3, 0, 0, 2, 10, 5, 7, 1}, + {"HE", -19, 15, 3, "HEM05", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 16, 1, "HEM05", 2, 4, 7, 0, 3, 4, 0, 2, 11, 8, 7, 0}, + {"HE", -19, 16, 2, "HEM05", 2, 1, 6, 0, 3, 0, 0, 2, 11, 7, 7, 0}, + {"HE", -19, 16, 3, "HEM05", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 17, 1, "HEM05", 1, 13, 7, 0, 3, 4, 0, 2, 11, 6, 7, 0}, + {"HE", -19, 17, 2, "HEM05", 1, 17, 6, 0, 3, 0, 0, 2, 11, 5, 7, 0}, + {"HE", -19, 17, 3, "HEM05", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 18, 1, "HEM06", 4, 4, 7, 0, 3, 4, 1, 4, 4, 8, 4, 1}, + {"HE", -19, 18, 2, "HEM06", 4, 1, 6, 0, 3, 0, 1, 4, 4, 7, 4, 1}, + {"HE", -19, 18, 3, "HEM06", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 19, 1, "HEM06", 3, 13, 7, 0, 3, 4, 1, 4, 4, 6, 4, 1}, + {"HE", -19, 19, 2, "HEM06", 3, 17, 6, 0, 3, 0, 1, 4, 4, 5, 4, 1}, + {"HE", -19, 19, 3, "HEM06", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 20, 1, "HEM06", 2, 4, 7, 0, 3, 4, 1, 4, 5, 8, 4, 0}, + {"HE", -19, 20, 2, "HEM06", 2, 1, 6, 0, 3, 0, 1, 4, 5, 7, 4, 0}, + {"HE", -19, 20, 3, "HEM06", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 21, 1, "HEM06", 1, 13, 7, 0, 3, 4, 1, 4, 5, 6, 4, 0}, + {"HE", -19, 21, 2, "HEM06", 1, 17, 6, 0, 3, 0, 1, 4, 5, 5, 4, 0}, + {"HE", -19, 21, 3, "HEM06", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 22, 1, "HEM07", 4, 4, 7, 0, 3, 4, 1, 4, 10, 8, 7, 1}, + {"HE", -19, 22, 2, "HEM07", 4, 1, 6, 0, 3, 0, 1, 4, 10, 7, 7, 1}, + {"HE", -19, 22, 3, "HEM07", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 23, 1, "HEM07", 3, 13, 7, 0, 3, 4, 1, 4, 10, 6, 7, 1}, + {"HE", -19, 23, 2, "HEM07", 3, 17, 6, 0, 3, 0, 1, 4, 10, 5, 7, 1}, + {"HE", -19, 23, 3, "HEM07", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 24, 1, "HEM07", 2, 4, 7, 0, 3, 4, 1, 4, 11, 8, 7, 0}, + {"HE", -19, 24, 2, "HEM07", 2, 1, 6, 0, 3, 0, 1, 4, 11, 7, 7, 0}, + {"HE", -19, 24, 3, "HEM07", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 25, 1, "HEM07", 1, 13, 7, 0, 3, 4, 1, 4, 11, 6, 7, 0}, + {"HE", -19, 25, 2, "HEM07", 1, 17, 6, 0, 3, 0, 1, 4, 11, 5, 7, 0}, + {"HE", -19, 25, 3, "HEM07", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 26, 1, "HEM08", 4, 4, 7, 0, 3, 4, 5, 6, 4, 8, 4, 1}, + {"HE", -19, 26, 2, "HEM08", 4, 1, 6, 0, 3, 0, 5, 6, 4, 7, 4, 1}, + {"HE", -19, 26, 3, "HEM08", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 27, 1, "HEM08", 3, 13, 7, 0, 3, 4, 5, 6, 4, 6, 4, 1}, + {"HE", -19, 27, 2, "HEM08", 3, 17, 6, 0, 3, 0, 5, 6, 4, 5, 4, 1}, + {"HE", -19, 27, 3, "HEM08", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 28, 1, "HEM08", 2, 4, 7, 0, 3, 4, 5, 6, 5, 8, 4, 0}, + {"HE", -19, 28, 2, "HEM08", 2, 1, 6, 0, 3, 0, 5, 6, 5, 7, 4, 0}, + {"HE", -19, 28, 3, "HEM08", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 29, 1, "HEM08", 1, 13, 7, 0, 3, 4, 5, 6, 5, 6, 4, 0}, + {"HE", -19, 29, 2, "HEM08", 1, 17, 6, 0, 3, 0, 5, 6, 5, 5, 4, 0}, + {"HE", -19, 29, 3, "HEM08", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 30, 1, "HEM09", 4, 4, 7, 0, 3, 4, 5, 6, 10, 8, 7, 1}, + {"HE", -19, 30, 2, "HEM09", 4, 1, 6, 0, 3, 0, 5, 6, 10, 7, 7, 1}, + {"HE", -19, 30, 3, "HEM09", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 31, 1, "HEM09", 3, 13, 7, 0, 3, 4, 5, 6, 10, 6, 7, 1}, + {"HE", -19, 31, 2, "HEM09", 3, 17, 6, 0, 3, 0, 5, 6, 10, 5, 7, 1}, + {"HE", -19, 31, 3, "HEM09", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 32, 1, "HEM09", 2, 4, 7, 0, 3, 4, 5, 6, 11, 8, 7, 0}, + {"HE", -19, 32, 2, "HEM09", 2, 1, 6, 0, 3, 0, 5, 6, 11, 7, 7, 0}, + {"HE", -19, 32, 3, "HEM09", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 33, 1, "HEM09", 1, 13, 7, 0, 3, 4, 5, 6, 11, 6, 7, 0}, + {"HE", -19, 33, 2, "HEM09", 1, 17, 6, 0, 3, 0, 5, 6, 11, 5, 7, 0}, + {"HE", -19, 33, 3, "HEM09", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 34, 1, "HEM10", 4, 4, 7, 0, 3, 4, 11, 8, 4, 8, 4, 1}, + {"HE", -19, 34, 2, "HEM10", 4, 1, 6, 0, 3, 0, 11, 8, 4, 7, 4, 1}, + {"HE", -19, 34, 3, "HEM10", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 35, 1, "HEM10", 3, 13, 7, 0, 3, 4, 11, 8, 4, 6, 4, 1}, + {"HE", -19, 35, 2, "HEM10", 3, 17, 6, 0, 3, 0, 11, 8, 4, 5, 4, 1}, + {"HE", -19, 35, 3, "HEM10", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 36, 1, "HEM10", 2, 4, 7, 0, 3, 4, 11, 8, 5, 8, 4, 0}, + {"HE", -19, 36, 2, "HEM10", 2, 1, 6, 0, 3, 0, 11, 8, 5, 7, 4, 0}, + {"HE", -19, 36, 3, "HEM10", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 37, 1, "HEM10", 1, 13, 7, 0, 3, 4, 11, 8, 5, 6, 4, 0}, + {"HE", -19, 37, 2, "HEM10", 1, 17, 6, 0, 3, 0, 11, 8, 5, 5, 4, 0}, + {"HE", -19, 37, 3, "HEM10", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 38, 1, "HEM11", 4, 4, 7, 0, 3, 4, 11, 8, 10, 8, 7, 1}, + {"HE", -19, 38, 2, "HEM11", 4, 1, 6, 0, 3, 0, 11, 8, 10, 7, 7, 1}, + {"HE", -19, 38, 3, "HEM11", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 39, 1, "HEM11", 3, 13, 7, 0, 3, 4, 11, 8, 10, 6, 7, 1}, + {"HE", -19, 39, 2, "HEM11", 3, 17, 6, 0, 3, 0, 11, 8, 10, 5, 7, 1}, + {"HE", -19, 39, 3, "HEM11", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 40, 1, "HEM11", 2, 4, 7, 0, 3, 4, 11, 8, 11, 8, 7, 0}, + {"HE", -19, 40, 2, "HEM11", 2, 1, 6, 0, 3, 0, 11, 8, 11, 7, 7, 0}, + {"HE", -19, 40, 3, "HEM11", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 41, 1, "HEM11", 1, 13, 7, 0, 3, 4, 11, 8, 11, 6, 7, 0}, + {"HE", -19, 41, 2, "HEM11", 1, 17, 6, 0, 3, 0, 11, 8, 11, 5, 7, 0}, + {"HE", -19, 41, 3, "HEM11", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 42, 1, "HEM12", 4, 4, 7, 0, 3, 4, 15, 10, 4, 8, 4, 1}, + {"HE", -19, 42, 2, "HEM12", 4, 1, 6, 0, 3, 0, 15, 10, 4, 7, 4, 1}, + {"HE", -19, 42, 3, "HEM12", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 43, 1, "HEM12", 3, 13, 7, 0, 3, 4, 15, 10, 4, 6, 4, 1}, + {"HE", -19, 43, 2, "HEM12", 3, 17, 6, 0, 3, 0, 15, 10, 4, 5, 4, 1}, + {"HE", -19, 43, 3, "HEM12", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 44, 1, "HEM12", 2, 4, 7, 0, 3, 4, 15, 10, 5, 8, 4, 0}, + {"HE", -19, 44, 2, "HEM12", 2, 1, 6, 0, 3, 0, 15, 10, 5, 7, 4, 0}, + {"HE", -19, 44, 3, "HEM12", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 45, 1, "HEM12", 1, 13, 7, 0, 3, 4, 15, 10, 5, 6, 4, 0}, + {"HE", -19, 45, 2, "HEM12", 1, 17, 6, 0, 3, 0, 15, 10, 5, 5, 4, 0}, + {"HE", -19, 45, 3, "HEM12", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 46, 1, "HEM13", 4, 4, 7, 0, 3, 4, 15, 10, 10, 8, 7, 1}, + {"HE", -19, 46, 2, "HEM13", 4, 1, 6, 0, 3, 0, 15, 10, 10, 7, 7, 1}, + {"HE", -19, 46, 3, "HEM13", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 47, 1, "HEM13", 3, 13, 7, 0, 3, 4, 15, 10, 10, 6, 7, 1}, + {"HE", -19, 47, 2, "HEM13", 3, 17, 6, 0, 3, 0, 15, 10, 10, 5, 7, 1}, + {"HE", -19, 47, 3, "HEM13", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 48, 1, "HEM13", 2, 4, 7, 0, 3, 4, 15, 10, 11, 8, 7, 0}, + {"HE", -19, 48, 2, "HEM13", 2, 1, 6, 0, 3, 0, 15, 10, 11, 7, 7, 0}, + {"HE", -19, 48, 3, "HEM13", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 49, 1, "HEM13", 1, 13, 7, 0, 3, 4, 15, 10, 11, 6, 7, 0}, + {"HE", -19, 49, 2, "HEM13", 1, 17, 6, 0, 3, 0, 15, 10, 11, 5, 7, 0}, + {"HE", -19, 49, 3, "HEM13", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 50, 1, "HEM14", 4, 4, 7, 0, 3, 4, 17, 12, 4, 8, 4, 1}, + {"HE", -19, 50, 2, "HEM14", 4, 1, 6, 0, 3, 0, 17, 12, 4, 7, 4, 1}, + {"HE", -19, 50, 3, "HEM14", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 51, 1, "HEM14", 3, 13, 7, 0, 3, 4, 17, 12, 4, 6, 4, 1}, + {"HE", -19, 51, 2, "HEM14", 3, 17, 6, 0, 3, 0, 17, 12, 4, 5, 4, 1}, + {"HE", -19, 51, 3, "HEM14", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 52, 1, "HEM14", 2, 4, 7, 0, 3, 4, 17, 12, 5, 8, 4, 0}, + {"HE", -19, 52, 2, "HEM14", 2, 1, 6, 0, 3, 0, 17, 12, 5, 7, 4, 0}, + {"HE", -19, 52, 3, "HEM14", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 53, 1, "HEM14", 1, 13, 7, 0, 3, 4, 17, 12, 5, 6, 4, 0}, + {"HE", -19, 53, 2, "HEM14", 1, 17, 6, 0, 3, 0, 17, 12, 5, 5, 4, 0}, + {"HE", -19, 53, 3, "HEM14", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 54, 1, "HEM15", 4, 4, 7, 0, 3, 4, 17, 12, 10, 8, 7, 1}, + {"HE", -19, 54, 2, "HEM15", 4, 1, 6, 0, 3, 0, 17, 12, 10, 7, 7, 1}, + {"HE", -19, 54, 3, "HEM15", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 55, 1, "HEM15", 3, 13, 7, 0, 3, 4, 17, 12, 10, 6, 7, 1}, + {"HE", -19, 55, 2, "HEM15", 3, 17, 6, 0, 3, 0, 17, 12, 10, 5, 7, 1}, + {"HE", -19, 55, 3, "HEM15", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 56, 1, "HEM15", 2, 4, 7, 0, 3, 4, 17, 12, 11, 8, 7, 0}, + {"HE", -19, 56, 2, "HEM15", 2, 1, 6, 0, 3, 0, 17, 12, 11, 7, 7, 0}, + {"HE", -19, 56, 3, "HEM15", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 57, 1, "HEM15", 1, 13, 7, 0, 3, 4, 17, 12, 11, 6, 7, 0}, + {"HE", -19, 57, 2, "HEM15", 1, 17, 6, 0, 3, 0, 17, 12, 11, 5, 7, 0}, + {"HE", -19, 57, 3, "HEM15", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 58, 1, "HEM16", 4, 4, 7, 0, 3, 4, 14, 14, 4, 8, 4, 1}, + {"HE", -19, 58, 2, "HEM16", 4, 1, 6, 0, 3, 0, 14, 14, 4, 7, 4, 1}, + {"HE", -19, 58, 3, "HEM16", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 59, 1, "HEM16", 3, 13, 7, 0, 3, 4, 14, 14, 4, 6, 4, 1}, + {"HE", -19, 59, 2, "HEM16", 3, 17, 6, 0, 3, 0, 14, 14, 4, 5, 4, 1}, + {"HE", -19, 59, 3, "HEM16", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 60, 1, "HEM16", 2, 4, 7, 0, 3, 4, 14, 14, 5, 8, 4, 0}, + {"HE", -19, 60, 2, "HEM16", 2, 1, 6, 0, 3, 0, 14, 14, 5, 7, 4, 0}, + {"HE", -19, 60, 3, "HEM16", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 61, 1, "HEM16", 1, 13, 7, 0, 3, 4, 14, 14, 5, 6, 4, 0}, + {"HE", -19, 61, 2, "HEM16", 1, 17, 6, 0, 3, 0, 14, 14, 5, 5, 4, 0}, + {"HE", -19, 61, 3, "HEM16", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 62, 1, "HEM17", 4, 4, 7, 0, 3, 4, 14, 14, 10, 8, 7, 1}, + {"HE", -19, 62, 2, "HEM17", 4, 1, 6, 0, 3, 0, 14, 14, 10, 7, 7, 1}, + {"HE", -19, 62, 3, "HEM17", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 63, 1, "HEM17", 3, 13, 7, 0, 3, 4, 14, 14, 10, 6, 7, 1}, + {"HE", -19, 63, 2, "HEM17", 3, 17, 6, 0, 3, 0, 14, 14, 10, 5, 7, 1}, + {"HE", -19, 63, 3, "HEM17", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 64, 1, "HEM17", 2, 4, 7, 0, 3, 4, 14, 14, 11, 8, 7, 0}, + {"HE", -19, 64, 2, "HEM17", 2, 1, 6, 0, 3, 0, 14, 14, 11, 7, 7, 0}, + {"HE", -19, 64, 3, "HEM17", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 65, 1, "HEM17", 1, 13, 7, 0, 3, 4, 14, 14, 11, 6, 7, 0}, + {"HE", -19, 65, 2, "HEM17", 1, 17, 6, 0, 3, 0, 14, 14, 11, 5, 7, 0}, + {"HE", -19, 65, 3, "HEM17", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 66, 1, "HEM18", 4, 4, 7, 0, 3, 4, 10, 16, 4, 8, 4, 1}, + {"HE", -19, 66, 2, "HEM18", 4, 1, 6, 0, 3, 0, 10, 16, 4, 7, 4, 1}, + {"HE", -19, 66, 3, "HEM18", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 67, 1, "HEM18", 3, 13, 7, 0, 3, 4, 10, 16, 4, 6, 4, 1}, + {"HE", -19, 67, 2, "HEM18", 3, 17, 6, 0, 3, 0, 10, 16, 4, 5, 4, 1}, + {"HE", -19, 67, 3, "HEM18", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 68, 1, "HEM18", 2, 4, 7, 0, 3, 4, 10, 16, 5, 8, 4, 0}, + {"HE", -19, 68, 2, "HEM18", 2, 1, 6, 0, 3, 0, 10, 16, 5, 7, 4, 0}, + {"HE", -19, 68, 3, "HEM18", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 69, 1, "HEM18", 1, 13, 7, 0, 3, 4, 10, 16, 5, 6, 4, 0}, + {"HE", -19, 69, 2, "HEM18", 1, 17, 6, 0, 3, 0, 10, 16, 5, 5, 4, 0}, + {"HE", -19, 69, 3, "HEM18", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -19, 70, 1, "HEM01", 4, 4, 7, 0, 3, 4, 10, 16, 10, 8, 7, 1}, + {"HE", -19, 70, 2, "HEM01", 4, 1, 6, 0, 3, 0, 10, 16, 10, 7, 7, 1}, + {"HE", -19, 70, 3, "HEM01", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 0, 1, "HEM01", 2, 11, 3, 0, 1, 4, 10, 16, 9, 8, 6, 0}, + {"HE", -18, 0, 2, "HEM01", 2, 3, 3, 1, 1, 5, 10, 16, 9, 8, 6, 0}, + {"HE", -18, 0, 3, "HEM01", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 1, 1, "HEM01", 1, 11, 3, 0, 1, 4, 10, 16, 9, 6, 6, 0}, + {"HE", -18, 1, 2, "HEM01", 1, 19, 3, 1, 1, 5, 10, 16, 9, 6, 6, 0}, + {"HE", -18, 1, 3, "HEM01", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 2, 1, "HEM02", 4, 11, 3, 0, 1, 4, 4, 0, 2, 8, 3, 1}, + {"HE", -18, 2, 2, "HEM02", 4, 3, 3, 1, 1, 5, 4, 0, 2, 8, 3, 1}, + {"HE", -18, 2, 3, "HEM02", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 3, 1, "HEM02", 3, 11, 3, 0, 1, 4, 4, 0, 2, 6, 3, 1}, + {"HE", -18, 3, 2, "HEM02", 3, 19, 3, 1, 1, 5, 4, 0, 2, 6, 3, 1}, + {"HE", -18, 3, 3, "HEM02", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 4, 1, "HEM02", 2, 11, 3, 0, 1, 4, 4, 0, 3, 8, 3, 0}, + {"HE", -18, 4, 2, "HEM02", 2, 3, 3, 1, 1, 5, 4, 0, 3, 8, 3, 0}, + {"HE", -18, 4, 3, "HEM02", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 5, 1, "HEM02", 1, 11, 3, 0, 1, 4, 4, 0, 3, 6, 3, 0}, + {"HE", -18, 5, 2, "HEM02", 1, 19, 3, 1, 1, 5, 4, 0, 3, 6, 3, 0}, + {"HE", -18, 5, 3, "HEM02", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 6, 1, "HEM03", 4, 11, 3, 0, 1, 4, 4, 0, 8, 8, 6, 1}, + {"HE", -18, 6, 2, "HEM03", 4, 3, 3, 1, 1, 5, 4, 0, 8, 8, 6, 1}, + {"HE", -18, 6, 3, "HEM03", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 7, 1, "HEM03", 3, 11, 3, 0, 1, 4, 4, 0, 8, 6, 6, 1}, + {"HE", -18, 7, 2, "HEM03", 3, 19, 3, 1, 1, 5, 4, 0, 8, 6, 6, 1}, + {"HE", -18, 7, 3, "HEM03", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 8, 1, "HEM03", 2, 11, 3, 0, 1, 4, 4, 0, 9, 8, 6, 0}, + {"HE", -18, 8, 2, "HEM03", 2, 3, 3, 1, 1, 5, 4, 0, 9, 8, 6, 0}, + {"HE", -18, 8, 3, "HEM03", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 9, 1, "HEM03", 1, 11, 3, 0, 1, 4, 4, 0, 9, 6, 6, 0}, + {"HE", -18, 9, 2, "HEM03", 1, 19, 3, 1, 1, 5, 4, 0, 9, 6, 6, 0}, + {"HE", -18, 9, 3, "HEM03", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 10, 1, "HEM04", 4, 11, 3, 0, 1, 4, 0, 2, 2, 8, 3, 1}, + {"HE", -18, 10, 2, "HEM04", 4, 3, 3, 1, 1, 5, 0, 2, 2, 8, 3, 1}, + {"HE", -18, 10, 3, "HEM04", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 11, 1, "HEM04", 3, 11, 3, 0, 1, 4, 0, 2, 2, 6, 3, 1}, + {"HE", -18, 11, 2, "HEM04", 3, 19, 3, 1, 1, 5, 0, 2, 2, 6, 3, 1}, + {"HE", -18, 11, 3, "HEM04", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 12, 1, "HEM04", 2, 11, 3, 0, 1, 4, 0, 2, 3, 8, 3, 0}, + {"HE", -18, 12, 2, "HEM04", 2, 3, 3, 1, 1, 5, 0, 2, 3, 8, 3, 0}, + {"HE", -18, 12, 3, "HEM04", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 13, 1, "HEM04", 1, 11, 3, 0, 1, 4, 0, 2, 3, 6, 3, 0}, + {"HE", -18, 13, 2, "HEM04", 1, 19, 3, 1, 1, 5, 0, 2, 3, 6, 3, 0}, + {"HE", -18, 13, 3, "HEM04", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 14, 1, "HEM05", 4, 11, 3, 0, 1, 4, 0, 2, 8, 8, 6, 1}, + {"HE", -18, 14, 2, "HEM05", 4, 3, 3, 1, 1, 5, 0, 2, 8, 8, 6, 1}, + {"HE", -18, 14, 3, "HEM05", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 15, 1, "HEM05", 3, 11, 3, 0, 1, 4, 0, 2, 8, 6, 6, 1}, + {"HE", -18, 15, 2, "HEM05", 3, 19, 3, 1, 1, 5, 0, 2, 8, 6, 6, 1}, + {"HE", -18, 15, 3, "HEM05", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 16, 1, "HEM05", 2, 11, 3, 0, 1, 4, 0, 2, 9, 8, 6, 0}, + {"HE", -18, 16, 2, "HEM05", 2, 3, 3, 1, 1, 5, 0, 2, 9, 8, 6, 0}, + {"HE", -18, 16, 3, "HEM05", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 17, 1, "HEM05", 1, 11, 3, 0, 1, 4, 0, 2, 9, 6, 6, 0}, + {"HE", -18, 17, 2, "HEM05", 1, 19, 3, 1, 1, 5, 0, 2, 9, 6, 6, 0}, + {"HE", -18, 17, 3, "HEM05", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 18, 1, "HEM06", 4, 11, 3, 0, 1, 4, 1, 4, 2, 8, 3, 1}, + {"HE", -18, 18, 2, "HEM06", 4, 3, 3, 1, 1, 5, 1, 4, 2, 8, 3, 1}, + {"HE", -18, 18, 3, "HEM06", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 19, 1, "HEM06", 3, 11, 3, 0, 1, 4, 1, 4, 2, 6, 3, 1}, + {"HE", -18, 19, 2, "HEM06", 3, 19, 3, 1, 1, 5, 1, 4, 2, 6, 3, 1}, + {"HE", -18, 19, 3, "HEM06", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 20, 1, "HEM06", 2, 11, 3, 0, 1, 4, 1, 4, 3, 8, 3, 0}, + {"HE", -18, 20, 2, "HEM06", 2, 3, 3, 1, 1, 5, 1, 4, 3, 8, 3, 0}, + {"HE", -18, 20, 3, "HEM06", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 21, 1, "HEM06", 1, 11, 3, 0, 1, 4, 1, 4, 3, 6, 3, 0}, + {"HE", -18, 21, 2, "HEM06", 1, 19, 3, 1, 1, 5, 1, 4, 3, 6, 3, 0}, + {"HE", -18, 21, 3, "HEM06", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 22, 1, "HEM07", 4, 11, 3, 0, 1, 4, 1, 4, 8, 8, 6, 1}, + {"HE", -18, 22, 2, "HEM07", 4, 3, 3, 1, 1, 5, 1, 4, 8, 8, 6, 1}, + {"HE", -18, 22, 3, "HEM07", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 23, 1, "HEM07", 3, 11, 3, 0, 1, 4, 1, 4, 8, 6, 6, 1}, + {"HE", -18, 23, 2, "HEM07", 3, 19, 3, 1, 1, 5, 1, 4, 8, 6, 6, 1}, + {"HE", -18, 23, 3, "HEM07", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 24, 1, "HEM07", 2, 11, 3, 0, 1, 4, 1, 4, 9, 8, 6, 0}, + {"HE", -18, 24, 2, "HEM07", 2, 3, 3, 1, 1, 5, 1, 4, 9, 8, 6, 0}, + {"HE", -18, 24, 3, "HEM07", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 25, 1, "HEM07", 1, 11, 3, 0, 1, 4, 1, 4, 9, 6, 6, 0}, + {"HE", -18, 25, 2, "HEM07", 1, 19, 3, 1, 1, 5, 1, 4, 9, 6, 6, 0}, + {"HE", -18, 25, 3, "HEM07", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 26, 1, "HEM08", 4, 11, 3, 0, 1, 4, 5, 6, 2, 8, 3, 1}, + {"HE", -18, 26, 2, "HEM08", 4, 3, 3, 1, 1, 5, 5, 6, 2, 8, 3, 1}, + {"HE", -18, 26, 3, "HEM08", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 27, 1, "HEM08", 3, 11, 3, 0, 1, 4, 5, 6, 2, 6, 3, 1}, + {"HE", -18, 27, 2, "HEM08", 3, 19, 3, 1, 1, 5, 5, 6, 2, 6, 3, 1}, + {"HE", -18, 27, 3, "HEM08", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 28, 1, "HEM08", 2, 11, 3, 0, 1, 4, 5, 6, 3, 8, 3, 0}, + {"HE", -18, 28, 2, "HEM08", 2, 3, 3, 1, 1, 5, 5, 6, 3, 8, 3, 0}, + {"HE", -18, 28, 3, "HEM08", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 29, 1, "HEM08", 1, 11, 3, 0, 1, 4, 5, 6, 3, 6, 3, 0}, + {"HE", -18, 29, 2, "HEM08", 1, 19, 3, 1, 1, 5, 5, 6, 3, 6, 3, 0}, + {"HE", -18, 29, 3, "HEM08", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 30, 1, "HEM09", 4, 11, 3, 0, 1, 4, 5, 6, 8, 8, 6, 1}, + {"HE", -18, 30, 2, "HEM09", 4, 3, 3, 1, 1, 5, 5, 6, 8, 8, 6, 1}, + {"HE", -18, 30, 3, "HEM09", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 31, 1, "HEM09", 3, 11, 3, 0, 1, 4, 5, 6, 8, 6, 6, 1}, + {"HE", -18, 31, 2, "HEM09", 3, 19, 3, 1, 1, 5, 5, 6, 8, 6, 6, 1}, + {"HE", -18, 31, 3, "HEM09", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 32, 1, "HEM09", 2, 11, 3, 0, 1, 4, 5, 6, 9, 8, 6, 0}, + {"HE", -18, 32, 2, "HEM09", 2, 3, 3, 1, 1, 5, 5, 6, 9, 8, 6, 0}, + {"HE", -18, 32, 3, "HEM09", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 33, 1, "HEM09", 1, 11, 3, 0, 1, 4, 5, 6, 9, 6, 6, 0}, + {"HE", -18, 33, 2, "HEM09", 1, 19, 3, 1, 1, 5, 5, 6, 9, 6, 6, 0}, + {"HE", -18, 33, 3, "HEM09", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 34, 1, "HEM10", 4, 11, 3, 0, 1, 4, 11, 8, 2, 8, 3, 1}, + {"HE", -18, 34, 2, "HEM10", 4, 3, 3, 1, 1, 5, 11, 8, 2, 8, 3, 1}, + {"HE", -18, 34, 3, "HEM10", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 35, 1, "HEM10", 3, 11, 3, 0, 1, 4, 11, 8, 2, 6, 3, 1}, + {"HE", -18, 35, 2, "HEM10", 3, 19, 3, 1, 1, 5, 11, 8, 2, 6, 3, 1}, + {"HE", -18, 35, 3, "HEM10", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 36, 1, "HEM10", 2, 11, 3, 0, 1, 4, 11, 8, 3, 8, 3, 0}, + {"HE", -18, 36, 2, "HEM10", 2, 3, 3, 1, 1, 5, 11, 8, 3, 8, 3, 0}, + {"HE", -18, 36, 3, "HEM10", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 37, 1, "HEM10", 1, 11, 3, 0, 1, 4, 11, 8, 3, 6, 3, 0}, + {"HE", -18, 37, 2, "HEM10", 1, 19, 3, 1, 1, 5, 11, 8, 3, 6, 3, 0}, + {"HE", -18, 37, 3, "HEM10", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 38, 1, "HEM11", 4, 11, 3, 0, 1, 4, 11, 8, 8, 8, 6, 1}, + {"HE", -18, 38, 2, "HEM11", 4, 3, 3, 1, 1, 5, 11, 8, 8, 8, 6, 1}, + {"HE", -18, 38, 3, "HEM11", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 39, 1, "HEM11", 3, 11, 3, 0, 1, 4, 11, 8, 8, 6, 6, 1}, + {"HE", -18, 39, 2, "HEM11", 3, 19, 3, 1, 1, 5, 11, 8, 8, 6, 6, 1}, + {"HE", -18, 39, 3, "HEM11", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 40, 1, "HEM11", 2, 11, 3, 0, 1, 4, 11, 8, 9, 8, 6, 0}, + {"HE", -18, 40, 2, "HEM11", 2, 3, 3, 1, 1, 5, 11, 8, 9, 8, 6, 0}, + {"HE", -18, 40, 3, "HEM11", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 41, 1, "HEM11", 1, 11, 3, 0, 1, 4, 11, 8, 9, 6, 6, 0}, + {"HE", -18, 41, 2, "HEM11", 1, 19, 3, 1, 1, 5, 11, 8, 9, 6, 6, 0}, + {"HE", -18, 41, 3, "HEM11", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 42, 1, "HEM12", 4, 11, 3, 0, 1, 4, 15, 10, 2, 8, 3, 1}, + {"HE", -18, 42, 2, "HEM12", 4, 3, 3, 1, 1, 5, 15, 10, 2, 8, 3, 1}, + {"HE", -18, 42, 3, "HEM12", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 43, 1, "HEM12", 3, 11, 3, 0, 1, 4, 15, 10, 2, 6, 3, 1}, + {"HE", -18, 43, 2, "HEM12", 3, 19, 3, 1, 1, 5, 15, 10, 2, 6, 3, 1}, + {"HE", -18, 43, 3, "HEM12", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 44, 1, "HEM12", 2, 11, 3, 0, 1, 4, 15, 10, 3, 8, 3, 0}, + {"HE", -18, 44, 2, "HEM12", 2, 3, 3, 1, 1, 5, 15, 10, 3, 8, 3, 0}, + {"HE", -18, 44, 3, "HEM12", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 45, 1, "HEM12", 1, 11, 3, 0, 1, 4, 15, 10, 3, 6, 3, 0}, + {"HE", -18, 45, 2, "HEM12", 1, 19, 3, 1, 1, 5, 15, 10, 3, 6, 3, 0}, + {"HE", -18, 45, 3, "HEM12", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 46, 1, "HEM13", 4, 11, 3, 0, 1, 4, 15, 10, 8, 8, 6, 1}, + {"HE", -18, 46, 2, "HEM13", 4, 3, 3, 1, 1, 5, 15, 10, 8, 8, 6, 1}, + {"HE", -18, 46, 3, "HEM13", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 47, 1, "HEM13", 3, 11, 3, 0, 1, 4, 15, 10, 8, 6, 6, 1}, + {"HE", -18, 47, 2, "HEM13", 3, 19, 3, 1, 1, 5, 15, 10, 8, 6, 6, 1}, + {"HE", -18, 47, 3, "HEM13", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 48, 1, "HEM13", 2, 11, 3, 0, 1, 4, 15, 10, 9, 8, 6, 0}, + {"HE", -18, 48, 2, "HEM13", 2, 3, 3, 1, 1, 5, 15, 10, 9, 8, 6, 0}, + {"HE", -18, 48, 3, "HEM13", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 49, 1, "HEM13", 1, 11, 3, 0, 1, 4, 15, 10, 9, 6, 6, 0}, + {"HE", -18, 49, 2, "HEM13", 1, 19, 3, 1, 1, 5, 15, 10, 9, 6, 6, 0}, + {"HE", -18, 49, 3, "HEM13", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 50, 1, "HEM14", 4, 11, 3, 0, 1, 4, 17, 12, 2, 8, 3, 1}, + {"HE", -18, 50, 2, "HEM14", 4, 3, 3, 1, 1, 5, 17, 12, 2, 8, 3, 1}, + {"HE", -18, 50, 3, "HEM14", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 51, 1, "HEM14", 3, 11, 3, 0, 1, 4, 17, 12, 2, 6, 3, 1}, + {"HE", -18, 51, 2, "HEM14", 3, 19, 3, 1, 1, 5, 17, 12, 2, 6, 3, 1}, + {"HE", -18, 51, 3, "HEM14", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 52, 1, "HEM14", 2, 11, 3, 0, 1, 4, 17, 12, 3, 8, 3, 0}, + {"HE", -18, 52, 2, "HEM14", 2, 3, 3, 1, 1, 5, 17, 12, 3, 8, 3, 0}, + {"HE", -18, 52, 3, "HEM14", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 53, 1, "HEM14", 1, 11, 3, 0, 1, 4, 17, 12, 3, 6, 3, 0}, + {"HE", -18, 53, 2, "HEM14", 1, 19, 3, 1, 1, 5, 17, 12, 3, 6, 3, 0}, + {"HE", -18, 53, 3, "HEM14", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 54, 1, "HEM15", 4, 11, 3, 0, 1, 4, 17, 12, 8, 8, 6, 1}, + {"HE", -18, 54, 2, "HEM15", 4, 3, 3, 1, 1, 5, 17, 12, 8, 8, 6, 1}, + {"HE", -18, 54, 3, "HEM15", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 55, 1, "HEM15", 3, 11, 3, 0, 1, 4, 17, 12, 8, 6, 6, 1}, + {"HE", -18, 55, 2, "HEM15", 3, 19, 3, 1, 1, 5, 17, 12, 8, 6, 6, 1}, + {"HE", -18, 55, 3, "HEM15", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 56, 1, "HEM15", 2, 11, 3, 0, 1, 4, 17, 12, 9, 8, 6, 0}, + {"HE", -18, 56, 2, "HEM15", 2, 3, 3, 1, 1, 5, 17, 12, 9, 8, 6, 0}, + {"HE", -18, 56, 3, "HEM15", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 57, 1, "HEM15", 1, 11, 3, 0, 1, 4, 17, 12, 9, 6, 6, 0}, + {"HE", -18, 57, 2, "HEM15", 1, 19, 3, 1, 1, 5, 17, 12, 9, 6, 6, 0}, + {"HE", -18, 57, 3, "HEM15", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 58, 1, "HEM16", 4, 11, 3, 0, 1, 4, 14, 14, 2, 8, 3, 1}, + {"HE", -18, 58, 2, "HEM16", 4, 3, 3, 1, 1, 5, 14, 14, 2, 8, 3, 1}, + {"HE", -18, 58, 3, "HEM16", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 59, 1, "HEM16", 3, 11, 3, 0, 1, 4, 14, 14, 2, 6, 3, 1}, + {"HE", -18, 59, 2, "HEM16", 3, 19, 3, 1, 1, 5, 14, 14, 2, 6, 3, 1}, + {"HE", -18, 59, 3, "HEM16", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 60, 1, "HEM16", 2, 11, 3, 0, 1, 4, 14, 14, 3, 8, 3, 0}, + {"HE", -18, 60, 2, "HEM16", 2, 3, 3, 1, 1, 5, 14, 14, 3, 8, 3, 0}, + {"HE", -18, 60, 3, "HEM16", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 61, 1, "HEM16", 1, 11, 3, 0, 1, 4, 14, 14, 3, 6, 3, 0}, + {"HE", -18, 61, 2, "HEM16", 1, 19, 3, 1, 1, 5, 14, 14, 3, 6, 3, 0}, + {"HE", -18, 61, 3, "HEM16", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 62, 1, "HEM17", 4, 11, 3, 0, 1, 4, 14, 14, 8, 8, 6, 1}, + {"HE", -18, 62, 2, "HEM17", 4, 3, 3, 1, 1, 5, 14, 14, 8, 8, 6, 1}, + {"HE", -18, 62, 3, "HEM17", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 63, 1, "HEM17", 3, 11, 3, 0, 1, 4, 14, 14, 8, 6, 6, 1}, + {"HE", -18, 63, 2, "HEM17", 3, 19, 3, 1, 1, 5, 14, 14, 8, 6, 6, 1}, + {"HE", -18, 63, 3, "HEM17", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 64, 1, "HEM17", 2, 11, 3, 0, 1, 4, 14, 14, 9, 8, 6, 0}, + {"HE", -18, 64, 2, "HEM17", 2, 3, 3, 1, 1, 5, 14, 14, 9, 8, 6, 0}, + {"HE", -18, 64, 3, "HEM17", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 65, 1, "HEM17", 1, 11, 3, 0, 1, 4, 14, 14, 9, 6, 6, 0}, + {"HE", -18, 65, 2, "HEM17", 1, 19, 3, 1, 1, 5, 14, 14, 9, 6, 6, 0}, + {"HE", -18, 65, 3, "HEM17", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 66, 1, "HEM18", 4, 11, 3, 0, 1, 4, 10, 16, 2, 8, 3, 1}, + {"HE", -18, 66, 2, "HEM18", 4, 3, 3, 1, 1, 5, 10, 16, 2, 8, 3, 1}, + {"HE", -18, 66, 3, "HEM18", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 67, 1, "HEM18", 3, 11, 3, 0, 1, 4, 10, 16, 2, 6, 3, 1}, + {"HE", -18, 67, 2, "HEM18", 3, 19, 3, 1, 1, 5, 10, 16, 2, 6, 3, 1}, + {"HE", -18, 67, 3, "HEM18", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 68, 1, "HEM18", 2, 11, 3, 0, 1, 4, 10, 16, 3, 8, 3, 0}, + {"HE", -18, 68, 2, "HEM18", 2, 3, 3, 1, 1, 5, 10, 16, 3, 8, 3, 0}, + {"HE", -18, 68, 3, "HEM18", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 69, 1, "HEM18", 1, 11, 3, 0, 1, 4, 10, 16, 3, 6, 3, 0}, + {"HE", -18, 69, 2, "HEM18", 1, 19, 3, 1, 1, 5, 10, 16, 3, 6, 3, 0}, + {"HE", -18, 69, 3, "HEM18", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -18, 70, 1, "HEM01", 4, 11, 3, 0, 1, 4, 10, 16, 8, 8, 6, 1}, + {"HE", -18, 70, 2, "HEM01", 4, 3, 3, 1, 1, 5, 10, 16, 8, 8, 6, 1}, + {"HE", -18, 70, 3, "HEM01", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 0, 1, "HEM01", 2, 12, 2, 0, 1, 0, 10, 16, 9, 7, 6, 0}, + {"HE", -17, 0, 2, "HEM01", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 0, 3, "HEM01", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 1, 1, "HEM01", 1, 12, 2, 0, 1, 0, 10, 16, 9, 5, 6, 0}, + {"HE", -17, 1, 2, "HEM01", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 1, 3, "HEM01", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 2, 1, "HEM02", 4, 12, 2, 0, 1, 0, 4, 0, 2, 7, 3, 1}, + {"HE", -17, 2, 2, "HEM02", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 2, 3, "HEM02", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 3, 1, "HEM02", 3, 12, 2, 0, 1, 0, 4, 0, 2, 5, 3, 1}, + {"HE", -17, 3, 2, "HEM02", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 3, 3, "HEM02", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 4, 1, "HEM02", 2, 12, 2, 0, 1, 0, 4, 0, 3, 7, 3, 0}, + {"HE", -17, 4, 2, "HEM02", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 4, 3, "HEM02", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 5, 1, "HEM02", 1, 12, 2, 0, 1, 0, 4, 0, 3, 5, 3, 0}, + {"HE", -17, 5, 2, "HEM02", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 5, 3, "HEM02", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 6, 1, "HEM03", 4, 12, 2, 0, 1, 0, 4, 0, 8, 7, 6, 1}, + {"HE", -17, 6, 2, "HEM03", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 6, 3, "HEM03", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 7, 1, "HEM03", 3, 12, 2, 0, 1, 0, 4, 0, 8, 5, 6, 1}, + {"HE", -17, 7, 2, "HEM03", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 7, 3, "HEM03", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 8, 1, "HEM03", 2, 12, 2, 0, 1, 0, 4, 0, 9, 7, 6, 0}, + {"HE", -17, 8, 2, "HEM03", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 8, 3, "HEM03", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 9, 1, "HEM03", 1, 12, 2, 0, 1, 0, 4, 0, 9, 5, 6, 0}, + {"HE", -17, 9, 2, "HEM03", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 9, 3, "HEM03", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 10, 1, "HEM04", 4, 12, 2, 0, 1, 0, 0, 2, 2, 7, 3, 1}, + {"HE", -17, 10, 2, "HEM04", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 10, 3, "HEM04", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 11, 1, "HEM04", 3, 12, 2, 0, 1, 0, 0, 2, 2, 5, 3, 1}, + {"HE", -17, 11, 2, "HEM04", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 11, 3, "HEM04", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 12, 1, "HEM04", 2, 12, 2, 0, 1, 0, 0, 2, 3, 7, 3, 0}, + {"HE", -17, 12, 2, "HEM04", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 12, 3, "HEM04", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 13, 1, "HEM04", 1, 12, 2, 0, 1, 0, 0, 2, 3, 5, 3, 0}, + {"HE", -17, 13, 2, "HEM04", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 13, 3, "HEM04", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 14, 1, "HEM05", 4, 12, 2, 0, 1, 0, 0, 2, 8, 7, 6, 1}, + {"HE", -17, 14, 2, "HEM05", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 14, 3, "HEM05", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 15, 1, "HEM05", 3, 12, 2, 0, 1, 0, 0, 2, 8, 5, 6, 1}, + {"HE", -17, 15, 2, "HEM05", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 15, 3, "HEM05", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 16, 1, "HEM05", 2, 12, 2, 0, 1, 0, 0, 2, 9, 7, 6, 0}, + {"HE", -17, 16, 2, "HEM05", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 16, 3, "HEM05", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 17, 1, "HEM05", 1, 12, 2, 0, 1, 0, 0, 2, 9, 5, 6, 0}, + {"HE", -17, 17, 2, "HEM05", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 17, 3, "HEM05", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 18, 1, "HEM06", 4, 12, 2, 0, 1, 0, 1, 4, 2, 7, 3, 1}, + {"HE", -17, 18, 2, "HEM06", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 18, 3, "HEM06", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 19, 1, "HEM06", 3, 12, 2, 0, 1, 0, 1, 4, 2, 5, 3, 1}, + {"HE", -17, 19, 2, "HEM06", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 19, 3, "HEM06", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 20, 1, "HEM06", 2, 12, 2, 0, 1, 0, 1, 4, 3, 7, 3, 0}, + {"HE", -17, 20, 2, "HEM06", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 20, 3, "HEM06", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 21, 1, "HEM06", 1, 12, 2, 0, 1, 0, 1, 4, 3, 5, 3, 0}, + {"HE", -17, 21, 2, "HEM06", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 21, 3, "HEM06", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 22, 1, "HEM07", 4, 12, 2, 0, 1, 0, 1, 4, 8, 7, 6, 1}, + {"HE", -17, 22, 2, "HEM07", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 22, 3, "HEM07", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 23, 1, "HEM07", 3, 12, 2, 0, 1, 0, 1, 4, 8, 5, 6, 1}, + {"HE", -17, 23, 2, "HEM07", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 23, 3, "HEM07", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 24, 1, "HEM07", 2, 12, 2, 0, 1, 0, 1, 4, 9, 7, 6, 0}, + {"HE", -17, 24, 2, "HEM07", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 24, 3, "HEM07", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 25, 1, "HEM07", 1, 12, 2, 0, 1, 0, 1, 4, 9, 5, 6, 0}, + {"HE", -17, 25, 2, "HEM07", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 25, 3, "HEM07", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 26, 1, "HEM08", 4, 12, 2, 0, 1, 0, 5, 6, 2, 7, 3, 1}, + {"HE", -17, 26, 2, "HEM08", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 26, 3, "HEM08", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 27, 1, "HEM08", 3, 12, 2, 0, 1, 0, 5, 6, 2, 5, 3, 1}, + {"HE", -17, 27, 2, "HEM08", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 27, 3, "HEM08", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 28, 1, "HEM08", 2, 12, 2, 0, 1, 0, 5, 6, 3, 7, 3, 0}, + {"HE", -17, 28, 2, "HEM08", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 28, 3, "HEM08", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 29, 1, "HEM08", 1, 12, 2, 0, 1, 0, 5, 6, 3, 5, 3, 0}, + {"HE", -17, 29, 2, "HEM08", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 29, 3, "HEM08", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 30, 1, "HEM09", 4, 12, 2, 0, 1, 0, 5, 6, 8, 7, 6, 1}, + {"HE", -17, 30, 2, "HEM09", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 30, 3, "HEM09", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 31, 1, "HEM09", 3, 12, 2, 0, 1, 0, 5, 6, 8, 5, 6, 1}, + {"HE", -17, 31, 2, "HEM09", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 31, 3, "HEM09", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 32, 1, "HEM09", 2, 12, 2, 0, 1, 0, 5, 6, 9, 7, 6, 0}, + {"HE", -17, 32, 2, "HEM09", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 32, 3, "HEM09", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 33, 1, "HEM09", 1, 12, 2, 0, 1, 0, 5, 6, 9, 5, 6, 0}, + {"HE", -17, 33, 2, "HEM09", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 33, 3, "HEM09", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 34, 1, "HEM10", 4, 12, 2, 0, 1, 0, 11, 8, 2, 7, 3, 1}, + {"HE", -17, 34, 2, "HEM10", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 34, 3, "HEM10", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 35, 1, "HEM10", 3, 12, 2, 0, 1, 0, 11, 8, 2, 5, 3, 1}, + {"HE", -17, 35, 2, "HEM10", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 35, 3, "HEM10", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 36, 1, "HEM10", 2, 12, 2, 0, 1, 0, 11, 8, 3, 7, 3, 0}, + {"HE", -17, 36, 2, "HEM10", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 36, 3, "HEM10", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 37, 1, "HEM10", 1, 12, 2, 0, 1, 0, 11, 8, 3, 5, 3, 0}, + {"HE", -17, 37, 2, "HEM10", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 37, 3, "HEM10", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 38, 1, "HEM11", 4, 12, 2, 0, 1, 0, 11, 8, 8, 7, 6, 1}, + {"HE", -17, 38, 2, "HEM11", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 38, 3, "HEM11", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 39, 1, "HEM11", 3, 12, 2, 0, 1, 0, 11, 8, 8, 5, 6, 1}, + {"HE", -17, 39, 2, "HEM11", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 39, 3, "HEM11", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 40, 1, "HEM11", 2, 12, 2, 0, 1, 0, 11, 8, 9, 7, 6, 0}, + {"HE", -17, 40, 2, "HEM11", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 40, 3, "HEM11", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 41, 1, "HEM11", 1, 12, 2, 0, 1, 0, 11, 8, 9, 5, 6, 0}, + {"HE", -17, 41, 2, "HEM11", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 41, 3, "HEM11", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 42, 1, "HEM12", 4, 12, 2, 0, 1, 0, 15, 10, 2, 7, 3, 1}, + {"HE", -17, 42, 2, "HEM12", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 42, 3, "HEM12", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 43, 1, "HEM12", 3, 12, 2, 0, 1, 0, 15, 10, 2, 5, 3, 1}, + {"HE", -17, 43, 2, "HEM12", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 43, 3, "HEM12", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 44, 1, "HEM12", 2, 12, 2, 0, 1, 0, 15, 10, 3, 7, 3, 0}, + {"HE", -17, 44, 2, "HEM12", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 44, 3, "HEM12", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 45, 1, "HEM12", 1, 12, 2, 0, 1, 0, 15, 10, 3, 5, 3, 0}, + {"HE", -17, 45, 2, "HEM12", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 45, 3, "HEM12", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 46, 1, "HEM13", 4, 12, 2, 0, 1, 0, 15, 10, 8, 7, 6, 1}, + {"HE", -17, 46, 2, "HEM13", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 46, 3, "HEM13", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 47, 1, "HEM13", 3, 12, 2, 0, 1, 0, 15, 10, 8, 5, 6, 1}, + {"HE", -17, 47, 2, "HEM13", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 47, 3, "HEM13", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 48, 1, "HEM13", 2, 12, 2, 0, 1, 0, 15, 10, 9, 7, 6, 0}, + {"HE", -17, 48, 2, "HEM13", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 48, 3, "HEM13", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 49, 1, "HEM13", 1, 12, 2, 0, 1, 0, 15, 10, 9, 5, 6, 0}, + {"HE", -17, 49, 2, "HEM13", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 49, 3, "HEM13", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 50, 1, "HEM14", 4, 12, 2, 0, 1, 0, 17, 12, 2, 7, 3, 1}, + {"HE", -17, 50, 2, "HEM14", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 50, 3, "HEM14", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 51, 1, "HEM14", 3, 12, 2, 0, 1, 0, 17, 12, 2, 5, 3, 1}, + {"HE", -17, 51, 2, "HEM14", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 51, 3, "HEM14", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 52, 1, "HEM14", 2, 12, 2, 0, 1, 0, 17, 12, 3, 7, 3, 0}, + {"HE", -17, 52, 2, "HEM14", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 52, 3, "HEM14", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 53, 1, "HEM14", 1, 12, 2, 0, 1, 0, 17, 12, 3, 5, 3, 0}, + {"HE", -17, 53, 2, "HEM14", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 53, 3, "HEM14", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 54, 1, "HEM15", 4, 12, 2, 0, 1, 0, 17, 12, 8, 7, 6, 1}, + {"HE", -17, 54, 2, "HEM15", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 54, 3, "HEM15", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 55, 1, "HEM15", 3, 12, 2, 0, 1, 0, 17, 12, 8, 5, 6, 1}, + {"HE", -17, 55, 2, "HEM15", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 55, 3, "HEM15", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 56, 1, "HEM15", 2, 12, 2, 0, 1, 0, 17, 12, 9, 7, 6, 0}, + {"HE", -17, 56, 2, "HEM15", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 56, 3, "HEM15", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 57, 1, "HEM15", 1, 12, 2, 0, 1, 0, 17, 12, 9, 5, 6, 0}, + {"HE", -17, 57, 2, "HEM15", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 57, 3, "HEM15", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 58, 1, "HEM16", 4, 12, 2, 0, 1, 0, 14, 14, 2, 7, 3, 1}, + {"HE", -17, 58, 2, "HEM16", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 58, 3, "HEM16", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 59, 1, "HEM16", 3, 12, 2, 0, 1, 0, 14, 14, 2, 5, 3, 1}, + {"HE", -17, 59, 2, "HEM16", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 59, 3, "HEM16", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 60, 1, "HEM16", 2, 12, 2, 0, 1, 0, 14, 14, 3, 7, 3, 0}, + {"HE", -17, 60, 2, "HEM16", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 60, 3, "HEM16", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 61, 1, "HEM16", 1, 12, 2, 0, 1, 0, 14, 14, 3, 5, 3, 0}, + {"HE", -17, 61, 2, "HEM16", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 61, 3, "HEM16", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 62, 1, "HEM17", 4, 12, 2, 0, 1, 0, 14, 14, 8, 7, 6, 1}, + {"HE", -17, 62, 2, "HEM17", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 62, 3, "HEM17", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 63, 1, "HEM17", 3, 12, 2, 0, 1, 0, 14, 14, 8, 5, 6, 1}, + {"HE", -17, 63, 2, "HEM17", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 63, 3, "HEM17", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 64, 1, "HEM17", 2, 12, 2, 0, 1, 0, 14, 14, 9, 7, 6, 0}, + {"HE", -17, 64, 2, "HEM17", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 64, 3, "HEM17", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 65, 1, "HEM17", 1, 12, 2, 0, 1, 0, 14, 14, 9, 5, 6, 0}, + {"HE", -17, 65, 2, "HEM17", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 65, 3, "HEM17", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 66, 1, "HEM18", 4, 12, 2, 0, 1, 0, 10, 16, 2, 7, 3, 1}, + {"HE", -17, 66, 2, "HEM18", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 66, 3, "HEM18", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 67, 1, "HEM18", 3, 12, 2, 0, 1, 0, 10, 16, 2, 5, 3, 1}, + {"HE", -17, 67, 2, "HEM18", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 67, 3, "HEM18", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 68, 1, "HEM18", 2, 12, 2, 0, 1, 0, 10, 16, 3, 7, 3, 0}, + {"HE", -17, 68, 2, "HEM18", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 68, 3, "HEM18", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 69, 1, "HEM18", 1, 12, 2, 0, 1, 0, 10, 16, 3, 5, 3, 0}, + {"HE", -17, 69, 2, "HEM18", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 69, 3, "HEM18", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 70, 1, "HEM01", 4, 12, 2, 0, 1, 0, 10, 16, 8, 7, 6, 1}, + {"HE", -17, 70, 2, "HEM01", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -17, 70, 3, "HEM01", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 0, 1, "HEM01", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 0, 2, "HEM01", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 0, 3, "HEM01", 2, 7, 2, 1, 1, 1, 10, 16, 9, 7, 6, 0}, + {"HE", -16, 1, 1, "HEM01", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 1, 2, "HEM01", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 1, 3, "HEM01", 1, 16, 2, 1, 1, 1, 10, 16, 9, 5, 6, 0}, + {"HE", -16, 2, 1, "HEM02", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 2, 2, "HEM02", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 2, 3, "HEM02", 4, 7, 2, 1, 1, 1, 4, 0, 2, 7, 3, 1}, + {"HE", -16, 3, 1, "HEM02", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 3, 2, "HEM02", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 3, 3, "HEM02", 3, 16, 2, 1, 1, 1, 4, 0, 2, 5, 3, 1}, + {"HE", -16, 4, 1, "HEM02", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 4, 2, "HEM02", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 4, 3, "HEM02", 2, 7, 2, 1, 1, 1, 4, 0, 3, 7, 3, 0}, + {"HE", -16, 5, 1, "HEM02", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 5, 2, "HEM02", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 5, 3, "HEM02", 1, 16, 2, 1, 1, 1, 4, 0, 3, 5, 3, 0}, + {"HE", -16, 6, 1, "HEM03", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 6, 2, "HEM03", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 6, 3, "HEM03", 4, 7, 2, 1, 1, 1, 4, 0, 8, 7, 6, 1}, + {"HE", -16, 7, 1, "HEM03", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 7, 2, "HEM03", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 7, 3, "HEM03", 3, 16, 2, 1, 1, 1, 4, 0, 8, 5, 6, 1}, + {"HE", -16, 8, 1, "HEM03", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 8, 2, "HEM03", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 8, 3, "HEM03", 2, 7, 2, 1, 1, 1, 4, 0, 9, 7, 6, 0}, + {"HE", -16, 9, 1, "HEM03", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 9, 2, "HEM03", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 9, 3, "HEM03", 1, 16, 2, 1, 1, 1, 4, 0, 9, 5, 6, 0}, + {"HE", -16, 10, 1, "HEM04", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 10, 2, "HEM04", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 10, 3, "HEM04", 4, 7, 2, 1, 1, 1, 0, 2, 2, 7, 3, 1}, + {"HE", -16, 11, 1, "HEM04", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 11, 2, "HEM04", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 11, 3, "HEM04", 3, 16, 2, 1, 1, 1, 0, 2, 2, 5, 3, 1}, + {"HE", -16, 12, 1, "HEM04", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 12, 2, "HEM04", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 12, 3, "HEM04", 2, 7, 2, 1, 1, 1, 0, 2, 3, 7, 3, 0}, + {"HE", -16, 13, 1, "HEM04", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 13, 2, "HEM04", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 13, 3, "HEM04", 1, 16, 2, 1, 1, 1, 0, 2, 3, 5, 3, 0}, + {"HE", -16, 14, 1, "HEM05", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 14, 2, "HEM05", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 14, 3, "HEM05", 4, 7, 2, 1, 1, 1, 0, 2, 8, 7, 6, 1}, + {"HE", -16, 15, 1, "HEM05", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 15, 2, "HEM05", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 15, 3, "HEM05", 3, 16, 2, 1, 1, 1, 0, 2, 8, 5, 6, 1}, + {"HE", -16, 16, 1, "HEM05", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 16, 2, "HEM05", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 16, 3, "HEM05", 2, 7, 2, 1, 1, 1, 0, 2, 9, 7, 6, 0}, + {"HE", -16, 17, 1, "HEM05", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 17, 2, "HEM05", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 17, 3, "HEM05", 1, 16, 2, 1, 1, 1, 0, 2, 9, 5, 6, 0}, + {"HE", -16, 18, 1, "HEM06", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 18, 2, "HEM06", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 18, 3, "HEM06", 4, 7, 2, 1, 1, 1, 1, 4, 2, 7, 3, 1}, + {"HE", -16, 19, 1, "HEM06", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 19, 2, "HEM06", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 19, 3, "HEM06", 3, 16, 2, 1, 1, 1, 1, 4, 2, 5, 3, 1}, + {"HE", -16, 20, 1, "HEM06", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 20, 2, "HEM06", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 20, 3, "HEM06", 2, 7, 2, 1, 1, 1, 1, 4, 3, 7, 3, 0}, + {"HE", -16, 21, 1, "HEM06", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 21, 2, "HEM06", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 21, 3, "HEM06", 1, 16, 2, 1, 1, 1, 1, 4, 3, 5, 3, 0}, + {"HE", -16, 22, 1, "HEM07", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 22, 2, "HEM07", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 22, 3, "HEM07", 4, 7, 2, 1, 1, 1, 1, 4, 8, 7, 6, 1}, + {"HE", -16, 23, 1, "HEM07", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 23, 2, "HEM07", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 23, 3, "HEM07", 3, 16, 2, 1, 1, 1, 1, 4, 8, 5, 6, 1}, + {"HE", -16, 24, 1, "HEM07", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 24, 2, "HEM07", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 24, 3, "HEM07", 2, 7, 2, 1, 1, 1, 1, 4, 9, 7, 6, 0}, + {"HE", -16, 25, 1, "HEM07", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 25, 2, "HEM07", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 25, 3, "HEM07", 1, 16, 2, 1, 1, 1, 1, 4, 9, 5, 6, 0}, + {"HE", -16, 26, 1, "HEM08", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 26, 2, "HEM08", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 26, 3, "HEM08", 4, 7, 2, 1, 1, 1, 5, 6, 2, 7, 3, 1}, + {"HE", -16, 27, 1, "HEM08", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 27, 2, "HEM08", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 27, 3, "HEM08", 3, 16, 2, 1, 1, 1, 5, 6, 2, 5, 3, 1}, + {"HE", -16, 28, 1, "HEM08", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 28, 2, "HEM08", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 28, 3, "HEM08", 2, 7, 2, 1, 1, 1, 5, 6, 3, 7, 3, 0}, + {"HE", -16, 29, 1, "HEM08", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 29, 2, "HEM08", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 29, 3, "HEM08", 1, 16, 2, 1, 1, 1, 5, 6, 3, 5, 3, 0}, + {"HE", -16, 30, 1, "HEM09", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 30, 2, "HEM09", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 30, 3, "HEM09", 4, 7, 2, 1, 1, 1, 5, 6, 8, 7, 6, 1}, + {"HE", -16, 31, 1, "HEM09", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 31, 2, "HEM09", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 31, 3, "HEM09", 3, 16, 2, 1, 1, 1, 5, 6, 8, 5, 6, 1}, + {"HE", -16, 32, 1, "HEM09", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 32, 2, "HEM09", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 32, 3, "HEM09", 2, 7, 2, 1, 1, 1, 5, 6, 9, 7, 6, 0}, + {"HE", -16, 33, 1, "HEM09", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 33, 2, "HEM09", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 33, 3, "HEM09", 1, 16, 2, 1, 1, 1, 5, 6, 9, 5, 6, 0}, + {"HE", -16, 34, 1, "HEM10", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 34, 2, "HEM10", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 34, 3, "HEM10", 4, 7, 2, 1, 1, 1, 11, 8, 2, 7, 3, 1}, + {"HE", -16, 35, 1, "HEM10", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 35, 2, "HEM10", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 35, 3, "HEM10", 3, 16, 2, 1, 1, 1, 11, 8, 2, 5, 3, 1}, + {"HE", -16, 36, 1, "HEM10", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 36, 2, "HEM10", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 36, 3, "HEM10", 2, 7, 2, 1, 1, 1, 11, 8, 3, 7, 3, 0}, + {"HE", -16, 37, 1, "HEM10", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 37, 2, "HEM10", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 37, 3, "HEM10", 1, 16, 2, 1, 1, 1, 11, 8, 3, 5, 3, 0}, + {"HE", -16, 38, 1, "HEM11", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 38, 2, "HEM11", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 38, 3, "HEM11", 4, 7, 2, 1, 1, 1, 11, 8, 8, 7, 6, 1}, + {"HE", -16, 39, 1, "HEM11", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 39, 2, "HEM11", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 39, 3, "HEM11", 3, 16, 2, 1, 1, 1, 11, 8, 8, 5, 6, 1}, + {"HE", -16, 40, 1, "HEM11", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 40, 2, "HEM11", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 40, 3, "HEM11", 2, 7, 2, 1, 1, 1, 11, 8, 9, 7, 6, 0}, + {"HE", -16, 41, 1, "HEM11", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 41, 2, "HEM11", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 41, 3, "HEM11", 1, 16, 2, 1, 1, 1, 11, 8, 9, 5, 6, 0}, + {"HE", -16, 42, 1, "HEM12", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 42, 2, "HEM12", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 42, 3, "HEM12", 4, 7, 2, 1, 1, 1, 15, 10, 2, 7, 3, 1}, + {"HE", -16, 43, 1, "HEM12", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 43, 2, "HEM12", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 43, 3, "HEM12", 3, 16, 2, 1, 1, 1, 15, 10, 2, 5, 3, 1}, + {"HE", -16, 44, 1, "HEM12", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 44, 2, "HEM12", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 44, 3, "HEM12", 2, 7, 2, 1, 1, 1, 15, 10, 3, 7, 3, 0}, + {"HE", -16, 45, 1, "HEM12", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 45, 2, "HEM12", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 45, 3, "HEM12", 1, 16, 2, 1, 1, 1, 15, 10, 3, 5, 3, 0}, + {"HE", -16, 46, 1, "HEM13", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 46, 2, "HEM13", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 46, 3, "HEM13", 4, 7, 2, 1, 1, 1, 15, 10, 8, 7, 6, 1}, + {"HE", -16, 47, 1, "HEM13", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 47, 2, "HEM13", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 47, 3, "HEM13", 3, 16, 2, 1, 1, 1, 15, 10, 8, 5, 6, 1}, + {"HE", -16, 48, 1, "HEM13", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 48, 2, "HEM13", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 48, 3, "HEM13", 2, 7, 2, 1, 1, 1, 15, 10, 9, 7, 6, 0}, + {"HE", -16, 49, 1, "HEM13", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 49, 2, "HEM13", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 49, 3, "HEM13", 1, 16, 2, 1, 1, 1, 15, 10, 9, 5, 6, 0}, + {"HE", -16, 50, 1, "HEM14", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 50, 2, "HEM14", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 50, 3, "HEM14", 4, 7, 2, 1, 1, 1, 17, 12, 2, 7, 3, 1}, + {"HE", -16, 51, 1, "HEM14", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 51, 2, "HEM14", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 51, 3, "HEM14", 3, 16, 2, 1, 1, 1, 17, 12, 2, 5, 3, 1}, + {"HE", -16, 52, 1, "HEM14", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 52, 2, "HEM14", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 52, 3, "HEM14", 2, 7, 2, 1, 1, 1, 17, 12, 3, 7, 3, 0}, + {"HE", -16, 53, 1, "HEM14", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 53, 2, "HEM14", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 53, 3, "HEM14", 1, 16, 2, 1, 1, 1, 17, 12, 3, 5, 3, 0}, + {"HE", -16, 54, 1, "HEM15", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 54, 2, "HEM15", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 54, 3, "HEM15", 4, 7, 2, 1, 1, 1, 17, 12, 8, 7, 6, 1}, + {"HE", -16, 55, 1, "HEM15", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 55, 2, "HEM15", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 55, 3, "HEM15", 3, 16, 2, 1, 1, 1, 17, 12, 8, 5, 6, 1}, + {"HE", -16, 56, 1, "HEM15", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 56, 2, "HEM15", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 56, 3, "HEM15", 2, 7, 2, 1, 1, 1, 17, 12, 9, 7, 6, 0}, + {"HE", -16, 57, 1, "HEM15", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 57, 2, "HEM15", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 57, 3, "HEM15", 1, 16, 2, 1, 1, 1, 17, 12, 9, 5, 6, 0}, + {"HE", -16, 58, 1, "HEM16", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 58, 2, "HEM16", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 58, 3, "HEM16", 4, 7, 2, 1, 1, 1, 14, 14, 2, 7, 3, 1}, + {"HE", -16, 59, 1, "HEM16", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 59, 2, "HEM16", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 59, 3, "HEM16", 3, 16, 2, 1, 1, 1, 14, 14, 2, 5, 3, 1}, + {"HE", -16, 60, 1, "HEM16", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 60, 2, "HEM16", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 60, 3, "HEM16", 2, 7, 2, 1, 1, 1, 14, 14, 3, 7, 3, 0}, + {"HE", -16, 61, 1, "HEM16", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 61, 2, "HEM16", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 61, 3, "HEM16", 1, 16, 2, 1, 1, 1, 14, 14, 3, 5, 3, 0}, + {"HE", -16, 62, 1, "HEM17", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 62, 2, "HEM17", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 62, 3, "HEM17", 4, 7, 2, 1, 1, 1, 14, 14, 8, 7, 6, 1}, + {"HE", -16, 63, 1, "HEM17", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 63, 2, "HEM17", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 63, 3, "HEM17", 3, 16, 2, 1, 1, 1, 14, 14, 8, 5, 6, 1}, + {"HE", -16, 64, 1, "HEM17", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 64, 2, "HEM17", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 64, 3, "HEM17", 2, 7, 2, 1, 1, 1, 14, 14, 9, 7, 6, 0}, + {"HE", -16, 65, 1, "HEM17", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 65, 2, "HEM17", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 65, 3, "HEM17", 1, 16, 2, 1, 1, 1, 14, 14, 9, 5, 6, 0}, + {"HE", -16, 66, 1, "HEM18", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 66, 2, "HEM18", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 66, 3, "HEM18", 4, 7, 2, 1, 1, 1, 10, 16, 2, 7, 3, 1}, + {"HE", -16, 67, 1, "HEM18", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 67, 2, "HEM18", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 67, 3, "HEM18", 3, 16, 2, 1, 1, 1, 10, 16, 2, 5, 3, 1}, + {"HE", -16, 68, 1, "HEM18", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 68, 2, "HEM18", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 68, 3, "HEM18", 2, 7, 2, 1, 1, 1, 10, 16, 3, 7, 3, 0}, + {"HE", -16, 69, 1, "HEM18", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 69, 2, "HEM18", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 69, 3, "HEM18", 1, 16, 2, 1, 1, 1, 10, 16, 3, 5, 3, 0}, + {"HE", -16, 70, 1, "HEM01", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 70, 2, "HEM01", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", -16, 70, 3, "HEM01", 4, 7, 2, 1, 1, 1, 10, 16, 8, 7, 6, 1}, + {"HE", 16, 0, 1, "HEP01", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 0, 2, "HEP01", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 0, 3, "HEP01", 3, 16, 2, 1, 1, 1, 10, 17, 9, 5, 17, 0}, + {"HE", 16, 1, 1, "HEP01", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 1, 2, "HEP01", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 1, 3, "HEP01", 4, 7, 2, 1, 1, 1, 10, 17, 9, 7, 17, 0}, + {"HE", 16, 2, 1, "HEP02", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 2, 2, "HEP02", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 2, 3, "HEP02", 1, 16, 2, 1, 1, 1, 4, 1, 2, 5, 14, 1}, + {"HE", 16, 3, 1, "HEP02", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 3, 2, "HEP02", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 3, 3, "HEP02", 2, 7, 2, 1, 1, 1, 4, 1, 2, 7, 14, 1}, + {"HE", 16, 4, 1, "HEP02", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 4, 2, "HEP02", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 4, 3, "HEP02", 3, 16, 2, 1, 1, 1, 4, 1, 3, 5, 14, 0}, + {"HE", 16, 5, 1, "HEP02", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 5, 2, "HEP02", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 5, 3, "HEP02", 4, 7, 2, 1, 1, 1, 4, 1, 3, 7, 14, 0}, + {"HE", 16, 6, 1, "HEP03", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 6, 2, "HEP03", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 6, 3, "HEP03", 1, 16, 2, 1, 1, 1, 4, 1, 8, 5, 17, 1}, + {"HE", 16, 7, 1, "HEP03", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 7, 2, "HEP03", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 7, 3, "HEP03", 2, 7, 2, 1, 1, 1, 4, 1, 8, 7, 17, 1}, + {"HE", 16, 8, 1, "HEP03", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 8, 2, "HEP03", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 8, 3, "HEP03", 3, 16, 2, 1, 1, 1, 4, 1, 9, 5, 17, 0}, + {"HE", 16, 9, 1, "HEP03", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 9, 2, "HEP03", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 9, 3, "HEP03", 4, 7, 2, 1, 1, 1, 4, 1, 9, 7, 17, 0}, + {"HE", 16, 10, 1, "HEP04", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 10, 2, "HEP04", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 10, 3, "HEP04", 1, 16, 2, 1, 1, 1, 0, 3, 2, 5, 14, 1}, + {"HE", 16, 11, 1, "HEP04", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 11, 2, "HEP04", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 11, 3, "HEP04", 2, 7, 2, 1, 1, 1, 0, 3, 2, 7, 14, 1}, + {"HE", 16, 12, 1, "HEP04", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 12, 2, "HEP04", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 12, 3, "HEP04", 3, 16, 2, 1, 1, 1, 0, 3, 3, 5, 14, 0}, + {"HE", 16, 13, 1, "HEP04", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 13, 2, "HEP04", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 13, 3, "HEP04", 4, 7, 2, 1, 1, 1, 0, 3, 3, 7, 14, 0}, + {"HE", 16, 14, 1, "HEP05", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 14, 2, "HEP05", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 14, 3, "HEP05", 1, 16, 2, 1, 1, 1, 0, 3, 8, 5, 17, 1}, + {"HE", 16, 15, 1, "HEP05", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 15, 2, "HEP05", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 15, 3, "HEP05", 2, 7, 2, 1, 1, 1, 0, 3, 8, 7, 17, 1}, + {"HE", 16, 16, 1, "HEP05", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 16, 2, "HEP05", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 16, 3, "HEP05", 3, 16, 2, 1, 1, 1, 0, 3, 9, 5, 17, 0}, + {"HE", 16, 17, 1, "HEP05", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 17, 2, "HEP05", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 17, 3, "HEP05", 4, 7, 2, 1, 1, 1, 0, 3, 9, 7, 17, 0}, + {"HE", 16, 18, 1, "HEP06", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 18, 2, "HEP06", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 18, 3, "HEP06", 1, 16, 2, 1, 1, 1, 1, 5, 2, 5, 14, 1}, + {"HE", 16, 19, 1, "HEP06", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 19, 2, "HEP06", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 19, 3, "HEP06", 2, 7, 2, 1, 1, 1, 1, 5, 2, 7, 14, 1}, + {"HE", 16, 20, 1, "HEP06", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 20, 2, "HEP06", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 20, 3, "HEP06", 3, 16, 2, 1, 1, 1, 1, 5, 3, 5, 14, 0}, + {"HE", 16, 21, 1, "HEP06", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 21, 2, "HEP06", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 21, 3, "HEP06", 4, 7, 2, 1, 1, 1, 1, 5, 3, 7, 14, 0}, + {"HE", 16, 22, 1, "HEP07", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 22, 2, "HEP07", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 22, 3, "HEP07", 1, 16, 2, 1, 1, 1, 1, 5, 8, 5, 17, 1}, + {"HE", 16, 23, 1, "HEP07", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 23, 2, "HEP07", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 23, 3, "HEP07", 2, 7, 2, 1, 1, 1, 1, 5, 8, 7, 17, 1}, + {"HE", 16, 24, 1, "HEP07", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 24, 2, "HEP07", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 24, 3, "HEP07", 3, 16, 2, 1, 1, 1, 1, 5, 9, 5, 17, 0}, + {"HE", 16, 25, 1, "HEP07", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 25, 2, "HEP07", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 25, 3, "HEP07", 4, 7, 2, 1, 1, 1, 1, 5, 9, 7, 17, 0}, + {"HE", 16, 26, 1, "HEP08", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 26, 2, "HEP08", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 26, 3, "HEP08", 1, 16, 2, 1, 1, 1, 5, 7, 2, 5, 14, 1}, + {"HE", 16, 27, 1, "HEP08", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 27, 2, "HEP08", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 27, 3, "HEP08", 2, 7, 2, 1, 1, 1, 5, 7, 2, 7, 14, 1}, + {"HE", 16, 28, 1, "HEP08", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 28, 2, "HEP08", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 28, 3, "HEP08", 3, 16, 2, 1, 1, 1, 5, 7, 3, 5, 14, 0}, + {"HE", 16, 29, 1, "HEP08", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 29, 2, "HEP08", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 29, 3, "HEP08", 4, 7, 2, 1, 1, 1, 5, 7, 3, 7, 14, 0}, + {"HE", 16, 30, 1, "HEP09", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 30, 2, "HEP09", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 30, 3, "HEP09", 1, 16, 2, 1, 1, 1, 5, 7, 8, 5, 17, 1}, + {"HE", 16, 31, 1, "HEP09", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 31, 2, "HEP09", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 31, 3, "HEP09", 2, 7, 2, 1, 1, 1, 5, 7, 8, 7, 17, 1}, + {"HE", 16, 32, 1, "HEP09", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 32, 2, "HEP09", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 32, 3, "HEP09", 3, 16, 2, 1, 1, 1, 5, 7, 9, 5, 17, 0}, + {"HE", 16, 33, 1, "HEP09", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 33, 2, "HEP09", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 33, 3, "HEP09", 4, 7, 2, 1, 1, 1, 5, 7, 9, 7, 17, 0}, + {"HE", 16, 34, 1, "HEP10", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 34, 2, "HEP10", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 34, 3, "HEP10", 1, 16, 2, 1, 1, 1, 11, 9, 2, 5, 14, 1}, + {"HE", 16, 35, 1, "HEP10", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 35, 2, "HEP10", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 35, 3, "HEP10", 2, 7, 2, 1, 1, 1, 11, 9, 2, 7, 14, 1}, + {"HE", 16, 36, 1, "HEP10", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 36, 2, "HEP10", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 36, 3, "HEP10", 3, 16, 2, 1, 1, 1, 11, 9, 3, 5, 14, 0}, + {"HE", 16, 37, 1, "HEP10", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 37, 2, "HEP10", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 37, 3, "HEP10", 4, 7, 2, 1, 1, 1, 11, 9, 3, 7, 14, 0}, + {"HE", 16, 38, 1, "HEP11", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 38, 2, "HEP11", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 38, 3, "HEP11", 1, 16, 2, 1, 1, 1, 11, 9, 8, 5, 17, 1}, + {"HE", 16, 39, 1, "HEP11", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 39, 2, "HEP11", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 39, 3, "HEP11", 2, 7, 2, 1, 1, 1, 11, 9, 8, 7, 17, 1}, + {"HE", 16, 40, 1, "HEP11", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 40, 2, "HEP11", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 40, 3, "HEP11", 3, 16, 2, 1, 1, 1, 11, 9, 9, 5, 17, 0}, + {"HE", 16, 41, 1, "HEP11", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 41, 2, "HEP11", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 41, 3, "HEP11", 4, 7, 2, 1, 1, 1, 11, 9, 9, 7, 17, 0}, + {"HE", 16, 42, 1, "HEP12", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 42, 2, "HEP12", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 42, 3, "HEP12", 1, 16, 2, 1, 1, 1, 15, 11, 2, 5, 14, 1}, + {"HE", 16, 43, 1, "HEP12", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 43, 2, "HEP12", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 43, 3, "HEP12", 2, 7, 2, 1, 1, 1, 15, 11, 2, 7, 14, 1}, + {"HE", 16, 44, 1, "HEP12", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 44, 2, "HEP12", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 44, 3, "HEP12", 3, 16, 2, 1, 1, 1, 15, 11, 3, 5, 14, 0}, + {"HE", 16, 45, 1, "HEP12", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 45, 2, "HEP12", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 45, 3, "HEP12", 4, 7, 2, 1, 1, 1, 15, 11, 3, 7, 14, 0}, + {"HE", 16, 46, 1, "HEP13", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 46, 2, "HEP13", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 46, 3, "HEP13", 1, 16, 2, 1, 1, 1, 15, 11, 8, 5, 17, 1}, + {"HE", 16, 47, 1, "HEP13", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 47, 2, "HEP13", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 47, 3, "HEP13", 2, 7, 2, 1, 1, 1, 15, 11, 8, 7, 17, 1}, + {"HE", 16, 48, 1, "HEP13", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 48, 2, "HEP13", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 48, 3, "HEP13", 3, 16, 2, 1, 1, 1, 15, 11, 9, 5, 17, 0}, + {"HE", 16, 49, 1, "HEP13", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 49, 2, "HEP13", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 49, 3, "HEP13", 4, 7, 2, 1, 1, 1, 15, 11, 9, 7, 17, 0}, + {"HE", 16, 50, 1, "HEP14", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 50, 2, "HEP14", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 50, 3, "HEP14", 1, 16, 2, 1, 1, 1, 17, 13, 2, 5, 14, 1}, + {"HE", 16, 51, 1, "HEP14", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 51, 2, "HEP14", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 51, 3, "HEP14", 2, 7, 2, 1, 1, 1, 17, 13, 2, 7, 14, 1}, + {"HE", 16, 52, 1, "HEP14", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 52, 2, "HEP14", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 52, 3, "HEP14", 3, 16, 2, 1, 1, 1, 17, 13, 3, 5, 14, 0}, + {"HE", 16, 53, 1, "HEP14", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 53, 2, "HEP14", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 53, 3, "HEP14", 4, 7, 2, 1, 1, 1, 17, 13, 3, 7, 14, 0}, + {"HE", 16, 54, 1, "HEP15", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 54, 2, "HEP15", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 54, 3, "HEP15", 1, 16, 2, 1, 1, 1, 17, 13, 8, 5, 17, 1}, + {"HE", 16, 55, 1, "HEP15", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 55, 2, "HEP15", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 55, 3, "HEP15", 2, 7, 2, 1, 1, 1, 17, 13, 8, 7, 17, 1}, + {"HE", 16, 56, 1, "HEP15", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 56, 2, "HEP15", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 56, 3, "HEP15", 3, 16, 2, 1, 1, 1, 17, 13, 9, 5, 17, 0}, + {"HE", 16, 57, 1, "HEP15", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 57, 2, "HEP15", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 57, 3, "HEP15", 4, 7, 2, 1, 1, 1, 17, 13, 9, 7, 17, 0}, + {"HE", 16, 58, 1, "HEP16", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 58, 2, "HEP16", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 58, 3, "HEP16", 1, 16, 2, 1, 1, 1, 14, 15, 2, 5, 14, 1}, + {"HE", 16, 59, 1, "HEP16", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 59, 2, "HEP16", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 59, 3, "HEP16", 2, 7, 2, 1, 1, 1, 14, 15, 2, 7, 14, 1}, + {"HE", 16, 60, 1, "HEP16", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 60, 2, "HEP16", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 60, 3, "HEP16", 3, 16, 2, 1, 1, 1, 14, 15, 3, 5, 14, 0}, + {"HE", 16, 61, 1, "HEP16", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 61, 2, "HEP16", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 61, 3, "HEP16", 4, 7, 2, 1, 1, 1, 14, 15, 3, 7, 14, 0}, + {"HE", 16, 62, 1, "HEP17", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 62, 2, "HEP17", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 62, 3, "HEP17", 1, 16, 2, 1, 1, 1, 14, 15, 8, 5, 17, 1}, + {"HE", 16, 63, 1, "HEP17", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 63, 2, "HEP17", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 63, 3, "HEP17", 2, 7, 2, 1, 1, 1, 14, 15, 8, 7, 17, 1}, + {"HE", 16, 64, 1, "HEP17", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 64, 2, "HEP17", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 64, 3, "HEP17", 3, 16, 2, 1, 1, 1, 14, 15, 9, 5, 17, 0}, + {"HE", 16, 65, 1, "HEP17", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 65, 2, "HEP17", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 65, 3, "HEP17", 4, 7, 2, 1, 1, 1, 14, 15, 9, 7, 17, 0}, + {"HE", 16, 66, 1, "HEP18", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 66, 2, "HEP18", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 66, 3, "HEP18", 1, 16, 2, 1, 1, 1, 10, 17, 2, 5, 14, 1}, + {"HE", 16, 67, 1, "HEP18", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 67, 2, "HEP18", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 67, 3, "HEP18", 2, 7, 2, 1, 1, 1, 10, 17, 2, 7, 14, 1}, + {"HE", 16, 68, 1, "HEP18", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 68, 2, "HEP18", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 68, 3, "HEP18", 3, 16, 2, 1, 1, 1, 10, 17, 3, 5, 14, 0}, + {"HE", 16, 69, 1, "HEP18", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 69, 2, "HEP18", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 69, 3, "HEP18", 4, 7, 2, 1, 1, 1, 10, 17, 3, 7, 14, 0}, + {"HE", 16, 70, 1, "HEP01", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 70, 2, "HEP01", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 70, 3, "HEP01", 1, 16, 2, 1, 1, 1, 10, 17, 8, 5, 17, 1}, + {"HE", 16, 71, 1, "HEP01", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 71, 2, "HEP01", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 16, 71, 3, "HEP01", 2, 7, 2, 1, 1, 1, 10, 17, 8, 7, 17, 1}, + {"HE", 17, 0, 1, "HEP01", 3, 12, 2, 0, 1, 0, 10, 17, 9, 5, 17, 0}, + {"HE", 17, 0, 2, "HEP01", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 0, 3, "HEP01", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 1, 1, "HEP01", 4, 12, 2, 0, 1, 0, 10, 17, 9, 7, 17, 0}, + {"HE", 17, 1, 2, "HEP01", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 1, 3, "HEP01", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 2, 1, "HEP02", 1, 12, 2, 0, 1, 0, 4, 1, 2, 5, 14, 1}, + {"HE", 17, 2, 2, "HEP02", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 2, 3, "HEP02", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 3, 1, "HEP02", 2, 12, 2, 0, 1, 0, 4, 1, 2, 7, 14, 1}, + {"HE", 17, 3, 2, "HEP02", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 3, 3, "HEP02", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 4, 1, "HEP02", 3, 12, 2, 0, 1, 0, 4, 1, 3, 5, 14, 0}, + {"HE", 17, 4, 2, "HEP02", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 4, 3, "HEP02", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 5, 1, "HEP02", 4, 12, 2, 0, 1, 0, 4, 1, 3, 7, 14, 0}, + {"HE", 17, 5, 2, "HEP02", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 5, 3, "HEP02", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 6, 1, "HEP03", 1, 12, 2, 0, 1, 0, 4, 1, 8, 5, 17, 1}, + {"HE", 17, 6, 2, "HEP03", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 6, 3, "HEP03", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 7, 1, "HEP03", 2, 12, 2, 0, 1, 0, 4, 1, 8, 7, 17, 1}, + {"HE", 17, 7, 2, "HEP03", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 7, 3, "HEP03", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 8, 1, "HEP03", 3, 12, 2, 0, 1, 0, 4, 1, 9, 5, 17, 0}, + {"HE", 17, 8, 2, "HEP03", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 8, 3, "HEP03", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 9, 1, "HEP03", 4, 12, 2, 0, 1, 0, 4, 1, 9, 7, 17, 0}, + {"HE", 17, 9, 2, "HEP03", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 9, 3, "HEP03", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 10, 1, "HEP04", 1, 12, 2, 0, 1, 0, 0, 3, 2, 5, 14, 1}, + {"HE", 17, 10, 2, "HEP04", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 10, 3, "HEP04", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 11, 1, "HEP04", 2, 12, 2, 0, 1, 0, 0, 3, 2, 7, 14, 1}, + {"HE", 17, 11, 2, "HEP04", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 11, 3, "HEP04", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 12, 1, "HEP04", 3, 12, 2, 0, 1, 0, 0, 3, 3, 5, 14, 0}, + {"HE", 17, 12, 2, "HEP04", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 12, 3, "HEP04", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 13, 1, "HEP04", 4, 12, 2, 0, 1, 0, 0, 3, 3, 7, 14, 0}, + {"HE", 17, 13, 2, "HEP04", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 13, 3, "HEP04", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 14, 1, "HEP05", 1, 12, 2, 0, 1, 0, 0, 3, 8, 5, 17, 1}, + {"HE", 17, 14, 2, "HEP05", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 14, 3, "HEP05", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 15, 1, "HEP05", 2, 12, 2, 0, 1, 0, 0, 3, 8, 7, 17, 1}, + {"HE", 17, 15, 2, "HEP05", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 15, 3, "HEP05", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 16, 1, "HEP05", 3, 12, 2, 0, 1, 0, 0, 3, 9, 5, 17, 0}, + {"HE", 17, 16, 2, "HEP05", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 16, 3, "HEP05", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 17, 1, "HEP05", 4, 12, 2, 0, 1, 0, 0, 3, 9, 7, 17, 0}, + {"HE", 17, 17, 2, "HEP05", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 17, 3, "HEP05", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 18, 1, "HEP06", 1, 12, 2, 0, 1, 0, 1, 5, 2, 5, 14, 1}, + {"HE", 17, 18, 2, "HEP06", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 18, 3, "HEP06", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 19, 1, "HEP06", 2, 12, 2, 0, 1, 0, 1, 5, 2, 7, 14, 1}, + {"HE", 17, 19, 2, "HEP06", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 19, 3, "HEP06", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 20, 1, "HEP06", 3, 12, 2, 0, 1, 0, 1, 5, 3, 5, 14, 0}, + {"HE", 17, 20, 2, "HEP06", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 20, 3, "HEP06", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 21, 1, "HEP06", 4, 12, 2, 0, 1, 0, 1, 5, 3, 7, 14, 0}, + {"HE", 17, 21, 2, "HEP06", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 21, 3, "HEP06", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 22, 1, "HEP07", 1, 12, 2, 0, 1, 0, 1, 5, 8, 5, 17, 1}, + {"HE", 17, 22, 2, "HEP07", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 22, 3, "HEP07", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 23, 1, "HEP07", 2, 12, 2, 0, 1, 0, 1, 5, 8, 7, 17, 1}, + {"HE", 17, 23, 2, "HEP07", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 23, 3, "HEP07", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 24, 1, "HEP07", 3, 12, 2, 0, 1, 0, 1, 5, 9, 5, 17, 0}, + {"HE", 17, 24, 2, "HEP07", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 24, 3, "HEP07", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 25, 1, "HEP07", 4, 12, 2, 0, 1, 0, 1, 5, 9, 7, 17, 0}, + {"HE", 17, 25, 2, "HEP07", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 25, 3, "HEP07", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 26, 1, "HEP08", 1, 12, 2, 0, 1, 0, 5, 7, 2, 5, 14, 1}, + {"HE", 17, 26, 2, "HEP08", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 26, 3, "HEP08", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 27, 1, "HEP08", 2, 12, 2, 0, 1, 0, 5, 7, 2, 7, 14, 1}, + {"HE", 17, 27, 2, "HEP08", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 27, 3, "HEP08", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 28, 1, "HEP08", 3, 12, 2, 0, 1, 0, 5, 7, 3, 5, 14, 0}, + {"HE", 17, 28, 2, "HEP08", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 28, 3, "HEP08", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 29, 1, "HEP08", 4, 12, 2, 0, 1, 0, 5, 7, 3, 7, 14, 0}, + {"HE", 17, 29, 2, "HEP08", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 29, 3, "HEP08", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 30, 1, "HEP09", 1, 12, 2, 0, 1, 0, 5, 7, 8, 5, 17, 1}, + {"HE", 17, 30, 2, "HEP09", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 30, 3, "HEP09", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 31, 1, "HEP09", 2, 12, 2, 0, 1, 0, 5, 7, 8, 7, 17, 1}, + {"HE", 17, 31, 2, "HEP09", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 31, 3, "HEP09", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 32, 1, "HEP09", 3, 12, 2, 0, 1, 0, 5, 7, 9, 5, 17, 0}, + {"HE", 17, 32, 2, "HEP09", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 32, 3, "HEP09", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 33, 1, "HEP09", 4, 12, 2, 0, 1, 0, 5, 7, 9, 7, 17, 0}, + {"HE", 17, 33, 2, "HEP09", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 33, 3, "HEP09", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 34, 1, "HEP10", 1, 12, 2, 0, 1, 0, 11, 9, 2, 5, 14, 1}, + {"HE", 17, 34, 2, "HEP10", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 34, 3, "HEP10", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 35, 1, "HEP10", 2, 12, 2, 0, 1, 0, 11, 9, 2, 7, 14, 1}, + {"HE", 17, 35, 2, "HEP10", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 35, 3, "HEP10", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 36, 1, "HEP10", 3, 12, 2, 0, 1, 0, 11, 9, 3, 5, 14, 0}, + {"HE", 17, 36, 2, "HEP10", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 36, 3, "HEP10", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 37, 1, "HEP10", 4, 12, 2, 0, 1, 0, 11, 9, 3, 7, 14, 0}, + {"HE", 17, 37, 2, "HEP10", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 37, 3, "HEP10", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 38, 1, "HEP11", 1, 12, 2, 0, 1, 0, 11, 9, 8, 5, 17, 1}, + {"HE", 17, 38, 2, "HEP11", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 38, 3, "HEP11", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 39, 1, "HEP11", 2, 12, 2, 0, 1, 0, 11, 9, 8, 7, 17, 1}, + {"HE", 17, 39, 2, "HEP11", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 39, 3, "HEP11", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 40, 1, "HEP11", 3, 12, 2, 0, 1, 0, 11, 9, 9, 5, 17, 0}, + {"HE", 17, 40, 2, "HEP11", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 40, 3, "HEP11", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 41, 1, "HEP11", 4, 12, 2, 0, 1, 0, 11, 9, 9, 7, 17, 0}, + {"HE", 17, 41, 2, "HEP11", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 41, 3, "HEP11", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 42, 1, "HEP12", 1, 12, 2, 0, 1, 0, 15, 11, 2, 5, 14, 1}, + {"HE", 17, 42, 2, "HEP12", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 42, 3, "HEP12", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 43, 1, "HEP12", 2, 12, 2, 0, 1, 0, 15, 11, 2, 7, 14, 1}, + {"HE", 17, 43, 2, "HEP12", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 43, 3, "HEP12", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 44, 1, "HEP12", 3, 12, 2, 0, 1, 0, 15, 11, 3, 5, 14, 0}, + {"HE", 17, 44, 2, "HEP12", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 44, 3, "HEP12", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 45, 1, "HEP12", 4, 12, 2, 0, 1, 0, 15, 11, 3, 7, 14, 0}, + {"HE", 17, 45, 2, "HEP12", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 45, 3, "HEP12", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 46, 1, "HEP13", 1, 12, 2, 0, 1, 0, 15, 11, 8, 5, 17, 1}, + {"HE", 17, 46, 2, "HEP13", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 46, 3, "HEP13", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 47, 1, "HEP13", 2, 12, 2, 0, 1, 0, 15, 11, 8, 7, 17, 1}, + {"HE", 17, 47, 2, "HEP13", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 47, 3, "HEP13", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 48, 1, "HEP13", 3, 12, 2, 0, 1, 0, 15, 11, 9, 5, 17, 0}, + {"HE", 17, 48, 2, "HEP13", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 48, 3, "HEP13", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 49, 1, "HEP13", 4, 12, 2, 0, 1, 0, 15, 11, 9, 7, 17, 0}, + {"HE", 17, 49, 2, "HEP13", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 49, 3, "HEP13", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 50, 1, "HEP14", 1, 12, 2, 0, 1, 0, 17, 13, 2, 5, 14, 1}, + {"HE", 17, 50, 2, "HEP14", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 50, 3, "HEP14", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 51, 1, "HEP14", 2, 12, 2, 0, 1, 0, 17, 13, 2, 7, 14, 1}, + {"HE", 17, 51, 2, "HEP14", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 51, 3, "HEP14", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 52, 1, "HEP14", 3, 12, 2, 0, 1, 0, 17, 13, 3, 5, 14, 0}, + {"HE", 17, 52, 2, "HEP14", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 52, 3, "HEP14", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 53, 1, "HEP14", 4, 12, 2, 0, 1, 0, 17, 13, 3, 7, 14, 0}, + {"HE", 17, 53, 2, "HEP14", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 53, 3, "HEP14", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 54, 1, "HEP15", 1, 12, 2, 0, 1, 0, 17, 13, 8, 5, 17, 1}, + {"HE", 17, 54, 2, "HEP15", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 54, 3, "HEP15", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 55, 1, "HEP15", 2, 12, 2, 0, 1, 0, 17, 13, 8, 7, 17, 1}, + {"HE", 17, 55, 2, "HEP15", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 55, 3, "HEP15", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 56, 1, "HEP15", 3, 12, 2, 0, 1, 0, 17, 13, 9, 5, 17, 0}, + {"HE", 17, 56, 2, "HEP15", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 56, 3, "HEP15", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 57, 1, "HEP15", 4, 12, 2, 0, 1, 0, 17, 13, 9, 7, 17, 0}, + {"HE", 17, 57, 2, "HEP15", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 57, 3, "HEP15", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 58, 1, "HEP16", 1, 12, 2, 0, 1, 0, 14, 15, 2, 5, 14, 1}, + {"HE", 17, 58, 2, "HEP16", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 58, 3, "HEP16", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 59, 1, "HEP16", 2, 12, 2, 0, 1, 0, 14, 15, 2, 7, 14, 1}, + {"HE", 17, 59, 2, "HEP16", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 59, 3, "HEP16", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 60, 1, "HEP16", 3, 12, 2, 0, 1, 0, 14, 15, 3, 5, 14, 0}, + {"HE", 17, 60, 2, "HEP16", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 60, 3, "HEP16", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 61, 1, "HEP16", 4, 12, 2, 0, 1, 0, 14, 15, 3, 7, 14, 0}, + {"HE", 17, 61, 2, "HEP16", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 61, 3, "HEP16", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 62, 1, "HEP17", 1, 12, 2, 0, 1, 0, 14, 15, 8, 5, 17, 1}, + {"HE", 17, 62, 2, "HEP17", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 62, 3, "HEP17", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 63, 1, "HEP17", 2, 12, 2, 0, 1, 0, 14, 15, 8, 7, 17, 1}, + {"HE", 17, 63, 2, "HEP17", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 63, 3, "HEP17", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 64, 1, "HEP17", 3, 12, 2, 0, 1, 0, 14, 15, 9, 5, 17, 0}, + {"HE", 17, 64, 2, "HEP17", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 64, 3, "HEP17", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 65, 1, "HEP17", 4, 12, 2, 0, 1, 0, 14, 15, 9, 7, 17, 0}, + {"HE", 17, 65, 2, "HEP17", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 65, 3, "HEP17", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 66, 1, "HEP18", 1, 12, 2, 0, 1, 0, 10, 17, 2, 5, 14, 1}, + {"HE", 17, 66, 2, "HEP18", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 66, 3, "HEP18", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 67, 1, "HEP18", 2, 12, 2, 0, 1, 0, 10, 17, 2, 7, 14, 1}, + {"HE", 17, 67, 2, "HEP18", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 67, 3, "HEP18", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 68, 1, "HEP18", 3, 12, 2, 0, 1, 0, 10, 17, 3, 5, 14, 0}, + {"HE", 17, 68, 2, "HEP18", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 68, 3, "HEP18", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 69, 1, "HEP18", 4, 12, 2, 0, 1, 0, 10, 17, 3, 7, 14, 0}, + {"HE", 17, 69, 2, "HEP18", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 69, 3, "HEP18", 4, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 70, 1, "HEP01", 1, 12, 2, 0, 1, 0, 10, 17, 8, 5, 17, 1}, + {"HE", 17, 70, 2, "HEP01", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 70, 3, "HEP01", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 71, 1, "HEP01", 2, 12, 2, 0, 1, 0, 10, 17, 8, 7, 17, 1}, + {"HE", 17, 71, 2, "HEP01", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 17, 71, 3, "HEP01", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 0, 1, "HEP01", 3, 11, 3, 0, 1, 4, 10, 17, 9, 6, 17, 0}, + {"HE", 18, 0, 2, "HEP01", 3, 19, 3, 1, 1, 5, 10, 17, 9, 6, 17, 0}, + {"HE", 18, 0, 3, "HEP01", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 1, 1, "HEP01", 4, 11, 3, 0, 1, 4, 10, 17, 9, 8, 17, 0}, + {"HE", 18, 1, 2, "HEP01", 4, 3, 3, 1, 1, 5, 10, 17, 9, 8, 17, 0}, + {"HE", 18, 1, 3, "HEP01", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 2, 1, "HEP02", 1, 11, 3, 0, 1, 4, 4, 1, 2, 6, 14, 1}, + {"HE", 18, 2, 2, "HEP02", 1, 19, 3, 1, 1, 5, 4, 1, 2, 6, 14, 1}, + {"HE", 18, 2, 3, "HEP02", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 3, 1, "HEP02", 2, 11, 3, 0, 1, 4, 4, 1, 2, 8, 14, 1}, + {"HE", 18, 3, 2, "HEP02", 2, 3, 3, 1, 1, 5, 4, 1, 2, 8, 14, 1}, + {"HE", 18, 3, 3, "HEP02", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 4, 1, "HEP02", 3, 11, 3, 0, 1, 4, 4, 1, 3, 6, 14, 0}, + {"HE", 18, 4, 2, "HEP02", 3, 19, 3, 1, 1, 5, 4, 1, 3, 6, 14, 0}, + {"HE", 18, 4, 3, "HEP02", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 5, 1, "HEP02", 4, 11, 3, 0, 1, 4, 4, 1, 3, 8, 14, 0}, + {"HE", 18, 5, 2, "HEP02", 4, 3, 3, 1, 1, 5, 4, 1, 3, 8, 14, 0}, + {"HE", 18, 5, 3, "HEP02", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 6, 1, "HEP03", 1, 11, 3, 0, 1, 4, 4, 1, 8, 6, 17, 1}, + {"HE", 18, 6, 2, "HEP03", 1, 19, 3, 1, 1, 5, 4, 1, 8, 6, 17, 1}, + {"HE", 18, 6, 3, "HEP03", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 7, 1, "HEP03", 2, 11, 3, 0, 1, 4, 4, 1, 8, 8, 17, 1}, + {"HE", 18, 7, 2, "HEP03", 2, 3, 3, 1, 1, 5, 4, 1, 8, 8, 17, 1}, + {"HE", 18, 7, 3, "HEP03", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 8, 1, "HEP03", 3, 11, 3, 0, 1, 4, 4, 1, 9, 6, 17, 0}, + {"HE", 18, 8, 2, "HEP03", 3, 19, 3, 1, 1, 5, 4, 1, 9, 6, 17, 0}, + {"HE", 18, 8, 3, "HEP03", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 9, 1, "HEP03", 4, 11, 3, 0, 1, 4, 4, 1, 9, 8, 17, 0}, + {"HE", 18, 9, 2, "HEP03", 4, 3, 3, 1, 1, 5, 4, 1, 9, 8, 17, 0}, + {"HE", 18, 9, 3, "HEP03", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 10, 1, "HEP04", 1, 11, 3, 0, 1, 4, 0, 3, 2, 6, 14, 1}, + {"HE", 18, 10, 2, "HEP04", 1, 19, 3, 1, 1, 5, 0, 3, 2, 6, 14, 1}, + {"HE", 18, 10, 3, "HEP04", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 11, 1, "HEP04", 2, 11, 3, 0, 1, 4, 0, 3, 2, 8, 14, 1}, + {"HE", 18, 11, 2, "HEP04", 2, 3, 3, 1, 1, 5, 0, 3, 2, 8, 14, 1}, + {"HE", 18, 11, 3, "HEP04", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 12, 1, "HEP04", 3, 11, 3, 0, 1, 4, 0, 3, 3, 6, 14, 0}, + {"HE", 18, 12, 2, "HEP04", 3, 19, 3, 1, 1, 5, 0, 3, 3, 6, 14, 0}, + {"HE", 18, 12, 3, "HEP04", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 13, 1, "HEP04", 4, 11, 3, 0, 1, 4, 0, 3, 3, 8, 14, 0}, + {"HE", 18, 13, 2, "HEP04", 4, 3, 3, 1, 1, 5, 0, 3, 3, 8, 14, 0}, + {"HE", 18, 13, 3, "HEP04", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 14, 1, "HEP05", 1, 11, 3, 0, 1, 4, 0, 3, 8, 6, 17, 1}, + {"HE", 18, 14, 2, "HEP05", 1, 19, 3, 1, 1, 5, 0, 3, 8, 6, 17, 1}, + {"HE", 18, 14, 3, "HEP05", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 15, 1, "HEP05", 2, 11, 3, 0, 1, 4, 0, 3, 8, 8, 17, 1}, + {"HE", 18, 15, 2, "HEP05", 2, 3, 3, 1, 1, 5, 0, 3, 8, 8, 17, 1}, + {"HE", 18, 15, 3, "HEP05", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 16, 1, "HEP05", 3, 11, 3, 0, 1, 4, 0, 3, 9, 6, 17, 0}, + {"HE", 18, 16, 2, "HEP05", 3, 19, 3, 1, 1, 5, 0, 3, 9, 6, 17, 0}, + {"HE", 18, 16, 3, "HEP05", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 17, 1, "HEP05", 4, 11, 3, 0, 1, 4, 0, 3, 9, 8, 17, 0}, + {"HE", 18, 17, 2, "HEP05", 4, 3, 3, 1, 1, 5, 0, 3, 9, 8, 17, 0}, + {"HE", 18, 17, 3, "HEP05", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 18, 1, "HEP06", 1, 11, 3, 0, 1, 4, 1, 5, 2, 6, 14, 1}, + {"HE", 18, 18, 2, "HEP06", 1, 19, 3, 1, 1, 5, 1, 5, 2, 6, 14, 1}, + {"HE", 18, 18, 3, "HEP06", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 19, 1, "HEP06", 2, 11, 3, 0, 1, 4, 1, 5, 2, 8, 14, 1}, + {"HE", 18, 19, 2, "HEP06", 2, 3, 3, 1, 1, 5, 1, 5, 2, 8, 14, 1}, + {"HE", 18, 19, 3, "HEP06", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 20, 1, "HEP06", 3, 11, 3, 0, 1, 4, 1, 5, 3, 6, 14, 0}, + {"HE", 18, 20, 2, "HEP06", 3, 19, 3, 1, 1, 5, 1, 5, 3, 6, 14, 0}, + {"HE", 18, 20, 3, "HEP06", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 21, 1, "HEP06", 4, 11, 3, 0, 1, 4, 1, 5, 3, 8, 14, 0}, + {"HE", 18, 21, 2, "HEP06", 4, 3, 3, 1, 1, 5, 1, 5, 3, 8, 14, 0}, + {"HE", 18, 21, 3, "HEP06", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 22, 1, "HEP07", 1, 11, 3, 0, 1, 4, 1, 5, 8, 6, 17, 1}, + {"HE", 18, 22, 2, "HEP07", 1, 19, 3, 1, 1, 5, 1, 5, 8, 6, 17, 1}, + {"HE", 18, 22, 3, "HEP07", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 23, 1, "HEP07", 2, 11, 3, 0, 1, 4, 1, 5, 8, 8, 17, 1}, + {"HE", 18, 23, 2, "HEP07", 2, 3, 3, 1, 1, 5, 1, 5, 8, 8, 17, 1}, + {"HE", 18, 23, 3, "HEP07", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 24, 1, "HEP07", 3, 11, 3, 0, 1, 4, 1, 5, 9, 6, 17, 0}, + {"HE", 18, 24, 2, "HEP07", 3, 19, 3, 1, 1, 5, 1, 5, 9, 6, 17, 0}, + {"HE", 18, 24, 3, "HEP07", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 25, 1, "HEP07", 4, 11, 3, 0, 1, 4, 1, 5, 9, 8, 17, 0}, + {"HE", 18, 25, 2, "HEP07", 4, 3, 3, 1, 1, 5, 1, 5, 9, 8, 17, 0}, + {"HE", 18, 25, 3, "HEP07", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 26, 1, "HEP08", 1, 11, 3, 0, 1, 4, 5, 7, 2, 6, 14, 1}, + {"HE", 18, 26, 2, "HEP08", 1, 19, 3, 1, 1, 5, 5, 7, 2, 6, 14, 1}, + {"HE", 18, 26, 3, "HEP08", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 27, 1, "HEP08", 2, 11, 3, 0, 1, 4, 5, 7, 2, 8, 14, 1}, + {"HE", 18, 27, 2, "HEP08", 2, 3, 3, 1, 1, 5, 5, 7, 2, 8, 14, 1}, + {"HE", 18, 27, 3, "HEP08", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 28, 1, "HEP08", 3, 11, 3, 0, 1, 4, 5, 7, 3, 6, 14, 0}, + {"HE", 18, 28, 2, "HEP08", 3, 19, 3, 1, 1, 5, 5, 7, 3, 6, 14, 0}, + {"HE", 18, 28, 3, "HEP08", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 29, 1, "HEP08", 4, 11, 3, 0, 1, 4, 5, 7, 3, 8, 14, 0}, + {"HE", 18, 29, 2, "HEP08", 4, 3, 3, 1, 1, 5, 5, 7, 3, 8, 14, 0}, + {"HE", 18, 29, 3, "HEP08", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 30, 1, "HEP09", 1, 11, 3, 0, 1, 4, 5, 7, 8, 6, 17, 1}, + {"HE", 18, 30, 2, "HEP09", 1, 19, 3, 1, 1, 5, 5, 7, 8, 6, 17, 1}, + {"HE", 18, 30, 3, "HEP09", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 31, 1, "HEP09", 2, 11, 3, 0, 1, 4, 5, 7, 8, 8, 17, 1}, + {"HE", 18, 31, 2, "HEP09", 2, 3, 3, 1, 1, 5, 5, 7, 8, 8, 17, 1}, + {"HE", 18, 31, 3, "HEP09", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 32, 1, "HEP09", 3, 11, 3, 0, 1, 4, 5, 7, 9, 6, 17, 0}, + {"HE", 18, 32, 2, "HEP09", 3, 19, 3, 1, 1, 5, 5, 7, 9, 6, 17, 0}, + {"HE", 18, 32, 3, "HEP09", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 33, 1, "HEP09", 4, 11, 3, 0, 1, 4, 5, 7, 9, 8, 17, 0}, + {"HE", 18, 33, 2, "HEP09", 4, 3, 3, 1, 1, 5, 5, 7, 9, 8, 17, 0}, + {"HE", 18, 33, 3, "HEP09", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 34, 1, "HEP10", 1, 11, 3, 0, 1, 4, 11, 9, 2, 6, 14, 1}, + {"HE", 18, 34, 2, "HEP10", 1, 19, 3, 1, 1, 5, 11, 9, 2, 6, 14, 1}, + {"HE", 18, 34, 3, "HEP10", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 35, 1, "HEP10", 2, 11, 3, 0, 1, 4, 11, 9, 2, 8, 14, 1}, + {"HE", 18, 35, 2, "HEP10", 2, 3, 3, 1, 1, 5, 11, 9, 2, 8, 14, 1}, + {"HE", 18, 35, 3, "HEP10", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 36, 1, "HEP10", 3, 11, 3, 0, 1, 4, 11, 9, 3, 6, 14, 0}, + {"HE", 18, 36, 2, "HEP10", 3, 19, 3, 1, 1, 5, 11, 9, 3, 6, 14, 0}, + {"HE", 18, 36, 3, "HEP10", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 37, 1, "HEP10", 4, 11, 3, 0, 1, 4, 11, 9, 3, 8, 14, 0}, + {"HE", 18, 37, 2, "HEP10", 4, 3, 3, 1, 1, 5, 11, 9, 3, 8, 14, 0}, + {"HE", 18, 37, 3, "HEP10", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 38, 1, "HEP11", 1, 11, 3, 0, 1, 4, 11, 9, 8, 6, 17, 1}, + {"HE", 18, 38, 2, "HEP11", 1, 19, 3, 1, 1, 5, 11, 9, 8, 6, 17, 1}, + {"HE", 18, 38, 3, "HEP11", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 39, 1, "HEP11", 2, 11, 3, 0, 1, 4, 11, 9, 8, 8, 17, 1}, + {"HE", 18, 39, 2, "HEP11", 2, 3, 3, 1, 1, 5, 11, 9, 8, 8, 17, 1}, + {"HE", 18, 39, 3, "HEP11", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 40, 1, "HEP11", 3, 11, 3, 0, 1, 4, 11, 9, 9, 6, 17, 0}, + {"HE", 18, 40, 2, "HEP11", 3, 19, 3, 1, 1, 5, 11, 9, 9, 6, 17, 0}, + {"HE", 18, 40, 3, "HEP11", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 41, 1, "HEP11", 4, 11, 3, 0, 1, 4, 11, 9, 9, 8, 17, 0}, + {"HE", 18, 41, 2, "HEP11", 4, 3, 3, 1, 1, 5, 11, 9, 9, 8, 17, 0}, + {"HE", 18, 41, 3, "HEP11", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 42, 1, "HEP12", 1, 11, 3, 0, 1, 4, 15, 11, 2, 6, 14, 1}, + {"HE", 18, 42, 2, "HEP12", 1, 19, 3, 1, 1, 5, 15, 11, 2, 6, 14, 1}, + {"HE", 18, 42, 3, "HEP12", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 43, 1, "HEP12", 2, 11, 3, 0, 1, 4, 15, 11, 2, 8, 14, 1}, + {"HE", 18, 43, 2, "HEP12", 2, 3, 3, 1, 1, 5, 15, 11, 2, 8, 14, 1}, + {"HE", 18, 43, 3, "HEP12", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 44, 1, "HEP12", 3, 11, 3, 0, 1, 4, 15, 11, 3, 6, 14, 0}, + {"HE", 18, 44, 2, "HEP12", 3, 19, 3, 1, 1, 5, 15, 11, 3, 6, 14, 0}, + {"HE", 18, 44, 3, "HEP12", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 45, 1, "HEP12", 4, 11, 3, 0, 1, 4, 15, 11, 3, 8, 14, 0}, + {"HE", 18, 45, 2, "HEP12", 4, 3, 3, 1, 1, 5, 15, 11, 3, 8, 14, 0}, + {"HE", 18, 45, 3, "HEP12", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 46, 1, "HEP13", 1, 11, 3, 0, 1, 4, 15, 11, 8, 6, 17, 1}, + {"HE", 18, 46, 2, "HEP13", 1, 19, 3, 1, 1, 5, 15, 11, 8, 6, 17, 1}, + {"HE", 18, 46, 3, "HEP13", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 47, 1, "HEP13", 2, 11, 3, 0, 1, 4, 15, 11, 8, 8, 17, 1}, + {"HE", 18, 47, 2, "HEP13", 2, 3, 3, 1, 1, 5, 15, 11, 8, 8, 17, 1}, + {"HE", 18, 47, 3, "HEP13", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 48, 1, "HEP13", 3, 11, 3, 0, 1, 4, 15, 11, 9, 6, 17, 0}, + {"HE", 18, 48, 2, "HEP13", 3, 19, 3, 1, 1, 5, 15, 11, 9, 6, 17, 0}, + {"HE", 18, 48, 3, "HEP13", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 49, 1, "HEP13", 4, 11, 3, 0, 1, 4, 15, 11, 9, 8, 17, 0}, + {"HE", 18, 49, 2, "HEP13", 4, 3, 3, 1, 1, 5, 15, 11, 9, 8, 17, 0}, + {"HE", 18, 49, 3, "HEP13", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 50, 1, "HEP14", 1, 11, 3, 0, 1, 4, 17, 13, 2, 6, 14, 1}, + {"HE", 18, 50, 2, "HEP14", 1, 19, 3, 1, 1, 5, 17, 13, 2, 6, 14, 1}, + {"HE", 18, 50, 3, "HEP14", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 51, 1, "HEP14", 2, 11, 3, 0, 1, 4, 17, 13, 2, 8, 14, 1}, + {"HE", 18, 51, 2, "HEP14", 2, 3, 3, 1, 1, 5, 17, 13, 2, 8, 14, 1}, + {"HE", 18, 51, 3, "HEP14", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 52, 1, "HEP14", 3, 11, 3, 0, 1, 4, 17, 13, 3, 6, 14, 0}, + {"HE", 18, 52, 2, "HEP14", 3, 19, 3, 1, 1, 5, 17, 13, 3, 6, 14, 0}, + {"HE", 18, 52, 3, "HEP14", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 53, 1, "HEP14", 4, 11, 3, 0, 1, 4, 17, 13, 3, 8, 14, 0}, + {"HE", 18, 53, 2, "HEP14", 4, 3, 3, 1, 1, 5, 17, 13, 3, 8, 14, 0}, + {"HE", 18, 53, 3, "HEP14", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 54, 1, "HEP15", 1, 11, 3, 0, 1, 4, 17, 13, 8, 6, 17, 1}, + {"HE", 18, 54, 2, "HEP15", 1, 19, 3, 1, 1, 5, 17, 13, 8, 6, 17, 1}, + {"HE", 18, 54, 3, "HEP15", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 55, 1, "HEP15", 2, 11, 3, 0, 1, 4, 17, 13, 8, 8, 17, 1}, + {"HE", 18, 55, 2, "HEP15", 2, 3, 3, 1, 1, 5, 17, 13, 8, 8, 17, 1}, + {"HE", 18, 55, 3, "HEP15", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 56, 1, "HEP15", 3, 11, 3, 0, 1, 4, 17, 13, 9, 6, 17, 0}, + {"HE", 18, 56, 2, "HEP15", 3, 19, 3, 1, 1, 5, 17, 13, 9, 6, 17, 0}, + {"HE", 18, 56, 3, "HEP15", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 57, 1, "HEP15", 4, 11, 3, 0, 1, 4, 17, 13, 9, 8, 17, 0}, + {"HE", 18, 57, 2, "HEP15", 4, 3, 3, 1, 1, 5, 17, 13, 9, 8, 17, 0}, + {"HE", 18, 57, 3, "HEP15", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 58, 1, "HEP16", 1, 11, 3, 0, 1, 4, 14, 15, 2, 6, 14, 1}, + {"HE", 18, 58, 2, "HEP16", 1, 19, 3, 1, 1, 5, 14, 15, 2, 6, 14, 1}, + {"HE", 18, 58, 3, "HEP16", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 59, 1, "HEP16", 2, 11, 3, 0, 1, 4, 14, 15, 2, 8, 14, 1}, + {"HE", 18, 59, 2, "HEP16", 2, 3, 3, 1, 1, 5, 14, 15, 2, 8, 14, 1}, + {"HE", 18, 59, 3, "HEP16", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 60, 1, "HEP16", 3, 11, 3, 0, 1, 4, 14, 15, 3, 6, 14, 0}, + {"HE", 18, 60, 2, "HEP16", 3, 19, 3, 1, 1, 5, 14, 15, 3, 6, 14, 0}, + {"HE", 18, 60, 3, "HEP16", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 61, 1, "HEP16", 4, 11, 3, 0, 1, 4, 14, 15, 3, 8, 14, 0}, + {"HE", 18, 61, 2, "HEP16", 4, 3, 3, 1, 1, 5, 14, 15, 3, 8, 14, 0}, + {"HE", 18, 61, 3, "HEP16", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 62, 1, "HEP17", 1, 11, 3, 0, 1, 4, 14, 15, 8, 6, 17, 1}, + {"HE", 18, 62, 2, "HEP17", 1, 19, 3, 1, 1, 5, 14, 15, 8, 6, 17, 1}, + {"HE", 18, 62, 3, "HEP17", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 63, 1, "HEP17", 2, 11, 3, 0, 1, 4, 14, 15, 8, 8, 17, 1}, + {"HE", 18, 63, 2, "HEP17", 2, 3, 3, 1, 1, 5, 14, 15, 8, 8, 17, 1}, + {"HE", 18, 63, 3, "HEP17", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 64, 1, "HEP17", 3, 11, 3, 0, 1, 4, 14, 15, 9, 6, 17, 0}, + {"HE", 18, 64, 2, "HEP17", 3, 19, 3, 1, 1, 5, 14, 15, 9, 6, 17, 0}, + {"HE", 18, 64, 3, "HEP17", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 65, 1, "HEP17", 4, 11, 3, 0, 1, 4, 14, 15, 9, 8, 17, 0}, + {"HE", 18, 65, 2, "HEP17", 4, 3, 3, 1, 1, 5, 14, 15, 9, 8, 17, 0}, + {"HE", 18, 65, 3, "HEP17", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 66, 1, "HEP18", 1, 11, 3, 0, 1, 4, 10, 17, 2, 6, 14, 1}, + {"HE", 18, 66, 2, "HEP18", 1, 19, 3, 1, 1, 5, 10, 17, 2, 6, 14, 1}, + {"HE", 18, 66, 3, "HEP18", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 67, 1, "HEP18", 2, 11, 3, 0, 1, 4, 10, 17, 2, 8, 14, 1}, + {"HE", 18, 67, 2, "HEP18", 2, 3, 3, 1, 1, 5, 10, 17, 2, 8, 14, 1}, + {"HE", 18, 67, 3, "HEP18", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 68, 1, "HEP18", 3, 11, 3, 0, 1, 4, 10, 17, 3, 6, 14, 0}, + {"HE", 18, 68, 2, "HEP18", 3, 19, 3, 1, 1, 5, 10, 17, 3, 6, 14, 0}, + {"HE", 18, 68, 3, "HEP18", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 69, 1, "HEP18", 4, 11, 3, 0, 1, 4, 10, 17, 3, 8, 14, 0}, + {"HE", 18, 69, 2, "HEP18", 4, 3, 3, 1, 1, 5, 10, 17, 3, 8, 14, 0}, + {"HE", 18, 69, 3, "HEP18", 4, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 70, 1, "HEP01", 1, 11, 3, 0, 1, 4, 10, 17, 8, 6, 17, 1}, + {"HE", 18, 70, 2, "HEP01", 1, 19, 3, 1, 1, 5, 10, 17, 8, 6, 17, 1}, + {"HE", 18, 70, 3, "HEP01", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 18, 71, 1, "HEP01", 2, 11, 3, 0, 1, 4, 10, 17, 8, 8, 17, 1}, + {"HE", 18, 71, 2, "HEP01", 2, 3, 3, 1, 1, 5, 10, 17, 8, 8, 17, 1}, + {"HE", 18, 71, 3, "HEP01", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 0, 1, "HEP01", 3, 13, 7, 0, 3, 4, 10, 17, 11, 6, 18, 0}, + {"HE", 19, 0, 2, "HEP01", 3, 17, 6, 0, 3, 0, 10, 17, 11, 5, 18, 0}, + {"HE", 19, 0, 3, "HEP01", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 1, 1, "HEP01", 4, 4, 7, 0, 3, 4, 10, 17, 11, 8, 18, 0}, + {"HE", 19, 1, 2, "HEP01", 4, 1, 6, 0, 3, 0, 10, 17, 11, 7, 18, 0}, + {"HE", 19, 1, 3, "HEP01", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 2, 1, "HEP02", 1, 13, 7, 0, 3, 4, 4, 1, 4, 6, 15, 1}, + {"HE", 19, 2, 2, "HEP02", 1, 17, 6, 0, 3, 0, 4, 1, 4, 5, 15, 1}, + {"HE", 19, 2, 3, "HEP02", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 3, 1, "HEP02", 2, 4, 7, 0, 3, 4, 4, 1, 4, 8, 15, 1}, + {"HE", 19, 3, 2, "HEP02", 2, 1, 6, 0, 3, 0, 4, 1, 4, 7, 15, 1}, + {"HE", 19, 3, 3, "HEP02", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 4, 1, "HEP02", 3, 13, 7, 0, 3, 4, 4, 1, 5, 6, 15, 0}, + {"HE", 19, 4, 2, "HEP02", 3, 17, 6, 0, 3, 0, 4, 1, 5, 5, 15, 0}, + {"HE", 19, 4, 3, "HEP02", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 5, 1, "HEP02", 4, 4, 7, 0, 3, 4, 4, 1, 5, 8, 15, 0}, + {"HE", 19, 5, 2, "HEP02", 4, 1, 6, 0, 3, 0, 4, 1, 5, 7, 15, 0}, + {"HE", 19, 5, 3, "HEP02", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 6, 1, "HEP03", 1, 13, 7, 0, 3, 4, 4, 1, 10, 6, 18, 1}, + {"HE", 19, 6, 2, "HEP03", 1, 17, 6, 0, 3, 0, 4, 1, 10, 5, 18, 1}, + {"HE", 19, 6, 3, "HEP03", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 7, 1, "HEP03", 2, 4, 7, 0, 3, 4, 4, 1, 10, 8, 18, 1}, + {"HE", 19, 7, 2, "HEP03", 2, 1, 6, 0, 3, 0, 4, 1, 10, 7, 18, 1}, + {"HE", 19, 7, 3, "HEP03", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 8, 1, "HEP03", 3, 13, 7, 0, 3, 4, 4, 1, 11, 6, 18, 0}, + {"HE", 19, 8, 2, "HEP03", 3, 17, 6, 0, 3, 0, 4, 1, 11, 5, 18, 0}, + {"HE", 19, 8, 3, "HEP03", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 9, 1, "HEP03", 4, 4, 7, 0, 3, 4, 4, 1, 11, 8, 18, 0}, + {"HE", 19, 9, 2, "HEP03", 4, 1, 6, 0, 3, 0, 4, 1, 11, 7, 18, 0}, + {"HE", 19, 9, 3, "HEP03", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 10, 1, "HEP04", 1, 13, 7, 0, 3, 4, 0, 3, 4, 6, 15, 1}, + {"HE", 19, 10, 2, "HEP04", 1, 17, 6, 0, 3, 0, 0, 3, 4, 5, 15, 1}, + {"HE", 19, 10, 3, "HEP04", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 11, 1, "HEP04", 2, 4, 7, 0, 3, 4, 0, 3, 4, 8, 15, 1}, + {"HE", 19, 11, 2, "HEP04", 2, 1, 6, 0, 3, 0, 0, 3, 4, 7, 15, 1}, + {"HE", 19, 11, 3, "HEP04", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 12, 1, "HEP04", 3, 13, 7, 0, 3, 4, 0, 3, 5, 6, 15, 0}, + {"HE", 19, 12, 2, "HEP04", 3, 17, 6, 0, 3, 0, 0, 3, 5, 5, 15, 0}, + {"HE", 19, 12, 3, "HEP04", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 13, 1, "HEP04", 4, 4, 7, 0, 3, 4, 0, 3, 5, 8, 15, 0}, + {"HE", 19, 13, 2, "HEP04", 4, 1, 6, 0, 3, 0, 0, 3, 5, 7, 15, 0}, + {"HE", 19, 13, 3, "HEP04", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 14, 1, "HEP05", 1, 13, 7, 0, 3, 4, 0, 3, 10, 6, 18, 1}, + {"HE", 19, 14, 2, "HEP05", 1, 17, 6, 0, 3, 0, 0, 3, 10, 5, 18, 1}, + {"HE", 19, 14, 3, "HEP05", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 15, 1, "HEP05", 2, 4, 7, 0, 3, 4, 0, 3, 10, 8, 18, 1}, + {"HE", 19, 15, 2, "HEP05", 2, 1, 6, 0, 3, 0, 0, 3, 10, 7, 18, 1}, + {"HE", 19, 15, 3, "HEP05", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 16, 1, "HEP05", 3, 13, 7, 0, 3, 4, 0, 3, 11, 6, 18, 0}, + {"HE", 19, 16, 2, "HEP05", 3, 17, 6, 0, 3, 0, 0, 3, 11, 5, 18, 0}, + {"HE", 19, 16, 3, "HEP05", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 17, 1, "HEP05", 4, 4, 7, 0, 3, 4, 0, 3, 11, 8, 18, 0}, + {"HE", 19, 17, 2, "HEP05", 4, 1, 6, 0, 3, 0, 0, 3, 11, 7, 18, 0}, + {"HE", 19, 17, 3, "HEP05", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 18, 1, "HEP06", 1, 13, 7, 0, 3, 4, 1, 5, 4, 6, 15, 1}, + {"HE", 19, 18, 2, "HEP06", 1, 17, 6, 0, 3, 0, 1, 5, 4, 5, 15, 1}, + {"HE", 19, 18, 3, "HEP06", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 19, 1, "HEP06", 2, 4, 7, 0, 3, 4, 1, 5, 4, 8, 15, 1}, + {"HE", 19, 19, 2, "HEP06", 2, 1, 6, 0, 3, 0, 1, 5, 4, 7, 15, 1}, + {"HE", 19, 19, 3, "HEP06", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 20, 1, "HEP06", 3, 13, 7, 0, 3, 4, 1, 5, 5, 6, 15, 0}, + {"HE", 19, 20, 2, "HEP06", 3, 17, 6, 0, 3, 0, 1, 5, 5, 5, 15, 0}, + {"HE", 19, 20, 3, "HEP06", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 21, 1, "HEP06", 4, 4, 7, 0, 3, 4, 1, 5, 5, 8, 15, 0}, + {"HE", 19, 21, 2, "HEP06", 4, 1, 6, 0, 3, 0, 1, 5, 5, 7, 15, 0}, + {"HE", 19, 21, 3, "HEP06", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 22, 1, "HEP07", 1, 13, 7, 0, 3, 4, 1, 5, 10, 6, 18, 1}, + {"HE", 19, 22, 2, "HEP07", 1, 17, 6, 0, 3, 0, 1, 5, 10, 5, 18, 1}, + {"HE", 19, 22, 3, "HEP07", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 23, 1, "HEP07", 2, 4, 7, 0, 3, 4, 1, 5, 10, 8, 18, 1}, + {"HE", 19, 23, 2, "HEP07", 2, 1, 6, 0, 3, 0, 1, 5, 10, 7, 18, 1}, + {"HE", 19, 23, 3, "HEP07", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 24, 1, "HEP07", 3, 13, 7, 0, 3, 4, 1, 5, 11, 6, 18, 0}, + {"HE", 19, 24, 2, "HEP07", 3, 17, 6, 0, 3, 0, 1, 5, 11, 5, 18, 0}, + {"HE", 19, 24, 3, "HEP07", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 25, 1, "HEP07", 4, 4, 7, 0, 3, 4, 1, 5, 11, 8, 18, 0}, + {"HE", 19, 25, 2, "HEP07", 4, 1, 6, 0, 3, 0, 1, 5, 11, 7, 18, 0}, + {"HE", 19, 25, 3, "HEP07", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 26, 1, "HEP08", 1, 13, 7, 0, 3, 4, 5, 7, 4, 6, 15, 1}, + {"HE", 19, 26, 2, "HEP08", 1, 17, 6, 0, 3, 0, 5, 7, 4, 5, 15, 1}, + {"HE", 19, 26, 3, "HEP08", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 27, 1, "HEP08", 2, 4, 7, 0, 3, 4, 5, 7, 4, 8, 15, 1}, + {"HE", 19, 27, 2, "HEP08", 2, 1, 6, 0, 3, 0, 5, 7, 4, 7, 15, 1}, + {"HE", 19, 27, 3, "HEP08", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 28, 1, "HEP08", 3, 13, 7, 0, 3, 4, 5, 7, 5, 6, 15, 0}, + {"HE", 19, 28, 2, "HEP08", 3, 17, 6, 0, 3, 0, 5, 7, 5, 5, 15, 0}, + {"HE", 19, 28, 3, "HEP08", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 29, 1, "HEP08", 4, 4, 7, 0, 3, 4, 5, 7, 5, 8, 15, 0}, + {"HE", 19, 29, 2, "HEP08", 4, 1, 6, 0, 3, 0, 5, 7, 5, 7, 15, 0}, + {"HE", 19, 29, 3, "HEP08", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 30, 1, "HEP09", 1, 13, 7, 0, 3, 4, 5, 7, 10, 6, 18, 1}, + {"HE", 19, 30, 2, "HEP09", 1, 17, 6, 0, 3, 0, 5, 7, 10, 5, 18, 1}, + {"HE", 19, 30, 3, "HEP09", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 31, 1, "HEP09", 2, 4, 7, 0, 3, 4, 5, 7, 10, 8, 18, 1}, + {"HE", 19, 31, 2, "HEP09", 2, 1, 6, 0, 3, 0, 5, 7, 10, 7, 18, 1}, + {"HE", 19, 31, 3, "HEP09", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 32, 1, "HEP09", 3, 13, 7, 0, 3, 4, 5, 7, 11, 6, 18, 0}, + {"HE", 19, 32, 2, "HEP09", 3, 17, 6, 0, 3, 0, 5, 7, 11, 5, 18, 0}, + {"HE", 19, 32, 3, "HEP09", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 33, 1, "HEP09", 4, 4, 7, 0, 3, 4, 5, 7, 11, 8, 18, 0}, + {"HE", 19, 33, 2, "HEP09", 4, 1, 6, 0, 3, 0, 5, 7, 11, 7, 18, 0}, + {"HE", 19, 33, 3, "HEP09", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 34, 1, "HEP10", 1, 13, 7, 0, 3, 4, 11, 9, 4, 6, 15, 1}, + {"HE", 19, 34, 2, "HEP10", 1, 17, 6, 0, 3, 0, 11, 9, 4, 5, 15, 1}, + {"HE", 19, 34, 3, "HEP10", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 35, 1, "HEP10", 2, 4, 7, 0, 3, 4, 11, 9, 4, 8, 15, 1}, + {"HE", 19, 35, 2, "HEP10", 2, 1, 6, 0, 3, 0, 11, 9, 4, 7, 15, 1}, + {"HE", 19, 35, 3, "HEP10", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 36, 1, "HEP10", 3, 13, 7, 0, 3, 4, 11, 9, 5, 6, 15, 0}, + {"HE", 19, 36, 2, "HEP10", 3, 17, 6, 0, 3, 0, 11, 9, 5, 5, 15, 0}, + {"HE", 19, 36, 3, "HEP10", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 37, 1, "HEP10", 4, 4, 7, 0, 3, 4, 11, 9, 5, 8, 15, 0}, + {"HE", 19, 37, 2, "HEP10", 4, 1, 6, 0, 3, 0, 11, 9, 5, 7, 15, 0}, + {"HE", 19, 37, 3, "HEP10", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 38, 1, "HEP11", 1, 13, 7, 0, 3, 4, 11, 9, 10, 6, 18, 1}, + {"HE", 19, 38, 2, "HEP11", 1, 17, 6, 0, 3, 0, 11, 9, 10, 5, 18, 1}, + {"HE", 19, 38, 3, "HEP11", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 39, 1, "HEP11", 2, 4, 7, 0, 3, 4, 11, 9, 10, 8, 18, 1}, + {"HE", 19, 39, 2, "HEP11", 2, 1, 6, 0, 3, 0, 11, 9, 10, 7, 18, 1}, + {"HE", 19, 39, 3, "HEP11", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 40, 1, "HEP11", 3, 13, 7, 0, 3, 4, 11, 9, 11, 6, 18, 0}, + {"HE", 19, 40, 2, "HEP11", 3, 17, 6, 0, 3, 0, 11, 9, 11, 5, 18, 0}, + {"HE", 19, 40, 3, "HEP11", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 41, 1, "HEP11", 4, 4, 7, 0, 3, 4, 11, 9, 11, 8, 18, 0}, + {"HE", 19, 41, 2, "HEP11", 4, 1, 6, 0, 3, 0, 11, 9, 11, 7, 18, 0}, + {"HE", 19, 41, 3, "HEP11", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 42, 1, "HEP12", 1, 13, 7, 0, 3, 4, 15, 11, 4, 6, 15, 1}, + {"HE", 19, 42, 2, "HEP12", 1, 17, 6, 0, 3, 0, 15, 11, 4, 5, 15, 1}, + {"HE", 19, 42, 3, "HEP12", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 43, 1, "HEP12", 2, 4, 7, 0, 3, 4, 15, 11, 4, 8, 15, 1}, + {"HE", 19, 43, 2, "HEP12", 2, 1, 6, 0, 3, 0, 15, 11, 4, 7, 15, 1}, + {"HE", 19, 43, 3, "HEP12", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 44, 1, "HEP12", 3, 13, 7, 0, 3, 4, 15, 11, 5, 6, 15, 0}, + {"HE", 19, 44, 2, "HEP12", 3, 17, 6, 0, 3, 0, 15, 11, 5, 5, 15, 0}, + {"HE", 19, 44, 3, "HEP12", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 45, 1, "HEP12", 4, 4, 7, 0, 3, 4, 15, 11, 5, 8, 15, 0}, + {"HE", 19, 45, 2, "HEP12", 4, 1, 6, 0, 3, 0, 15, 11, 5, 7, 15, 0}, + {"HE", 19, 45, 3, "HEP12", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 46, 1, "HEP13", 1, 13, 7, 0, 3, 4, 15, 11, 10, 6, 18, 1}, + {"HE", 19, 46, 2, "HEP13", 1, 17, 6, 0, 3, 0, 15, 11, 10, 5, 18, 1}, + {"HE", 19, 46, 3, "HEP13", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 47, 1, "HEP13", 2, 4, 7, 0, 3, 4, 15, 11, 10, 8, 18, 1}, + {"HE", 19, 47, 2, "HEP13", 2, 1, 6, 0, 3, 0, 15, 11, 10, 7, 18, 1}, + {"HE", 19, 47, 3, "HEP13", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 48, 1, "HEP13", 3, 13, 7, 0, 3, 4, 15, 11, 11, 6, 18, 0}, + {"HE", 19, 48, 2, "HEP13", 3, 17, 6, 0, 3, 0, 15, 11, 11, 5, 18, 0}, + {"HE", 19, 48, 3, "HEP13", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 49, 1, "HEP13", 4, 4, 7, 0, 3, 4, 15, 11, 11, 8, 18, 0}, + {"HE", 19, 49, 2, "HEP13", 4, 1, 6, 0, 3, 0, 15, 11, 11, 7, 18, 0}, + {"HE", 19, 49, 3, "HEP13", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 50, 1, "HEP14", 1, 13, 7, 0, 3, 4, 17, 13, 4, 6, 15, 1}, + {"HE", 19, 50, 2, "HEP14", 1, 17, 6, 0, 3, 0, 17, 13, 4, 5, 15, 1}, + {"HE", 19, 50, 3, "HEP14", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 51, 1, "HEP14", 2, 4, 7, 0, 3, 4, 17, 13, 4, 8, 15, 1}, + {"HE", 19, 51, 2, "HEP14", 2, 1, 6, 0, 3, 0, 17, 13, 4, 7, 15, 1}, + {"HE", 19, 51, 3, "HEP14", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 52, 1, "HEP14", 3, 13, 7, 0, 3, 4, 17, 13, 5, 6, 15, 0}, + {"HE", 19, 52, 2, "HEP14", 3, 17, 6, 0, 3, 0, 17, 13, 5, 5, 15, 0}, + {"HE", 19, 52, 3, "HEP14", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 53, 1, "HEP14", 4, 4, 7, 0, 3, 4, 17, 13, 5, 8, 15, 0}, + {"HE", 19, 53, 2, "HEP14", 4, 1, 6, 0, 3, 0, 17, 13, 5, 7, 15, 0}, + {"HE", 19, 53, 3, "HEP14", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 54, 1, "HEP15", 1, 13, 7, 0, 3, 4, 17, 13, 10, 6, 18, 1}, + {"HE", 19, 54, 2, "HEP15", 1, 17, 6, 0, 3, 0, 17, 13, 10, 5, 18, 1}, + {"HE", 19, 54, 3, "HEP15", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 55, 1, "HEP15", 2, 4, 7, 0, 3, 4, 17, 13, 10, 8, 18, 1}, + {"HE", 19, 55, 2, "HEP15", 2, 1, 6, 0, 3, 0, 17, 13, 10, 7, 18, 1}, + {"HE", 19, 55, 3, "HEP15", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 56, 1, "HEP15", 3, 13, 7, 0, 3, 4, 17, 13, 11, 6, 18, 0}, + {"HE", 19, 56, 2, "HEP15", 3, 17, 6, 0, 3, 0, 17, 13, 11, 5, 18, 0}, + {"HE", 19, 56, 3, "HEP15", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 57, 1, "HEP15", 4, 4, 7, 0, 3, 4, 17, 13, 11, 8, 18, 0}, + {"HE", 19, 57, 2, "HEP15", 4, 1, 6, 0, 3, 0, 17, 13, 11, 7, 18, 0}, + {"HE", 19, 57, 3, "HEP15", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 58, 1, "HEP16", 1, 13, 7, 0, 3, 4, 14, 15, 4, 6, 15, 1}, + {"HE", 19, 58, 2, "HEP16", 1, 17, 6, 0, 3, 0, 14, 15, 4, 5, 15, 1}, + {"HE", 19, 58, 3, "HEP16", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 59, 1, "HEP16", 2, 4, 7, 0, 3, 4, 14, 15, 4, 8, 15, 1}, + {"HE", 19, 59, 2, "HEP16", 2, 1, 6, 0, 3, 0, 14, 15, 4, 7, 15, 1}, + {"HE", 19, 59, 3, "HEP16", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 60, 1, "HEP16", 3, 13, 7, 0, 3, 4, 14, 15, 5, 6, 15, 0}, + {"HE", 19, 60, 2, "HEP16", 3, 17, 6, 0, 3, 0, 14, 15, 5, 5, 15, 0}, + {"HE", 19, 60, 3, "HEP16", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 61, 1, "HEP16", 4, 4, 7, 0, 3, 4, 14, 15, 5, 8, 15, 0}, + {"HE", 19, 61, 2, "HEP16", 4, 1, 6, 0, 3, 0, 14, 15, 5, 7, 15, 0}, + {"HE", 19, 61, 3, "HEP16", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 62, 1, "HEP17", 1, 13, 7, 0, 3, 4, 14, 15, 10, 6, 18, 1}, + {"HE", 19, 62, 2, "HEP17", 1, 17, 6, 0, 3, 0, 14, 15, 10, 5, 18, 1}, + {"HE", 19, 62, 3, "HEP17", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 63, 1, "HEP17", 2, 4, 7, 0, 3, 4, 14, 15, 10, 8, 18, 1}, + {"HE", 19, 63, 2, "HEP17", 2, 1, 6, 0, 3, 0, 14, 15, 10, 7, 18, 1}, + {"HE", 19, 63, 3, "HEP17", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 64, 1, "HEP17", 3, 13, 7, 0, 3, 4, 14, 15, 11, 6, 18, 0}, + {"HE", 19, 64, 2, "HEP17", 3, 17, 6, 0, 3, 0, 14, 15, 11, 5, 18, 0}, + {"HE", 19, 64, 3, "HEP17", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 65, 1, "HEP17", 4, 4, 7, 0, 3, 4, 14, 15, 11, 8, 18, 0}, + {"HE", 19, 65, 2, "HEP17", 4, 1, 6, 0, 3, 0, 14, 15, 11, 7, 18, 0}, + {"HE", 19, 65, 3, "HEP17", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 66, 1, "HEP18", 1, 13, 7, 0, 3, 4, 10, 17, 4, 6, 15, 1}, + {"HE", 19, 66, 2, "HEP18", 1, 17, 6, 0, 3, 0, 10, 17, 4, 5, 15, 1}, + {"HE", 19, 66, 3, "HEP18", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 67, 1, "HEP18", 2, 4, 7, 0, 3, 4, 10, 17, 4, 8, 15, 1}, + {"HE", 19, 67, 2, "HEP18", 2, 1, 6, 0, 3, 0, 10, 17, 4, 7, 15, 1}, + {"HE", 19, 67, 3, "HEP18", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 68, 1, "HEP18", 3, 13, 7, 0, 3, 4, 10, 17, 5, 6, 15, 0}, + {"HE", 19, 68, 2, "HEP18", 3, 17, 6, 0, 3, 0, 10, 17, 5, 5, 15, 0}, + {"HE", 19, 68, 3, "HEP18", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 69, 1, "HEP18", 4, 4, 7, 0, 3, 4, 10, 17, 5, 8, 15, 0}, + {"HE", 19, 69, 2, "HEP18", 4, 1, 6, 0, 3, 0, 10, 17, 5, 7, 15, 0}, + {"HE", 19, 69, 3, "HEP18", 4, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 70, 1, "HEP01", 1, 13, 7, 0, 3, 4, 10, 17, 10, 6, 18, 1}, + {"HE", 19, 70, 2, "HEP01", 1, 17, 6, 0, 3, 0, 10, 17, 10, 5, 18, 1}, + {"HE", 19, 70, 3, "HEP01", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 19, 71, 1, "HEP01", 2, 4, 7, 0, 3, 4, 10, 17, 10, 8, 18, 1}, + {"HE", 19, 71, 2, "HEP01", 2, 1, 6, 0, 3, 0, 10, 17, 10, 7, 18, 1}, + {"HE", 19, 71, 3, "HEP01", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 0, 1, "HEP01", 3, 9, 6, 1, 3, 1, 10, 17, 11, 5, 18, 0}, + {"HE", 20, 0, 2, "HEP01", 3, 8, 7, 1, 3, 5, 10, 17, 11, 6, 18, 0}, + {"HE", 20, 0, 3, "HEP01", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 1, 1, "HEP01", 4, 9, 6, 1, 3, 1, 10, 17, 11, 7, 18, 0}, + {"HE", 20, 1, 2, "HEP01", 4, 8, 7, 1, 3, 5, 10, 17, 11, 8, 18, 0}, + {"HE", 20, 1, 3, "HEP02", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 2, 1, "HEP02", 1, 9, 6, 1, 3, 1, 4, 1, 4, 5, 15, 1}, + {"HE", 20, 2, 2, "HEP02", 1, 8, 7, 1, 3, 5, 4, 1, 4, 6, 15, 1}, + {"HE", 20, 2, 3, "HEP02", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 3, 1, "HEP02", 2, 9, 6, 1, 3, 1, 4, 1, 4, 7, 15, 1}, + {"HE", 20, 3, 2, "HEP02", 2, 8, 7, 1, 3, 5, 4, 1, 4, 8, 15, 1}, + {"HE", 20, 3, 3, "HEP02", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 4, 1, "HEP02", 3, 9, 6, 1, 3, 1, 4, 1, 5, 5, 15, 0}, + {"HE", 20, 4, 2, "HEP02", 3, 8, 7, 1, 3, 5, 4, 1, 5, 6, 15, 0}, + {"HE", 20, 4, 3, "HEP02", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 5, 1, "HEP02", 4, 9, 6, 1, 3, 1, 4, 1, 5, 7, 15, 0}, + {"HE", 20, 5, 2, "HEP02", 4, 8, 7, 1, 3, 5, 4, 1, 5, 8, 15, 0}, + {"HE", 20, 5, 3, "HEP03", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 6, 1, "HEP03", 1, 9, 6, 1, 3, 1, 4, 1, 10, 5, 18, 1}, + {"HE", 20, 6, 2, "HEP03", 1, 8, 7, 1, 3, 5, 4, 1, 10, 6, 18, 1}, + {"HE", 20, 6, 3, "HEP03", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 7, 1, "HEP03", 2, 9, 6, 1, 3, 1, 4, 1, 10, 7, 18, 1}, + {"HE", 20, 7, 2, "HEP03", 2, 8, 7, 1, 3, 5, 4, 1, 10, 8, 18, 1}, + {"HE", 20, 7, 3, "HEP03", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 8, 1, "HEP03", 3, 9, 6, 1, 3, 1, 4, 1, 11, 5, 18, 0}, + {"HE", 20, 8, 2, "HEP03", 3, 8, 7, 1, 3, 5, 4, 1, 11, 6, 18, 0}, + {"HE", 20, 8, 3, "HEP03", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 9, 1, "HEP03", 4, 9, 6, 1, 3, 1, 4, 1, 11, 7, 18, 0}, + {"HE", 20, 9, 2, "HEP03", 4, 8, 7, 1, 3, 5, 4, 1, 11, 8, 18, 0}, + {"HE", 20, 9, 3, "HEP04", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 10, 1, "HEP04", 1, 9, 6, 1, 3, 1, 0, 3, 4, 5, 15, 1}, + {"HE", 20, 10, 2, "HEP04", 1, 8, 7, 1, 3, 5, 0, 3, 4, 6, 15, 1}, + {"HE", 20, 10, 3, "HEP04", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 11, 1, "HEP04", 2, 9, 6, 1, 3, 1, 0, 3, 4, 7, 15, 1}, + {"HE", 20, 11, 2, "HEP04", 2, 8, 7, 1, 3, 5, 0, 3, 4, 8, 15, 1}, + {"HE", 20, 11, 3, "HEP04", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 12, 1, "HEP04", 3, 9, 6, 1, 3, 1, 0, 3, 5, 5, 15, 0}, + {"HE", 20, 12, 2, "HEP04", 3, 8, 7, 1, 3, 5, 0, 3, 5, 6, 15, 0}, + {"HE", 20, 12, 3, "HEP04", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 13, 1, "HEP04", 4, 9, 6, 1, 3, 1, 0, 3, 5, 7, 15, 0}, + {"HE", 20, 13, 2, "HEP04", 4, 8, 7, 1, 3, 5, 0, 3, 5, 8, 15, 0}, + {"HE", 20, 13, 3, "HEP05", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 14, 1, "HEP05", 1, 9, 6, 1, 3, 1, 0, 3, 10, 5, 18, 1}, + {"HE", 20, 14, 2, "HEP05", 1, 8, 7, 1, 3, 5, 0, 3, 10, 6, 18, 1}, + {"HE", 20, 14, 3, "HEP05", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 15, 1, "HEP05", 2, 9, 6, 1, 3, 1, 0, 3, 10, 7, 18, 1}, + {"HE", 20, 15, 2, "HEP05", 2, 8, 7, 1, 3, 5, 0, 3, 10, 8, 18, 1}, + {"HE", 20, 15, 3, "HEP05", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 16, 1, "HEP05", 3, 9, 6, 1, 3, 1, 0, 3, 11, 5, 18, 0}, + {"HE", 20, 16, 2, "HEP05", 3, 8, 7, 1, 3, 5, 0, 3, 11, 6, 18, 0}, + {"HE", 20, 16, 3, "HEP05", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 17, 1, "HEP05", 4, 9, 6, 1, 3, 1, 0, 3, 11, 7, 18, 0}, + {"HE", 20, 17, 2, "HEP05", 4, 8, 7, 1, 3, 5, 0, 3, 11, 8, 18, 0}, + {"HE", 20, 17, 3, "HEP06", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 18, 1, "HEP06", 1, 9, 6, 1, 3, 1, 1, 5, 4, 5, 15, 1}, + {"HE", 20, 18, 2, "HEP06", 1, 8, 7, 1, 3, 5, 1, 5, 4, 6, 15, 1}, + {"HE", 20, 18, 3, "HEP06", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 19, 1, "HEP06", 2, 9, 6, 1, 3, 1, 1, 5, 4, 7, 15, 1}, + {"HE", 20, 19, 2, "HEP06", 2, 8, 7, 1, 3, 5, 1, 5, 4, 8, 15, 1}, + {"HE", 20, 19, 3, "HEP06", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 20, 1, "HEP06", 3, 9, 6, 1, 3, 1, 1, 5, 5, 5, 15, 0}, + {"HE", 20, 20, 2, "HEP06", 3, 8, 7, 1, 3, 5, 1, 5, 5, 6, 15, 0}, + {"HE", 20, 20, 3, "HEP06", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 21, 1, "HEP06", 4, 9, 6, 1, 3, 1, 1, 5, 5, 7, 15, 0}, + {"HE", 20, 21, 2, "HEP06", 4, 8, 7, 1, 3, 5, 1, 5, 5, 8, 15, 0}, + {"HE", 20, 21, 3, "HEP07", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 22, 1, "HEP07", 1, 9, 6, 1, 3, 1, 1, 5, 10, 5, 18, 1}, + {"HE", 20, 22, 2, "HEP07", 1, 8, 7, 1, 3, 5, 1, 5, 10, 6, 18, 1}, + {"HE", 20, 22, 3, "HEP07", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 23, 1, "HEP07", 2, 9, 6, 1, 3, 1, 1, 5, 10, 7, 18, 1}, + {"HE", 20, 23, 2, "HEP07", 2, 8, 7, 1, 3, 5, 1, 5, 10, 8, 18, 1}, + {"HE", 20, 23, 3, "HEP07", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 24, 1, "HEP07", 3, 9, 6, 1, 3, 1, 1, 5, 11, 5, 18, 0}, + {"HE", 20, 24, 2, "HEP07", 3, 8, 7, 1, 3, 5, 1, 5, 11, 6, 18, 0}, + {"HE", 20, 24, 3, "HEP07", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 25, 1, "HEP07", 4, 9, 6, 1, 3, 1, 1, 5, 11, 7, 18, 0}, + {"HE", 20, 25, 2, "HEP07", 4, 8, 7, 1, 3, 5, 1, 5, 11, 8, 18, 0}, + {"HE", 20, 25, 3, "HEP08", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 26, 1, "HEP08", 1, 9, 6, 1, 3, 1, 5, 7, 4, 5, 15, 1}, + {"HE", 20, 26, 2, "HEP08", 1, 8, 7, 1, 3, 5, 5, 7, 4, 6, 15, 1}, + {"HE", 20, 26, 3, "HEP08", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 27, 1, "HEP08", 2, 9, 6, 1, 3, 1, 5, 7, 4, 7, 15, 1}, + {"HE", 20, 27, 2, "HEP08", 2, 8, 7, 1, 3, 5, 5, 7, 4, 8, 15, 1}, + {"HE", 20, 27, 3, "HEP08", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 28, 1, "HEP08", 3, 9, 6, 1, 3, 1, 5, 7, 5, 5, 15, 0}, + {"HE", 20, 28, 2, "HEP08", 3, 8, 7, 1, 3, 5, 5, 7, 5, 6, 15, 0}, + {"HE", 20, 28, 3, "HEP08", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 29, 1, "HEP08", 4, 9, 6, 1, 3, 1, 5, 7, 5, 7, 15, 0}, + {"HE", 20, 29, 2, "HEP08", 4, 8, 7, 1, 3, 5, 5, 7, 5, 8, 15, 0}, + {"HE", 20, 29, 3, "HEP09", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 30, 1, "HEP09", 1, 9, 6, 1, 3, 1, 5, 7, 10, 5, 18, 1}, + {"HE", 20, 30, 2, "HEP09", 1, 8, 7, 1, 3, 5, 5, 7, 10, 6, 18, 1}, + {"HE", 20, 30, 3, "HEP09", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 31, 1, "HEP09", 2, 9, 6, 1, 3, 1, 5, 7, 10, 7, 18, 1}, + {"HE", 20, 31, 2, "HEP09", 2, 8, 7, 1, 3, 5, 5, 7, 10, 8, 18, 1}, + {"HE", 20, 31, 3, "HEP09", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 32, 1, "HEP09", 3, 9, 6, 1, 3, 1, 5, 7, 11, 5, 18, 0}, + {"HE", 20, 32, 2, "HEP09", 3, 8, 7, 1, 3, 5, 5, 7, 11, 6, 18, 0}, + {"HE", 20, 32, 3, "HEP09", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 33, 1, "HEP09", 4, 9, 6, 1, 3, 1, 5, 7, 11, 7, 18, 0}, + {"HE", 20, 33, 2, "HEP09", 4, 8, 7, 1, 3, 5, 5, 7, 11, 8, 18, 0}, + {"HE", 20, 33, 3, "HEP10", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 34, 1, "HEP10", 1, 9, 6, 1, 3, 1, 11, 9, 4, 5, 15, 1}, + {"HE", 20, 34, 2, "HEP10", 1, 8, 7, 1, 3, 5, 11, 9, 4, 6, 15, 1}, + {"HE", 20, 34, 3, "HEP10", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 35, 1, "HEP10", 2, 9, 6, 1, 3, 1, 11, 9, 4, 7, 15, 1}, + {"HE", 20, 35, 2, "HEP10", 2, 8, 7, 1, 3, 5, 11, 9, 4, 8, 15, 1}, + {"HE", 20, 35, 3, "HEP10", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 36, 1, "HEP10", 3, 9, 6, 1, 3, 1, 11, 9, 5, 5, 15, 0}, + {"HE", 20, 36, 2, "HEP10", 3, 8, 7, 1, 3, 5, 11, 9, 5, 6, 15, 0}, + {"HE", 20, 36, 3, "HEP10", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 37, 1, "HEP10", 4, 9, 6, 1, 3, 1, 11, 9, 5, 7, 15, 0}, + {"HE", 20, 37, 2, "HEP10", 4, 8, 7, 1, 3, 5, 11, 9, 5, 8, 15, 0}, + {"HE", 20, 37, 3, "HEP11", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 38, 1, "HEP11", 1, 9, 6, 1, 3, 1, 11, 9, 10, 5, 18, 1}, + {"HE", 20, 38, 2, "HEP11", 1, 8, 7, 1, 3, 5, 11, 9, 10, 6, 18, 1}, + {"HE", 20, 38, 3, "HEP11", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 39, 1, "HEP11", 2, 9, 6, 1, 3, 1, 11, 9, 10, 7, 18, 1}, + {"HE", 20, 39, 2, "HEP11", 2, 8, 7, 1, 3, 5, 11, 9, 10, 8, 18, 1}, + {"HE", 20, 39, 3, "HEP11", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 40, 1, "HEP11", 3, 9, 6, 1, 3, 1, 11, 9, 11, 5, 18, 0}, + {"HE", 20, 40, 2, "HEP11", 3, 8, 7, 1, 3, 5, 11, 9, 11, 6, 18, 0}, + {"HE", 20, 40, 3, "HEP11", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 41, 1, "HEP11", 4, 9, 6, 1, 3, 1, 11, 9, 11, 7, 18, 0}, + {"HE", 20, 41, 2, "HEP11", 4, 8, 7, 1, 3, 5, 11, 9, 11, 8, 18, 0}, + {"HE", 20, 41, 3, "HEP12", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 42, 1, "HEP12", 1, 9, 6, 1, 3, 1, 15, 11, 4, 5, 15, 1}, + {"HE", 20, 42, 2, "HEP12", 1, 8, 7, 1, 3, 5, 15, 11, 4, 6, 15, 1}, + {"HE", 20, 42, 3, "HEP12", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 43, 1, "HEP12", 2, 9, 6, 1, 3, 1, 15, 11, 4, 7, 15, 1}, + {"HE", 20, 43, 2, "HEP12", 2, 8, 7, 1, 3, 5, 15, 11, 4, 8, 15, 1}, + {"HE", 20, 43, 3, "HEP12", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 44, 1, "HEP12", 3, 9, 6, 1, 3, 1, 15, 11, 5, 5, 15, 0}, + {"HE", 20, 44, 2, "HEP12", 3, 8, 7, 1, 3, 5, 15, 11, 5, 6, 15, 0}, + {"HE", 20, 44, 3, "HEP12", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 45, 1, "HEP12", 4, 9, 6, 1, 3, 1, 15, 11, 5, 7, 15, 0}, + {"HE", 20, 45, 2, "HEP12", 4, 8, 7, 1, 3, 5, 15, 11, 5, 8, 15, 0}, + {"HE", 20, 45, 3, "HEP13", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 46, 1, "HEP13", 1, 9, 6, 1, 3, 1, 15, 11, 10, 5, 18, 1}, + {"HE", 20, 46, 2, "HEP13", 1, 8, 7, 1, 3, 5, 15, 11, 10, 6, 18, 1}, + {"HE", 20, 46, 3, "HEP13", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 47, 1, "HEP13", 2, 9, 6, 1, 3, 1, 15, 11, 10, 7, 18, 1}, + {"HE", 20, 47, 2, "HEP13", 2, 8, 7, 1, 3, 5, 15, 11, 10, 8, 18, 1}, + {"HE", 20, 47, 3, "HEP13", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 48, 1, "HEP13", 3, 9, 6, 1, 3, 1, 15, 11, 11, 5, 18, 0}, + {"HE", 20, 48, 2, "HEP13", 3, 8, 7, 1, 3, 5, 15, 11, 11, 6, 18, 0}, + {"HE", 20, 48, 3, "HEP13", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 49, 1, "HEP13", 4, 9, 6, 1, 3, 1, 15, 11, 11, 7, 18, 0}, + {"HE", 20, 49, 2, "HEP13", 4, 8, 7, 1, 3, 5, 15, 11, 11, 8, 18, 0}, + {"HE", 20, 49, 3, "HEP14", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 50, 1, "HEP14", 1, 9, 6, 1, 3, 1, 17, 13, 4, 5, 15, 1}, + {"HE", 20, 50, 2, "HEP14", 1, 8, 7, 1, 3, 5, 17, 13, 4, 6, 15, 1}, + {"HE", 20, 50, 3, "HEP14", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 51, 1, "HEP14", 2, 9, 6, 1, 3, 1, 17, 13, 4, 7, 15, 1}, + {"HE", 20, 51, 2, "HEP14", 2, 8, 7, 1, 3, 5, 17, 13, 4, 8, 15, 1}, + {"HE", 20, 51, 3, "HEP14", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 52, 1, "HEP14", 3, 9, 6, 1, 3, 1, 17, 13, 5, 5, 15, 0}, + {"HE", 20, 52, 2, "HEP14", 3, 8, 7, 1, 3, 5, 17, 13, 5, 6, 15, 0}, + {"HE", 20, 52, 3, "HEP14", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 53, 1, "HEP14", 4, 9, 6, 1, 3, 1, 17, 13, 5, 7, 15, 0}, + {"HE", 20, 53, 2, "HEP14", 4, 8, 7, 1, 3, 5, 17, 13, 5, 8, 15, 0}, + {"HE", 20, 53, 3, "HEP15", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 54, 1, "HEP15", 1, 9, 6, 1, 3, 1, 17, 13, 10, 5, 18, 1}, + {"HE", 20, 54, 2, "HEP15", 1, 8, 7, 1, 3, 5, 17, 13, 10, 6, 18, 1}, + {"HE", 20, 54, 3, "HEP15", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 55, 1, "HEP15", 2, 9, 6, 1, 3, 1, 17, 13, 10, 7, 18, 1}, + {"HE", 20, 55, 2, "HEP15", 2, 8, 7, 1, 3, 5, 17, 13, 10, 8, 18, 1}, + {"HE", 20, 55, 3, "HEP15", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 56, 1, "HEP15", 3, 9, 6, 1, 3, 1, 17, 13, 11, 5, 18, 0}, + {"HE", 20, 56, 2, "HEP15", 3, 8, 7, 1, 3, 5, 17, 13, 11, 6, 18, 0}, + {"HE", 20, 56, 3, "HEP15", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 57, 1, "HEP15", 4, 9, 6, 1, 3, 1, 17, 13, 11, 7, 18, 0}, + {"HE", 20, 57, 2, "HEP15", 4, 8, 7, 1, 3, 5, 17, 13, 11, 8, 18, 0}, + {"HE", 20, 57, 3, "HEP16", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 58, 1, "HEP16", 1, 9, 6, 1, 3, 1, 14, 15, 4, 5, 15, 1}, + {"HE", 20, 58, 2, "HEP16", 1, 8, 7, 1, 3, 5, 14, 15, 4, 6, 15, 1}, + {"HE", 20, 58, 3, "HEP16", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 59, 1, "HEP16", 2, 9, 6, 1, 3, 1, 14, 15, 4, 7, 15, 1}, + {"HE", 20, 59, 2, "HEP16", 2, 8, 7, 1, 3, 5, 14, 15, 4, 8, 15, 1}, + {"HE", 20, 59, 3, "HEP16", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 60, 1, "HEP16", 3, 9, 6, 1, 3, 1, 14, 15, 5, 5, 15, 0}, + {"HE", 20, 60, 2, "HEP16", 3, 8, 7, 1, 3, 5, 14, 15, 5, 6, 15, 0}, + {"HE", 20, 60, 3, "HEP16", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 61, 1, "HEP16", 4, 9, 6, 1, 3, 1, 14, 15, 5, 7, 15, 0}, + {"HE", 20, 61, 2, "HEP16", 4, 8, 7, 1, 3, 5, 14, 15, 5, 8, 15, 0}, + {"HE", 20, 61, 3, "HEP17", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 62, 1, "HEP17", 1, 9, 6, 1, 3, 1, 14, 15, 10, 5, 18, 1}, + {"HE", 20, 62, 2, "HEP17", 1, 8, 7, 1, 3, 5, 14, 15, 10, 6, 18, 1}, + {"HE", 20, 62, 3, "HEP17", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 63, 1, "HEP17", 2, 9, 6, 1, 3, 1, 14, 15, 10, 7, 18, 1}, + {"HE", 20, 63, 2, "HEP17", 2, 8, 7, 1, 3, 5, 14, 15, 10, 8, 18, 1}, + {"HE", 20, 63, 3, "HEP17", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 64, 1, "HEP17", 3, 9, 6, 1, 3, 1, 14, 15, 11, 5, 18, 0}, + {"HE", 20, 64, 2, "HEP17", 3, 8, 7, 1, 3, 5, 14, 15, 11, 6, 18, 0}, + {"HE", 20, 64, 3, "HEP17", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 65, 1, "HEP17", 4, 9, 6, 1, 3, 1, 14, 15, 11, 7, 18, 0}, + {"HE", 20, 65, 2, "HEP17", 4, 8, 7, 1, 3, 5, 14, 15, 11, 8, 18, 0}, + {"HE", 20, 65, 3, "HEP18", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 66, 1, "HEP18", 1, 9, 6, 1, 3, 1, 10, 17, 4, 5, 15, 1}, + {"HE", 20, 66, 2, "HEP18", 1, 8, 7, 1, 3, 5, 10, 17, 4, 6, 15, 1}, + {"HE", 20, 66, 3, "HEP18", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 67, 1, "HEP18", 2, 9, 6, 1, 3, 1, 10, 17, 4, 7, 15, 1}, + {"HE", 20, 67, 2, "HEP18", 2, 8, 7, 1, 3, 5, 10, 17, 4, 8, 15, 1}, + {"HE", 20, 67, 3, "HEP18", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 68, 1, "HEP18", 3, 9, 6, 1, 3, 1, 10, 17, 5, 5, 15, 0}, + {"HE", 20, 68, 2, "HEP18", 3, 8, 7, 1, 3, 5, 10, 17, 5, 6, 15, 0}, + {"HE", 20, 68, 3, "HEP18", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 69, 1, "HEP18", 4, 9, 6, 1, 3, 1, 10, 17, 5, 7, 15, 0}, + {"HE", 20, 69, 2, "HEP18", 4, 8, 7, 1, 3, 5, 10, 17, 5, 8, 15, 0}, + {"HE", 20, 69, 3, "HEP01", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 70, 1, "HEP01", 1, 9, 6, 1, 3, 1, 10, 17, 10, 5, 18, 1}, + {"HE", 20, 70, 2, "HEP01", 1, 8, 7, 1, 3, 5, 10, 17, 10, 6, 18, 1}, + {"HE", 20, 70, 3, "HEP01", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 20, 71, 1, "HEP01", 2, 9, 6, 1, 3, 1, 10, 17, 10, 7, 18, 1}, + {"HE", 20, 71, 2, "HEP01", 2, 8, 7, 1, 3, 5, 10, 17, 10, 8, 18, 1}, + {"HE", 20, 71, 3, "HEM01", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 0, 1, "HEP01", 3, 4, 7, 2, 3, 3, 10, 17, 11, 6, 18, 0}, + {"HE", 21, 0, 2, "HEP01", 3, 1, 6, 2, 3, 2, 10, 17, 11, 5, 18, 0}, + {"HE", 21, 0, 3, "HEP01", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 1, 1, "HEP02", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 1, 2, "HEP02", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 1, 3, "HEP02", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 2, 1, "HEP02", 2, 13, 7, 2, 3, 3, 4, 1, 4, 8, 15, 1}, + {"HE", 21, 2, 2, "HEP02", 2, 17, 6, 2, 3, 2, 4, 1, 4, 7, 15, 1}, + {"HE", 21, 2, 3, "HEP02", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 3, 1, "HEP02", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 3, 2, "HEP02", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 3, 3, "HEP02", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 4, 1, "HEP02", 3, 4, 7, 2, 3, 3, 4, 1, 5, 6, 15, 0}, + {"HE", 21, 4, 2, "HEP02", 3, 1, 6, 2, 3, 2, 4, 1, 5, 5, 15, 0}, + {"HE", 21, 4, 3, "HEP02", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 5, 1, "HEP03", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 5, 2, "HEP03", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 5, 3, "HEP03", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 6, 1, "HEP03", 2, 13, 7, 2, 3, 3, 4, 1, 10, 8, 18, 1}, + {"HE", 21, 6, 2, "HEP03", 2, 17, 6, 2, 3, 2, 4, 1, 10, 7, 18, 1}, + {"HE", 21, 6, 3, "HEP03", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 7, 1, "HEP03", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 7, 2, "HEP03", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 7, 3, "HEP03", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 8, 1, "HEP03", 3, 4, 7, 2, 3, 3, 4, 1, 11, 6, 18, 0}, + {"HE", 21, 8, 2, "HEP03", 3, 1, 6, 2, 3, 2, 4, 1, 11, 5, 18, 0}, + {"HE", 21, 8, 3, "HEP03", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 9, 1, "HEP04", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 9, 2, "HEP04", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 9, 3, "HEP04", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 10, 1, "HEP04", 2, 13, 7, 2, 3, 3, 0, 3, 4, 8, 15, 1}, + {"HE", 21, 10, 2, "HEP04", 2, 17, 6, 2, 3, 2, 0, 3, 4, 7, 15, 1}, + {"HE", 21, 10, 3, "HEP04", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 11, 1, "HEP04", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 11, 2, "HEP04", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 11, 3, "HEP04", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 12, 1, "HEP04", 3, 4, 7, 2, 3, 3, 0, 3, 5, 6, 15, 0}, + {"HE", 21, 12, 2, "HEP04", 3, 1, 6, 2, 3, 2, 0, 3, 5, 5, 15, 0}, + {"HE", 21, 12, 3, "HEP04", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 13, 1, "HEP05", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 13, 2, "HEP05", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 13, 3, "HEP05", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 14, 1, "HEP05", 2, 13, 7, 2, 3, 3, 0, 3, 10, 8, 18, 1}, + {"HE", 21, 14, 2, "HEP05", 2, 17, 6, 2, 3, 2, 0, 3, 10, 7, 18, 1}, + {"HE", 21, 14, 3, "HEP05", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 15, 1, "HEP05", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 15, 2, "HEP05", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 15, 3, "HEP05", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 16, 1, "HEP05", 3, 4, 7, 2, 3, 3, 0, 3, 11, 6, 18, 0}, + {"HE", 21, 16, 2, "HEP05", 3, 1, 6, 2, 3, 2, 0, 3, 11, 5, 18, 0}, + {"HE", 21, 16, 3, "HEP05", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 17, 1, "HEP06", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 17, 2, "HEP06", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 17, 3, "HEP06", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 18, 1, "HEP06", 2, 13, 7, 2, 3, 3, 1, 5, 4, 8, 15, 1}, + {"HE", 21, 18, 2, "HEP06", 2, 17, 6, 2, 3, 2, 1, 5, 4, 7, 15, 1}, + {"HE", 21, 18, 3, "HEP06", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 19, 1, "HEP06", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 19, 2, "HEP06", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 19, 3, "HEP06", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 20, 1, "HEP06", 3, 4, 7, 2, 3, 3, 1, 5, 5, 6, 15, 0}, + {"HE", 21, 20, 2, "HEP06", 3, 1, 6, 2, 3, 2, 1, 5, 5, 5, 15, 0}, + {"HE", 21, 20, 3, "HEP06", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 21, 1, "HEP07", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 21, 2, "HEP07", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 21, 3, "HEP07", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 22, 1, "HEP07", 2, 13, 7, 2, 3, 3, 1, 5, 10, 8, 18, 1}, + {"HE", 21, 22, 2, "HEP07", 2, 17, 6, 2, 3, 2, 1, 5, 10, 7, 18, 1}, + {"HE", 21, 22, 3, "HEP07", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 23, 1, "HEP07", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 23, 2, "HEP07", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 23, 3, "HEP07", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 24, 1, "HEP07", 3, 4, 7, 2, 3, 3, 1, 5, 11, 6, 18, 0}, + {"HE", 21, 24, 2, "HEP07", 3, 1, 6, 2, 3, 2, 1, 5, 11, 5, 18, 0}, + {"HE", 21, 24, 3, "HEP07", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 25, 1, "HEP08", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 25, 2, "HEP08", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 25, 3, "HEP08", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 26, 1, "HEP08", 2, 13, 7, 2, 3, 3, 5, 7, 4, 8, 15, 1}, + {"HE", 21, 26, 2, "HEP08", 2, 17, 6, 2, 3, 2, 5, 7, 4, 7, 15, 1}, + {"HE", 21, 26, 3, "HEP08", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 27, 1, "HEP08", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 27, 2, "HEP08", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 27, 3, "HEP08", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 28, 1, "HEP08", 3, 4, 7, 2, 3, 3, 5, 7, 5, 6, 15, 0}, + {"HE", 21, 28, 2, "HEP08", 3, 1, 6, 2, 3, 2, 5, 7, 5, 5, 15, 0}, + {"HE", 21, 28, 3, "HEP08", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 29, 1, "HEP09", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 29, 2, "HEP09", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 29, 3, "HEP09", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 30, 1, "HEP09", 2, 13, 7, 2, 3, 3, 5, 7, 10, 8, 18, 1}, + {"HE", 21, 30, 2, "HEP09", 2, 17, 6, 2, 3, 2, 5, 7, 10, 7, 18, 1}, + {"HE", 21, 30, 3, "HEP09", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 31, 1, "HEP09", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 31, 2, "HEP09", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 31, 3, "HEP09", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 32, 1, "HEP09", 3, 4, 7, 2, 3, 3, 5, 7, 11, 6, 18, 0}, + {"HE", 21, 32, 2, "HEP09", 3, 1, 6, 2, 3, 2, 5, 7, 11, 5, 18, 0}, + {"HE", 21, 32, 3, "HEP09", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 33, 1, "HEP10", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 33, 2, "HEP10", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 33, 3, "HEP10", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 34, 1, "HEP10", 2, 13, 7, 2, 3, 3, 11, 9, 4, 8, 15, 1}, + {"HE", 21, 34, 2, "HEP10", 2, 17, 6, 2, 3, 2, 11, 9, 4, 7, 15, 1}, + {"HE", 21, 34, 3, "HEP10", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 35, 1, "HEP10", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 35, 2, "HEP10", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 35, 3, "HEP10", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 36, 1, "HEP10", 3, 4, 7, 2, 3, 3, 11, 9, 5, 6, 15, 0}, + {"HE", 21, 36, 2, "HEP10", 3, 1, 6, 2, 3, 2, 11, 9, 5, 5, 15, 0}, + {"HE", 21, 36, 3, "HEP10", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 37, 1, "HEP11", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 37, 2, "HEP11", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 37, 3, "HEP11", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 38, 1, "HEP11", 2, 13, 7, 2, 3, 3, 11, 9, 10, 8, 18, 1}, + {"HE", 21, 38, 2, "HEP11", 2, 17, 6, 2, 3, 2, 11, 9, 10, 7, 18, 1}, + {"HE", 21, 38, 3, "HEP11", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 39, 1, "HEP11", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 39, 2, "HEP11", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 39, 3, "HEP11", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 40, 1, "HEP11", 3, 4, 7, 2, 3, 3, 11, 9, 11, 6, 18, 0}, + {"HE", 21, 40, 2, "HEP11", 3, 1, 6, 2, 3, 2, 11, 9, 11, 5, 18, 0}, + {"HE", 21, 40, 3, "HEP11", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 41, 1, "HEP12", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 41, 2, "HEP12", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 41, 3, "HEP12", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 42, 1, "HEP12", 2, 13, 7, 2, 3, 3, 15, 11, 4, 8, 15, 1}, + {"HE", 21, 42, 2, "HEP12", 2, 17, 6, 2, 3, 2, 15, 11, 4, 7, 15, 1}, + {"HE", 21, 42, 3, "HEP12", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 43, 1, "HEP12", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 43, 2, "HEP12", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 43, 3, "HEP12", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 44, 1, "HEP12", 3, 4, 7, 2, 3, 3, 15, 11, 5, 6, 15, 0}, + {"HE", 21, 44, 2, "HEP12", 3, 1, 6, 2, 3, 2, 15, 11, 5, 5, 15, 0}, + {"HE", 21, 44, 3, "HEP12", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 45, 1, "HEP13", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 45, 2, "HEP13", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 45, 3, "HEP13", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 46, 1, "HEP13", 2, 13, 7, 2, 3, 3, 15, 11, 10, 8, 18, 1}, + {"HE", 21, 46, 2, "HEP13", 2, 17, 6, 2, 3, 2, 15, 11, 10, 7, 18, 1}, + {"HE", 21, 46, 3, "HEP13", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 47, 1, "HEP13", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 47, 2, "HEP13", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 47, 3, "HEP13", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 48, 1, "HEP13", 3, 4, 7, 2, 3, 3, 15, 11, 11, 6, 18, 0}, + {"HE", 21, 48, 2, "HEP13", 3, 1, 6, 2, 3, 2, 15, 11, 11, 5, 18, 0}, + {"HE", 21, 48, 3, "HEP13", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 49, 1, "HEP14", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 49, 2, "HEP14", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 49, 3, "HEP14", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 50, 1, "HEP14", 2, 13, 7, 2, 3, 3, 17, 13, 4, 8, 15, 1}, + {"HE", 21, 50, 2, "HEP14", 2, 17, 6, 2, 3, 2, 17, 13, 4, 7, 15, 1}, + {"HE", 21, 50, 3, "HEP14", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 51, 1, "HEP14", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 51, 2, "HEP14", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 51, 3, "HEP14", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 52, 1, "HEP14", 3, 4, 7, 2, 3, 3, 17, 13, 5, 6, 15, 0}, + {"HE", 21, 52, 2, "HEP14", 3, 1, 6, 2, 3, 2, 17, 13, 5, 5, 15, 0}, + {"HE", 21, 52, 3, "HEP14", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 53, 1, "HEP15", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 53, 2, "HEP15", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 53, 3, "HEP15", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 54, 1, "HEP15", 2, 13, 7, 2, 3, 3, 17, 13, 10, 8, 18, 1}, + {"HE", 21, 54, 2, "HEP15", 2, 17, 6, 2, 3, 2, 17, 13, 10, 7, 18, 1}, + {"HE", 21, 54, 3, "HEP15", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 55, 1, "HEP15", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 55, 2, "HEP15", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 55, 3, "HEP15", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 56, 1, "HEP15", 3, 4, 7, 2, 3, 3, 17, 13, 11, 6, 18, 0}, + {"HE", 21, 56, 2, "HEP15", 3, 1, 6, 2, 3, 2, 17, 13, 11, 5, 18, 0}, + {"HE", 21, 56, 3, "HEP15", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 57, 1, "HEP16", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 57, 2, "HEP16", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 57, 3, "HEP16", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 58, 1, "HEP16", 2, 13, 7, 2, 3, 3, 14, 15, 4, 8, 15, 1}, + {"HE", 21, 58, 2, "HEP16", 2, 17, 6, 2, 3, 2, 14, 15, 4, 7, 15, 1}, + {"HE", 21, 58, 3, "HEP16", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 59, 1, "HEP16", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 59, 2, "HEP16", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 59, 3, "HEP16", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 60, 1, "HEP16", 3, 4, 7, 2, 3, 3, 14, 15, 5, 6, 15, 0}, + {"HE", 21, 60, 2, "HEP16", 3, 1, 6, 2, 3, 2, 14, 15, 5, 5, 15, 0}, + {"HE", 21, 60, 3, "HEP16", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 61, 1, "HEP17", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 61, 2, "HEP17", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 61, 3, "HEP17", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 62, 1, "HEP17", 2, 13, 7, 2, 3, 3, 14, 15, 10, 8, 18, 1}, + {"HE", 21, 62, 2, "HEP17", 2, 17, 6, 2, 3, 2, 14, 15, 10, 7, 18, 1}, + {"HE", 21, 62, 3, "HEP17", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 63, 1, "HEP17", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 63, 2, "HEP17", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 63, 3, "HEP17", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 64, 1, "HEP17", 3, 4, 7, 2, 3, 3, 14, 15, 11, 6, 18, 0}, + {"HE", 21, 64, 2, "HEP17", 3, 1, 6, 2, 3, 2, 14, 15, 11, 5, 18, 0}, + {"HE", 21, 64, 3, "HEP17", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 65, 1, "HEP18", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 65, 2, "HEP18", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 65, 3, "HEP18", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 66, 1, "HEP18", 2, 13, 7, 2, 3, 3, 10, 17, 4, 8, 15, 1}, + {"HE", 21, 66, 2, "HEP18", 2, 17, 6, 2, 3, 2, 10, 17, 4, 7, 15, 1}, + {"HE", 21, 66, 3, "HEP18", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 67, 1, "HEP18", 3, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 67, 2, "HEP18", 3, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 67, 3, "HEP18", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 68, 1, "HEP18", 3, 4, 7, 2, 3, 3, 10, 17, 5, 6, 15, 0}, + {"HE", 21, 68, 2, "HEP18", 3, 1, 6, 2, 3, 2, 10, 17, 5, 5, 15, 0}, + {"HE", 21, 68, 3, "HEP18", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 69, 1, "HEP01", 1, 16, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 69, 2, "HEP01", 1, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 69, 3, "HEP01", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 70, 1, "HEP01", 2, 13, 7, 2, 3, 3, 10, 17, 10, 8, 18, 1}, + {"HE", 21, 70, 2, "HEP01", 2, 17, 6, 2, 3, 2, 10, 17, 10, 7, 18, 1}, + {"HE", 21, 70, 3, "HEP01", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 71, 1, "HEM01", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 71, 2, "HEM01", 2, 12, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 21, 71, 3, "HEM01", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 0, 1, "HEP01", 4, 13, 7, 2, 3, 3, 10, 17, 11, 8, 18, 0}, + {"HE", 22, 0, 2, "HEP01", 4, 17, 6, 2, 3, 2, 10, 17, 11, 7, 18, 0}, + {"HE", 22, 0, 3, "HEP01", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 1, 1, "HEP02", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 1, 2, "HEP02", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 1, 3, "HEP02", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 2, 1, "HEP02", 1, 4, 7, 2, 3, 3, 4, 1, 4, 6, 15, 1}, + {"HE", 22, 2, 2, "HEP02", 1, 1, 6, 2, 3, 2, 4, 1, 4, 5, 15, 1}, + {"HE", 22, 2, 3, "HEP02", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 3, 1, "HEP02", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 3, 2, "HEP02", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 3, 3, "HEP02", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 4, 1, "HEP02", 4, 13, 7, 2, 3, 3, 4, 1, 5, 8, 15, 0}, + {"HE", 22, 4, 2, "HEP02", 4, 17, 6, 2, 3, 2, 4, 1, 5, 7, 15, 0}, + {"HE", 22, 4, 3, "HEP02", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 5, 1, "HEP03", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 5, 2, "HEP03", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 5, 3, "HEP03", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 6, 1, "HEP03", 1, 4, 7, 2, 3, 3, 4, 1, 10, 6, 18, 1}, + {"HE", 22, 6, 2, "HEP03", 1, 1, 6, 2, 3, 2, 4, 1, 10, 5, 18, 1}, + {"HE", 22, 6, 3, "HEP03", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 7, 1, "HEP03", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 7, 2, "HEP03", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 7, 3, "HEP03", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 8, 1, "HEP03", 4, 13, 7, 2, 3, 3, 4, 1, 11, 8, 18, 0}, + {"HE", 22, 8, 2, "HEP03", 4, 17, 6, 2, 3, 2, 4, 1, 11, 7, 18, 0}, + {"HE", 22, 8, 3, "HEP03", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 9, 1, "HEP04", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 9, 2, "HEP04", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 9, 3, "HEP04", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 10, 1, "HEP04", 1, 4, 7, 2, 3, 3, 0, 3, 4, 6, 15, 1}, + {"HE", 22, 10, 2, "HEP04", 1, 1, 6, 2, 3, 2, 0, 3, 4, 5, 15, 1}, + {"HE", 22, 10, 3, "HEP04", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 11, 1, "HEP04", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 11, 2, "HEP04", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 11, 3, "HEP04", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 12, 1, "HEP04", 4, 13, 7, 2, 3, 3, 0, 3, 5, 8, 15, 0}, + {"HE", 22, 12, 2, "HEP04", 4, 17, 6, 2, 3, 2, 0, 3, 5, 7, 15, 0}, + {"HE", 22, 12, 3, "HEP04", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 13, 1, "HEP05", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 13, 2, "HEP05", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 13, 3, "HEP05", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 14, 1, "HEP05", 1, 4, 7, 2, 3, 3, 0, 3, 10, 6, 18, 1}, + {"HE", 22, 14, 2, "HEP05", 1, 1, 6, 2, 3, 2, 0, 3, 10, 5, 18, 1}, + {"HE", 22, 14, 3, "HEP05", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 15, 1, "HEP05", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 15, 2, "HEP05", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 15, 3, "HEP05", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 16, 1, "HEP05", 4, 13, 7, 2, 3, 3, 0, 3, 11, 8, 18, 0}, + {"HE", 22, 16, 2, "HEP05", 4, 17, 6, 2, 3, 2, 0, 3, 11, 7, 18, 0}, + {"HE", 22, 16, 3, "HEP05", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 17, 1, "HEP06", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 17, 2, "HEP06", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 17, 3, "HEP06", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 18, 1, "HEP06", 1, 4, 7, 2, 3, 3, 1, 5, 4, 6, 15, 1}, + {"HE", 22, 18, 2, "HEP06", 1, 1, 6, 2, 3, 2, 1, 5, 4, 5, 15, 1}, + {"HE", 22, 18, 3, "HEP06", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 19, 1, "HEP06", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 19, 2, "HEP06", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 19, 3, "HEP06", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 20, 1, "HEP06", 4, 13, 7, 2, 3, 3, 1, 5, 5, 8, 15, 0}, + {"HE", 22, 20, 2, "HEP06", 4, 17, 6, 2, 3, 2, 1, 5, 5, 7, 15, 0}, + {"HE", 22, 20, 3, "HEP06", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 21, 1, "HEP07", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 21, 2, "HEP07", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 21, 3, "HEP07", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 22, 1, "HEP07", 1, 4, 7, 2, 3, 3, 1, 5, 10, 6, 18, 1}, + {"HE", 22, 22, 2, "HEP07", 1, 1, 6, 2, 3, 2, 1, 5, 10, 5, 18, 1}, + {"HE", 22, 22, 3, "HEP07", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 23, 1, "HEP07", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 23, 2, "HEP07", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 23, 3, "HEP07", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 24, 1, "HEP07", 4, 13, 7, 2, 3, 3, 1, 5, 11, 8, 18, 0}, + {"HE", 22, 24, 2, "HEP07", 4, 17, 6, 2, 3, 2, 1, 5, 11, 7, 18, 0}, + {"HE", 22, 24, 3, "HEP07", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 25, 1, "HEP08", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 25, 2, "HEP08", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 25, 3, "HEP08", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 26, 1, "HEP08", 1, 4, 7, 2, 3, 3, 5, 7, 4, 6, 15, 1}, + {"HE", 22, 26, 2, "HEP08", 1, 1, 6, 2, 3, 2, 5, 7, 4, 5, 15, 1}, + {"HE", 22, 26, 3, "HEP08", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 27, 1, "HEP08", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 27, 2, "HEP08", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 27, 3, "HEP08", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 28, 1, "HEP08", 4, 13, 7, 2, 3, 3, 5, 7, 5, 8, 15, 0}, + {"HE", 22, 28, 2, "HEP08", 4, 17, 6, 2, 3, 2, 5, 7, 5, 7, 15, 0}, + {"HE", 22, 28, 3, "HEP08", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 29, 1, "HEP09", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 29, 2, "HEP09", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 29, 3, "HEP09", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 30, 1, "HEP09", 1, 4, 7, 2, 3, 3, 5, 7, 10, 6, 18, 1}, + {"HE", 22, 30, 2, "HEP09", 1, 1, 6, 2, 3, 2, 5, 7, 10, 5, 18, 1}, + {"HE", 22, 30, 3, "HEP09", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 31, 1, "HEP09", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 31, 2, "HEP09", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 31, 3, "HEP09", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 32, 1, "HEP09", 4, 13, 7, 2, 3, 3, 5, 7, 11, 8, 18, 0}, + {"HE", 22, 32, 2, "HEP09", 4, 17, 6, 2, 3, 2, 5, 7, 11, 7, 18, 0}, + {"HE", 22, 32, 3, "HEP09", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 33, 1, "HEP10", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 33, 2, "HEP10", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 33, 3, "HEP10", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 34, 1, "HEP10", 1, 4, 7, 2, 3, 3, 11, 9, 4, 6, 15, 1}, + {"HE", 22, 34, 2, "HEP10", 1, 1, 6, 2, 3, 2, 11, 9, 4, 5, 15, 1}, + {"HE", 22, 34, 3, "HEP10", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 35, 1, "HEP10", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 35, 2, "HEP10", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 35, 3, "HEP10", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 36, 1, "HEP10", 4, 13, 7, 2, 3, 3, 11, 9, 5, 8, 15, 0}, + {"HE", 22, 36, 2, "HEP10", 4, 17, 6, 2, 3, 2, 11, 9, 5, 7, 15, 0}, + {"HE", 22, 36, 3, "HEP10", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 37, 1, "HEP11", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 37, 2, "HEP11", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 37, 3, "HEP11", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 38, 1, "HEP11", 1, 4, 7, 2, 3, 3, 11, 9, 10, 6, 18, 1}, + {"HE", 22, 38, 2, "HEP11", 1, 1, 6, 2, 3, 2, 11, 9, 10, 5, 18, 1}, + {"HE", 22, 38, 3, "HEP11", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 39, 1, "HEP11", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 39, 2, "HEP11", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 39, 3, "HEP11", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 40, 1, "HEP11", 4, 13, 7, 2, 3, 3, 11, 9, 11, 8, 18, 0}, + {"HE", 22, 40, 2, "HEP11", 4, 17, 6, 2, 3, 2, 11, 9, 11, 7, 18, 0}, + {"HE", 22, 40, 3, "HEP11", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 41, 1, "HEP12", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 41, 2, "HEP12", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 41, 3, "HEP12", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 42, 1, "HEP12", 1, 4, 7, 2, 3, 3, 15, 11, 4, 6, 15, 1}, + {"HE", 22, 42, 2, "HEP12", 1, 1, 6, 2, 3, 2, 15, 11, 4, 5, 15, 1}, + {"HE", 22, 42, 3, "HEP12", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 43, 1, "HEP12", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 43, 2, "HEP12", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 43, 3, "HEP12", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 44, 1, "HEP12", 4, 13, 7, 2, 3, 3, 15, 11, 5, 8, 15, 0}, + {"HE", 22, 44, 2, "HEP12", 4, 17, 6, 2, 3, 2, 15, 11, 5, 7, 15, 0}, + {"HE", 22, 44, 3, "HEP12", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 45, 1, "HEP13", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 45, 2, "HEP13", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 45, 3, "HEP13", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 46, 1, "HEP13", 1, 4, 7, 2, 3, 3, 15, 11, 10, 6, 18, 1}, + {"HE", 22, 46, 2, "HEP13", 1, 1, 6, 2, 3, 2, 15, 11, 10, 5, 18, 1}, + {"HE", 22, 46, 3, "HEP13", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 47, 1, "HEP13", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 47, 2, "HEP13", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 47, 3, "HEP13", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 48, 1, "HEP13", 4, 13, 7, 2, 3, 3, 15, 11, 11, 8, 18, 0}, + {"HE", 22, 48, 2, "HEP13", 4, 17, 6, 2, 3, 2, 15, 11, 11, 7, 18, 0}, + {"HE", 22, 48, 3, "HEP13", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 49, 1, "HEP14", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 49, 2, "HEP14", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 49, 3, "HEP14", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 50, 1, "HEP14", 1, 4, 7, 2, 3, 3, 17, 13, 4, 6, 15, 1}, + {"HE", 22, 50, 2, "HEP14", 1, 1, 6, 2, 3, 2, 17, 13, 4, 5, 15, 1}, + {"HE", 22, 50, 3, "HEP14", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 51, 1, "HEP14", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 51, 2, "HEP14", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 51, 3, "HEP14", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 52, 1, "HEP14", 4, 13, 7, 2, 3, 3, 17, 13, 5, 8, 15, 0}, + {"HE", 22, 52, 2, "HEP14", 4, 17, 6, 2, 3, 2, 17, 13, 5, 7, 15, 0}, + {"HE", 22, 52, 3, "HEP14", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 53, 1, "HEP15", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 53, 2, "HEP15", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 53, 3, "HEP15", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 54, 1, "HEP15", 1, 4, 7, 2, 3, 3, 17, 13, 10, 6, 18, 1}, + {"HE", 22, 54, 2, "HEP15", 1, 1, 6, 2, 3, 2, 17, 13, 10, 5, 18, 1}, + {"HE", 22, 54, 3, "HEP15", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 55, 1, "HEP15", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 55, 2, "HEP15", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 55, 3, "HEP15", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 56, 1, "HEP15", 4, 13, 7, 2, 3, 3, 17, 13, 11, 8, 18, 0}, + {"HE", 22, 56, 2, "HEP15", 4, 17, 6, 2, 3, 2, 17, 13, 11, 7, 18, 0}, + {"HE", 22, 56, 3, "HEP15", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 57, 1, "HEP16", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 57, 2, "HEP16", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 57, 3, "HEP16", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 58, 1, "HEP16", 1, 4, 7, 2, 3, 3, 14, 15, 4, 6, 15, 1}, + {"HE", 22, 58, 2, "HEP16", 1, 1, 6, 2, 3, 2, 14, 15, 4, 5, 15, 1}, + {"HE", 22, 58, 3, "HEP16", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 59, 1, "HEP16", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 59, 2, "HEP16", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 59, 3, "HEP16", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 60, 1, "HEP16", 4, 13, 7, 2, 3, 3, 14, 15, 5, 8, 15, 0}, + {"HE", 22, 60, 2, "HEP16", 4, 17, 6, 2, 3, 2, 14, 15, 5, 7, 15, 0}, + {"HE", 22, 60, 3, "HEP16", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 61, 1, "HEP17", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 61, 2, "HEP17", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 61, 3, "HEP17", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 62, 1, "HEP17", 1, 4, 7, 2, 3, 3, 14, 15, 10, 6, 18, 1}, + {"HE", 22, 62, 2, "HEP17", 1, 1, 6, 2, 3, 2, 14, 15, 10, 5, 18, 1}, + {"HE", 22, 62, 3, "HEP17", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 63, 1, "HEP17", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 63, 2, "HEP17", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 63, 3, "HEP17", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 64, 1, "HEP17", 4, 13, 7, 2, 3, 3, 14, 15, 11, 8, 18, 0}, + {"HE", 22, 64, 2, "HEP17", 4, 17, 6, 2, 3, 2, 14, 15, 11, 7, 18, 0}, + {"HE", 22, 64, 3, "HEP17", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 65, 1, "HEP18", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 65, 2, "HEP18", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 65, 3, "HEP18", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 66, 1, "HEP18", 1, 4, 7, 2, 3, 3, 10, 17, 4, 6, 15, 1}, + {"HE", 22, 66, 2, "HEP18", 1, 1, 6, 2, 3, 2, 10, 17, 4, 5, 15, 1}, + {"HE", 22, 66, 3, "HEP18", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 67, 1, "HEP18", 3, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 67, 2, "HEP18", 3, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 67, 3, "HEP18", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 68, 1, "HEP18", 4, 13, 7, 2, 3, 3, 10, 17, 5, 8, 15, 0}, + {"HE", 22, 68, 2, "HEP18", 4, 17, 6, 2, 3, 2, 10, 17, 5, 7, 15, 0}, + {"HE", 22, 68, 3, "HEP18", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 69, 1, "HEP01", 1, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 69, 2, "HEP01", 1, 19, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 69, 3, "HEP01", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 70, 1, "HEP01", 1, 4, 7, 2, 3, 3, 10, 17, 10, 6, 18, 1}, + {"HE", 22, 70, 2, "HEP01", 1, 1, 6, 2, 3, 2, 10, 17, 10, 5, 18, 1}, + {"HE", 22, 70, 3, "HEP01", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 71, 1, "HEM01", 2, 11, 3, 0, 1, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 71, 2, "HEM01", 2, 3, 3, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 22, 71, 3, "HEM01", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 0, 1, "HEP01", 3, 18, 5, 2, 2, 3, 10, 17, 11, 2, 18, 0}, + {"HE", 23, 0, 2, "HEP01", 3, 14, 5, 1, 2, 5, 10, 17, 11, 2, 18, 0}, + {"HE", 23, 0, 3, "HEP01", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 1, 1, "HEP02", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 1, 2, "HEP02", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 1, 3, "HEP02", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 2, 1, "HEP02", 2, 2, 5, 2, 2, 3, 4, 1, 4, 4, 15, 1}, + {"HE", 23, 2, 2, "HEP02", 2, 5, 5, 1, 2, 5, 4, 1, 4, 4, 15, 1}, + {"HE", 23, 2, 3, "HEP02", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 3, 1, "HEP02", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 3, 2, "HEP02", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 3, 3, "HEP02", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 4, 1, "HEP02", 3, 18, 5, 2, 2, 3, 4, 1, 5, 2, 15, 0}, + {"HE", 23, 4, 2, "HEP02", 3, 14, 5, 1, 2, 5, 4, 1, 5, 2, 15, 0}, + {"HE", 23, 4, 3, "HEP02", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 5, 1, "HEP03", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 5, 2, "HEP03", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 5, 3, "HEP03", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 6, 1, "HEP03", 2, 2, 5, 2, 2, 3, 4, 1, 10, 4, 18, 1}, + {"HE", 23, 6, 2, "HEP03", 2, 5, 5, 1, 2, 5, 4, 1, 10, 4, 18, 1}, + {"HE", 23, 6, 3, "HEP03", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 7, 1, "HEP03", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 7, 2, "HEP03", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 7, 3, "HEP03", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 8, 1, "HEP03", 3, 18, 5, 2, 2, 3, 4, 1, 11, 2, 18, 0}, + {"HE", 23, 8, 2, "HEP03", 3, 14, 5, 1, 2, 5, 4, 1, 11, 2, 18, 0}, + {"HE", 23, 8, 3, "HEP03", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 9, 1, "HEP04", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 9, 2, "HEP04", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 9, 3, "HEP04", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 10, 1, "HEP04", 2, 2, 5, 2, 2, 3, 0, 3, 4, 4, 15, 1}, + {"HE", 23, 10, 2, "HEP04", 2, 5, 5, 1, 2, 5, 0, 3, 4, 4, 15, 1}, + {"HE", 23, 10, 3, "HEP04", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 11, 1, "HEP04", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 11, 2, "HEP04", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 11, 3, "HEP04", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 12, 1, "HEP04", 3, 18, 5, 2, 2, 3, 0, 3, 5, 2, 15, 0}, + {"HE", 23, 12, 2, "HEP04", 3, 14, 5, 1, 2, 5, 0, 3, 5, 2, 15, 0}, + {"HE", 23, 12, 3, "HEP04", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 13, 1, "HEP05", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 13, 2, "HEP05", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 13, 3, "HEP05", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 14, 1, "HEP05", 2, 2, 5, 2, 2, 3, 0, 3, 10, 4, 18, 1}, + {"HE", 23, 14, 2, "HEP05", 2, 5, 5, 1, 2, 5, 0, 3, 10, 4, 18, 1}, + {"HE", 23, 14, 3, "HEP05", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 15, 1, "HEP05", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 15, 2, "HEP05", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 15, 3, "HEP05", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 16, 1, "HEP05", 3, 18, 5, 2, 2, 3, 0, 3, 11, 2, 18, 0}, + {"HE", 23, 16, 2, "HEP05", 3, 14, 5, 1, 2, 5, 0, 3, 11, 2, 18, 0}, + {"HE", 23, 16, 3, "HEP05", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 17, 1, "HEP06", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 17, 2, "HEP06", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 17, 3, "HEP06", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 18, 1, "HEP06", 2, 2, 5, 2, 2, 3, 1, 5, 4, 4, 15, 1}, + {"HE", 23, 18, 2, "HEP06", 2, 5, 5, 1, 2, 5, 1, 5, 4, 4, 15, 1}, + {"HE", 23, 18, 3, "HEP06", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 19, 1, "HEP06", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 19, 2, "HEP06", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 19, 3, "HEP06", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 20, 1, "HEP06", 3, 18, 5, 2, 2, 3, 1, 5, 5, 2, 15, 0}, + {"HE", 23, 20, 2, "HEP06", 3, 14, 5, 1, 2, 5, 1, 5, 5, 2, 15, 0}, + {"HE", 23, 20, 3, "HEP06", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 21, 1, "HEP07", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 21, 2, "HEP07", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 21, 3, "HEP07", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 22, 1, "HEP07", 2, 2, 5, 2, 2, 3, 1, 5, 10, 4, 18, 1}, + {"HE", 23, 22, 2, "HEP07", 2, 5, 5, 1, 2, 5, 1, 5, 10, 4, 18, 1}, + {"HE", 23, 22, 3, "HEP07", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 23, 1, "HEP07", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 23, 2, "HEP07", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 23, 3, "HEP07", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 24, 1, "HEP07", 3, 18, 5, 2, 2, 3, 1, 5, 11, 2, 18, 0}, + {"HE", 23, 24, 2, "HEP07", 3, 14, 5, 1, 2, 5, 1, 5, 11, 2, 18, 0}, + {"HE", 23, 24, 3, "HEP07", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 25, 1, "HEP08", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 25, 2, "HEP08", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 25, 3, "HEP08", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 26, 1, "HEP08", 2, 2, 5, 2, 2, 3, 5, 7, 4, 4, 15, 1}, + {"HE", 23, 26, 2, "HEP08", 2, 5, 5, 1, 2, 5, 5, 7, 4, 4, 15, 1}, + {"HE", 23, 26, 3, "HEP08", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 27, 1, "HEP08", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 27, 2, "HEP08", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 27, 3, "HEP08", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 28, 1, "HEP08", 3, 18, 5, 2, 2, 3, 5, 7, 5, 2, 15, 0}, + {"HE", 23, 28, 2, "HEP08", 3, 14, 5, 1, 2, 5, 5, 7, 5, 2, 15, 0}, + {"HE", 23, 28, 3, "HEP08", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 29, 1, "HEP09", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 29, 2, "HEP09", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 29, 3, "HEP09", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 30, 1, "HEP09", 2, 2, 5, 2, 2, 3, 5, 7, 10, 4, 18, 1}, + {"HE", 23, 30, 2, "HEP09", 2, 5, 5, 1, 2, 5, 5, 7, 10, 4, 18, 1}, + {"HE", 23, 30, 3, "HEP09", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 31, 1, "HEP09", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 31, 2, "HEP09", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 31, 3, "HEP09", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 32, 1, "HEP09", 3, 18, 5, 2, 2, 3, 5, 7, 11, 2, 18, 0}, + {"HE", 23, 32, 2, "HEP09", 3, 14, 5, 1, 2, 5, 5, 7, 11, 2, 18, 0}, + {"HE", 23, 32, 3, "HEP09", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 33, 1, "HEP10", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 33, 2, "HEP10", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 33, 3, "HEP10", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 34, 1, "HEP10", 2, 2, 5, 2, 2, 3, 11, 9, 4, 4, 15, 1}, + {"HE", 23, 34, 2, "HEP10", 2, 5, 5, 1, 2, 5, 11, 9, 4, 4, 15, 1}, + {"HE", 23, 34, 3, "HEP10", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 35, 1, "HEP10", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 35, 2, "HEP10", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 35, 3, "HEP10", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 36, 1, "HEP10", 3, 18, 5, 2, 2, 3, 11, 9, 5, 2, 15, 0}, + {"HE", 23, 36, 2, "HEP10", 3, 14, 5, 1, 2, 5, 11, 9, 5, 2, 15, 0}, + {"HE", 23, 36, 3, "HEP10", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 37, 1, "HEP11", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 37, 2, "HEP11", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 37, 3, "HEP11", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 38, 1, "HEP11", 2, 2, 5, 2, 2, 3, 11, 9, 10, 4, 18, 1}, + {"HE", 23, 38, 2, "HEP11", 2, 5, 5, 1, 2, 5, 11, 9, 10, 4, 18, 1}, + {"HE", 23, 38, 3, "HEP11", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 39, 1, "HEP11", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 39, 2, "HEP11", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 39, 3, "HEP11", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 40, 1, "HEP11", 3, 18, 5, 2, 2, 3, 11, 9, 11, 2, 18, 0}, + {"HE", 23, 40, 2, "HEP11", 3, 14, 5, 1, 2, 5, 11, 9, 11, 2, 18, 0}, + {"HE", 23, 40, 3, "HEP11", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 41, 1, "HEP12", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 41, 2, "HEP12", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 41, 3, "HEP12", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 42, 1, "HEP12", 2, 2, 5, 2, 2, 3, 15, 11, 4, 4, 15, 1}, + {"HE", 23, 42, 2, "HEP12", 2, 5, 5, 1, 2, 5, 15, 11, 4, 4, 15, 1}, + {"HE", 23, 42, 3, "HEP12", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 43, 1, "HEP12", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 43, 2, "HEP12", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 43, 3, "HEP12", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 44, 1, "HEP12", 3, 18, 5, 2, 2, 3, 15, 11, 5, 2, 15, 0}, + {"HE", 23, 44, 2, "HEP12", 3, 14, 5, 1, 2, 5, 15, 11, 5, 2, 15, 0}, + {"HE", 23, 44, 3, "HEP12", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 45, 1, "HEP13", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 45, 2, "HEP13", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 45, 3, "HEP13", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 46, 1, "HEP13", 2, 2, 5, 2, 2, 3, 15, 11, 10, 4, 18, 1}, + {"HE", 23, 46, 2, "HEP13", 2, 5, 5, 1, 2, 5, 15, 11, 10, 4, 18, 1}, + {"HE", 23, 46, 3, "HEP13", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 47, 1, "HEP13", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 47, 2, "HEP13", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 47, 3, "HEP13", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 48, 1, "HEP13", 3, 18, 5, 2, 2, 3, 15, 11, 11, 2, 18, 0}, + {"HE", 23, 48, 2, "HEP13", 3, 14, 5, 1, 2, 5, 15, 11, 11, 2, 18, 0}, + {"HE", 23, 48, 3, "HEP13", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 49, 1, "HEP14", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 49, 2, "HEP14", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 49, 3, "HEP14", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 50, 1, "HEP14", 2, 2, 5, 2, 2, 3, 17, 13, 4, 4, 15, 1}, + {"HE", 23, 50, 2, "HEP14", 2, 5, 5, 1, 2, 5, 17, 13, 4, 4, 15, 1}, + {"HE", 23, 50, 3, "HEP14", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 51, 1, "HEP14", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 51, 2, "HEP14", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 51, 3, "HEP14", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 52, 1, "HEP14", 3, 18, 5, 2, 2, 3, 17, 13, 5, 2, 15, 0}, + {"HE", 23, 52, 2, "HEP14", 3, 14, 5, 1, 2, 5, 17, 13, 5, 2, 15, 0}, + {"HE", 23, 52, 3, "HEP14", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 53, 1, "HEP15", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 53, 2, "HEP15", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 53, 3, "HEP15", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 54, 1, "HEP15", 2, 2, 5, 2, 2, 3, 17, 13, 10, 4, 18, 1}, + {"HE", 23, 54, 2, "HEP15", 2, 5, 5, 1, 2, 5, 17, 13, 10, 4, 18, 1}, + {"HE", 23, 54, 3, "HEP15", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 55, 1, "HEP15", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 55, 2, "HEP15", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 55, 3, "HEP15", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 56, 1, "HEP15", 3, 18, 5, 2, 2, 3, 17, 13, 11, 2, 18, 0}, + {"HE", 23, 56, 2, "HEP15", 3, 14, 5, 1, 2, 5, 17, 13, 11, 2, 18, 0}, + {"HE", 23, 56, 3, "HEP15", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 57, 1, "HEP16", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 57, 2, "HEP16", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 57, 3, "HEP16", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 58, 1, "HEP16", 2, 2, 5, 2, 2, 3, 14, 15, 4, 4, 15, 1}, + {"HE", 23, 58, 2, "HEP16", 2, 5, 5, 1, 2, 5, 14, 15, 4, 4, 15, 1}, + {"HE", 23, 58, 3, "HEP16", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 59, 1, "HEP16", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 59, 2, "HEP16", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 59, 3, "HEP16", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 60, 1, "HEP16", 3, 18, 5, 2, 2, 3, 14, 15, 5, 2, 15, 0}, + {"HE", 23, 60, 2, "HEP16", 3, 14, 5, 1, 2, 5, 14, 15, 5, 2, 15, 0}, + {"HE", 23, 60, 3, "HEP16", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 61, 1, "HEP17", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 61, 2, "HEP17", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 61, 3, "HEP17", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 62, 1, "HEP17", 2, 2, 5, 2, 2, 3, 14, 15, 10, 4, 18, 1}, + {"HE", 23, 62, 2, "HEP17", 2, 5, 5, 1, 2, 5, 14, 15, 10, 4, 18, 1}, + {"HE", 23, 62, 3, "HEP17", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 63, 1, "HEP17", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 63, 2, "HEP17", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 63, 3, "HEP17", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 64, 1, "HEP17", 3, 18, 5, 2, 2, 3, 14, 15, 11, 2, 18, 0}, + {"HE", 23, 64, 2, "HEP17", 3, 14, 5, 1, 2, 5, 14, 15, 11, 2, 18, 0}, + {"HE", 23, 64, 3, "HEP17", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 65, 1, "HEP18", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 65, 2, "HEP18", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 65, 3, "HEP18", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 66, 1, "HEP18", 2, 2, 5, 2, 2, 3, 10, 17, 4, 4, 15, 1}, + {"HE", 23, 66, 2, "HEP18", 2, 5, 5, 1, 2, 5, 10, 17, 4, 4, 15, 1}, + {"HE", 23, 66, 3, "HEP18", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 67, 1, "HEP18", 3, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 67, 2, "HEP18", 3, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 67, 3, "HEP18", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 68, 1, "HEP18", 3, 18, 5, 2, 2, 3, 10, 17, 5, 2, 15, 0}, + {"HE", 23, 68, 2, "HEP18", 3, 14, 5, 1, 2, 5, 10, 17, 5, 2, 15, 0}, + {"HE", 23, 68, 3, "HEP18", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 69, 1, "HEP01", 1, 13, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 69, 2, "HEP01", 1, 17, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 69, 3, "HEP01", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 70, 1, "HEP01", 2, 2, 5, 2, 2, 3, 10, 17, 10, 4, 18, 1}, + {"HE", 23, 70, 2, "HEP01", 2, 5, 5, 1, 2, 5, 10, 17, 10, 4, 18, 1}, + {"HE", 23, 70, 3, "HEP01", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 71, 1, "HEM01", 2, 4, 7, 0, 3, 4, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 71, 2, "HEM01", 2, 1, 6, 0, 3, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 23, 71, 3, "HEM01", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 0, 1, "HEP01", 4, 2, 5, 2, 2, 3, 10, 17, 11, 4, 18, 0}, + {"HE", 24, 0, 2, "HEP01", 4, 5, 5, 1, 2, 5, 10, 17, 11, 4, 18, 0}, + {"HE", 24, 0, 3, "HEP01", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 1, 1, "HEP02", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 1, 2, "HEP02", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 1, 3, "HEP02", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 2, 1, "HEP02", 1, 18, 5, 2, 2, 3, 4, 1, 4, 2, 15, 1}, + {"HE", 24, 2, 2, "HEP02", 1, 14, 5, 1, 2, 5, 4, 1, 4, 2, 15, 1}, + {"HE", 24, 2, 3, "HEP02", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 3, 1, "HEP02", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 3, 2, "HEP02", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 3, 3, "HEP02", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 4, 1, "HEP02", 4, 2, 5, 2, 2, 3, 4, 1, 5, 4, 15, 0}, + {"HE", 24, 4, 2, "HEP02", 4, 5, 5, 1, 2, 5, 4, 1, 5, 4, 15, 0}, + {"HE", 24, 4, 3, "HEP02", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 5, 1, "HEP03", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 5, 2, "HEP03", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 5, 3, "HEP03", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 6, 1, "HEP03", 1, 18, 5, 2, 2, 3, 4, 1, 10, 2, 18, 1}, + {"HE", 24, 6, 2, "HEP03", 1, 14, 5, 1, 2, 5, 4, 1, 10, 2, 18, 1}, + {"HE", 24, 6, 3, "HEP03", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 7, 1, "HEP03", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 7, 2, "HEP03", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 7, 3, "HEP03", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 8, 1, "HEP03", 4, 2, 5, 2, 2, 3, 4, 1, 11, 4, 18, 0}, + {"HE", 24, 8, 2, "HEP03", 4, 5, 5, 1, 2, 5, 4, 1, 11, 4, 18, 0}, + {"HE", 24, 8, 3, "HEP03", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 9, 1, "HEP04", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 9, 2, "HEP04", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 9, 3, "HEP04", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 10, 1, "HEP04", 1, 18, 5, 2, 2, 3, 0, 3, 4, 2, 15, 1}, + {"HE", 24, 10, 2, "HEP04", 1, 14, 5, 1, 2, 5, 0, 3, 4, 2, 15, 1}, + {"HE", 24, 10, 3, "HEP04", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 11, 1, "HEP04", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 11, 2, "HEP04", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 11, 3, "HEP04", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 12, 1, "HEP04", 4, 2, 5, 2, 2, 3, 0, 3, 5, 4, 15, 0}, + {"HE", 24, 12, 2, "HEP04", 4, 5, 5, 1, 2, 5, 0, 3, 5, 4, 15, 0}, + {"HE", 24, 12, 3, "HEP04", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 13, 1, "HEP05", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 13, 2, "HEP05", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 13, 3, "HEP05", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 14, 1, "HEP05", 1, 18, 5, 2, 2, 3, 0, 3, 10, 2, 18, 1}, + {"HE", 24, 14, 2, "HEP05", 1, 14, 5, 1, 2, 5, 0, 3, 10, 2, 18, 1}, + {"HE", 24, 14, 3, "HEP05", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 15, 1, "HEP05", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 15, 2, "HEP05", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 15, 3, "HEP05", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 16, 1, "HEP05", 4, 2, 5, 2, 2, 3, 0, 3, 11, 4, 18, 0}, + {"HE", 24, 16, 2, "HEP05", 4, 5, 5, 1, 2, 5, 0, 3, 11, 4, 18, 0}, + {"HE", 24, 16, 3, "HEP05", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 17, 1, "HEP06", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 17, 2, "HEP06", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 17, 3, "HEP06", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 18, 1, "HEP06", 1, 18, 5, 2, 2, 3, 1, 5, 4, 2, 15, 1}, + {"HE", 24, 18, 2, "HEP06", 1, 14, 5, 1, 2, 5, 1, 5, 4, 2, 15, 1}, + {"HE", 24, 18, 3, "HEP06", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 19, 1, "HEP06", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 19, 2, "HEP06", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 19, 3, "HEP06", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 20, 1, "HEP06", 4, 2, 5, 2, 2, 3, 1, 5, 5, 4, 15, 0}, + {"HE", 24, 20, 2, "HEP06", 4, 5, 5, 1, 2, 5, 1, 5, 5, 4, 15, 0}, + {"HE", 24, 20, 3, "HEP06", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 21, 1, "HEP07", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 21, 2, "HEP07", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 21, 3, "HEP07", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 22, 1, "HEP07", 1, 18, 5, 2, 2, 3, 1, 5, 10, 2, 18, 1}, + {"HE", 24, 22, 2, "HEP07", 1, 14, 5, 1, 2, 5, 1, 5, 10, 2, 18, 1}, + {"HE", 24, 22, 3, "HEP07", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 23, 1, "HEP07", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 23, 2, "HEP07", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 23, 3, "HEP07", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 24, 1, "HEP07", 4, 2, 5, 2, 2, 3, 1, 5, 11, 4, 18, 0}, + {"HE", 24, 24, 2, "HEP07", 4, 5, 5, 1, 2, 5, 1, 5, 11, 4, 18, 0}, + {"HE", 24, 24, 3, "HEP07", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 25, 1, "HEP08", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 25, 2, "HEP08", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 25, 3, "HEP08", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 26, 1, "HEP08", 1, 18, 5, 2, 2, 3, 5, 7, 4, 2, 15, 1}, + {"HE", 24, 26, 2, "HEP08", 1, 14, 5, 1, 2, 5, 5, 7, 4, 2, 15, 1}, + {"HE", 24, 26, 3, "HEP08", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 27, 1, "HEP08", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 27, 2, "HEP08", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 27, 3, "HEP08", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 28, 1, "HEP08", 4, 2, 5, 2, 2, 3, 5, 7, 5, 4, 15, 0}, + {"HE", 24, 28, 2, "HEP08", 4, 5, 5, 1, 2, 5, 5, 7, 5, 4, 15, 0}, + {"HE", 24, 28, 3, "HEP08", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 29, 1, "HEP09", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 29, 2, "HEP09", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 29, 3, "HEP09", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 30, 1, "HEP09", 1, 18, 5, 2, 2, 3, 5, 7, 10, 2, 18, 1}, + {"HE", 24, 30, 2, "HEP09", 1, 14, 5, 1, 2, 5, 5, 7, 10, 2, 18, 1}, + {"HE", 24, 30, 3, "HEP09", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 31, 1, "HEP09", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 31, 2, "HEP09", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 31, 3, "HEP09", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 32, 1, "HEP09", 4, 2, 5, 2, 2, 3, 5, 7, 11, 4, 18, 0}, + {"HE", 24, 32, 2, "HEP09", 4, 5, 5, 1, 2, 5, 5, 7, 11, 4, 18, 0}, + {"HE", 24, 32, 3, "HEP09", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 33, 1, "HEP10", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 33, 2, "HEP10", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 33, 3, "HEP10", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 34, 1, "HEP10", 1, 18, 5, 2, 2, 3, 11, 9, 4, 2, 15, 1}, + {"HE", 24, 34, 2, "HEP10", 1, 14, 5, 1, 2, 5, 11, 9, 4, 2, 15, 1}, + {"HE", 24, 34, 3, "HEP10", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 35, 1, "HEP10", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 35, 2, "HEP10", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 35, 3, "HEP10", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 36, 1, "HEP10", 4, 2, 5, 2, 2, 3, 11, 9, 5, 4, 15, 0}, + {"HE", 24, 36, 2, "HEP10", 4, 5, 5, 1, 2, 5, 11, 9, 5, 4, 15, 0}, + {"HE", 24, 36, 3, "HEP10", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 37, 1, "HEP11", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 37, 2, "HEP11", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 37, 3, "HEP11", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 38, 1, "HEP11", 1, 18, 5, 2, 2, 3, 11, 9, 10, 2, 18, 1}, + {"HE", 24, 38, 2, "HEP11", 1, 14, 5, 1, 2, 5, 11, 9, 10, 2, 18, 1}, + {"HE", 24, 38, 3, "HEP11", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 39, 1, "HEP11", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 39, 2, "HEP11", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 39, 3, "HEP11", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 40, 1, "HEP11", 4, 2, 5, 2, 2, 3, 11, 9, 11, 4, 18, 0}, + {"HE", 24, 40, 2, "HEP11", 4, 5, 5, 1, 2, 5, 11, 9, 11, 4, 18, 0}, + {"HE", 24, 40, 3, "HEP11", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 41, 1, "HEP12", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 41, 2, "HEP12", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 41, 3, "HEP12", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 42, 1, "HEP12", 1, 18, 5, 2, 2, 3, 15, 11, 4, 2, 15, 1}, + {"HE", 24, 42, 2, "HEP12", 1, 14, 5, 1, 2, 5, 15, 11, 4, 2, 15, 1}, + {"HE", 24, 42, 3, "HEP12", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 43, 1, "HEP12", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 43, 2, "HEP12", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 43, 3, "HEP12", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 44, 1, "HEP12", 4, 2, 5, 2, 2, 3, 15, 11, 5, 4, 15, 0}, + {"HE", 24, 44, 2, "HEP12", 4, 5, 5, 1, 2, 5, 15, 11, 5, 4, 15, 0}, + {"HE", 24, 44, 3, "HEP12", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 45, 1, "HEP13", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 45, 2, "HEP13", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 45, 3, "HEP13", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 46, 1, "HEP13", 1, 18, 5, 2, 2, 3, 15, 11, 10, 2, 18, 1}, + {"HE", 24, 46, 2, "HEP13", 1, 14, 5, 1, 2, 5, 15, 11, 10, 2, 18, 1}, + {"HE", 24, 46, 3, "HEP13", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 47, 1, "HEP13", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 47, 2, "HEP13", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 47, 3, "HEP13", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 48, 1, "HEP13", 4, 2, 5, 2, 2, 3, 15, 11, 11, 4, 18, 0}, + {"HE", 24, 48, 2, "HEP13", 4, 5, 5, 1, 2, 5, 15, 11, 11, 4, 18, 0}, + {"HE", 24, 48, 3, "HEP13", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 49, 1, "HEP14", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 49, 2, "HEP14", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 49, 3, "HEP14", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 50, 1, "HEP14", 1, 18, 5, 2, 2, 3, 17, 13, 4, 2, 15, 1}, + {"HE", 24, 50, 2, "HEP14", 1, 14, 5, 1, 2, 5, 17, 13, 4, 2, 15, 1}, + {"HE", 24, 50, 3, "HEP14", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 51, 1, "HEP14", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 51, 2, "HEP14", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 51, 3, "HEP14", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 52, 1, "HEP14", 4, 2, 5, 2, 2, 3, 17, 13, 5, 4, 15, 0}, + {"HE", 24, 52, 2, "HEP14", 4, 5, 5, 1, 2, 5, 17, 13, 5, 4, 15, 0}, + {"HE", 24, 52, 3, "HEP14", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 53, 1, "HEP15", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 53, 2, "HEP15", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 53, 3, "HEP15", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 54, 1, "HEP15", 1, 18, 5, 2, 2, 3, 17, 13, 10, 2, 18, 1}, + {"HE", 24, 54, 2, "HEP15", 1, 14, 5, 1, 2, 5, 17, 13, 10, 2, 18, 1}, + {"HE", 24, 54, 3, "HEP15", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 55, 1, "HEP15", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 55, 2, "HEP15", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 55, 3, "HEP15", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 56, 1, "HEP15", 4, 2, 5, 2, 2, 3, 17, 13, 11, 4, 18, 0}, + {"HE", 24, 56, 2, "HEP15", 4, 5, 5, 1, 2, 5, 17, 13, 11, 4, 18, 0}, + {"HE", 24, 56, 3, "HEP15", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 57, 1, "HEP16", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 57, 2, "HEP16", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 57, 3, "HEP16", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 58, 1, "HEP16", 1, 18, 5, 2, 2, 3, 14, 15, 4, 2, 15, 1}, + {"HE", 24, 58, 2, "HEP16", 1, 14, 5, 1, 2, 5, 14, 15, 4, 2, 15, 1}, + {"HE", 24, 58, 3, "HEP16", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 59, 1, "HEP16", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 59, 2, "HEP16", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 59, 3, "HEP16", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 60, 1, "HEP16", 4, 2, 5, 2, 2, 3, 14, 15, 5, 4, 15, 0}, + {"HE", 24, 60, 2, "HEP16", 4, 5, 5, 1, 2, 5, 14, 15, 5, 4, 15, 0}, + {"HE", 24, 60, 3, "HEP16", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 61, 1, "HEP17", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 61, 2, "HEP17", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 61, 3, "HEP17", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 62, 1, "HEP17", 1, 18, 5, 2, 2, 3, 14, 15, 10, 2, 18, 1}, + {"HE", 24, 62, 2, "HEP17", 1, 14, 5, 1, 2, 5, 14, 15, 10, 2, 18, 1}, + {"HE", 24, 62, 3, "HEP17", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 63, 1, "HEP17", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 63, 2, "HEP17", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 63, 3, "HEP17", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 64, 1, "HEP17", 4, 2, 5, 2, 2, 3, 14, 15, 11, 4, 18, 0}, + {"HE", 24, 64, 2, "HEP17", 4, 5, 5, 1, 2, 5, 14, 15, 11, 4, 18, 0}, + {"HE", 24, 64, 3, "HEP17", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 65, 1, "HEP18", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 65, 2, "HEP18", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 65, 3, "HEP18", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 66, 1, "HEP18", 1, 18, 5, 2, 2, 3, 10, 17, 4, 2, 15, 1}, + {"HE", 24, 66, 2, "HEP18", 1, 14, 5, 1, 2, 5, 10, 17, 4, 2, 15, 1}, + {"HE", 24, 66, 3, "HEP18", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 67, 1, "HEP18", 3, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 67, 2, "HEP18", 3, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 67, 3, "HEP18", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 68, 1, "HEP18", 4, 2, 5, 2, 2, 3, 10, 17, 5, 4, 15, 0}, + {"HE", 24, 68, 2, "HEP18", 4, 5, 5, 1, 2, 5, 10, 17, 5, 4, 15, 0}, + {"HE", 24, 68, 3, "HEP18", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 69, 1, "HEP01", 1, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 69, 2, "HEP01", 1, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 69, 3, "HEP01", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 70, 1, "HEP01", 1, 18, 5, 2, 2, 3, 10, 17, 10, 2, 18, 1}, + {"HE", 24, 70, 2, "HEP01", 1, 14, 5, 1, 2, 5, 10, 17, 10, 2, 18, 1}, + {"HE", 24, 70, 3, "HEP01", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 71, 1, "HEM01", 2, 9, 6, 1, 3, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 71, 2, "HEM01", 2, 8, 7, 1, 3, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 24, 71, 3, "HEM01", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 0, 1, "HEP01", 3, 7, 2, 2, 1, 2, 10, 17, 9, 5, 17, 0}, + {"HE", 25, 0, 2, "HEP01", 3, 3, 3, 2, 1, 3, 10, 17, 9, 6, 17, 0}, + {"HE", 25, 0, 3, "HEP01", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 1, 1, "HEP02", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 1, 2, "HEP02", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 1, 3, "HEP02", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 2, 1, "HEP02", 2, 16, 2, 2, 1, 2, 4, 1, 2, 7, 14, 1}, + {"HE", 25, 2, 2, "HEP02", 2, 19, 3, 2, 1, 3, 4, 1, 2, 8, 14, 1}, + {"HE", 25, 2, 3, "HEP02", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 3, 1, "HEP02", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 3, 2, "HEP02", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 3, 3, "HEP02", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 4, 1, "HEP02", 3, 7, 2, 2, 1, 2, 4, 1, 3, 5, 14, 0}, + {"HE", 25, 4, 2, "HEP02", 3, 3, 3, 2, 1, 3, 4, 1, 3, 6, 14, 0}, + {"HE", 25, 4, 3, "HEP02", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 5, 1, "HEP03", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 5, 2, "HEP03", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 5, 3, "HEP03", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 6, 1, "HEP03", 2, 16, 2, 2, 1, 2, 4, 1, 8, 7, 17, 1}, + {"HE", 25, 6, 2, "HEP03", 2, 19, 3, 2, 1, 3, 4, 1, 8, 8, 17, 1}, + {"HE", 25, 6, 3, "HEP03", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 7, 1, "HEP03", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 7, 2, "HEP03", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 7, 3, "HEP03", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 8, 1, "HEP03", 3, 7, 2, 2, 1, 2, 4, 1, 9, 5, 17, 0}, + {"HE", 25, 8, 2, "HEP03", 3, 3, 3, 2, 1, 3, 4, 1, 9, 6, 17, 0}, + {"HE", 25, 8, 3, "HEP03", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 9, 1, "HEP04", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 9, 2, "HEP04", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 9, 3, "HEP04", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 10, 1, "HEP04", 2, 16, 2, 2, 1, 2, 0, 3, 2, 7, 14, 1}, + {"HE", 25, 10, 2, "HEP04", 2, 19, 3, 2, 1, 3, 0, 3, 2, 8, 14, 1}, + {"HE", 25, 10, 3, "HEP04", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 11, 1, "HEP04", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 11, 2, "HEP04", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 11, 3, "HEP04", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 12, 1, "HEP04", 3, 7, 2, 2, 1, 2, 0, 3, 3, 5, 14, 0}, + {"HE", 25, 12, 2, "HEP04", 3, 3, 3, 2, 1, 3, 0, 3, 3, 6, 14, 0}, + {"HE", 25, 12, 3, "HEP04", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 13, 1, "HEP05", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 13, 2, "HEP05", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 13, 3, "HEP05", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 14, 1, "HEP05", 2, 16, 2, 2, 1, 2, 0, 3, 8, 7, 17, 1}, + {"HE", 25, 14, 2, "HEP05", 2, 19, 3, 2, 1, 3, 0, 3, 8, 8, 17, 1}, + {"HE", 25, 14, 3, "HEP05", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 15, 1, "HEP05", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 15, 2, "HEP05", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 15, 3, "HEP05", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 16, 1, "HEP05", 3, 7, 2, 2, 1, 2, 0, 3, 9, 5, 17, 0}, + {"HE", 25, 16, 2, "HEP05", 3, 3, 3, 2, 1, 3, 0, 3, 9, 6, 17, 0}, + {"HE", 25, 16, 3, "HEP05", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 17, 1, "HEP06", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 17, 2, "HEP06", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 17, 3, "HEP06", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 18, 1, "HEP06", 2, 16, 2, 2, 1, 2, 1, 5, 2, 7, 14, 1}, + {"HE", 25, 18, 2, "HEP06", 2, 19, 3, 2, 1, 3, 1, 5, 2, 8, 14, 1}, + {"HE", 25, 18, 3, "HEP06", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 19, 1, "HEP06", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 19, 2, "HEP06", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 19, 3, "HEP06", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 20, 1, "HEP06", 3, 7, 2, 2, 1, 2, 1, 5, 3, 5, 14, 0}, + {"HE", 25, 20, 2, "HEP06", 3, 3, 3, 2, 1, 3, 1, 5, 3, 6, 14, 0}, + {"HE", 25, 20, 3, "HEP06", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 21, 1, "HEP07", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 21, 2, "HEP07", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 21, 3, "HEP07", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 22, 1, "HEP07", 2, 16, 2, 2, 1, 2, 1, 5, 8, 7, 17, 1}, + {"HE", 25, 22, 2, "HEP07", 2, 19, 3, 2, 1, 3, 1, 5, 8, 8, 17, 1}, + {"HE", 25, 22, 3, "HEP07", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 23, 1, "HEP07", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 23, 2, "HEP07", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 23, 3, "HEP07", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 24, 1, "HEP07", 3, 7, 2, 2, 1, 2, 1, 5, 9, 5, 17, 0}, + {"HE", 25, 24, 2, "HEP07", 3, 3, 3, 2, 1, 3, 1, 5, 9, 6, 17, 0}, + {"HE", 25, 24, 3, "HEP07", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 25, 1, "HEP08", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 25, 2, "HEP08", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 25, 3, "HEP08", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 26, 1, "HEP08", 2, 16, 2, 2, 1, 2, 5, 7, 2, 7, 14, 1}, + {"HE", 25, 26, 2, "HEP08", 2, 19, 3, 2, 1, 3, 5, 7, 2, 8, 14, 1}, + {"HE", 25, 26, 3, "HEP08", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 27, 1, "HEP08", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 27, 2, "HEP08", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 27, 3, "HEP08", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 28, 1, "HEP08", 3, 7, 2, 2, 1, 2, 5, 7, 3, 5, 14, 0}, + {"HE", 25, 28, 2, "HEP08", 3, 3, 3, 2, 1, 3, 5, 7, 3, 6, 14, 0}, + {"HE", 25, 28, 3, "HEP08", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 29, 1, "HEP09", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 29, 2, "HEP09", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 29, 3, "HEP09", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 30, 1, "HEP09", 2, 16, 2, 2, 1, 2, 5, 7, 8, 7, 17, 1}, + {"HE", 25, 30, 2, "HEP09", 2, 19, 3, 2, 1, 3, 5, 7, 8, 8, 17, 1}, + {"HE", 25, 30, 3, "HEP09", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 31, 1, "HEP09", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 31, 2, "HEP09", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 31, 3, "HEP09", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 32, 1, "HEP09", 3, 7, 2, 2, 1, 2, 5, 7, 9, 5, 17, 0}, + {"HE", 25, 32, 2, "HEP09", 3, 3, 3, 2, 1, 3, 5, 7, 9, 6, 17, 0}, + {"HE", 25, 32, 3, "HEP09", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 33, 1, "HEP10", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 33, 2, "HEP10", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 33, 3, "HEP10", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 34, 1, "HEP10", 2, 16, 2, 2, 1, 2, 11, 9, 2, 7, 14, 1}, + {"HE", 25, 34, 2, "HEP10", 2, 19, 3, 2, 1, 3, 11, 9, 2, 8, 14, 1}, + {"HE", 25, 34, 3, "HEP10", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 35, 1, "HEP10", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 35, 2, "HEP10", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 35, 3, "HEP10", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 36, 1, "HEP10", 3, 7, 2, 2, 1, 2, 11, 9, 3, 5, 14, 0}, + {"HE", 25, 36, 2, "HEP10", 3, 3, 3, 2, 1, 3, 11, 9, 3, 6, 14, 0}, + {"HE", 25, 36, 3, "HEP10", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 37, 1, "HEP11", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 37, 2, "HEP11", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 37, 3, "HEP11", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 38, 1, "HEP11", 2, 16, 2, 2, 1, 2, 11, 9, 8, 7, 17, 1}, + {"HE", 25, 38, 2, "HEP11", 2, 19, 3, 2, 1, 3, 11, 9, 8, 8, 17, 1}, + {"HE", 25, 38, 3, "HEP11", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 39, 1, "HEP11", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 39, 2, "HEP11", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 39, 3, "HEP11", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 40, 1, "HEP11", 3, 7, 2, 2, 1, 2, 11, 9, 9, 5, 17, 0}, + {"HE", 25, 40, 2, "HEP11", 3, 3, 3, 2, 1, 3, 11, 9, 9, 6, 17, 0}, + {"HE", 25, 40, 3, "HEP11", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 41, 1, "HEP12", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 41, 2, "HEP12", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 41, 3, "HEP12", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 42, 1, "HEP12", 2, 16, 2, 2, 1, 2, 15, 11, 2, 7, 14, 1}, + {"HE", 25, 42, 2, "HEP12", 2, 19, 3, 2, 1, 3, 15, 11, 2, 8, 14, 1}, + {"HE", 25, 42, 3, "HEP12", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 43, 1, "HEP12", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 43, 2, "HEP12", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 43, 3, "HEP12", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 44, 1, "HEP12", 3, 7, 2, 2, 1, 2, 15, 11, 3, 5, 14, 0}, + {"HE", 25, 44, 2, "HEP12", 3, 3, 3, 2, 1, 3, 15, 11, 3, 6, 14, 0}, + {"HE", 25, 44, 3, "HEP12", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 45, 1, "HEP13", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 45, 2, "HEP13", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 45, 3, "HEP13", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 46, 1, "HEP13", 2, 16, 2, 2, 1, 2, 15, 11, 8, 7, 17, 1}, + {"HE", 25, 46, 2, "HEP13", 2, 19, 3, 2, 1, 3, 15, 11, 8, 8, 17, 1}, + {"HE", 25, 46, 3, "HEP13", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 47, 1, "HEP13", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 47, 2, "HEP13", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 47, 3, "HEP13", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 48, 1, "HEP13", 3, 7, 2, 2, 1, 2, 15, 11, 9, 5, 17, 0}, + {"HE", 25, 48, 2, "HEP13", 3, 3, 3, 2, 1, 3, 15, 11, 9, 6, 17, 0}, + {"HE", 25, 48, 3, "HEP13", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 49, 1, "HEP14", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 49, 2, "HEP14", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 49, 3, "HEP14", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 50, 1, "HEP14", 2, 16, 2, 2, 1, 2, 17, 13, 2, 7, 14, 1}, + {"HE", 25, 50, 2, "HEP14", 2, 19, 3, 2, 1, 3, 17, 13, 2, 8, 14, 1}, + {"HE", 25, 50, 3, "HEP14", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 51, 1, "HEP14", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 51, 2, "HEP14", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 51, 3, "HEP14", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 52, 1, "HEP14", 3, 7, 2, 2, 1, 2, 17, 13, 3, 5, 14, 0}, + {"HE", 25, 52, 2, "HEP14", 3, 3, 3, 2, 1, 3, 17, 13, 3, 6, 14, 0}, + {"HE", 25, 52, 3, "HEP14", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 53, 1, "HEP15", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 53, 2, "HEP15", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 53, 3, "HEP15", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 54, 1, "HEP15", 2, 16, 2, 2, 1, 2, 17, 13, 8, 7, 17, 1}, + {"HE", 25, 54, 2, "HEP15", 2, 19, 3, 2, 1, 3, 17, 13, 8, 8, 17, 1}, + {"HE", 25, 54, 3, "HEP15", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 55, 1, "HEP15", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 55, 2, "HEP15", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 55, 3, "HEP15", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 56, 1, "HEP15", 3, 7, 2, 2, 1, 2, 17, 13, 9, 5, 17, 0}, + {"HE", 25, 56, 2, "HEP15", 3, 3, 3, 2, 1, 3, 17, 13, 9, 6, 17, 0}, + {"HE", 25, 56, 3, "HEP15", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 57, 1, "HEP16", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 57, 2, "HEP16", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 57, 3, "HEP16", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 58, 1, "HEP16", 2, 16, 2, 2, 1, 2, 14, 15, 2, 7, 14, 1}, + {"HE", 25, 58, 2, "HEP16", 2, 19, 3, 2, 1, 3, 14, 15, 2, 8, 14, 1}, + {"HE", 25, 58, 3, "HEP16", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 59, 1, "HEP16", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 59, 2, "HEP16", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 59, 3, "HEP16", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 60, 1, "HEP16", 3, 7, 2, 2, 1, 2, 14, 15, 3, 5, 14, 0}, + {"HE", 25, 60, 2, "HEP16", 3, 3, 3, 2, 1, 3, 14, 15, 3, 6, 14, 0}, + {"HE", 25, 60, 3, "HEP16", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 61, 1, "HEP17", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 61, 2, "HEP17", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 61, 3, "HEP17", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 62, 1, "HEP17", 2, 16, 2, 2, 1, 2, 14, 15, 8, 7, 17, 1}, + {"HE", 25, 62, 2, "HEP17", 2, 19, 3, 2, 1, 3, 14, 15, 8, 8, 17, 1}, + {"HE", 25, 62, 3, "HEP17", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 63, 1, "HEP17", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 63, 2, "HEP17", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 63, 3, "HEP17", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 64, 1, "HEP17", 3, 7, 2, 2, 1, 2, 14, 15, 9, 5, 17, 0}, + {"HE", 25, 64, 2, "HEP17", 3, 3, 3, 2, 1, 3, 14, 15, 9, 6, 17, 0}, + {"HE", 25, 64, 3, "HEP17", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 65, 1, "HEP18", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 65, 2, "HEP18", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 65, 3, "HEP18", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 66, 1, "HEP18", 2, 16, 2, 2, 1, 2, 10, 17, 2, 7, 14, 1}, + {"HE", 25, 66, 2, "HEP18", 2, 19, 3, 2, 1, 3, 10, 17, 2, 8, 14, 1}, + {"HE", 25, 66, 3, "HEP18", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 67, 1, "HEP18", 3, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 67, 2, "HEP18", 3, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 67, 3, "HEP18", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 68, 1, "HEP18", 3, 7, 2, 2, 1, 2, 10, 17, 3, 5, 14, 0}, + {"HE", 25, 68, 2, "HEP18", 3, 3, 3, 2, 1, 3, 10, 17, 3, 6, 14, 0}, + {"HE", 25, 68, 3, "HEP18", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 69, 1, "HEP01", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 69, 2, "HEP01", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 69, 3, "HEP01", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 70, 1, "HEP01", 2, 16, 2, 2, 1, 2, 10, 17, 8, 7, 17, 1}, + {"HE", 25, 70, 2, "HEP01", 2, 19, 3, 2, 1, 3, 10, 17, 8, 8, 17, 1}, + {"HE", 25, 70, 3, "HEP01", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 71, 1, "HEM01", 2, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 71, 2, "HEM01", 2, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 25, 71, 3, "HEM01", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 0, 1, "HEP01", 4, 16, 2, 2, 1, 2, 10, 17, 9, 7, 17, 0}, + {"HE", 26, 0, 2, "HEP01", 4, 19, 3, 2, 1, 3, 10, 17, 9, 8, 17, 0}, + {"HE", 26, 0, 3, "HEP01", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 1, 1, "HEP02", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 1, 2, "HEP02", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 1, 3, "HEP02", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 2, 1, "HEP02", 1, 7, 2, 2, 1, 2, 4, 1, 2, 5, 14, 1}, + {"HE", 26, 2, 2, "HEP02", 1, 3, 3, 2, 1, 3, 4, 1, 2, 6, 14, 1}, + {"HE", 26, 2, 3, "HEP02", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 3, 1, "HEP02", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 3, 2, "HEP02", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 3, 3, "HEP02", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 4, 1, "HEP02", 4, 16, 2, 2, 1, 2, 4, 1, 3, 7, 14, 0}, + {"HE", 26, 4, 2, "HEP02", 4, 19, 3, 2, 1, 3, 4, 1, 3, 8, 14, 0}, + {"HE", 26, 4, 3, "HEP02", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 5, 1, "HEP03", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 5, 2, "HEP03", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 5, 3, "HEP03", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 6, 1, "HEP03", 1, 7, 2, 2, 1, 2, 4, 1, 8, 5, 17, 1}, + {"HE", 26, 6, 2, "HEP03", 1, 3, 3, 2, 1, 3, 4, 1, 8, 6, 17, 1}, + {"HE", 26, 6, 3, "HEP03", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 7, 1, "HEP03", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 7, 2, "HEP03", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 7, 3, "HEP03", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 8, 1, "HEP03", 4, 16, 2, 2, 1, 2, 4, 1, 9, 7, 17, 0}, + {"HE", 26, 8, 2, "HEP03", 4, 19, 3, 2, 1, 3, 4, 1, 9, 8, 17, 0}, + {"HE", 26, 8, 3, "HEP03", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 9, 1, "HEP04", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 9, 2, "HEP04", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 9, 3, "HEP04", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 10, 1, "HEP04", 1, 7, 2, 2, 1, 2, 0, 3, 2, 5, 14, 1}, + {"HE", 26, 10, 2, "HEP04", 1, 3, 3, 2, 1, 3, 0, 3, 2, 6, 14, 1}, + {"HE", 26, 10, 3, "HEP04", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 11, 1, "HEP04", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 11, 2, "HEP04", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 11, 3, "HEP04", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 12, 1, "HEP04", 4, 16, 2, 2, 1, 2, 0, 3, 3, 7, 14, 0}, + {"HE", 26, 12, 2, "HEP04", 4, 19, 3, 2, 1, 3, 0, 3, 3, 8, 14, 0}, + {"HE", 26, 12, 3, "HEP04", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 13, 1, "HEP05", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 13, 2, "HEP05", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 13, 3, "HEP05", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 14, 1, "HEP05", 1, 7, 2, 2, 1, 2, 0, 3, 8, 5, 17, 1}, + {"HE", 26, 14, 2, "HEP05", 1, 3, 3, 2, 1, 3, 0, 3, 8, 6, 17, 1}, + {"HE", 26, 14, 3, "HEP05", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 15, 1, "HEP05", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 15, 2, "HEP05", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 15, 3, "HEP05", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 16, 1, "HEP05", 4, 16, 2, 2, 1, 2, 0, 3, 9, 7, 17, 0}, + {"HE", 26, 16, 2, "HEP05", 4, 19, 3, 2, 1, 3, 0, 3, 9, 8, 17, 0}, + {"HE", 26, 16, 3, "HEP05", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 17, 1, "HEP06", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 17, 2, "HEP06", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 17, 3, "HEP06", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 18, 1, "HEP06", 1, 7, 2, 2, 1, 2, 1, 5, 2, 5, 14, 1}, + {"HE", 26, 18, 2, "HEP06", 1, 3, 3, 2, 1, 3, 1, 5, 2, 6, 14, 1}, + {"HE", 26, 18, 3, "HEP06", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 19, 1, "HEP06", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 19, 2, "HEP06", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 19, 3, "HEP06", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 20, 1, "HEP06", 4, 16, 2, 2, 1, 2, 1, 5, 3, 7, 14, 0}, + {"HE", 26, 20, 2, "HEP06", 4, 19, 3, 2, 1, 3, 1, 5, 3, 8, 14, 0}, + {"HE", 26, 20, 3, "HEP06", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 21, 1, "HEP07", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 21, 2, "HEP07", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 21, 3, "HEP07", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 22, 1, "HEP07", 1, 7, 2, 2, 1, 2, 1, 5, 8, 5, 17, 1}, + {"HE", 26, 22, 2, "HEP07", 1, 3, 3, 2, 1, 3, 1, 5, 8, 6, 17, 1}, + {"HE", 26, 22, 3, "HEP07", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 23, 1, "HEP07", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 23, 2, "HEP07", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 23, 3, "HEP07", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 24, 1, "HEP07", 4, 16, 2, 2, 1, 2, 1, 5, 9, 7, 17, 0}, + {"HE", 26, 24, 2, "HEP07", 4, 19, 3, 2, 1, 3, 1, 5, 9, 8, 17, 0}, + {"HE", 26, 24, 3, "HEP07", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 25, 1, "HEP08", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 25, 2, "HEP08", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 25, 3, "HEP08", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 26, 1, "HEP08", 1, 7, 2, 2, 1, 2, 5, 7, 2, 5, 14, 1}, + {"HE", 26, 26, 2, "HEP08", 1, 3, 3, 2, 1, 3, 5, 7, 2, 6, 14, 1}, + {"HE", 26, 26, 3, "HEP08", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 27, 1, "HEP08", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 27, 2, "HEP08", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 27, 3, "HEP08", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 28, 1, "HEP08", 4, 16, 2, 2, 1, 2, 5, 7, 3, 7, 14, 0}, + {"HE", 26, 28, 2, "HEP08", 4, 19, 3, 2, 1, 3, 5, 7, 3, 8, 14, 0}, + {"HE", 26, 28, 3, "HEP08", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 29, 1, "HEP09", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 29, 2, "HEP09", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 29, 3, "HEP09", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 30, 1, "HEP09", 1, 7, 2, 2, 1, 2, 5, 7, 8, 5, 17, 1}, + {"HE", 26, 30, 2, "HEP09", 1, 3, 3, 2, 1, 3, 5, 7, 8, 6, 17, 1}, + {"HE", 26, 30, 3, "HEP09", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 31, 1, "HEP09", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 31, 2, "HEP09", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 31, 3, "HEP09", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 32, 1, "HEP09", 4, 16, 2, 2, 1, 2, 5, 7, 9, 7, 17, 0}, + {"HE", 26, 32, 2, "HEP09", 4, 19, 3, 2, 1, 3, 5, 7, 9, 8, 17, 0}, + {"HE", 26, 32, 3, "HEP09", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 33, 1, "HEP10", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 33, 2, "HEP10", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 33, 3, "HEP10", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 34, 1, "HEP10", 1, 7, 2, 2, 1, 2, 11, 9, 2, 5, 14, 1}, + {"HE", 26, 34, 2, "HEP10", 1, 3, 3, 2, 1, 3, 11, 9, 2, 6, 14, 1}, + {"HE", 26, 34, 3, "HEP10", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 35, 1, "HEP10", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 35, 2, "HEP10", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 35, 3, "HEP10", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 36, 1, "HEP10", 4, 16, 2, 2, 1, 2, 11, 9, 3, 7, 14, 0}, + {"HE", 26, 36, 2, "HEP10", 4, 19, 3, 2, 1, 3, 11, 9, 3, 8, 14, 0}, + {"HE", 26, 36, 3, "HEP10", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 37, 1, "HEP11", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 37, 2, "HEP11", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 37, 3, "HEP11", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 38, 1, "HEP11", 1, 7, 2, 2, 1, 2, 11, 9, 8, 5, 17, 1}, + {"HE", 26, 38, 2, "HEP11", 1, 3, 3, 2, 1, 3, 11, 9, 8, 6, 17, 1}, + {"HE", 26, 38, 3, "HEP11", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 39, 1, "HEP11", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 39, 2, "HEP11", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 39, 3, "HEP11", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 40, 1, "HEP11", 4, 16, 2, 2, 1, 2, 11, 9, 9, 7, 17, 0}, + {"HE", 26, 40, 2, "HEP11", 4, 19, 3, 2, 1, 3, 11, 9, 9, 8, 17, 0}, + {"HE", 26, 40, 3, "HEP11", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 41, 1, "HEP12", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 41, 2, "HEP12", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 41, 3, "HEP12", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 42, 1, "HEP12", 1, 7, 2, 2, 1, 2, 15, 11, 2, 5, 14, 1}, + {"HE", 26, 42, 2, "HEP12", 1, 3, 3, 2, 1, 3, 15, 11, 2, 6, 14, 1}, + {"HE", 26, 42, 3, "HEP12", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 43, 1, "HEP12", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 43, 2, "HEP12", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 43, 3, "HEP12", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 44, 1, "HEP12", 4, 16, 2, 2, 1, 2, 15, 11, 3, 7, 14, 0}, + {"HE", 26, 44, 2, "HEP12", 4, 19, 3, 2, 1, 3, 15, 11, 3, 8, 14, 0}, + {"HE", 26, 44, 3, "HEP12", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 45, 1, "HEP13", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 45, 2, "HEP13", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 45, 3, "HEP13", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 46, 1, "HEP13", 1, 7, 2, 2, 1, 2, 15, 11, 8, 5, 17, 1}, + {"HE", 26, 46, 2, "HEP13", 1, 3, 3, 2, 1, 3, 15, 11, 8, 6, 17, 1}, + {"HE", 26, 46, 3, "HEP13", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 47, 1, "HEP13", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 47, 2, "HEP13", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 47, 3, "HEP13", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 48, 1, "HEP13", 4, 16, 2, 2, 1, 2, 15, 11, 9, 7, 17, 0}, + {"HE", 26, 48, 2, "HEP13", 4, 19, 3, 2, 1, 3, 15, 11, 9, 8, 17, 0}, + {"HE", 26, 48, 3, "HEP13", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 49, 1, "HEP14", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 49, 2, "HEP14", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 49, 3, "HEP14", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 50, 1, "HEP14", 1, 7, 2, 2, 1, 2, 17, 13, 2, 5, 14, 1}, + {"HE", 26, 50, 2, "HEP14", 1, 3, 3, 2, 1, 3, 17, 13, 2, 6, 14, 1}, + {"HE", 26, 50, 3, "HEP14", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 51, 1, "HEP14", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 51, 2, "HEP14", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 51, 3, "HEP14", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 52, 1, "HEP14", 4, 16, 2, 2, 1, 2, 17, 13, 3, 7, 14, 0}, + {"HE", 26, 52, 2, "HEP14", 4, 19, 3, 2, 1, 3, 17, 13, 3, 8, 14, 0}, + {"HE", 26, 52, 3, "HEP14", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 53, 1, "HEP15", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 53, 2, "HEP15", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 53, 3, "HEP15", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 54, 1, "HEP15", 1, 7, 2, 2, 1, 2, 17, 13, 8, 5, 17, 1}, + {"HE", 26, 54, 2, "HEP15", 1, 3, 3, 2, 1, 3, 17, 13, 8, 6, 17, 1}, + {"HE", 26, 54, 3, "HEP15", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 55, 1, "HEP15", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 55, 2, "HEP15", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 55, 3, "HEP15", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 56, 1, "HEP15", 4, 16, 2, 2, 1, 2, 17, 13, 9, 7, 17, 0}, + {"HE", 26, 56, 2, "HEP15", 4, 19, 3, 2, 1, 3, 17, 13, 9, 8, 17, 0}, + {"HE", 26, 56, 3, "HEP15", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 57, 1, "HEP16", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 57, 2, "HEP16", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 57, 3, "HEP16", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 58, 1, "HEP16", 1, 7, 2, 2, 1, 2, 14, 15, 2, 5, 14, 1}, + {"HE", 26, 58, 2, "HEP16", 1, 3, 3, 2, 1, 3, 14, 15, 2, 6, 14, 1}, + {"HE", 26, 58, 3, "HEP16", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 59, 1, "HEP16", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 59, 2, "HEP16", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 59, 3, "HEP16", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 60, 1, "HEP16", 4, 16, 2, 2, 1, 2, 14, 15, 3, 7, 14, 0}, + {"HE", 26, 60, 2, "HEP16", 4, 19, 3, 2, 1, 3, 14, 15, 3, 8, 14, 0}, + {"HE", 26, 60, 3, "HEP16", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 61, 1, "HEP17", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 61, 2, "HEP17", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 61, 3, "HEP17", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 62, 1, "HEP17", 1, 7, 2, 2, 1, 2, 14, 15, 8, 5, 17, 1}, + {"HE", 26, 62, 2, "HEP17", 1, 3, 3, 2, 1, 3, 14, 15, 8, 6, 17, 1}, + {"HE", 26, 62, 3, "HEP17", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 63, 1, "HEP17", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 63, 2, "HEP17", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 63, 3, "HEP17", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 64, 1, "HEP17", 4, 16, 2, 2, 1, 2, 14, 15, 9, 7, 17, 0}, + {"HE", 26, 64, 2, "HEP17", 4, 19, 3, 2, 1, 3, 14, 15, 9, 8, 17, 0}, + {"HE", 26, 64, 3, "HEP17", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 65, 1, "HEP18", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 65, 2, "HEP18", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 65, 3, "HEP18", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 66, 1, "HEP18", 1, 7, 2, 2, 1, 2, 10, 17, 2, 5, 14, 1}, + {"HE", 26, 66, 2, "HEP18", 1, 3, 3, 2, 1, 3, 10, 17, 2, 6, 14, 1}, + {"HE", 26, 66, 3, "HEP18", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 67, 1, "HEP18", 4, 13, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 67, 2, "HEP18", 4, 17, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 67, 3, "HEP18", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 68, 1, "HEP18", 4, 16, 2, 2, 1, 2, 10, 17, 3, 7, 14, 0}, + {"HE", 26, 68, 2, "HEP18", 4, 19, 3, 2, 1, 3, 10, 17, 3, 8, 14, 0}, + {"HE", 26, 68, 3, "HEP18", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 69, 1, "HEP01", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 69, 2, "HEP01", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 69, 3, "HEP01", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 70, 1, "HEP01", 1, 7, 2, 2, 1, 2, 10, 17, 8, 5, 17, 1}, + {"HE", 26, 70, 2, "HEP01", 1, 3, 3, 2, 1, 3, 10, 17, 8, 6, 17, 1}, + {"HE", 26, 70, 3, "HEP01", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 71, 1, "HEM01", 1, 4, 7, 2, 3, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 71, 2, "HEM01", 1, 1, 6, 2, 3, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 26, 71, 3, "HEM01", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 0, 1, "HEP01", 3, 6, 4, 0, 2, 0, 10, 17, 11, 1, 18, 0}, + {"HE", 27, 0, 2, "HEP01", 3, 2, 4, 1, 2, 1, 10, 17, 11, 1, 18, 0}, + {"HE", 27, 0, 3, "HEP01", 3, 5, 5, 0, 2, 4, 10, 17, 11, 2, 18, 0}, + {"HE", 27, 1, 1, "HEP02", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 1, 2, "HEP02", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 1, 3, "HEP02", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 2, 1, "HEP02", 2, 15, 4, 0, 2, 0, 4, 1, 4, 3, 15, 1}, + {"HE", 27, 2, 2, "HEP02", 2, 18, 4, 1, 2, 1, 4, 1, 4, 3, 15, 1}, + {"HE", 27, 2, 3, "HEP02", 2, 14, 5, 0, 2, 4, 4, 1, 4, 4, 15, 1}, + {"HE", 27, 3, 1, "HEP02", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 3, 2, "HEP02", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 3, 3, "HEP02", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 4, 1, "HEP02", 3, 6, 4, 0, 2, 0, 4, 1, 5, 1, 15, 0}, + {"HE", 27, 4, 2, "HEP02", 3, 2, 4, 1, 2, 1, 4, 1, 5, 1, 15, 0}, + {"HE", 27, 4, 3, "HEP02", 3, 5, 5, 0, 2, 4, 4, 1, 5, 2, 15, 0}, + {"HE", 27, 5, 1, "HEP03", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 5, 2, "HEP03", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 5, 3, "HEP03", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 6, 1, "HEP03", 2, 15, 4, 0, 2, 0, 4, 1, 10, 3, 18, 1}, + {"HE", 27, 6, 2, "HEP03", 2, 18, 4, 1, 2, 1, 4, 1, 10, 3, 18, 1}, + {"HE", 27, 6, 3, "HEP03", 2, 14, 5, 0, 2, 4, 4, 1, 10, 4, 18, 1}, + {"HE", 27, 7, 1, "HEP03", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 7, 2, "HEP03", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 7, 3, "HEP03", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 8, 1, "HEP03", 3, 6, 4, 0, 2, 0, 4, 1, 11, 1, 18, 0}, + {"HE", 27, 8, 2, "HEP03", 3, 2, 4, 1, 2, 1, 4, 1, 11, 1, 18, 0}, + {"HE", 27, 8, 3, "HEP03", 3, 5, 5, 0, 2, 4, 4, 1, 11, 2, 18, 0}, + {"HE", 27, 9, 1, "HEP04", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 9, 2, "HEP04", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 9, 3, "HEP04", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 10, 1, "HEP04", 2, 15, 4, 0, 2, 0, 0, 3, 4, 3, 15, 1}, + {"HE", 27, 10, 2, "HEP04", 2, 18, 4, 1, 2, 1, 0, 3, 4, 3, 15, 1}, + {"HE", 27, 10, 3, "HEP04", 2, 14, 5, 0, 2, 4, 0, 3, 4, 4, 15, 1}, + {"HE", 27, 11, 1, "HEP04", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 11, 2, "HEP04", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 11, 3, "HEP04", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 12, 1, "HEP04", 3, 6, 4, 0, 2, 0, 0, 3, 5, 1, 15, 0}, + {"HE", 27, 12, 2, "HEP04", 3, 2, 4, 1, 2, 1, 0, 3, 5, 1, 15, 0}, + {"HE", 27, 12, 3, "HEP04", 3, 5, 5, 0, 2, 4, 0, 3, 5, 2, 15, 0}, + {"HE", 27, 13, 1, "HEP05", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 13, 2, "HEP05", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 13, 3, "HEP05", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 14, 1, "HEP05", 2, 15, 4, 0, 2, 0, 0, 3, 10, 3, 18, 1}, + {"HE", 27, 14, 2, "HEP05", 2, 18, 4, 1, 2, 1, 0, 3, 10, 3, 18, 1}, + {"HE", 27, 14, 3, "HEP05", 2, 14, 5, 0, 2, 4, 0, 3, 10, 4, 18, 1}, + {"HE", 27, 15, 1, "HEP05", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 15, 2, "HEP05", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 15, 3, "HEP05", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 16, 1, "HEP05", 3, 6, 4, 0, 2, 0, 0, 3, 11, 1, 18, 0}, + {"HE", 27, 16, 2, "HEP05", 3, 2, 4, 1, 2, 1, 0, 3, 11, 1, 18, 0}, + {"HE", 27, 16, 3, "HEP05", 3, 5, 5, 0, 2, 4, 0, 3, 11, 2, 18, 0}, + {"HE", 27, 17, 1, "HEP06", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 17, 2, "HEP06", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 17, 3, "HEP06", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 18, 1, "HEP06", 2, 15, 4, 0, 2, 0, 1, 5, 4, 3, 15, 1}, + {"HE", 27, 18, 2, "HEP06", 2, 18, 4, 1, 2, 1, 1, 5, 4, 3, 15, 1}, + {"HE", 27, 18, 3, "HEP06", 2, 14, 5, 0, 2, 4, 1, 5, 4, 4, 15, 1}, + {"HE", 27, 19, 1, "HEP06", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 19, 2, "HEP06", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 19, 3, "HEP06", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 20, 1, "HEP06", 3, 6, 4, 0, 2, 0, 1, 5, 5, 1, 15, 0}, + {"HE", 27, 20, 2, "HEP06", 3, 2, 4, 1, 2, 1, 1, 5, 5, 1, 15, 0}, + {"HE", 27, 20, 3, "HEP06", 3, 5, 5, 0, 2, 4, 1, 5, 5, 2, 15, 0}, + {"HE", 27, 21, 1, "HEP07", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 21, 2, "HEP07", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 21, 3, "HEP07", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 22, 1, "HEP07", 2, 15, 4, 0, 2, 0, 1, 5, 10, 3, 18, 1}, + {"HE", 27, 22, 2, "HEP07", 2, 18, 4, 1, 2, 1, 1, 5, 10, 3, 18, 1}, + {"HE", 27, 22, 3, "HEP07", 2, 14, 5, 0, 2, 4, 1, 5, 10, 4, 18, 1}, + {"HE", 27, 23, 1, "HEP07", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 23, 2, "HEP07", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 23, 3, "HEP07", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 24, 1, "HEP07", 3, 6, 4, 0, 2, 0, 1, 5, 11, 1, 18, 0}, + {"HE", 27, 24, 2, "HEP07", 3, 2, 4, 1, 2, 1, 1, 5, 11, 1, 18, 0}, + {"HE", 27, 24, 3, "HEP07", 3, 5, 5, 0, 2, 4, 1, 5, 11, 2, 18, 0}, + {"HE", 27, 25, 1, "HEP08", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 25, 2, "HEP08", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 25, 3, "HEP08", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 26, 1, "HEP08", 2, 15, 4, 0, 2, 0, 5, 7, 4, 3, 15, 1}, + {"HE", 27, 26, 2, "HEP08", 2, 18, 4, 1, 2, 1, 5, 7, 4, 3, 15, 1}, + {"HE", 27, 26, 3, "HEP08", 2, 14, 5, 0, 2, 4, 5, 7, 4, 4, 15, 1}, + {"HE", 27, 27, 1, "HEP08", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 27, 2, "HEP08", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 27, 3, "HEP08", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 28, 1, "HEP08", 3, 6, 4, 0, 2, 0, 5, 7, 5, 1, 15, 0}, + {"HE", 27, 28, 2, "HEP08", 3, 2, 4, 1, 2, 1, 5, 7, 5, 1, 15, 0}, + {"HE", 27, 28, 3, "HEP08", 3, 5, 5, 0, 2, 4, 5, 7, 5, 2, 15, 0}, + {"HE", 27, 29, 1, "HEP09", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 29, 2, "HEP09", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 29, 3, "HEP09", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 30, 1, "HEP09", 2, 15, 4, 0, 2, 0, 5, 7, 10, 3, 18, 1}, + {"HE", 27, 30, 2, "HEP09", 2, 18, 4, 1, 2, 1, 5, 7, 10, 3, 18, 1}, + {"HE", 27, 30, 3, "HEP09", 2, 14, 5, 0, 2, 4, 5, 7, 10, 4, 18, 1}, + {"HE", 27, 31, 1, "HEP09", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 31, 2, "HEP09", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 31, 3, "HEP09", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 32, 1, "HEP09", 3, 6, 4, 0, 2, 0, 5, 7, 11, 1, 18, 0}, + {"HE", 27, 32, 2, "HEP09", 3, 2, 4, 1, 2, 1, 5, 7, 11, 1, 18, 0}, + {"HE", 27, 32, 3, "HEP09", 3, 5, 5, 0, 2, 4, 5, 7, 11, 2, 18, 0}, + {"HE", 27, 33, 1, "HEP10", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 33, 2, "HEP10", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 33, 3, "HEP10", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 34, 1, "HEP10", 2, 15, 4, 0, 2, 0, 11, 9, 4, 3, 15, 1}, + {"HE", 27, 34, 2, "HEP10", 2, 18, 4, 1, 2, 1, 11, 9, 4, 3, 15, 1}, + {"HE", 27, 34, 3, "HEP10", 2, 14, 5, 0, 2, 4, 11, 9, 4, 4, 15, 1}, + {"HE", 27, 35, 1, "HEP10", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 35, 2, "HEP10", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 35, 3, "HEP10", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 36, 1, "HEP10", 3, 6, 4, 0, 2, 0, 11, 9, 5, 1, 15, 0}, + {"HE", 27, 36, 2, "HEP10", 3, 2, 4, 1, 2, 1, 11, 9, 5, 1, 15, 0}, + {"HE", 27, 36, 3, "HEP10", 3, 5, 5, 0, 2, 4, 11, 9, 5, 2, 15, 0}, + {"HE", 27, 37, 1, "HEP11", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 37, 2, "HEP11", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 37, 3, "HEP11", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 38, 1, "HEP11", 2, 15, 4, 0, 2, 0, 11, 9, 10, 3, 18, 1}, + {"HE", 27, 38, 2, "HEP11", 2, 18, 4, 1, 2, 1, 11, 9, 10, 3, 18, 1}, + {"HE", 27, 38, 3, "HEP11", 2, 14, 5, 0, 2, 4, 11, 9, 10, 4, 18, 1}, + {"HE", 27, 39, 1, "HEP11", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 39, 2, "HEP11", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 39, 3, "HEP11", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 40, 1, "HEP11", 3, 6, 4, 0, 2, 0, 11, 9, 11, 1, 18, 0}, + {"HE", 27, 40, 2, "HEP11", 3, 2, 4, 1, 2, 1, 11, 9, 11, 1, 18, 0}, + {"HE", 27, 40, 3, "HEP11", 3, 5, 5, 0, 2, 4, 11, 9, 11, 2, 18, 0}, + {"HE", 27, 41, 1, "HEP12", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 41, 2, "HEP12", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 41, 3, "HEP12", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 42, 1, "HEP12", 2, 15, 4, 0, 2, 0, 15, 11, 4, 3, 15, 1}, + {"HE", 27, 42, 2, "HEP12", 2, 18, 4, 1, 2, 1, 15, 11, 4, 3, 15, 1}, + {"HE", 27, 42, 3, "HEP12", 2, 14, 5, 0, 2, 4, 15, 11, 4, 4, 15, 1}, + {"HE", 27, 43, 1, "HEP12", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 43, 2, "HEP12", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 43, 3, "HEP12", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 44, 1, "HEP12", 3, 6, 4, 0, 2, 0, 15, 11, 5, 1, 15, 0}, + {"HE", 27, 44, 2, "HEP12", 3, 2, 4, 1, 2, 1, 15, 11, 5, 1, 15, 0}, + {"HE", 27, 44, 3, "HEP12", 3, 5, 5, 0, 2, 4, 15, 11, 5, 2, 15, 0}, + {"HE", 27, 45, 1, "HEP13", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 45, 2, "HEP13", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 45, 3, "HEP13", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 46, 1, "HEP13", 2, 15, 4, 0, 2, 0, 15, 11, 10, 3, 18, 1}, + {"HE", 27, 46, 2, "HEP13", 2, 18, 4, 1, 2, 1, 15, 11, 10, 3, 18, 1}, + {"HE", 27, 46, 3, "HEP13", 2, 14, 5, 0, 2, 4, 15, 11, 10, 4, 18, 1}, + {"HE", 27, 47, 1, "HEP13", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 47, 2, "HEP13", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 47, 3, "HEP13", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 48, 1, "HEP13", 3, 6, 4, 0, 2, 0, 15, 11, 11, 1, 18, 0}, + {"HE", 27, 48, 2, "HEP13", 3, 2, 4, 1, 2, 1, 15, 11, 11, 1, 18, 0}, + {"HE", 27, 48, 3, "HEP13", 3, 5, 5, 0, 2, 4, 15, 11, 11, 2, 18, 0}, + {"HE", 27, 49, 1, "HEP14", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 49, 2, "HEP14", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 49, 3, "HEP14", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 50, 1, "HEP14", 2, 15, 4, 0, 2, 0, 17, 13, 4, 3, 15, 1}, + {"HE", 27, 50, 2, "HEP14", 2, 18, 4, 1, 2, 1, 17, 13, 4, 3, 15, 1}, + {"HE", 27, 50, 3, "HEP14", 2, 14, 5, 0, 2, 4, 17, 13, 4, 4, 15, 1}, + {"HE", 27, 51, 1, "HEP14", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 51, 2, "HEP14", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 51, 3, "HEP14", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 52, 1, "HEP14", 3, 6, 4, 0, 2, 0, 17, 13, 5, 1, 15, 0}, + {"HE", 27, 52, 2, "HEP14", 3, 2, 4, 1, 2, 1, 17, 13, 5, 1, 15, 0}, + {"HE", 27, 52, 3, "HEP14", 3, 5, 5, 0, 2, 4, 17, 13, 5, 2, 15, 0}, + {"HE", 27, 53, 1, "HEP15", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 53, 2, "HEP15", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 53, 3, "HEP15", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 54, 1, "HEP15", 2, 15, 4, 0, 2, 0, 17, 13, 10, 3, 18, 1}, + {"HE", 27, 54, 2, "HEP15", 2, 18, 4, 1, 2, 1, 17, 13, 10, 3, 18, 1}, + {"HE", 27, 54, 3, "HEP15", 2, 14, 5, 0, 2, 4, 17, 13, 10, 4, 18, 1}, + {"HE", 27, 55, 1, "HEP15", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 55, 2, "HEP15", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 55, 3, "HEP15", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 56, 1, "HEP15", 3, 6, 4, 0, 2, 0, 17, 13, 11, 1, 18, 0}, + {"HE", 27, 56, 2, "HEP15", 3, 2, 4, 1, 2, 1, 17, 13, 11, 1, 18, 0}, + {"HE", 27, 56, 3, "HEP15", 3, 5, 5, 0, 2, 4, 17, 13, 11, 2, 18, 0}, + {"HE", 27, 57, 1, "HEP16", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 57, 2, "HEP16", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 57, 3, "HEP16", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 58, 1, "HEP16", 2, 15, 4, 0, 2, 0, 14, 15, 4, 3, 15, 1}, + {"HE", 27, 58, 2, "HEP16", 2, 18, 4, 1, 2, 1, 14, 15, 4, 3, 15, 1}, + {"HE", 27, 58, 3, "HEP16", 2, 14, 5, 0, 2, 4, 14, 15, 4, 4, 15, 1}, + {"HE", 27, 59, 1, "HEP16", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 59, 2, "HEP16", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 59, 3, "HEP16", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 60, 1, "HEP16", 3, 6, 4, 0, 2, 0, 14, 15, 5, 1, 15, 0}, + {"HE", 27, 60, 2, "HEP16", 3, 2, 4, 1, 2, 1, 14, 15, 5, 1, 15, 0}, + {"HE", 27, 60, 3, "HEP16", 3, 5, 5, 0, 2, 4, 14, 15, 5, 2, 15, 0}, + {"HE", 27, 61, 1, "HEP17", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 61, 2, "HEP17", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 61, 3, "HEP17", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 62, 1, "HEP17", 2, 15, 4, 0, 2, 0, 14, 15, 10, 3, 18, 1}, + {"HE", 27, 62, 2, "HEP17", 2, 18, 4, 1, 2, 1, 14, 15, 10, 3, 18, 1}, + {"HE", 27, 62, 3, "HEP17", 2, 14, 5, 0, 2, 4, 14, 15, 10, 4, 18, 1}, + {"HE", 27, 63, 1, "HEP17", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 63, 2, "HEP17", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 63, 3, "HEP17", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 64, 1, "HEP17", 3, 6, 4, 0, 2, 0, 14, 15, 11, 1, 18, 0}, + {"HE", 27, 64, 2, "HEP17", 3, 2, 4, 1, 2, 1, 14, 15, 11, 1, 18, 0}, + {"HE", 27, 64, 3, "HEP17", 3, 5, 5, 0, 2, 4, 14, 15, 11, 2, 18, 0}, + {"HE", 27, 65, 1, "HEP18", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 65, 2, "HEP18", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 65, 3, "HEP18", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 66, 1, "HEP18", 2, 15, 4, 0, 2, 0, 10, 17, 4, 3, 15, 1}, + {"HE", 27, 66, 2, "HEP18", 2, 18, 4, 1, 2, 1, 10, 17, 4, 3, 15, 1}, + {"HE", 27, 66, 3, "HEP18", 2, 14, 5, 0, 2, 4, 10, 17, 4, 4, 15, 1}, + {"HE", 27, 67, 1, "HEP18", 3, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 67, 2, "HEP18", 3, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 67, 3, "HEP18", 4, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 68, 1, "HEP18", 3, 6, 4, 0, 2, 0, 10, 17, 5, 1, 15, 0}, + {"HE", 27, 68, 2, "HEP18", 3, 2, 4, 1, 2, 1, 10, 17, 5, 1, 15, 0}, + {"HE", 27, 68, 3, "HEP18", 3, 5, 5, 0, 2, 4, 10, 17, 5, 2, 15, 0}, + {"HE", 27, 69, 1, "HEP01", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 69, 2, "HEP01", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 69, 3, "HEP01", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 70, 1, "HEP01", 2, 15, 4, 0, 2, 0, 10, 17, 10, 3, 18, 1}, + {"HE", 27, 70, 2, "HEP01", 2, 18, 4, 1, 2, 1, 10, 17, 10, 3, 18, 1}, + {"HE", 27, 70, 3, "HEP01", 2, 14, 5, 0, 2, 4, 10, 17, 10, 4, 18, 1}, + {"HE", 27, 71, 1, "HEM01", 2, 2, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 71, 2, "HEM01", 2, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 27, 71, 3, "HEM01", 1, 18, 5, 2, 2, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 0, 1, "HEP01", 4, 6, 4, 0, 2, 0, 10, 17, 11, 3, 18, 0}, + {"HE", 28, 0, 2, "HEP01", 4, 18, 4, 1, 2, 1, 10, 17, 11, 3, 18, 0}, + {"HE", 28, 0, 3, "HEP01", 4, 14, 5, 0, 2, 4, 10, 17, 11, 4, 18, 0}, + {"HE", 28, 1, 1, "HEP02", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 1, 2, "HEP02", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 1, 3, "HEP02", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 2, 1, "HEP02", 1, 15, 4, 0, 2, 0, 4, 1, 4, 1, 15, 1}, + {"HE", 28, 2, 2, "HEP02", 1, 2, 4, 1, 2, 1, 4, 1, 4, 1, 15, 1}, + {"HE", 28, 2, 3, "HEP02", 1, 5, 5, 0, 2, 4, 4, 1, 4, 2, 15, 1}, + {"HE", 28, 3, 1, "HEP02", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 3, 2, "HEP02", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 3, 3, "HEP02", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 4, 1, "HEP02", 4, 6, 4, 0, 2, 0, 4, 1, 5, 3, 15, 0}, + {"HE", 28, 4, 2, "HEP02", 4, 18, 4, 1, 2, 1, 4, 1, 5, 3, 15, 0}, + {"HE", 28, 4, 3, "HEP02", 4, 14, 5, 0, 2, 4, 4, 1, 5, 4, 15, 0}, + {"HE", 28, 5, 1, "HEP03", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 5, 2, "HEP03", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 5, 3, "HEP03", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 6, 1, "HEP03", 1, 15, 4, 0, 2, 0, 4, 1, 10, 1, 18, 1}, + {"HE", 28, 6, 2, "HEP03", 1, 2, 4, 1, 2, 1, 4, 1, 10, 1, 18, 1}, + {"HE", 28, 6, 3, "HEP03", 1, 5, 5, 0, 2, 4, 4, 1, 10, 2, 18, 1}, + {"HE", 28, 7, 1, "HEP03", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 7, 2, "HEP03", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 7, 3, "HEP03", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 8, 1, "HEP03", 4, 6, 4, 0, 2, 0, 4, 1, 11, 3, 18, 0}, + {"HE", 28, 8, 2, "HEP03", 4, 18, 4, 1, 2, 1, 4, 1, 11, 3, 18, 0}, + {"HE", 28, 8, 3, "HEP03", 4, 14, 5, 0, 2, 4, 4, 1, 11, 4, 18, 0}, + {"HE", 28, 9, 1, "HEP04", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 9, 2, "HEP04", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 9, 3, "HEP04", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 10, 1, "HEP04", 1, 15, 4, 0, 2, 0, 0, 3, 4, 1, 15, 1}, + {"HE", 28, 10, 2, "HEP04", 1, 2, 4, 1, 2, 1, 0, 3, 4, 1, 15, 1}, + {"HE", 28, 10, 3, "HEP04", 1, 5, 5, 0, 2, 4, 0, 3, 4, 2, 15, 1}, + {"HE", 28, 11, 1, "HEP04", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 11, 2, "HEP04", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 11, 3, "HEP04", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 12, 1, "HEP04", 4, 6, 4, 0, 2, 0, 0, 3, 5, 3, 15, 0}, + {"HE", 28, 12, 2, "HEP04", 4, 18, 4, 1, 2, 1, 0, 3, 5, 3, 15, 0}, + {"HE", 28, 12, 3, "HEP04", 4, 14, 5, 0, 2, 4, 0, 3, 5, 4, 15, 0}, + {"HE", 28, 13, 1, "HEP05", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 13, 2, "HEP05", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 13, 3, "HEP05", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 14, 1, "HEP05", 1, 15, 4, 0, 2, 0, 0, 3, 10, 1, 18, 1}, + {"HE", 28, 14, 2, "HEP05", 1, 2, 4, 1, 2, 1, 0, 3, 10, 1, 18, 1}, + {"HE", 28, 14, 3, "HEP05", 1, 5, 5, 0, 2, 4, 0, 3, 10, 2, 18, 1}, + {"HE", 28, 15, 1, "HEP05", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 15, 2, "HEP05", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 15, 3, "HEP05", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 16, 1, "HEP05", 4, 6, 4, 0, 2, 0, 0, 3, 11, 3, 18, 0}, + {"HE", 28, 16, 2, "HEP05", 4, 18, 4, 1, 2, 1, 0, 3, 11, 3, 18, 0}, + {"HE", 28, 16, 3, "HEP05", 4, 14, 5, 0, 2, 4, 0, 3, 11, 4, 18, 0}, + {"HE", 28, 17, 1, "HEP06", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 17, 2, "HEP06", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 17, 3, "HEP06", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 18, 1, "HEP06", 1, 15, 4, 0, 2, 0, 1, 5, 4, 1, 15, 1}, + {"HE", 28, 18, 2, "HEP06", 1, 2, 4, 1, 2, 1, 1, 5, 4, 1, 15, 1}, + {"HE", 28, 18, 3, "HEP06", 1, 5, 5, 0, 2, 4, 1, 5, 4, 2, 15, 1}, + {"HE", 28, 19, 1, "HEP06", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 19, 2, "HEP06", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 19, 3, "HEP06", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 20, 1, "HEP06", 4, 6, 4, 0, 2, 0, 1, 5, 5, 3, 15, 0}, + {"HE", 28, 20, 2, "HEP06", 4, 18, 4, 1, 2, 1, 1, 5, 5, 3, 15, 0}, + {"HE", 28, 20, 3, "HEP06", 4, 14, 5, 0, 2, 4, 1, 5, 5, 4, 15, 0}, + {"HE", 28, 21, 1, "HEP07", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 21, 2, "HEP07", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 21, 3, "HEP07", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 22, 1, "HEP07", 1, 15, 4, 0, 2, 0, 1, 5, 10, 1, 18, 1}, + {"HE", 28, 22, 2, "HEP07", 1, 2, 4, 1, 2, 1, 1, 5, 10, 1, 18, 1}, + {"HE", 28, 22, 3, "HEP07", 1, 5, 5, 0, 2, 4, 1, 5, 10, 2, 18, 1}, + {"HE", 28, 23, 1, "HEP07", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 23, 2, "HEP07", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 23, 3, "HEP07", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 24, 1, "HEP07", 4, 6, 4, 0, 2, 0, 1, 5, 11, 3, 18, 0}, + {"HE", 28, 24, 2, "HEP07", 4, 18, 4, 1, 2, 1, 1, 5, 11, 3, 18, 0}, + {"HE", 28, 24, 3, "HEP07", 4, 14, 5, 0, 2, 4, 1, 5, 11, 4, 18, 0}, + {"HE", 28, 25, 1, "HEP08", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 25, 2, "HEP08", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 25, 3, "HEP08", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 26, 1, "HEP08", 1, 15, 4, 0, 2, 0, 5, 7, 4, 1, 15, 1}, + {"HE", 28, 26, 2, "HEP08", 1, 2, 4, 1, 2, 1, 5, 7, 4, 1, 15, 1}, + {"HE", 28, 26, 3, "HEP08", 1, 5, 5, 0, 2, 4, 5, 7, 4, 2, 15, 1}, + {"HE", 28, 27, 1, "HEP08", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 27, 2, "HEP08", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 27, 3, "HEP08", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 28, 1, "HEP08", 4, 6, 4, 0, 2, 0, 5, 7, 5, 3, 15, 0}, + {"HE", 28, 28, 2, "HEP08", 4, 18, 4, 1, 2, 1, 5, 7, 5, 3, 15, 0}, + {"HE", 28, 28, 3, "HEP08", 4, 14, 5, 0, 2, 4, 5, 7, 5, 4, 15, 0}, + {"HE", 28, 29, 1, "HEP09", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 29, 2, "HEP09", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 29, 3, "HEP09", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 30, 1, "HEP09", 1, 15, 4, 0, 2, 0, 5, 7, 10, 1, 18, 1}, + {"HE", 28, 30, 2, "HEP09", 1, 2, 4, 1, 2, 1, 5, 7, 10, 1, 18, 1}, + {"HE", 28, 30, 3, "HEP09", 1, 5, 5, 0, 2, 4, 5, 7, 10, 2, 18, 1}, + {"HE", 28, 31, 1, "HEP09", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 31, 2, "HEP09", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 31, 3, "HEP09", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 32, 1, "HEP09", 4, 6, 4, 0, 2, 0, 5, 7, 11, 3, 18, 0}, + {"HE", 28, 32, 2, "HEP09", 4, 18, 4, 1, 2, 1, 5, 7, 11, 3, 18, 0}, + {"HE", 28, 32, 3, "HEP09", 4, 14, 5, 0, 2, 4, 5, 7, 11, 4, 18, 0}, + {"HE", 28, 33, 1, "HEP10", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 33, 2, "HEP10", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 33, 3, "HEP10", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 34, 1, "HEP10", 1, 15, 4, 0, 2, 0, 11, 9, 4, 1, 15, 1}, + {"HE", 28, 34, 2, "HEP10", 1, 2, 4, 1, 2, 1, 11, 9, 4, 1, 15, 1}, + {"HE", 28, 34, 3, "HEP10", 1, 5, 5, 0, 2, 4, 11, 9, 4, 2, 15, 1}, + {"HE", 28, 35, 1, "HEP10", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 35, 2, "HEP10", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 35, 3, "HEP10", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 36, 1, "HEP10", 4, 6, 4, 0, 2, 0, 11, 9, 5, 3, 15, 0}, + {"HE", 28, 36, 2, "HEP10", 4, 18, 4, 1, 2, 1, 11, 9, 5, 3, 15, 0}, + {"HE", 28, 36, 3, "HEP10", 4, 14, 5, 0, 2, 4, 11, 9, 5, 4, 15, 0}, + {"HE", 28, 37, 1, "HEP11", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 37, 2, "HEP11", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 37, 3, "HEP11", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 38, 1, "HEP11", 1, 15, 4, 0, 2, 0, 11, 9, 10, 1, 18, 1}, + {"HE", 28, 38, 2, "HEP11", 1, 2, 4, 1, 2, 1, 11, 9, 10, 1, 18, 1}, + {"HE", 28, 38, 3, "HEP11", 1, 5, 5, 0, 2, 4, 11, 9, 10, 2, 18, 1}, + {"HE", 28, 39, 1, "HEP11", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 39, 2, "HEP11", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 39, 3, "HEP11", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 40, 1, "HEP11", 4, 6, 4, 0, 2, 0, 11, 9, 11, 3, 18, 0}, + {"HE", 28, 40, 2, "HEP11", 4, 18, 4, 1, 2, 1, 11, 9, 11, 3, 18, 0}, + {"HE", 28, 40, 3, "HEP11", 4, 14, 5, 0, 2, 4, 11, 9, 11, 4, 18, 0}, + {"HE", 28, 41, 1, "HEP12", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 41, 2, "HEP12", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 41, 3, "HEP12", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 42, 1, "HEP12", 1, 15, 4, 0, 2, 0, 15, 11, 4, 1, 15, 1}, + {"HE", 28, 42, 2, "HEP12", 1, 2, 4, 1, 2, 1, 15, 11, 4, 1, 15, 1}, + {"HE", 28, 42, 3, "HEP12", 1, 5, 5, 0, 2, 4, 15, 11, 4, 2, 15, 1}, + {"HE", 28, 43, 1, "HEP12", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 43, 2, "HEP12", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 43, 3, "HEP12", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 44, 1, "HEP12", 4, 6, 4, 0, 2, 0, 15, 11, 5, 3, 15, 0}, + {"HE", 28, 44, 2, "HEP12", 4, 18, 4, 1, 2, 1, 15, 11, 5, 3, 15, 0}, + {"HE", 28, 44, 3, "HEP12", 4, 14, 5, 0, 2, 4, 15, 11, 5, 4, 15, 0}, + {"HE", 28, 45, 1, "HEP13", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 45, 2, "HEP13", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 45, 3, "HEP13", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 46, 1, "HEP13", 1, 15, 4, 0, 2, 0, 15, 11, 10, 1, 18, 1}, + {"HE", 28, 46, 2, "HEP13", 1, 2, 4, 1, 2, 1, 15, 11, 10, 1, 18, 1}, + {"HE", 28, 46, 3, "HEP13", 1, 5, 5, 0, 2, 4, 15, 11, 10, 2, 18, 1}, + {"HE", 28, 47, 1, "HEP13", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 47, 2, "HEP13", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 47, 3, "HEP13", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 48, 1, "HEP13", 4, 6, 4, 0, 2, 0, 15, 11, 11, 3, 18, 0}, + {"HE", 28, 48, 2, "HEP13", 4, 18, 4, 1, 2, 1, 15, 11, 11, 3, 18, 0}, + {"HE", 28, 48, 3, "HEP13", 4, 14, 5, 0, 2, 4, 15, 11, 11, 4, 18, 0}, + {"HE", 28, 49, 1, "HEP14", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 49, 2, "HEP14", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 49, 3, "HEP14", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 50, 1, "HEP14", 1, 15, 4, 0, 2, 0, 17, 13, 4, 1, 15, 1}, + {"HE", 28, 50, 2, "HEP14", 1, 2, 4, 1, 2, 1, 17, 13, 4, 1, 15, 1}, + {"HE", 28, 50, 3, "HEP14", 1, 5, 5, 0, 2, 4, 17, 13, 4, 2, 15, 1}, + {"HE", 28, 51, 1, "HEP14", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 51, 2, "HEP14", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 51, 3, "HEP14", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 52, 1, "HEP14", 4, 6, 4, 0, 2, 0, 17, 13, 5, 3, 15, 0}, + {"HE", 28, 52, 2, "HEP14", 4, 18, 4, 1, 2, 1, 17, 13, 5, 3, 15, 0}, + {"HE", 28, 52, 3, "HEP14", 4, 14, 5, 0, 2, 4, 17, 13, 5, 4, 15, 0}, + {"HE", 28, 53, 1, "HEP15", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 53, 2, "HEP15", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 53, 3, "HEP15", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 54, 1, "HEP15", 1, 15, 4, 0, 2, 0, 17, 13, 10, 1, 18, 1}, + {"HE", 28, 54, 2, "HEP15", 1, 2, 4, 1, 2, 1, 17, 13, 10, 1, 18, 1}, + {"HE", 28, 54, 3, "HEP15", 1, 5, 5, 0, 2, 4, 17, 13, 10, 2, 18, 1}, + {"HE", 28, 55, 1, "HEP15", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 55, 2, "HEP15", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 55, 3, "HEP15", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 56, 1, "HEP15", 4, 6, 4, 0, 2, 0, 17, 13, 11, 3, 18, 0}, + {"HE", 28, 56, 2, "HEP15", 4, 18, 4, 1, 2, 1, 17, 13, 11, 3, 18, 0}, + {"HE", 28, 56, 3, "HEP15", 4, 14, 5, 0, 2, 4, 17, 13, 11, 4, 18, 0}, + {"HE", 28, 57, 1, "HEP16", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 57, 2, "HEP16", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 57, 3, "HEP16", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 58, 1, "HEP16", 1, 15, 4, 0, 2, 0, 14, 15, 4, 1, 15, 1}, + {"HE", 28, 58, 2, "HEP16", 1, 2, 4, 1, 2, 1, 14, 15, 4, 1, 15, 1}, + {"HE", 28, 58, 3, "HEP16", 1, 5, 5, 0, 2, 4, 14, 15, 4, 2, 15, 1}, + {"HE", 28, 59, 1, "HEP16", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 59, 2, "HEP16", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 59, 3, "HEP16", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 60, 1, "HEP16", 4, 6, 4, 0, 2, 0, 14, 15, 5, 3, 15, 0}, + {"HE", 28, 60, 2, "HEP16", 4, 18, 4, 1, 2, 1, 14, 15, 5, 3, 15, 0}, + {"HE", 28, 60, 3, "HEP16", 4, 14, 5, 0, 2, 4, 14, 15, 5, 4, 15, 0}, + {"HE", 28, 61, 1, "HEP17", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 61, 2, "HEP17", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 61, 3, "HEP17", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 62, 1, "HEP17", 1, 15, 4, 0, 2, 0, 14, 15, 10, 1, 18, 1}, + {"HE", 28, 62, 2, "HEP17", 1, 2, 4, 1, 2, 1, 14, 15, 10, 1, 18, 1}, + {"HE", 28, 62, 3, "HEP17", 1, 5, 5, 0, 2, 4, 14, 15, 10, 2, 18, 1}, + {"HE", 28, 63, 1, "HEP17", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 63, 2, "HEP17", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 63, 3, "HEP17", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 64, 1, "HEP17", 4, 6, 4, 0, 2, 0, 14, 15, 11, 3, 18, 0}, + {"HE", 28, 64, 2, "HEP17", 4, 18, 4, 1, 2, 1, 14, 15, 11, 3, 18, 0}, + {"HE", 28, 64, 3, "HEP17", 4, 14, 5, 0, 2, 4, 14, 15, 11, 4, 18, 0}, + {"HE", 28, 65, 1, "HEP18", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 65, 2, "HEP18", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 65, 3, "HEP18", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 66, 1, "HEP18", 1, 15, 4, 0, 2, 0, 10, 17, 4, 1, 15, 1}, + {"HE", 28, 66, 2, "HEP18", 1, 2, 4, 1, 2, 1, 10, 17, 4, 1, 15, 1}, + {"HE", 28, 66, 3, "HEP18", 1, 5, 5, 0, 2, 4, 10, 17, 4, 2, 15, 1}, + {"HE", 28, 67, 1, "HEP18", 4, 5, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 67, 2, "HEP18", 3, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 67, 3, "HEP18", 3, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 68, 1, "HEP18", 4, 6, 4, 0, 2, 0, 10, 17, 5, 3, 15, 0}, + {"HE", 28, 68, 2, "HEP18", 4, 18, 4, 1, 2, 1, 10, 17, 5, 3, 15, 0}, + {"HE", 28, 68, 3, "HEP18", 4, 14, 5, 0, 2, 4, 10, 17, 5, 4, 15, 0}, + {"HE", 28, 69, 1, "HEP01", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 69, 2, "HEP01", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 69, 3, "HEP01", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 70, 1, "HEP01", 1, 15, 4, 0, 2, 0, 10, 17, 10, 1, 18, 1}, + {"HE", 28, 70, 2, "HEP01", 1, 2, 4, 1, 2, 1, 10, 17, 10, 1, 18, 1}, + {"HE", 28, 70, 3, "HEP01", 1, 5, 5, 0, 2, 4, 10, 17, 10, 2, 18, 1}, + {"HE", 28, 71, 1, "HEM01", 1, 14, 5, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 71, 2, "HEM01", 2, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 28, 71, 3, "HEM01", 2, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 0, 1, "HEP01", 4, 15, 4, 2, 2, 2, 10, 17, 11, 3, 18, 0}, + {"HE", 29, 0, 2, "HEP01", 3, 15, 4, 2, 2, 2, 10, 17, 11, 1, 18, 0}, + {"HE", 29, 0, 3, "HEP01", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 1, 1, "HEP02", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 1, 2, "HEP02", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 1, 3, "HEP02", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 2, 1, "HEP02", 1, 6, 4, 2, 2, 2, 4, 1, 4, 1, 15, 1}, + {"HE", 29, 2, 2, "HEP02", 2, 6, 4, 2, 2, 2, 4, 1, 4, 3, 15, 1}, + {"HE", 29, 2, 3, "HEP02", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 3, 1, "HEP02", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 3, 2, "HEP02", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 3, 3, "HEP02", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 4, 1, "HEP02", 4, 15, 4, 2, 2, 2, 4, 1, 5, 3, 15, 0}, + {"HE", 29, 4, 2, "HEP02", 3, 15, 4, 2, 2, 2, 4, 1, 5, 1, 15, 0}, + {"HE", 29, 4, 3, "HEP02", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 5, 1, "HEP03", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 5, 2, "HEP03", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 5, 3, "HEP03", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 6, 1, "HEP03", 1, 6, 4, 2, 2, 2, 4, 1, 10, 1, 18, 1}, + {"HE", 29, 6, 2, "HEP03", 2, 6, 4, 2, 2, 2, 4, 1, 10, 3, 18, 1}, + {"HE", 29, 6, 3, "HEP03", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 7, 1, "HEP03", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 7, 2, "HEP03", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 7, 3, "HEP03", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 8, 1, "HEP03", 4, 15, 4, 2, 2, 2, 4, 1, 11, 3, 18, 0}, + {"HE", 29, 8, 2, "HEP03", 3, 15, 4, 2, 2, 2, 4, 1, 11, 1, 18, 0}, + {"HE", 29, 8, 3, "HEP03", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 9, 1, "HEP04", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 9, 2, "HEP04", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 9, 3, "HEP04", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 10, 1, "HEP04", 1, 6, 4, 2, 2, 2, 0, 3, 4, 1, 15, 1}, + {"HE", 29, 10, 2, "HEP04", 2, 6, 4, 2, 2, 2, 0, 3, 4, 3, 15, 1}, + {"HE", 29, 10, 3, "HEP04", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 11, 1, "HEP04", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 11, 2, "HEP04", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 11, 3, "HEP04", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 12, 1, "HEP04", 4, 15, 4, 2, 2, 2, 0, 3, 5, 3, 15, 0}, + {"HE", 29, 12, 2, "HEP04", 3, 15, 4, 2, 2, 2, 0, 3, 5, 1, 15, 0}, + {"HE", 29, 12, 3, "HEP04", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 13, 1, "HEP05", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 13, 2, "HEP05", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 13, 3, "HEP05", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 14, 1, "HEP05", 1, 6, 4, 2, 2, 2, 0, 3, 10, 1, 18, 1}, + {"HE", 29, 14, 2, "HEP05", 2, 6, 4, 2, 2, 2, 0, 3, 10, 3, 18, 1}, + {"HE", 29, 14, 3, "HEP05", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 15, 1, "HEP05", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 15, 2, "HEP05", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 15, 3, "HEP05", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 16, 1, "HEP05", 4, 15, 4, 2, 2, 2, 0, 3, 11, 3, 18, 0}, + {"HE", 29, 16, 2, "HEP05", 3, 15, 4, 2, 2, 2, 0, 3, 11, 1, 18, 0}, + {"HE", 29, 16, 3, "HEP05", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 17, 1, "HEP06", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 17, 2, "HEP06", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 17, 3, "HEP06", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 18, 1, "HEP06", 1, 6, 4, 2, 2, 2, 1, 5, 4, 1, 15, 1}, + {"HE", 29, 18, 2, "HEP06", 2, 6, 4, 2, 2, 2, 1, 5, 4, 3, 15, 1}, + {"HE", 29, 18, 3, "HEP06", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 19, 1, "HEP06", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 19, 2, "HEP06", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 19, 3, "HEP06", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 20, 1, "HEP06", 4, 15, 4, 2, 2, 2, 1, 5, 5, 3, 15, 0}, + {"HE", 29, 20, 2, "HEP06", 3, 15, 4, 2, 2, 2, 1, 5, 5, 1, 15, 0}, + {"HE", 29, 20, 3, "HEP06", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 21, 1, "HEP07", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 21, 2, "HEP07", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 21, 3, "HEP07", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 22, 1, "HEP07", 1, 6, 4, 2, 2, 2, 1, 5, 10, 1, 18, 1}, + {"HE", 29, 22, 2, "HEP07", 2, 6, 4, 2, 2, 2, 1, 5, 10, 3, 18, 1}, + {"HE", 29, 22, 3, "HEP07", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 23, 1, "HEP07", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 23, 2, "HEP07", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 23, 3, "HEP07", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 24, 1, "HEP07", 4, 15, 4, 2, 2, 2, 1, 5, 11, 3, 18, 0}, + {"HE", 29, 24, 2, "HEP07", 3, 15, 4, 2, 2, 2, 1, 5, 11, 1, 18, 0}, + {"HE", 29, 24, 3, "HEP07", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 25, 1, "HEP08", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 25, 2, "HEP08", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 25, 3, "HEP08", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 26, 1, "HEP08", 1, 6, 4, 2, 2, 2, 5, 7, 4, 1, 15, 1}, + {"HE", 29, 26, 2, "HEP08", 2, 6, 4, 2, 2, 2, 5, 7, 4, 3, 15, 1}, + {"HE", 29, 26, 3, "HEP08", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 27, 1, "HEP08", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 27, 2, "HEP08", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 27, 3, "HEP08", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 28, 1, "HEP08", 4, 15, 4, 2, 2, 2, 5, 7, 5, 3, 15, 0}, + {"HE", 29, 28, 2, "HEP08", 3, 15, 4, 2, 2, 2, 5, 7, 5, 1, 15, 0}, + {"HE", 29, 28, 3, "HEP08", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 29, 1, "HEP09", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 29, 2, "HEP09", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 29, 3, "HEP09", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 30, 1, "HEP09", 1, 6, 4, 2, 2, 2, 5, 7, 10, 1, 18, 1}, + {"HE", 29, 30, 2, "HEP09", 2, 6, 4, 2, 2, 2, 5, 7, 10, 3, 18, 1}, + {"HE", 29, 30, 3, "HEP09", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 31, 1, "HEP09", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 31, 2, "HEP09", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 31, 3, "HEP09", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 32, 1, "HEP09", 4, 15, 4, 2, 2, 2, 5, 7, 11, 3, 18, 0}, + {"HE", 29, 32, 2, "HEP09", 3, 15, 4, 2, 2, 2, 5, 7, 11, 1, 18, 0}, + {"HE", 29, 32, 3, "HEP09", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 33, 1, "HEP10", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 33, 2, "HEP10", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 33, 3, "HEP10", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 34, 1, "HEP10", 1, 6, 4, 2, 2, 2, 11, 9, 4, 1, 15, 1}, + {"HE", 29, 34, 2, "HEP10", 2, 6, 4, 2, 2, 2, 11, 9, 4, 3, 15, 1}, + {"HE", 29, 34, 3, "HEP10", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 35, 1, "HEP10", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 35, 2, "HEP10", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 35, 3, "HEP10", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 36, 1, "HEP10", 4, 15, 4, 2, 2, 2, 11, 9, 5, 3, 15, 0}, + {"HE", 29, 36, 2, "HEP10", 3, 15, 4, 2, 2, 2, 11, 9, 5, 1, 15, 0}, + {"HE", 29, 36, 3, "HEP10", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 37, 1, "HEP11", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 37, 2, "HEP11", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 37, 3, "HEP11", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 38, 1, "HEP11", 1, 6, 4, 2, 2, 2, 11, 9, 10, 1, 18, 1}, + {"HE", 29, 38, 2, "HEP11", 2, 6, 4, 2, 2, 2, 11, 9, 10, 3, 18, 1}, + {"HE", 29, 38, 3, "HEP11", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 39, 1, "HEP11", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 39, 2, "HEP11", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 39, 3, "HEP11", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 40, 1, "HEP11", 4, 15, 4, 2, 2, 2, 11, 9, 11, 3, 18, 0}, + {"HE", 29, 40, 2, "HEP11", 3, 15, 4, 2, 2, 2, 11, 9, 11, 1, 18, 0}, + {"HE", 29, 40, 3, "HEP11", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 41, 1, "HEP12", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 41, 2, "HEP12", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 41, 3, "HEP12", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 42, 1, "HEP12", 1, 6, 4, 2, 2, 2, 15, 11, 4, 1, 15, 1}, + {"HE", 29, 42, 2, "HEP12", 2, 6, 4, 2, 2, 2, 15, 11, 4, 3, 15, 1}, + {"HE", 29, 42, 3, "HEP12", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 43, 1, "HEP12", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 43, 2, "HEP12", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 43, 3, "HEP12", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 44, 1, "HEP12", 4, 15, 4, 2, 2, 2, 15, 11, 5, 3, 15, 0}, + {"HE", 29, 44, 2, "HEP12", 3, 15, 4, 2, 2, 2, 15, 11, 5, 1, 15, 0}, + {"HE", 29, 44, 3, "HEP12", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 45, 1, "HEP13", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 45, 2, "HEP13", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 45, 3, "HEP13", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 46, 1, "HEP13", 1, 6, 4, 2, 2, 2, 15, 11, 10, 1, 18, 1}, + {"HE", 29, 46, 2, "HEP13", 2, 6, 4, 2, 2, 2, 15, 11, 10, 3, 18, 1}, + {"HE", 29, 46, 3, "HEP13", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 47, 1, "HEP13", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 47, 2, "HEP13", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 47, 3, "HEP13", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 48, 1, "HEP13", 4, 15, 4, 2, 2, 2, 15, 11, 11, 3, 18, 0}, + {"HE", 29, 48, 2, "HEP13", 3, 15, 4, 2, 2, 2, 15, 11, 11, 1, 18, 0}, + {"HE", 29, 48, 3, "HEP13", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 49, 1, "HEP14", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 49, 2, "HEP14", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 49, 3, "HEP14", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 50, 1, "HEP14", 1, 6, 4, 2, 2, 2, 17, 13, 4, 1, 15, 1}, + {"HE", 29, 50, 2, "HEP14", 2, 6, 4, 2, 2, 2, 17, 13, 4, 3, 15, 1}, + {"HE", 29, 50, 3, "HEP14", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 51, 1, "HEP14", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 51, 2, "HEP14", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 51, 3, "HEP14", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 52, 1, "HEP14", 4, 15, 4, 2, 2, 2, 17, 13, 5, 3, 15, 0}, + {"HE", 29, 52, 2, "HEP14", 3, 15, 4, 2, 2, 2, 17, 13, 5, 1, 15, 0}, + {"HE", 29, 52, 3, "HEP14", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 53, 1, "HEP15", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 53, 2, "HEP15", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 53, 3, "HEP15", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 54, 1, "HEP15", 1, 6, 4, 2, 2, 2, 17, 13, 10, 1, 18, 1}, + {"HE", 29, 54, 2, "HEP15", 2, 6, 4, 2, 2, 2, 17, 13, 10, 3, 18, 1}, + {"HE", 29, 54, 3, "HEP15", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 55, 1, "HEP15", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 55, 2, "HEP15", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 55, 3, "HEP15", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 56, 1, "HEP15", 4, 15, 4, 2, 2, 2, 17, 13, 11, 3, 18, 0}, + {"HE", 29, 56, 2, "HEP15", 3, 15, 4, 2, 2, 2, 17, 13, 11, 1, 18, 0}, + {"HE", 29, 56, 3, "HEP15", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 57, 1, "HEP16", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 57, 2, "HEP16", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 57, 3, "HEP16", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 58, 1, "HEP16", 1, 6, 4, 2, 2, 2, 14, 15, 4, 1, 15, 1}, + {"HE", 29, 58, 2, "HEP16", 2, 6, 4, 2, 2, 2, 14, 15, 4, 3, 15, 1}, + {"HE", 29, 58, 3, "HEP16", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 59, 1, "HEP16", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 59, 2, "HEP16", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 59, 3, "HEP16", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 60, 1, "HEP16", 4, 15, 4, 2, 2, 2, 14, 15, 5, 3, 15, 0}, + {"HE", 29, 60, 2, "HEP16", 3, 15, 4, 2, 2, 2, 14, 15, 5, 1, 15, 0}, + {"HE", 29, 60, 3, "HEP16", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 61, 1, "HEP17", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 61, 2, "HEP17", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 61, 3, "HEP17", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 62, 1, "HEP17", 1, 6, 4, 2, 2, 2, 14, 15, 10, 1, 18, 1}, + {"HE", 29, 62, 2, "HEP17", 2, 6, 4, 2, 2, 2, 14, 15, 10, 3, 18, 1}, + {"HE", 29, 62, 3, "HEP17", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 63, 1, "HEP17", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 63, 2, "HEP17", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 63, 3, "HEP17", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 64, 1, "HEP17", 4, 15, 4, 2, 2, 2, 14, 15, 11, 3, 18, 0}, + {"HE", 29, 64, 2, "HEP17", 3, 15, 4, 2, 2, 2, 14, 15, 11, 1, 18, 0}, + {"HE", 29, 64, 3, "HEP17", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 65, 1, "HEP18", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 65, 2, "HEP18", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 65, 3, "HEP18", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 66, 1, "HEP18", 1, 6, 4, 2, 2, 2, 10, 17, 4, 1, 15, 1}, + {"HE", 29, 66, 2, "HEP18", 2, 6, 4, 2, 2, 2, 10, 17, 4, 3, 15, 1}, + {"HE", 29, 66, 3, "HEP18", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 67, 1, "HEP18", 4, 16, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 67, 2, "HEP18", 4, 19, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 67, 3, "HEP18", 3, 6, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 68, 1, "HEP18", 4, 15, 4, 2, 2, 2, 10, 17, 5, 3, 15, 0}, + {"HE", 29, 68, 2, "HEP18", 3, 15, 4, 2, 2, 2, 10, 17, 5, 1, 15, 0}, + {"HE", 29, 68, 3, "HEP18", 4, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 69, 1, "HEP01", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 69, 2, "HEP01", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 69, 3, "HEP01", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 70, 1, "HEP01", 1, 6, 4, 2, 2, 2, 10, 17, 10, 1, 18, 1}, + {"HE", 29, 70, 2, "HEP01", 2, 6, 4, 2, 2, 2, 10, 17, 10, 3, 18, 1}, + {"HE", 29, 70, 3, "HEP01", 2, 7, 2, 1, 1, 1, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 71, 1, "HEM01", 1, 7, 2, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 71, 2, "HEM01", 1, 3, 3, 2, 1, 3, 0, 0, 0, 1, 0, 0}, + {"HE", 29, 71, 3, "HEM01", 2, 15, 4, 0, 2, 0, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 0, 1, "HFM01", 2, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 0, 2, "HFM01", 2, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 2, 1, "HFM01", 3, 0, 5, 0, 3, 0, 2, 18, 1, 1, 2, 0}, + {"HF", -41, 2, 2, "HFM01", 3, 0, 7, 0, 4, 0, 2, 18, 1, 3, 2, 0}, + {"HF", -41, 4, 1, "HFM02", 1, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 4, 2, "HFM02", 1, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 6, 1, "HFM02", 2, 0, 5, 0, 3, 0, 2, 18, 3, 1, 3, 0}, + {"HF", -41, 6, 2, "HFM02", 2, 0, 7, 0, 4, 0, 2, 18, 3, 3, 3, 0}, + {"HF", -41, 8, 1, "HFM02", 3, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 8, 2, "HFM02", 3, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 10, 1, "HFM03", 1, 0, 5, 0, 3, 0, 2, 18, 5, 1, 4, 0}, + {"HF", -41, 10, 2, "HFM03", 1, 0, 7, 0, 4, 0, 2, 18, 5, 3, 4, 0}, + {"HF", -41, 12, 1, "HFM03", 2, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 12, 2, "HFM03", 2, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 14, 1, "HFM03", 3, 0, 5, 0, 3, 0, 2, 18, 7, 1, 5, 0}, + {"HF", -41, 14, 2, "HFM03", 3, 0, 7, 0, 4, 0, 2, 18, 7, 3, 5, 0}, + {"HF", -41, 16, 1, "HFM04", 1, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 16, 2, "HFM04", 1, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 18, 1, "HFM04", 2, 0, 5, 0, 3, 0, 2, 18, 9, 1, 6, 0}, + {"HF", -41, 18, 2, "HFM04", 2, 0, 7, 0, 4, 0, 2, 18, 9, 3, 6, 0}, + {"HF", -41, 20, 1, "HFM04", 3, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 20, 2, "HFM04", 3, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 22, 1, "HFM05", 1, 0, 5, 0, 3, 0, 2, 18, 11, 1, 7, 0}, + {"HF", -41, 22, 2, "HFM05", 1, 0, 7, 0, 4, 0, 2, 18, 11, 3, 7, 0}, + {"HF", -41, 24, 1, "HFM05", 2, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 24, 2, "HFM05", 2, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 26, 1, "HFM05", 3, 0, 5, 0, 3, 0, 9, 20, 1, 1, 2, 0}, + {"HF", -41, 26, 2, "HFM05", 3, 0, 7, 0, 4, 0, 9, 20, 1, 3, 2, 0}, + {"HF", -41, 28, 1, "HFM06", 1, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 28, 2, "HFM06", 1, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 30, 1, "HFM06", 2, 0, 5, 0, 3, 0, 9, 20, 3, 1, 3, 0}, + {"HF", -41, 30, 2, "HFM06", 2, 0, 7, 0, 4, 0, 9, 20, 3, 3, 3, 0}, + {"HF", -41, 32, 1, "HFM06", 3, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 32, 2, "HFM06", 3, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 34, 1, "HFM07", 1, 0, 5, 0, 3, 0, 9, 20, 5, 1, 4, 0}, + {"HF", -41, 34, 2, "HFM07", 1, 0, 7, 0, 4, 0, 9, 20, 5, 3, 4, 0}, + {"HF", -41, 36, 1, "HFM07", 2, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 36, 2, "HFM07", 2, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 38, 1, "HFM07", 3, 0, 5, 0, 3, 0, 9, 20, 7, 1, 5, 0}, + {"HF", -41, 38, 2, "HFM07", 3, 0, 7, 0, 4, 0, 9, 20, 7, 3, 5, 0}, + {"HF", -41, 40, 1, "HFM08", 1, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 40, 2, "HFM08", 1, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 42, 1, "HFM08", 2, 0, 5, 0, 3, 0, 9, 20, 9, 1, 6, 0}, + {"HF", -41, 42, 2, "HFM08", 2, 0, 7, 0, 4, 0, 9, 20, 9, 3, 6, 0}, + {"HF", -41, 44, 1, "HFM08", 3, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 44, 2, "HFM08", 3, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 46, 1, "HFM09", 1, 0, 5, 0, 3, 0, 9, 20, 11, 1, 7, 0}, + {"HF", -41, 46, 2, "HFM09", 1, 0, 7, 0, 4, 0, 9, 20, 11, 3, 7, 0}, + {"HF", -41, 48, 1, "HFM09", 2, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 48, 2, "HFM09", 2, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 50, 1, "HFM09", 3, 0, 5, 0, 3, 0, 12, 22, 1, 1, 2, 0}, + {"HF", -41, 50, 2, "HFM09", 3, 0, 7, 0, 4, 0, 12, 22, 1, 3, 2, 0}, + {"HF", -41, 52, 1, "HFM10", 1, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 52, 2, "HFM10", 1, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 54, 1, "HFM10", 2, 0, 5, 0, 3, 0, 12, 22, 3, 1, 3, 0}, + {"HF", -41, 54, 2, "HFM10", 2, 0, 7, 0, 4, 0, 12, 22, 3, 3, 3, 0}, + {"HF", -41, 56, 1, "HFM10", 3, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 56, 2, "HFM10", 3, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 58, 1, "HFM11", 1, 0, 5, 0, 3, 0, 12, 22, 5, 1, 4, 0}, + {"HF", -41, 58, 2, "HFM11", 1, 0, 7, 0, 4, 0, 12, 22, 5, 3, 4, 0}, + {"HF", -41, 60, 1, "HFM11", 2, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 60, 2, "HFM11", 2, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 62, 1, "HFM11", 3, 0, 5, 0, 3, 0, 12, 22, 7, 1, 5, 0}, + {"HF", -41, 62, 2, "HFM11", 3, 0, 7, 0, 4, 0, 12, 22, 7, 3, 5, 0}, + {"HF", -41, 64, 1, "HFM12", 1, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 64, 2, "HFM12", 1, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 66, 1, "HFM12", 2, 0, 5, 0, 3, 0, 12, 22, 9, 1, 6, 0}, + {"HF", -41, 66, 2, "HFM12", 2, 0, 7, 0, 4, 0, 12, 22, 9, 3, 6, 0}, + {"HF", -41, 68, 1, "HFM12", 3, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 68, 2, "HFM12", 3, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", -41, 70, 1, "HFM01", 1, 0, 5, 0, 3, 0, 12, 22, 11, 1, 7, 0}, + {"HF", -41, 70, 2, "HFM01", 1, 0, 7, 0, 4, 0, 12, 22, 11, 3, 7, 0}, + {"HF", -40, 0, 1, "HFM01", 2, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 0, 2, "HFM01", 2, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 2, 1, "HFM01", 2, 0, 7, 0, 4, 0, 2, 18, 1, 7, 2, 0}, + {"HF", -40, 2, 2, "HFM01", 2, 0, 5, 0, 3, 0, 2, 18, 1, 5, 2, 0}, + {"HF", -40, 4, 1, "HFM02", 1, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 4, 2, "HFM02", 1, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 6, 1, "HFM02", 1, 0, 7, 0, 4, 0, 2, 18, 3, 7, 3, 0}, + {"HF", -40, 6, 2, "HFM02", 1, 0, 5, 0, 3, 0, 2, 18, 3, 5, 3, 0}, + {"HF", -40, 8, 1, "HFM02", 3, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 8, 2, "HFM02", 3, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 10, 1, "HFM02", 3, 0, 7, 0, 4, 0, 2, 18, 5, 7, 4, 0}, + {"HF", -40, 10, 2, "HFM02", 3, 0, 5, 0, 3, 0, 2, 18, 5, 5, 4, 0}, + {"HF", -40, 12, 1, "HFM03", 2, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 12, 2, "HFM03", 2, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 14, 1, "HFM03", 2, 0, 7, 0, 4, 0, 2, 18, 7, 7, 5, 0}, + {"HF", -40, 14, 2, "HFM03", 2, 0, 5, 0, 3, 0, 2, 18, 7, 5, 5, 0}, + {"HF", -40, 16, 1, "HFM04", 1, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 16, 2, "HFM04", 1, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 18, 1, "HFM04", 1, 0, 7, 0, 4, 0, 2, 18, 9, 7, 6, 0}, + {"HF", -40, 18, 2, "HFM04", 1, 0, 5, 0, 3, 0, 2, 18, 9, 5, 6, 0}, + {"HF", -40, 20, 1, "HFM04", 3, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 20, 2, "HFM04", 3, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 22, 1, "HFM04", 3, 0, 7, 0, 4, 0, 2, 18, 11, 7, 7, 0}, + {"HF", -40, 22, 2, "HFM04", 3, 0, 5, 0, 3, 0, 2, 18, 11, 5, 7, 0}, + {"HF", -40, 24, 1, "HFM05", 2, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 24, 2, "HFM05", 2, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 26, 1, "HFM05", 2, 0, 7, 0, 4, 0, 9, 20, 1, 7, 2, 0}, + {"HF", -40, 26, 2, "HFM05", 2, 0, 5, 0, 3, 0, 9, 20, 1, 5, 2, 0}, + {"HF", -40, 28, 1, "HFM06", 1, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 28, 2, "HFM06", 1, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 30, 1, "HFM06", 1, 0, 7, 0, 4, 0, 9, 20, 3, 7, 3, 0}, + {"HF", -40, 30, 2, "HFM06", 1, 0, 5, 0, 3, 0, 9, 20, 3, 5, 3, 0}, + {"HF", -40, 32, 1, "HFM06", 3, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 32, 2, "HFM06", 3, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 34, 1, "HFM06", 3, 0, 7, 0, 4, 0, 9, 20, 5, 7, 4, 0}, + {"HF", -40, 34, 2, "HFM06", 3, 0, 5, 0, 3, 0, 9, 20, 5, 5, 4, 0}, + {"HF", -40, 36, 1, "HFM07", 2, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 36, 2, "HFM07", 2, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 38, 1, "HFM07", 2, 0, 7, 0, 4, 0, 9, 20, 7, 7, 5, 0}, + {"HF", -40, 38, 2, "HFM07", 2, 0, 5, 0, 3, 0, 9, 20, 7, 5, 5, 0}, + {"HF", -40, 40, 1, "HFM08", 1, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 40, 2, "HFM08", 1, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 42, 1, "HFM08", 1, 0, 7, 0, 4, 0, 9, 20, 9, 7, 6, 0}, + {"HF", -40, 42, 2, "HFM08", 1, 0, 5, 0, 3, 0, 9, 20, 9, 5, 6, 0}, + {"HF", -40, 44, 1, "HFM08", 3, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 44, 2, "HFM08", 3, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 46, 1, "HFM08", 3, 0, 7, 0, 4, 0, 9, 20, 11, 7, 7, 0}, + {"HF", -40, 46, 2, "HFM08", 3, 0, 5, 0, 3, 0, 9, 20, 11, 5, 7, 0}, + {"HF", -40, 48, 1, "HFM09", 2, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 48, 2, "HFM09", 2, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 50, 1, "HFM09", 2, 0, 7, 0, 4, 0, 12, 22, 1, 7, 2, 0}, + {"HF", -40, 50, 2, "HFM09", 2, 0, 5, 0, 3, 0, 12, 22, 1, 5, 2, 0}, + {"HF", -40, 52, 1, "HFM10", 1, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 52, 2, "HFM10", 1, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 54, 1, "HFM10", 1, 0, 7, 0, 4, 0, 12, 22, 3, 7, 3, 0}, + {"HF", -40, 54, 2, "HFM10", 1, 0, 5, 0, 3, 0, 12, 22, 3, 5, 3, 0}, + {"HF", -40, 56, 1, "HFM10", 3, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 56, 2, "HFM10", 3, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 58, 1, "HFM10", 3, 0, 7, 0, 4, 0, 12, 22, 5, 7, 4, 0}, + {"HF", -40, 58, 2, "HFM10", 3, 0, 5, 0, 3, 0, 12, 22, 5, 5, 4, 0}, + {"HF", -40, 60, 1, "HFM11", 2, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 60, 2, "HFM11", 2, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 62, 1, "HFM11", 2, 0, 7, 0, 4, 0, 12, 22, 7, 7, 5, 0}, + {"HF", -40, 62, 2, "HFM11", 2, 0, 5, 0, 3, 0, 12, 22, 7, 5, 5, 0}, + {"HF", -40, 64, 1, "HFM12", 1, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 64, 2, "HFM12", 1, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 66, 1, "HFM12", 1, 0, 7, 0, 4, 0, 12, 22, 9, 7, 6, 0}, + {"HF", -40, 66, 2, "HFM12", 1, 0, 5, 0, 3, 0, 12, 22, 9, 5, 6, 0}, + {"HF", -40, 68, 1, "HFM12", 3, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 68, 2, "HFM12", 3, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", -40, 70, 1, "HFM12", 3, 0, 7, 0, 4, 0, 12, 22, 11, 7, 7, 0}, + {"HF", -40, 70, 2, "HFM12", 3, 0, 5, 0, 3, 0, 12, 22, 11, 5, 7, 0}, + {"HF", -39, 0, 1, "HFM01", 1, 0, 6, 2, 3, 3, 12, 22, 11, 2, 7, 0}, + {"HF", -39, 0, 2, "HFM01", 1, 0, 8, 2, 4, 3, 12, 22, 11, 4, 7, 0}, + {"HF", -39, 2, 1, "HFM01", 2, 0, 8, 2, 4, 3, 2, 18, 1, 8, 2, 0}, + {"HF", -39, 2, 2, "HFM01", 2, 0, 6, 2, 3, 3, 2, 18, 1, 6, 2, 0}, + {"HF", -39, 4, 1, "HFM01", 3, 0, 6, 2, 3, 3, 2, 18, 1, 2, 2, 0}, + {"HF", -39, 4, 2, "HFM01", 3, 0, 8, 2, 4, 3, 2, 18, 1, 4, 2, 0}, + {"HF", -39, 6, 1, "HFM02", 1, 0, 8, 2, 4, 3, 2, 18, 3, 8, 3, 0}, + {"HF", -39, 6, 2, "HFM02", 1, 0, 6, 2, 3, 3, 2, 18, 3, 6, 3, 0}, + {"HF", -39, 8, 1, "HFM02", 2, 0, 6, 2, 3, 3, 2, 18, 3, 2, 3, 0}, + {"HF", -39, 8, 2, "HFM02", 2, 0, 8, 2, 4, 3, 2, 18, 3, 4, 3, 0}, + {"HF", -39, 10, 1, "HFM02", 3, 0, 8, 2, 4, 3, 2, 18, 5, 8, 4, 0}, + {"HF", -39, 10, 2, "HFM02", 3, 0, 6, 2, 3, 3, 2, 18, 5, 6, 4, 0}, + {"HF", -39, 12, 1, "HFM03", 1, 0, 6, 2, 3, 3, 2, 18, 5, 2, 4, 0}, + {"HF", -39, 12, 2, "HFM03", 1, 0, 8, 2, 4, 3, 2, 18, 5, 4, 4, 0}, + {"HF", -39, 14, 1, "HFM03", 2, 0, 8, 2, 4, 3, 2, 18, 7, 8, 5, 0}, + {"HF", -39, 14, 2, "HFM03", 2, 0, 6, 2, 3, 3, 2, 18, 7, 6, 5, 0}, + {"HF", -39, 16, 1, "HFM03", 3, 0, 6, 2, 3, 3, 2, 18, 7, 2, 5, 0}, + {"HF", -39, 16, 2, "HFM03", 3, 0, 8, 2, 4, 3, 2, 18, 7, 4, 5, 0}, + {"HF", -39, 18, 1, "HFM04", 1, 0, 8, 2, 4, 3, 2, 18, 9, 8, 6, 0}, + {"HF", -39, 18, 2, "HFM04", 1, 0, 6, 2, 3, 3, 2, 18, 9, 6, 6, 0}, + {"HF", -39, 20, 1, "HFM04", 2, 0, 6, 2, 3, 3, 2, 18, 9, 2, 6, 0}, + {"HF", -39, 20, 2, "HFM04", 2, 0, 8, 2, 4, 3, 2, 18, 9, 4, 6, 0}, + {"HF", -39, 22, 1, "HFM04", 3, 0, 8, 2, 4, 3, 2, 18, 11, 8, 7, 0}, + {"HF", -39, 22, 2, "HFM04", 3, 0, 6, 2, 3, 3, 2, 18, 11, 6, 7, 0}, + {"HF", -39, 24, 1, "HFM05", 1, 0, 6, 2, 3, 3, 2, 18, 11, 2, 7, 0}, + {"HF", -39, 24, 2, "HFM05", 1, 0, 8, 2, 4, 3, 2, 18, 11, 4, 7, 0}, + {"HF", -39, 26, 1, "HFM05", 2, 0, 8, 2, 4, 3, 9, 20, 1, 8, 2, 0}, + {"HF", -39, 26, 2, "HFM05", 2, 0, 6, 2, 3, 3, 9, 20, 1, 6, 2, 0}, + {"HF", -39, 28, 1, "HFM05", 3, 0, 6, 2, 3, 3, 9, 20, 1, 2, 2, 0}, + {"HF", -39, 28, 2, "HFM05", 3, 0, 8, 2, 4, 3, 9, 20, 1, 4, 2, 0}, + {"HF", -39, 30, 1, "HFM06", 1, 0, 8, 2, 4, 3, 9, 20, 3, 8, 3, 0}, + {"HF", -39, 30, 2, "HFM06", 1, 0, 6, 2, 3, 3, 9, 20, 3, 6, 3, 0}, + {"HF", -39, 32, 1, "HFM06", 2, 0, 6, 2, 3, 3, 9, 20, 3, 2, 3, 0}, + {"HF", -39, 32, 2, "HFM06", 2, 0, 8, 2, 4, 3, 9, 20, 3, 4, 3, 0}, + {"HF", -39, 34, 1, "HFM06", 3, 0, 8, 2, 4, 3, 9, 20, 5, 8, 4, 0}, + {"HF", -39, 34, 2, "HFM06", 3, 0, 6, 2, 3, 3, 9, 20, 5, 6, 4, 0}, + {"HF", -39, 36, 1, "HFM07", 1, 0, 6, 2, 3, 3, 9, 20, 5, 2, 4, 0}, + {"HF", -39, 36, 2, "HFM07", 1, 0, 8, 2, 4, 3, 9, 20, 5, 4, 4, 0}, + {"HF", -39, 38, 1, "HFM07", 2, 0, 8, 2, 4, 3, 9, 20, 7, 8, 5, 0}, + {"HF", -39, 38, 2, "HFM07", 2, 0, 6, 2, 3, 3, 9, 20, 7, 6, 5, 0}, + {"HF", -39, 40, 1, "HFM07", 3, 0, 6, 2, 3, 3, 9, 20, 7, 2, 5, 0}, + {"HF", -39, 40, 2, "HFM07", 3, 0, 8, 2, 4, 3, 9, 20, 7, 4, 5, 0}, + {"HF", -39, 42, 1, "HFM08", 1, 0, 8, 2, 4, 3, 9, 20, 9, 8, 6, 0}, + {"HF", -39, 42, 2, "HFM08", 1, 0, 6, 2, 3, 3, 9, 20, 9, 6, 6, 0}, + {"HF", -39, 44, 1, "HFM08", 2, 0, 6, 2, 3, 3, 9, 20, 9, 2, 6, 0}, + {"HF", -39, 44, 2, "HFM08", 2, 0, 8, 2, 4, 3, 9, 20, 9, 4, 6, 0}, + {"HF", -39, 46, 1, "HFM08", 3, 0, 8, 2, 4, 3, 9, 20, 11, 8, 7, 0}, + {"HF", -39, 46, 2, "HFM08", 3, 0, 6, 2, 3, 3, 9, 20, 11, 6, 7, 0}, + {"HF", -39, 48, 1, "HFM09", 1, 0, 6, 2, 3, 3, 9, 20, 11, 2, 7, 0}, + {"HF", -39, 48, 2, "HFM09", 1, 0, 8, 2, 4, 3, 9, 20, 11, 4, 7, 0}, + {"HF", -39, 50, 1, "HFM09", 2, 0, 8, 2, 4, 3, 12, 22, 1, 8, 2, 0}, + {"HF", -39, 50, 2, "HFM09", 2, 0, 6, 2, 3, 3, 12, 22, 1, 6, 2, 0}, + {"HF", -39, 52, 1, "HFM09", 3, 0, 6, 2, 3, 3, 12, 22, 1, 2, 2, 0}, + {"HF", -39, 52, 2, "HFM09", 3, 0, 8, 2, 4, 3, 12, 22, 1, 4, 2, 0}, + {"HF", -39, 54, 1, "HFM10", 1, 0, 8, 2, 4, 3, 12, 22, 3, 8, 3, 0}, + {"HF", -39, 54, 2, "HFM10", 1, 0, 6, 2, 3, 3, 12, 22, 3, 6, 3, 0}, + {"HF", -39, 56, 1, "HFM10", 2, 0, 6, 2, 3, 3, 12, 22, 3, 2, 3, 0}, + {"HF", -39, 56, 2, "HFM10", 2, 0, 8, 2, 4, 3, 12, 22, 3, 4, 3, 0}, + {"HF", -39, 58, 1, "HFM10", 3, 0, 8, 2, 4, 3, 12, 22, 5, 8, 4, 0}, + {"HF", -39, 58, 2, "HFM10", 3, 0, 6, 2, 3, 3, 12, 22, 5, 6, 4, 0}, + {"HF", -39, 60, 1, "HFM11", 1, 0, 6, 2, 3, 3, 12, 22, 5, 2, 4, 0}, + {"HF", -39, 60, 2, "HFM11", 1, 0, 8, 2, 4, 3, 12, 22, 5, 4, 4, 0}, + {"HF", -39, 62, 1, "HFM11", 2, 0, 8, 2, 4, 3, 12, 22, 7, 8, 5, 0}, + {"HF", -39, 62, 2, "HFM11", 2, 0, 6, 2, 3, 3, 12, 22, 7, 6, 5, 0}, + {"HF", -39, 64, 1, "HFM11", 3, 0, 6, 2, 3, 3, 12, 22, 7, 2, 5, 0}, + {"HF", -39, 64, 2, "HFM11", 3, 0, 8, 2, 4, 3, 12, 22, 7, 4, 5, 0}, + {"HF", -39, 66, 1, "HFM12", 1, 0, 8, 2, 4, 3, 12, 22, 9, 8, 6, 0}, + {"HF", -39, 66, 2, "HFM12", 1, 0, 6, 2, 3, 3, 12, 22, 9, 6, 6, 0}, + {"HF", -39, 68, 1, "HFM12", 2, 0, 6, 2, 3, 3, 12, 22, 9, 2, 6, 0}, + {"HF", -39, 68, 2, "HFM12", 2, 0, 8, 2, 4, 3, 12, 22, 9, 4, 6, 0}, + {"HF", -39, 70, 1, "HFM12", 3, 0, 8, 2, 4, 3, 12, 22, 11, 8, 7, 0}, + {"HF", -39, 70, 2, "HFM12", 3, 0, 6, 2, 3, 3, 12, 22, 11, 6, 7, 0}, + {"HF", -38, 0, 1, "HFM01", 1, 0, 6, 0, 3, 4, 12, 22, 11, 2, 7, 0}, + {"HF", -38, 0, 2, "HFM01", 1, 0, 8, 0, 4, 4, 12, 22, 11, 4, 7, 0}, + {"HF", -38, 2, 1, "HFM01", 2, 0, 7, 1, 4, 1, 2, 18, 1, 7, 2, 0}, + {"HF", -38, 2, 2, "HFM01", 2, 0, 5, 1, 3, 1, 2, 18, 1, 5, 2, 0}, + {"HF", -38, 4, 1, "HFM01", 3, 0, 6, 0, 3, 4, 2, 18, 1, 2, 2, 0}, + {"HF", -38, 4, 2, "HFM01", 3, 0, 8, 0, 4, 4, 2, 18, 1, 4, 2, 0}, + {"HF", -38, 6, 1, "HFM02", 1, 0, 7, 1, 4, 1, 2, 18, 3, 7, 3, 0}, + {"HF", -38, 6, 2, "HFM02", 1, 0, 5, 1, 3, 1, 2, 18, 3, 5, 3, 0}, + {"HF", -38, 8, 1, "HFM02", 2, 0, 6, 0, 3, 4, 2, 18, 3, 2, 3, 0}, + {"HF", -38, 8, 2, "HFM02", 2, 0, 8, 0, 4, 4, 2, 18, 3, 4, 3, 0}, + {"HF", -38, 10, 1, "HFM02", 3, 0, 7, 1, 4, 1, 2, 18, 5, 7, 4, 0}, + {"HF", -38, 10, 2, "HFM02", 3, 0, 5, 1, 3, 1, 2, 18, 5, 5, 4, 0}, + {"HF", -38, 12, 1, "HFM03", 1, 0, 6, 0, 3, 4, 2, 18, 5, 2, 4, 0}, + {"HF", -38, 12, 2, "HFM03", 1, 0, 8, 0, 4, 4, 2, 18, 5, 4, 4, 0}, + {"HF", -38, 14, 1, "HFM03", 2, 0, 7, 1, 4, 1, 2, 18, 7, 7, 5, 0}, + {"HF", -38, 14, 2, "HFM03", 2, 0, 5, 1, 3, 1, 2, 18, 7, 5, 5, 0}, + {"HF", -38, 16, 1, "HFM03", 3, 0, 6, 0, 3, 4, 2, 18, 7, 2, 5, 0}, + {"HF", -38, 16, 2, "HFM03", 3, 0, 8, 0, 4, 4, 2, 18, 7, 4, 5, 0}, + {"HF", -38, 18, 1, "HFM04", 1, 0, 7, 1, 4, 1, 2, 18, 9, 7, 6, 0}, + {"HF", -38, 18, 2, "HFM04", 1, 0, 5, 1, 3, 1, 2, 18, 9, 5, 6, 0}, + {"HF", -38, 20, 1, "HFM04", 2, 0, 6, 0, 3, 4, 2, 18, 9, 2, 6, 0}, + {"HF", -38, 20, 2, "HFM04", 2, 0, 8, 0, 4, 4, 2, 18, 9, 4, 6, 0}, + {"HF", -38, 22, 1, "HFM04", 3, 0, 7, 1, 4, 1, 2, 18, 11, 7, 7, 0}, + {"HF", -38, 22, 2, "HFM04", 3, 0, 5, 1, 3, 1, 2, 18, 11, 5, 7, 0}, + {"HF", -38, 24, 1, "HFM05", 1, 0, 6, 0, 3, 4, 2, 18, 11, 2, 7, 0}, + {"HF", -38, 24, 2, "HFM05", 1, 0, 8, 0, 4, 4, 2, 18, 11, 4, 7, 0}, + {"HF", -38, 26, 1, "HFM05", 2, 0, 7, 1, 4, 1, 9, 20, 1, 7, 2, 0}, + {"HF", -38, 26, 2, "HFM05", 2, 0, 5, 1, 3, 1, 9, 20, 1, 5, 2, 0}, + {"HF", -38, 28, 1, "HFM05", 3, 0, 6, 0, 3, 4, 9, 20, 1, 2, 2, 0}, + {"HF", -38, 28, 2, "HFM05", 3, 0, 8, 0, 4, 4, 9, 20, 1, 4, 2, 0}, + {"HF", -38, 30, 1, "HFM06", 1, 0, 7, 1, 4, 1, 9, 20, 3, 7, 3, 0}, + {"HF", -38, 30, 2, "HFM06", 1, 0, 5, 1, 3, 1, 9, 20, 3, 5, 3, 0}, + {"HF", -38, 32, 1, "HFM06", 2, 0, 6, 0, 3, 4, 9, 20, 3, 2, 3, 0}, + {"HF", -38, 32, 2, "HFM06", 2, 0, 8, 0, 4, 4, 9, 20, 3, 4, 3, 0}, + {"HF", -38, 34, 1, "HFM06", 3, 0, 7, 1, 4, 1, 9, 20, 5, 7, 4, 0}, + {"HF", -38, 34, 2, "HFM06", 3, 0, 5, 1, 3, 1, 9, 20, 5, 5, 4, 0}, + {"HF", -38, 36, 1, "HFM07", 1, 0, 6, 0, 3, 4, 9, 20, 5, 2, 4, 0}, + {"HF", -38, 36, 2, "HFM07", 1, 0, 8, 0, 4, 4, 9, 20, 5, 4, 4, 0}, + {"HF", -38, 38, 1, "HFM07", 2, 0, 7, 1, 4, 1, 9, 20, 7, 7, 5, 0}, + {"HF", -38, 38, 2, "HFM07", 2, 0, 5, 1, 3, 1, 9, 20, 7, 5, 5, 0}, + {"HF", -38, 40, 1, "HFM07", 3, 0, 6, 0, 3, 4, 9, 20, 7, 2, 5, 0}, + {"HF", -38, 40, 2, "HFM07", 3, 0, 8, 0, 4, 4, 9, 20, 7, 4, 5, 0}, + {"HF", -38, 42, 1, "HFM08", 1, 0, 7, 1, 4, 1, 9, 20, 9, 7, 6, 0}, + {"HF", -38, 42, 2, "HFM08", 1, 0, 5, 1, 3, 1, 9, 20, 9, 5, 6, 0}, + {"HF", -38, 44, 1, "HFM08", 2, 0, 6, 0, 3, 4, 9, 20, 9, 2, 6, 0}, + {"HF", -38, 44, 2, "HFM08", 2, 0, 8, 0, 4, 4, 9, 20, 9, 4, 6, 0}, + {"HF", -38, 46, 1, "HFM08", 3, 0, 7, 1, 4, 1, 9, 20, 11, 7, 7, 0}, + {"HF", -38, 46, 2, "HFM08", 3, 0, 5, 1, 3, 1, 9, 20, 11, 5, 7, 0}, + {"HF", -38, 48, 1, "HFM09", 1, 0, 6, 0, 3, 4, 9, 20, 11, 2, 7, 0}, + {"HF", -38, 48, 2, "HFM09", 1, 0, 8, 0, 4, 4, 9, 20, 11, 4, 7, 0}, + {"HF", -38, 50, 1, "HFM09", 2, 0, 7, 1, 4, 1, 12, 22, 1, 7, 2, 0}, + {"HF", -38, 50, 2, "HFM09", 2, 0, 5, 1, 3, 1, 12, 22, 1, 5, 2, 0}, + {"HF", -38, 52, 1, "HFM09", 3, 0, 6, 0, 3, 4, 12, 22, 1, 2, 2, 0}, + {"HF", -38, 52, 2, "HFM09", 3, 0, 8, 0, 4, 4, 12, 22, 1, 4, 2, 0}, + {"HF", -38, 54, 1, "HFM10", 1, 0, 7, 1, 4, 1, 12, 22, 3, 7, 3, 0}, + {"HF", -38, 54, 2, "HFM10", 1, 0, 5, 1, 3, 1, 12, 22, 3, 5, 3, 0}, + {"HF", -38, 56, 1, "HFM10", 2, 0, 6, 0, 3, 4, 12, 22, 3, 2, 3, 0}, + {"HF", -38, 56, 2, "HFM10", 2, 0, 8, 0, 4, 4, 12, 22, 3, 4, 3, 0}, + {"HF", -38, 58, 1, "HFM10", 3, 0, 7, 1, 4, 1, 12, 22, 5, 7, 4, 0}, + {"HF", -38, 58, 2, "HFM10", 3, 0, 5, 1, 3, 1, 12, 22, 5, 5, 4, 0}, + {"HF", -38, 60, 1, "HFM11", 1, 0, 6, 0, 3, 4, 12, 22, 5, 2, 4, 0}, + {"HF", -38, 60, 2, "HFM11", 1, 0, 8, 0, 4, 4, 12, 22, 5, 4, 4, 0}, + {"HF", -38, 62, 1, "HFM11", 2, 0, 7, 1, 4, 1, 12, 22, 7, 7, 5, 0}, + {"HF", -38, 62, 2, "HFM11", 2, 0, 5, 1, 3, 1, 12, 22, 7, 5, 5, 0}, + {"HF", -38, 64, 1, "HFM11", 3, 0, 6, 0, 3, 4, 12, 22, 7, 2, 5, 0}, + {"HF", -38, 64, 2, "HFM11", 3, 0, 8, 0, 4, 4, 12, 22, 7, 4, 5, 0}, + {"HF", -38, 66, 1, "HFM12", 1, 0, 7, 1, 4, 1, 12, 22, 9, 7, 6, 0}, + {"HF", -38, 66, 2, "HFM12", 1, 0, 5, 1, 3, 1, 12, 22, 9, 5, 6, 0}, + {"HF", -38, 68, 1, "HFM12", 2, 0, 6, 0, 3, 4, 12, 22, 9, 2, 6, 0}, + {"HF", -38, 68, 2, "HFM12", 2, 0, 8, 0, 4, 4, 12, 22, 9, 4, 6, 0}, + {"HF", -38, 70, 1, "HFM12", 3, 0, 7, 1, 4, 1, 12, 22, 11, 7, 7, 0}, + {"HF", -38, 70, 2, "HFM12", 3, 0, 5, 1, 3, 1, 12, 22, 11, 5, 7, 0}, + {"HF", -37, 0, 1, "HFM01", 1, 0, 5, 1, 3, 1, 12, 22, 11, 1, 7, 0}, + {"HF", -37, 0, 2, "HFM01", 1, 0, 7, 1, 4, 1, 12, 22, 11, 3, 7, 0}, + {"HF", -37, 2, 1, "HFM01", 2, 0, 8, 0, 4, 4, 2, 18, 1, 8, 2, 0}, + {"HF", -37, 2, 2, "HFM01", 2, 0, 6, 0, 3, 4, 2, 18, 1, 6, 2, 0}, + {"HF", -37, 4, 1, "HFM01", 3, 0, 5, 1, 3, 1, 2, 18, 1, 1, 2, 0}, + {"HF", -37, 4, 2, "HFM01", 3, 0, 7, 1, 4, 1, 2, 18, 1, 3, 2, 0}, + {"HF", -37, 6, 1, "HFM02", 1, 0, 8, 0, 4, 4, 2, 18, 3, 8, 3, 0}, + {"HF", -37, 6, 2, "HFM02", 1, 0, 6, 0, 3, 4, 2, 18, 3, 6, 3, 0}, + {"HF", -37, 8, 1, "HFM02", 2, 0, 5, 1, 3, 1, 2, 18, 3, 1, 3, 0}, + {"HF", -37, 8, 2, "HFM02", 2, 0, 7, 1, 4, 1, 2, 18, 3, 3, 3, 0}, + {"HF", -37, 10, 1, "HFM02", 3, 0, 8, 0, 4, 4, 2, 18, 5, 8, 4, 0}, + {"HF", -37, 10, 2, "HFM02", 3, 0, 6, 0, 3, 4, 2, 18, 5, 6, 4, 0}, + {"HF", -37, 12, 1, "HFM03", 1, 0, 5, 1, 3, 1, 2, 18, 5, 1, 4, 0}, + {"HF", -37, 12, 2, "HFM03", 1, 0, 7, 1, 4, 1, 2, 18, 5, 3, 4, 0}, + {"HF", -37, 14, 1, "HFM03", 2, 0, 8, 0, 4, 4, 2, 18, 7, 8, 5, 0}, + {"HF", -37, 14, 2, "HFM03", 2, 0, 6, 0, 3, 4, 2, 18, 7, 6, 5, 0}, + {"HF", -37, 16, 1, "HFM03", 3, 0, 5, 1, 3, 1, 2, 18, 7, 1, 5, 0}, + {"HF", -37, 16, 2, "HFM03", 3, 0, 7, 1, 4, 1, 2, 18, 7, 3, 5, 0}, + {"HF", -37, 18, 1, "HFM04", 1, 0, 8, 0, 4, 4, 2, 18, 9, 8, 6, 0}, + {"HF", -37, 18, 2, "HFM04", 1, 0, 6, 0, 3, 4, 2, 18, 9, 6, 6, 0}, + {"HF", -37, 20, 1, "HFM04", 2, 0, 5, 1, 3, 1, 2, 18, 9, 1, 6, 0}, + {"HF", -37, 20, 2, "HFM04", 2, 0, 7, 1, 4, 1, 2, 18, 9, 3, 6, 0}, + {"HF", -37, 22, 1, "HFM04", 3, 0, 8, 0, 4, 4, 2, 18, 11, 8, 7, 0}, + {"HF", -37, 22, 2, "HFM04", 3, 0, 6, 0, 3, 4, 2, 18, 11, 6, 7, 0}, + {"HF", -37, 24, 1, "HFM05", 1, 0, 5, 1, 3, 1, 2, 18, 11, 1, 7, 0}, + {"HF", -37, 24, 2, "HFM05", 1, 0, 7, 1, 4, 1, 2, 18, 11, 3, 7, 0}, + {"HF", -37, 26, 1, "HFM05", 2, 0, 8, 0, 4, 4, 9, 20, 1, 8, 2, 0}, + {"HF", -37, 26, 2, "HFM05", 2, 0, 6, 0, 3, 4, 9, 20, 1, 6, 2, 0}, + {"HF", -37, 28, 1, "HFM05", 3, 0, 5, 1, 3, 1, 9, 20, 1, 1, 2, 0}, + {"HF", -37, 28, 2, "HFM05", 3, 0, 7, 1, 4, 1, 9, 20, 1, 3, 2, 0}, + {"HF", -37, 30, 1, "HFM06", 1, 0, 8, 0, 4, 4, 9, 20, 3, 8, 3, 0}, + {"HF", -37, 30, 2, "HFM06", 1, 0, 6, 0, 3, 4, 9, 20, 3, 6, 3, 0}, + {"HF", -37, 32, 1, "HFM06", 2, 0, 5, 1, 3, 1, 9, 20, 3, 1, 3, 0}, + {"HF", -37, 32, 2, "HFM06", 2, 0, 7, 1, 4, 1, 9, 20, 3, 3, 3, 0}, + {"HF", -37, 34, 1, "HFM06", 3, 0, 8, 0, 4, 4, 9, 20, 5, 8, 4, 0}, + {"HF", -37, 34, 2, "HFM06", 3, 0, 6, 0, 3, 4, 9, 20, 5, 6, 4, 0}, + {"HF", -37, 36, 1, "HFM07", 1, 0, 5, 1, 3, 1, 9, 20, 5, 1, 4, 0}, + {"HF", -37, 36, 2, "HFM07", 1, 0, 7, 1, 4, 1, 9, 20, 5, 3, 4, 0}, + {"HF", -37, 38, 1, "HFM07", 2, 0, 8, 0, 4, 4, 9, 20, 7, 8, 5, 0}, + {"HF", -37, 38, 2, "HFM07", 2, 0, 6, 0, 3, 4, 9, 20, 7, 6, 5, 0}, + {"HF", -37, 40, 1, "HFM07", 3, 0, 5, 1, 3, 1, 9, 20, 7, 1, 5, 0}, + {"HF", -37, 40, 2, "HFM07", 3, 0, 7, 1, 4, 1, 9, 20, 7, 3, 5, 0}, + {"HF", -37, 42, 1, "HFM08", 1, 0, 8, 0, 4, 4, 9, 20, 9, 8, 6, 0}, + {"HF", -37, 42, 2, "HFM08", 1, 0, 6, 0, 3, 4, 9, 20, 9, 6, 6, 0}, + {"HF", -37, 44, 1, "HFM08", 2, 0, 5, 1, 3, 1, 9, 20, 9, 1, 6, 0}, + {"HF", -37, 44, 2, "HFM08", 2, 0, 7, 1, 4, 1, 9, 20, 9, 3, 6, 0}, + {"HF", -37, 46, 1, "HFM08", 3, 0, 8, 0, 4, 4, 9, 20, 11, 8, 7, 0}, + {"HF", -37, 46, 2, "HFM08", 3, 0, 6, 0, 3, 4, 9, 20, 11, 6, 7, 0}, + {"HF", -37, 48, 1, "HFM09", 1, 0, 5, 1, 3, 1, 9, 20, 11, 1, 7, 0}, + {"HF", -37, 48, 2, "HFM09", 1, 0, 7, 1, 4, 1, 9, 20, 11, 3, 7, 0}, + {"HF", -37, 50, 1, "HFM09", 2, 0, 8, 0, 4, 4, 12, 22, 1, 8, 2, 0}, + {"HF", -37, 50, 2, "HFM09", 2, 0, 6, 0, 3, 4, 12, 22, 1, 6, 2, 0}, + {"HF", -37, 52, 1, "HFM09", 3, 0, 5, 1, 3, 1, 12, 22, 1, 1, 2, 0}, + {"HF", -37, 52, 2, "HFM09", 3, 0, 7, 1, 4, 1, 12, 22, 1, 3, 2, 0}, + {"HF", -37, 54, 1, "HFM10", 1, 0, 8, 0, 4, 4, 12, 22, 3, 8, 3, 0}, + {"HF", -37, 54, 2, "HFM10", 1, 0, 6, 0, 3, 4, 12, 22, 3, 6, 3, 0}, + {"HF", -37, 56, 1, "HFM10", 2, 0, 5, 1, 3, 1, 12, 22, 3, 1, 3, 0}, + {"HF", -37, 56, 2, "HFM10", 2, 0, 7, 1, 4, 1, 12, 22, 3, 3, 3, 0}, + {"HF", -37, 58, 1, "HFM10", 3, 0, 8, 0, 4, 4, 12, 22, 5, 8, 4, 0}, + {"HF", -37, 58, 2, "HFM10", 3, 0, 6, 0, 3, 4, 12, 22, 5, 6, 4, 0}, + {"HF", -37, 60, 1, "HFM11", 1, 0, 5, 1, 3, 1, 12, 22, 5, 1, 4, 0}, + {"HF", -37, 60, 2, "HFM11", 1, 0, 7, 1, 4, 1, 12, 22, 5, 3, 4, 0}, + {"HF", -37, 62, 1, "HFM11", 2, 0, 8, 0, 4, 4, 12, 22, 7, 8, 5, 0}, + {"HF", -37, 62, 2, "HFM11", 2, 0, 6, 0, 3, 4, 12, 22, 7, 6, 5, 0}, + {"HF", -37, 64, 1, "HFM11", 3, 0, 5, 1, 3, 1, 12, 22, 7, 1, 5, 0}, + {"HF", -37, 64, 2, "HFM11", 3, 0, 7, 1, 4, 1, 12, 22, 7, 3, 5, 0}, + {"HF", -37, 66, 1, "HFM12", 1, 0, 8, 0, 4, 4, 12, 22, 9, 8, 6, 0}, + {"HF", -37, 66, 2, "HFM12", 1, 0, 6, 0, 3, 4, 12, 22, 9, 6, 6, 0}, + {"HF", -37, 68, 1, "HFM12", 2, 0, 5, 1, 3, 1, 12, 22, 9, 1, 6, 0}, + {"HF", -37, 68, 2, "HFM12", 2, 0, 7, 1, 4, 1, 12, 22, 9, 3, 6, 0}, + {"HF", -37, 70, 1, "HFM12", 3, 0, 8, 0, 4, 4, 12, 22, 11, 8, 7, 0}, + {"HF", -37, 70, 2, "HFM12", 3, 0, 6, 0, 3, 4, 12, 22, 11, 6, 7, 0}, + {"HF", -36, 0, 1, "HFM01", 1, 0, 6, 1, 3, 5, 12, 22, 11, 2, 7, 0}, + {"HF", -36, 0, 2, "HFM01", 1, 0, 8, 1, 4, 5, 12, 22, 11, 4, 7, 0}, + {"HF", -36, 2, 1, "HFM01", 2, 0, 7, 2, 4, 2, 2, 18, 1, 7, 2, 0}, + {"HF", -36, 2, 2, "HFM01", 2, 0, 5, 2, 3, 2, 2, 18, 1, 5, 2, 0}, + {"HF", -36, 4, 1, "HFM01", 3, 0, 6, 1, 3, 5, 2, 18, 1, 2, 2, 0}, + {"HF", -36, 4, 2, "HFM01", 3, 0, 8, 1, 4, 5, 2, 18, 1, 4, 2, 0}, + {"HF", -36, 6, 1, "HFM02", 1, 0, 7, 2, 4, 2, 2, 18, 3, 7, 3, 0}, + {"HF", -36, 6, 2, "HFM02", 1, 0, 5, 2, 3, 2, 2, 18, 3, 5, 3, 0}, + {"HF", -36, 8, 1, "HFM02", 2, 0, 6, 1, 3, 5, 2, 18, 3, 2, 3, 0}, + {"HF", -36, 8, 2, "HFM02", 2, 0, 8, 1, 4, 5, 2, 18, 3, 4, 3, 0}, + {"HF", -36, 10, 1, "HFM02", 3, 0, 7, 2, 4, 2, 2, 18, 5, 7, 4, 0}, + {"HF", -36, 10, 2, "HFM02", 3, 0, 5, 2, 3, 2, 2, 18, 5, 5, 4, 0}, + {"HF", -36, 12, 1, "HFM03", 1, 0, 6, 1, 3, 5, 2, 18, 5, 2, 4, 0}, + {"HF", -36, 12, 2, "HFM03", 1, 0, 8, 1, 4, 5, 2, 18, 5, 4, 4, 0}, + {"HF", -36, 14, 1, "HFM03", 2, 0, 7, 2, 4, 2, 2, 18, 7, 7, 5, 0}, + {"HF", -36, 14, 2, "HFM03", 2, 0, 5, 2, 3, 2, 2, 18, 7, 5, 5, 0}, + {"HF", -36, 16, 1, "HFM03", 3, 0, 6, 1, 3, 5, 2, 18, 7, 2, 5, 0}, + {"HF", -36, 16, 2, "HFM03", 3, 0, 8, 1, 4, 5, 2, 18, 7, 4, 5, 0}, + {"HF", -36, 18, 1, "HFM04", 1, 0, 7, 2, 4, 2, 2, 18, 9, 7, 6, 0}, + {"HF", -36, 18, 2, "HFM04", 1, 0, 5, 2, 3, 2, 2, 18, 9, 5, 6, 0}, + {"HF", -36, 20, 1, "HFM04", 2, 0, 6, 1, 3, 5, 2, 18, 9, 2, 6, 0}, + {"HF", -36, 20, 2, "HFM04", 2, 0, 8, 1, 4, 5, 2, 18, 9, 4, 6, 0}, + {"HF", -36, 22, 1, "HFM04", 3, 0, 7, 2, 4, 2, 2, 18, 11, 7, 7, 0}, + {"HF", -36, 22, 2, "HFM04", 3, 0, 5, 2, 3, 2, 2, 18, 11, 5, 7, 0}, + {"HF", -36, 24, 1, "HFM05", 1, 0, 6, 1, 3, 5, 2, 18, 11, 2, 7, 0}, + {"HF", -36, 24, 2, "HFM05", 1, 0, 8, 1, 4, 5, 2, 18, 11, 4, 7, 0}, + {"HF", -36, 26, 1, "HFM05", 2, 0, 7, 2, 4, 2, 9, 20, 1, 7, 2, 0}, + {"HF", -36, 26, 2, "HFM05", 2, 0, 5, 2, 3, 2, 9, 20, 1, 5, 2, 0}, + {"HF", -36, 28, 1, "HFM05", 3, 0, 6, 1, 3, 5, 9, 20, 1, 2, 2, 0}, + {"HF", -36, 28, 2, "HFM05", 3, 0, 8, 1, 4, 5, 9, 20, 1, 4, 2, 0}, + {"HF", -36, 30, 1, "HFM06", 1, 0, 7, 2, 4, 2, 9, 20, 3, 7, 3, 0}, + {"HF", -36, 30, 2, "HFM06", 1, 0, 5, 2, 3, 2, 9, 20, 3, 5, 3, 0}, + {"HF", -36, 32, 1, "HFM06", 2, 0, 6, 1, 3, 5, 9, 20, 3, 2, 3, 0}, + {"HF", -36, 32, 2, "HFM06", 2, 0, 8, 1, 4, 5, 9, 20, 3, 4, 3, 0}, + {"HF", -36, 34, 1, "HFM06", 3, 0, 7, 2, 4, 2, 9, 20, 5, 7, 4, 0}, + {"HF", -36, 34, 2, "HFM06", 3, 0, 5, 2, 3, 2, 9, 20, 5, 5, 4, 0}, + {"HF", -36, 36, 1, "HFM07", 1, 0, 6, 1, 3, 5, 9, 20, 5, 2, 4, 0}, + {"HF", -36, 36, 2, "HFM07", 1, 0, 8, 1, 4, 5, 9, 20, 5, 4, 4, 0}, + {"HF", -36, 38, 1, "HFM07", 2, 0, 7, 2, 4, 2, 9, 20, 7, 7, 5, 0}, + {"HF", -36, 38, 2, "HFM07", 2, 0, 5, 2, 3, 2, 9, 20, 7, 5, 5, 0}, + {"HF", -36, 40, 1, "HFM07", 3, 0, 6, 1, 3, 5, 9, 20, 7, 2, 5, 0}, + {"HF", -36, 40, 2, "HFM07", 3, 0, 8, 1, 4, 5, 9, 20, 7, 4, 5, 0}, + {"HF", -36, 42, 1, "HFM08", 1, 0, 7, 2, 4, 2, 9, 20, 9, 7, 6, 0}, + {"HF", -36, 42, 2, "HFM08", 1, 0, 5, 2, 3, 2, 9, 20, 9, 5, 6, 0}, + {"HF", -36, 44, 1, "HFM08", 2, 0, 6, 1, 3, 5, 9, 20, 9, 2, 6, 0}, + {"HF", -36, 44, 2, "HFM08", 2, 0, 8, 1, 4, 5, 9, 20, 9, 4, 6, 0}, + {"HF", -36, 46, 1, "HFM08", 3, 0, 7, 2, 4, 2, 9, 20, 11, 7, 7, 0}, + {"HF", -36, 46, 2, "HFM08", 3, 0, 5, 2, 3, 2, 9, 20, 11, 5, 7, 0}, + {"HF", -36, 48, 1, "HFM09", 1, 0, 6, 1, 3, 5, 9, 20, 11, 2, 7, 0}, + {"HF", -36, 48, 2, "HFM09", 1, 0, 8, 1, 4, 5, 9, 20, 11, 4, 7, 0}, + {"HF", -36, 50, 1, "HFM09", 2, 0, 7, 2, 4, 2, 12, 22, 1, 7, 2, 0}, + {"HF", -36, 50, 2, "HFM09", 2, 0, 5, 2, 3, 2, 12, 22, 1, 5, 2, 0}, + {"HF", -36, 52, 1, "HFM09", 3, 0, 6, 1, 3, 5, 12, 22, 1, 2, 2, 0}, + {"HF", -36, 52, 2, "HFM09", 3, 0, 8, 1, 4, 5, 12, 22, 1, 4, 2, 0}, + {"HF", -36, 54, 1, "HFM10", 1, 0, 7, 2, 4, 2, 12, 22, 3, 7, 3, 0}, + {"HF", -36, 54, 2, "HFM10", 1, 0, 5, 2, 3, 2, 12, 22, 3, 5, 3, 0}, + {"HF", -36, 56, 1, "HFM10", 2, 0, 6, 1, 3, 5, 12, 22, 3, 2, 3, 0}, + {"HF", -36, 56, 2, "HFM10", 2, 0, 8, 1, 4, 5, 12, 22, 3, 4, 3, 0}, + {"HF", -36, 58, 1, "HFM10", 3, 0, 7, 2, 4, 2, 12, 22, 5, 7, 4, 0}, + {"HF", -36, 58, 2, "HFM10", 3, 0, 5, 2, 3, 2, 12, 22, 5, 5, 4, 0}, + {"HF", -36, 60, 1, "HFM11", 1, 0, 6, 1, 3, 5, 12, 22, 5, 2, 4, 0}, + {"HF", -36, 60, 2, "HFM11", 1, 0, 8, 1, 4, 5, 12, 22, 5, 4, 4, 0}, + {"HF", -36, 62, 1, "HFM11", 2, 0, 7, 2, 4, 2, 12, 22, 7, 7, 5, 0}, + {"HF", -36, 62, 2, "HFM11", 2, 0, 5, 2, 3, 2, 12, 22, 7, 5, 5, 0}, + {"HF", -36, 64, 1, "HFM11", 3, 0, 6, 1, 3, 5, 12, 22, 7, 2, 5, 0}, + {"HF", -36, 64, 2, "HFM11", 3, 0, 8, 1, 4, 5, 12, 22, 7, 4, 5, 0}, + {"HF", -36, 66, 1, "HFM12", 1, 0, 7, 2, 4, 2, 12, 22, 9, 7, 6, 0}, + {"HF", -36, 66, 2, "HFM12", 1, 0, 5, 2, 3, 2, 12, 22, 9, 5, 6, 0}, + {"HF", -36, 68, 1, "HFM12", 2, 0, 6, 1, 3, 5, 12, 22, 9, 2, 6, 0}, + {"HF", -36, 68, 2, "HFM12", 2, 0, 8, 1, 4, 5, 12, 22, 9, 4, 6, 0}, + {"HF", -36, 70, 1, "HFM12", 3, 0, 7, 2, 4, 2, 12, 22, 11, 7, 7, 0}, + {"HF", -36, 70, 2, "HFM12", 3, 0, 5, 2, 3, 2, 12, 22, 11, 5, 7, 0}, + {"HF", -35, 0, 1, "HFM01", 1, 0, 5, 2, 3, 2, 12, 22, 11, 1, 7, 0}, + {"HF", -35, 0, 2, "HFM01", 1, 0, 7, 2, 4, 2, 12, 22, 11, 3, 7, 0}, + {"HF", -35, 2, 1, "HFM01", 2, 0, 8, 1, 4, 5, 2, 18, 1, 8, 2, 0}, + {"HF", -35, 2, 2, "HFM01", 2, 0, 6, 1, 3, 5, 2, 18, 1, 6, 2, 0}, + {"HF", -35, 4, 1, "HFM01", 3, 0, 5, 2, 3, 2, 2, 18, 1, 1, 2, 0}, + {"HF", -35, 4, 2, "HFM01", 3, 0, 7, 2, 4, 2, 2, 18, 1, 3, 2, 0}, + {"HF", -35, 6, 1, "HFM02", 1, 0, 8, 1, 4, 5, 2, 18, 3, 8, 3, 0}, + {"HF", -35, 6, 2, "HFM02", 1, 0, 6, 1, 3, 5, 2, 18, 3, 6, 3, 0}, + {"HF", -35, 8, 1, "HFM02", 2, 0, 5, 2, 3, 2, 2, 18, 3, 1, 3, 0}, + {"HF", -35, 8, 2, "HFM02", 2, 0, 7, 2, 4, 2, 2, 18, 3, 3, 3, 0}, + {"HF", -35, 10, 1, "HFM02", 3, 0, 8, 1, 4, 5, 2, 18, 5, 8, 4, 0}, + {"HF", -35, 10, 2, "HFM02", 3, 0, 6, 1, 3, 5, 2, 18, 5, 6, 4, 0}, + {"HF", -35, 12, 1, "HFM03", 1, 0, 5, 2, 3, 2, 2, 18, 5, 1, 4, 0}, + {"HF", -35, 12, 2, "HFM03", 1, 0, 7, 2, 4, 2, 2, 18, 5, 3, 4, 0}, + {"HF", -35, 14, 1, "HFM03", 2, 0, 8, 1, 4, 5, 2, 18, 7, 8, 5, 0}, + {"HF", -35, 14, 2, "HFM03", 2, 0, 6, 1, 3, 5, 2, 18, 7, 6, 5, 0}, + {"HF", -35, 16, 1, "HFM03", 3, 0, 5, 2, 3, 2, 2, 18, 7, 1, 5, 0}, + {"HF", -35, 16, 2, "HFM03", 3, 0, 7, 2, 4, 2, 2, 18, 7, 3, 5, 0}, + {"HF", -35, 18, 1, "HFM04", 1, 0, 8, 1, 4, 5, 2, 18, 9, 8, 6, 0}, + {"HF", -35, 18, 2, "HFM04", 1, 0, 6, 1, 3, 5, 2, 18, 9, 6, 6, 0}, + {"HF", -35, 20, 1, "HFM04", 2, 0, 5, 2, 3, 2, 2, 18, 9, 1, 6, 0}, + {"HF", -35, 20, 2, "HFM04", 2, 0, 7, 2, 4, 2, 2, 18, 9, 3, 6, 0}, + {"HF", -35, 22, 1, "HFM04", 3, 0, 8, 1, 4, 5, 2, 18, 11, 8, 7, 0}, + {"HF", -35, 22, 2, "HFM04", 3, 0, 6, 1, 3, 5, 2, 18, 11, 6, 7, 0}, + {"HF", -35, 24, 1, "HFM05", 1, 0, 5, 2, 3, 2, 2, 18, 11, 1, 7, 0}, + {"HF", -35, 24, 2, "HFM05", 1, 0, 7, 2, 4, 2, 2, 18, 11, 3, 7, 0}, + {"HF", -35, 26, 1, "HFM05", 2, 0, 8, 1, 4, 5, 9, 20, 1, 8, 2, 0}, + {"HF", -35, 26, 2, "HFM05", 2, 0, 6, 1, 3, 5, 9, 20, 1, 6, 2, 0}, + {"HF", -35, 28, 1, "HFM05", 3, 0, 5, 2, 3, 2, 9, 20, 1, 1, 2, 0}, + {"HF", -35, 28, 2, "HFM05", 3, 0, 7, 2, 4, 2, 9, 20, 1, 3, 2, 0}, + {"HF", -35, 30, 1, "HFM06", 1, 0, 8, 1, 4, 5, 9, 20, 3, 8, 3, 0}, + {"HF", -35, 30, 2, "HFM06", 1, 0, 6, 1, 3, 5, 9, 20, 3, 6, 3, 0}, + {"HF", -35, 32, 1, "HFM06", 2, 0, 5, 2, 3, 2, 9, 20, 3, 1, 3, 0}, + {"HF", -35, 32, 2, "HFM06", 2, 0, 7, 2, 4, 2, 9, 20, 3, 3, 3, 0}, + {"HF", -35, 34, 1, "HFM06", 3, 0, 8, 1, 4, 5, 9, 20, 5, 8, 4, 0}, + {"HF", -35, 34, 2, "HFM06", 3, 0, 6, 1, 3, 5, 9, 20, 5, 6, 4, 0}, + {"HF", -35, 36, 1, "HFM07", 1, 0, 5, 2, 3, 2, 9, 20, 5, 1, 4, 0}, + {"HF", -35, 36, 2, "HFM07", 1, 0, 7, 2, 4, 2, 9, 20, 5, 3, 4, 0}, + {"HF", -35, 38, 1, "HFM07", 2, 0, 8, 1, 4, 5, 9, 20, 7, 8, 5, 0}, + {"HF", -35, 38, 2, "HFM07", 2, 0, 6, 1, 3, 5, 9, 20, 7, 6, 5, 0}, + {"HF", -35, 40, 1, "HFM07", 3, 0, 5, 2, 3, 2, 9, 20, 7, 1, 5, 0}, + {"HF", -35, 40, 2, "HFM07", 3, 0, 7, 2, 4, 2, 9, 20, 7, 3, 5, 0}, + {"HF", -35, 42, 1, "HFM08", 1, 0, 8, 1, 4, 5, 9, 20, 9, 8, 6, 0}, + {"HF", -35, 42, 2, "HFM08", 1, 0, 6, 1, 3, 5, 9, 20, 9, 6, 6, 0}, + {"HF", -35, 44, 1, "HFM08", 2, 0, 5, 2, 3, 2, 9, 20, 9, 1, 6, 0}, + {"HF", -35, 44, 2, "HFM08", 2, 0, 7, 2, 4, 2, 9, 20, 9, 3, 6, 0}, + {"HF", -35, 46, 1, "HFM08", 3, 0, 8, 1, 4, 5, 9, 20, 11, 8, 7, 0}, + {"HF", -35, 46, 2, "HFM08", 3, 0, 6, 1, 3, 5, 9, 20, 11, 6, 7, 0}, + {"HF", -35, 48, 1, "HFM09", 1, 0, 5, 2, 3, 2, 9, 20, 11, 1, 7, 0}, + {"HF", -35, 48, 2, "HFM09", 1, 0, 7, 2, 4, 2, 9, 20, 11, 3, 7, 0}, + {"HF", -35, 50, 1, "HFM09", 2, 0, 8, 1, 4, 5, 12, 22, 1, 8, 2, 0}, + {"HF", -35, 50, 2, "HFM09", 2, 0, 6, 1, 3, 5, 12, 22, 1, 6, 2, 0}, + {"HF", -35, 52, 1, "HFM09", 3, 0, 5, 2, 3, 2, 12, 22, 1, 1, 2, 0}, + {"HF", -35, 52, 2, "HFM09", 3, 0, 7, 2, 4, 2, 12, 22, 1, 3, 2, 0}, + {"HF", -35, 54, 1, "HFM10", 1, 0, 8, 1, 4, 5, 12, 22, 3, 8, 3, 0}, + {"HF", -35, 54, 2, "HFM10", 1, 0, 6, 1, 3, 5, 12, 22, 3, 6, 3, 0}, + {"HF", -35, 56, 1, "HFM10", 2, 0, 5, 2, 3, 2, 12, 22, 3, 1, 3, 0}, + {"HF", -35, 56, 2, "HFM10", 2, 0, 7, 2, 4, 2, 12, 22, 3, 3, 3, 0}, + {"HF", -35, 58, 1, "HFM10", 3, 0, 8, 1, 4, 5, 12, 22, 5, 8, 4, 0}, + {"HF", -35, 58, 2, "HFM10", 3, 0, 6, 1, 3, 5, 12, 22, 5, 6, 4, 0}, + {"HF", -35, 60, 1, "HFM11", 1, 0, 5, 2, 3, 2, 12, 22, 5, 1, 4, 0}, + {"HF", -35, 60, 2, "HFM11", 1, 0, 7, 2, 4, 2, 12, 22, 5, 3, 4, 0}, + {"HF", -35, 62, 1, "HFM11", 2, 0, 8, 1, 4, 5, 12, 22, 7, 8, 5, 0}, + {"HF", -35, 62, 2, "HFM11", 2, 0, 6, 1, 3, 5, 12, 22, 7, 6, 5, 0}, + {"HF", -35, 64, 1, "HFM11", 3, 0, 5, 2, 3, 2, 12, 22, 7, 1, 5, 0}, + {"HF", -35, 64, 2, "HFM11", 3, 0, 7, 2, 4, 2, 12, 22, 7, 3, 5, 0}, + {"HF", -35, 66, 1, "HFM12", 1, 0, 8, 1, 4, 5, 12, 22, 9, 8, 6, 0}, + {"HF", -35, 66, 2, "HFM12", 1, 0, 6, 1, 3, 5, 12, 22, 9, 6, 6, 0}, + {"HF", -35, 68, 1, "HFM12", 2, 0, 5, 2, 3, 2, 12, 22, 9, 1, 6, 0}, + {"HF", -35, 68, 2, "HFM12", 2, 0, 7, 2, 4, 2, 12, 22, 9, 3, 6, 0}, + {"HF", -35, 70, 1, "HFM12", 3, 0, 8, 1, 4, 5, 12, 22, 11, 8, 7, 0}, + {"HF", -35, 70, 2, "HFM12", 3, 0, 6, 1, 3, 5, 12, 22, 11, 6, 7, 0}, + {"HF", -34, 0, 1, "HFM01", 1, 0, 2, 2, 1, 3, 12, 22, 10, 2, 7, 1}, + {"HF", -34, 0, 2, "HFM01", 1, 0, 4, 2, 2, 3, 12, 22, 10, 4, 7, 1}, + {"HF", -34, 2, 1, "HFM01", 2, 0, 3, 0, 2, 0, 2, 18, 0, 7, 2, 1}, + {"HF", -34, 2, 2, "HFM01", 2, 0, 1, 0, 1, 0, 2, 18, 0, 5, 2, 1}, + {"HF", -34, 4, 1, "HFM01", 3, 0, 2, 2, 1, 3, 2, 18, 0, 2, 2, 1}, + {"HF", -34, 4, 2, "HFM01", 3, 0, 4, 2, 2, 3, 2, 18, 0, 4, 2, 1}, + {"HF", -34, 6, 1, "HFM02", 1, 0, 3, 0, 2, 0, 2, 18, 2, 7, 3, 1}, + {"HF", -34, 6, 2, "HFM02", 1, 0, 1, 0, 1, 0, 2, 18, 2, 5, 3, 1}, + {"HF", -34, 8, 1, "HFM02", 2, 0, 2, 2, 1, 3, 2, 18, 2, 2, 3, 1}, + {"HF", -34, 8, 2, "HFM02", 2, 0, 4, 2, 2, 3, 2, 18, 2, 4, 3, 1}, + {"HF", -34, 10, 1, "HFM02", 3, 0, 3, 0, 2, 0, 2, 18, 4, 7, 4, 1}, + {"HF", -34, 10, 2, "HFM02", 3, 0, 1, 0, 1, 0, 2, 18, 4, 5, 4, 1}, + {"HF", -34, 12, 1, "HFM03", 1, 0, 2, 2, 1, 3, 2, 18, 4, 2, 4, 1}, + {"HF", -34, 12, 2, "HFM03", 1, 0, 4, 2, 2, 3, 2, 18, 4, 4, 4, 1}, + {"HF", -34, 14, 1, "HFM03", 2, 0, 3, 0, 2, 0, 2, 18, 6, 7, 5, 1}, + {"HF", -34, 14, 2, "HFM03", 2, 0, 1, 0, 1, 0, 2, 18, 6, 5, 5, 1}, + {"HF", -34, 16, 1, "HFM03", 3, 0, 2, 2, 1, 3, 2, 18, 6, 2, 5, 1}, + {"HF", -34, 16, 2, "HFM03", 3, 0, 4, 2, 2, 3, 2, 18, 6, 4, 5, 1}, + {"HF", -34, 18, 1, "HFM04", 1, 0, 3, 0, 2, 0, 2, 18, 8, 7, 6, 1}, + {"HF", -34, 18, 2, "HFM04", 1, 0, 1, 0, 1, 0, 2, 18, 8, 5, 6, 1}, + {"HF", -34, 20, 1, "HFM04", 2, 0, 2, 2, 1, 3, 2, 18, 8, 2, 6, 1}, + {"HF", -34, 20, 2, "HFM04", 2, 0, 4, 2, 2, 3, 2, 18, 8, 4, 6, 1}, + {"HF", -34, 22, 1, "HFM04", 3, 0, 3, 0, 2, 0, 2, 18, 10, 7, 7, 1}, + {"HF", -34, 22, 2, "HFM04", 3, 0, 1, 0, 1, 0, 2, 18, 10, 5, 7, 1}, + {"HF", -34, 24, 1, "HFM05", 1, 0, 2, 2, 1, 3, 2, 18, 10, 2, 7, 1}, + {"HF", -34, 24, 2, "HFM05", 1, 0, 4, 2, 2, 3, 2, 18, 10, 4, 7, 1}, + {"HF", -34, 26, 1, "HFM05", 2, 0, 3, 0, 2, 0, 9, 20, 0, 7, 2, 1}, + {"HF", -34, 26, 2, "HFM05", 2, 0, 1, 0, 1, 0, 9, 20, 0, 5, 2, 1}, + {"HF", -34, 28, 1, "HFM05", 3, 0, 2, 2, 1, 3, 9, 20, 0, 2, 2, 1}, + {"HF", -34, 28, 2, "HFM05", 3, 0, 4, 2, 2, 3, 9, 20, 0, 4, 2, 1}, + {"HF", -34, 30, 1, "HFM06", 1, 0, 3, 0, 2, 0, 9, 20, 2, 7, 3, 1}, + {"HF", -34, 30, 2, "HFM06", 1, 0, 1, 0, 1, 0, 9, 20, 2, 5, 3, 1}, + {"HF", -34, 32, 1, "HFM06", 2, 0, 2, 2, 1, 3, 9, 20, 2, 2, 3, 1}, + {"HF", -34, 32, 2, "HFM06", 2, 0, 4, 2, 2, 3, 9, 20, 2, 4, 3, 1}, + {"HF", -34, 34, 1, "HFM06", 3, 0, 3, 0, 2, 0, 9, 20, 4, 7, 4, 1}, + {"HF", -34, 34, 2, "HFM06", 3, 0, 1, 0, 1, 0, 9, 20, 4, 5, 4, 1}, + {"HF", -34, 36, 1, "HFM07", 1, 0, 2, 2, 1, 3, 9, 20, 4, 2, 4, 1}, + {"HF", -34, 36, 2, "HFM07", 1, 0, 4, 2, 2, 3, 9, 20, 4, 4, 4, 1}, + {"HF", -34, 38, 1, "HFM07", 2, 0, 3, 0, 2, 0, 9, 20, 6, 7, 5, 1}, + {"HF", -34, 38, 2, "HFM07", 2, 0, 1, 0, 1, 0, 9, 20, 6, 5, 5, 1}, + {"HF", -34, 40, 1, "HFM07", 3, 0, 2, 2, 1, 3, 9, 20, 6, 2, 5, 1}, + {"HF", -34, 40, 2, "HFM07", 3, 0, 4, 2, 2, 3, 9, 20, 6, 4, 5, 1}, + {"HF", -34, 42, 1, "HFM08", 1, 0, 3, 0, 2, 0, 9, 20, 8, 7, 6, 1}, + {"HF", -34, 42, 2, "HFM08", 1, 0, 1, 0, 1, 0, 9, 20, 8, 5, 6, 1}, + {"HF", -34, 44, 1, "HFM08", 2, 0, 2, 2, 1, 3, 9, 20, 8, 2, 6, 1}, + {"HF", -34, 44, 2, "HFM08", 2, 0, 4, 2, 2, 3, 9, 20, 8, 4, 6, 1}, + {"HF", -34, 46, 1, "HFM08", 3, 0, 3, 0, 2, 0, 9, 20, 10, 7, 7, 1}, + {"HF", -34, 46, 2, "HFM08", 3, 0, 1, 0, 1, 0, 9, 20, 10, 5, 7, 1}, + {"HF", -34, 48, 1, "HFM09", 1, 0, 2, 2, 1, 3, 9, 20, 10, 2, 7, 1}, + {"HF", -34, 48, 2, "HFM09", 1, 0, 4, 2, 2, 3, 9, 20, 10, 4, 7, 1}, + {"HF", -34, 50, 1, "HFM09", 2, 0, 3, 0, 2, 0, 12, 22, 0, 7, 2, 1}, + {"HF", -34, 50, 2, "HFM09", 2, 0, 1, 0, 1, 0, 12, 22, 0, 5, 2, 1}, + {"HF", -34, 52, 1, "HFM09", 3, 0, 2, 2, 1, 3, 12, 22, 0, 2, 2, 1}, + {"HF", -34, 52, 2, "HFM09", 3, 0, 4, 2, 2, 3, 12, 22, 0, 4, 2, 1}, + {"HF", -34, 54, 1, "HFM10", 1, 0, 3, 0, 2, 0, 12, 22, 2, 7, 3, 1}, + {"HF", -34, 54, 2, "HFM10", 1, 0, 1, 0, 1, 0, 12, 22, 2, 5, 3, 1}, + {"HF", -34, 56, 1, "HFM10", 2, 0, 2, 2, 1, 3, 12, 22, 2, 2, 3, 1}, + {"HF", -34, 56, 2, "HFM10", 2, 0, 4, 2, 2, 3, 12, 22, 2, 4, 3, 1}, + {"HF", -34, 58, 1, "HFM10", 3, 0, 3, 0, 2, 0, 12, 22, 4, 7, 4, 1}, + {"HF", -34, 58, 2, "HFM10", 3, 0, 1, 0, 1, 0, 12, 22, 4, 5, 4, 1}, + {"HF", -34, 60, 1, "HFM11", 1, 0, 2, 2, 1, 3, 12, 22, 4, 2, 4, 1}, + {"HF", -34, 60, 2, "HFM11", 1, 0, 4, 2, 2, 3, 12, 22, 4, 4, 4, 1}, + {"HF", -34, 62, 1, "HFM11", 2, 0, 3, 0, 2, 0, 12, 22, 6, 7, 5, 1}, + {"HF", -34, 62, 2, "HFM11", 2, 0, 1, 0, 1, 0, 12, 22, 6, 5, 5, 1}, + {"HF", -34, 64, 1, "HFM11", 3, 0, 2, 2, 1, 3, 12, 22, 6, 2, 5, 1}, + {"HF", -34, 64, 2, "HFM11", 3, 0, 4, 2, 2, 3, 12, 22, 6, 4, 5, 1}, + {"HF", -34, 66, 1, "HFM12", 1, 0, 3, 0, 2, 0, 12, 22, 8, 7, 6, 1}, + {"HF", -34, 66, 2, "HFM12", 1, 0, 1, 0, 1, 0, 12, 22, 8, 5, 6, 1}, + {"HF", -34, 68, 1, "HFM12", 2, 0, 2, 2, 1, 3, 12, 22, 8, 2, 6, 1}, + {"HF", -34, 68, 2, "HFM12", 2, 0, 4, 2, 2, 3, 12, 22, 8, 4, 6, 1}, + {"HF", -34, 70, 1, "HFM12", 3, 0, 3, 0, 2, 0, 12, 22, 10, 7, 7, 1}, + {"HF", -34, 70, 2, "HFM12", 3, 0, 1, 0, 1, 0, 12, 22, 10, 5, 7, 1}, + {"HF", -33, 0, 1, "HFM01", 1, 0, 1, 0, 1, 0, 12, 22, 10, 1, 7, 1}, + {"HF", -33, 0, 2, "HFM01", 1, 0, 3, 0, 2, 0, 12, 22, 10, 3, 7, 1}, + {"HF", -33, 2, 1, "HFM01", 2, 0, 4, 2, 2, 3, 2, 18, 0, 8, 2, 1}, + {"HF", -33, 2, 2, "HFM01", 2, 0, 2, 2, 1, 3, 2, 18, 0, 6, 2, 1}, + {"HF", -33, 4, 1, "HFM01", 3, 0, 1, 0, 1, 0, 2, 18, 0, 1, 2, 1}, + {"HF", -33, 4, 2, "HFM01", 3, 0, 3, 0, 2, 0, 2, 18, 0, 3, 2, 1}, + {"HF", -33, 6, 1, "HFM02", 1, 0, 4, 2, 2, 3, 2, 18, 2, 8, 3, 1}, + {"HF", -33, 6, 2, "HFM02", 1, 0, 2, 2, 1, 3, 2, 18, 2, 6, 3, 1}, + {"HF", -33, 8, 1, "HFM02", 2, 0, 1, 0, 1, 0, 2, 18, 2, 1, 3, 1}, + {"HF", -33, 8, 2, "HFM02", 2, 0, 3, 0, 2, 0, 2, 18, 2, 3, 3, 1}, + {"HF", -33, 10, 1, "HFM02", 3, 0, 4, 2, 2, 3, 2, 18, 4, 8, 4, 1}, + {"HF", -33, 10, 2, "HFM02", 3, 0, 2, 2, 1, 3, 2, 18, 4, 6, 4, 1}, + {"HF", -33, 12, 1, "HFM03", 1, 0, 1, 0, 1, 0, 2, 18, 4, 1, 4, 1}, + {"HF", -33, 12, 2, "HFM03", 1, 0, 3, 0, 2, 0, 2, 18, 4, 3, 4, 1}, + {"HF", -33, 14, 1, "HFM03", 2, 0, 4, 2, 2, 3, 2, 18, 6, 8, 5, 1}, + {"HF", -33, 14, 2, "HFM03", 2, 0, 2, 2, 1, 3, 2, 18, 6, 6, 5, 1}, + {"HF", -33, 16, 1, "HFM03", 3, 0, 1, 0, 1, 0, 2, 18, 6, 1, 5, 1}, + {"HF", -33, 16, 2, "HFM03", 3, 0, 3, 0, 2, 0, 2, 18, 6, 3, 5, 1}, + {"HF", -33, 18, 1, "HFM04", 1, 0, 4, 2, 2, 3, 2, 18, 8, 8, 6, 1}, + {"HF", -33, 18, 2, "HFM04", 1, 0, 2, 2, 1, 3, 2, 18, 8, 6, 6, 1}, + {"HF", -33, 20, 1, "HFM04", 2, 0, 1, 0, 1, 0, 2, 18, 8, 1, 6, 1}, + {"HF", -33, 20, 2, "HFM04", 2, 0, 3, 0, 2, 0, 2, 18, 8, 3, 6, 1}, + {"HF", -33, 22, 1, "HFM04", 3, 0, 4, 2, 2, 3, 2, 18, 10, 8, 7, 1}, + {"HF", -33, 22, 2, "HFM04", 3, 0, 2, 2, 1, 3, 2, 18, 10, 6, 7, 1}, + {"HF", -33, 24, 1, "HFM05", 1, 0, 1, 0, 1, 0, 2, 18, 10, 1, 7, 1}, + {"HF", -33, 24, 2, "HFM05", 1, 0, 3, 0, 2, 0, 2, 18, 10, 3, 7, 1}, + {"HF", -33, 26, 1, "HFM05", 2, 0, 4, 2, 2, 3, 9, 20, 0, 8, 2, 1}, + {"HF", -33, 26, 2, "HFM05", 2, 0, 2, 2, 1, 3, 9, 20, 0, 6, 2, 1}, + {"HF", -33, 28, 1, "HFM05", 3, 0, 1, 0, 1, 0, 9, 20, 0, 1, 2, 1}, + {"HF", -33, 28, 2, "HFM05", 3, 0, 3, 0, 2, 0, 9, 20, 0, 3, 2, 1}, + {"HF", -33, 30, 1, "HFM06", 1, 0, 4, 2, 2, 3, 9, 20, 2, 8, 3, 1}, + {"HF", -33, 30, 2, "HFM06", 1, 0, 2, 2, 1, 3, 9, 20, 2, 6, 3, 1}, + {"HF", -33, 32, 1, "HFM06", 2, 0, 1, 0, 1, 0, 9, 20, 2, 1, 3, 1}, + {"HF", -33, 32, 2, "HFM06", 2, 0, 3, 0, 2, 0, 9, 20, 2, 3, 3, 1}, + {"HF", -33, 34, 1, "HFM06", 3, 0, 4, 2, 2, 3, 9, 20, 4, 8, 4, 1}, + {"HF", -33, 34, 2, "HFM06", 3, 0, 2, 2, 1, 3, 9, 20, 4, 6, 4, 1}, + {"HF", -33, 36, 1, "HFM07", 1, 0, 1, 0, 1, 0, 9, 20, 4, 1, 4, 1}, + {"HF", -33, 36, 2, "HFM07", 1, 0, 3, 0, 2, 0, 9, 20, 4, 3, 4, 1}, + {"HF", -33, 38, 1, "HFM07", 2, 0, 4, 2, 2, 3, 9, 20, 6, 8, 5, 1}, + {"HF", -33, 38, 2, "HFM07", 2, 0, 2, 2, 1, 3, 9, 20, 6, 6, 5, 1}, + {"HF", -33, 40, 1, "HFM07", 3, 0, 1, 0, 1, 0, 9, 20, 6, 1, 5, 1}, + {"HF", -33, 40, 2, "HFM07", 3, 0, 3, 0, 2, 0, 9, 20, 6, 3, 5, 1}, + {"HF", -33, 42, 1, "HFM08", 1, 0, 4, 2, 2, 3, 9, 20, 8, 8, 6, 1}, + {"HF", -33, 42, 2, "HFM08", 1, 0, 2, 2, 1, 3, 9, 20, 8, 6, 6, 1}, + {"HF", -33, 44, 1, "HFM08", 2, 0, 1, 0, 1, 0, 9, 20, 8, 1, 6, 1}, + {"HF", -33, 44, 2, "HFM08", 2, 0, 3, 0, 2, 0, 9, 20, 8, 3, 6, 1}, + {"HF", -33, 46, 1, "HFM08", 3, 0, 4, 2, 2, 3, 9, 20, 10, 8, 7, 1}, + {"HF", -33, 46, 2, "HFM08", 3, 0, 2, 2, 1, 3, 9, 20, 10, 6, 7, 1}, + {"HF", -33, 48, 1, "HFM09", 1, 0, 1, 0, 1, 0, 9, 20, 10, 1, 7, 1}, + {"HF", -33, 48, 2, "HFM09", 1, 0, 3, 0, 2, 0, 9, 20, 10, 3, 7, 1}, + {"HF", -33, 50, 1, "HFM09", 2, 0, 4, 2, 2, 3, 12, 22, 0, 8, 2, 1}, + {"HF", -33, 50, 2, "HFM09", 2, 0, 2, 2, 1, 3, 12, 22, 0, 6, 2, 1}, + {"HF", -33, 52, 1, "HFM09", 3, 0, 1, 0, 1, 0, 12, 22, 0, 1, 2, 1}, + {"HF", -33, 52, 2, "HFM09", 3, 0, 3, 0, 2, 0, 12, 22, 0, 3, 2, 1}, + {"HF", -33, 54, 1, "HFM10", 1, 0, 4, 2, 2, 3, 12, 22, 2, 8, 3, 1}, + {"HF", -33, 54, 2, "HFM10", 1, 0, 2, 2, 1, 3, 12, 22, 2, 6, 3, 1}, + {"HF", -33, 56, 1, "HFM10", 2, 0, 1, 0, 1, 0, 12, 22, 2, 1, 3, 1}, + {"HF", -33, 56, 2, "HFM10", 2, 0, 3, 0, 2, 0, 12, 22, 2, 3, 3, 1}, + {"HF", -33, 58, 1, "HFM10", 3, 0, 4, 2, 2, 3, 12, 22, 4, 8, 4, 1}, + {"HF", -33, 58, 2, "HFM10", 3, 0, 2, 2, 1, 3, 12, 22, 4, 6, 4, 1}, + {"HF", -33, 60, 1, "HFM11", 1, 0, 1, 0, 1, 0, 12, 22, 4, 1, 4, 1}, + {"HF", -33, 60, 2, "HFM11", 1, 0, 3, 0, 2, 0, 12, 22, 4, 3, 4, 1}, + {"HF", -33, 62, 1, "HFM11", 2, 0, 4, 2, 2, 3, 12, 22, 6, 8, 5, 1}, + {"HF", -33, 62, 2, "HFM11", 2, 0, 2, 2, 1, 3, 12, 22, 6, 6, 5, 1}, + {"HF", -33, 64, 1, "HFM11", 3, 0, 1, 0, 1, 0, 12, 22, 6, 1, 5, 1}, + {"HF", -33, 64, 2, "HFM11", 3, 0, 3, 0, 2, 0, 12, 22, 6, 3, 5, 1}, + {"HF", -33, 66, 1, "HFM12", 1, 0, 4, 2, 2, 3, 12, 22, 8, 8, 6, 1}, + {"HF", -33, 66, 2, "HFM12", 1, 0, 2, 2, 1, 3, 12, 22, 8, 6, 6, 1}, + {"HF", -33, 68, 1, "HFM12", 2, 0, 1, 0, 1, 0, 12, 22, 8, 1, 6, 1}, + {"HF", -33, 68, 2, "HFM12", 2, 0, 3, 0, 2, 0, 12, 22, 8, 3, 6, 1}, + {"HF", -33, 70, 1, "HFM12", 3, 0, 4, 2, 2, 3, 12, 22, 10, 8, 7, 1}, + {"HF", -33, 70, 2, "HFM12", 3, 0, 2, 2, 1, 3, 12, 22, 10, 6, 7, 1}, + {"HF", -32, 0, 1, "HFM01", 1, 0, 2, 0, 1, 4, 12, 22, 10, 2, 7, 1}, + {"HF", -32, 0, 2, "HFM01", 1, 0, 4, 0, 2, 4, 12, 22, 10, 4, 7, 1}, + {"HF", -32, 2, 1, "HFM01", 2, 0, 3, 1, 2, 1, 2, 18, 0, 7, 2, 1}, + {"HF", -32, 2, 2, "HFM01", 2, 0, 1, 1, 1, 1, 2, 18, 0, 5, 2, 1}, + {"HF", -32, 4, 1, "HFM01", 3, 0, 2, 0, 1, 4, 2, 18, 0, 2, 2, 1}, + {"HF", -32, 4, 2, "HFM01", 3, 0, 4, 0, 2, 4, 2, 18, 0, 4, 2, 1}, + {"HF", -32, 6, 1, "HFM02", 1, 0, 3, 1, 2, 1, 2, 18, 2, 7, 3, 1}, + {"HF", -32, 6, 2, "HFM02", 1, 0, 1, 1, 1, 1, 2, 18, 2, 5, 3, 1}, + {"HF", -32, 8, 1, "HFM02", 2, 0, 2, 0, 1, 4, 2, 18, 2, 2, 3, 1}, + {"HF", -32, 8, 2, "HFM02", 2, 0, 4, 0, 2, 4, 2, 18, 2, 4, 3, 1}, + {"HF", -32, 10, 1, "HFM02", 3, 0, 3, 1, 2, 1, 2, 18, 4, 7, 4, 1}, + {"HF", -32, 10, 2, "HFM02", 3, 0, 1, 1, 1, 1, 2, 18, 4, 5, 4, 1}, + {"HF", -32, 12, 1, "HFM03", 1, 0, 2, 0, 1, 4, 2, 18, 4, 2, 4, 1}, + {"HF", -32, 12, 2, "HFM03", 1, 0, 4, 0, 2, 4, 2, 18, 4, 4, 4, 1}, + {"HF", -32, 14, 1, "HFM03", 2, 0, 3, 1, 2, 1, 2, 18, 6, 7, 5, 1}, + {"HF", -32, 14, 2, "HFM03", 2, 0, 1, 1, 1, 1, 2, 18, 6, 5, 5, 1}, + {"HF", -32, 16, 1, "HFM03", 3, 0, 2, 0, 1, 4, 2, 18, 6, 2, 5, 1}, + {"HF", -32, 16, 2, "HFM03", 3, 0, 4, 0, 2, 4, 2, 18, 6, 4, 5, 1}, + {"HF", -32, 18, 1, "HFM04", 1, 0, 3, 1, 2, 1, 2, 18, 8, 7, 6, 1}, + {"HF", -32, 18, 2, "HFM04", 1, 0, 1, 1, 1, 1, 2, 18, 8, 5, 6, 1}, + {"HF", -32, 20, 1, "HFM04", 2, 0, 2, 0, 1, 4, 2, 18, 8, 2, 6, 1}, + {"HF", -32, 20, 2, "HFM04", 2, 0, 4, 0, 2, 4, 2, 18, 8, 4, 6, 1}, + {"HF", -32, 22, 1, "HFM04", 3, 0, 3, 1, 2, 1, 2, 18, 10, 7, 7, 1}, + {"HF", -32, 22, 2, "HFM04", 3, 0, 1, 1, 1, 1, 2, 18, 10, 5, 7, 1}, + {"HF", -32, 24, 1, "HFM05", 1, 0, 2, 0, 1, 4, 2, 18, 10, 2, 7, 1}, + {"HF", -32, 24, 2, "HFM05", 1, 0, 4, 0, 2, 4, 2, 18, 10, 4, 7, 1}, + {"HF", -32, 26, 1, "HFM05", 2, 0, 3, 1, 2, 1, 9, 20, 0, 7, 2, 1}, + {"HF", -32, 26, 2, "HFM05", 2, 0, 1, 1, 1, 1, 9, 20, 0, 5, 2, 1}, + {"HF", -32, 28, 1, "HFM05", 3, 0, 2, 0, 1, 4, 9, 20, 0, 2, 2, 1}, + {"HF", -32, 28, 2, "HFM05", 3, 0, 4, 0, 2, 4, 9, 20, 0, 4, 2, 1}, + {"HF", -32, 30, 1, "HFM06", 1, 0, 3, 1, 2, 1, 9, 20, 2, 7, 3, 1}, + {"HF", -32, 30, 2, "HFM06", 1, 0, 1, 1, 1, 1, 9, 20, 2, 5, 3, 1}, + {"HF", -32, 32, 1, "HFM06", 2, 0, 2, 0, 1, 4, 9, 20, 2, 2, 3, 1}, + {"HF", -32, 32, 2, "HFM06", 2, 0, 4, 0, 2, 4, 9, 20, 2, 4, 3, 1}, + {"HF", -32, 34, 1, "HFM06", 3, 0, 3, 1, 2, 1, 9, 20, 4, 7, 4, 1}, + {"HF", -32, 34, 2, "HFM06", 3, 0, 1, 1, 1, 1, 9, 20, 4, 5, 4, 1}, + {"HF", -32, 36, 1, "HFM07", 1, 0, 2, 0, 1, 4, 9, 20, 4, 2, 4, 1}, + {"HF", -32, 36, 2, "HFM07", 1, 0, 4, 0, 2, 4, 9, 20, 4, 4, 4, 1}, + {"HF", -32, 38, 1, "HFM07", 2, 0, 3, 1, 2, 1, 9, 20, 6, 7, 5, 1}, + {"HF", -32, 38, 2, "HFM07", 2, 0, 1, 1, 1, 1, 9, 20, 6, 5, 5, 1}, + {"HF", -32, 40, 1, "HFM07", 3, 0, 2, 0, 1, 4, 9, 20, 6, 2, 5, 1}, + {"HF", -32, 40, 2, "HFM07", 3, 0, 4, 0, 2, 4, 9, 20, 6, 4, 5, 1}, + {"HF", -32, 42, 1, "HFM08", 1, 0, 3, 1, 2, 1, 9, 20, 8, 7, 6, 1}, + {"HF", -32, 42, 2, "HFM08", 1, 0, 1, 1, 1, 1, 9, 20, 8, 5, 6, 1}, + {"HF", -32, 44, 1, "HFM08", 2, 0, 2, 0, 1, 4, 9, 20, 8, 2, 6, 1}, + {"HF", -32, 44, 2, "HFM08", 2, 0, 4, 0, 2, 4, 9, 20, 8, 4, 6, 1}, + {"HF", -32, 46, 1, "HFM08", 3, 0, 3, 1, 2, 1, 9, 20, 10, 7, 7, 1}, + {"HF", -32, 46, 2, "HFM08", 3, 0, 1, 1, 1, 1, 9, 20, 10, 5, 7, 1}, + {"HF", -32, 48, 1, "HFM09", 1, 0, 2, 0, 1, 4, 9, 20, 10, 2, 7, 1}, + {"HF", -32, 48, 2, "HFM09", 1, 0, 4, 0, 2, 4, 9, 20, 10, 4, 7, 1}, + {"HF", -32, 50, 1, "HFM09", 2, 0, 3, 1, 2, 1, 12, 22, 0, 7, 2, 1}, + {"HF", -32, 50, 2, "HFM09", 2, 0, 1, 1, 1, 1, 12, 22, 0, 5, 2, 1}, + {"HF", -32, 52, 1, "HFM09", 3, 0, 2, 0, 1, 4, 12, 22, 0, 2, 2, 1}, + {"HF", -32, 52, 2, "HFM09", 3, 0, 4, 0, 2, 4, 12, 22, 0, 4, 2, 1}, + {"HF", -32, 54, 1, "HFM10", 1, 0, 3, 1, 2, 1, 12, 22, 2, 7, 3, 1}, + {"HF", -32, 54, 2, "HFM10", 1, 0, 1, 1, 1, 1, 12, 22, 2, 5, 3, 1}, + {"HF", -32, 56, 1, "HFM10", 2, 0, 2, 0, 1, 4, 12, 22, 2, 2, 3, 1}, + {"HF", -32, 56, 2, "HFM10", 2, 0, 4, 0, 2, 4, 12, 22, 2, 4, 3, 1}, + {"HF", -32, 58, 1, "HFM10", 3, 0, 3, 1, 2, 1, 12, 22, 4, 7, 4, 1}, + {"HF", -32, 58, 2, "HFM10", 3, 0, 1, 1, 1, 1, 12, 22, 4, 5, 4, 1}, + {"HF", -32, 60, 1, "HFM11", 1, 0, 2, 0, 1, 4, 12, 22, 4, 2, 4, 1}, + {"HF", -32, 60, 2, "HFM11", 1, 0, 4, 0, 2, 4, 12, 22, 4, 4, 4, 1}, + {"HF", -32, 62, 1, "HFM11", 2, 0, 3, 1, 2, 1, 12, 22, 6, 7, 5, 1}, + {"HF", -32, 62, 2, "HFM11", 2, 0, 1, 1, 1, 1, 12, 22, 6, 5, 5, 1}, + {"HF", -32, 64, 1, "HFM11", 3, 0, 2, 0, 1, 4, 12, 22, 6, 2, 5, 1}, + {"HF", -32, 64, 2, "HFM11", 3, 0, 4, 0, 2, 4, 12, 22, 6, 4, 5, 1}, + {"HF", -32, 66, 1, "HFM12", 1, 0, 3, 1, 2, 1, 12, 22, 8, 7, 6, 1}, + {"HF", -32, 66, 2, "HFM12", 1, 0, 1, 1, 1, 1, 12, 22, 8, 5, 6, 1}, + {"HF", -32, 68, 1, "HFM12", 2, 0, 2, 0, 1, 4, 12, 22, 8, 2, 6, 1}, + {"HF", -32, 68, 2, "HFM12", 2, 0, 4, 0, 2, 4, 12, 22, 8, 4, 6, 1}, + {"HF", -32, 70, 1, "HFM12", 3, 0, 3, 1, 2, 1, 12, 22, 10, 7, 7, 1}, + {"HF", -32, 70, 2, "HFM12", 3, 0, 1, 1, 1, 1, 12, 22, 10, 5, 7, 1}, + {"HF", -31, 0, 1, "HFM01", 1, 0, 1, 1, 1, 1, 12, 22, 10, 1, 7, 1}, + {"HF", -31, 0, 2, "HFM01", 1, 0, 3, 1, 2, 1, 12, 22, 10, 3, 7, 1}, + {"HF", -31, 2, 1, "HFM01", 2, 0, 4, 0, 2, 4, 2, 18, 0, 8, 2, 1}, + {"HF", -31, 2, 2, "HFM01", 2, 0, 2, 0, 1, 4, 2, 18, 0, 6, 2, 1}, + {"HF", -31, 4, 1, "HFM01", 3, 0, 1, 1, 1, 1, 2, 18, 0, 1, 2, 1}, + {"HF", -31, 4, 2, "HFM01", 3, 0, 3, 1, 2, 1, 2, 18, 0, 3, 2, 1}, + {"HF", -31, 6, 1, "HFM02", 1, 0, 4, 0, 2, 4, 2, 18, 2, 8, 3, 1}, + {"HF", -31, 6, 2, "HFM02", 1, 0, 2, 0, 1, 4, 2, 18, 2, 6, 3, 1}, + {"HF", -31, 8, 1, "HFM02", 2, 0, 1, 1, 1, 1, 2, 18, 2, 1, 3, 1}, + {"HF", -31, 8, 2, "HFM02", 2, 0, 3, 1, 2, 1, 2, 18, 2, 3, 3, 1}, + {"HF", -31, 10, 1, "HFM02", 3, 0, 4, 0, 2, 4, 2, 18, 4, 8, 4, 1}, + {"HF", -31, 10, 2, "HFM02", 3, 0, 2, 0, 1, 4, 2, 18, 4, 6, 4, 1}, + {"HF", -31, 12, 1, "HFM03", 1, 0, 1, 1, 1, 1, 2, 18, 4, 1, 4, 1}, + {"HF", -31, 12, 2, "HFM03", 1, 0, 3, 1, 2, 1, 2, 18, 4, 3, 4, 1}, + {"HF", -31, 14, 1, "HFM03", 2, 0, 4, 0, 2, 4, 2, 18, 6, 8, 5, 1}, + {"HF", -31, 14, 2, "HFM03", 2, 0, 2, 0, 1, 4, 2, 18, 6, 6, 5, 1}, + {"HF", -31, 16, 1, "HFM03", 3, 0, 1, 1, 1, 1, 2, 18, 6, 1, 5, 1}, + {"HF", -31, 16, 2, "HFM03", 3, 0, 3, 1, 2, 1, 2, 18, 6, 3, 5, 1}, + {"HF", -31, 18, 1, "HFM04", 1, 0, 4, 0, 2, 4, 2, 18, 8, 8, 6, 1}, + {"HF", -31, 18, 2, "HFM04", 1, 0, 2, 0, 1, 4, 2, 18, 8, 6, 6, 1}, + {"HF", -31, 20, 1, "HFM04", 2, 0, 1, 1, 1, 1, 2, 18, 8, 1, 6, 1}, + {"HF", -31, 20, 2, "HFM04", 2, 0, 3, 1, 2, 1, 2, 18, 8, 3, 6, 1}, + {"HF", -31, 22, 1, "HFM04", 3, 0, 4, 0, 2, 4, 2, 18, 10, 8, 7, 1}, + {"HF", -31, 22, 2, "HFM04", 3, 0, 2, 0, 1, 4, 2, 18, 10, 6, 7, 1}, + {"HF", -31, 24, 1, "HFM05", 1, 0, 1, 1, 1, 1, 2, 18, 10, 1, 7, 1}, + {"HF", -31, 24, 2, "HFM05", 1, 0, 3, 1, 2, 1, 2, 18, 10, 3, 7, 1}, + {"HF", -31, 26, 1, "HFM05", 2, 0, 4, 0, 2, 4, 9, 20, 0, 8, 2, 1}, + {"HF", -31, 26, 2, "HFM05", 2, 0, 2, 0, 1, 4, 9, 20, 0, 6, 2, 1}, + {"HF", -31, 28, 1, "HFM05", 3, 0, 1, 1, 1, 1, 9, 20, 0, 1, 2, 1}, + {"HF", -31, 28, 2, "HFM05", 3, 0, 3, 1, 2, 1, 9, 20, 0, 3, 2, 1}, + {"HF", -31, 30, 1, "HFM06", 1, 0, 4, 0, 2, 4, 9, 20, 2, 8, 3, 1}, + {"HF", -31, 30, 2, "HFM06", 1, 0, 2, 0, 1, 4, 9, 20, 2, 6, 3, 1}, + {"HF", -31, 32, 1, "HFM06", 2, 0, 1, 1, 1, 1, 9, 20, 2, 1, 3, 1}, + {"HF", -31, 32, 2, "HFM06", 2, 0, 3, 1, 2, 1, 9, 20, 2, 3, 3, 1}, + {"HF", -31, 34, 1, "HFM06", 3, 0, 4, 0, 2, 4, 9, 20, 4, 8, 4, 1}, + {"HF", -31, 34, 2, "HFM06", 3, 0, 2, 0, 1, 4, 9, 20, 4, 6, 4, 1}, + {"HF", -31, 36, 1, "HFM07", 1, 0, 1, 1, 1, 1, 9, 20, 4, 1, 4, 1}, + {"HF", -31, 36, 2, "HFM07", 1, 0, 3, 1, 2, 1, 9, 20, 4, 3, 4, 1}, + {"HF", -31, 38, 1, "HFM07", 2, 0, 4, 0, 2, 4, 9, 20, 6, 8, 5, 1}, + {"HF", -31, 38, 2, "HFM07", 2, 0, 2, 0, 1, 4, 9, 20, 6, 6, 5, 1}, + {"HF", -31, 40, 1, "HFM07", 3, 0, 1, 1, 1, 1, 9, 20, 6, 1, 5, 1}, + {"HF", -31, 40, 2, "HFM07", 3, 0, 3, 1, 2, 1, 9, 20, 6, 3, 5, 1}, + {"HF", -31, 42, 1, "HFM08", 1, 0, 4, 0, 2, 4, 9, 20, 8, 8, 6, 1}, + {"HF", -31, 42, 2, "HFM08", 1, 0, 2, 0, 1, 4, 9, 20, 8, 6, 6, 1}, + {"HF", -31, 44, 1, "HFM08", 2, 0, 1, 1, 1, 1, 9, 20, 8, 1, 6, 1}, + {"HF", -31, 44, 2, "HFM08", 2, 0, 3, 1, 2, 1, 9, 20, 8, 3, 6, 1}, + {"HF", -31, 46, 1, "HFM08", 3, 0, 4, 0, 2, 4, 9, 20, 10, 8, 7, 1}, + {"HF", -31, 46, 2, "HFM08", 3, 0, 2, 0, 1, 4, 9, 20, 10, 6, 7, 1}, + {"HF", -31, 48, 1, "HFM09", 1, 0, 1, 1, 1, 1, 9, 20, 10, 1, 7, 1}, + {"HF", -31, 48, 2, "HFM09", 1, 0, 3, 1, 2, 1, 9, 20, 10, 3, 7, 1}, + {"HF", -31, 50, 1, "HFM09", 2, 0, 4, 0, 2, 4, 12, 22, 0, 8, 2, 1}, + {"HF", -31, 50, 2, "HFM09", 2, 0, 2, 0, 1, 4, 12, 22, 0, 6, 2, 1}, + {"HF", -31, 52, 1, "HFM09", 3, 0, 1, 1, 1, 1, 12, 22, 0, 1, 2, 1}, + {"HF", -31, 52, 2, "HFM09", 3, 0, 3, 1, 2, 1, 12, 22, 0, 3, 2, 1}, + {"HF", -31, 54, 1, "HFM10", 1, 0, 4, 0, 2, 4, 12, 22, 2, 8, 3, 1}, + {"HF", -31, 54, 2, "HFM10", 1, 0, 2, 0, 1, 4, 12, 22, 2, 6, 3, 1}, + {"HF", -31, 56, 1, "HFM10", 2, 0, 1, 1, 1, 1, 12, 22, 2, 1, 3, 1}, + {"HF", -31, 56, 2, "HFM10", 2, 0, 3, 1, 2, 1, 12, 22, 2, 3, 3, 1}, + {"HF", -31, 58, 1, "HFM10", 3, 0, 4, 0, 2, 4, 12, 22, 4, 8, 4, 1}, + {"HF", -31, 58, 2, "HFM10", 3, 0, 2, 0, 1, 4, 12, 22, 4, 6, 4, 1}, + {"HF", -31, 60, 1, "HFM11", 1, 0, 1, 1, 1, 1, 12, 22, 4, 1, 4, 1}, + {"HF", -31, 60, 2, "HFM11", 1, 0, 3, 1, 2, 1, 12, 22, 4, 3, 4, 1}, + {"HF", -31, 62, 1, "HFM11", 2, 0, 4, 0, 2, 4, 12, 22, 6, 8, 5, 1}, + {"HF", -31, 62, 2, "HFM11", 2, 0, 2, 0, 1, 4, 12, 22, 6, 6, 5, 1}, + {"HF", -31, 64, 1, "HFM11", 3, 0, 1, 1, 1, 1, 12, 22, 6, 1, 5, 1}, + {"HF", -31, 64, 2, "HFM11", 3, 0, 3, 1, 2, 1, 12, 22, 6, 3, 5, 1}, + {"HF", -31, 66, 1, "HFM12", 1, 0, 4, 0, 2, 4, 12, 22, 8, 8, 6, 1}, + {"HF", -31, 66, 2, "HFM12", 1, 0, 2, 0, 1, 4, 12, 22, 8, 6, 6, 1}, + {"HF", -31, 68, 1, "HFM12", 2, 0, 1, 1, 1, 1, 12, 22, 8, 1, 6, 1}, + {"HF", -31, 68, 2, "HFM12", 2, 0, 3, 1, 2, 1, 12, 22, 8, 3, 6, 1}, + {"HF", -31, 70, 1, "HFM12", 3, 0, 4, 0, 2, 4, 12, 22, 10, 8, 7, 1}, + {"HF", -31, 70, 2, "HFM12", 3, 0, 2, 0, 1, 4, 12, 22, 10, 6, 7, 1}, + {"HF", -30, 0, 1, "HFM01", 1, 0, 2, 1, 1, 5, 12, 22, 10, 2, 7, 1}, + {"HF", -30, 0, 2, "HFM01", 1, 0, 4, 1, 2, 5, 12, 22, 10, 4, 7, 1}, + {"HF", -30, 2, 1, "HFM01", 2, 0, 3, 2, 2, 2, 2, 18, 0, 7, 2, 1}, + {"HF", -30, 2, 2, "HFM01", 2, 0, 1, 2, 1, 2, 2, 18, 0, 5, 2, 1}, + {"HF", -30, 4, 1, "HFM01", 3, 0, 2, 1, 1, 5, 2, 18, 0, 2, 2, 1}, + {"HF", -30, 4, 2, "HFM01", 3, 0, 4, 1, 2, 5, 2, 18, 0, 4, 2, 1}, + {"HF", -30, 6, 1, "HFM02", 1, 0, 3, 2, 2, 2, 2, 18, 2, 7, 3, 1}, + {"HF", -30, 6, 2, "HFM02", 1, 0, 1, 2, 1, 2, 2, 18, 2, 5, 3, 1}, + {"HF", -30, 8, 1, "HFM02", 2, 0, 2, 1, 1, 5, 2, 18, 2, 2, 3, 1}, + {"HF", -30, 8, 2, "HFM02", 2, 0, 4, 1, 2, 5, 2, 18, 2, 4, 3, 1}, + {"HF", -30, 10, 1, "HFM02", 3, 0, 3, 2, 2, 2, 2, 18, 4, 7, 4, 1}, + {"HF", -30, 10, 2, "HFM02", 3, 0, 1, 2, 1, 2, 2, 18, 4, 5, 4, 1}, + {"HF", -30, 12, 1, "HFM03", 1, 0, 2, 1, 1, 5, 2, 18, 4, 2, 4, 1}, + {"HF", -30, 12, 2, "HFM03", 1, 0, 4, 1, 2, 5, 2, 18, 4, 4, 4, 1}, + {"HF", -30, 14, 1, "HFM03", 2, 0, 3, 2, 2, 2, 2, 18, 6, 7, 5, 1}, + {"HF", -30, 14, 2, "HFM03", 2, 0, 1, 2, 1, 2, 2, 18, 6, 5, 5, 1}, + {"HF", -30, 16, 1, "HFM03", 3, 0, 2, 1, 1, 5, 2, 18, 6, 2, 5, 1}, + {"HF", -30, 16, 2, "HFM03", 3, 0, 4, 1, 2, 5, 2, 18, 6, 4, 5, 1}, + {"HF", -30, 18, 1, "HFM04", 1, 0, 3, 2, 2, 2, 2, 18, 8, 7, 6, 1}, + {"HF", -30, 18, 2, "HFM04", 1, 0, 1, 2, 1, 2, 2, 18, 8, 5, 6, 1}, + {"HF", -30, 20, 1, "HFM04", 2, 0, 2, 1, 1, 5, 2, 18, 8, 2, 6, 1}, + {"HF", -30, 20, 2, "HFM04", 2, 0, 4, 1, 2, 5, 2, 18, 8, 4, 6, 1}, + {"HF", -30, 22, 1, "HFM04", 3, 0, 3, 2, 2, 2, 2, 18, 10, 7, 7, 1}, + {"HF", -30, 22, 2, "HFM04", 3, 0, 1, 2, 1, 2, 2, 18, 10, 5, 7, 1}, + {"HF", -30, 24, 1, "HFM05", 1, 0, 2, 1, 1, 5, 2, 18, 10, 2, 7, 1}, + {"HF", -30, 24, 2, "HFM05", 1, 0, 4, 1, 2, 5, 2, 18, 10, 4, 7, 1}, + {"HF", -30, 26, 1, "HFM05", 2, 0, 3, 2, 2, 2, 9, 20, 0, 7, 2, 1}, + {"HF", -30, 26, 2, "HFM05", 2, 0, 1, 2, 1, 2, 9, 20, 0, 5, 2, 1}, + {"HF", -30, 28, 1, "HFM05", 3, 0, 2, 1, 1, 5, 9, 20, 0, 2, 2, 1}, + {"HF", -30, 28, 2, "HFM05", 3, 0, 4, 1, 2, 5, 9, 20, 0, 4, 2, 1}, + {"HF", -30, 30, 1, "HFM06", 1, 0, 3, 2, 2, 2, 9, 20, 2, 7, 3, 1}, + {"HF", -30, 30, 2, "HFM06", 1, 0, 1, 2, 1, 2, 9, 20, 2, 5, 3, 1}, + {"HF", -30, 32, 1, "HFM06", 2, 0, 2, 1, 1, 5, 9, 20, 2, 2, 3, 1}, + {"HF", -30, 32, 2, "HFM06", 2, 0, 4, 1, 2, 5, 9, 20, 2, 4, 3, 1}, + {"HF", -30, 34, 1, "HFM06", 3, 0, 3, 2, 2, 2, 9, 20, 4, 7, 4, 1}, + {"HF", -30, 34, 2, "HFM06", 3, 0, 1, 2, 1, 2, 9, 20, 4, 5, 4, 1}, + {"HF", -30, 36, 1, "HFM07", 1, 0, 2, 1, 1, 5, 9, 20, 4, 2, 4, 1}, + {"HF", -30, 36, 2, "HFM07", 1, 0, 4, 1, 2, 5, 9, 20, 4, 4, 4, 1}, + {"HF", -30, 38, 1, "HFM07", 2, 0, 3, 2, 2, 2, 9, 20, 6, 7, 5, 1}, + {"HF", -30, 38, 2, "HFM07", 2, 0, 1, 2, 1, 2, 9, 20, 6, 5, 5, 1}, + {"HF", -30, 40, 1, "HFM07", 3, 0, 2, 1, 1, 5, 9, 20, 6, 2, 5, 1}, + {"HF", -30, 40, 2, "HFM07", 3, 0, 4, 1, 2, 5, 9, 20, 6, 4, 5, 1}, + {"HF", -30, 42, 1, "HFM08", 1, 0, 3, 2, 2, 2, 9, 20, 8, 7, 6, 1}, + {"HF", -30, 42, 2, "HFM08", 1, 0, 1, 2, 1, 2, 9, 20, 8, 5, 6, 1}, + {"HF", -30, 44, 1, "HFM08", 2, 0, 2, 1, 1, 5, 9, 20, 8, 2, 6, 1}, + {"HF", -30, 44, 2, "HFM08", 2, 0, 4, 1, 2, 5, 9, 20, 8, 4, 6, 1}, + {"HF", -30, 46, 1, "HFM08", 3, 0, 3, 2, 2, 2, 9, 20, 10, 7, 7, 1}, + {"HF", -30, 46, 2, "HFM08", 3, 0, 1, 2, 1, 2, 9, 20, 10, 5, 7, 1}, + {"HF", -30, 48, 1, "HFM09", 1, 0, 2, 1, 1, 5, 9, 20, 10, 2, 7, 1}, + {"HF", -30, 48, 2, "HFM09", 1, 0, 4, 1, 2, 5, 9, 20, 10, 4, 7, 1}, + {"HF", -30, 50, 1, "HFM09", 2, 0, 3, 2, 2, 2, 12, 22, 0, 7, 2, 1}, + {"HF", -30, 50, 2, "HFM09", 2, 0, 1, 2, 1, 2, 12, 22, 0, 5, 2, 1}, + {"HF", -30, 52, 1, "HFM09", 3, 0, 2, 1, 1, 5, 12, 22, 0, 2, 2, 1}, + {"HF", -30, 52, 2, "HFM09", 3, 0, 4, 1, 2, 5, 12, 22, 0, 4, 2, 1}, + {"HF", -30, 54, 1, "HFM10", 1, 0, 3, 2, 2, 2, 12, 22, 2, 7, 3, 1}, + {"HF", -30, 54, 2, "HFM10", 1, 0, 1, 2, 1, 2, 12, 22, 2, 5, 3, 1}, + {"HF", -30, 56, 1, "HFM10", 2, 0, 2, 1, 1, 5, 12, 22, 2, 2, 3, 1}, + {"HF", -30, 56, 2, "HFM10", 2, 0, 4, 1, 2, 5, 12, 22, 2, 4, 3, 1}, + {"HF", -30, 58, 1, "HFM10", 3, 0, 3, 2, 2, 2, 12, 22, 4, 7, 4, 1}, + {"HF", -30, 58, 2, "HFM10", 3, 0, 1, 2, 1, 2, 12, 22, 4, 5, 4, 1}, + {"HF", -30, 60, 1, "HFM11", 1, 0, 2, 1, 1, 5, 12, 22, 4, 2, 4, 1}, + {"HF", -30, 60, 2, "HFM11", 1, 0, 4, 1, 2, 5, 12, 22, 4, 4, 4, 1}, + {"HF", -30, 62, 1, "HFM11", 2, 0, 3, 2, 2, 2, 12, 22, 6, 7, 5, 1}, + {"HF", -30, 62, 2, "HFM11", 2, 0, 1, 2, 1, 2, 12, 22, 6, 5, 5, 1}, + {"HF", -30, 64, 1, "HFM11", 3, 0, 2, 1, 1, 5, 12, 22, 6, 2, 5, 1}, + {"HF", -30, 64, 2, "HFM11", 3, 0, 4, 1, 2, 5, 12, 22, 6, 4, 5, 1}, + {"HF", -30, 66, 1, "HFM12", 1, 0, 3, 2, 2, 2, 12, 22, 8, 7, 6, 1}, + {"HF", -30, 66, 2, "HFM12", 1, 0, 1, 2, 1, 2, 12, 22, 8, 5, 6, 1}, + {"HF", -30, 68, 1, "HFM12", 2, 0, 2, 1, 1, 5, 12, 22, 8, 2, 6, 1}, + {"HF", -30, 68, 2, "HFM12", 2, 0, 4, 1, 2, 5, 12, 22, 8, 4, 6, 1}, + {"HF", -30, 70, 1, "HFM12", 3, 0, 3, 2, 2, 2, 12, 22, 10, 7, 7, 1}, + {"HF", -30, 70, 2, "HFM12", 3, 0, 1, 2, 1, 2, 12, 22, 10, 5, 7, 1}, + {"HF", -29, 0, 1, "HFM01", 1, 0, 1, 2, 1, 2, 12, 22, 10, 1, 7, 1}, + {"HF", -29, 0, 2, "HFM01", 1, 0, 3, 2, 2, 2, 12, 22, 10, 3, 7, 1}, + {"HF", -29, 2, 1, "HFM01", 2, 0, 4, 1, 2, 5, 2, 18, 0, 8, 2, 1}, + {"HF", -29, 2, 2, "HFM01", 2, 0, 2, 1, 1, 5, 2, 18, 0, 6, 2, 1}, + {"HF", -29, 4, 1, "HFM01", 3, 0, 1, 2, 1, 2, 2, 18, 0, 1, 2, 1}, + {"HF", -29, 4, 2, "HFM01", 3, 0, 3, 2, 2, 2, 2, 18, 0, 3, 2, 1}, + {"HF", -29, 6, 1, "HFM02", 1, 0, 4, 1, 2, 5, 2, 18, 2, 8, 3, 1}, + {"HF", -29, 6, 2, "HFM02", 1, 0, 2, 1, 1, 5, 2, 18, 2, 6, 3, 1}, + {"HF", -29, 8, 1, "HFM02", 2, 0, 1, 2, 1, 2, 2, 18, 2, 1, 3, 1}, + {"HF", -29, 8, 2, "HFM02", 2, 0, 3, 2, 2, 2, 2, 18, 2, 3, 3, 1}, + {"HF", -29, 10, 1, "HFM02", 3, 0, 4, 1, 2, 5, 2, 18, 4, 8, 4, 1}, + {"HF", -29, 10, 2, "HFM02", 3, 0, 2, 1, 1, 5, 2, 18, 4, 6, 4, 1}, + {"HF", -29, 12, 1, "HFM03", 1, 0, 1, 2, 1, 2, 2, 18, 4, 1, 4, 1}, + {"HF", -29, 12, 2, "HFM03", 1, 0, 3, 2, 2, 2, 2, 18, 4, 3, 4, 1}, + {"HF", -29, 14, 1, "HFM03", 2, 0, 4, 1, 2, 5, 2, 18, 6, 8, 5, 1}, + {"HF", -29, 14, 2, "HFM03", 2, 0, 2, 1, 1, 5, 2, 18, 6, 6, 5, 1}, + {"HF", -29, 16, 1, "HFM03", 3, 0, 1, 2, 1, 2, 2, 18, 6, 1, 5, 1}, + {"HF", -29, 16, 2, "HFM03", 3, 0, 3, 2, 2, 2, 2, 18, 6, 3, 5, 1}, + {"HF", -29, 18, 1, "HFM04", 1, 0, 4, 1, 2, 5, 2, 18, 8, 8, 6, 1}, + {"HF", -29, 18, 2, "HFM04", 1, 0, 2, 1, 1, 5, 2, 18, 8, 6, 6, 1}, + {"HF", -29, 20, 1, "HFM04", 2, 0, 1, 2, 1, 2, 2, 18, 8, 1, 6, 1}, + {"HF", -29, 20, 2, "HFM04", 2, 0, 3, 2, 2, 2, 2, 18, 8, 3, 6, 1}, + {"HF", -29, 22, 1, "HFM04", 3, 0, 4, 1, 2, 5, 2, 18, 10, 8, 7, 1}, + {"HF", -29, 22, 2, "HFM04", 3, 0, 2, 1, 1, 5, 2, 18, 10, 6, 7, 1}, + {"HF", -29, 24, 1, "HFM05", 1, 0, 1, 2, 1, 2, 2, 18, 10, 1, 7, 1}, + {"HF", -29, 24, 2, "HFM05", 1, 0, 3, 2, 2, 2, 2, 18, 10, 3, 7, 1}, + {"HF", -29, 26, 1, "HFM05", 2, 0, 4, 1, 2, 5, 9, 20, 0, 8, 2, 1}, + {"HF", -29, 26, 2, "HFM05", 2, 0, 2, 1, 1, 5, 9, 20, 0, 6, 2, 1}, + {"HF", -29, 28, 1, "HFM05", 3, 0, 1, 2, 1, 2, 9, 20, 0, 1, 2, 1}, + {"HF", -29, 28, 2, "HFM05", 3, 0, 3, 2, 2, 2, 9, 20, 0, 3, 2, 1}, + {"HF", -29, 30, 1, "HFM06", 1, 0, 4, 1, 2, 5, 9, 20, 2, 8, 3, 1}, + {"HF", -29, 30, 2, "HFM06", 1, 0, 2, 1, 1, 5, 9, 20, 2, 6, 3, 1}, + {"HF", -29, 32, 1, "HFM06", 2, 0, 1, 2, 1, 2, 9, 20, 2, 1, 3, 1}, + {"HF", -29, 32, 2, "HFM06", 2, 0, 3, 2, 2, 2, 9, 20, 2, 3, 3, 1}, + {"HF", -29, 34, 1, "HFM06", 3, 0, 4, 1, 2, 5, 9, 20, 4, 8, 4, 1}, + {"HF", -29, 34, 2, "HFM06", 3, 0, 2, 1, 1, 5, 9, 20, 4, 6, 4, 1}, + {"HF", -29, 36, 1, "HFM07", 1, 0, 1, 2, 1, 2, 9, 20, 4, 1, 4, 1}, + {"HF", -29, 36, 2, "HFM07", 1, 0, 3, 2, 2, 2, 9, 20, 4, 3, 4, 1}, + {"HF", -29, 38, 1, "HFM07", 2, 0, 4, 1, 2, 5, 9, 20, 6, 8, 5, 1}, + {"HF", -29, 38, 2, "HFM07", 2, 0, 2, 1, 1, 5, 9, 20, 6, 6, 5, 1}, + {"HF", -29, 40, 1, "HFM07", 3, 0, 1, 2, 1, 2, 9, 20, 6, 1, 5, 1}, + {"HF", -29, 40, 2, "HFM07", 3, 0, 3, 2, 2, 2, 9, 20, 6, 3, 5, 1}, + {"HF", -29, 42, 1, "HFM08", 1, 0, 4, 1, 2, 5, 9, 20, 8, 8, 6, 1}, + {"HF", -29, 42, 2, "HFM08", 1, 0, 2, 1, 1, 5, 9, 20, 8, 6, 6, 1}, + {"HF", -29, 44, 1, "HFM08", 2, 0, 1, 2, 1, 2, 9, 20, 8, 1, 6, 1}, + {"HF", -29, 44, 2, "HFM08", 2, 0, 3, 2, 2, 2, 9, 20, 8, 3, 6, 1}, + {"HF", -29, 46, 1, "HFM08", 3, 0, 4, 1, 2, 5, 9, 20, 10, 8, 7, 1}, + {"HF", -29, 46, 2, "HFM08", 3, 0, 2, 1, 1, 5, 9, 20, 10, 6, 7, 1}, + {"HF", -29, 48, 1, "HFM09", 1, 0, 1, 2, 1, 2, 9, 20, 10, 1, 7, 1}, + {"HF", -29, 48, 2, "HFM09", 1, 0, 3, 2, 2, 2, 9, 20, 10, 3, 7, 1}, + {"HF", -29, 50, 1, "HFM09", 2, 0, 4, 1, 2, 5, 12, 22, 0, 8, 2, 1}, + {"HF", -29, 50, 2, "HFM09", 2, 0, 2, 1, 1, 5, 12, 22, 0, 6, 2, 1}, + {"HF", -29, 52, 1, "HFM09", 3, 0, 1, 2, 1, 2, 12, 22, 0, 1, 2, 1}, + {"HF", -29, 52, 2, "HFM09", 3, 0, 3, 2, 2, 2, 12, 22, 0, 3, 2, 1}, + {"HF", -29, 54, 1, "HFM10", 1, 0, 4, 1, 2, 5, 12, 22, 2, 8, 3, 1}, + {"HF", -29, 54, 2, "HFM10", 1, 0, 2, 1, 1, 5, 12, 22, 2, 6, 3, 1}, + {"HF", -29, 56, 1, "HFM10", 2, 0, 1, 2, 1, 2, 12, 22, 2, 1, 3, 1}, + {"HF", -29, 56, 2, "HFM10", 2, 0, 3, 2, 2, 2, 12, 22, 2, 3, 3, 1}, + {"HF", -29, 58, 1, "HFM10", 3, 0, 4, 1, 2, 5, 12, 22, 4, 8, 4, 1}, + {"HF", -29, 58, 2, "HFM10", 3, 0, 2, 1, 1, 5, 12, 22, 4, 6, 4, 1}, + {"HF", -29, 60, 1, "HFM11", 1, 0, 1, 2, 1, 2, 12, 22, 4, 1, 4, 1}, + {"HF", -29, 60, 2, "HFM11", 1, 0, 3, 2, 2, 2, 12, 22, 4, 3, 4, 1}, + {"HF", -29, 62, 1, "HFM11", 2, 0, 4, 1, 2, 5, 12, 22, 6, 8, 5, 1}, + {"HF", -29, 62, 2, "HFM11", 2, 0, 2, 1, 1, 5, 12, 22, 6, 6, 5, 1}, + {"HF", -29, 64, 1, "HFM11", 3, 0, 1, 2, 1, 2, 12, 22, 6, 1, 5, 1}, + {"HF", -29, 64, 2, "HFM11", 3, 0, 3, 2, 2, 2, 12, 22, 6, 3, 5, 1}, + {"HF", -29, 66, 1, "HFM12", 1, 0, 4, 1, 2, 5, 12, 22, 8, 8, 6, 1}, + {"HF", -29, 66, 2, "HFM12", 1, 0, 2, 1, 1, 5, 12, 22, 8, 6, 6, 1}, + {"HF", -29, 68, 1, "HFM12", 2, 0, 1, 2, 1, 2, 12, 22, 8, 1, 6, 1}, + {"HF", -29, 68, 2, "HFM12", 2, 0, 3, 2, 2, 2, 12, 22, 8, 3, 6, 1}, + {"HF", -29, 70, 1, "HFM12", 3, 0, 4, 1, 2, 5, 12, 22, 10, 8, 7, 1}, + {"HF", -29, 70, 2, "HFM12", 3, 0, 2, 1, 1, 5, 12, 22, 10, 6, 7, 1}, + {"HF", 29, 0, 1, "HFP01", 1, 0, 4, 1, 2, 5, 12, 23, 10, 8, 18, 1}, + {"HF", 29, 0, 2, "HFP01", 1, 0, 2, 1, 1, 5, 12, 23, 10, 6, 18, 1}, + {"HF", 29, 2, 1, "HFP01", 2, 0, 1, 2, 1, 2, 2, 19, 0, 1, 13, 1}, + {"HF", 29, 2, 2, "HFP01", 2, 0, 3, 2, 2, 2, 2, 19, 0, 3, 13, 1}, + {"HF", 29, 4, 1, "HFP01", 3, 0, 4, 1, 2, 5, 2, 19, 0, 8, 13, 1}, + {"HF", 29, 4, 2, "HFP01", 3, 0, 2, 1, 1, 5, 2, 19, 0, 6, 13, 1}, + {"HF", 29, 6, 1, "HFP02", 1, 0, 1, 2, 1, 2, 2, 19, 2, 1, 14, 1}, + {"HF", 29, 6, 2, "HFP02", 1, 0, 3, 2, 2, 2, 2, 19, 2, 3, 14, 1}, + {"HF", 29, 8, 1, "HFP02", 2, 0, 4, 1, 2, 5, 2, 19, 2, 8, 14, 1}, + {"HF", 29, 8, 2, "HFP02", 2, 0, 2, 1, 1, 5, 2, 19, 2, 6, 14, 1}, + {"HF", 29, 10, 1, "HFP02", 3, 0, 1, 2, 1, 2, 2, 19, 4, 1, 15, 1}, + {"HF", 29, 10, 2, "HFP02", 3, 0, 3, 2, 2, 2, 2, 19, 4, 3, 15, 1}, + {"HF", 29, 12, 1, "HFP03", 1, 0, 4, 1, 2, 5, 2, 19, 4, 8, 15, 1}, + {"HF", 29, 12, 2, "HFP03", 1, 0, 2, 1, 1, 5, 2, 19, 4, 6, 15, 1}, + {"HF", 29, 14, 1, "HFP03", 2, 0, 1, 2, 1, 2, 2, 19, 6, 1, 16, 1}, + {"HF", 29, 14, 2, "HFP03", 2, 0, 3, 2, 2, 2, 2, 19, 6, 3, 16, 1}, + {"HF", 29, 16, 1, "HFP03", 3, 0, 4, 1, 2, 5, 2, 19, 6, 8, 16, 1}, + {"HF", 29, 16, 2, "HFP03", 3, 0, 2, 1, 1, 5, 2, 19, 6, 6, 16, 1}, + {"HF", 29, 18, 1, "HFP04", 1, 0, 1, 2, 1, 2, 2, 19, 8, 1, 17, 1}, + {"HF", 29, 18, 2, "HFP04", 1, 0, 3, 2, 2, 2, 2, 19, 8, 3, 17, 1}, + {"HF", 29, 20, 1, "HFP04", 2, 0, 4, 1, 2, 5, 2, 19, 8, 8, 17, 1}, + {"HF", 29, 20, 2, "HFP04", 2, 0, 2, 1, 1, 5, 2, 19, 8, 6, 17, 1}, + {"HF", 29, 22, 1, "HFP04", 3, 0, 1, 2, 1, 2, 2, 19, 10, 1, 18, 1}, + {"HF", 29, 22, 2, "HFP04", 3, 0, 3, 2, 2, 2, 2, 19, 10, 3, 18, 1}, + {"HF", 29, 24, 1, "HFP05", 1, 0, 4, 1, 2, 5, 2, 19, 10, 8, 18, 1}, + {"HF", 29, 24, 2, "HFP05", 1, 0, 2, 1, 1, 5, 2, 19, 10, 6, 18, 1}, + {"HF", 29, 26, 1, "HFP05", 2, 0, 1, 2, 1, 2, 9, 21, 0, 1, 13, 1}, + {"HF", 29, 26, 2, "HFP05", 2, 0, 3, 2, 2, 2, 9, 21, 0, 3, 13, 1}, + {"HF", 29, 28, 1, "HFP05", 3, 0, 4, 1, 2, 5, 9, 21, 0, 8, 13, 1}, + {"HF", 29, 28, 2, "HFP05", 3, 0, 2, 1, 1, 5, 9, 21, 0, 6, 13, 1}, + {"HF", 29, 30, 1, "HFP06", 1, 0, 1, 2, 1, 2, 9, 21, 2, 1, 14, 1}, + {"HF", 29, 30, 2, "HFP06", 1, 0, 3, 2, 2, 2, 9, 21, 2, 3, 14, 1}, + {"HF", 29, 32, 1, "HFP06", 2, 0, 4, 1, 2, 5, 9, 21, 2, 8, 14, 1}, + {"HF", 29, 32, 2, "HFP06", 2, 0, 2, 1, 1, 5, 9, 21, 2, 6, 14, 1}, + {"HF", 29, 34, 1, "HFP06", 3, 0, 1, 2, 1, 2, 9, 21, 4, 1, 15, 1}, + {"HF", 29, 34, 2, "HFP06", 3, 0, 3, 2, 2, 2, 9, 21, 4, 3, 15, 1}, + {"HF", 29, 36, 1, "HFP07", 1, 0, 4, 1, 2, 5, 9, 21, 4, 8, 15, 1}, + {"HF", 29, 36, 2, "HFP07", 1, 0, 2, 1, 1, 5, 9, 21, 4, 6, 15, 1}, + {"HF", 29, 38, 1, "HFP07", 2, 0, 1, 2, 1, 2, 9, 21, 6, 1, 16, 1}, + {"HF", 29, 38, 2, "HFP07", 2, 0, 3, 2, 2, 2, 9, 21, 6, 3, 16, 1}, + {"HF", 29, 40, 1, "HFP07", 3, 0, 4, 1, 2, 5, 9, 21, 6, 8, 16, 1}, + {"HF", 29, 40, 2, "HFP07", 3, 0, 2, 1, 1, 5, 9, 21, 6, 6, 16, 1}, + {"HF", 29, 42, 1, "HFP08", 1, 0, 1, 2, 1, 2, 9, 21, 8, 1, 17, 1}, + {"HF", 29, 42, 2, "HFP08", 1, 0, 3, 2, 2, 2, 9, 21, 8, 3, 17, 1}, + {"HF", 29, 44, 1, "HFP08", 2, 0, 4, 1, 2, 5, 9, 21, 8, 8, 17, 1}, + {"HF", 29, 44, 2, "HFP08", 2, 0, 2, 1, 1, 5, 9, 21, 8, 6, 17, 1}, + {"HF", 29, 46, 1, "HFP08", 3, 0, 1, 2, 1, 2, 9, 21, 10, 1, 18, 1}, + {"HF", 29, 46, 2, "HFP08", 3, 0, 3, 2, 2, 2, 9, 21, 10, 3, 18, 1}, + {"HF", 29, 48, 1, "HFP09", 1, 0, 4, 1, 2, 5, 9, 21, 10, 8, 18, 1}, + {"HF", 29, 48, 2, "HFP09", 1, 0, 2, 1, 1, 5, 9, 21, 10, 6, 18, 1}, + {"HF", 29, 50, 1, "HFP09", 2, 0, 1, 2, 1, 2, 12, 23, 0, 1, 13, 1}, + {"HF", 29, 50, 2, "HFP09", 2, 0, 3, 2, 2, 2, 12, 23, 0, 3, 13, 1}, + {"HF", 29, 52, 1, "HFP09", 3, 0, 4, 1, 2, 5, 12, 23, 0, 8, 13, 1}, + {"HF", 29, 52, 2, "HFP09", 3, 0, 2, 1, 1, 5, 12, 23, 0, 6, 13, 1}, + {"HF", 29, 54, 1, "HFP10", 1, 0, 1, 2, 1, 2, 12, 23, 2, 1, 14, 1}, + {"HF", 29, 54, 2, "HFP10", 1, 0, 3, 2, 2, 2, 12, 23, 2, 3, 14, 1}, + {"HF", 29, 56, 1, "HFP10", 2, 0, 4, 1, 2, 5, 12, 23, 2, 8, 14, 1}, + {"HF", 29, 56, 2, "HFP10", 2, 0, 2, 1, 1, 5, 12, 23, 2, 6, 14, 1}, + {"HF", 29, 58, 1, "HFP10", 3, 0, 1, 2, 1, 2, 12, 23, 4, 1, 15, 1}, + {"HF", 29, 58, 2, "HFP10", 3, 0, 3, 2, 2, 2, 12, 23, 4, 3, 15, 1}, + {"HF", 29, 60, 1, "HFP11", 1, 0, 4, 1, 2, 5, 12, 23, 4, 8, 15, 1}, + {"HF", 29, 60, 2, "HFP11", 1, 0, 2, 1, 1, 5, 12, 23, 4, 6, 15, 1}, + {"HF", 29, 62, 1, "HFP11", 2, 0, 1, 2, 1, 2, 12, 23, 6, 1, 16, 1}, + {"HF", 29, 62, 2, "HFP11", 2, 0, 3, 2, 2, 2, 12, 23, 6, 3, 16, 1}, + {"HF", 29, 64, 1, "HFP11", 3, 0, 4, 1, 2, 5, 12, 23, 6, 8, 16, 1}, + {"HF", 29, 64, 2, "HFP11", 3, 0, 2, 1, 1, 5, 12, 23, 6, 6, 16, 1}, + {"HF", 29, 66, 1, "HFP12", 1, 0, 1, 2, 1, 2, 12, 23, 8, 1, 17, 1}, + {"HF", 29, 66, 2, "HFP12", 1, 0, 3, 2, 2, 2, 12, 23, 8, 3, 17, 1}, + {"HF", 29, 68, 1, "HFP12", 2, 0, 4, 1, 2, 5, 12, 23, 8, 8, 17, 1}, + {"HF", 29, 68, 2, "HFP12", 2, 0, 2, 1, 1, 5, 12, 23, 8, 6, 17, 1}, + {"HF", 29, 70, 1, "HFP12", 3, 0, 1, 2, 1, 2, 12, 23, 10, 1, 18, 1}, + {"HF", 29, 70, 2, "HFP12", 3, 0, 3, 2, 2, 2, 12, 23, 10, 3, 18, 1}, + {"HF", 30, 0, 1, "HFP01", 1, 0, 3, 2, 2, 2, 12, 23, 10, 7, 18, 1}, + {"HF", 30, 0, 2, "HFP01", 1, 0, 1, 2, 1, 2, 12, 23, 10, 5, 18, 1}, + {"HF", 30, 2, 1, "HFP01", 2, 0, 2, 1, 1, 5, 2, 19, 0, 2, 13, 1}, + {"HF", 30, 2, 2, "HFP01", 2, 0, 4, 1, 2, 5, 2, 19, 0, 4, 13, 1}, + {"HF", 30, 4, 1, "HFP01", 3, 0, 3, 2, 2, 2, 2, 19, 0, 7, 13, 1}, + {"HF", 30, 4, 2, "HFP01", 3, 0, 1, 2, 1, 2, 2, 19, 0, 5, 13, 1}, + {"HF", 30, 6, 1, "HFP02", 1, 0, 2, 1, 1, 5, 2, 19, 2, 2, 14, 1}, + {"HF", 30, 6, 2, "HFP02", 1, 0, 4, 1, 2, 5, 2, 19, 2, 4, 14, 1}, + {"HF", 30, 8, 1, "HFP02", 2, 0, 3, 2, 2, 2, 2, 19, 2, 7, 14, 1}, + {"HF", 30, 8, 2, "HFP02", 2, 0, 1, 2, 1, 2, 2, 19, 2, 5, 14, 1}, + {"HF", 30, 10, 1, "HFP02", 3, 0, 2, 1, 1, 5, 2, 19, 4, 2, 15, 1}, + {"HF", 30, 10, 2, "HFP02", 3, 0, 4, 1, 2, 5, 2, 19, 4, 4, 15, 1}, + {"HF", 30, 12, 1, "HFP03", 1, 0, 3, 2, 2, 2, 2, 19, 4, 7, 15, 1}, + {"HF", 30, 12, 2, "HFP03", 1, 0, 1, 2, 1, 2, 2, 19, 4, 5, 15, 1}, + {"HF", 30, 14, 1, "HFP03", 2, 0, 2, 1, 1, 5, 2, 19, 6, 2, 16, 1}, + {"HF", 30, 14, 2, "HFP03", 2, 0, 4, 1, 2, 5, 2, 19, 6, 4, 16, 1}, + {"HF", 30, 16, 1, "HFP03", 3, 0, 3, 2, 2, 2, 2, 19, 6, 7, 16, 1}, + {"HF", 30, 16, 2, "HFP03", 3, 0, 1, 2, 1, 2, 2, 19, 6, 5, 16, 1}, + {"HF", 30, 18, 1, "HFP04", 1, 0, 2, 1, 1, 5, 2, 19, 8, 2, 17, 1}, + {"HF", 30, 18, 2, "HFP04", 1, 0, 4, 1, 2, 5, 2, 19, 8, 4, 17, 1}, + {"HF", 30, 20, 1, "HFP04", 2, 0, 3, 2, 2, 2, 2, 19, 8, 7, 17, 1}, + {"HF", 30, 20, 2, "HFP04", 2, 0, 1, 2, 1, 2, 2, 19, 8, 5, 17, 1}, + {"HF", 30, 22, 1, "HFP04", 3, 0, 2, 1, 1, 5, 2, 19, 10, 2, 18, 1}, + {"HF", 30, 22, 2, "HFP04", 3, 0, 4, 1, 2, 5, 2, 19, 10, 4, 18, 1}, + {"HF", 30, 24, 1, "HFP05", 1, 0, 3, 2, 2, 2, 2, 19, 10, 7, 18, 1}, + {"HF", 30, 24, 2, "HFP05", 1, 0, 1, 2, 1, 2, 2, 19, 10, 5, 18, 1}, + {"HF", 30, 26, 1, "HFP05", 2, 0, 2, 1, 1, 5, 9, 21, 0, 2, 13, 1}, + {"HF", 30, 26, 2, "HFP05", 2, 0, 4, 1, 2, 5, 9, 21, 0, 4, 13, 1}, + {"HF", 30, 28, 1, "HFP05", 3, 0, 3, 2, 2, 2, 9, 21, 0, 7, 13, 1}, + {"HF", 30, 28, 2, "HFP05", 3, 0, 1, 2, 1, 2, 9, 21, 0, 5, 13, 1}, + {"HF", 30, 30, 1, "HFP06", 1, 0, 2, 1, 1, 5, 9, 21, 2, 2, 14, 1}, + {"HF", 30, 30, 2, "HFP06", 1, 0, 4, 1, 2, 5, 9, 21, 2, 4, 14, 1}, + {"HF", 30, 32, 1, "HFP06", 2, 0, 3, 2, 2, 2, 9, 21, 2, 7, 14, 1}, + {"HF", 30, 32, 2, "HFP06", 2, 0, 1, 2, 1, 2, 9, 21, 2, 5, 14, 1}, + {"HF", 30, 34, 1, "HFP06", 3, 0, 2, 1, 1, 5, 9, 21, 4, 2, 15, 1}, + {"HF", 30, 34, 2, "HFP06", 3, 0, 4, 1, 2, 5, 9, 21, 4, 4, 15, 1}, + {"HF", 30, 36, 1, "HFP07", 1, 0, 3, 2, 2, 2, 9, 21, 4, 7, 15, 1}, + {"HF", 30, 36, 2, "HFP07", 1, 0, 1, 2, 1, 2, 9, 21, 4, 5, 15, 1}, + {"HF", 30, 38, 1, "HFP07", 2, 0, 2, 1, 1, 5, 9, 21, 6, 2, 16, 1}, + {"HF", 30, 38, 2, "HFP07", 2, 0, 4, 1, 2, 5, 9, 21, 6, 4, 16, 1}, + {"HF", 30, 40, 1, "HFP07", 3, 0, 3, 2, 2, 2, 9, 21, 6, 7, 16, 1}, + {"HF", 30, 40, 2, "HFP07", 3, 0, 1, 2, 1, 2, 9, 21, 6, 5, 16, 1}, + {"HF", 30, 42, 1, "HFP08", 1, 0, 2, 1, 1, 5, 9, 21, 8, 2, 17, 1}, + {"HF", 30, 42, 2, "HFP08", 1, 0, 4, 1, 2, 5, 9, 21, 8, 4, 17, 1}, + {"HF", 30, 44, 1, "HFP08", 2, 0, 3, 2, 2, 2, 9, 21, 8, 7, 17, 1}, + {"HF", 30, 44, 2, "HFP08", 2, 0, 1, 2, 1, 2, 9, 21, 8, 5, 17, 1}, + {"HF", 30, 46, 1, "HFP08", 3, 0, 2, 1, 1, 5, 9, 21, 10, 2, 18, 1}, + {"HF", 30, 46, 2, "HFP08", 3, 0, 4, 1, 2, 5, 9, 21, 10, 4, 18, 1}, + {"HF", 30, 48, 1, "HFP09", 1, 0, 3, 2, 2, 2, 9, 21, 10, 7, 18, 1}, + {"HF", 30, 48, 2, "HFP09", 1, 0, 1, 2, 1, 2, 9, 21, 10, 5, 18, 1}, + {"HF", 30, 50, 1, "HFP09", 2, 0, 2, 1, 1, 5, 12, 23, 0, 2, 13, 1}, + {"HF", 30, 50, 2, "HFP09", 2, 0, 4, 1, 2, 5, 12, 23, 0, 4, 13, 1}, + {"HF", 30, 52, 1, "HFP09", 3, 0, 3, 2, 2, 2, 12, 23, 0, 7, 13, 1}, + {"HF", 30, 52, 2, "HFP09", 3, 0, 1, 2, 1, 2, 12, 23, 0, 5, 13, 1}, + {"HF", 30, 54, 1, "HFP10", 1, 0, 2, 1, 1, 5, 12, 23, 2, 2, 14, 1}, + {"HF", 30, 54, 2, "HFP10", 1, 0, 4, 1, 2, 5, 12, 23, 2, 4, 14, 1}, + {"HF", 30, 56, 1, "HFP10", 2, 0, 3, 2, 2, 2, 12, 23, 2, 7, 14, 1}, + {"HF", 30, 56, 2, "HFP10", 2, 0, 1, 2, 1, 2, 12, 23, 2, 5, 14, 1}, + {"HF", 30, 58, 1, "HFP10", 3, 0, 2, 1, 1, 5, 12, 23, 4, 2, 15, 1}, + {"HF", 30, 58, 2, "HFP10", 3, 0, 4, 1, 2, 5, 12, 23, 4, 4, 15, 1}, + {"HF", 30, 60, 1, "HFP11", 1, 0, 3, 2, 2, 2, 12, 23, 4, 7, 15, 1}, + {"HF", 30, 60, 2, "HFP11", 1, 0, 1, 2, 1, 2, 12, 23, 4, 5, 15, 1}, + {"HF", 30, 62, 1, "HFP11", 2, 0, 2, 1, 1, 5, 12, 23, 6, 2, 16, 1}, + {"HF", 30, 62, 2, "HFP11", 2, 0, 4, 1, 2, 5, 12, 23, 6, 4, 16, 1}, + {"HF", 30, 64, 1, "HFP11", 3, 0, 3, 2, 2, 2, 12, 23, 6, 7, 16, 1}, + {"HF", 30, 64, 2, "HFP11", 3, 0, 1, 2, 1, 2, 12, 23, 6, 5, 16, 1}, + {"HF", 30, 66, 1, "HFP12", 1, 0, 2, 1, 1, 5, 12, 23, 8, 2, 17, 1}, + {"HF", 30, 66, 2, "HFP12", 1, 0, 4, 1, 2, 5, 12, 23, 8, 4, 17, 1}, + {"HF", 30, 68, 1, "HFP12", 2, 0, 3, 2, 2, 2, 12, 23, 8, 7, 17, 1}, + {"HF", 30, 68, 2, "HFP12", 2, 0, 1, 2, 1, 2, 12, 23, 8, 5, 17, 1}, + {"HF", 30, 70, 1, "HFP12", 3, 0, 2, 1, 1, 5, 12, 23, 10, 2, 18, 1}, + {"HF", 30, 70, 2, "HFP12", 3, 0, 4, 1, 2, 5, 12, 23, 10, 4, 18, 1}, + {"HF", 31, 0, 1, "HFP01", 1, 0, 4, 0, 2, 4, 12, 23, 10, 8, 18, 1}, + {"HF", 31, 0, 2, "HFP01", 1, 0, 2, 0, 1, 4, 12, 23, 10, 6, 18, 1}, + {"HF", 31, 2, 1, "HFP01", 2, 0, 1, 1, 1, 1, 2, 19, 0, 1, 13, 1}, + {"HF", 31, 2, 2, "HFP01", 2, 0, 3, 1, 2, 1, 2, 19, 0, 3, 13, 1}, + {"HF", 31, 4, 1, "HFP01", 3, 0, 4, 0, 2, 4, 2, 19, 0, 8, 13, 1}, + {"HF", 31, 4, 2, "HFP01", 3, 0, 2, 0, 1, 4, 2, 19, 0, 6, 13, 1}, + {"HF", 31, 6, 1, "HFP02", 1, 0, 1, 1, 1, 1, 2, 19, 2, 1, 14, 1}, + {"HF", 31, 6, 2, "HFP02", 1, 0, 3, 1, 2, 1, 2, 19, 2, 3, 14, 1}, + {"HF", 31, 8, 1, "HFP02", 2, 0, 4, 0, 2, 4, 2, 19, 2, 8, 14, 1}, + {"HF", 31, 8, 2, "HFP02", 2, 0, 2, 0, 1, 4, 2, 19, 2, 6, 14, 1}, + {"HF", 31, 10, 1, "HFP02", 3, 0, 1, 1, 1, 1, 2, 19, 4, 1, 15, 1}, + {"HF", 31, 10, 2, "HFP02", 3, 0, 3, 1, 2, 1, 2, 19, 4, 3, 15, 1}, + {"HF", 31, 12, 1, "HFP03", 1, 0, 4, 0, 2, 4, 2, 19, 4, 8, 15, 1}, + {"HF", 31, 12, 2, "HFP03", 1, 0, 2, 0, 1, 4, 2, 19, 4, 6, 15, 1}, + {"HF", 31, 14, 1, "HFP03", 2, 0, 1, 1, 1, 1, 2, 19, 6, 1, 16, 1}, + {"HF", 31, 14, 2, "HFP03", 2, 0, 3, 1, 2, 1, 2, 19, 6, 3, 16, 1}, + {"HF", 31, 16, 1, "HFP03", 3, 0, 4, 0, 2, 4, 2, 19, 6, 8, 16, 1}, + {"HF", 31, 16, 2, "HFP03", 3, 0, 2, 0, 1, 4, 2, 19, 6, 6, 16, 1}, + {"HF", 31, 18, 1, "HFP04", 1, 0, 1, 1, 1, 1, 2, 19, 8, 1, 17, 1}, + {"HF", 31, 18, 2, "HFP04", 1, 0, 3, 1, 2, 1, 2, 19, 8, 3, 17, 1}, + {"HF", 31, 20, 1, "HFP04", 2, 0, 4, 0, 2, 4, 2, 19, 8, 8, 17, 1}, + {"HF", 31, 20, 2, "HFP04", 2, 0, 2, 0, 1, 4, 2, 19, 8, 6, 17, 1}, + {"HF", 31, 22, 1, "HFP04", 3, 0, 1, 1, 1, 1, 2, 19, 10, 1, 18, 1}, + {"HF", 31, 22, 2, "HFP04", 3, 0, 3, 1, 2, 1, 2, 19, 10, 3, 18, 1}, + {"HF", 31, 24, 1, "HFP05", 1, 0, 4, 0, 2, 4, 2, 19, 10, 8, 18, 1}, + {"HF", 31, 24, 2, "HFP05", 1, 0, 2, 0, 1, 4, 2, 19, 10, 6, 18, 1}, + {"HF", 31, 26, 1, "HFP05", 2, 0, 1, 1, 1, 1, 9, 21, 0, 1, 13, 1}, + {"HF", 31, 26, 2, "HFP05", 2, 0, 3, 1, 2, 1, 9, 21, 0, 3, 13, 1}, + {"HF", 31, 28, 1, "HFP05", 3, 0, 4, 0, 2, 4, 9, 21, 0, 8, 13, 1}, + {"HF", 31, 28, 2, "HFP05", 3, 0, 2, 0, 1, 4, 9, 21, 0, 6, 13, 1}, + {"HF", 31, 30, 1, "HFP06", 1, 0, 1, 1, 1, 1, 9, 21, 2, 1, 14, 1}, + {"HF", 31, 30, 2, "HFP06", 1, 0, 3, 1, 2, 1, 9, 21, 2, 3, 14, 1}, + {"HF", 31, 32, 1, "HFP06", 2, 0, 4, 0, 2, 4, 9, 21, 2, 8, 14, 1}, + {"HF", 31, 32, 2, "HFP06", 2, 0, 2, 0, 1, 4, 9, 21, 2, 6, 14, 1}, + {"HF", 31, 34, 1, "HFP06", 3, 0, 1, 1, 1, 1, 9, 21, 4, 1, 15, 1}, + {"HF", 31, 34, 2, "HFP06", 3, 0, 3, 1, 2, 1, 9, 21, 4, 3, 15, 1}, + {"HF", 31, 36, 1, "HFP07", 1, 0, 4, 0, 2, 4, 9, 21, 4, 8, 15, 1}, + {"HF", 31, 36, 2, "HFP07", 1, 0, 2, 0, 1, 4, 9, 21, 4, 6, 15, 1}, + {"HF", 31, 38, 1, "HFP07", 2, 0, 1, 1, 1, 1, 9, 21, 6, 1, 16, 1}, + {"HF", 31, 38, 2, "HFP07", 2, 0, 3, 1, 2, 1, 9, 21, 6, 3, 16, 1}, + {"HF", 31, 40, 1, "HFP07", 3, 0, 4, 0, 2, 4, 9, 21, 6, 8, 16, 1}, + {"HF", 31, 40, 2, "HFP07", 3, 0, 2, 0, 1, 4, 9, 21, 6, 6, 16, 1}, + {"HF", 31, 42, 1, "HFP08", 1, 0, 1, 1, 1, 1, 9, 21, 8, 1, 17, 1}, + {"HF", 31, 42, 2, "HFP08", 1, 0, 3, 1, 2, 1, 9, 21, 8, 3, 17, 1}, + {"HF", 31, 44, 1, "HFP08", 2, 0, 4, 0, 2, 4, 9, 21, 8, 8, 17, 1}, + {"HF", 31, 44, 2, "HFP08", 2, 0, 2, 0, 1, 4, 9, 21, 8, 6, 17, 1}, + {"HF", 31, 46, 1, "HFP08", 3, 0, 1, 1, 1, 1, 9, 21, 10, 1, 18, 1}, + {"HF", 31, 46, 2, "HFP08", 3, 0, 3, 1, 2, 1, 9, 21, 10, 3, 18, 1}, + {"HF", 31, 48, 1, "HFP09", 1, 0, 4, 0, 2, 4, 9, 21, 10, 8, 18, 1}, + {"HF", 31, 48, 2, "HFP09", 1, 0, 2, 0, 1, 4, 9, 21, 10, 6, 18, 1}, + {"HF", 31, 50, 1, "HFP09", 2, 0, 1, 1, 1, 1, 12, 23, 0, 1, 13, 1}, + {"HF", 31, 50, 2, "HFP09", 2, 0, 3, 1, 2, 1, 12, 23, 0, 3, 13, 1}, + {"HF", 31, 52, 1, "HFP09", 3, 0, 4, 0, 2, 4, 12, 23, 0, 8, 13, 1}, + {"HF", 31, 52, 2, "HFP09", 3, 0, 2, 0, 1, 4, 12, 23, 0, 6, 13, 1}, + {"HF", 31, 54, 1, "HFP10", 1, 0, 1, 1, 1, 1, 12, 23, 2, 1, 14, 1}, + {"HF", 31, 54, 2, "HFP10", 1, 0, 3, 1, 2, 1, 12, 23, 2, 3, 14, 1}, + {"HF", 31, 56, 1, "HFP10", 2, 0, 4, 0, 2, 4, 12, 23, 2, 8, 14, 1}, + {"HF", 31, 56, 2, "HFP10", 2, 0, 2, 0, 1, 4, 12, 23, 2, 6, 14, 1}, + {"HF", 31, 58, 1, "HFP10", 3, 0, 1, 1, 1, 1, 12, 23, 4, 1, 15, 1}, + {"HF", 31, 58, 2, "HFP10", 3, 0, 3, 1, 2, 1, 12, 23, 4, 3, 15, 1}, + {"HF", 31, 60, 1, "HFP11", 1, 0, 4, 0, 2, 4, 12, 23, 4, 8, 15, 1}, + {"HF", 31, 60, 2, "HFP11", 1, 0, 2, 0, 1, 4, 12, 23, 4, 6, 15, 1}, + {"HF", 31, 62, 1, "HFP11", 2, 0, 1, 1, 1, 1, 12, 23, 6, 1, 16, 1}, + {"HF", 31, 62, 2, "HFP11", 2, 0, 3, 1, 2, 1, 12, 23, 6, 3, 16, 1}, + {"HF", 31, 64, 1, "HFP11", 3, 0, 4, 0, 2, 4, 12, 23, 6, 8, 16, 1}, + {"HF", 31, 64, 2, "HFP11", 3, 0, 2, 0, 1, 4, 12, 23, 6, 6, 16, 1}, + {"HF", 31, 66, 1, "HFP12", 1, 0, 1, 1, 1, 1, 12, 23, 8, 1, 17, 1}, + {"HF", 31, 66, 2, "HFP12", 1, 0, 3, 1, 2, 1, 12, 23, 8, 3, 17, 1}, + {"HF", 31, 68, 1, "HFP12", 2, 0, 4, 0, 2, 4, 12, 23, 8, 8, 17, 1}, + {"HF", 31, 68, 2, "HFP12", 2, 0, 2, 0, 1, 4, 12, 23, 8, 6, 17, 1}, + {"HF", 31, 70, 1, "HFP12", 3, 0, 1, 1, 1, 1, 12, 23, 10, 1, 18, 1}, + {"HF", 31, 70, 2, "HFP12", 3, 0, 3, 1, 2, 1, 12, 23, 10, 3, 18, 1}, + {"HF", 32, 0, 1, "HFP01", 1, 0, 3, 1, 2, 1, 12, 23, 10, 7, 18, 1}, + {"HF", 32, 0, 2, "HFP01", 1, 0, 1, 1, 1, 1, 12, 23, 10, 5, 18, 1}, + {"HF", 32, 2, 1, "HFP01", 2, 0, 2, 0, 1, 4, 2, 19, 0, 2, 13, 1}, + {"HF", 32, 2, 2, "HFP01", 2, 0, 4, 0, 2, 4, 2, 19, 0, 4, 13, 1}, + {"HF", 32, 4, 1, "HFP01", 3, 0, 3, 1, 2, 1, 2, 19, 0, 7, 13, 1}, + {"HF", 32, 4, 2, "HFP01", 3, 0, 1, 1, 1, 1, 2, 19, 0, 5, 13, 1}, + {"HF", 32, 6, 1, "HFP02", 1, 0, 2, 0, 1, 4, 2, 19, 2, 2, 14, 1}, + {"HF", 32, 6, 2, "HFP02", 1, 0, 4, 0, 2, 4, 2, 19, 2, 4, 14, 1}, + {"HF", 32, 8, 1, "HFP02", 2, 0, 3, 1, 2, 1, 2, 19, 2, 7, 14, 1}, + {"HF", 32, 8, 2, "HFP02", 2, 0, 1, 1, 1, 1, 2, 19, 2, 5, 14, 1}, + {"HF", 32, 10, 1, "HFP02", 3, 0, 2, 0, 1, 4, 2, 19, 4, 2, 15, 1}, + {"HF", 32, 10, 2, "HFP02", 3, 0, 4, 0, 2, 4, 2, 19, 4, 4, 15, 1}, + {"HF", 32, 12, 1, "HFP03", 1, 0, 3, 1, 2, 1, 2, 19, 4, 7, 15, 1}, + {"HF", 32, 12, 2, "HFP03", 1, 0, 1, 1, 1, 1, 2, 19, 4, 5, 15, 1}, + {"HF", 32, 14, 1, "HFP03", 2, 0, 2, 0, 1, 4, 2, 19, 6, 2, 16, 1}, + {"HF", 32, 14, 2, "HFP03", 2, 0, 4, 0, 2, 4, 2, 19, 6, 4, 16, 1}, + {"HF", 32, 16, 1, "HFP03", 3, 0, 3, 1, 2, 1, 2, 19, 6, 7, 16, 1}, + {"HF", 32, 16, 2, "HFP03", 3, 0, 1, 1, 1, 1, 2, 19, 6, 5, 16, 1}, + {"HF", 32, 18, 1, "HFP04", 1, 0, 2, 0, 1, 4, 2, 19, 8, 2, 17, 1}, + {"HF", 32, 18, 2, "HFP04", 1, 0, 4, 0, 2, 4, 2, 19, 8, 4, 17, 1}, + {"HF", 32, 20, 1, "HFP04", 2, 0, 3, 1, 2, 1, 2, 19, 8, 7, 17, 1}, + {"HF", 32, 20, 2, "HFP04", 2, 0, 1, 1, 1, 1, 2, 19, 8, 5, 17, 1}, + {"HF", 32, 22, 1, "HFP04", 3, 0, 2, 0, 1, 4, 2, 19, 10, 2, 18, 1}, + {"HF", 32, 22, 2, "HFP04", 3, 0, 4, 0, 2, 4, 2, 19, 10, 4, 18, 1}, + {"HF", 32, 24, 1, "HFP05", 1, 0, 3, 1, 2, 1, 2, 19, 10, 7, 18, 1}, + {"HF", 32, 24, 2, "HFP05", 1, 0, 1, 1, 1, 1, 2, 19, 10, 5, 18, 1}, + {"HF", 32, 26, 1, "HFP05", 2, 0, 2, 0, 1, 4, 9, 21, 0, 2, 13, 1}, + {"HF", 32, 26, 2, "HFP05", 2, 0, 4, 0, 2, 4, 9, 21, 0, 4, 13, 1}, + {"HF", 32, 28, 1, "HFP05", 3, 0, 3, 1, 2, 1, 9, 21, 0, 7, 13, 1}, + {"HF", 32, 28, 2, "HFP05", 3, 0, 1, 1, 1, 1, 9, 21, 0, 5, 13, 1}, + {"HF", 32, 30, 1, "HFP06", 1, 0, 2, 0, 1, 4, 9, 21, 2, 2, 14, 1}, + {"HF", 32, 30, 2, "HFP06", 1, 0, 4, 0, 2, 4, 9, 21, 2, 4, 14, 1}, + {"HF", 32, 32, 1, "HFP06", 2, 0, 3, 1, 2, 1, 9, 21, 2, 7, 14, 1}, + {"HF", 32, 32, 2, "HFP06", 2, 0, 1, 1, 1, 1, 9, 21, 2, 5, 14, 1}, + {"HF", 32, 34, 1, "HFP06", 3, 0, 2, 0, 1, 4, 9, 21, 4, 2, 15, 1}, + {"HF", 32, 34, 2, "HFP06", 3, 0, 4, 0, 2, 4, 9, 21, 4, 4, 15, 1}, + {"HF", 32, 36, 1, "HFP07", 1, 0, 3, 1, 2, 1, 9, 21, 4, 7, 15, 1}, + {"HF", 32, 36, 2, "HFP07", 1, 0, 1, 1, 1, 1, 9, 21, 4, 5, 15, 1}, + {"HF", 32, 38, 1, "HFP07", 2, 0, 2, 0, 1, 4, 9, 21, 6, 2, 16, 1}, + {"HF", 32, 38, 2, "HFP07", 2, 0, 4, 0, 2, 4, 9, 21, 6, 4, 16, 1}, + {"HF", 32, 40, 1, "HFP07", 3, 0, 3, 1, 2, 1, 9, 21, 6, 7, 16, 1}, + {"HF", 32, 40, 2, "HFP07", 3, 0, 1, 1, 1, 1, 9, 21, 6, 5, 16, 1}, + {"HF", 32, 42, 1, "HFP08", 1, 0, 2, 0, 1, 4, 9, 21, 8, 2, 17, 1}, + {"HF", 32, 42, 2, "HFP08", 1, 0, 4, 0, 2, 4, 9, 21, 8, 4, 17, 1}, + {"HF", 32, 44, 1, "HFP08", 2, 0, 3, 1, 2, 1, 9, 21, 8, 7, 17, 1}, + {"HF", 32, 44, 2, "HFP08", 2, 0, 1, 1, 1, 1, 9, 21, 8, 5, 17, 1}, + {"HF", 32, 46, 1, "HFP08", 3, 0, 2, 0, 1, 4, 9, 21, 10, 2, 18, 1}, + {"HF", 32, 46, 2, "HFP08", 3, 0, 4, 0, 2, 4, 9, 21, 10, 4, 18, 1}, + {"HF", 32, 48, 1, "HFP09", 1, 0, 3, 1, 2, 1, 9, 21, 10, 7, 18, 1}, + {"HF", 32, 48, 2, "HFP09", 1, 0, 1, 1, 1, 1, 9, 21, 10, 5, 18, 1}, + {"HF", 32, 50, 1, "HFP09", 2, 0, 2, 0, 1, 4, 12, 23, 0, 2, 13, 1}, + {"HF", 32, 50, 2, "HFP09", 2, 0, 4, 0, 2, 4, 12, 23, 0, 4, 13, 1}, + {"HF", 32, 52, 1, "HFP09", 3, 0, 3, 1, 2, 1, 12, 23, 0, 7, 13, 1}, + {"HF", 32, 52, 2, "HFP09", 3, 0, 1, 1, 1, 1, 12, 23, 0, 5, 13, 1}, + {"HF", 32, 54, 1, "HFP10", 1, 0, 2, 0, 1, 4, 12, 23, 2, 2, 14, 1}, + {"HF", 32, 54, 2, "HFP10", 1, 0, 4, 0, 2, 4, 12, 23, 2, 4, 14, 1}, + {"HF", 32, 56, 1, "HFP10", 2, 0, 3, 1, 2, 1, 12, 23, 2, 7, 14, 1}, + {"HF", 32, 56, 2, "HFP10", 2, 0, 1, 1, 1, 1, 12, 23, 2, 5, 14, 1}, + {"HF", 32, 58, 1, "HFP10", 3, 0, 2, 0, 1, 4, 12, 23, 4, 2, 15, 1}, + {"HF", 32, 58, 2, "HFP10", 3, 0, 4, 0, 2, 4, 12, 23, 4, 4, 15, 1}, + {"HF", 32, 60, 1, "HFP11", 1, 0, 3, 1, 2, 1, 12, 23, 4, 7, 15, 1}, + {"HF", 32, 60, 2, "HFP11", 1, 0, 1, 1, 1, 1, 12, 23, 4, 5, 15, 1}, + {"HF", 32, 62, 1, "HFP11", 2, 0, 2, 0, 1, 4, 12, 23, 6, 2, 16, 1}, + {"HF", 32, 62, 2, "HFP11", 2, 0, 4, 0, 2, 4, 12, 23, 6, 4, 16, 1}, + {"HF", 32, 64, 1, "HFP11", 3, 0, 3, 1, 2, 1, 12, 23, 6, 7, 16, 1}, + {"HF", 32, 64, 2, "HFP11", 3, 0, 1, 1, 1, 1, 12, 23, 6, 5, 16, 1}, + {"HF", 32, 66, 1, "HFP12", 1, 0, 2, 0, 1, 4, 12, 23, 8, 2, 17, 1}, + {"HF", 32, 66, 2, "HFP12", 1, 0, 4, 0, 2, 4, 12, 23, 8, 4, 17, 1}, + {"HF", 32, 68, 1, "HFP12", 2, 0, 3, 1, 2, 1, 12, 23, 8, 7, 17, 1}, + {"HF", 32, 68, 2, "HFP12", 2, 0, 1, 1, 1, 1, 12, 23, 8, 5, 17, 1}, + {"HF", 32, 70, 1, "HFP12", 3, 0, 2, 0, 1, 4, 12, 23, 10, 2, 18, 1}, + {"HF", 32, 70, 2, "HFP12", 3, 0, 4, 0, 2, 4, 12, 23, 10, 4, 18, 1}, + {"HF", 33, 0, 1, "HFP01", 1, 0, 4, 2, 2, 3, 12, 23, 10, 8, 18, 1}, + {"HF", 33, 0, 2, "HFP01", 1, 0, 2, 2, 1, 3, 12, 23, 10, 6, 18, 1}, + {"HF", 33, 2, 1, "HFP01", 2, 0, 1, 0, 1, 0, 2, 19, 0, 1, 13, 1}, + {"HF", 33, 2, 2, "HFP01", 2, 0, 3, 0, 2, 0, 2, 19, 0, 3, 13, 1}, + {"HF", 33, 4, 1, "HFP01", 3, 0, 4, 2, 2, 3, 2, 19, 0, 8, 13, 1}, + {"HF", 33, 4, 2, "HFP01", 3, 0, 2, 2, 1, 3, 2, 19, 0, 6, 13, 1}, + {"HF", 33, 6, 1, "HFP02", 1, 0, 1, 0, 1, 0, 2, 19, 2, 1, 14, 1}, + {"HF", 33, 6, 2, "HFP02", 1, 0, 3, 0, 2, 0, 2, 19, 2, 3, 14, 1}, + {"HF", 33, 8, 1, "HFP02", 2, 0, 4, 2, 2, 3, 2, 19, 2, 8, 14, 1}, + {"HF", 33, 8, 2, "HFP02", 2, 0, 2, 2, 1, 3, 2, 19, 2, 6, 14, 1}, + {"HF", 33, 10, 1, "HFP02", 3, 0, 1, 0, 1, 0, 2, 19, 4, 1, 15, 1}, + {"HF", 33, 10, 2, "HFP02", 3, 0, 3, 0, 2, 0, 2, 19, 4, 3, 15, 1}, + {"HF", 33, 12, 1, "HFP03", 1, 0, 4, 2, 2, 3, 2, 19, 4, 8, 15, 1}, + {"HF", 33, 12, 2, "HFP03", 1, 0, 2, 2, 1, 3, 2, 19, 4, 6, 15, 1}, + {"HF", 33, 14, 1, "HFP03", 2, 0, 1, 0, 1, 0, 2, 19, 6, 1, 16, 1}, + {"HF", 33, 14, 2, "HFP03", 2, 0, 3, 0, 2, 0, 2, 19, 6, 3, 16, 1}, + {"HF", 33, 16, 1, "HFP03", 3, 0, 4, 2, 2, 3, 2, 19, 6, 8, 16, 1}, + {"HF", 33, 16, 2, "HFP03", 3, 0, 2, 2, 1, 3, 2, 19, 6, 6, 16, 1}, + {"HF", 33, 18, 1, "HFP04", 1, 0, 1, 0, 1, 0, 2, 19, 8, 1, 17, 1}, + {"HF", 33, 18, 2, "HFP04", 1, 0, 3, 0, 2, 0, 2, 19, 8, 3, 17, 1}, + {"HF", 33, 20, 1, "HFP04", 2, 0, 4, 2, 2, 3, 2, 19, 8, 8, 17, 1}, + {"HF", 33, 20, 2, "HFP04", 2, 0, 2, 2, 1, 3, 2, 19, 8, 6, 17, 1}, + {"HF", 33, 22, 1, "HFP04", 3, 0, 1, 0, 1, 0, 2, 19, 10, 1, 18, 1}, + {"HF", 33, 22, 2, "HFP04", 3, 0, 3, 0, 2, 0, 2, 19, 10, 3, 18, 1}, + {"HF", 33, 24, 1, "HFP05", 1, 0, 4, 2, 2, 3, 2, 19, 10, 8, 18, 1}, + {"HF", 33, 24, 2, "HFP05", 1, 0, 2, 2, 1, 3, 2, 19, 10, 6, 18, 1}, + {"HF", 33, 26, 1, "HFP05", 2, 0, 1, 0, 1, 0, 9, 21, 0, 1, 13, 1}, + {"HF", 33, 26, 2, "HFP05", 2, 0, 3, 0, 2, 0, 9, 21, 0, 3, 13, 1}, + {"HF", 33, 28, 1, "HFP05", 3, 0, 4, 2, 2, 3, 9, 21, 0, 8, 13, 1}, + {"HF", 33, 28, 2, "HFP05", 3, 0, 2, 2, 1, 3, 9, 21, 0, 6, 13, 1}, + {"HF", 33, 30, 1, "HFP06", 1, 0, 1, 0, 1, 0, 9, 21, 2, 1, 14, 1}, + {"HF", 33, 30, 2, "HFP06", 1, 0, 3, 0, 2, 0, 9, 21, 2, 3, 14, 1}, + {"HF", 33, 32, 1, "HFP06", 2, 0, 4, 2, 2, 3, 9, 21, 2, 8, 14, 1}, + {"HF", 33, 32, 2, "HFP06", 2, 0, 2, 2, 1, 3, 9, 21, 2, 6, 14, 1}, + {"HF", 33, 34, 1, "HFP06", 3, 0, 1, 0, 1, 0, 9, 21, 4, 1, 15, 1}, + {"HF", 33, 34, 2, "HFP06", 3, 0, 3, 0, 2, 0, 9, 21, 4, 3, 15, 1}, + {"HF", 33, 36, 1, "HFP07", 1, 0, 4, 2, 2, 3, 9, 21, 4, 8, 15, 1}, + {"HF", 33, 36, 2, "HFP07", 1, 0, 2, 2, 1, 3, 9, 21, 4, 6, 15, 1}, + {"HF", 33, 38, 1, "HFP07", 2, 0, 1, 0, 1, 0, 9, 21, 6, 1, 16, 1}, + {"HF", 33, 38, 2, "HFP07", 2, 0, 3, 0, 2, 0, 9, 21, 6, 3, 16, 1}, + {"HF", 33, 40, 1, "HFP07", 3, 0, 4, 2, 2, 3, 9, 21, 6, 8, 16, 1}, + {"HF", 33, 40, 2, "HFP07", 3, 0, 2, 2, 1, 3, 9, 21, 6, 6, 16, 1}, + {"HF", 33, 42, 1, "HFP08", 1, 0, 1, 0, 1, 0, 9, 21, 8, 1, 17, 1}, + {"HF", 33, 42, 2, "HFP08", 1, 0, 3, 0, 2, 0, 9, 21, 8, 3, 17, 1}, + {"HF", 33, 44, 1, "HFP08", 2, 0, 4, 2, 2, 3, 9, 21, 8, 8, 17, 1}, + {"HF", 33, 44, 2, "HFP08", 2, 0, 2, 2, 1, 3, 9, 21, 8, 6, 17, 1}, + {"HF", 33, 46, 1, "HFP08", 3, 0, 1, 0, 1, 0, 9, 21, 10, 1, 18, 1}, + {"HF", 33, 46, 2, "HFP08", 3, 0, 3, 0, 2, 0, 9, 21, 10, 3, 18, 1}, + {"HF", 33, 48, 1, "HFP09", 1, 0, 4, 2, 2, 3, 9, 21, 10, 8, 18, 1}, + {"HF", 33, 48, 2, "HFP09", 1, 0, 2, 2, 1, 3, 9, 21, 10, 6, 18, 1}, + {"HF", 33, 50, 1, "HFP09", 2, 0, 1, 0, 1, 0, 12, 23, 0, 1, 13, 1}, + {"HF", 33, 50, 2, "HFP09", 2, 0, 3, 0, 2, 0, 12, 23, 0, 3, 13, 1}, + {"HF", 33, 52, 1, "HFP09", 3, 0, 4, 2, 2, 3, 12, 23, 0, 8, 13, 1}, + {"HF", 33, 52, 2, "HFP09", 3, 0, 2, 2, 1, 3, 12, 23, 0, 6, 13, 1}, + {"HF", 33, 54, 1, "HFP10", 1, 0, 1, 0, 1, 0, 12, 23, 2, 1, 14, 1}, + {"HF", 33, 54, 2, "HFP10", 1, 0, 3, 0, 2, 0, 12, 23, 2, 3, 14, 1}, + {"HF", 33, 56, 1, "HFP10", 2, 0, 4, 2, 2, 3, 12, 23, 2, 8, 14, 1}, + {"HF", 33, 56, 2, "HFP10", 2, 0, 2, 2, 1, 3, 12, 23, 2, 6, 14, 1}, + {"HF", 33, 58, 1, "HFP10", 3, 0, 1, 0, 1, 0, 12, 23, 4, 1, 15, 1}, + {"HF", 33, 58, 2, "HFP10", 3, 0, 3, 0, 2, 0, 12, 23, 4, 3, 15, 1}, + {"HF", 33, 60, 1, "HFP11", 1, 0, 4, 2, 2, 3, 12, 23, 4, 8, 15, 1}, + {"HF", 33, 60, 2, "HFP11", 1, 0, 2, 2, 1, 3, 12, 23, 4, 6, 15, 1}, + {"HF", 33, 62, 1, "HFP11", 2, 0, 1, 0, 1, 0, 12, 23, 6, 1, 16, 1}, + {"HF", 33, 62, 2, "HFP11", 2, 0, 3, 0, 2, 0, 12, 23, 6, 3, 16, 1}, + {"HF", 33, 64, 1, "HFP11", 3, 0, 4, 2, 2, 3, 12, 23, 6, 8, 16, 1}, + {"HF", 33, 64, 2, "HFP11", 3, 0, 2, 2, 1, 3, 12, 23, 6, 6, 16, 1}, + {"HF", 33, 66, 1, "HFP12", 1, 0, 1, 0, 1, 0, 12, 23, 8, 1, 17, 1}, + {"HF", 33, 66, 2, "HFP12", 1, 0, 3, 0, 2, 0, 12, 23, 8, 3, 17, 1}, + {"HF", 33, 68, 1, "HFP12", 2, 0, 4, 2, 2, 3, 12, 23, 8, 8, 17, 1}, + {"HF", 33, 68, 2, "HFP12", 2, 0, 2, 2, 1, 3, 12, 23, 8, 6, 17, 1}, + {"HF", 33, 70, 1, "HFP12", 3, 0, 1, 0, 1, 0, 12, 23, 10, 1, 18, 1}, + {"HF", 33, 70, 2, "HFP12", 3, 0, 3, 0, 2, 0, 12, 23, 10, 3, 18, 1}, + {"HF", 34, 0, 1, "HFP01", 1, 0, 3, 0, 2, 0, 12, 23, 10, 7, 18, 1}, + {"HF", 34, 0, 2, "HFP01", 1, 0, 1, 0, 1, 0, 12, 23, 10, 5, 18, 1}, + {"HF", 34, 2, 1, "HFP01", 2, 0, 2, 2, 1, 3, 2, 19, 0, 2, 13, 1}, + {"HF", 34, 2, 2, "HFP01", 2, 0, 4, 2, 2, 3, 2, 19, 0, 4, 13, 1}, + {"HF", 34, 4, 1, "HFP01", 3, 0, 3, 0, 2, 0, 2, 19, 0, 7, 13, 1}, + {"HF", 34, 4, 2, "HFP01", 3, 0, 1, 0, 1, 0, 2, 19, 0, 5, 13, 1}, + {"HF", 34, 6, 1, "HFP02", 1, 0, 2, 2, 1, 3, 2, 19, 2, 2, 14, 1}, + {"HF", 34, 6, 2, "HFP02", 1, 0, 4, 2, 2, 3, 2, 19, 2, 4, 14, 1}, + {"HF", 34, 8, 1, "HFP02", 2, 0, 3, 0, 2, 0, 2, 19, 2, 7, 14, 1}, + {"HF", 34, 8, 2, "HFP02", 2, 0, 1, 0, 1, 0, 2, 19, 2, 5, 14, 1}, + {"HF", 34, 10, 1, "HFP02", 3, 0, 2, 2, 1, 3, 2, 19, 4, 2, 15, 1}, + {"HF", 34, 10, 2, "HFP02", 3, 0, 4, 2, 2, 3, 2, 19, 4, 4, 15, 1}, + {"HF", 34, 12, 1, "HFP03", 1, 0, 3, 0, 2, 0, 2, 19, 4, 7, 15, 1}, + {"HF", 34, 12, 2, "HFP03", 1, 0, 1, 0, 1, 0, 2, 19, 4, 5, 15, 1}, + {"HF", 34, 14, 1, "HFP03", 2, 0, 2, 2, 1, 3, 2, 19, 6, 2, 16, 1}, + {"HF", 34, 14, 2, "HFP03", 2, 0, 4, 2, 2, 3, 2, 19, 6, 4, 16, 1}, + {"HF", 34, 16, 1, "HFP03", 3, 0, 3, 0, 2, 0, 2, 19, 6, 7, 16, 1}, + {"HF", 34, 16, 2, "HFP03", 3, 0, 1, 0, 1, 0, 2, 19, 6, 5, 16, 1}, + {"HF", 34, 18, 1, "HFP04", 1, 0, 2, 2, 1, 3, 2, 19, 8, 2, 17, 1}, + {"HF", 34, 18, 2, "HFP04", 1, 0, 4, 2, 2, 3, 2, 19, 8, 4, 17, 1}, + {"HF", 34, 20, 1, "HFP04", 2, 0, 3, 0, 2, 0, 2, 19, 8, 7, 17, 1}, + {"HF", 34, 20, 2, "HFP04", 2, 0, 1, 0, 1, 0, 2, 19, 8, 5, 17, 1}, + {"HF", 34, 22, 1, "HFP04", 3, 0, 2, 2, 1, 3, 2, 19, 10, 2, 18, 1}, + {"HF", 34, 22, 2, "HFP04", 3, 0, 4, 2, 2, 3, 2, 19, 10, 4, 18, 1}, + {"HF", 34, 24, 1, "HFP05", 1, 0, 3, 0, 2, 0, 2, 19, 10, 7, 18, 1}, + {"HF", 34, 24, 2, "HFP05", 1, 0, 1, 0, 1, 0, 2, 19, 10, 5, 18, 1}, + {"HF", 34, 26, 1, "HFP05", 2, 0, 2, 2, 1, 3, 9, 21, 0, 2, 13, 1}, + {"HF", 34, 26, 2, "HFP05", 2, 0, 4, 2, 2, 3, 9, 21, 0, 4, 13, 1}, + {"HF", 34, 28, 1, "HFP05", 3, 0, 3, 0, 2, 0, 9, 21, 0, 7, 13, 1}, + {"HF", 34, 28, 2, "HFP05", 3, 0, 1, 0, 1, 0, 9, 21, 0, 5, 13, 1}, + {"HF", 34, 30, 1, "HFP06", 1, 0, 2, 2, 1, 3, 9, 21, 2, 2, 14, 1}, + {"HF", 34, 30, 2, "HFP06", 1, 0, 4, 2, 2, 3, 9, 21, 2, 4, 14, 1}, + {"HF", 34, 32, 1, "HFP06", 2, 0, 3, 0, 2, 0, 9, 21, 2, 7, 14, 1}, + {"HF", 34, 32, 2, "HFP06", 2, 0, 1, 0, 1, 0, 9, 21, 2, 5, 14, 1}, + {"HF", 34, 34, 1, "HFP06", 3, 0, 2, 2, 1, 3, 9, 21, 4, 2, 15, 1}, + {"HF", 34, 34, 2, "HFP06", 3, 0, 4, 2, 2, 3, 9, 21, 4, 4, 15, 1}, + {"HF", 34, 36, 1, "HFP07", 1, 0, 3, 0, 2, 0, 9, 21, 4, 7, 15, 1}, + {"HF", 34, 36, 2, "HFP07", 1, 0, 1, 0, 1, 0, 9, 21, 4, 5, 15, 1}, + {"HF", 34, 38, 1, "HFP07", 2, 0, 2, 2, 1, 3, 9, 21, 6, 2, 16, 1}, + {"HF", 34, 38, 2, "HFP07", 2, 0, 4, 2, 2, 3, 9, 21, 6, 4, 16, 1}, + {"HF", 34, 40, 1, "HFP07", 3, 0, 3, 0, 2, 0, 9, 21, 6, 7, 16, 1}, + {"HF", 34, 40, 2, "HFP07", 3, 0, 1, 0, 1, 0, 9, 21, 6, 5, 16, 1}, + {"HF", 34, 42, 1, "HFP08", 1, 0, 2, 2, 1, 3, 9, 21, 8, 2, 17, 1}, + {"HF", 34, 42, 2, "HFP08", 1, 0, 4, 2, 2, 3, 9, 21, 8, 4, 17, 1}, + {"HF", 34, 44, 1, "HFP08", 2, 0, 3, 0, 2, 0, 9, 21, 8, 7, 17, 1}, + {"HF", 34, 44, 2, "HFP08", 2, 0, 1, 0, 1, 0, 9, 21, 8, 5, 17, 1}, + {"HF", 34, 46, 1, "HFP08", 3, 0, 2, 2, 1, 3, 9, 21, 10, 2, 18, 1}, + {"HF", 34, 46, 2, "HFP08", 3, 0, 4, 2, 2, 3, 9, 21, 10, 4, 18, 1}, + {"HF", 34, 48, 1, "HFP09", 1, 0, 3, 0, 2, 0, 9, 21, 10, 7, 18, 1}, + {"HF", 34, 48, 2, "HFP09", 1, 0, 1, 0, 1, 0, 9, 21, 10, 5, 18, 1}, + {"HF", 34, 50, 1, "HFP09", 2, 0, 2, 2, 1, 3, 12, 23, 0, 2, 13, 1}, + {"HF", 34, 50, 2, "HFP09", 2, 0, 4, 2, 2, 3, 12, 23, 0, 4, 13, 1}, + {"HF", 34, 52, 1, "HFP09", 3, 0, 3, 0, 2, 0, 12, 23, 0, 7, 13, 1}, + {"HF", 34, 52, 2, "HFP09", 3, 0, 1, 0, 1, 0, 12, 23, 0, 5, 13, 1}, + {"HF", 34, 54, 1, "HFP10", 1, 0, 2, 2, 1, 3, 12, 23, 2, 2, 14, 1}, + {"HF", 34, 54, 2, "HFP10", 1, 0, 4, 2, 2, 3, 12, 23, 2, 4, 14, 1}, + {"HF", 34, 56, 1, "HFP10", 2, 0, 3, 0, 2, 0, 12, 23, 2, 7, 14, 1}, + {"HF", 34, 56, 2, "HFP10", 2, 0, 1, 0, 1, 0, 12, 23, 2, 5, 14, 1}, + {"HF", 34, 58, 1, "HFP10", 3, 0, 2, 2, 1, 3, 12, 23, 4, 2, 15, 1}, + {"HF", 34, 58, 2, "HFP10", 3, 0, 4, 2, 2, 3, 12, 23, 4, 4, 15, 1}, + {"HF", 34, 60, 1, "HFP11", 1, 0, 3, 0, 2, 0, 12, 23, 4, 7, 15, 1}, + {"HF", 34, 60, 2, "HFP11", 1, 0, 1, 0, 1, 0, 12, 23, 4, 5, 15, 1}, + {"HF", 34, 62, 1, "HFP11", 2, 0, 2, 2, 1, 3, 12, 23, 6, 2, 16, 1}, + {"HF", 34, 62, 2, "HFP11", 2, 0, 4, 2, 2, 3, 12, 23, 6, 4, 16, 1}, + {"HF", 34, 64, 1, "HFP11", 3, 0, 3, 0, 2, 0, 12, 23, 6, 7, 16, 1}, + {"HF", 34, 64, 2, "HFP11", 3, 0, 1, 0, 1, 0, 12, 23, 6, 5, 16, 1}, + {"HF", 34, 66, 1, "HFP12", 1, 0, 2, 2, 1, 3, 12, 23, 8, 2, 17, 1}, + {"HF", 34, 66, 2, "HFP12", 1, 0, 4, 2, 2, 3, 12, 23, 8, 4, 17, 1}, + {"HF", 34, 68, 1, "HFP12", 2, 0, 3, 0, 2, 0, 12, 23, 8, 7, 17, 1}, + {"HF", 34, 68, 2, "HFP12", 2, 0, 1, 0, 1, 0, 12, 23, 8, 5, 17, 1}, + {"HF", 34, 70, 1, "HFP12", 3, 0, 2, 2, 1, 3, 12, 23, 10, 2, 18, 1}, + {"HF", 34, 70, 2, "HFP12", 3, 0, 4, 2, 2, 3, 12, 23, 10, 4, 18, 1}, + {"HF", 35, 0, 1, "HFP01", 1, 0, 8, 1, 4, 5, 12, 23, 11, 8, 18, 0}, + {"HF", 35, 0, 2, "HFP01", 1, 0, 6, 1, 3, 5, 12, 23, 11, 6, 18, 0}, + {"HF", 35, 2, 1, "HFP01", 2, 0, 5, 2, 3, 2, 2, 19, 1, 1, 13, 0}, + {"HF", 35, 2, 2, "HFP01", 2, 0, 7, 2, 4, 2, 2, 19, 1, 3, 13, 0}, + {"HF", 35, 4, 1, "HFP01", 3, 0, 8, 1, 4, 5, 2, 19, 1, 8, 13, 0}, + {"HF", 35, 4, 2, "HFP01", 3, 0, 6, 1, 3, 5, 2, 19, 1, 6, 13, 0}, + {"HF", 35, 6, 1, "HFP02", 1, 0, 5, 2, 3, 2, 2, 19, 3, 1, 14, 0}, + {"HF", 35, 6, 2, "HFP02", 1, 0, 7, 2, 4, 2, 2, 19, 3, 3, 14, 0}, + {"HF", 35, 8, 1, "HFP02", 2, 0, 8, 1, 4, 5, 2, 19, 3, 8, 14, 0}, + {"HF", 35, 8, 2, "HFP02", 2, 0, 6, 1, 3, 5, 2, 19, 3, 6, 14, 0}, + {"HF", 35, 10, 1, "HFP02", 3, 0, 5, 2, 3, 2, 2, 19, 5, 1, 15, 0}, + {"HF", 35, 10, 2, "HFP02", 3, 0, 7, 2, 4, 2, 2, 19, 5, 3, 15, 0}, + {"HF", 35, 12, 1, "HFP03", 1, 0, 8, 1, 4, 5, 2, 19, 5, 8, 15, 0}, + {"HF", 35, 12, 2, "HFP03", 1, 0, 6, 1, 3, 5, 2, 19, 5, 6, 15, 0}, + {"HF", 35, 14, 1, "HFP03", 2, 0, 5, 2, 3, 2, 2, 19, 7, 1, 16, 0}, + {"HF", 35, 14, 2, "HFP03", 2, 0, 7, 2, 4, 2, 2, 19, 7, 3, 16, 0}, + {"HF", 35, 16, 1, "HFP03", 3, 0, 8, 1, 4, 5, 2, 19, 7, 8, 16, 0}, + {"HF", 35, 16, 2, "HFP03", 3, 0, 6, 1, 3, 5, 2, 19, 7, 6, 16, 0}, + {"HF", 35, 18, 1, "HFP04", 1, 0, 5, 2, 3, 2, 2, 19, 9, 1, 17, 0}, + {"HF", 35, 18, 2, "HFP04", 1, 0, 7, 2, 4, 2, 2, 19, 9, 3, 17, 0}, + {"HF", 35, 20, 1, "HFP04", 2, 0, 8, 1, 4, 5, 2, 19, 9, 8, 17, 0}, + {"HF", 35, 20, 2, "HFP04", 2, 0, 6, 1, 3, 5, 2, 19, 9, 6, 17, 0}, + {"HF", 35, 22, 1, "HFP04", 3, 0, 5, 2, 3, 2, 2, 19, 11, 1, 18, 0}, + {"HF", 35, 22, 2, "HFP04", 3, 0, 7, 2, 4, 2, 2, 19, 11, 3, 18, 0}, + {"HF", 35, 24, 1, "HFP05", 1, 0, 8, 1, 4, 5, 2, 19, 11, 8, 18, 0}, + {"HF", 35, 24, 2, "HFP05", 1, 0, 6, 1, 3, 5, 2, 19, 11, 6, 18, 0}, + {"HF", 35, 26, 1, "HFP05", 2, 0, 5, 2, 3, 2, 9, 21, 1, 1, 13, 0}, + {"HF", 35, 26, 2, "HFP05", 2, 0, 7, 2, 4, 2, 9, 21, 1, 3, 13, 0}, + {"HF", 35, 28, 1, "HFP05", 3, 0, 8, 1, 4, 5, 9, 21, 1, 8, 13, 0}, + {"HF", 35, 28, 2, "HFP05", 3, 0, 6, 1, 3, 5, 9, 21, 1, 6, 13, 0}, + {"HF", 35, 30, 1, "HFP06", 1, 0, 5, 2, 3, 2, 9, 21, 3, 1, 14, 0}, + {"HF", 35, 30, 2, "HFP06", 1, 0, 7, 2, 4, 2, 9, 21, 3, 3, 14, 0}, + {"HF", 35, 32, 1, "HFP06", 2, 0, 8, 1, 4, 5, 9, 21, 3, 8, 14, 0}, + {"HF", 35, 32, 2, "HFP06", 2, 0, 6, 1, 3, 5, 9, 21, 3, 6, 14, 0}, + {"HF", 35, 34, 1, "HFP06", 3, 0, 5, 2, 3, 2, 9, 21, 5, 1, 15, 0}, + {"HF", 35, 34, 2, "HFP06", 3, 0, 7, 2, 4, 2, 9, 21, 5, 3, 15, 0}, + {"HF", 35, 36, 1, "HFP07", 1, 0, 8, 1, 4, 5, 9, 21, 5, 8, 15, 0}, + {"HF", 35, 36, 2, "HFP07", 1, 0, 6, 1, 3, 5, 9, 21, 5, 6, 15, 0}, + {"HF", 35, 38, 1, "HFP07", 2, 0, 5, 2, 3, 2, 9, 21, 7, 1, 16, 0}, + {"HF", 35, 38, 2, "HFP07", 2, 0, 7, 2, 4, 2, 9, 21, 7, 3, 16, 0}, + {"HF", 35, 40, 1, "HFP07", 3, 0, 8, 1, 4, 5, 9, 21, 7, 8, 16, 0}, + {"HF", 35, 40, 2, "HFP07", 3, 0, 6, 1, 3, 5, 9, 21, 7, 6, 16, 0}, + {"HF", 35, 42, 1, "HFP08", 1, 0, 5, 2, 3, 2, 9, 21, 9, 1, 17, 0}, + {"HF", 35, 42, 2, "HFP08", 1, 0, 7, 2, 4, 2, 9, 21, 9, 3, 17, 0}, + {"HF", 35, 44, 1, "HFP08", 2, 0, 8, 1, 4, 5, 9, 21, 9, 8, 17, 0}, + {"HF", 35, 44, 2, "HFP08", 2, 0, 6, 1, 3, 5, 9, 21, 9, 6, 17, 0}, + {"HF", 35, 46, 1, "HFP08", 3, 0, 5, 2, 3, 2, 9, 21, 11, 1, 18, 0}, + {"HF", 35, 46, 2, "HFP08", 3, 0, 7, 2, 4, 2, 9, 21, 11, 3, 18, 0}, + {"HF", 35, 48, 1, "HFP09", 1, 0, 8, 1, 4, 5, 9, 21, 11, 8, 18, 0}, + {"HF", 35, 48, 2, "HFP09", 1, 0, 6, 1, 3, 5, 9, 21, 11, 6, 18, 0}, + {"HF", 35, 50, 1, "HFP09", 2, 0, 5, 2, 3, 2, 12, 23, 1, 1, 13, 0}, + {"HF", 35, 50, 2, "HFP09", 2, 0, 7, 2, 4, 2, 12, 23, 1, 3, 13, 0}, + {"HF", 35, 52, 1, "HFP09", 3, 0, 8, 1, 4, 5, 12, 23, 1, 8, 13, 0}, + {"HF", 35, 52, 2, "HFP09", 3, 0, 6, 1, 3, 5, 12, 23, 1, 6, 13, 0}, + {"HF", 35, 54, 1, "HFP10", 1, 0, 5, 2, 3, 2, 12, 23, 3, 1, 14, 0}, + {"HF", 35, 54, 2, "HFP10", 1, 0, 7, 2, 4, 2, 12, 23, 3, 3, 14, 0}, + {"HF", 35, 56, 1, "HFP10", 2, 0, 8, 1, 4, 5, 12, 23, 3, 8, 14, 0}, + {"HF", 35, 56, 2, "HFP10", 2, 0, 6, 1, 3, 5, 12, 23, 3, 6, 14, 0}, + {"HF", 35, 58, 1, "HFP10", 3, 0, 5, 2, 3, 2, 12, 23, 5, 1, 15, 0}, + {"HF", 35, 58, 2, "HFP10", 3, 0, 7, 2, 4, 2, 12, 23, 5, 3, 15, 0}, + {"HF", 35, 60, 1, "HFP11", 1, 0, 8, 1, 4, 5, 12, 23, 5, 8, 15, 0}, + {"HF", 35, 60, 2, "HFP11", 1, 0, 6, 1, 3, 5, 12, 23, 5, 6, 15, 0}, + {"HF", 35, 62, 1, "HFP11", 2, 0, 5, 2, 3, 2, 12, 23, 7, 1, 16, 0}, + {"HF", 35, 62, 2, "HFP11", 2, 0, 7, 2, 4, 2, 12, 23, 7, 3, 16, 0}, + {"HF", 35, 64, 1, "HFP11", 3, 0, 8, 1, 4, 5, 12, 23, 7, 8, 16, 0}, + {"HF", 35, 64, 2, "HFP11", 3, 0, 6, 1, 3, 5, 12, 23, 7, 6, 16, 0}, + {"HF", 35, 66, 1, "HFP12", 1, 0, 5, 2, 3, 2, 12, 23, 9, 1, 17, 0}, + {"HF", 35, 66, 2, "HFP12", 1, 0, 7, 2, 4, 2, 12, 23, 9, 3, 17, 0}, + {"HF", 35, 68, 1, "HFP12", 2, 0, 8, 1, 4, 5, 12, 23, 9, 8, 17, 0}, + {"HF", 35, 68, 2, "HFP12", 2, 0, 6, 1, 3, 5, 12, 23, 9, 6, 17, 0}, + {"HF", 35, 70, 1, "HFP12", 3, 0, 5, 2, 3, 2, 12, 23, 11, 1, 18, 0}, + {"HF", 35, 70, 2, "HFP12", 3, 0, 7, 2, 4, 2, 12, 23, 11, 3, 18, 0}, + {"HF", 36, 0, 1, "HFP01", 1, 0, 7, 2, 4, 2, 12, 23, 11, 7, 18, 0}, + {"HF", 36, 0, 2, "HFP01", 1, 0, 5, 2, 3, 2, 12, 23, 11, 5, 18, 0}, + {"HF", 36, 2, 1, "HFP01", 2, 0, 6, 1, 3, 5, 2, 19, 1, 2, 13, 0}, + {"HF", 36, 2, 2, "HFP01", 2, 0, 8, 1, 4, 5, 2, 19, 1, 4, 13, 0}, + {"HF", 36, 4, 1, "HFP01", 3, 0, 7, 2, 4, 2, 2, 19, 1, 7, 13, 0}, + {"HF", 36, 4, 2, "HFP01", 3, 0, 5, 2, 3, 2, 2, 19, 1, 5, 13, 0}, + {"HF", 36, 6, 1, "HFP02", 1, 0, 6, 1, 3, 5, 2, 19, 3, 2, 14, 0}, + {"HF", 36, 6, 2, "HFP02", 1, 0, 8, 1, 4, 5, 2, 19, 3, 4, 14, 0}, + {"HF", 36, 8, 1, "HFP02", 2, 0, 7, 2, 4, 2, 2, 19, 3, 7, 14, 0}, + {"HF", 36, 8, 2, "HFP02", 2, 0, 5, 2, 3, 2, 2, 19, 3, 5, 14, 0}, + {"HF", 36, 10, 1, "HFP02", 3, 0, 6, 1, 3, 5, 2, 19, 5, 2, 15, 0}, + {"HF", 36, 10, 2, "HFP02", 3, 0, 8, 1, 4, 5, 2, 19, 5, 4, 15, 0}, + {"HF", 36, 12, 1, "HFP03", 1, 0, 7, 2, 4, 2, 2, 19, 5, 7, 15, 0}, + {"HF", 36, 12, 2, "HFP03", 1, 0, 5, 2, 3, 2, 2, 19, 5, 5, 15, 0}, + {"HF", 36, 14, 1, "HFP03", 2, 0, 6, 1, 3, 5, 2, 19, 7, 2, 16, 0}, + {"HF", 36, 14, 2, "HFP03", 2, 0, 8, 1, 4, 5, 2, 19, 7, 4, 16, 0}, + {"HF", 36, 16, 1, "HFP03", 3, 0, 7, 2, 4, 2, 2, 19, 7, 7, 16, 0}, + {"HF", 36, 16, 2, "HFP03", 3, 0, 5, 2, 3, 2, 2, 19, 7, 5, 16, 0}, + {"HF", 36, 18, 1, "HFP04", 1, 0, 6, 1, 3, 5, 2, 19, 9, 2, 17, 0}, + {"HF", 36, 18, 2, "HFP04", 1, 0, 8, 1, 4, 5, 2, 19, 9, 4, 17, 0}, + {"HF", 36, 20, 1, "HFP04", 2, 0, 7, 2, 4, 2, 2, 19, 9, 7, 17, 0}, + {"HF", 36, 20, 2, "HFP04", 2, 0, 5, 2, 3, 2, 2, 19, 9, 5, 17, 0}, + {"HF", 36, 22, 1, "HFP04", 3, 0, 6, 1, 3, 5, 2, 19, 11, 2, 18, 0}, + {"HF", 36, 22, 2, "HFP04", 3, 0, 8, 1, 4, 5, 2, 19, 11, 4, 18, 0}, + {"HF", 36, 24, 1, "HFP05", 1, 0, 7, 2, 4, 2, 2, 19, 11, 7, 18, 0}, + {"HF", 36, 24, 2, "HFP05", 1, 0, 5, 2, 3, 2, 2, 19, 11, 5, 18, 0}, + {"HF", 36, 26, 1, "HFP05", 2, 0, 6, 1, 3, 5, 9, 21, 1, 2, 13, 0}, + {"HF", 36, 26, 2, "HFP05", 2, 0, 8, 1, 4, 5, 9, 21, 1, 4, 13, 0}, + {"HF", 36, 28, 1, "HFP05", 3, 0, 7, 2, 4, 2, 9, 21, 1, 7, 13, 0}, + {"HF", 36, 28, 2, "HFP05", 3, 0, 5, 2, 3, 2, 9, 21, 1, 5, 13, 0}, + {"HF", 36, 30, 1, "HFP06", 1, 0, 6, 1, 3, 5, 9, 21, 3, 2, 14, 0}, + {"HF", 36, 30, 2, "HFP06", 1, 0, 8, 1, 4, 5, 9, 21, 3, 4, 14, 0}, + {"HF", 36, 32, 1, "HFP06", 2, 0, 7, 2, 4, 2, 9, 21, 3, 7, 14, 0}, + {"HF", 36, 32, 2, "HFP06", 2, 0, 5, 2, 3, 2, 9, 21, 3, 5, 14, 0}, + {"HF", 36, 34, 1, "HFP06", 3, 0, 6, 1, 3, 5, 9, 21, 5, 2, 15, 0}, + {"HF", 36, 34, 2, "HFP06", 3, 0, 8, 1, 4, 5, 9, 21, 5, 4, 15, 0}, + {"HF", 36, 36, 1, "HFP07", 1, 0, 7, 2, 4, 2, 9, 21, 5, 7, 15, 0}, + {"HF", 36, 36, 2, "HFP07", 1, 0, 5, 2, 3, 2, 9, 21, 5, 5, 15, 0}, + {"HF", 36, 38, 1, "HFP07", 2, 0, 6, 1, 3, 5, 9, 21, 7, 2, 16, 0}, + {"HF", 36, 38, 2, "HFP07", 2, 0, 8, 1, 4, 5, 9, 21, 7, 4, 16, 0}, + {"HF", 36, 40, 1, "HFP07", 3, 0, 7, 2, 4, 2, 9, 21, 7, 7, 16, 0}, + {"HF", 36, 40, 2, "HFP07", 3, 0, 5, 2, 3, 2, 9, 21, 7, 5, 16, 0}, + {"HF", 36, 42, 1, "HFP08", 1, 0, 6, 1, 3, 5, 9, 21, 9, 2, 17, 0}, + {"HF", 36, 42, 2, "HFP08", 1, 0, 8, 1, 4, 5, 9, 21, 9, 4, 17, 0}, + {"HF", 36, 44, 1, "HFP08", 2, 0, 7, 2, 4, 2, 9, 21, 9, 7, 17, 0}, + {"HF", 36, 44, 2, "HFP08", 2, 0, 5, 2, 3, 2, 9, 21, 9, 5, 17, 0}, + {"HF", 36, 46, 1, "HFP08", 3, 0, 6, 1, 3, 5, 9, 21, 11, 2, 18, 0}, + {"HF", 36, 46, 2, "HFP08", 3, 0, 8, 1, 4, 5, 9, 21, 11, 4, 18, 0}, + {"HF", 36, 48, 1, "HFP09", 1, 0, 7, 2, 4, 2, 9, 21, 11, 7, 18, 0}, + {"HF", 36, 48, 2, "HFP09", 1, 0, 5, 2, 3, 2, 9, 21, 11, 5, 18, 0}, + {"HF", 36, 50, 1, "HFP09", 2, 0, 6, 1, 3, 5, 12, 23, 1, 2, 13, 0}, + {"HF", 36, 50, 2, "HFP09", 2, 0, 8, 1, 4, 5, 12, 23, 1, 4, 13, 0}, + {"HF", 36, 52, 1, "HFP09", 3, 0, 7, 2, 4, 2, 12, 23, 1, 7, 13, 0}, + {"HF", 36, 52, 2, "HFP09", 3, 0, 5, 2, 3, 2, 12, 23, 1, 5, 13, 0}, + {"HF", 36, 54, 1, "HFP10", 1, 0, 6, 1, 3, 5, 12, 23, 3, 2, 14, 0}, + {"HF", 36, 54, 2, "HFP10", 1, 0, 8, 1, 4, 5, 12, 23, 3, 4, 14, 0}, + {"HF", 36, 56, 1, "HFP10", 2, 0, 7, 2, 4, 2, 12, 23, 3, 7, 14, 0}, + {"HF", 36, 56, 2, "HFP10", 2, 0, 5, 2, 3, 2, 12, 23, 3, 5, 14, 0}, + {"HF", 36, 58, 1, "HFP10", 3, 0, 6, 1, 3, 5, 12, 23, 5, 2, 15, 0}, + {"HF", 36, 58, 2, "HFP10", 3, 0, 8, 1, 4, 5, 12, 23, 5, 4, 15, 0}, + {"HF", 36, 60, 1, "HFP11", 1, 0, 7, 2, 4, 2, 12, 23, 5, 7, 15, 0}, + {"HF", 36, 60, 2, "HFP11", 1, 0, 5, 2, 3, 2, 12, 23, 5, 5, 15, 0}, + {"HF", 36, 62, 1, "HFP11", 2, 0, 6, 1, 3, 5, 12, 23, 7, 2, 16, 0}, + {"HF", 36, 62, 2, "HFP11", 2, 0, 8, 1, 4, 5, 12, 23, 7, 4, 16, 0}, + {"HF", 36, 64, 1, "HFP11", 3, 0, 7, 2, 4, 2, 12, 23, 7, 7, 16, 0}, + {"HF", 36, 64, 2, "HFP11", 3, 0, 5, 2, 3, 2, 12, 23, 7, 5, 16, 0}, + {"HF", 36, 66, 1, "HFP12", 1, 0, 6, 1, 3, 5, 12, 23, 9, 2, 17, 0}, + {"HF", 36, 66, 2, "HFP12", 1, 0, 8, 1, 4, 5, 12, 23, 9, 4, 17, 0}, + {"HF", 36, 68, 1, "HFP12", 2, 0, 7, 2, 4, 2, 12, 23, 9, 7, 17, 0}, + {"HF", 36, 68, 2, "HFP12", 2, 0, 5, 2, 3, 2, 12, 23, 9, 5, 17, 0}, + {"HF", 36, 70, 1, "HFP12", 3, 0, 6, 1, 3, 5, 12, 23, 11, 2, 18, 0}, + {"HF", 36, 70, 2, "HFP12", 3, 0, 8, 1, 4, 5, 12, 23, 11, 4, 18, 0}, + {"HF", 37, 0, 1, "HFP01", 1, 0, 8, 0, 4, 4, 12, 23, 11, 8, 18, 0}, + {"HF", 37, 0, 2, "HFP01", 1, 0, 6, 0, 3, 4, 12, 23, 11, 6, 18, 0}, + {"HF", 37, 2, 1, "HFP01", 2, 0, 5, 1, 3, 1, 2, 19, 1, 1, 13, 0}, + {"HF", 37, 2, 2, "HFP01", 2, 0, 7, 1, 4, 1, 2, 19, 1, 3, 13, 0}, + {"HF", 37, 4, 1, "HFP01", 3, 0, 8, 0, 4, 4, 2, 19, 1, 8, 13, 0}, + {"HF", 37, 4, 2, "HFP01", 3, 0, 6, 0, 3, 4, 2, 19, 1, 6, 13, 0}, + {"HF", 37, 6, 1, "HFP02", 1, 0, 5, 1, 3, 1, 2, 19, 3, 1, 14, 0}, + {"HF", 37, 6, 2, "HFP02", 1, 0, 7, 1, 4, 1, 2, 19, 3, 3, 14, 0}, + {"HF", 37, 8, 1, "HFP02", 2, 0, 8, 0, 4, 4, 2, 19, 3, 8, 14, 0}, + {"HF", 37, 8, 2, "HFP02", 2, 0, 6, 0, 3, 4, 2, 19, 3, 6, 14, 0}, + {"HF", 37, 10, 1, "HFP02", 3, 0, 5, 1, 3, 1, 2, 19, 5, 1, 15, 0}, + {"HF", 37, 10, 2, "HFP02", 3, 0, 7, 1, 4, 1, 2, 19, 5, 3, 15, 0}, + {"HF", 37, 12, 1, "HFP03", 1, 0, 8, 0, 4, 4, 2, 19, 5, 8, 15, 0}, + {"HF", 37, 12, 2, "HFP03", 1, 0, 6, 0, 3, 4, 2, 19, 5, 6, 15, 0}, + {"HF", 37, 14, 1, "HFP03", 2, 0, 5, 1, 3, 1, 2, 19, 7, 1, 16, 0}, + {"HF", 37, 14, 2, "HFP03", 2, 0, 7, 1, 4, 1, 2, 19, 7, 3, 16, 0}, + {"HF", 37, 16, 1, "HFP03", 3, 0, 8, 0, 4, 4, 2, 19, 7, 8, 16, 0}, + {"HF", 37, 16, 2, "HFP03", 3, 0, 6, 0, 3, 4, 2, 19, 7, 6, 16, 0}, + {"HF", 37, 18, 1, "HFP04", 1, 0, 5, 1, 3, 1, 2, 19, 9, 1, 17, 0}, + {"HF", 37, 18, 2, "HFP04", 1, 0, 7, 1, 4, 1, 2, 19, 9, 3, 17, 0}, + {"HF", 37, 20, 1, "HFP04", 2, 0, 8, 0, 4, 4, 2, 19, 9, 8, 17, 0}, + {"HF", 37, 20, 2, "HFP04", 2, 0, 6, 0, 3, 4, 2, 19, 9, 6, 17, 0}, + {"HF", 37, 22, 1, "HFP04", 3, 0, 5, 1, 3, 1, 2, 19, 11, 1, 18, 0}, + {"HF", 37, 22, 2, "HFP04", 3, 0, 7, 1, 4, 1, 2, 19, 11, 3, 18, 0}, + {"HF", 37, 24, 1, "HFP05", 1, 0, 8, 0, 4, 4, 2, 19, 11, 8, 18, 0}, + {"HF", 37, 24, 2, "HFP05", 1, 0, 6, 0, 3, 4, 2, 19, 11, 6, 18, 0}, + {"HF", 37, 26, 1, "HFP05", 2, 0, 5, 1, 3, 1, 9, 21, 1, 1, 13, 0}, + {"HF", 37, 26, 2, "HFP05", 2, 0, 7, 1, 4, 1, 9, 21, 1, 3, 13, 0}, + {"HF", 37, 28, 1, "HFP05", 3, 0, 8, 0, 4, 4, 9, 21, 1, 8, 13, 0}, + {"HF", 37, 28, 2, "HFP05", 3, 0, 6, 0, 3, 4, 9, 21, 1, 6, 13, 0}, + {"HF", 37, 30, 1, "HFP06", 1, 0, 5, 1, 3, 1, 9, 21, 3, 1, 14, 0}, + {"HF", 37, 30, 2, "HFP06", 1, 0, 7, 1, 4, 1, 9, 21, 3, 3, 14, 0}, + {"HF", 37, 32, 1, "HFP06", 2, 0, 8, 0, 4, 4, 9, 21, 3, 8, 14, 0}, + {"HF", 37, 32, 2, "HFP06", 2, 0, 6, 0, 3, 4, 9, 21, 3, 6, 14, 0}, + {"HF", 37, 34, 1, "HFP06", 3, 0, 5, 1, 3, 1, 9, 21, 5, 1, 15, 0}, + {"HF", 37, 34, 2, "HFP06", 3, 0, 7, 1, 4, 1, 9, 21, 5, 3, 15, 0}, + {"HF", 37, 36, 1, "HFP07", 1, 0, 8, 0, 4, 4, 9, 21, 5, 8, 15, 0}, + {"HF", 37, 36, 2, "HFP07", 1, 0, 6, 0, 3, 4, 9, 21, 5, 6, 15, 0}, + {"HF", 37, 38, 1, "HFP07", 2, 0, 5, 1, 3, 1, 9, 21, 7, 1, 16, 0}, + {"HF", 37, 38, 2, "HFP07", 2, 0, 7, 1, 4, 1, 9, 21, 7, 3, 16, 0}, + {"HF", 37, 40, 1, "HFP07", 3, 0, 8, 0, 4, 4, 9, 21, 7, 8, 16, 0}, + {"HF", 37, 40, 2, "HFP07", 3, 0, 6, 0, 3, 4, 9, 21, 7, 6, 16, 0}, + {"HF", 37, 42, 1, "HFP08", 1, 0, 5, 1, 3, 1, 9, 21, 9, 1, 17, 0}, + {"HF", 37, 42, 2, "HFP08", 1, 0, 7, 1, 4, 1, 9, 21, 9, 3, 17, 0}, + {"HF", 37, 44, 1, "HFP08", 2, 0, 8, 0, 4, 4, 9, 21, 9, 8, 17, 0}, + {"HF", 37, 44, 2, "HFP08", 2, 0, 6, 0, 3, 4, 9, 21, 9, 6, 17, 0}, + {"HF", 37, 46, 1, "HFP08", 3, 0, 5, 1, 3, 1, 9, 21, 11, 1, 18, 0}, + {"HF", 37, 46, 2, "HFP08", 3, 0, 7, 1, 4, 1, 9, 21, 11, 3, 18, 0}, + {"HF", 37, 48, 1, "HFP09", 1, 0, 8, 0, 4, 4, 9, 21, 11, 8, 18, 0}, + {"HF", 37, 48, 2, "HFP09", 1, 0, 6, 0, 3, 4, 9, 21, 11, 6, 18, 0}, + {"HF", 37, 50, 1, "HFP09", 2, 0, 5, 1, 3, 1, 12, 23, 1, 1, 13, 0}, + {"HF", 37, 50, 2, "HFP09", 2, 0, 7, 1, 4, 1, 12, 23, 1, 3, 13, 0}, + {"HF", 37, 52, 1, "HFP09", 3, 0, 8, 0, 4, 4, 12, 23, 1, 8, 13, 0}, + {"HF", 37, 52, 2, "HFP09", 3, 0, 6, 0, 3, 4, 12, 23, 1, 6, 13, 0}, + {"HF", 37, 54, 1, "HFP10", 1, 0, 5, 1, 3, 1, 12, 23, 3, 1, 14, 0}, + {"HF", 37, 54, 2, "HFP10", 1, 0, 7, 1, 4, 1, 12, 23, 3, 3, 14, 0}, + {"HF", 37, 56, 1, "HFP10", 2, 0, 8, 0, 4, 4, 12, 23, 3, 8, 14, 0}, + {"HF", 37, 56, 2, "HFP10", 2, 0, 6, 0, 3, 4, 12, 23, 3, 6, 14, 0}, + {"HF", 37, 58, 1, "HFP10", 3, 0, 5, 1, 3, 1, 12, 23, 5, 1, 15, 0}, + {"HF", 37, 58, 2, "HFP10", 3, 0, 7, 1, 4, 1, 12, 23, 5, 3, 15, 0}, + {"HF", 37, 60, 1, "HFP11", 1, 0, 8, 0, 4, 4, 12, 23, 5, 8, 15, 0}, + {"HF", 37, 60, 2, "HFP11", 1, 0, 6, 0, 3, 4, 12, 23, 5, 6, 15, 0}, + {"HF", 37, 62, 1, "HFP11", 2, 0, 5, 1, 3, 1, 12, 23, 7, 1, 16, 0}, + {"HF", 37, 62, 2, "HFP11", 2, 0, 7, 1, 4, 1, 12, 23, 7, 3, 16, 0}, + {"HF", 37, 64, 1, "HFP11", 3, 0, 8, 0, 4, 4, 12, 23, 7, 8, 16, 0}, + {"HF", 37, 64, 2, "HFP11", 3, 0, 6, 0, 3, 4, 12, 23, 7, 6, 16, 0}, + {"HF", 37, 66, 1, "HFP12", 1, 0, 5, 1, 3, 1, 12, 23, 9, 1, 17, 0}, + {"HF", 37, 66, 2, "HFP12", 1, 0, 7, 1, 4, 1, 12, 23, 9, 3, 17, 0}, + {"HF", 37, 68, 1, "HFP12", 2, 0, 8, 0, 4, 4, 12, 23, 9, 8, 17, 0}, + {"HF", 37, 68, 2, "HFP12", 2, 0, 6, 0, 3, 4, 12, 23, 9, 6, 17, 0}, + {"HF", 37, 70, 1, "HFP12", 3, 0, 5, 1, 3, 1, 12, 23, 11, 1, 18, 0}, + {"HF", 37, 70, 2, "HFP12", 3, 0, 7, 1, 4, 1, 12, 23, 11, 3, 18, 0}, + {"HF", 38, 0, 1, "HFP01", 1, 0, 7, 1, 4, 1, 12, 23, 11, 7, 18, 0}, + {"HF", 38, 0, 2, "HFP01", 1, 0, 5, 1, 3, 1, 12, 23, 11, 5, 18, 0}, + {"HF", 38, 2, 1, "HFP01", 2, 0, 6, 0, 3, 4, 2, 19, 1, 2, 13, 0}, + {"HF", 38, 2, 2, "HFP01", 2, 0, 8, 0, 4, 4, 2, 19, 1, 4, 13, 0}, + {"HF", 38, 4, 1, "HFP01", 3, 0, 7, 1, 4, 1, 2, 19, 1, 7, 13, 0}, + {"HF", 38, 4, 2, "HFP01", 3, 0, 5, 1, 3, 1, 2, 19, 1, 5, 13, 0}, + {"HF", 38, 6, 1, "HFP02", 1, 0, 6, 0, 3, 4, 2, 19, 3, 2, 14, 0}, + {"HF", 38, 6, 2, "HFP02", 1, 0, 8, 0, 4, 4, 2, 19, 3, 4, 14, 0}, + {"HF", 38, 8, 1, "HFP02", 2, 0, 7, 1, 4, 1, 2, 19, 3, 7, 14, 0}, + {"HF", 38, 8, 2, "HFP02", 2, 0, 5, 1, 3, 1, 2, 19, 3, 5, 14, 0}, + {"HF", 38, 10, 1, "HFP02", 3, 0, 6, 0, 3, 4, 2, 19, 5, 2, 15, 0}, + {"HF", 38, 10, 2, "HFP02", 3, 0, 8, 0, 4, 4, 2, 19, 5, 4, 15, 0}, + {"HF", 38, 12, 1, "HFP03", 1, 0, 7, 1, 4, 1, 2, 19, 5, 7, 15, 0}, + {"HF", 38, 12, 2, "HFP03", 1, 0, 5, 1, 3, 1, 2, 19, 5, 5, 15, 0}, + {"HF", 38, 14, 1, "HFP03", 2, 0, 6, 0, 3, 4, 2, 19, 7, 2, 16, 0}, + {"HF", 38, 14, 2, "HFP03", 2, 0, 8, 0, 4, 4, 2, 19, 7, 4, 16, 0}, + {"HF", 38, 16, 1, "HFP03", 3, 0, 7, 1, 4, 1, 2, 19, 7, 7, 16, 0}, + {"HF", 38, 16, 2, "HFP03", 3, 0, 5, 1, 3, 1, 2, 19, 7, 5, 16, 0}, + {"HF", 38, 18, 1, "HFP04", 1, 0, 6, 0, 3, 4, 2, 19, 9, 2, 17, 0}, + {"HF", 38, 18, 2, "HFP04", 1, 0, 8, 0, 4, 4, 2, 19, 9, 4, 17, 0}, + {"HF", 38, 20, 1, "HFP04", 2, 0, 7, 1, 4, 1, 2, 19, 9, 7, 17, 0}, + {"HF", 38, 20, 2, "HFP04", 2, 0, 5, 1, 3, 1, 2, 19, 9, 5, 17, 0}, + {"HF", 38, 22, 1, "HFP04", 3, 0, 6, 0, 3, 4, 2, 19, 11, 2, 18, 0}, + {"HF", 38, 22, 2, "HFP04", 3, 0, 8, 0, 4, 4, 2, 19, 11, 4, 18, 0}, + {"HF", 38, 24, 1, "HFP05", 1, 0, 7, 1, 4, 1, 2, 19, 11, 7, 18, 0}, + {"HF", 38, 24, 2, "HFP05", 1, 0, 5, 1, 3, 1, 2, 19, 11, 5, 18, 0}, + {"HF", 38, 26, 1, "HFP05", 2, 0, 6, 0, 3, 4, 9, 21, 1, 2, 13, 0}, + {"HF", 38, 26, 2, "HFP05", 2, 0, 8, 0, 4, 4, 9, 21, 1, 4, 13, 0}, + {"HF", 38, 28, 1, "HFP05", 3, 0, 7, 1, 4, 1, 9, 21, 1, 7, 13, 0}, + {"HF", 38, 28, 2, "HFP05", 3, 0, 5, 1, 3, 1, 9, 21, 1, 5, 13, 0}, + {"HF", 38, 30, 1, "HFP06", 1, 0, 6, 0, 3, 4, 9, 21, 3, 2, 14, 0}, + {"HF", 38, 30, 2, "HFP06", 1, 0, 8, 0, 4, 4, 9, 21, 3, 4, 14, 0}, + {"HF", 38, 32, 1, "HFP06", 2, 0, 7, 1, 4, 1, 9, 21, 3, 7, 14, 0}, + {"HF", 38, 32, 2, "HFP06", 2, 0, 5, 1, 3, 1, 9, 21, 3, 5, 14, 0}, + {"HF", 38, 34, 1, "HFP06", 3, 0, 6, 0, 3, 4, 9, 21, 5, 2, 15, 0}, + {"HF", 38, 34, 2, "HFP06", 3, 0, 8, 0, 4, 4, 9, 21, 5, 4, 15, 0}, + {"HF", 38, 36, 1, "HFP07", 1, 0, 7, 1, 4, 1, 9, 21, 5, 7, 15, 0}, + {"HF", 38, 36, 2, "HFP07", 1, 0, 5, 1, 3, 1, 9, 21, 5, 5, 15, 0}, + {"HF", 38, 38, 1, "HFP07", 2, 0, 6, 0, 3, 4, 9, 21, 7, 2, 16, 0}, + {"HF", 38, 38, 2, "HFP07", 2, 0, 8, 0, 4, 4, 9, 21, 7, 4, 16, 0}, + {"HF", 38, 40, 1, "HFP07", 3, 0, 7, 1, 4, 1, 9, 21, 7, 7, 16, 0}, + {"HF", 38, 40, 2, "HFP07", 3, 0, 5, 1, 3, 1, 9, 21, 7, 5, 16, 0}, + {"HF", 38, 42, 1, "HFP08", 1, 0, 6, 0, 3, 4, 9, 21, 9, 2, 17, 0}, + {"HF", 38, 42, 2, "HFP08", 1, 0, 8, 0, 4, 4, 9, 21, 9, 4, 17, 0}, + {"HF", 38, 44, 1, "HFP08", 2, 0, 7, 1, 4, 1, 9, 21, 9, 7, 17, 0}, + {"HF", 38, 44, 2, "HFP08", 2, 0, 5, 1, 3, 1, 9, 21, 9, 5, 17, 0}, + {"HF", 38, 46, 1, "HFP08", 3, 0, 6, 0, 3, 4, 9, 21, 11, 2, 18, 0}, + {"HF", 38, 46, 2, "HFP08", 3, 0, 8, 0, 4, 4, 9, 21, 11, 4, 18, 0}, + {"HF", 38, 48, 1, "HFP09", 1, 0, 7, 1, 4, 1, 9, 21, 11, 7, 18, 0}, + {"HF", 38, 48, 2, "HFP09", 1, 0, 5, 1, 3, 1, 9, 21, 11, 5, 18, 0}, + {"HF", 38, 50, 1, "HFP09", 2, 0, 6, 0, 3, 4, 12, 23, 1, 2, 13, 0}, + {"HF", 38, 50, 2, "HFP09", 2, 0, 8, 0, 4, 4, 12, 23, 1, 4, 13, 0}, + {"HF", 38, 52, 1, "HFP09", 3, 0, 7, 1, 4, 1, 12, 23, 1, 7, 13, 0}, + {"HF", 38, 52, 2, "HFP09", 3, 0, 5, 1, 3, 1, 12, 23, 1, 5, 13, 0}, + {"HF", 38, 54, 1, "HFP10", 1, 0, 6, 0, 3, 4, 12, 23, 3, 2, 14, 0}, + {"HF", 38, 54, 2, "HFP10", 1, 0, 8, 0, 4, 4, 12, 23, 3, 4, 14, 0}, + {"HF", 38, 56, 1, "HFP10", 2, 0, 7, 1, 4, 1, 12, 23, 3, 7, 14, 0}, + {"HF", 38, 56, 2, "HFP10", 2, 0, 5, 1, 3, 1, 12, 23, 3, 5, 14, 0}, + {"HF", 38, 58, 1, "HFP10", 3, 0, 6, 0, 3, 4, 12, 23, 5, 2, 15, 0}, + {"HF", 38, 58, 2, "HFP10", 3, 0, 8, 0, 4, 4, 12, 23, 5, 4, 15, 0}, + {"HF", 38, 60, 1, "HFP11", 1, 0, 7, 1, 4, 1, 12, 23, 5, 7, 15, 0}, + {"HF", 38, 60, 2, "HFP11", 1, 0, 5, 1, 3, 1, 12, 23, 5, 5, 15, 0}, + {"HF", 38, 62, 1, "HFP11", 2, 0, 6, 0, 3, 4, 12, 23, 7, 2, 16, 0}, + {"HF", 38, 62, 2, "HFP11", 2, 0, 8, 0, 4, 4, 12, 23, 7, 4, 16, 0}, + {"HF", 38, 64, 1, "HFP11", 3, 0, 7, 1, 4, 1, 12, 23, 7, 7, 16, 0}, + {"HF", 38, 64, 2, "HFP11", 3, 0, 5, 1, 3, 1, 12, 23, 7, 5, 16, 0}, + {"HF", 38, 66, 1, "HFP12", 1, 0, 6, 0, 3, 4, 12, 23, 9, 2, 17, 0}, + {"HF", 38, 66, 2, "HFP12", 1, 0, 8, 0, 4, 4, 12, 23, 9, 4, 17, 0}, + {"HF", 38, 68, 1, "HFP12", 2, 0, 7, 1, 4, 1, 12, 23, 9, 7, 17, 0}, + {"HF", 38, 68, 2, "HFP12", 2, 0, 5, 1, 3, 1, 12, 23, 9, 5, 17, 0}, + {"HF", 38, 70, 1, "HFP12", 3, 0, 6, 0, 3, 4, 12, 23, 11, 2, 18, 0}, + {"HF", 38, 70, 2, "HFP12", 3, 0, 8, 0, 4, 4, 12, 23, 11, 4, 18, 0}, + {"HF", 39, 0, 1, "HFP01", 1, 0, 8, 2, 4, 3, 12, 23, 11, 8, 18, 0}, + {"HF", 39, 0, 2, "HFP01", 1, 0, 6, 2, 3, 3, 12, 23, 11, 6, 18, 0}, + {"HF", 39, 2, 1, "HFP01", 2, 0, 6, 2, 3, 3, 2, 19, 1, 2, 13, 0}, + {"HF", 39, 2, 2, "HFP01", 2, 0, 8, 2, 4, 3, 2, 19, 1, 4, 13, 0}, + {"HF", 39, 4, 1, "HFP01", 3, 0, 8, 2, 4, 3, 2, 19, 1, 8, 13, 0}, + {"HF", 39, 4, 2, "HFP01", 3, 0, 6, 2, 3, 3, 2, 19, 1, 6, 13, 0}, + {"HF", 39, 6, 1, "HFP02", 1, 0, 6, 2, 3, 3, 2, 19, 3, 2, 14, 0}, + {"HF", 39, 6, 2, "HFP02", 1, 0, 8, 2, 4, 3, 2, 19, 3, 4, 14, 0}, + {"HF", 39, 8, 1, "HFP02", 2, 0, 8, 2, 4, 3, 2, 19, 3, 8, 14, 0}, + {"HF", 39, 8, 2, "HFP02", 2, 0, 6, 2, 3, 3, 2, 19, 3, 6, 14, 0}, + {"HF", 39, 10, 1, "HFP02", 3, 0, 6, 2, 3, 3, 2, 19, 5, 2, 15, 0}, + {"HF", 39, 10, 2, "HFP02", 3, 0, 8, 2, 4, 3, 2, 19, 5, 4, 15, 0}, + {"HF", 39, 12, 1, "HFP03", 1, 0, 8, 2, 4, 3, 2, 19, 5, 8, 15, 0}, + {"HF", 39, 12, 2, "HFP03", 1, 0, 6, 2, 3, 3, 2, 19, 5, 6, 15, 0}, + {"HF", 39, 14, 1, "HFP03", 2, 0, 6, 2, 3, 3, 2, 19, 7, 2, 16, 0}, + {"HF", 39, 14, 2, "HFP03", 2, 0, 8, 2, 4, 3, 2, 19, 7, 4, 16, 0}, + {"HF", 39, 16, 1, "HFP03", 3, 0, 8, 2, 4, 3, 2, 19, 7, 8, 16, 0}, + {"HF", 39, 16, 2, "HFP03", 3, 0, 6, 2, 3, 3, 2, 19, 7, 6, 16, 0}, + {"HF", 39, 18, 1, "HFP04", 1, 0, 6, 2, 3, 3, 2, 19, 9, 2, 17, 0}, + {"HF", 39, 18, 2, "HFP04", 1, 0, 8, 2, 4, 3, 2, 19, 9, 4, 17, 0}, + {"HF", 39, 20, 1, "HFP04", 2, 0, 8, 2, 4, 3, 2, 19, 9, 8, 17, 0}, + {"HF", 39, 20, 2, "HFP04", 2, 0, 6, 2, 3, 3, 2, 19, 9, 6, 17, 0}, + {"HF", 39, 22, 1, "HFP04", 3, 0, 6, 2, 3, 3, 2, 19, 11, 2, 18, 0}, + {"HF", 39, 22, 2, "HFP04", 3, 0, 8, 2, 4, 3, 2, 19, 11, 4, 18, 0}, + {"HF", 39, 24, 1, "HFP05", 1, 0, 8, 2, 4, 3, 2, 19, 11, 8, 18, 0}, + {"HF", 39, 24, 2, "HFP05", 1, 0, 6, 2, 3, 3, 2, 19, 11, 6, 18, 0}, + {"HF", 39, 26, 1, "HFP05", 2, 0, 6, 2, 3, 3, 9, 21, 1, 2, 13, 0}, + {"HF", 39, 26, 2, "HFP05", 2, 0, 8, 2, 4, 3, 9, 21, 1, 4, 13, 0}, + {"HF", 39, 28, 1, "HFP05", 3, 0, 8, 2, 4, 3, 9, 21, 1, 8, 13, 0}, + {"HF", 39, 28, 2, "HFP05", 3, 0, 6, 2, 3, 3, 9, 21, 1, 6, 13, 0}, + {"HF", 39, 30, 1, "HFP06", 1, 0, 6, 2, 3, 3, 9, 21, 3, 2, 14, 0}, + {"HF", 39, 30, 2, "HFP06", 1, 0, 8, 2, 4, 3, 9, 21, 3, 4, 14, 0}, + {"HF", 39, 32, 1, "HFP06", 2, 0, 8, 2, 4, 3, 9, 21, 3, 8, 14, 0}, + {"HF", 39, 32, 2, "HFP06", 2, 0, 6, 2, 3, 3, 9, 21, 3, 6, 14, 0}, + {"HF", 39, 34, 1, "HFP06", 3, 0, 6, 2, 3, 3, 9, 21, 5, 2, 15, 0}, + {"HF", 39, 34, 2, "HFP06", 3, 0, 8, 2, 4, 3, 9, 21, 5, 4, 15, 0}, + {"HF", 39, 36, 1, "HFP07", 1, 0, 8, 2, 4, 3, 9, 21, 5, 8, 15, 0}, + {"HF", 39, 36, 2, "HFP07", 1, 0, 6, 2, 3, 3, 9, 21, 5, 6, 15, 0}, + {"HF", 39, 38, 1, "HFP07", 2, 0, 6, 2, 3, 3, 9, 21, 7, 2, 16, 0}, + {"HF", 39, 38, 2, "HFP07", 2, 0, 8, 2, 4, 3, 9, 21, 7, 4, 16, 0}, + {"HF", 39, 40, 1, "HFP07", 3, 0, 8, 2, 4, 3, 9, 21, 7, 8, 16, 0}, + {"HF", 39, 40, 2, "HFP07", 3, 0, 6, 2, 3, 3, 9, 21, 7, 6, 16, 0}, + {"HF", 39, 42, 1, "HFP08", 1, 0, 6, 2, 3, 3, 9, 21, 9, 2, 17, 0}, + {"HF", 39, 42, 2, "HFP08", 1, 0, 8, 2, 4, 3, 9, 21, 9, 4, 17, 0}, + {"HF", 39, 44, 1, "HFP08", 2, 0, 8, 2, 4, 3, 9, 21, 9, 8, 17, 0}, + {"HF", 39, 44, 2, "HFP08", 2, 0, 6, 2, 3, 3, 9, 21, 9, 6, 17, 0}, + {"HF", 39, 46, 1, "HFP08", 3, 0, 6, 2, 3, 3, 9, 21, 11, 2, 18, 0}, + {"HF", 39, 46, 2, "HFP08", 3, 0, 8, 2, 4, 3, 9, 21, 11, 4, 18, 0}, + {"HF", 39, 48, 1, "HFP09", 1, 0, 8, 2, 4, 3, 9, 21, 11, 8, 18, 0}, + {"HF", 39, 48, 2, "HFP09", 1, 0, 6, 2, 3, 3, 9, 21, 11, 6, 18, 0}, + {"HF", 39, 50, 1, "HFP09", 2, 0, 6, 2, 3, 3, 12, 23, 1, 2, 13, 0}, + {"HF", 39, 50, 2, "HFP09", 2, 0, 8, 2, 4, 3, 12, 23, 1, 4, 13, 0}, + {"HF", 39, 52, 1, "HFP09", 3, 0, 8, 2, 4, 3, 12, 23, 1, 8, 13, 0}, + {"HF", 39, 52, 2, "HFP09", 3, 0, 6, 2, 3, 3, 12, 23, 1, 6, 13, 0}, + {"HF", 39, 54, 1, "HFP10", 1, 0, 6, 2, 3, 3, 12, 23, 3, 2, 14, 0}, + {"HF", 39, 54, 2, "HFP10", 1, 0, 8, 2, 4, 3, 12, 23, 3, 4, 14, 0}, + {"HF", 39, 56, 1, "HFP10", 2, 0, 8, 2, 4, 3, 12, 23, 3, 8, 14, 0}, + {"HF", 39, 56, 2, "HFP10", 2, 0, 6, 2, 3, 3, 12, 23, 3, 6, 14, 0}, + {"HF", 39, 58, 1, "HFP10", 3, 0, 6, 2, 3, 3, 12, 23, 5, 2, 15, 0}, + {"HF", 39, 58, 2, "HFP10", 3, 0, 8, 2, 4, 3, 12, 23, 5, 4, 15, 0}, + {"HF", 39, 60, 1, "HFP11", 1, 0, 8, 2, 4, 3, 12, 23, 5, 8, 15, 0}, + {"HF", 39, 60, 2, "HFP11", 1, 0, 6, 2, 3, 3, 12, 23, 5, 6, 15, 0}, + {"HF", 39, 62, 1, "HFP11", 2, 0, 6, 2, 3, 3, 12, 23, 7, 2, 16, 0}, + {"HF", 39, 62, 2, "HFP11", 2, 0, 8, 2, 4, 3, 12, 23, 7, 4, 16, 0}, + {"HF", 39, 64, 1, "HFP11", 3, 0, 8, 2, 4, 3, 12, 23, 7, 8, 16, 0}, + {"HF", 39, 64, 2, "HFP11", 3, 0, 6, 2, 3, 3, 12, 23, 7, 6, 16, 0}, + {"HF", 39, 66, 1, "HFP12", 1, 0, 6, 2, 3, 3, 12, 23, 9, 2, 17, 0}, + {"HF", 39, 66, 2, "HFP12", 1, 0, 8, 2, 4, 3, 12, 23, 9, 4, 17, 0}, + {"HF", 39, 68, 1, "HFP12", 2, 0, 8, 2, 4, 3, 12, 23, 9, 8, 17, 0}, + {"HF", 39, 68, 2, "HFP12", 2, 0, 6, 2, 3, 3, 12, 23, 9, 6, 17, 0}, + {"HF", 39, 70, 1, "HFP12", 3, 0, 6, 2, 3, 3, 12, 23, 11, 2, 18, 0}, + {"HF", 39, 70, 2, "HFP12", 3, 0, 8, 2, 4, 3, 12, 23, 11, 4, 18, 0}, + {"HF", 40, 0, 1, "HFP01", 2, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 0, 2, "HFP01", 2, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 2, 1, "HFP01", 3, 0, 7, 0, 4, 0, 2, 19, 1, 7, 13, 0}, + {"HF", 40, 2, 2, "HFP01", 3, 0, 5, 0, 3, 0, 2, 19, 1, 5, 13, 0}, + {"HF", 40, 4, 1, "HFP02", 1, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 4, 2, "HFP02", 1, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 6, 1, "HFP02", 2, 0, 7, 0, 4, 0, 2, 19, 3, 7, 14, 0}, + {"HF", 40, 6, 2, "HFP02", 2, 0, 5, 0, 3, 0, 2, 19, 3, 5, 14, 0}, + {"HF", 40, 8, 1, "HFP02", 3, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 8, 2, "HFP02", 3, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 10, 1, "HFP03", 1, 0, 7, 0, 4, 0, 2, 19, 5, 7, 15, 0}, + {"HF", 40, 10, 2, "HFP03", 1, 0, 5, 0, 3, 0, 2, 19, 5, 5, 15, 0}, + {"HF", 40, 12, 1, "HFP03", 2, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 12, 2, "HFP03", 2, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 14, 1, "HFP03", 3, 0, 7, 0, 4, 0, 2, 19, 7, 7, 16, 0}, + {"HF", 40, 14, 2, "HFP03", 3, 0, 5, 0, 3, 0, 2, 19, 7, 5, 16, 0}, + {"HF", 40, 16, 1, "HFP04", 1, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 16, 2, "HFP04", 1, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 18, 1, "HFP04", 2, 0, 7, 0, 4, 0, 2, 19, 9, 7, 17, 0}, + {"HF", 40, 18, 2, "HFP04", 2, 0, 5, 0, 3, 0, 2, 19, 9, 5, 17, 0}, + {"HF", 40, 20, 1, "HFP04", 3, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 20, 2, "HFP04", 3, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 22, 1, "HFP05", 1, 0, 7, 0, 4, 0, 2, 19, 11, 7, 18, 0}, + {"HF", 40, 22, 2, "HFP05", 1, 0, 5, 0, 3, 0, 2, 19, 11, 5, 18, 0}, + {"HF", 40, 24, 1, "HFP05", 2, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 24, 2, "HFP05", 2, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 26, 1, "HFP05", 3, 0, 7, 0, 4, 0, 9, 21, 1, 7, 13, 0}, + {"HF", 40, 26, 2, "HFP05", 3, 0, 5, 0, 3, 0, 9, 21, 1, 5, 13, 0}, + {"HF", 40, 28, 1, "HFP06", 1, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 28, 2, "HFP06", 1, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 30, 1, "HFP06", 2, 0, 7, 0, 4, 0, 9, 21, 3, 7, 14, 0}, + {"HF", 40, 30, 2, "HFP06", 2, 0, 5, 0, 3, 0, 9, 21, 3, 5, 14, 0}, + {"HF", 40, 32, 1, "HFP06", 3, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 32, 2, "HFP06", 3, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 34, 1, "HFP07", 1, 0, 7, 0, 4, 0, 9, 21, 5, 7, 15, 0}, + {"HF", 40, 34, 2, "HFP07", 1, 0, 5, 0, 3, 0, 9, 21, 5, 5, 15, 0}, + {"HF", 40, 36, 1, "HFP07", 2, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 36, 2, "HFP07", 2, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 38, 1, "HFP07", 3, 0, 7, 0, 4, 0, 9, 21, 7, 7, 16, 0}, + {"HF", 40, 38, 2, "HFP07", 3, 0, 5, 0, 3, 0, 9, 21, 7, 5, 16, 0}, + {"HF", 40, 40, 1, "HFP08", 1, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 40, 2, "HFP08", 1, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 42, 1, "HFP08", 2, 0, 7, 0, 4, 0, 9, 21, 9, 7, 17, 0}, + {"HF", 40, 42, 2, "HFP08", 2, 0, 5, 0, 3, 0, 9, 21, 9, 5, 17, 0}, + {"HF", 40, 44, 1, "HFP08", 3, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 44, 2, "HFP08", 3, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 46, 1, "HFP09", 1, 0, 7, 0, 4, 0, 9, 21, 11, 7, 18, 0}, + {"HF", 40, 46, 2, "HFP09", 1, 0, 5, 0, 3, 0, 9, 21, 11, 5, 18, 0}, + {"HF", 40, 48, 1, "HFP09", 2, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 48, 2, "HFP09", 2, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 50, 1, "HFP09", 3, 0, 7, 0, 4, 0, 12, 23, 1, 7, 13, 0}, + {"HF", 40, 50, 2, "HFP09", 3, 0, 5, 0, 3, 0, 12, 23, 1, 5, 13, 0}, + {"HF", 40, 52, 1, "HFP10", 1, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 52, 2, "HFP10", 1, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 54, 1, "HFP10", 2, 0, 7, 0, 4, 0, 12, 23, 3, 7, 14, 0}, + {"HF", 40, 54, 2, "HFP10", 2, 0, 5, 0, 3, 0, 12, 23, 3, 5, 14, 0}, + {"HF", 40, 56, 1, "HFP10", 3, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 56, 2, "HFP10", 3, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 58, 1, "HFP11", 1, 0, 7, 0, 4, 0, 12, 23, 5, 7, 15, 0}, + {"HF", 40, 58, 2, "HFP11", 1, 0, 5, 0, 3, 0, 12, 23, 5, 5, 15, 0}, + {"HF", 40, 60, 1, "HFP11", 2, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 60, 2, "HFP11", 2, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 62, 1, "HFP11", 3, 0, 7, 0, 4, 0, 12, 23, 7, 7, 16, 0}, + {"HF", 40, 62, 2, "HFP11", 3, 0, 5, 0, 3, 0, 12, 23, 7, 5, 16, 0}, + {"HF", 40, 64, 1, "HFP12", 1, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 64, 2, "HFP12", 1, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 66, 1, "HFP12", 2, 0, 7, 0, 4, 0, 12, 23, 9, 7, 17, 0}, + {"HF", 40, 66, 2, "HFP12", 2, 0, 5, 0, 3, 0, 12, 23, 9, 5, 17, 0}, + {"HF", 40, 68, 1, "HFP12", 3, 0, 1, 2, 1, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 68, 2, "HFP12", 3, 0, 3, 2, 2, 2, 0, 0, 0, 1, 0, 0}, + {"HF", 40, 70, 1, "HFP01", 1, 0, 7, 0, 4, 0, 12, 23, 11, 7, 18, 0}, + {"HF", 40, 70, 2, "HFP01", 1, 0, 5, 0, 3, 0, 12, 23, 11, 5, 18, 0}, + {"HF", 41, 0, 1, "HFP01", 2, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 0, 2, "HFP01", 2, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 2, 1, "HFP01", 2, 0, 5, 0, 3, 0, 2, 19, 1, 1, 13, 0}, + {"HF", 41, 2, 2, "HFP01", 2, 0, 7, 0, 4, 0, 2, 19, 1, 3, 13, 0}, + {"HF", 41, 4, 1, "HFP02", 1, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 4, 2, "HFP02", 1, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 6, 1, "HFP02", 1, 0, 5, 0, 3, 0, 2, 19, 3, 1, 14, 0}, + {"HF", 41, 6, 2, "HFP02", 1, 0, 7, 0, 4, 0, 2, 19, 3, 3, 14, 0}, + {"HF", 41, 8, 1, "HFP02", 3, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 8, 2, "HFP02", 3, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 10, 1, "HFP02", 3, 0, 5, 0, 3, 0, 2, 19, 5, 1, 15, 0}, + {"HF", 41, 10, 2, "HFP02", 3, 0, 7, 0, 4, 0, 2, 19, 5, 3, 15, 0}, + {"HF", 41, 12, 1, "HFP03", 2, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 12, 2, "HFP03", 2, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 14, 1, "HFP03", 2, 0, 5, 0, 3, 0, 2, 19, 7, 1, 16, 0}, + {"HF", 41, 14, 2, "HFP03", 2, 0, 7, 0, 4, 0, 2, 19, 7, 3, 16, 0}, + {"HF", 41, 16, 1, "HFP04", 1, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 16, 2, "HFP04", 1, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 18, 1, "HFP04", 1, 0, 5, 0, 3, 0, 2, 19, 9, 1, 17, 0}, + {"HF", 41, 18, 2, "HFP04", 1, 0, 7, 0, 4, 0, 2, 19, 9, 3, 17, 0}, + {"HF", 41, 20, 1, "HFP04", 3, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 20, 2, "HFP04", 3, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 22, 1, "HFP04", 3, 0, 5, 0, 3, 0, 2, 19, 11, 1, 18, 0}, + {"HF", 41, 22, 2, "HFP04", 3, 0, 7, 0, 4, 0, 2, 19, 11, 3, 18, 0}, + {"HF", 41, 24, 1, "HFP05", 2, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 24, 2, "HFP05", 2, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 26, 1, "HFP05", 2, 0, 5, 0, 3, 0, 9, 21, 1, 1, 13, 0}, + {"HF", 41, 26, 2, "HFP05", 2, 0, 7, 0, 4, 0, 9, 21, 1, 3, 13, 0}, + {"HF", 41, 28, 1, "HFP06", 1, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 28, 2, "HFP06", 1, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 30, 1, "HFP06", 1, 0, 5, 0, 3, 0, 9, 21, 3, 1, 14, 0}, + {"HF", 41, 30, 2, "HFP06", 1, 0, 7, 0, 4, 0, 9, 21, 3, 3, 14, 0}, + {"HF", 41, 32, 1, "HFP06", 3, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 32, 2, "HFP06", 3, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 34, 1, "HFP06", 3, 0, 5, 0, 3, 0, 9, 21, 5, 1, 15, 0}, + {"HF", 41, 34, 2, "HFP06", 3, 0, 7, 0, 4, 0, 9, 21, 5, 3, 15, 0}, + {"HF", 41, 36, 1, "HFP07", 2, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 36, 2, "HFP07", 2, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 38, 1, "HFP07", 2, 0, 5, 0, 3, 0, 9, 21, 7, 1, 16, 0}, + {"HF", 41, 38, 2, "HFP07", 2, 0, 7, 0, 4, 0, 9, 21, 7, 3, 16, 0}, + {"HF", 41, 40, 1, "HFP08", 1, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 40, 2, "HFP08", 1, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 42, 1, "HFP08", 1, 0, 5, 0, 3, 0, 9, 21, 9, 1, 17, 0}, + {"HF", 41, 42, 2, "HFP08", 1, 0, 7, 0, 4, 0, 9, 21, 9, 3, 17, 0}, + {"HF", 41, 44, 1, "HFP08", 3, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 44, 2, "HFP08", 3, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 46, 1, "HFP08", 3, 0, 5, 0, 3, 0, 9, 21, 11, 1, 18, 0}, + {"HF", 41, 46, 2, "HFP08", 3, 0, 7, 0, 4, 0, 9, 21, 11, 3, 18, 0}, + {"HF", 41, 48, 1, "HFP09", 2, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 48, 2, "HFP09", 2, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 50, 1, "HFP09", 2, 0, 5, 0, 3, 0, 12, 23, 1, 1, 13, 0}, + {"HF", 41, 50, 2, "HFP09", 2, 0, 7, 0, 4, 0, 12, 23, 1, 3, 13, 0}, + {"HF", 41, 52, 1, "HFP10", 1, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 52, 2, "HFP10", 1, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 54, 1, "HFP10", 1, 0, 5, 0, 3, 0, 12, 23, 3, 1, 14, 0}, + {"HF", 41, 54, 2, "HFP10", 1, 0, 7, 0, 4, 0, 12, 23, 3, 3, 14, 0}, + {"HF", 41, 56, 1, "HFP10", 3, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 56, 2, "HFP10", 3, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 58, 1, "HFP10", 3, 0, 5, 0, 3, 0, 12, 23, 5, 1, 15, 0}, + {"HF", 41, 58, 2, "HFP10", 3, 0, 7, 0, 4, 0, 12, 23, 5, 3, 15, 0}, + {"HF", 41, 60, 1, "HFP11", 2, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 60, 2, "HFP11", 2, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 62, 1, "HFP11", 2, 0, 5, 0, 3, 0, 12, 23, 7, 1, 16, 0}, + {"HF", 41, 62, 2, "HFP11", 2, 0, 7, 0, 4, 0, 12, 23, 7, 3, 16, 0}, + {"HF", 41, 64, 1, "HFP12", 1, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 64, 2, "HFP12", 1, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 66, 1, "HFP12", 1, 0, 5, 0, 3, 0, 12, 23, 9, 1, 17, 0}, + {"HF", 41, 66, 2, "HFP12", 1, 0, 7, 0, 4, 0, 12, 23, 9, 3, 17, 0}, + {"HF", 41, 68, 1, "HFP12", 3, 0, 2, 1, 1, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 68, 2, "HFP12", 3, 0, 4, 1, 2, 5, 0, 0, 0, 1, 0, 0}, + {"HF", 41, 70, 1, "HFP12", 3, 0, 5, 0, 3, 0, 12, 23, 11, 1, 18, 0}, + {"HF", 41, 70, 2, "HFP12", 3, 0, 7, 0, 4, 0, 12, 23, 11, 3, 18, 0}, + {"HO", -15, 0, 4, "HO2M02", 4, 16, 7, 2, 3, 3, 3, 24, 5, 6, 4, 0}, + {"HO", -15, 1, 4, "HO2M02", 2, 14, 7, 1, 3, 5, 3, 24, 5, 5, 4, 0}, + {"HO", -15, 2, 4, "HO2M02", 2, 15, 7, 0, 3, 4, 3, 24, 5, 5, 4, 0}, + {"HO", -15, 3, 4, "HO2M02", 2, 16, 7, 2, 3, 3, 3, 24, 5, 5, 4, 0}, + {"HO", -15, 4, 4, "HO2M02", 1, 16, 7, 2, 3, 3, 3, 25, 1, 6, 13, 0}, + {"HO", -15, 5, 4, "HO2M02", 1, 15, 7, 0, 3, 4, 3, 25, 1, 6, 13, 0}, + {"HO", -15, 6, 4, "HO2M02", 1, 14, 7, 1, 3, 5, 3, 25, 1, 6, 13, 0}, + {"HO", -15, 7, 4, "HO2M02", 3, 16, 7, 2, 3, 3, 3, 25, 1, 5, 13, 0}, + {"HO", -15, 8, 4, "HO2M02", 3, 15, 7, 0, 3, 4, 3, 25, 1, 5, 13, 0}, + {"HO", -15, 9, 4, "HO2M02", 3, 14, 7, 1, 3, 5, 3, 25, 1, 5, 13, 0}, + {"HO", -15, 10, 4, "HO2M04", 4, 14, 7, 1, 3, 5, 3, 25, 9, 6, 17, 0}, + {"HO", -15, 11, 4, "HO2M04", 4, 15, 7, 0, 3, 4, 3, 25, 9, 6, 17, 0}, + {"HO", -15, 12, 4, "HO2M04", 4, 16, 7, 2, 3, 3, 3, 25, 9, 6, 17, 0}, + {"HO", -15, 13, 4, "HO2M04", 2, 14, 7, 1, 3, 5, 3, 25, 9, 5, 17, 0}, + {"HO", -15, 14, 4, "HO2M04", 2, 15, 7, 0, 3, 4, 3, 25, 9, 5, 17, 0}, + {"HO", -15, 15, 4, "HO2M04", 2, 16, 7, 2, 3, 3, 3, 25, 9, 5, 17, 0}, + {"HO", -15, 16, 4, "HO2M04", 1, 16, 7, 2, 3, 3, 7, 26, 5, 6, 4, 0}, + {"HO", -15, 17, 4, "HO2M04", 1, 15, 7, 0, 3, 4, 7, 26, 5, 6, 4, 0}, + {"HO", -15, 18, 4, "HO2M04", 1, 14, 7, 1, 3, 5, 7, 26, 5, 6, 4, 0}, + {"HO", -15, 19, 4, "HO2M04", 3, 16, 7, 2, 3, 3, 7, 26, 5, 5, 4, 0}, + {"HO", -15, 20, 4, "HO2M04", 3, 15, 7, 0, 3, 4, 7, 26, 5, 5, 4, 0}, + {"HO", -15, 21, 4, "HO2M04", 3, 14, 7, 1, 3, 5, 7, 26, 5, 5, 4, 0}, + {"HO", -15, 22, 4, "HO2M06", 4, 14, 7, 1, 3, 5, 7, 27, 1, 6, 13, 0}, + {"HO", -15, 23, 4, "HO2M06", 4, 15, 7, 0, 3, 4, 7, 27, 1, 6, 13, 0}, + {"HO", -15, 24, 4, "HO2M06", 4, 16, 7, 2, 3, 3, 7, 27, 1, 6, 13, 0}, + {"HO", -15, 25, 4, "HO2M06", 2, 14, 7, 1, 3, 5, 7, 27, 1, 5, 13, 0}, + {"HO", -15, 26, 4, "HO2M06", 2, 15, 7, 0, 3, 4, 7, 27, 1, 5, 13, 0}, + {"HO", -15, 27, 4, "HO2M06", 2, 16, 7, 2, 3, 3, 7, 27, 1, 5, 13, 0}, + {"HO", -15, 28, 4, "HO2M06", 1, 16, 7, 2, 3, 3, 7, 27, 9, 6, 17, 0}, + {"HO", -15, 29, 4, "HO2M06", 1, 15, 7, 0, 3, 4, 7, 27, 9, 6, 17, 0}, + {"HO", -15, 30, 4, "HO2M06", 1, 14, 7, 1, 3, 5, 7, 27, 9, 6, 17, 0}, + {"HO", -15, 31, 4, "HO2M06", 3, 16, 7, 2, 3, 3, 7, 27, 9, 5, 17, 0}, + {"HO", -15, 32, 4, "HO2M06", 3, 15, 7, 0, 3, 4, 7, 27, 9, 5, 17, 0}, + {"HO", -15, 33, 4, "HO2M06", 3, 14, 7, 1, 3, 5, 7, 27, 9, 5, 17, 0}, + {"HO", -15, 34, 4, "HO2M08", 4, 14, 7, 1, 3, 5, 6, 28, 5, 6, 4, 0}, + {"HO", -15, 35, 4, "HO2M08", 4, 15, 7, 0, 3, 4, 6, 28, 5, 6, 4, 0}, + {"HO", -15, 36, 4, "HO2M08", 4, 16, 7, 2, 3, 3, 6, 28, 5, 6, 4, 0}, + {"HO", -15, 37, 4, "HO2M08", 2, 14, 7, 1, 3, 5, 6, 28, 5, 5, 4, 0}, + {"HO", -15, 38, 4, "HO2M08", 2, 15, 7, 0, 3, 4, 6, 28, 5, 5, 4, 0}, + {"HO", -15, 39, 4, "HO2M08", 2, 16, 7, 2, 3, 3, 6, 28, 5, 5, 4, 0}, + {"HO", -15, 40, 4, "HO2M08", 1, 16, 7, 2, 3, 3, 6, 29, 1, 6, 13, 0}, + {"HO", -15, 41, 4, "HO2M08", 1, 15, 7, 0, 3, 4, 6, 29, 1, 6, 13, 0}, + {"HO", -15, 42, 4, "HO2M08", 1, 14, 7, 1, 3, 5, 6, 29, 1, 6, 13, 0}, + {"HO", -15, 43, 4, "HO2M08", 3, 16, 7, 2, 3, 3, 6, 29, 1, 5, 13, 0}, + {"HO", -15, 44, 4, "HO2M08", 3, 15, 7, 0, 3, 4, 6, 29, 1, 5, 13, 0}, + {"HO", -15, 45, 4, "HO2M08", 3, 14, 7, 1, 3, 5, 6, 29, 1, 5, 13, 0}, + {"HO", -15, 46, 4, "HO2M10", 4, 14, 7, 1, 3, 5, 6, 29, 9, 6, 17, 0}, + {"HO", -15, 47, 4, "HO2M10", 4, 15, 7, 0, 3, 4, 6, 29, 9, 6, 17, 0}, + {"HO", -15, 48, 4, "HO2M10", 4, 16, 7, 2, 3, 3, 6, 29, 9, 6, 17, 0}, + {"HO", -15, 49, 4, "HO2M10", 2, 14, 7, 1, 3, 5, 6, 29, 9, 5, 17, 0}, + {"HO", -15, 50, 4, "HO2M10", 2, 15, 7, 0, 3, 4, 6, 29, 9, 5, 17, 0}, + {"HO", -15, 51, 4, "HO2M10", 2, 16, 7, 2, 3, 3, 6, 29, 9, 5, 17, 0}, + {"HO", -15, 52, 4, "HO2M10", 1, 16, 7, 2, 3, 3, 13, 30, 5, 6, 4, 0}, + {"HO", -15, 53, 4, "HO2M10", 1, 15, 7, 0, 3, 4, 13, 30, 5, 6, 4, 0}, + {"HO", -15, 54, 4, "HO2M10", 1, 14, 7, 1, 3, 5, 13, 30, 5, 6, 4, 0}, + {"HO", -15, 55, 4, "HO2M10", 3, 16, 7, 2, 3, 3, 13, 30, 5, 5, 4, 0}, + {"HO", -15, 56, 4, "HO2M10", 3, 15, 7, 0, 3, 4, 13, 30, 5, 5, 4, 0}, + {"HO", -15, 57, 4, "HO2M10", 3, 14, 7, 1, 3, 5, 13, 30, 5, 5, 4, 0}, + {"HO", -15, 58, 4, "HO2M12", 4, 14, 7, 1, 3, 5, 13, 31, 1, 6, 13, 0}, + {"HO", -15, 59, 4, "HO2M12", 4, 15, 7, 0, 3, 4, 13, 31, 1, 6, 13, 0}, + {"HO", -15, 60, 4, "HO2M12", 4, 16, 7, 2, 3, 3, 13, 31, 1, 6, 13, 0}, + {"HO", -15, 61, 4, "HO2M12", 2, 14, 7, 1, 3, 5, 13, 31, 1, 5, 13, 0}, + {"HO", -15, 62, 4, "HO2M12", 2, 15, 7, 0, 3, 4, 13, 31, 1, 5, 13, 0}, + {"HO", -15, 63, 4, "HO2M12", 2, 16, 7, 2, 3, 3, 13, 31, 1, 5, 13, 0}, + {"HO", -15, 64, 4, "HO2M12", 1, 16, 7, 2, 3, 3, 13, 31, 9, 6, 17, 0}, + {"HO", -15, 65, 4, "HO2M12", 1, 15, 7, 0, 3, 4, 13, 31, 9, 6, 17, 0}, + {"HO", -15, 66, 4, "HO2M12", 1, 14, 7, 1, 3, 5, 13, 31, 9, 6, 17, 0}, + {"HO", -15, 67, 4, "HO2M12", 3, 16, 7, 2, 3, 3, 13, 31, 9, 5, 17, 0}, + {"HO", -15, 68, 4, "HO2M12", 3, 15, 7, 0, 3, 4, 13, 31, 9, 5, 17, 0}, + {"HO", -15, 69, 4, "HO2M12", 3, 14, 7, 1, 3, 5, 13, 31, 9, 5, 17, 0}, + {"HO", -15, 70, 4, "HO2M02", 4, 14, 7, 1, 3, 5, 3, 24, 5, 6, 4, 0}, + {"HO", -15, 71, 4, "HO2M02", 4, 15, 7, 0, 3, 4, 3, 24, 5, 6, 4, 0}, + {"HO", -14, 0, 4, "HO2M02", 4, 11, 4, 0, 2, 0, 3, 24, 5, 4, 4, 0}, + {"HO", -14, 1, 4, "HO2M02", 2, 2, 4, 2, 2, 2, 3, 24, 5, 3, 4, 0}, + {"HO", -14, 2, 4, "HO2M02", 2, 6, 4, 1, 2, 1, 3, 24, 5, 3, 4, 0}, + {"HO", -14, 3, 4, "HO2M02", 2, 11, 4, 0, 2, 0, 3, 24, 5, 3, 4, 0}, + {"HO", -14, 4, 4, "HO2M02", 1, 11, 4, 0, 2, 0, 3, 25, 1, 4, 13, 0}, + {"HO", -14, 5, 4, "HO2M02", 1, 6, 4, 1, 2, 1, 3, 25, 1, 4, 13, 0}, + {"HO", -14, 6, 4, "HO2M02", 1, 2, 4, 2, 2, 2, 3, 25, 1, 4, 13, 0}, + {"HO", -14, 7, 4, "HO2M02", 3, 11, 4, 0, 2, 0, 3, 25, 1, 3, 13, 0}, + {"HO", -14, 8, 4, "HO2M02", 3, 6, 4, 1, 2, 1, 3, 25, 1, 3, 13, 0}, + {"HO", -14, 9, 4, "HO2M02", 3, 2, 4, 2, 2, 2, 3, 25, 1, 3, 13, 0}, + {"HO", -14, 10, 4, "HO2M04", 4, 2, 4, 2, 2, 2, 3, 25, 9, 4, 17, 0}, + {"HO", -14, 11, 4, "HO2M04", 4, 6, 4, 1, 2, 1, 3, 25, 9, 4, 17, 0}, + {"HO", -14, 12, 4, "HO2M04", 4, 11, 4, 0, 2, 0, 3, 25, 9, 4, 17, 0}, + {"HO", -14, 13, 4, "HO2M04", 2, 2, 4, 2, 2, 2, 3, 25, 9, 3, 17, 0}, + {"HO", -14, 14, 4, "HO2M04", 2, 6, 4, 1, 2, 1, 3, 25, 9, 3, 17, 0}, + {"HO", -14, 15, 4, "HO2M04", 2, 11, 4, 0, 2, 0, 3, 25, 9, 3, 17, 0}, + {"HO", -14, 16, 4, "HO2M04", 1, 11, 4, 0, 2, 0, 7, 26, 5, 4, 4, 0}, + {"HO", -14, 17, 4, "HO2M04", 1, 6, 4, 1, 2, 1, 7, 26, 5, 4, 4, 0}, + {"HO", -14, 18, 4, "HO2M04", 1, 2, 4, 2, 2, 2, 7, 26, 5, 4, 4, 0}, + {"HO", -14, 19, 4, "HO2M04", 3, 11, 4, 0, 2, 0, 7, 26, 5, 3, 4, 0}, + {"HO", -14, 20, 4, "HO2M04", 3, 6, 4, 1, 2, 1, 7, 26, 5, 3, 4, 0}, + {"HO", -14, 21, 4, "HO2M04", 3, 2, 4, 2, 2, 2, 7, 26, 5, 3, 4, 0}, + {"HO", -14, 22, 4, "HO2M06", 4, 2, 4, 2, 2, 2, 7, 27, 1, 4, 13, 0}, + {"HO", -14, 23, 4, "HO2M06", 4, 6, 4, 1, 2, 1, 7, 27, 1, 4, 13, 0}, + {"HO", -14, 24, 4, "HO2M06", 4, 11, 4, 0, 2, 0, 7, 27, 1, 4, 13, 0}, + {"HO", -14, 25, 4, "HO2M06", 2, 2, 4, 2, 2, 2, 7, 27, 1, 3, 13, 0}, + {"HO", -14, 26, 4, "HO2M06", 2, 6, 4, 1, 2, 1, 7, 27, 1, 3, 13, 0}, + {"HO", -14, 27, 4, "HO2M06", 2, 11, 4, 0, 2, 0, 7, 27, 1, 3, 13, 0}, + {"HO", -14, 28, 4, "HO2M06", 1, 11, 4, 0, 2, 0, 7, 27, 9, 4, 17, 0}, + {"HO", -14, 29, 4, "HO2M06", 1, 6, 4, 1, 2, 1, 7, 27, 9, 4, 17, 0}, + {"HO", -14, 30, 4, "HO2M06", 1, 2, 4, 2, 2, 2, 7, 27, 9, 4, 17, 0}, + {"HO", -14, 31, 4, "HO2M06", 3, 11, 4, 0, 2, 0, 7, 27, 9, 3, 17, 0}, + {"HO", -14, 32, 4, "HO2M06", 3, 6, 4, 1, 2, 1, 7, 27, 9, 3, 17, 0}, + {"HO", -14, 33, 4, "HO2M06", 3, 2, 4, 2, 2, 2, 7, 27, 9, 3, 17, 0}, + {"HO", -14, 34, 4, "HO2M08", 4, 2, 4, 2, 2, 2, 6, 28, 5, 4, 4, 0}, + {"HO", -14, 35, 4, "HO2M08", 4, 6, 4, 1, 2, 1, 6, 28, 5, 4, 4, 0}, + {"HO", -14, 36, 4, "HO2M08", 4, 11, 4, 0, 2, 0, 6, 28, 5, 4, 4, 0}, + {"HO", -14, 37, 4, "HO2M08", 2, 2, 4, 2, 2, 2, 6, 28, 5, 3, 4, 0}, + {"HO", -14, 38, 4, "HO2M08", 2, 6, 4, 1, 2, 1, 6, 28, 5, 3, 4, 0}, + {"HO", -14, 39, 4, "HO2M08", 2, 11, 4, 0, 2, 0, 6, 28, 5, 3, 4, 0}, + {"HO", -14, 40, 4, "HO2M08", 1, 11, 4, 0, 2, 0, 6, 29, 1, 4, 13, 0}, + {"HO", -14, 41, 4, "HO2M08", 1, 6, 4, 1, 2, 1, 6, 29, 1, 4, 13, 0}, + {"HO", -14, 42, 4, "HO2M08", 1, 2, 4, 2, 2, 2, 6, 29, 1, 4, 13, 0}, + {"HO", -14, 43, 4, "HO2M08", 3, 11, 4, 0, 2, 0, 6, 29, 1, 3, 13, 0}, + {"HO", -14, 44, 4, "HO2M08", 3, 6, 4, 1, 2, 1, 6, 29, 1, 3, 13, 0}, + {"HO", -14, 45, 4, "HO2M08", 3, 2, 4, 2, 2, 2, 6, 29, 1, 3, 13, 0}, + {"HO", -14, 46, 4, "HO2M10", 4, 2, 4, 2, 2, 2, 6, 29, 9, 4, 17, 0}, + {"HO", -14, 47, 4, "HO2M10", 4, 6, 4, 1, 2, 1, 6, 29, 9, 4, 17, 0}, + {"HO", -14, 48, 4, "HO2M10", 4, 11, 4, 0, 2, 0, 6, 29, 9, 4, 17, 0}, + {"HO", -14, 49, 4, "HO2M10", 2, 2, 4, 2, 2, 2, 6, 29, 9, 3, 17, 0}, + {"HO", -14, 50, 4, "HO2M10", 2, 6, 4, 1, 2, 1, 6, 29, 9, 3, 17, 0}, + {"HO", -14, 51, 4, "HO2M10", 2, 11, 4, 0, 2, 0, 6, 29, 9, 3, 17, 0}, + {"HO", -14, 52, 4, "HO2M10", 1, 11, 4, 0, 2, 0, 13, 30, 5, 4, 4, 0}, + {"HO", -14, 53, 4, "HO2M10", 1, 6, 4, 1, 2, 1, 13, 30, 5, 4, 4, 0}, + {"HO", -14, 54, 4, "HO2M10", 1, 2, 4, 2, 2, 2, 13, 30, 5, 4, 4, 0}, + {"HO", -14, 55, 4, "HO2M10", 3, 11, 4, 0, 2, 0, 13, 30, 5, 3, 4, 0}, + {"HO", -14, 56, 4, "HO2M10", 3, 6, 4, 1, 2, 1, 13, 30, 5, 3, 4, 0}, + {"HO", -14, 57, 4, "HO2M10", 3, 2, 4, 2, 2, 2, 13, 30, 5, 3, 4, 0}, + {"HO", -14, 58, 4, "HO2M12", 4, 2, 4, 2, 2, 2, 13, 31, 1, 4, 13, 0}, + {"HO", -14, 59, 4, "HO2M12", 4, 6, 4, 1, 2, 1, 13, 31, 1, 4, 13, 0}, + {"HO", -14, 60, 4, "HO2M12", 4, 11, 4, 0, 2, 0, 13, 31, 1, 4, 13, 0}, + {"HO", -14, 61, 4, "HO2M12", 2, 2, 4, 2, 2, 2, 13, 31, 1, 3, 13, 0}, + {"HO", -14, 62, 4, "HO2M12", 2, 6, 4, 1, 2, 1, 13, 31, 1, 3, 13, 0}, + {"HO", -14, 63, 4, "HO2M12", 2, 11, 4, 0, 2, 0, 13, 31, 1, 3, 13, 0}, + {"HO", -14, 64, 4, "HO2M12", 1, 11, 4, 0, 2, 0, 13, 31, 9, 4, 17, 0}, + {"HO", -14, 65, 4, "HO2M12", 1, 6, 4, 1, 2, 1, 13, 31, 9, 4, 17, 0}, + {"HO", -14, 66, 4, "HO2M12", 1, 2, 4, 2, 2, 2, 13, 31, 9, 4, 17, 0}, + {"HO", -14, 67, 4, "HO2M12", 3, 11, 4, 0, 2, 0, 13, 31, 9, 3, 17, 0}, + {"HO", -14, 68, 4, "HO2M12", 3, 6, 4, 1, 2, 1, 13, 31, 9, 3, 17, 0}, + {"HO", -14, 69, 4, "HO2M12", 3, 2, 4, 2, 2, 2, 13, 31, 9, 3, 17, 0}, + {"HO", -14, 70, 4, "HO2M02", 4, 2, 4, 2, 2, 2, 3, 24, 5, 4, 4, 0}, + {"HO", -14, 71, 4, "HO2M02", 4, 6, 4, 1, 2, 1, 3, 24, 5, 4, 4, 0}, + {"HO", -13, 0, 4, "HO2M02", 4, 5, 5, 2, 2, 3, 3, 24, 7, 8, 5, 0}, + {"HO", -13, 1, 4, "HO2M02", 2, 13, 5, 1, 2, 5, 3, 24, 7, 7, 5, 0}, + {"HO", -13, 2, 4, "HO2M02", 2, 9, 5, 0, 2, 4, 3, 24, 7, 7, 5, 0}, + {"HO", -13, 3, 4, "HO2M02", 2, 5, 5, 2, 2, 3, 3, 24, 7, 7, 5, 0}, + {"HO", -13, 4, 4, "HO2M02", 1, 5, 5, 2, 2, 3, 3, 25, 3, 8, 14, 0}, + {"HO", -13, 5, 4, "HO2M02", 1, 9, 5, 0, 2, 4, 3, 25, 3, 8, 14, 0}, + {"HO", -13, 6, 4, "HO2M02", 1, 13, 5, 1, 2, 5, 3, 25, 3, 8, 14, 0}, + {"HO", -13, 7, 4, "HO2M02", 3, 5, 5, 2, 2, 3, 3, 25, 3, 7, 14, 0}, + {"HO", -13, 8, 4, "HO2M02", 3, 9, 5, 0, 2, 4, 3, 25, 3, 7, 14, 0}, + {"HO", -13, 9, 4, "HO2M02", 3, 13, 5, 1, 2, 5, 3, 25, 3, 7, 14, 0}, + {"HO", -13, 10, 4, "HO2M04", 4, 13, 5, 1, 2, 5, 3, 25, 11, 8, 18, 0}, + {"HO", -13, 11, 4, "HO2M04", 4, 9, 5, 0, 2, 4, 3, 25, 11, 8, 18, 0}, + {"HO", -13, 12, 4, "HO2M04", 4, 5, 5, 2, 2, 3, 3, 25, 11, 8, 18, 0}, + {"HO", -13, 13, 4, "HO2M04", 2, 13, 5, 1, 2, 5, 3, 25, 11, 7, 18, 0}, + {"HO", -13, 14, 4, "HO2M04", 2, 9, 5, 0, 2, 4, 3, 25, 11, 7, 18, 0}, + {"HO", -13, 15, 4, "HO2M04", 2, 5, 5, 2, 2, 3, 3, 25, 11, 7, 18, 0}, + {"HO", -13, 16, 4, "HO2M04", 1, 5, 5, 2, 2, 3, 7, 26, 7, 8, 5, 0}, + {"HO", -13, 17, 4, "HO2M04", 1, 9, 5, 0, 2, 4, 7, 26, 7, 8, 5, 0}, + {"HO", -13, 18, 4, "HO2M04", 1, 13, 5, 1, 2, 5, 7, 26, 7, 8, 5, 0}, + {"HO", -13, 19, 4, "HO2M04", 3, 5, 5, 2, 2, 3, 7, 26, 7, 7, 5, 0}, + {"HO", -13, 20, 4, "HO2M04", 3, 9, 5, 0, 2, 4, 7, 26, 7, 7, 5, 0}, + {"HO", -13, 21, 4, "HO2M04", 3, 13, 5, 1, 2, 5, 7, 26, 7, 7, 5, 0}, + {"HO", -13, 22, 4, "HO2M06", 4, 13, 5, 1, 2, 5, 7, 27, 3, 8, 14, 0}, + {"HO", -13, 23, 4, "HO2M06", 4, 9, 5, 0, 2, 4, 7, 27, 3, 8, 14, 0}, + {"HO", -13, 24, 4, "HO2M06", 4, 5, 5, 2, 2, 3, 7, 27, 3, 8, 14, 0}, + {"HO", -13, 25, 4, "HO2M06", 2, 13, 5, 1, 2, 5, 7, 27, 3, 7, 14, 0}, + {"HO", -13, 26, 4, "HO2M06", 2, 9, 5, 0, 2, 4, 7, 27, 3, 7, 14, 0}, + {"HO", -13, 27, 4, "HO2M06", 2, 5, 5, 2, 2, 3, 7, 27, 3, 7, 14, 0}, + {"HO", -13, 28, 4, "HO2M06", 1, 5, 5, 2, 2, 3, 7, 27, 11, 8, 18, 0}, + {"HO", -13, 29, 4, "HO2M06", 1, 9, 5, 0, 2, 4, 7, 27, 11, 8, 18, 0}, + {"HO", -13, 30, 4, "HO2M06", 1, 13, 5, 1, 2, 5, 7, 27, 11, 8, 18, 0}, + {"HO", -13, 31, 4, "HO2M06", 3, 5, 5, 2, 2, 3, 7, 27, 11, 7, 18, 0}, + {"HO", -13, 32, 4, "HO2M06", 3, 9, 5, 0, 2, 4, 7, 27, 11, 7, 18, 0}, + {"HO", -13, 33, 4, "HO2M06", 3, 13, 5, 1, 2, 5, 7, 27, 11, 7, 18, 0}, + {"HO", -13, 34, 4, "HO2M08", 4, 13, 5, 1, 2, 5, 6, 28, 7, 8, 5, 0}, + {"HO", -13, 35, 4, "HO2M08", 4, 9, 5, 0, 2, 4, 6, 28, 7, 8, 5, 0}, + {"HO", -13, 36, 4, "HO2M08", 4, 5, 5, 2, 2, 3, 6, 28, 7, 8, 5, 0}, + {"HO", -13, 37, 4, "HO2M08", 2, 13, 5, 1, 2, 5, 6, 28, 7, 7, 5, 0}, + {"HO", -13, 38, 4, "HO2M08", 2, 9, 5, 0, 2, 4, 6, 28, 7, 7, 5, 0}, + {"HO", -13, 39, 4, "HO2M08", 2, 5, 5, 2, 2, 3, 6, 28, 7, 7, 5, 0}, + {"HO", -13, 40, 4, "HO2M08", 1, 5, 5, 2, 2, 3, 6, 29, 3, 8, 14, 0}, + {"HO", -13, 41, 4, "HO2M08", 1, 9, 5, 0, 2, 4, 6, 29, 3, 8, 14, 0}, + {"HO", -13, 42, 4, "HO2M08", 1, 13, 5, 1, 2, 5, 6, 29, 3, 8, 14, 0}, + {"HO", -13, 43, 4, "HO2M08", 3, 5, 5, 2, 2, 3, 6, 29, 3, 7, 14, 0}, + {"HO", -13, 44, 4, "HO2M08", 3, 9, 5, 0, 2, 4, 6, 29, 3, 7, 14, 0}, + {"HO", -13, 45, 4, "HO2M08", 3, 13, 5, 1, 2, 5, 6, 29, 3, 7, 14, 0}, + {"HO", -13, 46, 4, "HO2M10", 4, 13, 5, 1, 2, 5, 6, 29, 11, 8, 18, 0}, + {"HO", -13, 47, 4, "HO2M10", 4, 9, 5, 0, 2, 4, 6, 29, 11, 8, 18, 0}, + {"HO", -13, 48, 4, "HO2M10", 4, 5, 5, 2, 2, 3, 6, 29, 11, 8, 18, 0}, + {"HO", -13, 49, 4, "HO2M10", 2, 13, 5, 1, 2, 5, 6, 29, 11, 7, 18, 0}, + {"HO", -13, 50, 4, "HO2M10", 2, 9, 5, 0, 2, 4, 6, 29, 11, 7, 18, 0}, + {"HO", -13, 51, 4, "HO2M10", 2, 5, 5, 2, 2, 3, 6, 29, 11, 7, 18, 0}, + {"HO", -13, 52, 4, "HO2M10", 1, 5, 5, 2, 2, 3, 13, 30, 7, 8, 5, 0}, + {"HO", -13, 53, 4, "HO2M10", 1, 9, 5, 0, 2, 4, 13, 30, 7, 8, 5, 0}, + {"HO", -13, 54, 4, "HO2M10", 1, 13, 5, 1, 2, 5, 13, 30, 7, 8, 5, 0}, + {"HO", -13, 55, 4, "HO2M10", 3, 5, 5, 2, 2, 3, 13, 30, 7, 7, 5, 0}, + {"HO", -13, 56, 4, "HO2M10", 3, 9, 5, 0, 2, 4, 13, 30, 7, 7, 5, 0}, + {"HO", -13, 57, 4, "HO2M10", 3, 13, 5, 1, 2, 5, 13, 30, 7, 7, 5, 0}, + {"HO", -13, 58, 4, "HO2M12", 4, 13, 5, 1, 2, 5, 13, 31, 3, 8, 14, 0}, + {"HO", -13, 59, 4, "HO2M12", 4, 9, 5, 0, 2, 4, 13, 31, 3, 8, 14, 0}, + {"HO", -13, 60, 4, "HO2M12", 4, 5, 5, 2, 2, 3, 13, 31, 3, 8, 14, 0}, + {"HO", -13, 61, 4, "HO2M12", 2, 13, 5, 1, 2, 5, 13, 31, 3, 7, 14, 0}, + {"HO", -13, 62, 4, "HO2M12", 2, 9, 5, 0, 2, 4, 13, 31, 3, 7, 14, 0}, + {"HO", -13, 63, 4, "HO2M12", 2, 5, 5, 2, 2, 3, 13, 31, 3, 7, 14, 0}, + {"HO", -13, 64, 4, "HO2M12", 1, 5, 5, 2, 2, 3, 13, 31, 11, 8, 18, 0}, + {"HO", -13, 65, 4, "HO2M12", 1, 9, 5, 0, 2, 4, 13, 31, 11, 8, 18, 0}, + {"HO", -13, 66, 4, "HO2M12", 1, 13, 5, 1, 2, 5, 13, 31, 11, 8, 18, 0}, + {"HO", -13, 67, 4, "HO2M12", 3, 5, 5, 2, 2, 3, 13, 31, 11, 7, 18, 0}, + {"HO", -13, 68, 4, "HO2M12", 3, 9, 5, 0, 2, 4, 13, 31, 11, 7, 18, 0}, + {"HO", -13, 69, 4, "HO2M12", 3, 13, 5, 1, 2, 5, 13, 31, 11, 7, 18, 0}, + {"HO", -13, 70, 4, "HO2M02", 4, 13, 5, 1, 2, 5, 3, 24, 7, 8, 5, 0}, + {"HO", -13, 71, 4, "HO2M02", 4, 9, 5, 0, 2, 4, 3, 24, 7, 8, 5, 0}, + {"HO", -12, 0, 4, "HO2M02", 4, 12, 2, 0, 1, 0, 3, 24, 7, 6, 5, 0}, + {"HO", -12, 1, 4, "HO2M02", 2, 3, 2, 2, 1, 2, 3, 24, 7, 5, 5, 0}, + {"HO", -12, 2, 4, "HO2M02", 2, 7, 2, 1, 1, 1, 3, 24, 7, 5, 5, 0}, + {"HO", -12, 3, 4, "HO2M02", 2, 12, 2, 0, 1, 0, 3, 24, 7, 5, 5, 0}, + {"HO", -12, 4, 4, "HO2M02", 1, 12, 2, 0, 1, 0, 3, 25, 3, 6, 14, 0}, + {"HO", -12, 5, 4, "HO2M02", 1, 7, 2, 1, 1, 1, 3, 25, 3, 6, 14, 0}, + {"HO", -12, 6, 4, "HO2M02", 1, 3, 2, 2, 1, 2, 3, 25, 3, 6, 14, 0}, + {"HO", -12, 7, 4, "HO2M02", 3, 12, 2, 0, 1, 0, 3, 25, 3, 5, 14, 0}, + {"HO", -12, 8, 4, "HO2M02", 3, 7, 2, 1, 1, 1, 3, 25, 3, 5, 14, 0}, + {"HO", -12, 9, 4, "HO2M02", 3, 3, 2, 2, 1, 2, 3, 25, 3, 5, 14, 0}, + {"HO", -12, 10, 4, "HO2M04", 4, 3, 2, 2, 1, 2, 3, 25, 11, 6, 18, 0}, + {"HO", -12, 11, 4, "HO2M04", 4, 7, 2, 1, 1, 1, 3, 25, 11, 6, 18, 0}, + {"HO", -12, 12, 4, "HO2M04", 4, 12, 2, 0, 1, 0, 3, 25, 11, 6, 18, 0}, + {"HO", -12, 13, 4, "HO2M04", 2, 3, 2, 2, 1, 2, 3, 25, 11, 5, 18, 0}, + {"HO", -12, 14, 4, "HO2M04", 2, 7, 2, 1, 1, 1, 3, 25, 11, 5, 18, 0}, + {"HO", -12, 15, 4, "HO2M04", 2, 12, 2, 0, 1, 0, 3, 25, 11, 5, 18, 0}, + {"HO", -12, 16, 4, "HO2M04", 1, 12, 2, 0, 1, 0, 7, 26, 7, 6, 5, 0}, + {"HO", -12, 17, 4, "HO2M04", 1, 7, 2, 1, 1, 1, 7, 26, 7, 6, 5, 0}, + {"HO", -12, 18, 4, "HO2M04", 1, 3, 2, 2, 1, 2, 7, 26, 7, 6, 5, 0}, + {"HO", -12, 19, 4, "HO2M04", 3, 12, 2, 0, 1, 0, 7, 26, 7, 5, 5, 0}, + {"HO", -12, 20, 4, "HO2M04", 3, 7, 2, 1, 1, 1, 7, 26, 7, 5, 5, 0}, + {"HO", -12, 21, 4, "HO2M04", 3, 3, 2, 2, 1, 2, 7, 26, 7, 5, 5, 0}, + {"HO", -12, 22, 4, "HO2M06", 4, 3, 2, 2, 1, 2, 7, 27, 3, 6, 14, 0}, + {"HO", -12, 23, 4, "HO2M06", 4, 7, 2, 1, 1, 1, 7, 27, 3, 6, 14, 0}, + {"HO", -12, 24, 4, "HO2M06", 4, 12, 2, 0, 1, 0, 7, 27, 3, 6, 14, 0}, + {"HO", -12, 25, 4, "HO2M06", 2, 3, 2, 2, 1, 2, 7, 27, 3, 5, 14, 0}, + {"HO", -12, 26, 4, "HO2M06", 2, 7, 2, 1, 1, 1, 7, 27, 3, 5, 14, 0}, + {"HO", -12, 27, 4, "HO2M06", 2, 12, 2, 0, 1, 0, 7, 27, 3, 5, 14, 0}, + {"HO", -12, 28, 4, "HO2M06", 1, 12, 2, 0, 1, 0, 7, 27, 11, 6, 18, 0}, + {"HO", -12, 29, 4, "HO2M06", 1, 7, 2, 1, 1, 1, 7, 27, 11, 6, 18, 0}, + {"HO", -12, 30, 4, "HO2M06", 1, 3, 2, 2, 1, 2, 7, 27, 11, 6, 18, 0}, + {"HO", -12, 31, 4, "HO2M06", 3, 12, 2, 0, 1, 0, 7, 27, 11, 5, 18, 0}, + {"HO", -12, 32, 4, "HO2M06", 3, 7, 2, 1, 1, 1, 7, 27, 11, 5, 18, 0}, + {"HO", -12, 33, 4, "HO2M06", 3, 3, 2, 2, 1, 2, 7, 27, 11, 5, 18, 0}, + {"HO", -12, 34, 4, "HO2M08", 4, 3, 2, 2, 1, 2, 6, 28, 7, 6, 5, 0}, + {"HO", -12, 35, 4, "HO2M08", 4, 7, 2, 1, 1, 1, 6, 28, 7, 6, 5, 0}, + {"HO", -12, 36, 4, "HO2M08", 4, 12, 2, 0, 1, 0, 6, 28, 7, 6, 5, 0}, + {"HO", -12, 37, 4, "HO2M08", 2, 3, 2, 2, 1, 2, 6, 28, 7, 5, 5, 0}, + {"HO", -12, 38, 4, "HO2M08", 2, 7, 2, 1, 1, 1, 6, 28, 7, 5, 5, 0}, + {"HO", -12, 39, 4, "HO2M08", 2, 12, 2, 0, 1, 0, 6, 28, 7, 5, 5, 0}, + {"HO", -12, 40, 4, "HO2M08", 1, 12, 2, 0, 1, 0, 6, 29, 3, 6, 14, 0}, + {"HO", -12, 41, 4, "HO2M08", 1, 7, 2, 1, 1, 1, 6, 29, 3, 6, 14, 0}, + {"HO", -12, 42, 4, "HO2M08", 1, 3, 2, 2, 1, 2, 6, 29, 3, 6, 14, 0}, + {"HO", -12, 43, 4, "HO2M08", 3, 12, 2, 0, 1, 0, 6, 29, 3, 5, 14, 0}, + {"HO", -12, 44, 4, "HO2M08", 3, 7, 2, 1, 1, 1, 6, 29, 3, 5, 14, 0}, + {"HO", -12, 45, 4, "HO2M08", 3, 3, 2, 2, 1, 2, 6, 29, 3, 5, 14, 0}, + {"HO", -12, 46, 4, "HO2M10", 4, 3, 2, 2, 1, 2, 6, 29, 11, 6, 18, 0}, + {"HO", -12, 47, 4, "HO2M10", 4, 7, 2, 1, 1, 1, 6, 29, 11, 6, 18, 0}, + {"HO", -12, 48, 4, "HO2M10", 4, 12, 2, 0, 1, 0, 6, 29, 11, 6, 18, 0}, + {"HO", -12, 49, 4, "HO2M10", 2, 3, 2, 2, 1, 2, 6, 29, 11, 5, 18, 0}, + {"HO", -12, 50, 4, "HO2M10", 2, 7, 2, 1, 1, 1, 6, 29, 11, 5, 18, 0}, + {"HO", -12, 51, 4, "HO2M10", 2, 12, 2, 0, 1, 0, 6, 29, 11, 5, 18, 0}, + {"HO", -12, 52, 4, "HO2M10", 1, 12, 2, 0, 1, 0, 13, 30, 7, 6, 5, 0}, + {"HO", -12, 53, 4, "HO2M10", 1, 7, 2, 1, 1, 1, 13, 30, 7, 6, 5, 0}, + {"HO", -12, 54, 4, "HO2M10", 1, 3, 2, 2, 1, 2, 13, 30, 7, 6, 5, 0}, + {"HO", -12, 55, 4, "HO2M10", 3, 12, 2, 0, 1, 0, 13, 30, 7, 5, 5, 0}, + {"HO", -12, 56, 4, "HO2M10", 3, 7, 2, 1, 1, 1, 13, 30, 7, 5, 5, 0}, + {"HO", -12, 57, 4, "HO2M10", 3, 3, 2, 2, 1, 2, 13, 30, 7, 5, 5, 0}, + {"HO", -12, 58, 4, "HO2M12", 4, 3, 2, 2, 1, 2, 13, 31, 3, 6, 14, 0}, + {"HO", -12, 59, 4, "HO2M12", 4, 7, 2, 1, 1, 1, 13, 31, 3, 6, 14, 0}, + {"HO", -12, 60, 4, "HO2M12", 4, 12, 2, 0, 1, 0, 13, 31, 3, 6, 14, 0}, + {"HO", -12, 61, 4, "HO2M12", 2, 3, 2, 2, 1, 2, 13, 31, 3, 5, 14, 0}, + {"HO", -12, 62, 4, "HO2M12", 2, 7, 2, 1, 1, 1, 13, 31, 3, 5, 14, 0}, + {"HO", -12, 63, 4, "HO2M12", 2, 12, 2, 0, 1, 0, 13, 31, 3, 5, 14, 0}, + {"HO", -12, 64, 4, "HO2M12", 1, 12, 2, 0, 1, 0, 13, 31, 11, 6, 18, 0}, + {"HO", -12, 65, 4, "HO2M12", 1, 7, 2, 1, 1, 1, 13, 31, 11, 6, 18, 0}, + {"HO", -12, 66, 4, "HO2M12", 1, 3, 2, 2, 1, 2, 13, 31, 11, 6, 18, 0}, + {"HO", -12, 67, 4, "HO2M12", 3, 12, 2, 0, 1, 0, 13, 31, 11, 5, 18, 0}, + {"HO", -12, 68, 4, "HO2M12", 3, 7, 2, 1, 1, 1, 13, 31, 11, 5, 18, 0}, + {"HO", -12, 69, 4, "HO2M12", 3, 3, 2, 2, 1, 2, 13, 31, 11, 5, 18, 0}, + {"HO", -12, 70, 4, "HO2M02", 4, 3, 2, 2, 1, 2, 3, 24, 7, 6, 5, 0}, + {"HO", -12, 71, 4, "HO2M02", 4, 7, 2, 1, 1, 1, 3, 24, 7, 6, 5, 0}, + {"HO", -11, 0, 4, "HO2M02", 4, 1, 3, 2, 1, 3, 3, 24, 7, 4, 5, 0}, + {"HO", -11, 1, 4, "HO2M02", 2, 8, 3, 1, 1, 5, 3, 24, 7, 3, 5, 0}, + {"HO", -11, 2, 4, "HO2M02", 2, 4, 3, 0, 1, 4, 3, 24, 7, 3, 5, 0}, + {"HO", -11, 3, 4, "HO2M02", 2, 1, 3, 2, 1, 3, 3, 24, 7, 3, 5, 0}, + {"HO", -11, 4, 4, "HO2M02", 1, 1, 3, 2, 1, 3, 3, 25, 3, 4, 14, 0}, + {"HO", -11, 5, 4, "HO2M02", 1, 4, 3, 0, 1, 4, 3, 25, 3, 4, 14, 0}, + {"HO", -11, 6, 4, "HO2M02", 1, 8, 3, 1, 1, 5, 3, 25, 3, 4, 14, 0}, + {"HO", -11, 7, 4, "HO2M02", 3, 1, 3, 2, 1, 3, 3, 25, 3, 3, 14, 0}, + {"HO", -11, 8, 4, "HO2M02", 3, 4, 3, 0, 1, 4, 3, 25, 3, 3, 14, 0}, + {"HO", -11, 9, 4, "HO2M02", 3, 8, 3, 1, 1, 5, 3, 25, 3, 3, 14, 0}, + {"HO", -11, 10, 4, "HO2M04", 4, 8, 3, 1, 1, 5, 3, 25, 11, 4, 18, 0}, + {"HO", -11, 11, 4, "HO2M04", 4, 4, 3, 0, 1, 4, 3, 25, 11, 4, 18, 0}, + {"HO", -11, 12, 4, "HO2M04", 4, 1, 3, 2, 1, 3, 3, 25, 11, 4, 18, 0}, + {"HO", -11, 13, 4, "HO2M04", 2, 8, 3, 1, 1, 5, 3, 25, 11, 3, 18, 0}, + {"HO", -11, 14, 4, "HO2M04", 2, 4, 3, 0, 1, 4, 3, 25, 11, 3, 18, 0}, + {"HO", -11, 15, 4, "HO2M04", 2, 1, 3, 2, 1, 3, 3, 25, 11, 3, 18, 0}, + {"HO", -11, 16, 4, "HO2M04", 1, 1, 3, 2, 1, 3, 7, 26, 7, 4, 5, 0}, + {"HO", -11, 17, 4, "HO2M04", 1, 4, 3, 0, 1, 4, 7, 26, 7, 4, 5, 0}, + {"HO", -11, 18, 4, "HO2M04", 1, 8, 3, 1, 1, 5, 7, 26, 7, 4, 5, 0}, + {"HO", -11, 19, 4, "HO2M04", 3, 1, 3, 2, 1, 3, 7, 26, 7, 3, 5, 0}, + {"HO", -11, 20, 4, "HO2M04", 3, 4, 3, 0, 1, 4, 7, 26, 7, 3, 5, 0}, + {"HO", -11, 21, 4, "HO2M04", 3, 8, 3, 1, 1, 5, 7, 26, 7, 3, 5, 0}, + {"HO", -11, 22, 4, "HO2M06", 4, 8, 3, 1, 1, 5, 7, 27, 3, 4, 14, 0}, + {"HO", -11, 23, 4, "HO2M06", 4, 4, 3, 0, 1, 4, 7, 27, 3, 4, 14, 0}, + {"HO", -11, 24, 4, "HO2M06", 4, 1, 3, 2, 1, 3, 7, 27, 3, 4, 14, 0}, + {"HO", -11, 25, 4, "HO2M06", 2, 8, 3, 1, 1, 5, 7, 27, 3, 3, 14, 0}, + {"HO", -11, 26, 4, "HO2M06", 2, 4, 3, 0, 1, 4, 7, 27, 3, 3, 14, 0}, + {"HO", -11, 27, 4, "HO2M06", 2, 1, 3, 2, 1, 3, 7, 27, 3, 3, 14, 0}, + {"HO", -11, 28, 4, "HO2M06", 1, 1, 3, 2, 1, 3, 7, 27, 11, 4, 18, 0}, + {"HO", -11, 29, 4, "HO2M06", 1, 4, 3, 0, 1, 4, 7, 27, 11, 4, 18, 0}, + {"HO", -11, 30, 4, "HO2M06", 1, 8, 3, 1, 1, 5, 7, 27, 11, 4, 18, 0}, + {"HO", -11, 31, 4, "HO2M06", 3, 1, 3, 2, 1, 3, 7, 27, 11, 3, 18, 0}, + {"HO", -11, 32, 4, "HO2M06", 3, 4, 3, 0, 1, 4, 7, 27, 11, 3, 18, 0}, + {"HO", -11, 33, 4, "HO2M06", 3, 8, 3, 1, 1, 5, 7, 27, 11, 3, 18, 0}, + {"HO", -11, 34, 4, "HO2M08", 4, 8, 3, 1, 1, 5, 6, 28, 7, 4, 5, 0}, + {"HO", -11, 35, 4, "HO2M08", 4, 4, 3, 0, 1, 4, 6, 28, 7, 4, 5, 0}, + {"HO", -11, 36, 4, "HO2M08", 4, 1, 3, 2, 1, 3, 6, 28, 7, 4, 5, 0}, + {"HO", -11, 37, 4, "HO2M08", 2, 8, 3, 1, 1, 5, 6, 28, 7, 3, 5, 0}, + {"HO", -11, 38, 4, "HO2M08", 2, 4, 3, 0, 1, 4, 6, 28, 7, 3, 5, 0}, + {"HO", -11, 39, 4, "HO2M08", 2, 1, 3, 2, 1, 3, 6, 28, 7, 3, 5, 0}, + {"HO", -11, 40, 4, "HO2M08", 1, 1, 3, 2, 1, 3, 6, 29, 3, 4, 14, 0}, + {"HO", -11, 41, 4, "HO2M08", 1, 4, 3, 0, 1, 4, 6, 29, 3, 4, 14, 0}, + {"HO", -11, 42, 4, "HO2M08", 1, 8, 3, 1, 1, 5, 6, 29, 3, 4, 14, 0}, + {"HO", -11, 43, 4, "HO2M08", 3, 1, 3, 2, 1, 3, 6, 29, 3, 3, 14, 0}, + {"HO", -11, 44, 4, "HO2M08", 3, 4, 3, 0, 1, 4, 6, 29, 3, 3, 14, 0}, + {"HO", -11, 45, 4, "HO2M08", 3, 8, 3, 1, 1, 5, 6, 29, 3, 3, 14, 0}, + {"HO", -11, 46, 4, "HO2M10", 4, 8, 3, 1, 1, 5, 6, 29, 11, 4, 18, 0}, + {"HO", -11, 47, 4, "HO2M10", 4, 4, 3, 0, 1, 4, 6, 29, 11, 4, 18, 0}, + {"HO", -11, 48, 4, "HO2M10", 4, 1, 3, 2, 1, 3, 6, 29, 11, 4, 18, 0}, + {"HO", -11, 49, 4, "HO2M10", 2, 8, 3, 1, 1, 5, 6, 29, 11, 3, 18, 0}, + {"HO", -11, 50, 4, "HO2M10", 2, 4, 3, 0, 1, 4, 6, 29, 11, 3, 18, 0}, + {"HO", -11, 51, 4, "HO2M10", 2, 1, 3, 2, 1, 3, 6, 29, 11, 3, 18, 0}, + {"HO", -11, 52, 4, "HO2M10", 1, 1, 3, 2, 1, 3, 13, 30, 7, 4, 5, 0}, + {"HO", -11, 53, 4, "HO2M10", 1, 4, 3, 0, 1, 4, 13, 30, 7, 4, 5, 0}, + {"HO", -11, 54, 4, "HO2M10", 1, 8, 3, 1, 1, 5, 13, 30, 7, 4, 5, 0}, + {"HO", -11, 55, 4, "HO2M10", 3, 1, 3, 2, 1, 3, 13, 30, 7, 3, 5, 0}, + {"HO", -11, 56, 4, "HO2M10", 3, 4, 3, 0, 1, 4, 13, 30, 7, 3, 5, 0}, + {"HO", -11, 57, 4, "HO2M10", 3, 8, 3, 1, 1, 5, 13, 30, 7, 3, 5, 0}, + {"HO", -11, 58, 4, "HO2M12", 4, 8, 3, 1, 1, 5, 13, 31, 3, 4, 14, 0}, + {"HO", -11, 59, 4, "HO2M12", 4, 4, 3, 0, 1, 4, 13, 31, 3, 4, 14, 0}, + {"HO", -11, 60, 4, "HO2M12", 4, 1, 3, 2, 1, 3, 13, 31, 3, 4, 14, 0}, + {"HO", -11, 61, 4, "HO2M12", 2, 8, 3, 1, 1, 5, 13, 31, 3, 3, 14, 0}, + {"HO", -11, 62, 4, "HO2M12", 2, 4, 3, 0, 1, 4, 13, 31, 3, 3, 14, 0}, + {"HO", -11, 63, 4, "HO2M12", 2, 1, 3, 2, 1, 3, 13, 31, 3, 3, 14, 0}, + {"HO", -11, 64, 4, "HO2M12", 1, 1, 3, 2, 1, 3, 13, 31, 11, 4, 18, 0}, + {"HO", -11, 65, 4, "HO2M12", 1, 4, 3, 0, 1, 4, 13, 31, 11, 4, 18, 0}, + {"HO", -11, 66, 4, "HO2M12", 1, 8, 3, 1, 1, 5, 13, 31, 11, 4, 18, 0}, + {"HO", -11, 67, 4, "HO2M12", 3, 1, 3, 2, 1, 3, 13, 31, 11, 3, 18, 0}, + {"HO", -11, 68, 4, "HO2M12", 3, 4, 3, 0, 1, 4, 13, 31, 11, 3, 18, 0}, + {"HO", -11, 69, 4, "HO2M12", 3, 8, 3, 1, 1, 5, 13, 31, 11, 3, 18, 0}, + {"HO", -11, 70, 4, "HO2M02", 4, 8, 3, 1, 1, 5, 3, 24, 7, 4, 5, 0}, + {"HO", -11, 71, 4, "HO2M02", 4, 4, 3, 0, 1, 4, 3, 24, 7, 4, 5, 0}, + {"HO", -10, 0, 4, "HO1M02", 2, 19, 6, 0, 3, 0, 3, 24, 7, 2, 5, 0}, + {"HO", -10, 1, 4, "HO1M02", 4, 17, 6, 2, 3, 2, 3, 24, 7, 1, 5, 0}, + {"HO", -10, 2, 4, "HO1M02", 4, 18, 6, 1, 3, 1, 3, 24, 7, 1, 5, 0}, + {"HO", -10, 3, 4, "HO1M02", 4, 19, 6, 0, 3, 0, 3, 24, 7, 1, 5, 0}, + {"HO", -10, 4, 4, "HO1M02", 3, 19, 6, 0, 3, 0, 3, 25, 3, 2, 14, 0}, + {"HO", -10, 5, 4, "HO1M02", 3, 18, 6, 1, 3, 1, 3, 25, 3, 2, 14, 0}, + {"HO", -10, 6, 4, "HO1M02", 3, 17, 6, 2, 3, 2, 3, 25, 3, 2, 14, 0}, + {"HO", -10, 7, 4, "HO1M02", 1, 19, 6, 0, 3, 0, 3, 25, 3, 1, 14, 0}, + {"HO", -10, 8, 4, "HO1M02", 1, 18, 6, 1, 3, 1, 3, 25, 3, 1, 14, 0}, + {"HO", -10, 9, 4, "HO1M02", 1, 17, 6, 2, 3, 2, 3, 25, 3, 1, 14, 0}, + {"HO", -10, 10, 4, "HO1M04", 2, 17, 6, 2, 3, 2, 3, 25, 11, 2, 18, 0}, + {"HO", -10, 11, 4, "HO1M04", 2, 18, 6, 1, 3, 1, 3, 25, 11, 2, 18, 0}, + {"HO", -10, 12, 4, "HO1M04", 2, 19, 6, 0, 3, 0, 3, 25, 11, 2, 18, 0}, + {"HO", -10, 13, 4, "HO1M04", 4, 17, 6, 2, 3, 2, 3, 25, 11, 1, 18, 0}, + {"HO", -10, 14, 4, "HO1M04", 4, 18, 6, 1, 3, 1, 3, 25, 11, 1, 18, 0}, + {"HO", -10, 15, 4, "HO1M04", 4, 19, 6, 0, 3, 0, 3, 25, 11, 1, 18, 0}, + {"HO", -10, 16, 4, "HO1M04", 3, 19, 6, 0, 3, 0, 7, 26, 7, 2, 5, 0}, + {"HO", -10, 17, 4, "HO1M04", 3, 18, 6, 1, 3, 1, 7, 26, 7, 2, 5, 0}, + {"HO", -10, 18, 4, "HO1M04", 3, 17, 6, 2, 3, 2, 7, 26, 7, 2, 5, 0}, + {"HO", -10, 19, 4, "HO1M04", 1, 19, 6, 0, 3, 0, 7, 26, 7, 1, 5, 0}, + {"HO", -10, 20, 4, "HO1M04", 1, 18, 6, 1, 3, 1, 7, 26, 7, 1, 5, 0}, + {"HO", -10, 21, 4, "HO1M04", 1, 17, 6, 2, 3, 2, 7, 26, 7, 1, 5, 0}, + {"HO", -10, 22, 4, "HO1M06", 2, 17, 6, 2, 3, 2, 7, 27, 3, 2, 14, 0}, + {"HO", -10, 23, 4, "HO1M06", 2, 18, 6, 1, 3, 1, 7, 27, 3, 2, 14, 0}, + {"HO", -10, 24, 4, "HO1M06", 2, 19, 6, 0, 3, 0, 7, 27, 3, 2, 14, 0}, + {"HO", -10, 25, 4, "HO1M06", 4, 17, 6, 2, 3, 2, 7, 27, 3, 1, 14, 0}, + {"HO", -10, 26, 4, "HO1M06", 4, 18, 6, 1, 3, 1, 7, 27, 3, 1, 14, 0}, + {"HO", -10, 27, 4, "HO1M06", 4, 19, 6, 0, 3, 0, 7, 27, 3, 1, 14, 0}, + {"HO", -10, 28, 4, "HO1M06", 3, 19, 6, 0, 3, 0, 7, 27, 11, 2, 18, 0}, + {"HO", -10, 29, 4, "HO1M06", 3, 18, 6, 1, 3, 1, 7, 27, 11, 2, 18, 0}, + {"HO", -10, 30, 4, "HO1M06", 3, 17, 6, 2, 3, 2, 7, 27, 11, 2, 18, 0}, + {"HO", -10, 31, 4, "HO1M06", 1, 19, 6, 0, 3, 0, 7, 27, 11, 1, 18, 0}, + {"HO", -10, 32, 4, "HO1M06", 1, 18, 6, 1, 3, 1, 7, 27, 11, 1, 18, 0}, + {"HO", -10, 33, 4, "HO1M06", 1, 17, 6, 2, 3, 2, 7, 27, 11, 1, 18, 0}, + {"HO", -10, 34, 4, "HO1M08", 2, 17, 6, 2, 3, 2, 6, 28, 7, 2, 5, 0}, + {"HO", -10, 35, 4, "HO1M08", 2, 18, 6, 1, 3, 1, 6, 28, 7, 2, 5, 0}, + {"HO", -10, 36, 4, "HO1M08", 2, 19, 6, 0, 3, 0, 6, 28, 7, 2, 5, 0}, + {"HO", -10, 37, 4, "HO1M08", 4, 17, 6, 2, 3, 2, 6, 28, 7, 1, 5, 0}, + {"HO", -10, 38, 4, "HO1M08", 4, 18, 6, 1, 3, 1, 6, 28, 7, 1, 5, 0}, + {"HO", -10, 39, 4, "HO1M08", 4, 19, 6, 0, 3, 0, 6, 28, 7, 1, 5, 0}, + {"HO", -10, 40, 4, "HO1M08", 3, 19, 6, 0, 3, 0, 6, 29, 3, 2, 14, 0}, + {"HO", -10, 41, 4, "HO1M08", 3, 18, 6, 1, 3, 1, 6, 29, 3, 2, 14, 0}, + {"HO", -10, 42, 4, "HO1M08", 3, 17, 6, 2, 3, 2, 6, 29, 3, 2, 14, 0}, + {"HO", -10, 43, 4, "HO1M08", 1, 19, 6, 0, 3, 0, 6, 29, 3, 1, 14, 0}, + {"HO", -10, 44, 4, "HO1M08", 1, 18, 6, 1, 3, 1, 6, 29, 3, 1, 14, 0}, + {"HO", -10, 45, 4, "HO1M08", 1, 17, 6, 2, 3, 2, 6, 29, 3, 1, 14, 0}, + {"HO", -10, 46, 4, "HO1M10", 2, 17, 6, 2, 3, 2, 6, 29, 11, 2, 18, 0}, + {"HO", -10, 47, 4, "HO1M10", 2, 18, 6, 1, 3, 1, 6, 29, 11, 2, 18, 0}, + {"HO", -10, 48, 4, "HO1M10", 2, 19, 6, 0, 3, 0, 6, 29, 11, 2, 18, 0}, + {"HO", -10, 49, 4, "HO1M10", 4, 17, 6, 2, 3, 2, 6, 29, 11, 1, 18, 0}, + {"HO", -10, 50, 4, "HO1M10", 4, 18, 6, 1, 3, 1, 6, 29, 11, 1, 18, 0}, + {"HO", -10, 51, 4, "HO1M10", 4, 19, 6, 0, 3, 0, 6, 29, 11, 1, 18, 0}, + {"HO", -10, 52, 4, "HO1M10", 3, 19, 6, 0, 3, 0, 13, 30, 7, 2, 5, 0}, + {"HO", -10, 53, 4, "HO1M10", 3, 18, 6, 1, 3, 1, 13, 30, 7, 2, 5, 0}, + {"HO", -10, 54, 4, "HO1M10", 3, 17, 6, 2, 3, 2, 13, 30, 7, 2, 5, 0}, + {"HO", -10, 55, 4, "HO1M10", 1, 19, 6, 0, 3, 0, 13, 30, 7, 1, 5, 0}, + {"HO", -10, 56, 4, "HO1M10", 1, 18, 6, 1, 3, 1, 13, 30, 7, 1, 5, 0}, + {"HO", -10, 57, 4, "HO1M10", 1, 17, 6, 2, 3, 2, 13, 30, 7, 1, 5, 0}, + {"HO", -10, 58, 4, "HO1M12", 2, 17, 6, 2, 3, 2, 13, 31, 3, 2, 14, 0}, + {"HO", -10, 59, 4, "HO1M12", 2, 18, 6, 1, 3, 1, 13, 31, 3, 2, 14, 0}, + {"HO", -10, 60, 4, "HO1M12", 2, 19, 6, 0, 3, 0, 13, 31, 3, 2, 14, 0}, + {"HO", -10, 61, 4, "HO1M12", 4, 17, 6, 2, 3, 2, 13, 31, 3, 1, 14, 0}, + {"HO", -10, 62, 4, "HO1M12", 4, 18, 6, 1, 3, 1, 13, 31, 3, 1, 14, 0}, + {"HO", -10, 63, 4, "HO1M12", 4, 19, 6, 0, 3, 0, 13, 31, 3, 1, 14, 0}, + {"HO", -10, 64, 4, "HO1M12", 3, 19, 6, 0, 3, 0, 13, 31, 11, 2, 18, 0}, + {"HO", -10, 65, 4, "HO1M12", 3, 18, 6, 1, 3, 1, 13, 31, 11, 2, 18, 0}, + {"HO", -10, 66, 4, "HO1M12", 3, 17, 6, 2, 3, 2, 13, 31, 11, 2, 18, 0}, + {"HO", -10, 67, 4, "HO1M12", 1, 19, 6, 0, 3, 0, 13, 31, 11, 1, 18, 0}, + {"HO", -10, 68, 4, "HO1M12", 1, 18, 6, 1, 3, 1, 13, 31, 11, 1, 18, 0}, + {"HO", -10, 69, 4, "HO1M12", 1, 17, 6, 2, 3, 2, 13, 31, 11, 1, 18, 0}, + {"HO", -10, 70, 4, "HO1M02", 2, 17, 6, 2, 3, 2, 3, 24, 7, 2, 5, 0}, + {"HO", -10, 71, 4, "HO1M02", 2, 18, 6, 1, 3, 1, 3, 24, 7, 2, 5, 0}, + {"HO", -9, 0, 4, "HO1M02", 2, 16, 7, 2, 3, 3, 3, 24, 6, 8, 5, 1}, + {"HO", -9, 1, 4, "HO1M02", 4, 14, 7, 1, 3, 5, 3, 24, 6, 7, 5, 1}, + {"HO", -9, 2, 4, "HO1M02", 4, 15, 7, 0, 3, 4, 3, 24, 6, 7, 5, 1}, + {"HO", -9, 3, 4, "HO1M02", 4, 16, 7, 2, 3, 3, 3, 24, 6, 7, 5, 1}, + {"HO", -9, 4, 4, "HO1M02", 3, 16, 7, 2, 3, 3, 3, 25, 2, 8, 14, 1}, + {"HO", -9, 5, 4, "HO1M02", 3, 15, 7, 0, 3, 4, 3, 25, 2, 8, 14, 1}, + {"HO", -9, 6, 4, "HO1M02", 3, 14, 7, 1, 3, 5, 3, 25, 2, 8, 14, 1}, + {"HO", -9, 7, 4, "HO1M02", 1, 16, 7, 2, 3, 3, 3, 25, 2, 7, 14, 1}, + {"HO", -9, 8, 4, "HO1M02", 1, 15, 7, 0, 3, 4, 3, 25, 2, 7, 14, 1}, + {"HO", -9, 9, 4, "HO1M02", 1, 14, 7, 1, 3, 5, 3, 25, 2, 7, 14, 1}, + {"HO", -9, 10, 4, "HO1M04", 2, 14, 7, 1, 3, 5, 3, 25, 10, 8, 18, 1}, + {"HO", -9, 11, 4, "HO1M04", 2, 15, 7, 0, 3, 4, 3, 25, 10, 8, 18, 1}, + {"HO", -9, 12, 4, "HO1M04", 2, 16, 7, 2, 3, 3, 3, 25, 10, 8, 18, 1}, + {"HO", -9, 13, 4, "HO1M04", 4, 14, 7, 1, 3, 5, 3, 25, 10, 7, 18, 1}, + {"HO", -9, 14, 4, "HO1M04", 4, 15, 7, 0, 3, 4, 3, 25, 10, 7, 18, 1}, + {"HO", -9, 15, 4, "HO1M04", 4, 16, 7, 2, 3, 3, 3, 25, 10, 7, 18, 1}, + {"HO", -9, 16, 4, "HO1M04", 3, 16, 7, 2, 3, 3, 7, 26, 6, 8, 5, 1}, + {"HO", -9, 17, 4, "HO1M04", 3, 15, 7, 0, 3, 4, 7, 26, 6, 8, 5, 1}, + {"HO", -9, 18, 4, "HO1M04", 3, 14, 7, 1, 3, 5, 7, 26, 6, 8, 5, 1}, + {"HO", -9, 19, 4, "HO1M04", 1, 16, 7, 2, 3, 3, 7, 26, 6, 7, 5, 1}, + {"HO", -9, 20, 4, "HO1M04", 1, 15, 7, 0, 3, 4, 7, 26, 6, 7, 5, 1}, + {"HO", -9, 21, 4, "HO1M04", 1, 14, 7, 1, 3, 5, 7, 26, 6, 7, 5, 1}, + {"HO", -9, 22, 4, "HO1M06", 2, 14, 7, 1, 3, 5, 7, 27, 2, 8, 14, 1}, + {"HO", -9, 23, 4, "HO1M06", 2, 15, 7, 0, 3, 4, 7, 27, 2, 8, 14, 1}, + {"HO", -9, 24, 4, "HO1M06", 2, 16, 7, 2, 3, 3, 7, 27, 2, 8, 14, 1}, + {"HO", -9, 25, 4, "HO1M06", 4, 14, 7, 1, 3, 5, 7, 27, 2, 7, 14, 1}, + {"HO", -9, 26, 4, "HO1M06", 4, 15, 7, 0, 3, 4, 7, 27, 2, 7, 14, 1}, + {"HO", -9, 27, 4, "HO1M06", 4, 16, 7, 2, 3, 3, 7, 27, 2, 7, 14, 1}, + {"HO", -9, 28, 4, "HO1M06", 3, 16, 7, 2, 3, 3, 7, 27, 10, 8, 18, 1}, + {"HO", -9, 29, 4, "HO1M06", 3, 15, 7, 0, 3, 4, 7, 27, 10, 8, 18, 1}, + {"HO", -9, 30, 4, "HO1M06", 3, 14, 7, 1, 3, 5, 7, 27, 10, 8, 18, 1}, + {"HO", -9, 31, 4, "HO1M06", 1, 16, 7, 2, 3, 3, 7, 27, 10, 7, 18, 1}, + {"HO", -9, 32, 4, "HO1M06", 1, 15, 7, 0, 3, 4, 7, 27, 10, 7, 18, 1}, + {"HO", -9, 33, 4, "HO1M06", 1, 14, 7, 1, 3, 5, 7, 27, 10, 7, 18, 1}, + {"HO", -9, 34, 4, "HO1M08", 2, 14, 7, 1, 3, 5, 6, 28, 6, 8, 5, 1}, + {"HO", -9, 35, 4, "HO1M08", 2, 15, 7, 0, 3, 4, 6, 28, 6, 8, 5, 1}, + {"HO", -9, 36, 4, "HO1M08", 2, 16, 7, 2, 3, 3, 6, 28, 6, 8, 5, 1}, + {"HO", -9, 37, 4, "HO1M08", 4, 14, 7, 1, 3, 5, 6, 28, 6, 7, 5, 1}, + {"HO", -9, 38, 4, "HO1M08", 4, 15, 7, 0, 3, 4, 6, 28, 6, 7, 5, 1}, + {"HO", -9, 39, 4, "HO1M08", 4, 16, 7, 2, 3, 3, 6, 28, 6, 7, 5, 1}, + {"HO", -9, 40, 4, "HO1M08", 3, 16, 7, 2, 3, 3, 6, 29, 2, 8, 14, 1}, + {"HO", -9, 41, 4, "HO1M08", 3, 15, 7, 0, 3, 4, 6, 29, 2, 8, 14, 1}, + {"HO", -9, 42, 4, "HO1M08", 3, 14, 7, 1, 3, 5, 6, 29, 2, 8, 14, 1}, + {"HO", -9, 43, 4, "HO1M08", 1, 16, 7, 2, 3, 3, 6, 29, 2, 7, 14, 1}, + {"HO", -9, 44, 4, "HO1M08", 1, 15, 7, 0, 3, 4, 6, 29, 2, 7, 14, 1}, + {"HO", -9, 45, 4, "HO1M08", 1, 14, 7, 1, 3, 5, 6, 29, 2, 7, 14, 1}, + {"HO", -9, 46, 4, "HO1M10", 2, 14, 7, 1, 3, 5, 6, 29, 10, 8, 18, 1}, + {"HO", -9, 47, 4, "HO1M10", 2, 15, 7, 0, 3, 4, 6, 29, 10, 8, 18, 1}, + {"HO", -9, 48, 4, "HO1M10", 2, 16, 7, 2, 3, 3, 6, 29, 10, 8, 18, 1}, + {"HO", -9, 49, 4, "HO1M10", 4, 14, 7, 1, 3, 5, 6, 29, 10, 7, 18, 1}, + {"HO", -9, 50, 4, "HO1M10", 4, 15, 7, 0, 3, 4, 6, 29, 10, 7, 18, 1}, + {"HO", -9, 51, 4, "HO1M10", 4, 16, 7, 2, 3, 3, 6, 29, 10, 7, 18, 1}, + {"HO", -9, 52, 4, "HO1M10", 3, 16, 7, 2, 3, 3, 13, 30, 6, 8, 5, 1}, + {"HO", -9, 53, 4, "HO1M10", 3, 15, 7, 0, 3, 4, 13, 30, 6, 8, 5, 1}, + {"HO", -9, 54, 4, "HO1M10", 3, 14, 7, 1, 3, 5, 13, 30, 6, 8, 5, 1}, + {"HO", -9, 55, 4, "HO1M10", 1, 16, 7, 2, 3, 3, 13, 30, 6, 7, 5, 1}, + {"HO", -9, 56, 4, "HO1M10", 1, 15, 7, 0, 3, 4, 13, 30, 6, 7, 5, 1}, + {"HO", -9, 57, 4, "HO1M10", 1, 14, 7, 1, 3, 5, 13, 30, 6, 7, 5, 1}, + {"HO", -9, 58, 4, "HO1M12", 2, 14, 7, 1, 3, 5, 13, 31, 2, 8, 14, 1}, + {"HO", -9, 59, 4, "HO1M12", 2, 15, 7, 0, 3, 4, 13, 31, 2, 8, 14, 1}, + {"HO", -9, 60, 4, "HO1M12", 2, 16, 7, 2, 3, 3, 13, 31, 2, 8, 14, 1}, + {"HO", -9, 61, 4, "HO1M12", 4, 14, 7, 1, 3, 5, 13, 31, 2, 7, 14, 1}, + {"HO", -9, 62, 4, "HO1M12", 4, 15, 7, 0, 3, 4, 13, 31, 2, 7, 14, 1}, + {"HO", -9, 63, 4, "HO1M12", 4, 16, 7, 2, 3, 3, 13, 31, 2, 7, 14, 1}, + {"HO", -9, 64, 4, "HO1M12", 3, 16, 7, 2, 3, 3, 13, 31, 10, 8, 18, 1}, + {"HO", -9, 65, 4, "HO1M12", 3, 15, 7, 0, 3, 4, 13, 31, 10, 8, 18, 1}, + {"HO", -9, 66, 4, "HO1M12", 3, 14, 7, 1, 3, 5, 13, 31, 10, 8, 18, 1}, + {"HO", -9, 67, 4, "HO1M12", 1, 16, 7, 2, 3, 3, 13, 31, 10, 7, 18, 1}, + {"HO", -9, 68, 4, "HO1M12", 1, 15, 7, 0, 3, 4, 13, 31, 10, 7, 18, 1}, + {"HO", -9, 69, 4, "HO1M12", 1, 14, 7, 1, 3, 5, 13, 31, 10, 7, 18, 1}, + {"HO", -9, 70, 4, "HO1M02", 2, 14, 7, 1, 3, 5, 3, 24, 6, 8, 5, 1}, + {"HO", -9, 71, 4, "HO1M02", 2, 15, 7, 0, 3, 4, 3, 24, 6, 8, 5, 1}, + {"HO", -8, 0, 4, "HO1M02", 2, 11, 4, 0, 2, 0, 3, 24, 6, 6, 5, 1}, + {"HO", -8, 1, 4, "HO1M02", 4, 2, 4, 2, 2, 2, 3, 24, 6, 5, 5, 1}, + {"HO", -8, 2, 4, "HO1M02", 4, 6, 4, 1, 2, 1, 3, 24, 6, 5, 5, 1}, + {"HO", -8, 3, 4, "HO1M02", 4, 11, 4, 0, 2, 0, 3, 24, 6, 5, 5, 1}, + {"HO", -8, 4, 4, "HO1M02", 3, 11, 4, 0, 2, 0, 3, 25, 2, 6, 14, 1}, + {"HO", -8, 5, 4, "HO1M02", 3, 6, 4, 1, 2, 1, 3, 25, 2, 6, 14, 1}, + {"HO", -8, 6, 4, "HO1M02", 3, 2, 4, 2, 2, 2, 3, 25, 2, 6, 14, 1}, + {"HO", -8, 7, 4, "HO1M02", 1, 11, 4, 0, 2, 0, 3, 25, 2, 5, 14, 1}, + {"HO", -8, 8, 4, "HO1M02", 1, 6, 4, 1, 2, 1, 3, 25, 2, 5, 14, 1}, + {"HO", -8, 9, 4, "HO1M02", 1, 2, 4, 2, 2, 2, 3, 25, 2, 5, 14, 1}, + {"HO", -8, 10, 4, "HO1M04", 2, 2, 4, 2, 2, 2, 3, 25, 10, 6, 18, 1}, + {"HO", -8, 11, 4, "HO1M04", 2, 6, 4, 1, 2, 1, 3, 25, 10, 6, 18, 1}, + {"HO", -8, 12, 4, "HO1M04", 2, 11, 4, 0, 2, 0, 3, 25, 10, 6, 18, 1}, + {"HO", -8, 13, 4, "HO1M04", 4, 2, 4, 2, 2, 2, 3, 25, 10, 5, 18, 1}, + {"HO", -8, 14, 4, "HO1M04", 4, 6, 4, 1, 2, 1, 3, 25, 10, 5, 18, 1}, + {"HO", -8, 15, 4, "HO1M04", 4, 11, 4, 0, 2, 0, 3, 25, 10, 5, 18, 1}, + {"HO", -8, 16, 4, "HO1M04", 3, 11, 4, 0, 2, 0, 7, 26, 6, 6, 5, 1}, + {"HO", -8, 17, 4, "HO1M04", 3, 6, 4, 1, 2, 1, 7, 26, 6, 6, 5, 1}, + {"HO", -8, 18, 4, "HO1M04", 3, 2, 4, 2, 2, 2, 7, 26, 6, 6, 5, 1}, + {"HO", -8, 19, 4, "HO1M04", 1, 11, 4, 0, 2, 0, 7, 26, 6, 5, 5, 1}, + {"HO", -8, 20, 4, "HO1M04", 1, 6, 4, 1, 2, 1, 7, 26, 6, 5, 5, 1}, + {"HO", -8, 21, 4, "HO1M04", 1, 2, 4, 2, 2, 2, 7, 26, 6, 5, 5, 1}, + {"HO", -8, 22, 4, "HO1M06", 2, 2, 4, 2, 2, 2, 7, 27, 2, 6, 14, 1}, + {"HO", -8, 23, 4, "HO1M06", 2, 6, 4, 1, 2, 1, 7, 27, 2, 6, 14, 1}, + {"HO", -8, 24, 4, "HO1M06", 2, 11, 4, 0, 2, 0, 7, 27, 2, 6, 14, 1}, + {"HO", -8, 25, 4, "HO1M06", 4, 2, 4, 2, 2, 2, 7, 27, 2, 5, 14, 1}, + {"HO", -8, 26, 4, "HO1M06", 4, 6, 4, 1, 2, 1, 7, 27, 2, 5, 14, 1}, + {"HO", -8, 27, 4, "HO1M06", 4, 11, 4, 0, 2, 0, 7, 27, 2, 5, 14, 1}, + {"HO", -8, 28, 4, "HO1M06", 3, 11, 4, 0, 2, 0, 7, 27, 10, 6, 18, 1}, + {"HO", -8, 29, 4, "HO1M06", 3, 6, 4, 1, 2, 1, 7, 27, 10, 6, 18, 1}, + {"HO", -8, 30, 4, "HO1M06", 3, 2, 4, 2, 2, 2, 7, 27, 10, 6, 18, 1}, + {"HO", -8, 31, 4, "HO1M06", 1, 11, 4, 0, 2, 0, 7, 27, 10, 5, 18, 1}, + {"HO", -8, 32, 4, "HO1M06", 1, 6, 4, 1, 2, 1, 7, 27, 10, 5, 18, 1}, + {"HO", -8, 33, 4, "HO1M06", 1, 2, 4, 2, 2, 2, 7, 27, 10, 5, 18, 1}, + {"HO", -8, 34, 4, "HO1M08", 2, 2, 4, 2, 2, 2, 6, 28, 6, 6, 5, 1}, + {"HO", -8, 35, 4, "HO1M08", 2, 6, 4, 1, 2, 1, 6, 28, 6, 6, 5, 1}, + {"HO", -8, 36, 4, "HO1M08", 2, 11, 4, 0, 2, 0, 6, 28, 6, 6, 5, 1}, + {"HO", -8, 37, 4, "HO1M08", 4, 2, 4, 2, 2, 2, 6, 28, 6, 5, 5, 1}, + {"HO", -8, 38, 4, "HO1M08", 4, 6, 4, 1, 2, 1, 6, 28, 6, 5, 5, 1}, + {"HO", -8, 39, 4, "HO1M08", 4, 11, 4, 0, 2, 0, 6, 28, 6, 5, 5, 1}, + {"HO", -8, 40, 4, "HO1M08", 3, 11, 4, 0, 2, 0, 6, 29, 2, 6, 14, 1}, + {"HO", -8, 41, 4, "HO1M08", 3, 6, 4, 1, 2, 1, 6, 29, 2, 6, 14, 1}, + {"HO", -8, 42, 4, "HO1M08", 3, 2, 4, 2, 2, 2, 6, 29, 2, 6, 14, 1}, + {"HO", -8, 43, 4, "HO1M08", 1, 11, 4, 0, 2, 0, 6, 29, 2, 5, 14, 1}, + {"HO", -8, 44, 4, "HO1M08", 1, 6, 4, 1, 2, 1, 6, 29, 2, 5, 14, 1}, + {"HO", -8, 45, 4, "HO1M08", 1, 2, 4, 2, 2, 2, 6, 29, 2, 5, 14, 1}, + {"HO", -8, 46, 4, "HO1M10", 2, 2, 4, 2, 2, 2, 6, 29, 10, 6, 18, 1}, + {"HO", -8, 47, 4, "HO1M10", 2, 6, 4, 1, 2, 1, 6, 29, 10, 6, 18, 1}, + {"HO", -8, 48, 4, "HO1M10", 2, 11, 4, 0, 2, 0, 6, 29, 10, 6, 18, 1}, + {"HO", -8, 49, 4, "HO1M10", 4, 2, 4, 2, 2, 2, 6, 29, 10, 5, 18, 1}, + {"HO", -8, 50, 4, "HO1M10", 4, 6, 4, 1, 2, 1, 6, 29, 10, 5, 18, 1}, + {"HO", -8, 51, 4, "HO1M10", 4, 11, 4, 0, 2, 0, 6, 29, 10, 5, 18, 1}, + {"HO", -8, 52, 4, "HO1M10", 3, 11, 4, 0, 2, 0, 13, 30, 6, 6, 5, 1}, + {"HO", -8, 53, 4, "HO1M10", 3, 6, 4, 1, 2, 1, 13, 30, 6, 6, 5, 1}, + {"HO", -8, 54, 4, "HO1M10", 3, 2, 4, 2, 2, 2, 13, 30, 6, 6, 5, 1}, + {"HO", -8, 55, 4, "HO1M10", 1, 11, 4, 0, 2, 0, 13, 30, 6, 5, 5, 1}, + {"HO", -8, 56, 4, "HO1M10", 1, 6, 4, 1, 2, 1, 13, 30, 6, 5, 5, 1}, + {"HO", -8, 57, 4, "HO1M10", 1, 2, 4, 2, 2, 2, 13, 30, 6, 5, 5, 1}, + {"HO", -8, 58, 4, "HO1M12", 2, 2, 4, 2, 2, 2, 13, 31, 2, 6, 14, 1}, + {"HO", -8, 59, 4, "HO1M12", 2, 6, 4, 1, 2, 1, 13, 31, 2, 6, 14, 1}, + {"HO", -8, 60, 4, "HO1M12", 2, 11, 4, 0, 2, 0, 13, 31, 2, 6, 14, 1}, + {"HO", -8, 61, 4, "HO1M12", 4, 2, 4, 2, 2, 2, 13, 31, 2, 5, 14, 1}, + {"HO", -8, 62, 4, "HO1M12", 4, 6, 4, 1, 2, 1, 13, 31, 2, 5, 14, 1}, + {"HO", -8, 63, 4, "HO1M12", 4, 11, 4, 0, 2, 0, 13, 31, 2, 5, 14, 1}, + {"HO", -8, 64, 4, "HO1M12", 3, 11, 4, 0, 2, 0, 13, 31, 10, 6, 18, 1}, + {"HO", -8, 65, 4, "HO1M12", 3, 6, 4, 1, 2, 1, 13, 31, 10, 6, 18, 1}, + {"HO", -8, 66, 4, "HO1M12", 3, 2, 4, 2, 2, 2, 13, 31, 10, 6, 18, 1}, + {"HO", -8, 67, 4, "HO1M12", 1, 11, 4, 0, 2, 0, 13, 31, 10, 5, 18, 1}, + {"HO", -8, 68, 4, "HO1M12", 1, 6, 4, 1, 2, 1, 13, 31, 10, 5, 18, 1}, + {"HO", -8, 69, 4, "HO1M12", 1, 2, 4, 2, 2, 2, 13, 31, 10, 5, 18, 1}, + {"HO", -8, 70, 4, "HO1M02", 2, 2, 4, 2, 2, 2, 3, 24, 6, 6, 5, 1}, + {"HO", -8, 71, 4, "HO1M02", 2, 6, 4, 1, 2, 1, 3, 24, 6, 6, 5, 1}, + {"HO", -7, 0, 4, "HO1M02", 2, 5, 5, 2, 2, 3, 3, 24, 6, 4, 5, 1}, + {"HO", -7, 1, 4, "HO1M02", 4, 13, 5, 1, 2, 5, 3, 24, 6, 3, 5, 1}, + {"HO", -7, 2, 4, "HO1M02", 4, 9, 5, 0, 2, 4, 3, 24, 6, 3, 5, 1}, + {"HO", -7, 3, 4, "HO1M02", 4, 5, 5, 2, 2, 3, 3, 24, 6, 3, 5, 1}, + {"HO", -7, 4, 4, "HO1M02", 3, 5, 5, 2, 2, 3, 3, 25, 2, 4, 14, 1}, + {"HO", -7, 5, 4, "HO1M02", 3, 9, 5, 0, 2, 4, 3, 25, 2, 4, 14, 1}, + {"HO", -7, 6, 4, "HO1M02", 3, 13, 5, 1, 2, 5, 3, 25, 2, 4, 14, 1}, + {"HO", -7, 7, 4, "HO1M02", 1, 5, 5, 2, 2, 3, 3, 25, 2, 3, 14, 1}, + {"HO", -7, 8, 4, "HO1M02", 1, 9, 5, 0, 2, 4, 3, 25, 2, 3, 14, 1}, + {"HO", -7, 9, 4, "HO1M02", 1, 13, 5, 1, 2, 5, 3, 25, 2, 3, 14, 1}, + {"HO", -7, 10, 4, "HO1M04", 2, 13, 5, 1, 2, 5, 3, 25, 10, 4, 18, 1}, + {"HO", -7, 11, 4, "HO1M04", 2, 9, 5, 0, 2, 4, 3, 25, 10, 4, 18, 1}, + {"HO", -7, 12, 4, "HO1M04", 2, 5, 5, 2, 2, 3, 3, 25, 10, 4, 18, 1}, + {"HO", -7, 13, 4, "HO1M04", 4, 13, 5, 1, 2, 5, 3, 25, 10, 3, 18, 1}, + {"HO", -7, 14, 4, "HO1M04", 4, 9, 5, 0, 2, 4, 3, 25, 10, 3, 18, 1}, + {"HO", -7, 15, 4, "HO1M04", 4, 5, 5, 2, 2, 3, 3, 25, 10, 3, 18, 1}, + {"HO", -7, 16, 4, "HO1M04", 3, 5, 5, 2, 2, 3, 7, 26, 6, 4, 5, 1}, + {"HO", -7, 17, 4, "HO1M04", 3, 9, 5, 0, 2, 4, 7, 26, 6, 4, 5, 1}, + {"HO", -7, 18, 4, "HO1M04", 3, 13, 5, 1, 2, 5, 7, 26, 6, 4, 5, 1}, + {"HO", -7, 19, 4, "HO1M04", 1, 5, 5, 2, 2, 3, 7, 26, 6, 3, 5, 1}, + {"HO", -7, 20, 4, "HO1M04", 1, 9, 5, 0, 2, 4, 7, 26, 6, 3, 5, 1}, + {"HO", -7, 21, 4, "HO1M04", 1, 13, 5, 1, 2, 5, 7, 26, 6, 3, 5, 1}, + {"HO", -7, 22, 4, "HO1M06", 2, 13, 5, 1, 2, 5, 7, 27, 2, 4, 14, 1}, + {"HO", -7, 23, 4, "HO1M06", 2, 9, 5, 0, 2, 4, 7, 27, 2, 4, 14, 1}, + {"HO", -7, 24, 4, "HO1M06", 2, 5, 5, 2, 2, 3, 7, 27, 2, 4, 14, 1}, + {"HO", -7, 25, 4, "HO1M06", 4, 13, 5, 1, 2, 5, 7, 27, 2, 3, 14, 1}, + {"HO", -7, 26, 4, "HO1M06", 4, 9, 5, 0, 2, 4, 7, 27, 2, 3, 14, 1}, + {"HO", -7, 27, 4, "HO1M06", 4, 5, 5, 2, 2, 3, 7, 27, 2, 3, 14, 1}, + {"HO", -7, 28, 4, "HO1M06", 3, 5, 5, 2, 2, 3, 7, 27, 10, 4, 18, 1}, + {"HO", -7, 29, 4, "HO1M06", 3, 9, 5, 0, 2, 4, 7, 27, 10, 4, 18, 1}, + {"HO", -7, 30, 4, "HO1M06", 3, 13, 5, 1, 2, 5, 7, 27, 10, 4, 18, 1}, + {"HO", -7, 31, 4, "HO1M06", 1, 5, 5, 2, 2, 3, 7, 27, 10, 3, 18, 1}, + {"HO", -7, 32, 4, "HO1M06", 1, 9, 5, 0, 2, 4, 7, 27, 10, 3, 18, 1}, + {"HO", -7, 33, 4, "HO1M06", 1, 13, 5, 1, 2, 5, 7, 27, 10, 3, 18, 1}, + {"HO", -7, 34, 4, "HO1M08", 2, 13, 5, 1, 2, 5, 6, 28, 6, 4, 5, 1}, + {"HO", -7, 35, 4, "HO1M08", 2, 9, 5, 0, 2, 4, 6, 28, 6, 4, 5, 1}, + {"HO", -7, 36, 4, "HO1M08", 2, 5, 5, 2, 2, 3, 6, 28, 6, 4, 5, 1}, + {"HO", -7, 37, 4, "HO1M08", 4, 13, 5, 1, 2, 5, 6, 28, 6, 3, 5, 1}, + {"HO", -7, 38, 4, "HO1M08", 4, 9, 5, 0, 2, 4, 6, 28, 6, 3, 5, 1}, + {"HO", -7, 39, 4, "HO1M08", 4, 5, 5, 2, 2, 3, 6, 28, 6, 3, 5, 1}, + {"HO", -7, 40, 4, "HO1M08", 3, 5, 5, 2, 2, 3, 6, 29, 2, 4, 14, 1}, + {"HO", -7, 41, 4, "HO1M08", 3, 9, 5, 0, 2, 4, 6, 29, 2, 4, 14, 1}, + {"HO", -7, 42, 4, "HO1M08", 3, 13, 5, 1, 2, 5, 6, 29, 2, 4, 14, 1}, + {"HO", -7, 43, 4, "HO1M08", 1, 5, 5, 2, 2, 3, 6, 29, 2, 3, 14, 1}, + {"HO", -7, 44, 4, "HO1M08", 1, 9, 5, 0, 2, 4, 6, 29, 2, 3, 14, 1}, + {"HO", -7, 45, 4, "HO1M08", 1, 13, 5, 1, 2, 5, 6, 29, 2, 3, 14, 1}, + {"HO", -7, 46, 4, "HO1M10", 2, 13, 5, 1, 2, 5, 6, 29, 10, 4, 18, 1}, + {"HO", -7, 47, 4, "HO1M10", 2, 9, 5, 0, 2, 4, 6, 29, 10, 4, 18, 1}, + {"HO", -7, 48, 4, "HO1M10", 2, 5, 5, 2, 2, 3, 6, 29, 10, 4, 18, 1}, + {"HO", -7, 49, 4, "HO1M10", 4, 13, 5, 1, 2, 5, 6, 29, 10, 3, 18, 1}, + {"HO", -7, 50, 4, "HO1M10", 4, 9, 5, 0, 2, 4, 6, 29, 10, 3, 18, 1}, + {"HO", -7, 51, 4, "HO1M10", 4, 5, 5, 2, 2, 3, 6, 29, 10, 3, 18, 1}, + {"HO", -7, 52, 4, "HO1M10", 3, 5, 5, 2, 2, 3, 13, 30, 6, 4, 5, 1}, + {"HO", -7, 53, 4, "HO1M10", 3, 9, 5, 0, 2, 4, 13, 30, 6, 4, 5, 1}, + {"HO", -7, 54, 4, "HO1M10", 3, 13, 5, 1, 2, 5, 13, 30, 6, 4, 5, 1}, + {"HO", -7, 55, 4, "HO1M10", 1, 5, 5, 2, 2, 3, 13, 30, 6, 3, 5, 1}, + {"HO", -7, 56, 4, "HO1M10", 1, 9, 5, 0, 2, 4, 13, 30, 6, 3, 5, 1}, + {"HO", -7, 57, 4, "HO1M10", 1, 13, 5, 1, 2, 5, 13, 30, 6, 3, 5, 1}, + {"HO", -7, 58, 4, "HO1M12", 2, 13, 5, 1, 2, 5, 13, 31, 2, 4, 14, 1}, + {"HO", -7, 59, 4, "HO1M12", 2, 9, 5, 0, 2, 4, 13, 31, 2, 4, 14, 1}, + {"HO", -7, 60, 4, "HO1M12", 2, 5, 5, 2, 2, 3, 13, 31, 2, 4, 14, 1}, + {"HO", -7, 61, 4, "HO1M12", 4, 13, 5, 1, 2, 5, 13, 31, 2, 3, 14, 1}, + {"HO", -7, 62, 4, "HO1M12", 4, 9, 5, 0, 2, 4, 13, 31, 2, 3, 14, 1}, + {"HO", -7, 63, 4, "HO1M12", 4, 5, 5, 2, 2, 3, 13, 31, 2, 3, 14, 1}, + {"HO", -7, 64, 4, "HO1M12", 3, 5, 5, 2, 2, 3, 13, 31, 10, 4, 18, 1}, + {"HO", -7, 65, 4, "HO1M12", 3, 9, 5, 0, 2, 4, 13, 31, 10, 4, 18, 1}, + {"HO", -7, 66, 4, "HO1M12", 3, 13, 5, 1, 2, 5, 13, 31, 10, 4, 18, 1}, + {"HO", -7, 67, 4, "HO1M12", 1, 5, 5, 2, 2, 3, 13, 31, 10, 3, 18, 1}, + {"HO", -7, 68, 4, "HO1M12", 1, 9, 5, 0, 2, 4, 13, 31, 10, 3, 18, 1}, + {"HO", -7, 69, 4, "HO1M12", 1, 13, 5, 1, 2, 5, 13, 31, 10, 3, 18, 1}, + {"HO", -7, 70, 4, "HO1M02", 2, 13, 5, 1, 2, 5, 3, 24, 6, 4, 5, 1}, + {"HO", -7, 71, 4, "HO1M02", 2, 9, 5, 0, 2, 4, 3, 24, 6, 4, 5, 1}, + {"HO", -6, 0, 4, "HO1M02", 2, 12, 2, 0, 1, 0, 3, 24, 6, 2, 5, 1}, + {"HO", -6, 1, 4, "HO1M02", 4, 3, 2, 2, 1, 2, 3, 24, 6, 1, 5, 1}, + {"HO", -6, 2, 4, "HO1M02", 4, 7, 2, 1, 1, 1, 3, 24, 6, 1, 5, 1}, + {"HO", -6, 3, 4, "HO1M02", 4, 12, 2, 0, 1, 0, 3, 24, 6, 1, 5, 1}, + {"HO", -6, 4, 4, "HO1M02", 3, 12, 2, 0, 1, 0, 3, 25, 2, 2, 14, 1}, + {"HO", -6, 5, 4, "HO1M02", 3, 7, 2, 1, 1, 1, 3, 25, 2, 2, 14, 1}, + {"HO", -6, 6, 4, "HO1M02", 3, 3, 2, 2, 1, 2, 3, 25, 2, 2, 14, 1}, + {"HO", -6, 7, 4, "HO1M02", 1, 12, 2, 0, 1, 0, 3, 25, 2, 1, 14, 1}, + {"HO", -6, 8, 4, "HO1M02", 1, 7, 2, 1, 1, 1, 3, 25, 2, 1, 14, 1}, + {"HO", -6, 9, 4, "HO1M02", 1, 3, 2, 2, 1, 2, 3, 25, 2, 1, 14, 1}, + {"HO", -6, 10, 4, "HO1M04", 2, 3, 2, 2, 1, 2, 3, 25, 10, 2, 18, 1}, + {"HO", -6, 11, 4, "HO1M04", 2, 7, 2, 1, 1, 1, 3, 25, 10, 2, 18, 1}, + {"HO", -6, 12, 4, "HO1M04", 2, 12, 2, 0, 1, 0, 3, 25, 10, 2, 18, 1}, + {"HO", -6, 13, 4, "HO1M04", 4, 3, 2, 2, 1, 2, 3, 25, 10, 1, 18, 1}, + {"HO", -6, 14, 4, "HO1M04", 4, 7, 2, 1, 1, 1, 3, 25, 10, 1, 18, 1}, + {"HO", -6, 15, 4, "HO1M04", 4, 12, 2, 0, 1, 0, 3, 25, 10, 1, 18, 1}, + {"HO", -6, 16, 4, "HO1M04", 3, 12, 2, 0, 1, 0, 7, 26, 6, 2, 5, 1}, + {"HO", -6, 17, 4, "HO1M04", 3, 7, 2, 1, 1, 1, 7, 26, 6, 2, 5, 1}, + {"HO", -6, 18, 4, "HO1M04", 3, 3, 2, 2, 1, 2, 7, 26, 6, 2, 5, 1}, + {"HO", -6, 19, 4, "HO1M04", 1, 12, 2, 0, 1, 0, 7, 26, 6, 1, 5, 1}, + {"HO", -6, 20, 4, "HO1M04", 1, 7, 2, 1, 1, 1, 7, 26, 6, 1, 5, 1}, + {"HO", -6, 21, 4, "HO1M04", 1, 3, 2, 2, 1, 2, 7, 26, 6, 1, 5, 1}, + {"HO", -6, 22, 4, "HO1M06", 2, 3, 2, 2, 1, 2, 7, 27, 2, 2, 14, 1}, + {"HO", -6, 23, 4, "HO1M06", 2, 7, 2, 1, 1, 1, 7, 27, 2, 2, 14, 1}, + {"HO", -6, 24, 4, "HO1M06", 2, 12, 2, 0, 1, 0, 7, 27, 2, 2, 14, 1}, + {"HO", -6, 25, 4, "HO1M06", 4, 3, 2, 2, 1, 2, 7, 27, 2, 1, 14, 1}, + {"HO", -6, 26, 4, "HO1M06", 4, 7, 2, 1, 1, 1, 7, 27, 2, 1, 14, 1}, + {"HO", -6, 27, 4, "HO1M06", 4, 12, 2, 0, 1, 0, 7, 27, 2, 1, 14, 1}, + {"HO", -6, 28, 4, "HO1M06", 3, 12, 2, 0, 1, 0, 7, 27, 10, 2, 18, 1}, + {"HO", -6, 29, 4, "HO1M06", 3, 7, 2, 1, 1, 1, 7, 27, 10, 2, 18, 1}, + {"HO", -6, 30, 4, "HO1M06", 3, 3, 2, 2, 1, 2, 7, 27, 10, 2, 18, 1}, + {"HO", -6, 31, 4, "HO1M06", 1, 12, 2, 0, 1, 0, 7, 27, 10, 1, 18, 1}, + {"HO", -6, 32, 4, "HO1M06", 1, 7, 2, 1, 1, 1, 7, 27, 10, 1, 18, 1}, + {"HO", -6, 33, 4, "HO1M06", 1, 3, 2, 2, 1, 2, 7, 27, 10, 1, 18, 1}, + {"HO", -6, 34, 4, "HO1M08", 2, 3, 2, 2, 1, 2, 6, 28, 6, 2, 5, 1}, + {"HO", -6, 35, 4, "HO1M08", 2, 7, 2, 1, 1, 1, 6, 28, 6, 2, 5, 1}, + {"HO", -6, 36, 4, "HO1M08", 2, 12, 2, 0, 1, 0, 6, 28, 6, 2, 5, 1}, + {"HO", -6, 37, 4, "HO1M08", 4, 3, 2, 2, 1, 2, 6, 28, 6, 1, 5, 1}, + {"HO", -6, 38, 4, "HO1M08", 4, 7, 2, 1, 1, 1, 6, 28, 6, 1, 5, 1}, + {"HO", -6, 39, 4, "HO1M08", 4, 12, 2, 0, 1, 0, 6, 28, 6, 1, 5, 1}, + {"HO", -6, 40, 4, "HO1M08", 3, 12, 2, 0, 1, 0, 6, 29, 2, 2, 14, 1}, + {"HO", -6, 41, 4, "HO1M08", 3, 7, 2, 1, 1, 1, 6, 29, 2, 2, 14, 1}, + {"HO", -6, 42, 4, "HO1M08", 3, 3, 2, 2, 1, 2, 6, 29, 2, 2, 14, 1}, + {"HO", -6, 43, 4, "HO1M08", 1, 12, 2, 0, 1, 0, 6, 29, 2, 1, 14, 1}, + {"HO", -6, 44, 4, "HO1M08", 1, 7, 2, 1, 1, 1, 6, 29, 2, 1, 14, 1}, + {"HO", -6, 45, 4, "HO1M08", 1, 3, 2, 2, 1, 2, 6, 29, 2, 1, 14, 1}, + {"HO", -6, 46, 4, "HO1M10", 2, 3, 2, 2, 1, 2, 6, 29, 10, 2, 18, 1}, + {"HO", -6, 47, 4, "HO1M10", 2, 7, 2, 1, 1, 1, 6, 29, 10, 2, 18, 1}, + {"HO", -6, 48, 4, "HO1M10", 2, 12, 2, 0, 1, 0, 6, 29, 10, 2, 18, 1}, + {"HO", -6, 49, 4, "HO1M10", 4, 3, 2, 2, 1, 2, 6, 29, 10, 1, 18, 1}, + {"HO", -6, 50, 4, "HO1M10", 4, 7, 2, 1, 1, 1, 6, 29, 10, 1, 18, 1}, + {"HO", -6, 51, 4, "HO1M10", 4, 12, 2, 0, 1, 0, 6, 29, 10, 1, 18, 1}, + {"HO", -6, 52, 4, "HO1M10", 3, 12, 2, 0, 1, 0, 13, 30, 6, 2, 5, 1}, + {"HO", -6, 53, 4, "HO1M10", 3, 7, 2, 1, 1, 1, 13, 30, 6, 2, 5, 1}, + {"HO", -6, 54, 4, "HO1M10", 3, 3, 2, 2, 1, 2, 13, 30, 6, 2, 5, 1}, + {"HO", -6, 55, 4, "HO1M10", 1, 12, 2, 0, 1, 0, 13, 30, 6, 1, 5, 1}, + {"HO", -6, 56, 4, "HO1M10", 1, 7, 2, 1, 1, 1, 13, 30, 6, 1, 5, 1}, + {"HO", -6, 57, 4, "HO1M10", 1, 3, 2, 2, 1, 2, 13, 30, 6, 1, 5, 1}, + {"HO", -6, 58, 4, "HO1M12", 2, 3, 2, 2, 1, 2, 13, 31, 2, 2, 14, 1}, + {"HO", -6, 59, 4, "HO1M12", 2, 7, 2, 1, 1, 1, 13, 31, 2, 2, 14, 1}, + {"HO", -6, 60, 4, "HO1M12", 2, 12, 2, 0, 1, 0, 13, 31, 2, 2, 14, 1}, + {"HO", -6, 61, 4, "HO1M12", 4, 3, 2, 2, 1, 2, 13, 31, 2, 1, 14, 1}, + {"HO", -6, 62, 4, "HO1M12", 4, 7, 2, 1, 1, 1, 13, 31, 2, 1, 14, 1}, + {"HO", -6, 63, 4, "HO1M12", 4, 12, 2, 0, 1, 0, 13, 31, 2, 1, 14, 1}, + {"HO", -6, 64, 4, "HO1M12", 3, 12, 2, 0, 1, 0, 13, 31, 10, 2, 18, 1}, + {"HO", -6, 65, 4, "HO1M12", 3, 7, 2, 1, 1, 1, 13, 31, 10, 2, 18, 1}, + {"HO", -6, 66, 4, "HO1M12", 3, 3, 2, 2, 1, 2, 13, 31, 10, 2, 18, 1}, + {"HO", -6, 67, 4, "HO1M12", 1, 12, 2, 0, 1, 0, 13, 31, 10, 1, 18, 1}, + {"HO", -6, 68, 4, "HO1M12", 1, 7, 2, 1, 1, 1, 13, 31, 10, 1, 18, 1}, + {"HO", -6, 69, 4, "HO1M12", 1, 3, 2, 2, 1, 2, 13, 31, 10, 1, 18, 1}, + {"HO", -6, 70, 4, "HO1M02", 2, 3, 2, 2, 1, 2, 3, 24, 6, 2, 5, 1}, + {"HO", -6, 71, 4, "HO1M02", 2, 7, 2, 1, 1, 1, 3, 24, 6, 2, 5, 1}, + {"HO", -5, 0, 4, "HO1M02", 2, 1, 3, 2, 1, 3, 3, 24, 5, 2, 4, 0}, + {"HO", -5, 1, 4, "HO1M02", 4, 8, 3, 1, 1, 5, 3, 24, 5, 1, 4, 0}, + {"HO", -5, 2, 4, "HO1M02", 4, 4, 3, 0, 1, 4, 3, 24, 5, 1, 4, 0}, + {"HO", -5, 3, 4, "HO1M02", 4, 1, 3, 2, 1, 3, 3, 24, 5, 1, 4, 0}, + {"HO", -5, 4, 4, "HO1M02", 3, 1, 3, 2, 1, 3, 3, 25, 1, 2, 13, 0}, + {"HO", -5, 5, 4, "HO1M02", 3, 4, 3, 0, 1, 4, 3, 25, 1, 2, 13, 0}, + {"HO", -5, 6, 4, "HO1M02", 3, 8, 3, 1, 1, 5, 3, 25, 1, 2, 13, 0}, + {"HO", -5, 7, 4, "HO1M02", 1, 1, 3, 2, 1, 3, 3, 25, 1, 1, 13, 0}, + {"HO", -5, 8, 4, "HO1M02", 1, 4, 3, 0, 1, 4, 3, 25, 1, 1, 13, 0}, + {"HO", -5, 9, 4, "HO1M02", 1, 8, 3, 1, 1, 5, 3, 25, 1, 1, 13, 0}, + {"HO", -5, 10, 4, "HO1M04", 2, 8, 3, 1, 1, 5, 3, 25, 9, 2, 17, 0}, + {"HO", -5, 11, 4, "HO1M04", 2, 4, 3, 0, 1, 4, 3, 25, 9, 2, 17, 0}, + {"HO", -5, 12, 4, "HO1M04", 2, 1, 3, 2, 1, 3, 3, 25, 9, 2, 17, 0}, + {"HO", -5, 13, 4, "HO1M04", 4, 8, 3, 1, 1, 5, 3, 25, 9, 1, 17, 0}, + {"HO", -5, 14, 4, "HO1M04", 4, 4, 3, 0, 1, 4, 3, 25, 9, 1, 17, 0}, + {"HO", -5, 15, 4, "HO1M04", 4, 1, 3, 2, 1, 3, 3, 25, 9, 1, 17, 0}, + {"HO", -5, 16, 4, "HO1M04", 3, 1, 3, 2, 1, 3, 7, 26, 5, 2, 4, 0}, + {"HO", -5, 17, 4, "HO1M04", 3, 4, 3, 0, 1, 4, 7, 26, 5, 2, 4, 0}, + {"HO", -5, 18, 4, "HO1M04", 3, 8, 3, 1, 1, 5, 7, 26, 5, 2, 4, 0}, + {"HO", -5, 19, 4, "HO1M04", 1, 1, 3, 2, 1, 3, 7, 26, 5, 1, 4, 0}, + {"HO", -5, 20, 4, "HO1M04", 1, 4, 3, 0, 1, 4, 7, 26, 5, 1, 4, 0}, + {"HO", -5, 21, 4, "HO1M04", 1, 8, 3, 1, 1, 5, 7, 26, 5, 1, 4, 0}, + {"HO", -5, 22, 4, "HO1M06", 2, 8, 3, 1, 1, 5, 7, 27, 1, 2, 13, 0}, + {"HO", -5, 23, 4, "HO1M06", 2, 4, 3, 0, 1, 4, 7, 27, 1, 2, 13, 0}, + {"HO", -5, 24, 4, "HO1M06", 2, 1, 3, 2, 1, 3, 7, 27, 1, 2, 13, 0}, + {"HO", -5, 25, 4, "HO1M06", 4, 8, 3, 1, 1, 5, 7, 27, 1, 1, 13, 0}, + {"HO", -5, 26, 4, "HO1M06", 4, 4, 3, 0, 1, 4, 7, 27, 1, 1, 13, 0}, + {"HO", -5, 27, 4, "HO1M06", 4, 1, 3, 2, 1, 3, 7, 27, 1, 1, 13, 0}, + {"HO", -5, 28, 4, "HO1M06", 3, 1, 3, 2, 1, 3, 7, 27, 9, 2, 17, 0}, + {"HO", -5, 29, 4, "HO1M06", 3, 4, 3, 0, 1, 4, 7, 27, 9, 2, 17, 0}, + {"HO", -5, 30, 4, "HO1M06", 3, 8, 3, 1, 1, 5, 7, 27, 9, 2, 17, 0}, + {"HO", -5, 31, 4, "HO1M06", 1, 1, 3, 2, 1, 3, 7, 27, 9, 1, 17, 0}, + {"HO", -5, 32, 4, "HO1M06", 1, 4, 3, 0, 1, 4, 7, 27, 9, 1, 17, 0}, + {"HO", -5, 33, 4, "HO1M06", 1, 8, 3, 1, 1, 5, 7, 27, 9, 1, 17, 0}, + {"HO", -5, 34, 4, "HO1M08", 2, 8, 3, 1, 1, 5, 6, 28, 5, 2, 4, 0}, + {"HO", -5, 35, 4, "HO1M08", 2, 4, 3, 0, 1, 4, 6, 28, 5, 2, 4, 0}, + {"HO", -5, 36, 4, "HO1M08", 2, 1, 3, 2, 1, 3, 6, 28, 5, 2, 4, 0}, + {"HO", -5, 37, 4, "HO1M08", 4, 8, 3, 1, 1, 5, 6, 28, 5, 1, 4, 0}, + {"HO", -5, 38, 4, "HO1M08", 4, 4, 3, 0, 1, 4, 6, 28, 5, 1, 4, 0}, + {"HO", -5, 39, 4, "HO1M08", 4, 1, 3, 2, 1, 3, 6, 28, 5, 1, 4, 0}, + {"HO", -5, 40, 4, "HO1M08", 3, 1, 3, 2, 1, 3, 6, 29, 1, 2, 13, 0}, + {"HO", -5, 41, 4, "HO1M08", 3, 4, 3, 0, 1, 4, 6, 29, 1, 2, 13, 0}, + {"HO", -5, 42, 4, "HO1M08", 3, 8, 3, 1, 1, 5, 6, 29, 1, 2, 13, 0}, + {"HO", -5, 43, 4, "HO1M08", 1, 1, 3, 2, 1, 3, 6, 29, 1, 1, 13, 0}, + {"HO", -5, 44, 4, "HO1M08", 1, 4, 3, 0, 1, 4, 6, 29, 1, 1, 13, 0}, + {"HO", -5, 45, 4, "HO1M08", 1, 8, 3, 1, 1, 5, 6, 29, 1, 1, 13, 0}, + {"HO", -5, 46, 4, "HO1M10", 2, 8, 3, 1, 1, 5, 6, 29, 9, 2, 17, 0}, + {"HO", -5, 47, 4, "HO1M10", 2, 4, 3, 0, 1, 4, 6, 29, 9, 2, 17, 0}, + {"HO", -5, 48, 4, "HO1M10", 2, 1, 3, 2, 1, 3, 6, 29, 9, 2, 17, 0}, + {"HO", -5, 49, 4, "HO1M10", 4, 8, 3, 1, 1, 5, 6, 29, 9, 1, 17, 0}, + {"HO", -5, 50, 4, "HO1M10", 4, 4, 3, 0, 1, 4, 6, 29, 9, 1, 17, 0}, + {"HO", -5, 51, 4, "HO1M10", 4, 1, 3, 2, 1, 3, 6, 29, 9, 1, 17, 0}, + {"HO", -5, 52, 4, "HO1M10", 3, 1, 3, 2, 1, 3, 13, 30, 5, 2, 4, 0}, + {"HO", -5, 53, 4, "HO1M10", 3, 4, 3, 0, 1, 4, 13, 30, 5, 2, 4, 0}, + {"HO", -5, 54, 4, "HO1M10", 3, 8, 3, 1, 1, 5, 13, 30, 5, 2, 4, 0}, + {"HO", -5, 55, 4, "HO1M10", 1, 1, 3, 2, 1, 3, 13, 30, 5, 1, 4, 0}, + {"HO", -5, 56, 4, "HO1M10", 1, 4, 3, 0, 1, 4, 13, 30, 5, 1, 4, 0}, + {"HO", -5, 57, 4, "HO1M10", 1, 8, 3, 1, 1, 5, 13, 30, 5, 1, 4, 0}, + {"HO", -5, 58, 4, "HO1M12", 2, 8, 3, 1, 1, 5, 13, 31, 1, 2, 13, 0}, + {"HO", -5, 59, 4, "HO1M12", 2, 4, 3, 0, 1, 4, 13, 31, 1, 2, 13, 0}, + {"HO", -5, 60, 4, "HO1M12", 2, 1, 3, 2, 1, 3, 13, 31, 1, 2, 13, 0}, + {"HO", -5, 61, 4, "HO1M12", 4, 8, 3, 1, 1, 5, 13, 31, 1, 1, 13, 0}, + {"HO", -5, 62, 4, "HO1M12", 4, 4, 3, 0, 1, 4, 13, 31, 1, 1, 13, 0}, + {"HO", -5, 63, 4, "HO1M12", 4, 1, 3, 2, 1, 3, 13, 31, 1, 1, 13, 0}, + {"HO", -5, 64, 4, "HO1M12", 3, 1, 3, 2, 1, 3, 13, 31, 9, 2, 17, 0}, + {"HO", -5, 65, 4, "HO1M12", 3, 4, 3, 0, 1, 4, 13, 31, 9, 2, 17, 0}, + {"HO", -5, 66, 4, "HO1M12", 3, 8, 3, 1, 1, 5, 13, 31, 9, 2, 17, 0}, + {"HO", -5, 67, 4, "HO1M12", 1, 1, 3, 2, 1, 3, 13, 31, 9, 1, 17, 0}, + {"HO", -5, 68, 4, "HO1M12", 1, 4, 3, 0, 1, 4, 13, 31, 9, 1, 17, 0}, + {"HO", -5, 69, 4, "HO1M12", 1, 8, 3, 1, 1, 5, 13, 31, 9, 1, 17, 0}, + {"HO", -5, 70, 4, "HO1M02", 2, 8, 3, 1, 1, 5, 3, 24, 5, 2, 4, 0}, + {"HO", -5, 71, 4, "HO1M02", 2, 4, 3, 0, 1, 4, 3, 24, 5, 2, 4, 0}, + {"HO", -4, 0, 4, "HO001", 2, 17, 4, 2, 2, 2, 3, 24, 4, 6, 4, 1}, + {"HO", -4, 1, 4, "HO001", 2, 19, 4, 0, 2, 0, 3, 24, 4, 6, 4, 1}, + {"HO", -4, 2, 4, "HO001", 3, 17, 4, 2, 2, 2, 3, 24, 4, 8, 4, 1}, + {"HO", -4, 3, 4, "HO001", 3, 19, 4, 0, 2, 0, 3, 24, 4, 8, 4, 1}, + {"HO", -4, 4, 4, "HO002", 4, 3, 5, 2, 2, 3, 3, 25, 0, 7, 13, 1}, + {"HO", -4, 5, 4, "HO002", 4, 1, 5, 1, 2, 5, 3, 25, 0, 7, 13, 1}, + {"HO", -4, 6, 4, "HO002", 3, 3, 5, 2, 2, 3, 3, 25, 0, 6, 13, 1}, + {"HO", -4, 7, 4, "HO002", 3, 1, 5, 1, 2, 5, 3, 25, 0, 6, 13, 1}, + {"HO", -4, 8, 4, "HO002", 2, 3, 5, 2, 2, 3, 3, 25, 0, 8, 13, 1}, + {"HO", -4, 9, 4, "HO002", 2, 1, 5, 1, 2, 5, 3, 25, 0, 8, 13, 1}, + {"HO", -4, 10, 4, "HO003", 4, 3, 5, 2, 2, 3, 3, 25, 8, 7, 17, 1}, + {"HO", -4, 11, 4, "HO003", 4, 1, 5, 1, 2, 5, 3, 25, 8, 7, 17, 1}, + {"HO", -4, 12, 4, "HO003", 3, 3, 5, 2, 2, 3, 3, 25, 8, 6, 17, 1}, + {"HO", -4, 13, 4, "HO003", 3, 1, 5, 1, 2, 5, 3, 25, 8, 6, 17, 1}, + {"HO", -4, 14, 4, "HO003", 2, 3, 5, 2, 2, 3, 3, 25, 8, 8, 17, 1}, + {"HO", -4, 15, 4, "HO003", 2, 1, 5, 1, 2, 5, 3, 25, 8, 8, 17, 1}, + {"HO", -4, 16, 4, "HO004", 1, 17, 4, 2, 2, 2, 7, 26, 4, 7, 4, 1}, + {"HO", -4, 17, 4, "HO004", 1, 19, 4, 0, 2, 0, 7, 26, 4, 7, 4, 1}, + {"HO", -4, 18, 4, "HO004", 2, 17, 4, 2, 2, 2, 7, 26, 4, 6, 4, 1}, + {"HO", -4, 19, 4, "HO004", 2, 19, 4, 0, 2, 0, 7, 26, 4, 6, 4, 1}, + {"HO", -4, 20, 4, "HO004", 3, 17, 4, 2, 2, 2, 7, 26, 4, 8, 4, 1}, + {"HO", -4, 21, 4, "HO004", 3, 19, 4, 0, 2, 0, 7, 26, 4, 8, 4, 1}, + {"HO", -4, 22, 4, "HO005", 1, 17, 4, 2, 2, 2, 7, 27, 0, 7, 13, 1}, + {"HO", -4, 23, 4, "HO005", 1, 19, 4, 0, 2, 0, 7, 27, 0, 7, 13, 1}, + {"HO", -4, 24, 4, "HO005", 2, 17, 4, 2, 2, 2, 7, 27, 0, 6, 13, 1}, + {"HO", -4, 25, 4, "HO005", 2, 19, 4, 0, 2, 0, 7, 27, 0, 6, 13, 1}, + {"HO", -4, 26, 4, "HO005", 3, 17, 4, 2, 2, 2, 7, 27, 0, 8, 13, 1}, + {"HO", -4, 27, 4, "HO005", 3, 19, 4, 0, 2, 0, 7, 27, 0, 8, 13, 1}, + {"HO", -4, 28, 4, "HO006", 4, 3, 5, 2, 2, 3, 7, 27, 8, 7, 17, 1}, + {"HO", -4, 29, 4, "HO006", 4, 1, 5, 1, 2, 5, 7, 27, 8, 7, 17, 1}, + {"HO", -4, 30, 4, "HO006", 3, 3, 5, 2, 2, 3, 7, 27, 8, 6, 17, 1}, + {"HO", -4, 31, 4, "HO006", 3, 1, 5, 1, 2, 5, 7, 27, 8, 6, 17, 1}, + {"HO", -4, 32, 4, "HO006", 2, 3, 5, 2, 2, 3, 7, 27, 8, 8, 17, 1}, + {"HO", -4, 33, 4, "HO006", 2, 1, 5, 1, 2, 5, 7, 27, 8, 8, 17, 1}, + {"HO", -4, 34, 4, "HO007", 4, 3, 5, 2, 2, 3, 6, 28, 4, 7, 4, 1}, + {"HO", -4, 35, 4, "HO007", 4, 1, 5, 1, 2, 5, 6, 28, 4, 7, 4, 1}, + {"HO", -4, 36, 4, "HO007", 3, 3, 5, 2, 2, 3, 6, 28, 4, 6, 4, 1}, + {"HO", -4, 37, 4, "HO007", 3, 1, 5, 1, 2, 5, 6, 28, 4, 6, 4, 1}, + {"HO", -4, 38, 4, "HO007", 2, 3, 5, 2, 2, 3, 6, 28, 4, 8, 4, 1}, + {"HO", -4, 39, 4, "HO007", 2, 1, 5, 1, 2, 5, 6, 28, 4, 8, 4, 1}, + {"HO", -4, 40, 4, "HO008", 1, 17, 4, 2, 2, 2, 6, 29, 0, 7, 13, 1}, + {"HO", -4, 41, 4, "HO008", 1, 19, 4, 0, 2, 0, 6, 29, 0, 7, 13, 1}, + {"HO", -4, 42, 4, "HO008", 2, 17, 4, 2, 2, 2, 6, 29, 0, 6, 13, 1}, + {"HO", -4, 43, 4, "HO008", 2, 19, 4, 0, 2, 0, 6, 29, 0, 6, 13, 1}, + {"HO", -4, 44, 4, "HO008", 3, 17, 4, 2, 2, 2, 6, 29, 0, 8, 13, 1}, + {"HO", -4, 45, 4, "HO008", 3, 19, 4, 0, 2, 0, 6, 29, 0, 8, 13, 1}, + {"HO", -4, 46, 4, "HO009", 1, 17, 4, 2, 2, 2, 6, 29, 8, 7, 17, 1}, + {"HO", -4, 47, 4, "HO009", 1, 19, 4, 0, 2, 0, 6, 29, 8, 7, 17, 1}, + {"HO", -4, 48, 4, "HO009", 2, 17, 4, 2, 2, 2, 6, 29, 8, 6, 17, 1}, + {"HO", -4, 49, 4, "HO009", 2, 19, 4, 0, 2, 0, 6, 29, 8, 6, 17, 1}, + {"HO", -4, 50, 4, "HO009", 3, 17, 4, 2, 2, 2, 6, 29, 8, 8, 17, 1}, + {"HO", -4, 51, 4, "HO009", 3, 19, 4, 0, 2, 0, 6, 29, 8, 8, 17, 1}, + {"HO", -4, 52, 4, "HO010", 4, 3, 5, 2, 2, 3, 13, 30, 4, 7, 4, 1}, + {"HO", -4, 53, 4, "HO010", 4, 1, 5, 1, 2, 5, 13, 30, 4, 7, 4, 1}, + {"HO", -4, 54, 4, "HO010", 3, 3, 5, 2, 2, 3, 13, 30, 4, 6, 4, 1}, + {"HO", -4, 55, 4, "HO010", 3, 1, 5, 1, 2, 5, 13, 30, 4, 6, 4, 1}, + {"HO", -4, 56, 4, "HO010", 2, 3, 5, 2, 2, 3, 13, 30, 4, 8, 4, 1}, + {"HO", -4, 57, 4, "HO010", 2, 1, 5, 1, 2, 5, 13, 30, 4, 8, 4, 1}, + {"HO", -4, 58, 4, "HO011", 4, 3, 5, 2, 2, 3, 13, 31, 0, 7, 13, 1}, + {"HO", -4, 59, 4, "HO011", 4, 1, 5, 1, 2, 5, 13, 31, 0, 7, 13, 1}, + {"HO", -4, 60, 4, "HO011", 3, 3, 5, 2, 2, 3, 13, 31, 0, 6, 13, 1}, + {"HO", -4, 61, 4, "HO011", 3, 1, 5, 1, 2, 5, 13, 31, 0, 6, 13, 1}, + {"HO", -4, 62, 4, "HO011", 2, 3, 5, 2, 2, 3, 13, 31, 0, 8, 13, 1}, + {"HO", -4, 63, 4, "HO011", 2, 1, 5, 1, 2, 5, 13, 31, 0, 8, 13, 1}, + {"HO", -4, 64, 4, "HO012", 1, 17, 4, 2, 2, 2, 13, 31, 8, 7, 17, 1}, + {"HO", -4, 65, 4, "HO012", 1, 19, 4, 0, 2, 0, 13, 31, 8, 7, 17, 1}, + {"HO", -4, 66, 4, "HO012", 2, 17, 4, 2, 2, 2, 13, 31, 8, 6, 17, 1}, + {"HO", -4, 67, 4, "HO012", 2, 19, 4, 0, 2, 0, 13, 31, 8, 6, 17, 1}, + {"HO", -4, 68, 4, "HO012", 3, 17, 4, 2, 2, 2, 13, 31, 8, 8, 17, 1}, + {"HO", -4, 69, 4, "HO012", 3, 19, 4, 0, 2, 0, 13, 31, 8, 8, 17, 1}, + {"HO", -4, 70, 4, "HO001", 1, 17, 4, 2, 2, 2, 3, 24, 4, 7, 4, 1}, + {"HO", -4, 71, 4, "HO001", 1, 19, 4, 0, 2, 0, 3, 24, 4, 7, 4, 1}, + {"HO", -3, 0, 4, "HO001", 2, 14, 7, 2, 3, 3, 3, 24, 1, 6, 2, 0}, + {"HO", -3, 1, 4, "HO001", 2, 15, 6, 2, 3, 2, 3, 24, 1, 5, 2, 0}, + {"HO", -3, 2, 4, "HO001", 3, 14, 7, 2, 3, 3, 3, 24, 1, 4, 2, 0}, + {"HO", -3, 3, 4, "HO001", 3, 15, 6, 2, 3, 2, 3, 24, 1, 3, 2, 0}, + {"HO", -3, 4, 4, "HO002", 4, 7, 2, 1, 1, 1, 3, 24, 9, 8, 6, 0}, + {"HO", -3, 5, 4, "HO002", 4, 4, 3, 0, 1, 4, 3, 24, 9, 7, 6, 0}, + {"HO", -3, 6, 4, "HO002", 3, 7, 2, 1, 1, 1, 3, 24, 9, 6, 6, 0}, + {"HO", -3, 7, 4, "HO002", 3, 4, 3, 0, 1, 4, 3, 24, 9, 5, 6, 0}, + {"HO", -3, 8, 4, "HO002", 2, 7, 2, 1, 1, 1, 3, 24, 9, 4, 6, 0}, + {"HO", -3, 9, 4, "HO002", 2, 4, 3, 0, 1, 4, 3, 24, 9, 3, 6, 0}, + {"HO", -3, 10, 4, "HO003", 4, 7, 2, 1, 1, 1, 3, 25, 5, 8, 15, 0}, + {"HO", -3, 11, 4, "HO003", 4, 4, 3, 0, 1, 4, 3, 25, 5, 7, 15, 0}, + {"HO", -3, 12, 4, "HO003", 3, 7, 2, 1, 1, 1, 3, 25, 5, 6, 15, 0}, + {"HO", -3, 13, 4, "HO003", 3, 4, 3, 0, 1, 4, 3, 25, 5, 5, 15, 0}, + {"HO", -3, 14, 4, "HO003", 2, 7, 2, 1, 1, 1, 3, 25, 5, 4, 15, 0}, + {"HO", -3, 15, 4, "HO003", 2, 4, 3, 0, 1, 4, 3, 25, 5, 3, 15, 0}, + {"HO", -3, 16, 4, "HO004", 1, 14, 7, 2, 3, 3, 7, 26, 1, 8, 2, 0}, + {"HO", -3, 17, 4, "HO004", 1, 15, 6, 2, 3, 2, 7, 26, 1, 7, 2, 0}, + {"HO", -3, 18, 4, "HO004", 2, 14, 7, 2, 3, 3, 7, 26, 1, 6, 2, 0}, + {"HO", -3, 19, 4, "HO004", 2, 15, 6, 2, 3, 2, 7, 26, 1, 5, 2, 0}, + {"HO", -3, 20, 4, "HO004", 3, 14, 7, 2, 3, 3, 7, 26, 1, 4, 2, 0}, + {"HO", -3, 21, 4, "HO004", 3, 15, 6, 2, 3, 2, 7, 26, 1, 3, 2, 0}, + {"HO", -3, 22, 4, "HO005", 1, 14, 7, 2, 3, 3, 7, 26, 9, 8, 6, 0}, + {"HO", -3, 23, 4, "HO005", 1, 15, 6, 2, 3, 2, 7, 26, 9, 7, 6, 0}, + {"HO", -3, 24, 4, "HO005", 2, 14, 7, 2, 3, 3, 7, 26, 9, 6, 6, 0}, + {"HO", -3, 25, 4, "HO005", 2, 15, 6, 2, 3, 2, 7, 26, 9, 5, 6, 0}, + {"HO", -3, 26, 4, "HO005", 3, 14, 7, 2, 3, 3, 7, 26, 9, 4, 6, 0}, + {"HO", -3, 27, 4, "HO005", 3, 15, 6, 2, 3, 2, 7, 26, 9, 3, 6, 0}, + {"HO", -3, 28, 4, "HO006", 4, 7, 2, 1, 1, 1, 7, 27, 5, 8, 15, 0}, + {"HO", -3, 29, 4, "HO006", 4, 4, 3, 0, 1, 4, 7, 27, 5, 7, 15, 0}, + {"HO", -3, 30, 4, "HO006", 3, 7, 2, 1, 1, 1, 7, 27, 5, 6, 15, 0}, + {"HO", -3, 31, 4, "HO006", 3, 4, 3, 0, 1, 4, 7, 27, 5, 5, 15, 0}, + {"HO", -3, 32, 4, "HO006", 2, 7, 2, 1, 1, 1, 7, 27, 5, 4, 15, 0}, + {"HO", -3, 33, 4, "HO006", 2, 4, 3, 0, 1, 4, 7, 27, 5, 3, 15, 0}, + {"HO", -3, 34, 4, "HO007", 4, 7, 2, 1, 1, 1, 6, 28, 1, 8, 2, 0}, + {"HO", -3, 35, 4, "HO007", 4, 4, 3, 0, 1, 4, 6, 28, 1, 7, 2, 0}, + {"HO", -3, 36, 4, "HO007", 3, 7, 2, 1, 1, 1, 6, 28, 1, 6, 2, 0}, + {"HO", -3, 37, 4, "HO007", 3, 4, 3, 0, 1, 4, 6, 28, 1, 5, 2, 0}, + {"HO", -3, 38, 4, "HO007", 2, 7, 2, 1, 1, 1, 6, 28, 1, 4, 2, 0}, + {"HO", -3, 39, 4, "HO007", 2, 4, 3, 0, 1, 4, 6, 28, 1, 3, 2, 0}, + {"HO", -3, 40, 4, "HO008", 1, 14, 7, 2, 3, 3, 6, 28, 9, 8, 6, 0}, + {"HO", -3, 41, 4, "HO008", 1, 15, 6, 2, 3, 2, 6, 28, 9, 7, 6, 0}, + {"HO", -3, 42, 4, "HO008", 2, 14, 7, 2, 3, 3, 6, 28, 9, 6, 6, 0}, + {"HO", -3, 43, 4, "HO008", 2, 15, 6, 2, 3, 2, 6, 28, 9, 5, 6, 0}, + {"HO", -3, 44, 4, "HO008", 3, 14, 7, 2, 3, 3, 6, 28, 9, 4, 6, 0}, + {"HO", -3, 45, 4, "HO008", 3, 15, 6, 2, 3, 2, 6, 28, 9, 3, 6, 0}, + {"HO", -3, 46, 4, "HO009", 1, 14, 7, 2, 3, 3, 6, 29, 5, 8, 15, 0}, + {"HO", -3, 47, 4, "HO009", 1, 15, 6, 2, 3, 2, 6, 29, 5, 7, 15, 0}, + {"HO", -3, 48, 4, "HO009", 2, 14, 7, 2, 3, 3, 6, 29, 5, 6, 15, 0}, + {"HO", -3, 49, 4, "HO009", 2, 15, 6, 2, 3, 2, 6, 29, 5, 5, 15, 0}, + {"HO", -3, 50, 4, "HO009", 3, 14, 7, 2, 3, 3, 6, 29, 5, 4, 15, 0}, + {"HO", -3, 51, 4, "HO009", 3, 15, 6, 2, 3, 2, 6, 29, 5, 3, 15, 0}, + {"HO", -3, 52, 4, "HO010", 4, 7, 2, 1, 1, 1, 13, 30, 1, 8, 2, 0}, + {"HO", -3, 53, 4, "HO010", 4, 4, 3, 0, 1, 4, 13, 30, 1, 7, 2, 0}, + {"HO", -3, 54, 4, "HO010", 3, 7, 2, 1, 1, 1, 13, 30, 1, 6, 2, 0}, + {"HO", -3, 55, 4, "HO010", 3, 4, 3, 0, 1, 4, 13, 30, 1, 5, 2, 0}, + {"HO", -3, 56, 4, "HO010", 2, 7, 2, 1, 1, 1, 13, 30, 1, 4, 2, 0}, + {"HO", -3, 57, 4, "HO010", 2, 4, 3, 0, 1, 4, 13, 30, 1, 3, 2, 0}, + {"HO", -3, 58, 4, "HO011", 4, 7, 2, 1, 1, 1, 13, 30, 9, 8, 6, 0}, + {"HO", -3, 59, 4, "HO011", 4, 4, 3, 0, 1, 4, 13, 30, 9, 7, 6, 0}, + {"HO", -3, 60, 4, "HO011", 3, 7, 2, 1, 1, 1, 13, 30, 9, 6, 6, 0}, + {"HO", -3, 61, 4, "HO011", 3, 4, 3, 0, 1, 4, 13, 30, 9, 5, 6, 0}, + {"HO", -3, 62, 4, "HO011", 2, 7, 2, 1, 1, 1, 13, 30, 9, 4, 6, 0}, + {"HO", -3, 63, 4, "HO011", 2, 4, 3, 0, 1, 4, 13, 30, 9, 3, 6, 0}, + {"HO", -3, 64, 4, "HO012", 1, 14, 7, 2, 3, 3, 13, 31, 5, 8, 15, 0}, + {"HO", -3, 65, 4, "HO012", 1, 15, 6, 2, 3, 2, 13, 31, 5, 7, 15, 0}, + {"HO", -3, 66, 4, "HO012", 2, 14, 7, 2, 3, 3, 13, 31, 5, 6, 15, 0}, + {"HO", -3, 67, 4, "HO012", 2, 15, 6, 2, 3, 2, 13, 31, 5, 5, 15, 0}, + {"HO", -3, 68, 4, "HO012", 3, 14, 7, 2, 3, 3, 13, 31, 5, 4, 15, 0}, + {"HO", -3, 69, 4, "HO012", 3, 15, 6, 2, 3, 2, 13, 31, 5, 3, 15, 0}, + {"HO", -3, 70, 4, "HO001", 1, 14, 7, 2, 3, 3, 3, 24, 1, 8, 2, 0}, + {"HO", -3, 71, 4, "HO001", 1, 15, 6, 2, 3, 2, 3, 24, 1, 7, 2, 0}, + {"HO", -2, 0, 4, "HO001", 2, 13, 7, 0, 3, 4, 3, 24, 1, 6, 2, 0}, + {"HO", -2, 1, 4, "HO001", 2, 16, 6, 1, 3, 1, 3, 24, 1, 5, 2, 0}, + {"HO", -2, 2, 4, "HO001", 3, 13, 7, 0, 3, 4, 3, 24, 1, 4, 2, 0}, + {"HO", -2, 3, 4, "HO001", 3, 16, 6, 1, 3, 1, 3, 24, 1, 3, 2, 0}, + {"HO", -2, 4, 4, "HO002", 4, 6, 2, 2, 1, 2, 3, 24, 9, 8, 6, 0}, + {"HO", -2, 5, 4, "HO002", 4, 5, 3, 2, 1, 3, 3, 24, 9, 7, 6, 0}, + {"HO", -2, 6, 4, "HO002", 3, 6, 2, 2, 1, 2, 3, 24, 9, 6, 6, 0}, + {"HO", -2, 7, 4, "HO002", 3, 5, 3, 2, 1, 3, 3, 24, 9, 5, 6, 0}, + {"HO", -2, 8, 4, "HO002", 2, 6, 2, 2, 1, 2, 3, 24, 9, 4, 6, 0}, + {"HO", -2, 9, 4, "HO002", 2, 5, 3, 2, 1, 3, 3, 24, 9, 3, 6, 0}, + {"HO", -2, 10, 4, "HO003", 4, 6, 2, 2, 1, 2, 3, 25, 5, 8, 15, 0}, + {"HO", -2, 11, 4, "HO003", 4, 5, 3, 2, 1, 3, 3, 25, 5, 7, 15, 0}, + {"HO", -2, 12, 4, "HO003", 3, 6, 2, 2, 1, 2, 3, 25, 5, 6, 15, 0}, + {"HO", -2, 13, 4, "HO003", 3, 5, 3, 2, 1, 3, 3, 25, 5, 5, 15, 0}, + {"HO", -2, 14, 4, "HO003", 2, 6, 2, 2, 1, 2, 3, 25, 5, 4, 15, 0}, + {"HO", -2, 15, 4, "HO003", 2, 5, 3, 2, 1, 3, 3, 25, 5, 3, 15, 0}, + {"HO", -2, 16, 4, "HO004", 1, 13, 7, 0, 3, 4, 7, 26, 1, 8, 2, 0}, + {"HO", -2, 17, 4, "HO004", 1, 16, 6, 1, 3, 1, 7, 26, 1, 7, 2, 0}, + {"HO", -2, 18, 4, "HO004", 2, 13, 7, 0, 3, 4, 7, 26, 1, 6, 2, 0}, + {"HO", -2, 19, 4, "HO004", 2, 16, 6, 1, 3, 1, 7, 26, 1, 5, 2, 0}, + {"HO", -2, 20, 4, "HO004", 3, 13, 7, 0, 3, 4, 7, 26, 1, 4, 2, 0}, + {"HO", -2, 21, 4, "HO004", 3, 16, 6, 1, 3, 1, 7, 26, 1, 3, 2, 0}, + {"HO", -2, 22, 4, "HO005", 1, 13, 7, 0, 3, 4, 7, 26, 9, 8, 6, 0}, + {"HO", -2, 23, 4, "HO005", 1, 16, 6, 1, 3, 1, 7, 26, 9, 7, 6, 0}, + {"HO", -2, 24, 4, "HO005", 2, 13, 7, 0, 3, 4, 7, 26, 9, 6, 6, 0}, + {"HO", -2, 25, 4, "HO005", 2, 16, 6, 1, 3, 1, 7, 26, 9, 5, 6, 0}, + {"HO", -2, 26, 4, "HO005", 3, 13, 7, 0, 3, 4, 7, 26, 9, 4, 6, 0}, + {"HO", -2, 27, 4, "HO005", 3, 16, 6, 1, 3, 1, 7, 26, 9, 3, 6, 0}, + {"HO", -2, 28, 4, "HO006", 4, 6, 2, 2, 1, 2, 7, 27, 5, 8, 15, 0}, + {"HO", -2, 29, 4, "HO006", 4, 5, 3, 2, 1, 3, 7, 27, 5, 7, 15, 0}, + {"HO", -2, 30, 4, "HO006", 3, 6, 2, 2, 1, 2, 7, 27, 5, 6, 15, 0}, + {"HO", -2, 31, 4, "HO006", 3, 5, 3, 2, 1, 3, 7, 27, 5, 5, 15, 0}, + {"HO", -2, 32, 4, "HO006", 2, 6, 2, 2, 1, 2, 7, 27, 5, 4, 15, 0}, + {"HO", -2, 33, 4, "HO006", 2, 5, 3, 2, 1, 3, 7, 27, 5, 3, 15, 0}, + {"HO", -2, 34, 4, "HO007", 4, 6, 2, 2, 1, 2, 6, 28, 1, 8, 2, 0}, + {"HO", -2, 35, 4, "HO007", 4, 5, 3, 2, 1, 3, 6, 28, 1, 7, 2, 0}, + {"HO", -2, 36, 4, "HO007", 3, 6, 2, 2, 1, 2, 6, 28, 1, 6, 2, 0}, + {"HO", -2, 37, 4, "HO007", 3, 5, 3, 2, 1, 3, 6, 28, 1, 5, 2, 0}, + {"HO", -2, 38, 4, "HO007", 2, 6, 2, 2, 1, 2, 6, 28, 1, 4, 2, 0}, + {"HO", -2, 39, 4, "HO007", 2, 5, 3, 2, 1, 3, 6, 28, 1, 3, 2, 0}, + {"HO", -2, 40, 4, "HO008", 1, 13, 7, 0, 3, 4, 6, 28, 9, 8, 6, 0}, + {"HO", -2, 41, 4, "HO008", 1, 16, 6, 1, 3, 1, 6, 28, 9, 7, 6, 0}, + {"HO", -2, 42, 4, "HO008", 2, 13, 7, 0, 3, 4, 6, 28, 9, 6, 6, 0}, + {"HO", -2, 43, 4, "HO008", 2, 16, 6, 1, 3, 1, 6, 28, 9, 5, 6, 0}, + {"HO", -2, 44, 4, "HO008", 3, 13, 7, 0, 3, 4, 6, 28, 9, 4, 6, 0}, + {"HO", -2, 45, 4, "HO008", 3, 16, 6, 1, 3, 1, 6, 28, 9, 3, 6, 0}, + {"HO", -2, 46, 4, "HO009", 1, 13, 7, 0, 3, 4, 6, 29, 5, 8, 15, 0}, + {"HO", -2, 47, 4, "HO009", 1, 16, 6, 1, 3, 1, 6, 29, 5, 7, 15, 0}, + {"HO", -2, 48, 4, "HO009", 2, 13, 7, 0, 3, 4, 6, 29, 5, 6, 15, 0}, + {"HO", -2, 49, 4, "HO009", 2, 16, 6, 1, 3, 1, 6, 29, 5, 5, 15, 0}, + {"HO", -2, 50, 4, "HO009", 3, 13, 7, 0, 3, 4, 6, 29, 5, 4, 15, 0}, + {"HO", -2, 51, 4, "HO009", 3, 16, 6, 1, 3, 1, 6, 29, 5, 3, 15, 0}, + {"HO", -2, 52, 4, "HO010", 4, 6, 2, 2, 1, 2, 13, 30, 1, 8, 2, 0}, + {"HO", -2, 53, 4, "HO010", 4, 5, 3, 2, 1, 3, 13, 30, 1, 7, 2, 0}, + {"HO", -2, 54, 4, "HO010", 3, 6, 2, 2, 1, 2, 13, 30, 1, 6, 2, 0}, + {"HO", -2, 55, 4, "HO010", 3, 5, 3, 2, 1, 3, 13, 30, 1, 5, 2, 0}, + {"HO", -2, 56, 4, "HO010", 2, 6, 2, 2, 1, 2, 13, 30, 1, 4, 2, 0}, + {"HO", -2, 57, 4, "HO010", 2, 5, 3, 2, 1, 3, 13, 30, 1, 3, 2, 0}, + {"HO", -2, 58, 4, "HO011", 4, 6, 2, 2, 1, 2, 13, 30, 9, 8, 6, 0}, + {"HO", -2, 59, 4, "HO011", 4, 5, 3, 2, 1, 3, 13, 30, 9, 7, 6, 0}, + {"HO", -2, 60, 4, "HO011", 3, 6, 2, 2, 1, 2, 13, 30, 9, 6, 6, 0}, + {"HO", -2, 61, 4, "HO011", 3, 5, 3, 2, 1, 3, 13, 30, 9, 5, 6, 0}, + {"HO", -2, 62, 4, "HO011", 2, 6, 2, 2, 1, 2, 13, 30, 9, 4, 6, 0}, + {"HO", -2, 63, 4, "HO011", 2, 5, 3, 2, 1, 3, 13, 30, 9, 3, 6, 0}, + {"HO", -2, 64, 4, "HO012", 1, 13, 7, 0, 3, 4, 13, 31, 5, 8, 15, 0}, + {"HO", -2, 65, 4, "HO012", 1, 16, 6, 1, 3, 1, 13, 31, 5, 7, 15, 0}, + {"HO", -2, 66, 4, "HO012", 2, 13, 7, 0, 3, 4, 13, 31, 5, 6, 15, 0}, + {"HO", -2, 67, 4, "HO012", 2, 16, 6, 1, 3, 1, 13, 31, 5, 5, 15, 0}, + {"HO", -2, 68, 4, "HO012", 3, 13, 7, 0, 3, 4, 13, 31, 5, 4, 15, 0}, + {"HO", -2, 69, 4, "HO012", 3, 16, 6, 1, 3, 1, 13, 31, 5, 3, 15, 0}, + {"HO", -2, 70, 4, "HO001", 1, 13, 7, 0, 3, 4, 3, 24, 1, 8, 2, 0}, + {"HO", -2, 71, 4, "HO001", 1, 16, 6, 1, 3, 1, 3, 24, 1, 7, 2, 0}, + {"HO", -1, 0, 4, "HO001", 2, 9, 7, 1, 3, 5, 3, 24, 1, 6, 2, 0}, + {"HO", -1, 1, 4, "HO001", 2, 11, 6, 0, 3, 0, 3, 24, 1, 5, 2, 0}, + {"HO", -1, 2, 4, "HO001", 3, 9, 7, 1, 3, 5, 3, 24, 1, 4, 2, 0}, + {"HO", -1, 3, 4, "HO001", 3, 11, 6, 0, 3, 0, 3, 24, 1, 3, 2, 0}, + {"HO", -1, 4, 4, "HO002", 4, 12, 2, 0, 1, 0, 3, 24, 9, 8, 6, 0}, + {"HO", -1, 5, 4, "HO002", 4, 8, 3, 1, 1, 5, 3, 24, 9, 7, 6, 0}, + {"HO", -1, 6, 4, "HO002", 3, 12, 2, 0, 1, 0, 3, 24, 9, 6, 6, 0}, + {"HO", -1, 7, 4, "HO002", 3, 8, 3, 1, 1, 5, 3, 24, 9, 5, 6, 0}, + {"HO", -1, 8, 4, "HO002", 2, 12, 2, 0, 1, 0, 3, 24, 9, 4, 6, 0}, + {"HO", -1, 9, 4, "HO002", 2, 8, 3, 1, 1, 5, 3, 24, 9, 3, 6, 0}, + {"HO", -1, 10, 4, "HO003", 4, 12, 2, 0, 1, 0, 3, 25, 5, 8, 15, 0}, + {"HO", -1, 11, 4, "HO003", 4, 8, 3, 1, 1, 5, 3, 25, 5, 7, 15, 0}, + {"HO", -1, 12, 4, "HO003", 3, 12, 2, 0, 1, 0, 3, 25, 5, 6, 15, 0}, + {"HO", -1, 13, 4, "HO003", 3, 8, 3, 1, 1, 5, 3, 25, 5, 5, 15, 0}, + {"HO", -1, 14, 4, "HO003", 2, 12, 2, 0, 1, 0, 3, 25, 5, 4, 15, 0}, + {"HO", -1, 15, 4, "HO003", 2, 8, 3, 1, 1, 5, 3, 25, 5, 3, 15, 0}, + {"HO", -1, 16, 4, "HO004", 1, 9, 7, 1, 3, 5, 7, 26, 1, 8, 2, 0}, + {"HO", -1, 17, 4, "HO004", 1, 11, 6, 0, 3, 0, 7, 26, 1, 7, 2, 0}, + {"HO", -1, 18, 4, "HO004", 2, 9, 7, 1, 3, 5, 7, 26, 1, 6, 2, 0}, + {"HO", -1, 19, 4, "HO004", 2, 11, 6, 0, 3, 0, 7, 26, 1, 5, 2, 0}, + {"HO", -1, 20, 4, "HO004", 3, 9, 7, 1, 3, 5, 7, 26, 1, 4, 2, 0}, + {"HO", -1, 21, 4, "HO004", 3, 11, 6, 0, 3, 0, 7, 26, 1, 3, 2, 0}, + {"HO", -1, 22, 4, "HO005", 1, 9, 7, 1, 3, 5, 7, 26, 9, 8, 6, 0}, + {"HO", -1, 23, 4, "HO005", 1, 11, 6, 0, 3, 0, 7, 26, 9, 7, 6, 0}, + {"HO", -1, 24, 4, "HO005", 2, 9, 7, 1, 3, 5, 7, 26, 9, 6, 6, 0}, + {"HO", -1, 25, 4, "HO005", 2, 11, 6, 0, 3, 0, 7, 26, 9, 5, 6, 0}, + {"HO", -1, 26, 4, "HO005", 3, 9, 7, 1, 3, 5, 7, 26, 9, 4, 6, 0}, + {"HO", -1, 27, 4, "HO005", 3, 11, 6, 0, 3, 0, 7, 26, 9, 3, 6, 0}, + {"HO", -1, 28, 4, "HO006", 4, 12, 2, 0, 1, 0, 7, 27, 5, 8, 15, 0}, + {"HO", -1, 29, 4, "HO006", 4, 8, 3, 1, 1, 5, 7, 27, 5, 7, 15, 0}, + {"HO", -1, 30, 4, "HO006", 3, 12, 2, 0, 1, 0, 7, 27, 5, 6, 15, 0}, + {"HO", -1, 31, 4, "HO006", 3, 8, 3, 1, 1, 5, 7, 27, 5, 5, 15, 0}, + {"HO", -1, 32, 4, "HO006", 2, 12, 2, 0, 1, 0, 7, 27, 5, 4, 15, 0}, + {"HO", -1, 33, 4, "HO006", 2, 8, 3, 1, 1, 5, 7, 27, 5, 3, 15, 0}, + {"HO", -1, 34, 4, "HO007", 4, 12, 2, 0, 1, 0, 6, 28, 1, 8, 2, 0}, + {"HO", -1, 35, 4, "HO007", 4, 8, 3, 1, 1, 5, 6, 28, 1, 7, 2, 0}, + {"HO", -1, 36, 4, "HO007", 3, 12, 2, 0, 1, 0, 6, 28, 1, 6, 2, 0}, + {"HO", -1, 37, 4, "HO007", 3, 8, 3, 1, 1, 5, 6, 28, 1, 5, 2, 0}, + {"HO", -1, 38, 4, "HO007", 2, 12, 2, 0, 1, 0, 6, 28, 1, 4, 2, 0}, + {"HO", -1, 39, 4, "HO007", 2, 8, 3, 1, 1, 5, 6, 28, 1, 3, 2, 0}, + {"HO", -1, 40, 4, "HO008", 1, 9, 7, 1, 3, 5, 6, 28, 9, 8, 6, 0}, + {"HO", -1, 41, 4, "HO008", 1, 11, 6, 0, 3, 0, 6, 28, 9, 7, 6, 0}, + {"HO", -1, 42, 4, "HO008", 2, 9, 7, 1, 3, 5, 6, 28, 9, 6, 6, 0}, + {"HO", -1, 43, 4, "HO008", 2, 11, 6, 0, 3, 0, 6, 28, 9, 5, 6, 0}, + {"HO", -1, 44, 4, "HO008", 3, 9, 7, 1, 3, 5, 6, 28, 9, 4, 6, 0}, + {"HO", -1, 45, 4, "HO008", 3, 11, 6, 0, 3, 0, 6, 28, 9, 3, 6, 0}, + {"HO", -1, 46, 4, "HO009", 1, 9, 7, 1, 3, 5, 6, 29, 5, 8, 15, 0}, + {"HO", -1, 47, 4, "HO009", 1, 11, 6, 0, 3, 0, 6, 29, 5, 7, 15, 0}, + {"HO", -1, 48, 4, "HO009", 2, 9, 7, 1, 3, 5, 6, 29, 5, 6, 15, 0}, + {"HO", -1, 49, 4, "HO009", 2, 11, 6, 0, 3, 0, 6, 29, 5, 5, 15, 0}, + {"HO", -1, 50, 4, "HO009", 3, 9, 7, 1, 3, 5, 6, 29, 5, 4, 15, 0}, + {"HO", -1, 51, 4, "HO009", 3, 11, 6, 0, 3, 0, 6, 29, 5, 3, 15, 0}, + {"HO", -1, 52, 4, "HO010", 4, 12, 2, 0, 1, 0, 13, 30, 1, 8, 2, 0}, + {"HO", -1, 53, 4, "HO010", 4, 8, 3, 1, 1, 5, 13, 30, 1, 7, 2, 0}, + {"HO", -1, 54, 4, "HO010", 3, 12, 2, 0, 1, 0, 13, 30, 1, 6, 2, 0}, + {"HO", -1, 55, 4, "HO010", 3, 8, 3, 1, 1, 5, 13, 30, 1, 5, 2, 0}, + {"HO", -1, 56, 4, "HO010", 2, 12, 2, 0, 1, 0, 13, 30, 1, 4, 2, 0}, + {"HO", -1, 57, 4, "HO010", 2, 8, 3, 1, 1, 5, 13, 30, 1, 3, 2, 0}, + {"HO", -1, 58, 4, "HO011", 4, 12, 2, 0, 1, 0, 13, 30, 9, 8, 6, 0}, + {"HO", -1, 59, 4, "HO011", 4, 8, 3, 1, 1, 5, 13, 30, 9, 7, 6, 0}, + {"HO", -1, 60, 4, "HO011", 3, 12, 2, 0, 1, 0, 13, 30, 9, 6, 6, 0}, + {"HO", -1, 61, 4, "HO011", 3, 8, 3, 1, 1, 5, 13, 30, 9, 5, 6, 0}, + {"HO", -1, 62, 4, "HO011", 2, 12, 2, 0, 1, 0, 13, 30, 9, 4, 6, 0}, + {"HO", -1, 63, 4, "HO011", 2, 8, 3, 1, 1, 5, 13, 30, 9, 3, 6, 0}, + {"HO", -1, 64, 4, "HO012", 1, 9, 7, 1, 3, 5, 13, 31, 5, 8, 15, 0}, + {"HO", -1, 65, 4, "HO012", 1, 11, 6, 0, 3, 0, 13, 31, 5, 7, 15, 0}, + {"HO", -1, 66, 4, "HO012", 2, 9, 7, 1, 3, 5, 13, 31, 5, 6, 15, 0}, + {"HO", -1, 67, 4, "HO012", 2, 11, 6, 0, 3, 0, 13, 31, 5, 5, 15, 0}, + {"HO", -1, 68, 4, "HO012", 3, 9, 7, 1, 3, 5, 13, 31, 5, 4, 15, 0}, + {"HO", -1, 69, 4, "HO012", 3, 11, 6, 0, 3, 0, 13, 31, 5, 3, 15, 0}, + {"HO", -1, 70, 4, "HO001", 1, 9, 7, 1, 3, 5, 3, 24, 1, 8, 2, 0}, + {"HO", -1, 71, 4, "HO001", 1, 11, 6, 0, 3, 0, 3, 24, 1, 7, 2, 0}, + {"HO", 0, 0, 4, "HO001", 2, 8, 3, 1, 1, 5, 3, 24, 0, 8, 2, 1}, + {"HO", 0, 1, 4, "HO001", 2, 12, 2, 0, 1, 0, 3, 24, 0, 7, 2, 1}, + {"HO", 0, 2, 4, "HO001", 3, 8, 3, 1, 1, 5, 3, 24, 0, 6, 2, 1}, + {"HO", 0, 3, 4, "HO001", 3, 12, 2, 0, 1, 0, 3, 24, 0, 5, 2, 1}, + {"HO", 0, 4, 4, "HO002", 4, 11, 6, 0, 3, 0, 3, 24, 9, 2, 6, 0}, + {"HO", 0, 5, 4, "HO002", 4, 9, 7, 1, 3, 5, 3, 24, 9, 1, 6, 0}, + {"HO", 0, 6, 4, "HO002", 3, 11, 6, 0, 3, 0, 3, 24, 8, 8, 6, 1}, + {"HO", 0, 7, 4, "HO002", 3, 9, 7, 1, 3, 5, 3, 24, 8, 7, 6, 1}, + {"HO", 0, 8, 4, "HO002", 2, 11, 6, 0, 3, 0, 3, 24, 8, 6, 6, 1}, + {"HO", 0, 9, 4, "HO002", 2, 9, 7, 1, 3, 5, 3, 24, 8, 5, 6, 1}, + {"HO", 0, 10, 4, "HO003", 4, 11, 6, 0, 3, 0, 3, 25, 5, 2, 15, 0}, + {"HO", 0, 11, 4, "HO003", 4, 9, 7, 1, 3, 5, 3, 25, 5, 1, 15, 0}, + {"HO", 0, 12, 4, "HO003", 3, 11, 6, 0, 3, 0, 3, 25, 4, 8, 15, 1}, + {"HO", 0, 13, 4, "HO003", 3, 9, 7, 1, 3, 5, 3, 25, 4, 7, 15, 1}, + {"HO", 0, 14, 4, "HO003", 2, 11, 6, 0, 3, 0, 3, 25, 4, 6, 15, 1}, + {"HO", 0, 15, 4, "HO003", 2, 9, 7, 1, 3, 5, 3, 25, 4, 5, 15, 1}, + {"HO", 0, 16, 4, "HO004", 1, 8, 3, 1, 1, 5, 7, 26, 1, 2, 2, 0}, + {"HO", 0, 17, 4, "HO004", 1, 12, 2, 0, 1, 0, 7, 26, 1, 1, 2, 0}, + {"HO", 0, 18, 4, "HO004", 2, 8, 3, 1, 1, 5, 7, 26, 0, 8, 2, 1}, + {"HO", 0, 19, 4, "HO004", 2, 12, 2, 0, 1, 0, 7, 26, 0, 7, 2, 1}, + {"HO", 0, 20, 4, "HO004", 3, 8, 3, 1, 1, 5, 7, 26, 0, 6, 2, 1}, + {"HO", 0, 21, 4, "HO004", 3, 12, 2, 0, 1, 0, 7, 26, 0, 5, 2, 1}, + {"HO", 0, 22, 4, "HO005", 1, 8, 3, 1, 1, 5, 7, 26, 9, 2, 6, 0}, + {"HO", 0, 23, 4, "HO005", 1, 12, 2, 0, 1, 0, 7, 26, 9, 1, 6, 0}, + {"HO", 0, 24, 4, "HO005", 2, 8, 3, 1, 1, 5, 7, 26, 8, 8, 6, 1}, + {"HO", 0, 25, 4, "HO005", 2, 12, 2, 0, 1, 0, 7, 26, 8, 7, 6, 1}, + {"HO", 0, 26, 4, "HO005", 3, 8, 3, 1, 1, 5, 7, 26, 8, 6, 6, 1}, + {"HO", 0, 27, 4, "HO005", 3, 12, 2, 0, 1, 0, 7, 26, 8, 5, 6, 1}, + {"HO", 0, 28, 4, "HO006", 4, 11, 6, 0, 3, 0, 7, 27, 5, 2, 15, 0}, + {"HO", 0, 29, 4, "HO006", 4, 9, 7, 1, 3, 5, 7, 27, 5, 1, 15, 0}, + {"HO", 0, 30, 4, "HO006", 3, 11, 6, 0, 3, 0, 7, 27, 4, 8, 15, 1}, + {"HO", 0, 31, 4, "HO006", 3, 9, 7, 1, 3, 5, 7, 27, 4, 7, 15, 1}, + {"HO", 0, 32, 4, "HO006", 2, 11, 6, 0, 3, 0, 7, 27, 4, 6, 15, 1}, + {"HO", 0, 33, 4, "HO006", 2, 9, 7, 1, 3, 5, 7, 27, 4, 5, 15, 1}, + {"HO", 0, 34, 4, "HO007", 4, 11, 6, 0, 3, 0, 6, 28, 1, 2, 2, 0}, + {"HO", 0, 35, 4, "HO007", 4, 9, 7, 1, 3, 5, 6, 28, 1, 1, 2, 0}, + {"HO", 0, 36, 4, "HO007", 3, 11, 6, 0, 3, 0, 6, 28, 0, 8, 2, 1}, + {"HO", 0, 37, 4, "HO007", 3, 9, 7, 1, 3, 5, 6, 28, 0, 7, 2, 1}, + {"HO", 0, 38, 4, "HO007", 2, 11, 6, 0, 3, 0, 6, 28, 0, 6, 2, 1}, + {"HO", 0, 39, 4, "HO007", 2, 9, 7, 1, 3, 5, 6, 28, 0, 5, 2, 1}, + {"HO", 0, 40, 4, "HO008", 1, 8, 3, 1, 1, 5, 6, 28, 9, 2, 6, 0}, + {"HO", 0, 41, 4, "HO008", 1, 12, 2, 0, 1, 0, 6, 28, 9, 1, 6, 0}, + {"HO", 0, 42, 4, "HO008", 2, 8, 3, 1, 1, 5, 6, 28, 8, 8, 6, 1}, + {"HO", 0, 43, 4, "HO008", 2, 12, 2, 0, 1, 0, 6, 28, 8, 7, 6, 1}, + {"HO", 0, 44, 4, "HO008", 3, 8, 3, 1, 1, 5, 6, 28, 8, 6, 6, 1}, + {"HO", 0, 45, 4, "HO008", 3, 12, 2, 0, 1, 0, 6, 28, 8, 5, 6, 1}, + {"HO", 0, 46, 4, "HO009", 1, 8, 3, 1, 1, 5, 6, 29, 5, 2, 15, 0}, + {"HO", 0, 47, 4, "HO009", 1, 12, 2, 0, 1, 0, 6, 29, 5, 1, 15, 0}, + {"HO", 0, 48, 4, "HO009", 2, 8, 3, 1, 1, 5, 6, 29, 4, 8, 15, 1}, + {"HO", 0, 49, 4, "HO009", 2, 12, 2, 0, 1, 0, 6, 29, 4, 7, 15, 1}, + {"HO", 0, 50, 4, "HO009", 3, 8, 3, 1, 1, 5, 6, 29, 4, 6, 15, 1}, + {"HO", 0, 51, 4, "HO009", 3, 12, 2, 0, 1, 0, 6, 29, 4, 5, 15, 1}, + {"HO", 0, 52, 4, "HO010", 4, 11, 6, 0, 3, 0, 13, 30, 1, 2, 2, 0}, + {"HO", 0, 53, 4, "HO010", 4, 9, 7, 1, 3, 5, 13, 30, 1, 1, 2, 0}, + {"HO", 0, 54, 4, "HO010", 3, 11, 6, 0, 3, 0, 13, 30, 0, 8, 2, 1}, + {"HO", 0, 55, 4, "HO010", 3, 9, 7, 1, 3, 5, 13, 30, 0, 7, 2, 1}, + {"HO", 0, 56, 4, "HO010", 2, 11, 6, 0, 3, 0, 13, 30, 0, 6, 2, 1}, + {"HO", 0, 57, 4, "HO010", 2, 9, 7, 1, 3, 5, 13, 30, 0, 5, 2, 1}, + {"HO", 0, 58, 4, "HO011", 4, 11, 6, 0, 3, 0, 13, 30, 9, 2, 6, 0}, + {"HO", 0, 59, 4, "HO011", 4, 9, 7, 1, 3, 5, 13, 30, 9, 1, 6, 0}, + {"HO", 0, 60, 4, "HO011", 3, 11, 6, 0, 3, 0, 13, 30, 8, 8, 6, 1}, + {"HO", 0, 61, 4, "HO011", 3, 9, 7, 1, 3, 5, 13, 30, 8, 7, 6, 1}, + {"HO", 0, 62, 4, "HO011", 2, 11, 6, 0, 3, 0, 13, 30, 8, 6, 6, 1}, + {"HO", 0, 63, 4, "HO011", 2, 9, 7, 1, 3, 5, 13, 30, 8, 5, 6, 1}, + {"HO", 0, 64, 4, "HO012", 1, 8, 3, 1, 1, 5, 13, 31, 5, 2, 15, 0}, + {"HO", 0, 65, 4, "HO012", 1, 12, 2, 0, 1, 0, 13, 31, 5, 1, 15, 0}, + {"HO", 0, 66, 4, "HO012", 2, 8, 3, 1, 1, 5, 13, 31, 4, 8, 15, 1}, + {"HO", 0, 67, 4, "HO012", 2, 12, 2, 0, 1, 0, 13, 31, 4, 7, 15, 1}, + {"HO", 0, 68, 4, "HO012", 3, 8, 3, 1, 1, 5, 13, 31, 4, 6, 15, 1}, + {"HO", 0, 69, 4, "HO012", 3, 12, 2, 0, 1, 0, 13, 31, 4, 5, 15, 1}, + {"HO", 0, 70, 4, "HO001", 1, 8, 3, 1, 1, 5, 3, 24, 1, 2, 2, 0}, + {"HO", 0, 71, 4, "HO001", 1, 12, 2, 0, 1, 0, 3, 24, 1, 1, 2, 0}, + {"HO", 1, 0, 4, "HO001", 2, 5, 3, 2, 1, 3, 3, 24, 0, 8, 2, 1}, + {"HO", 1, 1, 4, "HO001", 2, 6, 2, 2, 1, 2, 3, 24, 0, 7, 2, 1}, + {"HO", 1, 2, 4, "HO001", 3, 5, 3, 2, 1, 3, 3, 24, 0, 6, 2, 1}, + {"HO", 1, 3, 4, "HO001", 3, 6, 2, 2, 1, 2, 3, 24, 0, 5, 2, 1}, + {"HO", 1, 4, 4, "HO002", 4, 16, 6, 1, 3, 1, 3, 24, 9, 2, 6, 0}, + {"HO", 1, 5, 4, "HO002", 4, 13, 7, 0, 3, 4, 3, 24, 9, 1, 6, 0}, + {"HO", 1, 6, 4, "HO002", 3, 16, 6, 1, 3, 1, 3, 24, 8, 8, 6, 1}, + {"HO", 1, 7, 4, "HO002", 3, 13, 7, 0, 3, 4, 3, 24, 8, 7, 6, 1}, + {"HO", 1, 8, 4, "HO002", 2, 16, 6, 1, 3, 1, 3, 24, 8, 6, 6, 1}, + {"HO", 1, 9, 4, "HO002", 2, 13, 7, 0, 3, 4, 3, 24, 8, 5, 6, 1}, + {"HO", 1, 10, 4, "HO003", 4, 16, 6, 1, 3, 1, 3, 25, 5, 2, 15, 0}, + {"HO", 1, 11, 4, "HO003", 4, 13, 7, 0, 3, 4, 3, 25, 5, 1, 15, 0}, + {"HO", 1, 12, 4, "HO003", 3, 16, 6, 1, 3, 1, 3, 25, 4, 8, 15, 1}, + {"HO", 1, 13, 4, "HO003", 3, 13, 7, 0, 3, 4, 3, 25, 4, 7, 15, 1}, + {"HO", 1, 14, 4, "HO003", 2, 16, 6, 1, 3, 1, 3, 25, 4, 6, 15, 1}, + {"HO", 1, 15, 4, "HO003", 2, 13, 7, 0, 3, 4, 3, 25, 4, 5, 15, 1}, + {"HO", 1, 16, 4, "HO004", 1, 5, 3, 2, 1, 3, 7, 26, 1, 2, 2, 0}, + {"HO", 1, 17, 4, "HO004", 1, 6, 2, 2, 1, 2, 7, 26, 1, 1, 2, 0}, + {"HO", 1, 18, 4, "HO004", 2, 5, 3, 2, 1, 3, 7, 26, 0, 8, 2, 1}, + {"HO", 1, 19, 4, "HO004", 2, 6, 2, 2, 1, 2, 7, 26, 0, 7, 2, 1}, + {"HO", 1, 20, 4, "HO004", 3, 5, 3, 2, 1, 3, 7, 26, 0, 6, 2, 1}, + {"HO", 1, 21, 4, "HO004", 3, 6, 2, 2, 1, 2, 7, 26, 0, 5, 2, 1}, + {"HO", 1, 22, 4, "HO005", 1, 5, 3, 2, 1, 3, 7, 26, 9, 2, 6, 0}, + {"HO", 1, 23, 4, "HO005", 1, 6, 2, 2, 1, 2, 7, 26, 9, 1, 6, 0}, + {"HO", 1, 24, 4, "HO005", 2, 5, 3, 2, 1, 3, 7, 26, 8, 8, 6, 1}, + {"HO", 1, 25, 4, "HO005", 2, 6, 2, 2, 1, 2, 7, 26, 8, 7, 6, 1}, + {"HO", 1, 26, 4, "HO005", 3, 5, 3, 2, 1, 3, 7, 26, 8, 6, 6, 1}, + {"HO", 1, 27, 4, "HO005", 3, 6, 2, 2, 1, 2, 7, 26, 8, 5, 6, 1}, + {"HO", 1, 28, 4, "HO006", 4, 16, 6, 1, 3, 1, 7, 27, 5, 2, 15, 0}, + {"HO", 1, 29, 4, "HO006", 4, 13, 7, 0, 3, 4, 7, 27, 5, 1, 15, 0}, + {"HO", 1, 30, 4, "HO006", 3, 16, 6, 1, 3, 1, 7, 27, 4, 8, 15, 1}, + {"HO", 1, 31, 4, "HO006", 3, 13, 7, 0, 3, 4, 7, 27, 4, 7, 15, 1}, + {"HO", 1, 32, 4, "HO006", 2, 16, 6, 1, 3, 1, 7, 27, 4, 6, 15, 1}, + {"HO", 1, 33, 4, "HO006", 2, 13, 7, 0, 3, 4, 7, 27, 4, 5, 15, 1}, + {"HO", 1, 34, 4, "HO007", 4, 16, 6, 1, 3, 1, 6, 28, 1, 2, 2, 0}, + {"HO", 1, 35, 4, "HO007", 4, 13, 7, 0, 3, 4, 6, 28, 1, 1, 2, 0}, + {"HO", 1, 36, 4, "HO007", 3, 16, 6, 1, 3, 1, 6, 28, 0, 8, 2, 1}, + {"HO", 1, 37, 4, "HO007", 3, 13, 7, 0, 3, 4, 6, 28, 0, 7, 2, 1}, + {"HO", 1, 38, 4, "HO007", 2, 16, 6, 1, 3, 1, 6, 28, 0, 6, 2, 1}, + {"HO", 1, 39, 4, "HO007", 2, 13, 7, 0, 3, 4, 6, 28, 0, 5, 2, 1}, + {"HO", 1, 40, 4, "HO008", 1, 5, 3, 2, 1, 3, 6, 28, 9, 2, 6, 0}, + {"HO", 1, 41, 4, "HO008", 1, 6, 2, 2, 1, 2, 6, 28, 9, 1, 6, 0}, + {"HO", 1, 42, 4, "HO008", 2, 5, 3, 2, 1, 3, 6, 28, 8, 8, 6, 1}, + {"HO", 1, 43, 4, "HO008", 2, 6, 2, 2, 1, 2, 6, 28, 8, 7, 6, 1}, + {"HO", 1, 44, 4, "HO008", 3, 5, 3, 2, 1, 3, 6, 28, 8, 6, 6, 1}, + {"HO", 1, 45, 4, "HO008", 3, 6, 2, 2, 1, 2, 6, 28, 8, 5, 6, 1}, + {"HO", 1, 46, 4, "HO009", 1, 5, 3, 2, 1, 3, 6, 29, 5, 2, 15, 0}, + {"HO", 1, 47, 4, "HO009", 1, 6, 2, 2, 1, 2, 6, 29, 5, 1, 15, 0}, + {"HO", 1, 48, 4, "HO009", 2, 5, 3, 2, 1, 3, 6, 29, 4, 8, 15, 1}, + {"HO", 1, 49, 4, "HO009", 2, 6, 2, 2, 1, 2, 6, 29, 4, 7, 15, 1}, + {"HO", 1, 50, 4, "HO009", 3, 5, 3, 2, 1, 3, 6, 29, 4, 6, 15, 1}, + {"HO", 1, 51, 4, "HO009", 3, 6, 2, 2, 1, 2, 6, 29, 4, 5, 15, 1}, + {"HO", 1, 52, 4, "HO010", 4, 16, 6, 1, 3, 1, 13, 30, 1, 2, 2, 0}, + {"HO", 1, 53, 4, "HO010", 4, 13, 7, 0, 3, 4, 13, 30, 1, 1, 2, 0}, + {"HO", 1, 54, 4, "HO010", 3, 16, 6, 1, 3, 1, 13, 30, 0, 8, 2, 1}, + {"HO", 1, 55, 4, "HO010", 3, 13, 7, 0, 3, 4, 13, 30, 0, 7, 2, 1}, + {"HO", 1, 56, 4, "HO010", 2, 16, 6, 1, 3, 1, 13, 30, 0, 6, 2, 1}, + {"HO", 1, 57, 4, "HO010", 2, 13, 7, 0, 3, 4, 13, 30, 0, 5, 2, 1}, + {"HO", 1, 58, 4, "HO011", 4, 16, 6, 1, 3, 1, 13, 30, 9, 2, 6, 0}, + {"HO", 1, 59, 4, "HO011", 4, 13, 7, 0, 3, 4, 13, 30, 9, 1, 6, 0}, + {"HO", 1, 60, 4, "HO011", 3, 16, 6, 1, 3, 1, 13, 30, 8, 8, 6, 1}, + {"HO", 1, 61, 4, "HO011", 3, 13, 7, 0, 3, 4, 13, 30, 8, 7, 6, 1}, + {"HO", 1, 62, 4, "HO011", 2, 16, 6, 1, 3, 1, 13, 30, 8, 6, 6, 1}, + {"HO", 1, 63, 4, "HO011", 2, 13, 7, 0, 3, 4, 13, 30, 8, 5, 6, 1}, + {"HO", 1, 64, 4, "HO012", 1, 5, 3, 2, 1, 3, 13, 31, 5, 2, 15, 0}, + {"HO", 1, 65, 4, "HO012", 1, 6, 2, 2, 1, 2, 13, 31, 5, 1, 15, 0}, + {"HO", 1, 66, 4, "HO012", 2, 5, 3, 2, 1, 3, 13, 31, 4, 8, 15, 1}, + {"HO", 1, 67, 4, "HO012", 2, 6, 2, 2, 1, 2, 13, 31, 4, 7, 15, 1}, + {"HO", 1, 68, 4, "HO012", 3, 5, 3, 2, 1, 3, 13, 31, 4, 6, 15, 1}, + {"HO", 1, 69, 4, "HO012", 3, 6, 2, 2, 1, 2, 13, 31, 4, 5, 15, 1}, + {"HO", 1, 70, 4, "HO001", 1, 5, 3, 2, 1, 3, 3, 24, 1, 2, 2, 0}, + {"HO", 1, 71, 4, "HO001", 1, 6, 2, 2, 1, 2, 3, 24, 1, 1, 2, 0}, + {"HO", 2, 0, 4, "HO001", 2, 4, 3, 0, 1, 4, 3, 24, 0, 8, 2, 1}, + {"HO", 2, 1, 4, "HO001", 2, 7, 2, 1, 1, 1, 3, 24, 0, 7, 2, 1}, + {"HO", 2, 2, 4, "HO001", 3, 4, 3, 0, 1, 4, 3, 24, 0, 6, 2, 1}, + {"HO", 2, 3, 4, "HO001", 3, 7, 2, 1, 1, 1, 3, 24, 0, 5, 2, 1}, + {"HO", 2, 4, 4, "HO002", 4, 15, 6, 2, 3, 2, 3, 24, 9, 2, 6, 0}, + {"HO", 2, 5, 4, "HO002", 4, 14, 7, 2, 3, 3, 3, 24, 9, 1, 6, 0}, + {"HO", 2, 6, 4, "HO002", 3, 15, 6, 2, 3, 2, 3, 24, 8, 8, 6, 1}, + {"HO", 2, 7, 4, "HO002", 3, 14, 7, 2, 3, 3, 3, 24, 8, 7, 6, 1}, + {"HO", 2, 8, 4, "HO002", 2, 15, 6, 2, 3, 2, 3, 24, 8, 6, 6, 1}, + {"HO", 2, 9, 4, "HO002", 2, 14, 7, 2, 3, 3, 3, 24, 8, 5, 6, 1}, + {"HO", 2, 10, 4, "HO003", 4, 15, 6, 2, 3, 2, 3, 25, 5, 2, 15, 0}, + {"HO", 2, 11, 4, "HO003", 4, 14, 7, 2, 3, 3, 3, 25, 5, 1, 15, 0}, + {"HO", 2, 12, 4, "HO003", 3, 15, 6, 2, 3, 2, 3, 25, 4, 8, 15, 1}, + {"HO", 2, 13, 4, "HO003", 3, 14, 7, 2, 3, 3, 3, 25, 4, 7, 15, 1}, + {"HO", 2, 14, 4, "HO003", 2, 15, 6, 2, 3, 2, 3, 25, 4, 6, 15, 1}, + {"HO", 2, 15, 4, "HO003", 2, 14, 7, 2, 3, 3, 3, 25, 4, 5, 15, 1}, + {"HO", 2, 16, 4, "HO004", 1, 4, 3, 0, 1, 4, 7, 26, 1, 2, 2, 0}, + {"HO", 2, 17, 4, "HO004", 1, 7, 2, 1, 1, 1, 7, 26, 1, 1, 2, 0}, + {"HO", 2, 18, 4, "HO004", 2, 4, 3, 0, 1, 4, 7, 26, 0, 8, 2, 1}, + {"HO", 2, 19, 4, "HO004", 2, 7, 2, 1, 1, 1, 7, 26, 0, 7, 2, 1}, + {"HO", 2, 20, 4, "HO004", 3, 4, 3, 0, 1, 4, 7, 26, 0, 6, 2, 1}, + {"HO", 2, 21, 4, "HO004", 3, 7, 2, 1, 1, 1, 7, 26, 0, 5, 2, 1}, + {"HO", 2, 22, 4, "HO005", 1, 4, 3, 0, 1, 4, 7, 26, 9, 2, 6, 0}, + {"HO", 2, 23, 4, "HO005", 1, 7, 2, 1, 1, 1, 7, 26, 9, 1, 6, 0}, + {"HO", 2, 24, 4, "HO005", 2, 4, 3, 0, 1, 4, 7, 26, 8, 8, 6, 1}, + {"HO", 2, 25, 4, "HO005", 2, 7, 2, 1, 1, 1, 7, 26, 8, 7, 6, 1}, + {"HO", 2, 26, 4, "HO005", 3, 4, 3, 0, 1, 4, 7, 26, 8, 6, 6, 1}, + {"HO", 2, 27, 4, "HO005", 3, 7, 2, 1, 1, 1, 7, 26, 8, 5, 6, 1}, + {"HO", 2, 28, 4, "HO006", 4, 15, 6, 2, 3, 2, 7, 27, 5, 2, 15, 0}, + {"HO", 2, 29, 4, "HO006", 4, 14, 7, 2, 3, 3, 7, 27, 5, 1, 15, 0}, + {"HO", 2, 30, 4, "HO006", 3, 15, 6, 2, 3, 2, 7, 27, 4, 8, 15, 1}, + {"HO", 2, 31, 4, "HO006", 3, 14, 7, 2, 3, 3, 7, 27, 4, 7, 15, 1}, + {"HO", 2, 32, 4, "HO006", 2, 15, 6, 2, 3, 2, 7, 27, 4, 6, 15, 1}, + {"HO", 2, 33, 4, "HO006", 2, 14, 7, 2, 3, 3, 7, 27, 4, 5, 15, 1}, + {"HO", 2, 34, 4, "HO007", 4, 15, 6, 2, 3, 2, 6, 28, 1, 2, 2, 0}, + {"HO", 2, 35, 4, "HO007", 4, 14, 7, 2, 3, 3, 6, 28, 1, 1, 2, 0}, + {"HO", 2, 36, 4, "HO007", 3, 15, 6, 2, 3, 2, 6, 28, 0, 8, 2, 1}, + {"HO", 2, 37, 4, "HO007", 3, 14, 7, 2, 3, 3, 6, 28, 0, 7, 2, 1}, + {"HO", 2, 38, 4, "HO007", 2, 15, 6, 2, 3, 2, 6, 28, 0, 6, 2, 1}, + {"HO", 2, 39, 4, "HO007", 2, 14, 7, 2, 3, 3, 6, 28, 0, 5, 2, 1}, + {"HO", 2, 40, 4, "HO008", 1, 4, 3, 0, 1, 4, 6, 28, 9, 2, 6, 0}, + {"HO", 2, 41, 4, "HO008", 1, 7, 2, 1, 1, 1, 6, 28, 9, 1, 6, 0}, + {"HO", 2, 42, 4, "HO008", 2, 4, 3, 0, 1, 4, 6, 28, 8, 8, 6, 1}, + {"HO", 2, 43, 4, "HO008", 2, 7, 2, 1, 1, 1, 6, 28, 8, 7, 6, 1}, + {"HO", 2, 44, 4, "HO008", 3, 4, 3, 0, 1, 4, 6, 28, 8, 6, 6, 1}, + {"HO", 2, 45, 4, "HO008", 3, 7, 2, 1, 1, 1, 6, 28, 8, 5, 6, 1}, + {"HO", 2, 46, 4, "HO009", 1, 4, 3, 0, 1, 4, 6, 29, 5, 2, 15, 0}, + {"HO", 2, 47, 4, "HO009", 1, 7, 2, 1, 1, 1, 6, 29, 5, 1, 15, 0}, + {"HO", 2, 48, 4, "HO009", 2, 4, 3, 0, 1, 4, 6, 29, 4, 8, 15, 1}, + {"HO", 2, 49, 4, "HO009", 2, 7, 2, 1, 1, 1, 6, 29, 4, 7, 15, 1}, + {"HO", 2, 50, 4, "HO009", 3, 4, 3, 0, 1, 4, 6, 29, 4, 6, 15, 1}, + {"HO", 2, 51, 4, "HO009", 3, 7, 2, 1, 1, 1, 6, 29, 4, 5, 15, 1}, + {"HO", 2, 52, 4, "HO010", 4, 15, 6, 2, 3, 2, 13, 30, 1, 2, 2, 0}, + {"HO", 2, 53, 4, "HO010", 4, 14, 7, 2, 3, 3, 13, 30, 1, 1, 2, 0}, + {"HO", 2, 54, 4, "HO010", 3, 15, 6, 2, 3, 2, 13, 30, 0, 8, 2, 1}, + {"HO", 2, 55, 4, "HO010", 3, 14, 7, 2, 3, 3, 13, 30, 0, 7, 2, 1}, + {"HO", 2, 56, 4, "HO010", 2, 15, 6, 2, 3, 2, 13, 30, 0, 6, 2, 1}, + {"HO", 2, 57, 4, "HO010", 2, 14, 7, 2, 3, 3, 13, 30, 0, 5, 2, 1}, + {"HO", 2, 58, 4, "HO011", 4, 15, 6, 2, 3, 2, 13, 30, 9, 2, 6, 0}, + {"HO", 2, 59, 4, "HO011", 4, 14, 7, 2, 3, 3, 13, 30, 9, 1, 6, 0}, + {"HO", 2, 60, 4, "HO011", 3, 15, 6, 2, 3, 2, 13, 30, 8, 8, 6, 1}, + {"HO", 2, 61, 4, "HO011", 3, 14, 7, 2, 3, 3, 13, 30, 8, 7, 6, 1}, + {"HO", 2, 62, 4, "HO011", 2, 15, 6, 2, 3, 2, 13, 30, 8, 6, 6, 1}, + {"HO", 2, 63, 4, "HO011", 2, 14, 7, 2, 3, 3, 13, 30, 8, 5, 6, 1}, + {"HO", 2, 64, 4, "HO012", 1, 4, 3, 0, 1, 4, 13, 31, 5, 2, 15, 0}, + {"HO", 2, 65, 4, "HO012", 1, 7, 2, 1, 1, 1, 13, 31, 5, 1, 15, 0}, + {"HO", 2, 66, 4, "HO012", 2, 4, 3, 0, 1, 4, 13, 31, 4, 8, 15, 1}, + {"HO", 2, 67, 4, "HO012", 2, 7, 2, 1, 1, 1, 13, 31, 4, 7, 15, 1}, + {"HO", 2, 68, 4, "HO012", 3, 4, 3, 0, 1, 4, 13, 31, 4, 6, 15, 1}, + {"HO", 2, 69, 4, "HO012", 3, 7, 2, 1, 1, 1, 13, 31, 4, 5, 15, 1}, + {"HO", 2, 70, 4, "HO001", 1, 4, 3, 0, 1, 4, 3, 24, 1, 2, 2, 0}, + {"HO", 2, 71, 4, "HO001", 1, 7, 2, 1, 1, 1, 3, 24, 1, 1, 2, 0}, + {"HO", 3, 0, 4, "HO001", 2, 1, 5, 1, 2, 5, 3, 24, 4, 4, 4, 1}, + {"HO", 3, 1, 4, "HO001", 2, 3, 5, 2, 2, 3, 3, 24, 4, 4, 4, 1}, + {"HO", 3, 2, 4, "HO001", 3, 1, 5, 1, 2, 5, 3, 24, 4, 5, 4, 1}, + {"HO", 3, 3, 4, "HO001", 3, 3, 5, 2, 2, 3, 3, 24, 4, 5, 4, 1}, + {"HO", 3, 4, 4, "HO002", 4, 19, 4, 0, 2, 0, 3, 25, 0, 3, 13, 1}, + {"HO", 3, 5, 4, "HO002", 4, 17, 4, 2, 2, 2, 3, 25, 0, 3, 13, 1}, + {"HO", 3, 6, 4, "HO002", 3, 19, 4, 0, 2, 0, 3, 25, 0, 4, 13, 1}, + {"HO", 3, 7, 4, "HO002", 3, 17, 4, 2, 2, 2, 3, 25, 0, 4, 13, 1}, + {"HO", 3, 8, 4, "HO002", 2, 19, 4, 0, 2, 0, 3, 25, 0, 5, 13, 1}, + {"HO", 3, 9, 4, "HO002", 2, 17, 4, 2, 2, 2, 3, 25, 0, 5, 13, 1}, + {"HO", 3, 10, 4, "HO003", 4, 19, 4, 0, 2, 0, 3, 25, 8, 3, 17, 1}, + {"HO", 3, 11, 4, "HO003", 4, 17, 4, 2, 2, 2, 3, 25, 8, 3, 17, 1}, + {"HO", 3, 12, 4, "HO003", 3, 19, 4, 0, 2, 0, 3, 25, 8, 4, 17, 1}, + {"HO", 3, 13, 4, "HO003", 3, 17, 4, 2, 2, 2, 3, 25, 8, 4, 17, 1}, + {"HO", 3, 14, 4, "HO003", 2, 19, 4, 0, 2, 0, 3, 25, 8, 5, 17, 1}, + {"HO", 3, 15, 4, "HO003", 2, 17, 4, 2, 2, 2, 3, 25, 8, 5, 17, 1}, + {"HO", 3, 16, 4, "HO004", 1, 1, 5, 1, 2, 5, 7, 26, 4, 3, 4, 1}, + {"HO", 3, 17, 4, "HO004", 1, 3, 5, 2, 2, 3, 7, 26, 4, 3, 4, 1}, + {"HO", 3, 18, 4, "HO004", 2, 1, 5, 1, 2, 5, 7, 26, 4, 4, 4, 1}, + {"HO", 3, 19, 4, "HO004", 2, 3, 5, 2, 2, 3, 7, 26, 4, 4, 4, 1}, + {"HO", 3, 20, 4, "HO004", 3, 1, 5, 1, 2, 5, 7, 26, 4, 5, 4, 1}, + {"HO", 3, 21, 4, "HO004", 3, 3, 5, 2, 2, 3, 7, 26, 4, 5, 4, 1}, + {"HO", 3, 22, 4, "HO005", 1, 1, 5, 1, 2, 5, 7, 27, 0, 3, 13, 1}, + {"HO", 3, 23, 4, "HO005", 1, 3, 5, 2, 2, 3, 7, 27, 0, 3, 13, 1}, + {"HO", 3, 24, 4, "HO005", 2, 1, 5, 1, 2, 5, 7, 27, 0, 4, 13, 1}, + {"HO", 3, 25, 4, "HO005", 2, 3, 5, 2, 2, 3, 7, 27, 0, 4, 13, 1}, + {"HO", 3, 26, 4, "HO005", 3, 1, 5, 1, 2, 5, 7, 27, 0, 5, 13, 1}, + {"HO", 3, 27, 4, "HO005", 3, 3, 5, 2, 2, 3, 7, 27, 0, 5, 13, 1}, + {"HO", 3, 28, 4, "HO006", 4, 19, 4, 0, 2, 0, 7, 27, 8, 3, 17, 1}, + {"HO", 3, 29, 4, "HO006", 4, 17, 4, 2, 2, 2, 7, 27, 8, 3, 17, 1}, + {"HO", 3, 30, 4, "HO006", 3, 19, 4, 0, 2, 0, 7, 27, 8, 4, 17, 1}, + {"HO", 3, 31, 4, "HO006", 3, 17, 4, 2, 2, 2, 7, 27, 8, 4, 17, 1}, + {"HO", 3, 32, 4, "HO006", 2, 19, 4, 0, 2, 0, 7, 27, 8, 5, 17, 1}, + {"HO", 3, 33, 4, "HO006", 2, 17, 4, 2, 2, 2, 7, 27, 8, 5, 17, 1}, + {"HO", 3, 34, 4, "HO007", 4, 19, 4, 0, 2, 0, 6, 28, 4, 3, 4, 1}, + {"HO", 3, 35, 4, "HO007", 4, 17, 4, 2, 2, 2, 6, 28, 4, 3, 4, 1}, + {"HO", 3, 36, 4, "HO007", 3, 19, 4, 0, 2, 0, 6, 28, 4, 4, 4, 1}, + {"HO", 3, 37, 4, "HO007", 3, 17, 4, 2, 2, 2, 6, 28, 4, 4, 4, 1}, + {"HO", 3, 38, 4, "HO007", 2, 19, 4, 0, 2, 0, 6, 28, 4, 5, 4, 1}, + {"HO", 3, 39, 4, "HO007", 2, 17, 4, 2, 2, 2, 6, 28, 4, 5, 4, 1}, + {"HO", 3, 40, 4, "HO008", 1, 1, 5, 1, 2, 5, 6, 29, 0, 3, 13, 1}, + {"HO", 3, 41, 4, "HO008", 1, 3, 5, 2, 2, 3, 6, 29, 0, 3, 13, 1}, + {"HO", 3, 42, 4, "HO008", 2, 1, 5, 1, 2, 5, 6, 29, 0, 4, 13, 1}, + {"HO", 3, 43, 4, "HO008", 2, 3, 5, 2, 2, 3, 6, 29, 0, 4, 13, 1}, + {"HO", 3, 44, 4, "HO008", 3, 1, 5, 1, 2, 5, 6, 29, 0, 5, 13, 1}, + {"HO", 3, 45, 4, "HO008", 3, 3, 5, 2, 2, 3, 6, 29, 0, 5, 13, 1}, + {"HO", 3, 46, 4, "HO009", 1, 1, 5, 1, 2, 5, 6, 29, 8, 3, 17, 1}, + {"HO", 3, 47, 4, "HO009", 1, 3, 5, 2, 2, 3, 6, 29, 8, 3, 17, 1}, + {"HO", 3, 48, 4, "HO009", 2, 1, 5, 1, 2, 5, 6, 29, 8, 4, 17, 1}, + {"HO", 3, 49, 4, "HO009", 2, 3, 5, 2, 2, 3, 6, 29, 8, 4, 17, 1}, + {"HO", 3, 50, 4, "HO009", 3, 1, 5, 1, 2, 5, 6, 29, 8, 5, 17, 1}, + {"HO", 3, 51, 4, "HO009", 3, 3, 5, 2, 2, 3, 6, 29, 8, 5, 17, 1}, + {"HO", 3, 52, 4, "HO010", 4, 19, 4, 0, 2, 0, 13, 30, 4, 3, 4, 1}, + {"HO", 3, 53, 4, "HO010", 4, 17, 4, 2, 2, 2, 13, 30, 4, 3, 4, 1}, + {"HO", 3, 54, 4, "HO010", 3, 19, 4, 0, 2, 0, 13, 30, 4, 4, 4, 1}, + {"HO", 3, 55, 4, "HO010", 3, 17, 4, 2, 2, 2, 13, 30, 4, 4, 4, 1}, + {"HO", 3, 56, 4, "HO010", 2, 19, 4, 0, 2, 0, 13, 30, 4, 5, 4, 1}, + {"HO", 3, 57, 4, "HO010", 2, 17, 4, 2, 2, 2, 13, 30, 4, 5, 4, 1}, + {"HO", 3, 58, 4, "HO011", 4, 19, 4, 0, 2, 0, 13, 31, 0, 3, 13, 1}, + {"HO", 3, 59, 4, "HO011", 4, 17, 4, 2, 2, 2, 13, 31, 0, 3, 13, 1}, + {"HO", 3, 60, 4, "HO011", 3, 19, 4, 0, 2, 0, 13, 31, 0, 4, 13, 1}, + {"HO", 3, 61, 4, "HO011", 3, 17, 4, 2, 2, 2, 13, 31, 0, 4, 13, 1}, + {"HO", 3, 62, 4, "HO011", 2, 19, 4, 0, 2, 0, 13, 31, 0, 5, 13, 1}, + {"HO", 3, 63, 4, "HO011", 2, 17, 4, 2, 2, 2, 13, 31, 0, 5, 13, 1}, + {"HO", 3, 64, 4, "HO012", 1, 1, 5, 1, 2, 5, 13, 31, 8, 3, 17, 1}, + {"HO", 3, 65, 4, "HO012", 1, 3, 5, 2, 2, 3, 13, 31, 8, 3, 17, 1}, + {"HO", 3, 66, 4, "HO012", 2, 1, 5, 1, 2, 5, 13, 31, 8, 4, 17, 1}, + {"HO", 3, 67, 4, "HO012", 2, 3, 5, 2, 2, 3, 13, 31, 8, 4, 17, 1}, + {"HO", 3, 68, 4, "HO012", 3, 1, 5, 1, 2, 5, 13, 31, 8, 5, 17, 1}, + {"HO", 3, 69, 4, "HO012", 3, 3, 5, 2, 2, 3, 13, 31, 8, 5, 17, 1}, + {"HO", 3, 70, 4, "HO001", 1, 1, 5, 1, 2, 5, 3, 24, 4, 3, 4, 1}, + {"HO", 3, 71, 4, "HO001", 1, 3, 5, 2, 2, 3, 3, 24, 4, 3, 4, 1}, + {"HO", 4, 0, 4, "HO1P02", 2, 1, 3, 2, 1, 3, 3, 24, 4, 2, 4, 1}, + {"HO", 4, 1, 4, "HO1P02", 4, 8, 3, 1, 1, 5, 3, 24, 4, 1, 4, 1}, + {"HO", 4, 2, 4, "HO1P02", 4, 4, 3, 0, 1, 4, 3, 24, 4, 1, 4, 1}, + {"HO", 4, 3, 4, "HO1P02", 4, 1, 3, 2, 1, 3, 3, 24, 4, 1, 4, 1}, + {"HO", 4, 4, 4, "HO1P02", 3, 1, 3, 2, 1, 3, 3, 25, 0, 2, 13, 1}, + {"HO", 4, 5, 4, "HO1P02", 3, 4, 3, 0, 1, 4, 3, 25, 0, 2, 13, 1}, + {"HO", 4, 6, 4, "HO1P02", 3, 8, 3, 1, 1, 5, 3, 25, 0, 2, 13, 1}, + {"HO", 4, 7, 4, "HO1P02", 1, 1, 3, 2, 1, 3, 3, 25, 0, 1, 13, 1}, + {"HO", 4, 8, 4, "HO1P02", 1, 4, 3, 0, 1, 4, 3, 25, 0, 1, 13, 1}, + {"HO", 4, 9, 4, "HO1P02", 1, 8, 3, 1, 1, 5, 3, 25, 0, 1, 13, 1}, + {"HO", 4, 10, 4, "HO1P04", 2, 8, 3, 1, 1, 5, 3, 25, 8, 2, 17, 1}, + {"HO", 4, 11, 4, "HO1P04", 2, 4, 3, 0, 1, 4, 3, 25, 8, 2, 17, 1}, + {"HO", 4, 12, 4, "HO1P04", 2, 1, 3, 2, 1, 3, 3, 25, 8, 2, 17, 1}, + {"HO", 4, 13, 4, "HO1P04", 4, 8, 3, 1, 1, 5, 3, 25, 8, 1, 17, 1}, + {"HO", 4, 14, 4, "HO1P04", 4, 4, 3, 0, 1, 4, 3, 25, 8, 1, 17, 1}, + {"HO", 4, 15, 4, "HO1P04", 4, 1, 3, 2, 1, 3, 3, 25, 8, 1, 17, 1}, + {"HO", 4, 16, 4, "HO1P04", 3, 1, 3, 2, 1, 3, 7, 26, 4, 2, 4, 1}, + {"HO", 4, 17, 4, "HO1P04", 3, 4, 3, 0, 1, 4, 7, 26, 4, 2, 4, 1}, + {"HO", 4, 18, 4, "HO1P04", 3, 8, 3, 1, 1, 5, 7, 26, 4, 2, 4, 1}, + {"HO", 4, 19, 4, "HO1P04", 1, 1, 3, 2, 1, 3, 7, 26, 4, 1, 4, 1}, + {"HO", 4, 20, 4, "HO1P04", 1, 4, 3, 0, 1, 4, 7, 26, 4, 1, 4, 1}, + {"HO", 4, 21, 4, "HO1P04", 1, 8, 3, 1, 1, 5, 7, 26, 4, 1, 4, 1}, + {"HO", 4, 22, 4, "HO1P06", 2, 8, 3, 1, 1, 5, 7, 27, 0, 2, 13, 1}, + {"HO", 4, 23, 4, "HO1P06", 2, 4, 3, 0, 1, 4, 7, 27, 0, 2, 13, 1}, + {"HO", 4, 24, 4, "HO1P06", 2, 1, 3, 2, 1, 3, 7, 27, 0, 2, 13, 1}, + {"HO", 4, 25, 4, "HO1P06", 4, 8, 3, 1, 1, 5, 7, 27, 0, 1, 13, 1}, + {"HO", 4, 26, 4, "HO1P06", 4, 4, 3, 0, 1, 4, 7, 27, 0, 1, 13, 1}, + {"HO", 4, 27, 4, "HO1P06", 4, 1, 3, 2, 1, 3, 7, 27, 0, 1, 13, 1}, + {"HO", 4, 28, 4, "HO1P06", 3, 1, 3, 2, 1, 3, 7, 27, 8, 2, 17, 1}, + {"HO", 4, 29, 4, "HO1P06", 3, 4, 3, 0, 1, 4, 7, 27, 8, 2, 17, 1}, + {"HO", 4, 30, 4, "HO1P06", 3, 8, 3, 1, 1, 5, 7, 27, 8, 2, 17, 1}, + {"HO", 4, 31, 4, "HO1P06", 1, 1, 3, 2, 1, 3, 7, 27, 8, 1, 17, 1}, + {"HO", 4, 32, 4, "HO1P06", 1, 4, 3, 0, 1, 4, 7, 27, 8, 1, 17, 1}, + {"HO", 4, 33, 4, "HO1P06", 1, 8, 3, 1, 1, 5, 7, 27, 8, 1, 17, 1}, + {"HO", 4, 34, 4, "HO1P08", 2, 8, 3, 1, 1, 5, 6, 28, 4, 2, 4, 1}, + {"HO", 4, 35, 4, "HO1P08", 2, 4, 3, 0, 1, 4, 6, 28, 4, 2, 4, 1}, + {"HO", 4, 36, 4, "HO1P08", 2, 1, 3, 2, 1, 3, 6, 28, 4, 2, 4, 1}, + {"HO", 4, 37, 4, "HO1P08", 4, 8, 3, 1, 1, 5, 6, 28, 4, 1, 4, 1}, + {"HO", 4, 38, 4, "HO1P08", 4, 4, 3, 0, 1, 4, 6, 28, 4, 1, 4, 1}, + {"HO", 4, 39, 4, "HO1P08", 4, 1, 3, 2, 1, 3, 6, 28, 4, 1, 4, 1}, + {"HO", 4, 40, 4, "HO1P08", 3, 1, 3, 2, 1, 3, 6, 29, 0, 2, 13, 1}, + {"HO", 4, 41, 4, "HO1P08", 3, 4, 3, 0, 1, 4, 6, 29, 0, 2, 13, 1}, + {"HO", 4, 42, 4, "HO1P08", 3, 8, 3, 1, 1, 5, 6, 29, 0, 2, 13, 1}, + {"HO", 4, 43, 4, "HO1P08", 1, 1, 3, 2, 1, 3, 6, 29, 0, 1, 13, 1}, + {"HO", 4, 44, 4, "HO1P08", 1, 4, 3, 0, 1, 4, 6, 29, 0, 1, 13, 1}, + {"HO", 4, 45, 4, "HO1P08", 1, 8, 3, 1, 1, 5, 6, 29, 0, 1, 13, 1}, + {"HO", 4, 46, 4, "HO1P10", 2, 8, 3, 1, 1, 5, 6, 29, 8, 2, 17, 1}, + {"HO", 4, 47, 4, "HO1P10", 2, 4, 3, 0, 1, 4, 6, 29, 8, 2, 17, 1}, + {"HO", 4, 48, 4, "HO1P10", 2, 1, 3, 2, 1, 3, 6, 29, 8, 2, 17, 1}, + {"HO", 4, 49, 4, "HO1P10", 4, 8, 3, 1, 1, 5, 6, 29, 8, 1, 17, 1}, + {"HO", 4, 50, 4, "HO1P10", 4, 4, 3, 0, 1, 4, 6, 29, 8, 1, 17, 1}, + {"HO", 4, 51, 4, "HO1P10", 4, 1, 3, 2, 1, 3, 6, 29, 8, 1, 17, 1}, + {"HO", 4, 52, 4, "HO1P10", 3, 1, 3, 2, 1, 3, 13, 30, 4, 2, 4, 1}, + {"HO", 4, 53, 4, "HO1P10", 3, 4, 3, 0, 1, 4, 13, 30, 4, 2, 4, 1}, + {"HO", 4, 54, 4, "HO1P10", 3, 8, 3, 1, 1, 5, 13, 30, 4, 2, 4, 1}, + {"HO", 4, 55, 4, "HO1P10", 1, 1, 3, 2, 1, 3, 13, 30, 4, 1, 4, 1}, + {"HO", 4, 56, 4, "HO1P10", 1, 4, 3, 0, 1, 4, 13, 30, 4, 1, 4, 1}, + {"HO", 4, 57, 4, "HO1P10", 1, 8, 3, 1, 1, 5, 13, 30, 4, 1, 4, 1}, + {"HO", 4, 58, 4, "HO1P12", 2, 8, 3, 1, 1, 5, 13, 31, 0, 2, 13, 1}, + {"HO", 4, 59, 4, "HO1P12", 2, 4, 3, 0, 1, 4, 13, 31, 0, 2, 13, 1}, + {"HO", 4, 60, 4, "HO1P12", 2, 1, 3, 2, 1, 3, 13, 31, 0, 2, 13, 1}, + {"HO", 4, 61, 4, "HO1P12", 4, 8, 3, 1, 1, 5, 13, 31, 0, 1, 13, 1}, + {"HO", 4, 62, 4, "HO1P12", 4, 4, 3, 0, 1, 4, 13, 31, 0, 1, 13, 1}, + {"HO", 4, 63, 4, "HO1P12", 4, 1, 3, 2, 1, 3, 13, 31, 0, 1, 13, 1}, + {"HO", 4, 64, 4, "HO1P12", 3, 1, 3, 2, 1, 3, 13, 31, 8, 2, 17, 1}, + {"HO", 4, 65, 4, "HO1P12", 3, 4, 3, 0, 1, 4, 13, 31, 8, 2, 17, 1}, + {"HO", 4, 66, 4, "HO1P12", 3, 8, 3, 1, 1, 5, 13, 31, 8, 2, 17, 1}, + {"HO", 4, 67, 4, "HO1P12", 1, 1, 3, 2, 1, 3, 13, 31, 8, 1, 17, 1}, + {"HO", 4, 68, 4, "HO1P12", 1, 4, 3, 0, 1, 4, 13, 31, 8, 1, 17, 1}, + {"HO", 4, 69, 4, "HO1P12", 1, 8, 3, 1, 1, 5, 13, 31, 8, 1, 17, 1}, + {"HO", 4, 70, 4, "HO1P02", 2, 8, 3, 1, 1, 5, 3, 24, 4, 2, 4, 1}, + {"HO", 4, 71, 4, "HO1P02", 2, 4, 3, 0, 1, 4, 3, 24, 4, 2, 4, 1}, + {"HO", 5, 0, 4, "HO1P02", 2, 12, 2, 0, 1, 0, 3, 24, 3, 8, 3, 0}, + {"HO", 5, 1, 4, "HO1P02", 4, 3, 2, 2, 1, 2, 3, 24, 3, 7, 3, 0}, + {"HO", 5, 2, 4, "HO1P02", 4, 7, 2, 1, 1, 1, 3, 24, 3, 7, 3, 0}, + {"HO", 5, 3, 4, "HO1P02", 4, 12, 2, 0, 1, 0, 3, 24, 3, 7, 3, 0}, + {"HO", 5, 4, 4, "HO1P02", 3, 12, 2, 0, 1, 0, 3, 24, 11, 8, 7, 0}, + {"HO", 5, 5, 4, "HO1P02", 3, 7, 2, 1, 1, 1, 3, 24, 11, 8, 7, 0}, + {"HO", 5, 6, 4, "HO1P02", 3, 3, 2, 2, 1, 2, 3, 24, 11, 8, 7, 0}, + {"HO", 5, 7, 4, "HO1P02", 1, 12, 2, 0, 1, 0, 3, 24, 11, 7, 7, 0}, + {"HO", 5, 8, 4, "HO1P02", 1, 7, 2, 1, 1, 1, 3, 24, 11, 7, 7, 0}, + {"HO", 5, 9, 4, "HO1P02", 1, 3, 2, 2, 1, 2, 3, 24, 11, 7, 7, 0}, + {"HO", 5, 10, 4, "HO1P04", 2, 3, 2, 2, 1, 2, 3, 25, 7, 8, 16, 0}, + {"HO", 5, 11, 4, "HO1P04", 2, 7, 2, 1, 1, 1, 3, 25, 7, 8, 16, 0}, + {"HO", 5, 12, 4, "HO1P04", 2, 12, 2, 0, 1, 0, 3, 25, 7, 8, 16, 0}, + {"HO", 5, 13, 4, "HO1P04", 4, 3, 2, 2, 1, 2, 3, 25, 7, 7, 16, 0}, + {"HO", 5, 14, 4, "HO1P04", 4, 7, 2, 1, 1, 1, 3, 25, 7, 7, 16, 0}, + {"HO", 5, 15, 4, "HO1P04", 4, 12, 2, 0, 1, 0, 3, 25, 7, 7, 16, 0}, + {"HO", 5, 16, 4, "HO1P04", 3, 12, 2, 0, 1, 0, 7, 26, 3, 8, 3, 0}, + {"HO", 5, 17, 4, "HO1P04", 3, 7, 2, 1, 1, 1, 7, 26, 3, 8, 3, 0}, + {"HO", 5, 18, 4, "HO1P04", 3, 3, 2, 2, 1, 2, 7, 26, 3, 8, 3, 0}, + {"HO", 5, 19, 4, "HO1P04", 1, 12, 2, 0, 1, 0, 7, 26, 3, 7, 3, 0}, + {"HO", 5, 20, 4, "HO1P04", 1, 7, 2, 1, 1, 1, 7, 26, 3, 7, 3, 0}, + {"HO", 5, 21, 4, "HO1P04", 1, 3, 2, 2, 1, 2, 7, 26, 3, 7, 3, 0}, + {"HO", 5, 22, 4, "HO1P06", 2, 3, 2, 2, 1, 2, 7, 26, 11, 8, 7, 0}, + {"HO", 5, 23, 4, "HO1P06", 2, 7, 2, 1, 1, 1, 7, 26, 11, 8, 7, 0}, + {"HO", 5, 24, 4, "HO1P06", 2, 12, 2, 0, 1, 0, 7, 26, 11, 8, 7, 0}, + {"HO", 5, 25, 4, "HO1P06", 4, 3, 2, 2, 1, 2, 7, 26, 11, 7, 7, 0}, + {"HO", 5, 26, 4, "HO1P06", 4, 7, 2, 1, 1, 1, 7, 26, 11, 7, 7, 0}, + {"HO", 5, 27, 4, "HO1P06", 4, 12, 2, 0, 1, 0, 7, 26, 11, 7, 7, 0}, + {"HO", 5, 28, 4, "HO1P06", 3, 12, 2, 0, 1, 0, 7, 27, 7, 8, 16, 0}, + {"HO", 5, 29, 4, "HO1P06", 3, 7, 2, 1, 1, 1, 7, 27, 7, 8, 16, 0}, + {"HO", 5, 30, 4, "HO1P06", 3, 3, 2, 2, 1, 2, 7, 27, 7, 8, 16, 0}, + {"HO", 5, 31, 4, "HO1P06", 1, 12, 2, 0, 1, 0, 7, 27, 7, 7, 16, 0}, + {"HO", 5, 32, 4, "HO1P06", 1, 7, 2, 1, 1, 1, 7, 27, 7, 7, 16, 0}, + {"HO", 5, 33, 4, "HO1P06", 1, 3, 2, 2, 1, 2, 7, 27, 7, 7, 16, 0}, + {"HO", 5, 34, 4, "HO1P08", 2, 3, 2, 2, 1, 2, 6, 28, 3, 8, 3, 0}, + {"HO", 5, 35, 4, "HO1P08", 2, 7, 2, 1, 1, 1, 6, 28, 3, 8, 3, 0}, + {"HO", 5, 36, 4, "HO1P08", 2, 12, 2, 0, 1, 0, 6, 28, 3, 8, 3, 0}, + {"HO", 5, 37, 4, "HO1P08", 4, 3, 2, 2, 1, 2, 6, 28, 3, 7, 3, 0}, + {"HO", 5, 38, 4, "HO1P08", 4, 7, 2, 1, 1, 1, 6, 28, 3, 7, 3, 0}, + {"HO", 5, 39, 4, "HO1P08", 4, 12, 2, 0, 1, 0, 6, 28, 3, 7, 3, 0}, + {"HO", 5, 40, 4, "HO1P08", 3, 12, 2, 0, 1, 0, 6, 28, 11, 8, 7, 0}, + {"HO", 5, 41, 4, "HO1P08", 3, 7, 2, 1, 1, 1, 6, 28, 11, 8, 7, 0}, + {"HO", 5, 42, 4, "HO1P08", 3, 3, 2, 2, 1, 2, 6, 28, 11, 8, 7, 0}, + {"HO", 5, 43, 4, "HO1P08", 1, 12, 2, 0, 1, 0, 6, 28, 11, 7, 7, 0}, + {"HO", 5, 44, 4, "HO1P08", 1, 7, 2, 1, 1, 1, 6, 28, 11, 7, 7, 0}, + {"HO", 5, 45, 4, "HO1P08", 1, 3, 2, 2, 1, 2, 6, 28, 11, 7, 7, 0}, + {"HO", 5, 46, 4, "HO1P10", 2, 3, 2, 2, 1, 2, 6, 29, 7, 8, 16, 0}, + {"HO", 5, 47, 4, "HO1P10", 2, 7, 2, 1, 1, 1, 6, 29, 7, 8, 16, 0}, + {"HO", 5, 48, 4, "HO1P10", 2, 12, 2, 0, 1, 0, 6, 29, 7, 8, 16, 0}, + {"HO", 5, 49, 4, "HO1P10", 4, 3, 2, 2, 1, 2, 6, 29, 7, 7, 16, 0}, + {"HO", 5, 50, 4, "HO1P10", 4, 7, 2, 1, 1, 1, 6, 29, 7, 7, 16, 0}, + {"HO", 5, 51, 4, "HO1P10", 4, 12, 2, 0, 1, 0, 6, 29, 7, 7, 16, 0}, + {"HO", 5, 52, 4, "HO1P10", 3, 12, 2, 0, 1, 0, 13, 30, 3, 8, 3, 0}, + {"HO", 5, 53, 4, "HO1P10", 3, 7, 2, 1, 1, 1, 13, 30, 3, 8, 3, 0}, + {"HO", 5, 54, 4, "HO1P10", 3, 3, 2, 2, 1, 2, 13, 30, 3, 8, 3, 0}, + {"HO", 5, 55, 4, "HO1P10", 1, 12, 2, 0, 1, 0, 13, 30, 3, 7, 3, 0}, + {"HO", 5, 56, 4, "HO1P10", 1, 7, 2, 1, 1, 1, 13, 30, 3, 7, 3, 0}, + {"HO", 5, 57, 4, "HO1P10", 1, 3, 2, 2, 1, 2, 13, 30, 3, 7, 3, 0}, + {"HO", 5, 58, 4, "HO1P12", 2, 3, 2, 2, 1, 2, 13, 30, 11, 8, 7, 0}, + {"HO", 5, 59, 4, "HO1P12", 2, 7, 2, 1, 1, 1, 13, 30, 11, 8, 7, 0}, + {"HO", 5, 60, 4, "HO1P12", 2, 12, 2, 0, 1, 0, 13, 30, 11, 8, 7, 0}, + {"HO", 5, 61, 4, "HO1P12", 4, 3, 2, 2, 1, 2, 13, 30, 11, 7, 7, 0}, + {"HO", 5, 62, 4, "HO1P12", 4, 7, 2, 1, 1, 1, 13, 30, 11, 7, 7, 0}, + {"HO", 5, 63, 4, "HO1P12", 4, 12, 2, 0, 1, 0, 13, 30, 11, 7, 7, 0}, + {"HO", 5, 64, 4, "HO1P12", 3, 12, 2, 0, 1, 0, 13, 31, 7, 8, 16, 0}, + {"HO", 5, 65, 4, "HO1P12", 3, 7, 2, 1, 1, 1, 13, 31, 7, 8, 16, 0}, + {"HO", 5, 66, 4, "HO1P12", 3, 3, 2, 2, 1, 2, 13, 31, 7, 8, 16, 0}, + {"HO", 5, 67, 4, "HO1P12", 1, 12, 2, 0, 1, 0, 13, 31, 7, 7, 16, 0}, + {"HO", 5, 68, 4, "HO1P12", 1, 7, 2, 1, 1, 1, 13, 31, 7, 7, 16, 0}, + {"HO", 5, 69, 4, "HO1P12", 1, 3, 2, 2, 1, 2, 13, 31, 7, 7, 16, 0}, + {"HO", 5, 70, 4, "HO1P02", 2, 3, 2, 2, 1, 2, 3, 24, 3, 8, 3, 0}, + {"HO", 5, 71, 4, "HO1P02", 2, 7, 2, 1, 1, 1, 3, 24, 3, 8, 3, 0}, + {"HO", 6, 0, 4, "HO1P02", 2, 5, 5, 2, 2, 3, 3, 24, 3, 6, 3, 0}, + {"HO", 6, 1, 4, "HO1P02", 4, 13, 5, 1, 2, 5, 3, 24, 3, 5, 3, 0}, + {"HO", 6, 2, 4, "HO1P02", 4, 9, 5, 0, 2, 4, 3, 24, 3, 5, 3, 0}, + {"HO", 6, 3, 4, "HO1P02", 4, 5, 5, 2, 2, 3, 3, 24, 3, 5, 3, 0}, + {"HO", 6, 4, 4, "HO1P02", 3, 5, 5, 2, 2, 3, 3, 24, 11, 6, 7, 0}, + {"HO", 6, 5, 4, "HO1P02", 3, 9, 5, 0, 2, 4, 3, 24, 11, 6, 7, 0}, + {"HO", 6, 6, 4, "HO1P02", 3, 13, 5, 1, 2, 5, 3, 24, 11, 6, 7, 0}, + {"HO", 6, 7, 4, "HO1P02", 1, 5, 5, 2, 2, 3, 3, 24, 11, 5, 7, 0}, + {"HO", 6, 8, 4, "HO1P02", 1, 9, 5, 0, 2, 4, 3, 24, 11, 5, 7, 0}, + {"HO", 6, 9, 4, "HO1P02", 1, 13, 5, 1, 2, 5, 3, 24, 11, 5, 7, 0}, + {"HO", 6, 10, 4, "HO1P04", 2, 13, 5, 1, 2, 5, 3, 25, 7, 6, 16, 0}, + {"HO", 6, 11, 4, "HO1P04", 2, 9, 5, 0, 2, 4, 3, 25, 7, 6, 16, 0}, + {"HO", 6, 12, 4, "HO1P04", 2, 5, 5, 2, 2, 3, 3, 25, 7, 6, 16, 0}, + {"HO", 6, 13, 4, "HO1P04", 4, 13, 5, 1, 2, 5, 3, 25, 7, 5, 16, 0}, + {"HO", 6, 14, 4, "HO1P04", 4, 9, 5, 0, 2, 4, 3, 25, 7, 5, 16, 0}, + {"HO", 6, 15, 4, "HO1P04", 4, 5, 5, 2, 2, 3, 3, 25, 7, 5, 16, 0}, + {"HO", 6, 16, 4, "HO1P04", 3, 5, 5, 2, 2, 3, 7, 26, 3, 6, 3, 0}, + {"HO", 6, 17, 4, "HO1P04", 3, 9, 5, 0, 2, 4, 7, 26, 3, 6, 3, 0}, + {"HO", 6, 18, 4, "HO1P04", 3, 13, 5, 1, 2, 5, 7, 26, 3, 6, 3, 0}, + {"HO", 6, 19, 4, "HO1P04", 1, 5, 5, 2, 2, 3, 7, 26, 3, 5, 3, 0}, + {"HO", 6, 20, 4, "HO1P04", 1, 9, 5, 0, 2, 4, 7, 26, 3, 5, 3, 0}, + {"HO", 6, 21, 4, "HO1P04", 1, 13, 5, 1, 2, 5, 7, 26, 3, 5, 3, 0}, + {"HO", 6, 22, 4, "HO1P06", 2, 13, 5, 1, 2, 5, 7, 26, 11, 6, 7, 0}, + {"HO", 6, 23, 4, "HO1P06", 2, 9, 5, 0, 2, 4, 7, 26, 11, 6, 7, 0}, + {"HO", 6, 24, 4, "HO1P06", 2, 5, 5, 2, 2, 3, 7, 26, 11, 6, 7, 0}, + {"HO", 6, 25, 4, "HO1P06", 4, 13, 5, 1, 2, 5, 7, 26, 11, 5, 7, 0}, + {"HO", 6, 26, 4, "HO1P06", 4, 9, 5, 0, 2, 4, 7, 26, 11, 5, 7, 0}, + {"HO", 6, 27, 4, "HO1P06", 4, 5, 5, 2, 2, 3, 7, 26, 11, 5, 7, 0}, + {"HO", 6, 28, 4, "HO1P06", 3, 5, 5, 2, 2, 3, 7, 27, 7, 6, 16, 0}, + {"HO", 6, 29, 4, "HO1P06", 3, 9, 5, 0, 2, 4, 7, 27, 7, 6, 16, 0}, + {"HO", 6, 30, 4, "HO1P06", 3, 13, 5, 1, 2, 5, 7, 27, 7, 6, 16, 0}, + {"HO", 6, 31, 4, "HO1P06", 1, 5, 5, 2, 2, 3, 7, 27, 7, 5, 16, 0}, + {"HO", 6, 32, 4, "HO1P06", 1, 9, 5, 0, 2, 4, 7, 27, 7, 5, 16, 0}, + {"HO", 6, 33, 4, "HO1P06", 1, 13, 5, 1, 2, 5, 7, 27, 7, 5, 16, 0}, + {"HO", 6, 34, 4, "HO1P08", 2, 13, 5, 1, 2, 5, 6, 28, 3, 6, 3, 0}, + {"HO", 6, 35, 4, "HO1P08", 2, 9, 5, 0, 2, 4, 6, 28, 3, 6, 3, 0}, + {"HO", 6, 36, 4, "HO1P08", 2, 5, 5, 2, 2, 3, 6, 28, 3, 6, 3, 0}, + {"HO", 6, 37, 4, "HO1P08", 4, 13, 5, 1, 2, 5, 6, 28, 3, 5, 3, 0}, + {"HO", 6, 38, 4, "HO1P08", 4, 9, 5, 0, 2, 4, 6, 28, 3, 5, 3, 0}, + {"HO", 6, 39, 4, "HO1P08", 4, 5, 5, 2, 2, 3, 6, 28, 3, 5, 3, 0}, + {"HO", 6, 40, 4, "HO1P08", 3, 5, 5, 2, 2, 3, 6, 28, 11, 6, 7, 0}, + {"HO", 6, 41, 4, "HO1P08", 3, 9, 5, 0, 2, 4, 6, 28, 11, 6, 7, 0}, + {"HO", 6, 42, 4, "HO1P08", 3, 13, 5, 1, 2, 5, 6, 28, 11, 6, 7, 0}, + {"HO", 6, 43, 4, "HO1P08", 1, 5, 5, 2, 2, 3, 6, 28, 11, 5, 7, 0}, + {"HO", 6, 44, 4, "HO1P08", 1, 9, 5, 0, 2, 4, 6, 28, 11, 5, 7, 0}, + {"HO", 6, 45, 4, "HO1P08", 1, 13, 5, 1, 2, 5, 6, 28, 11, 5, 7, 0}, + {"HO", 6, 46, 4, "HO1P10", 2, 13, 5, 1, 2, 5, 6, 29, 7, 6, 16, 0}, + {"HO", 6, 47, 4, "HO1P10", 2, 9, 5, 0, 2, 4, 6, 29, 7, 6, 16, 0}, + {"HO", 6, 48, 4, "HO1P10", 2, 5, 5, 2, 2, 3, 6, 29, 7, 6, 16, 0}, + {"HO", 6, 49, 4, "HO1P10", 4, 13, 5, 1, 2, 5, 6, 29, 7, 5, 16, 0}, + {"HO", 6, 50, 4, "HO1P10", 4, 9, 5, 0, 2, 4, 6, 29, 7, 5, 16, 0}, + {"HO", 6, 51, 4, "HO1P10", 4, 5, 5, 2, 2, 3, 6, 29, 7, 5, 16, 0}, + {"HO", 6, 52, 4, "HO1P10", 3, 5, 5, 2, 2, 3, 13, 30, 3, 6, 3, 0}, + {"HO", 6, 53, 4, "HO1P10", 3, 9, 5, 0, 2, 4, 13, 30, 3, 6, 3, 0}, + {"HO", 6, 54, 4, "HO1P10", 3, 13, 5, 1, 2, 5, 13, 30, 3, 6, 3, 0}, + {"HO", 6, 55, 4, "HO1P10", 1, 5, 5, 2, 2, 3, 13, 30, 3, 5, 3, 0}, + {"HO", 6, 56, 4, "HO1P10", 1, 9, 5, 0, 2, 4, 13, 30, 3, 5, 3, 0}, + {"HO", 6, 57, 4, "HO1P10", 1, 13, 5, 1, 2, 5, 13, 30, 3, 5, 3, 0}, + {"HO", 6, 58, 4, "HO1P12", 2, 13, 5, 1, 2, 5, 13, 30, 11, 6, 7, 0}, + {"HO", 6, 59, 4, "HO1P12", 2, 9, 5, 0, 2, 4, 13, 30, 11, 6, 7, 0}, + {"HO", 6, 60, 4, "HO1P12", 2, 5, 5, 2, 2, 3, 13, 30, 11, 6, 7, 0}, + {"HO", 6, 61, 4, "HO1P12", 4, 13, 5, 1, 2, 5, 13, 30, 11, 5, 7, 0}, + {"HO", 6, 62, 4, "HO1P12", 4, 9, 5, 0, 2, 4, 13, 30, 11, 5, 7, 0}, + {"HO", 6, 63, 4, "HO1P12", 4, 5, 5, 2, 2, 3, 13, 30, 11, 5, 7, 0}, + {"HO", 6, 64, 4, "HO1P12", 3, 5, 5, 2, 2, 3, 13, 31, 7, 6, 16, 0}, + {"HO", 6, 65, 4, "HO1P12", 3, 9, 5, 0, 2, 4, 13, 31, 7, 6, 16, 0}, + {"HO", 6, 66, 4, "HO1P12", 3, 13, 5, 1, 2, 5, 13, 31, 7, 6, 16, 0}, + {"HO", 6, 67, 4, "HO1P12", 1, 5, 5, 2, 2, 3, 13, 31, 7, 5, 16, 0}, + {"HO", 6, 68, 4, "HO1P12", 1, 9, 5, 0, 2, 4, 13, 31, 7, 5, 16, 0}, + {"HO", 6, 69, 4, "HO1P12", 1, 13, 5, 1, 2, 5, 13, 31, 7, 5, 16, 0}, + {"HO", 6, 70, 4, "HO1P02", 2, 13, 5, 1, 2, 5, 3, 24, 3, 6, 3, 0}, + {"HO", 6, 71, 4, "HO1P02", 2, 9, 5, 0, 2, 4, 3, 24, 3, 6, 3, 0}, + {"HO", 7, 0, 4, "HO1P02", 2, 11, 4, 0, 2, 0, 3, 24, 3, 4, 3, 0}, + {"HO", 7, 1, 4, "HO1P02", 4, 2, 4, 2, 2, 2, 3, 24, 3, 3, 3, 0}, + {"HO", 7, 2, 4, "HO1P02", 4, 6, 4, 1, 2, 1, 3, 24, 3, 3, 3, 0}, + {"HO", 7, 3, 4, "HO1P02", 4, 11, 4, 0, 2, 0, 3, 24, 3, 3, 3, 0}, + {"HO", 7, 4, 4, "HO1P02", 3, 11, 4, 0, 2, 0, 3, 24, 11, 4, 7, 0}, + {"HO", 7, 5, 4, "HO1P02", 3, 6, 4, 1, 2, 1, 3, 24, 11, 4, 7, 0}, + {"HO", 7, 6, 4, "HO1P02", 3, 2, 4, 2, 2, 2, 3, 24, 11, 4, 7, 0}, + {"HO", 7, 7, 4, "HO1P02", 1, 11, 4, 0, 2, 0, 3, 24, 11, 3, 7, 0}, + {"HO", 7, 8, 4, "HO1P02", 1, 6, 4, 1, 2, 1, 3, 24, 11, 3, 7, 0}, + {"HO", 7, 9, 4, "HO1P02", 1, 2, 4, 2, 2, 2, 3, 24, 11, 3, 7, 0}, + {"HO", 7, 10, 4, "HO1P04", 2, 2, 4, 2, 2, 2, 3, 25, 7, 4, 16, 0}, + {"HO", 7, 11, 4, "HO1P04", 2, 6, 4, 1, 2, 1, 3, 25, 7, 4, 16, 0}, + {"HO", 7, 12, 4, "HO1P04", 2, 11, 4, 0, 2, 0, 3, 25, 7, 4, 16, 0}, + {"HO", 7, 13, 4, "HO1P04", 4, 2, 4, 2, 2, 2, 3, 25, 7, 3, 16, 0}, + {"HO", 7, 14, 4, "HO1P04", 4, 6, 4, 1, 2, 1, 3, 25, 7, 3, 16, 0}, + {"HO", 7, 15, 4, "HO1P04", 4, 11, 4, 0, 2, 0, 3, 25, 7, 3, 16, 0}, + {"HO", 7, 16, 4, "HO1P04", 3, 11, 4, 0, 2, 0, 7, 26, 3, 4, 3, 0}, + {"HO", 7, 17, 4, "HO1P04", 3, 6, 4, 1, 2, 1, 7, 26, 3, 4, 3, 0}, + {"HO", 7, 18, 4, "HO1P04", 3, 2, 4, 2, 2, 2, 7, 26, 3, 4, 3, 0}, + {"HO", 7, 19, 4, "HO1P04", 1, 11, 4, 0, 2, 0, 7, 26, 3, 3, 3, 0}, + {"HO", 7, 20, 4, "HO1P04", 1, 6, 4, 1, 2, 1, 7, 26, 3, 3, 3, 0}, + {"HO", 7, 21, 4, "HO1P04", 1, 2, 4, 2, 2, 2, 7, 26, 3, 3, 3, 0}, + {"HO", 7, 22, 4, "HO1P06", 2, 2, 4, 2, 2, 2, 7, 26, 11, 4, 7, 0}, + {"HO", 7, 23, 4, "HO1P06", 2, 6, 4, 1, 2, 1, 7, 26, 11, 4, 7, 0}, + {"HO", 7, 24, 4, "HO1P06", 2, 11, 4, 0, 2, 0, 7, 26, 11, 4, 7, 0}, + {"HO", 7, 25, 4, "HO1P06", 4, 2, 4, 2, 2, 2, 7, 26, 11, 3, 7, 0}, + {"HO", 7, 26, 4, "HO1P06", 4, 6, 4, 1, 2, 1, 7, 26, 11, 3, 7, 0}, + {"HO", 7, 27, 4, "HO1P06", 4, 11, 4, 0, 2, 0, 7, 26, 11, 3, 7, 0}, + {"HO", 7, 28, 4, "HO1P06", 3, 11, 4, 0, 2, 0, 7, 27, 7, 4, 16, 0}, + {"HO", 7, 29, 4, "HO1P06", 3, 6, 4, 1, 2, 1, 7, 27, 7, 4, 16, 0}, + {"HO", 7, 30, 4, "HO1P06", 3, 2, 4, 2, 2, 2, 7, 27, 7, 4, 16, 0}, + {"HO", 7, 31, 4, "HO1P06", 1, 11, 4, 0, 2, 0, 7, 27, 7, 3, 16, 0}, + {"HO", 7, 32, 4, "HO1P06", 1, 6, 4, 1, 2, 1, 7, 27, 7, 3, 16, 0}, + {"HO", 7, 33, 4, "HO1P06", 1, 2, 4, 2, 2, 2, 7, 27, 7, 3, 16, 0}, + {"HO", 7, 34, 4, "HO1P08", 2, 2, 4, 2, 2, 2, 6, 28, 3, 4, 3, 0}, + {"HO", 7, 35, 4, "HO1P08", 2, 6, 4, 1, 2, 1, 6, 28, 3, 4, 3, 0}, + {"HO", 7, 36, 4, "HO1P08", 2, 11, 4, 0, 2, 0, 6, 28, 3, 4, 3, 0}, + {"HO", 7, 37, 4, "HO1P08", 4, 2, 4, 2, 2, 2, 6, 28, 3, 3, 3, 0}, + {"HO", 7, 38, 4, "HO1P08", 4, 6, 4, 1, 2, 1, 6, 28, 3, 3, 3, 0}, + {"HO", 7, 39, 4, "HO1P08", 4, 11, 4, 0, 2, 0, 6, 28, 3, 3, 3, 0}, + {"HO", 7, 40, 4, "HO1P08", 3, 11, 4, 0, 2, 0, 6, 28, 11, 4, 7, 0}, + {"HO", 7, 41, 4, "HO1P08", 3, 6, 4, 1, 2, 1, 6, 28, 11, 4, 7, 0}, + {"HO", 7, 42, 4, "HO1P08", 3, 2, 4, 2, 2, 2, 6, 28, 11, 4, 7, 0}, + {"HO", 7, 43, 4, "HO1P08", 1, 11, 4, 0, 2, 0, 6, 28, 11, 3, 7, 0}, + {"HO", 7, 44, 4, "HO1P08", 1, 6, 4, 1, 2, 1, 6, 28, 11, 3, 7, 0}, + {"HO", 7, 45, 4, "HO1P08", 1, 2, 4, 2, 2, 2, 6, 28, 11, 3, 7, 0}, + {"HO", 7, 46, 4, "HO1P10", 2, 2, 4, 2, 2, 2, 6, 29, 7, 4, 16, 0}, + {"HO", 7, 47, 4, "HO1P10", 2, 6, 4, 1, 2, 1, 6, 29, 7, 4, 16, 0}, + {"HO", 7, 48, 4, "HO1P10", 2, 11, 4, 0, 2, 0, 6, 29, 7, 4, 16, 0}, + {"HO", 7, 49, 4, "HO1P10", 4, 2, 4, 2, 2, 2, 6, 29, 7, 3, 16, 0}, + {"HO", 7, 50, 4, "HO1P10", 4, 6, 4, 1, 2, 1, 6, 29, 7, 3, 16, 0}, + {"HO", 7, 51, 4, "HO1P10", 4, 11, 4, 0, 2, 0, 6, 29, 7, 3, 16, 0}, + {"HO", 7, 52, 4, "HO1P10", 3, 11, 4, 0, 2, 0, 13, 30, 3, 4, 3, 0}, + {"HO", 7, 53, 4, "HO1P10", 3, 6, 4, 1, 2, 1, 13, 30, 3, 4, 3, 0}, + {"HO", 7, 54, 4, "HO1P10", 3, 2, 4, 2, 2, 2, 13, 30, 3, 4, 3, 0}, + {"HO", 7, 55, 4, "HO1P10", 1, 11, 4, 0, 2, 0, 13, 30, 3, 3, 3, 0}, + {"HO", 7, 56, 4, "HO1P10", 1, 6, 4, 1, 2, 1, 13, 30, 3, 3, 3, 0}, + {"HO", 7, 57, 4, "HO1P10", 1, 2, 4, 2, 2, 2, 13, 30, 3, 3, 3, 0}, + {"HO", 7, 58, 4, "HO1P12", 2, 2, 4, 2, 2, 2, 13, 30, 11, 4, 7, 0}, + {"HO", 7, 59, 4, "HO1P12", 2, 6, 4, 1, 2, 1, 13, 30, 11, 4, 7, 0}, + {"HO", 7, 60, 4, "HO1P12", 2, 11, 4, 0, 2, 0, 13, 30, 11, 4, 7, 0}, + {"HO", 7, 61, 4, "HO1P12", 4, 2, 4, 2, 2, 2, 13, 30, 11, 3, 7, 0}, + {"HO", 7, 62, 4, "HO1P12", 4, 6, 4, 1, 2, 1, 13, 30, 11, 3, 7, 0}, + {"HO", 7, 63, 4, "HO1P12", 4, 11, 4, 0, 2, 0, 13, 30, 11, 3, 7, 0}, + {"HO", 7, 64, 4, "HO1P12", 3, 11, 4, 0, 2, 0, 13, 31, 7, 4, 16, 0}, + {"HO", 7, 65, 4, "HO1P12", 3, 6, 4, 1, 2, 1, 13, 31, 7, 4, 16, 0}, + {"HO", 7, 66, 4, "HO1P12", 3, 2, 4, 2, 2, 2, 13, 31, 7, 4, 16, 0}, + {"HO", 7, 67, 4, "HO1P12", 1, 11, 4, 0, 2, 0, 13, 31, 7, 3, 16, 0}, + {"HO", 7, 68, 4, "HO1P12", 1, 6, 4, 1, 2, 1, 13, 31, 7, 3, 16, 0}, + {"HO", 7, 69, 4, "HO1P12", 1, 2, 4, 2, 2, 2, 13, 31, 7, 3, 16, 0}, + {"HO", 7, 70, 4, "HO1P02", 2, 2, 4, 2, 2, 2, 3, 24, 3, 4, 3, 0}, + {"HO", 7, 71, 4, "HO1P02", 2, 6, 4, 1, 2, 1, 3, 24, 3, 4, 3, 0}, + {"HO", 8, 0, 4, "HO1P02", 2, 16, 7, 2, 3, 3, 3, 24, 3, 2, 3, 0}, + {"HO", 8, 1, 4, "HO1P02", 4, 14, 7, 1, 3, 5, 3, 24, 3, 1, 3, 0}, + {"HO", 8, 2, 4, "HO1P02", 4, 15, 7, 0, 3, 4, 3, 24, 3, 1, 3, 0}, + {"HO", 8, 3, 4, "HO1P02", 4, 16, 7, 2, 3, 3, 3, 24, 3, 1, 3, 0}, + {"HO", 8, 4, 4, "HO1P02", 3, 16, 7, 2, 3, 3, 3, 24, 11, 2, 7, 0}, + {"HO", 8, 5, 4, "HO1P02", 3, 15, 7, 0, 3, 4, 3, 24, 11, 2, 7, 0}, + {"HO", 8, 6, 4, "HO1P02", 3, 14, 7, 1, 3, 5, 3, 24, 11, 2, 7, 0}, + {"HO", 8, 7, 4, "HO1P02", 1, 16, 7, 2, 3, 3, 3, 24, 11, 1, 7, 0}, + {"HO", 8, 8, 4, "HO1P02", 1, 15, 7, 0, 3, 4, 3, 24, 11, 1, 7, 0}, + {"HO", 8, 9, 4, "HO1P02", 1, 14, 7, 1, 3, 5, 3, 24, 11, 1, 7, 0}, + {"HO", 8, 10, 4, "HO1P04", 2, 14, 7, 1, 3, 5, 3, 25, 7, 2, 16, 0}, + {"HO", 8, 11, 4, "HO1P04", 2, 15, 7, 0, 3, 4, 3, 25, 7, 2, 16, 0}, + {"HO", 8, 12, 4, "HO1P04", 2, 16, 7, 2, 3, 3, 3, 25, 7, 2, 16, 0}, + {"HO", 8, 13, 4, "HO1P04", 4, 14, 7, 1, 3, 5, 3, 25, 7, 1, 16, 0}, + {"HO", 8, 14, 4, "HO1P04", 4, 15, 7, 0, 3, 4, 3, 25, 7, 1, 16, 0}, + {"HO", 8, 15, 4, "HO1P04", 4, 16, 7, 2, 3, 3, 3, 25, 7, 1, 16, 0}, + {"HO", 8, 16, 4, "HO1P04", 3, 16, 7, 2, 3, 3, 7, 26, 3, 2, 3, 0}, + {"HO", 8, 17, 4, "HO1P04", 3, 15, 7, 0, 3, 4, 7, 26, 3, 2, 3, 0}, + {"HO", 8, 18, 4, "HO1P04", 3, 14, 7, 1, 3, 5, 7, 26, 3, 2, 3, 0}, + {"HO", 8, 19, 4, "HO1P04", 1, 16, 7, 2, 3, 3, 7, 26, 3, 1, 3, 0}, + {"HO", 8, 20, 4, "HO1P04", 1, 15, 7, 0, 3, 4, 7, 26, 3, 1, 3, 0}, + {"HO", 8, 21, 4, "HO1P04", 1, 14, 7, 1, 3, 5, 7, 26, 3, 1, 3, 0}, + {"HO", 8, 22, 4, "HO1P06", 2, 14, 7, 1, 3, 5, 7, 26, 11, 2, 7, 0}, + {"HO", 8, 23, 4, "HO1P06", 2, 15, 7, 0, 3, 4, 7, 26, 11, 2, 7, 0}, + {"HO", 8, 24, 4, "HO1P06", 2, 16, 7, 2, 3, 3, 7, 26, 11, 2, 7, 0}, + {"HO", 8, 25, 4, "HO1P06", 4, 14, 7, 1, 3, 5, 7, 26, 11, 1, 7, 0}, + {"HO", 8, 26, 4, "HO1P06", 4, 15, 7, 0, 3, 4, 7, 26, 11, 1, 7, 0}, + {"HO", 8, 27, 4, "HO1P06", 4, 16, 7, 2, 3, 3, 7, 26, 11, 1, 7, 0}, + {"HO", 8, 28, 4, "HO1P06", 3, 16, 7, 2, 3, 3, 7, 27, 7, 2, 16, 0}, + {"HO", 8, 29, 4, "HO1P06", 3, 15, 7, 0, 3, 4, 7, 27, 7, 2, 16, 0}, + {"HO", 8, 30, 4, "HO1P06", 3, 14, 7, 1, 3, 5, 7, 27, 7, 2, 16, 0}, + {"HO", 8, 31, 4, "HO1P06", 1, 16, 7, 2, 3, 3, 7, 27, 7, 1, 16, 0}, + {"HO", 8, 32, 4, "HO1P06", 1, 15, 7, 0, 3, 4, 7, 27, 7, 1, 16, 0}, + {"HO", 8, 33, 4, "HO1P06", 1, 14, 7, 1, 3, 5, 7, 27, 7, 1, 16, 0}, + {"HO", 8, 34, 4, "HO1P08", 2, 14, 7, 1, 3, 5, 6, 28, 3, 2, 3, 0}, + {"HO", 8, 35, 4, "HO1P08", 2, 15, 7, 0, 3, 4, 6, 28, 3, 2, 3, 0}, + {"HO", 8, 36, 4, "HO1P08", 2, 16, 7, 2, 3, 3, 6, 28, 3, 2, 3, 0}, + {"HO", 8, 37, 4, "HO1P08", 4, 14, 7, 1, 3, 5, 6, 28, 3, 1, 3, 0}, + {"HO", 8, 38, 4, "HO1P08", 4, 15, 7, 0, 3, 4, 6, 28, 3, 1, 3, 0}, + {"HO", 8, 39, 4, "HO1P08", 4, 16, 7, 2, 3, 3, 6, 28, 3, 1, 3, 0}, + {"HO", 8, 40, 4, "HO1P08", 3, 16, 7, 2, 3, 3, 6, 28, 11, 2, 7, 0}, + {"HO", 8, 41, 4, "HO1P08", 3, 15, 7, 0, 3, 4, 6, 28, 11, 2, 7, 0}, + {"HO", 8, 42, 4, "HO1P08", 3, 14, 7, 1, 3, 5, 6, 28, 11, 2, 7, 0}, + {"HO", 8, 43, 4, "HO1P08", 1, 16, 7, 2, 3, 3, 6, 28, 11, 1, 7, 0}, + {"HO", 8, 44, 4, "HO1P08", 1, 15, 7, 0, 3, 4, 6, 28, 11, 1, 7, 0}, + {"HO", 8, 45, 4, "HO1P08", 1, 14, 7, 1, 3, 5, 6, 28, 11, 1, 7, 0}, + {"HO", 8, 46, 4, "HO1P10", 2, 14, 7, 1, 3, 5, 6, 29, 7, 2, 16, 0}, + {"HO", 8, 47, 4, "HO1P10", 2, 15, 7, 0, 3, 4, 6, 29, 7, 2, 16, 0}, + {"HO", 8, 48, 4, "HO1P10", 2, 16, 7, 2, 3, 3, 6, 29, 7, 2, 16, 0}, + {"HO", 8, 49, 4, "HO1P10", 4, 14, 7, 1, 3, 5, 6, 29, 7, 1, 16, 0}, + {"HO", 8, 50, 4, "HO1P10", 4, 15, 7, 0, 3, 4, 6, 29, 7, 1, 16, 0}, + {"HO", 8, 51, 4, "HO1P10", 4, 16, 7, 2, 3, 3, 6, 29, 7, 1, 16, 0}, + {"HO", 8, 52, 4, "HO1P10", 3, 16, 7, 2, 3, 3, 13, 30, 3, 2, 3, 0}, + {"HO", 8, 53, 4, "HO1P10", 3, 15, 7, 0, 3, 4, 13, 30, 3, 2, 3, 0}, + {"HO", 8, 54, 4, "HO1P10", 3, 14, 7, 1, 3, 5, 13, 30, 3, 2, 3, 0}, + {"HO", 8, 55, 4, "HO1P10", 1, 16, 7, 2, 3, 3, 13, 30, 3, 1, 3, 0}, + {"HO", 8, 56, 4, "HO1P10", 1, 15, 7, 0, 3, 4, 13, 30, 3, 1, 3, 0}, + {"HO", 8, 57, 4, "HO1P10", 1, 14, 7, 1, 3, 5, 13, 30, 3, 1, 3, 0}, + {"HO", 8, 58, 4, "HO1P12", 2, 14, 7, 1, 3, 5, 13, 30, 11, 2, 7, 0}, + {"HO", 8, 59, 4, "HO1P12", 2, 15, 7, 0, 3, 4, 13, 30, 11, 2, 7, 0}, + {"HO", 8, 60, 4, "HO1P12", 2, 16, 7, 2, 3, 3, 13, 30, 11, 2, 7, 0}, + {"HO", 8, 61, 4, "HO1P12", 4, 14, 7, 1, 3, 5, 13, 30, 11, 1, 7, 0}, + {"HO", 8, 62, 4, "HO1P12", 4, 15, 7, 0, 3, 4, 13, 30, 11, 1, 7, 0}, + {"HO", 8, 63, 4, "HO1P12", 4, 16, 7, 2, 3, 3, 13, 30, 11, 1, 7, 0}, + {"HO", 8, 64, 4, "HO1P12", 3, 16, 7, 2, 3, 3, 13, 31, 7, 2, 16, 0}, + {"HO", 8, 65, 4, "HO1P12", 3, 15, 7, 0, 3, 4, 13, 31, 7, 2, 16, 0}, + {"HO", 8, 66, 4, "HO1P12", 3, 14, 7, 1, 3, 5, 13, 31, 7, 2, 16, 0}, + {"HO", 8, 67, 4, "HO1P12", 1, 16, 7, 2, 3, 3, 13, 31, 7, 1, 16, 0}, + {"HO", 8, 68, 4, "HO1P12", 1, 15, 7, 0, 3, 4, 13, 31, 7, 1, 16, 0}, + {"HO", 8, 69, 4, "HO1P12", 1, 14, 7, 1, 3, 5, 13, 31, 7, 1, 16, 0}, + {"HO", 8, 70, 4, "HO1P02", 2, 14, 7, 1, 3, 5, 3, 24, 3, 2, 3, 0}, + {"HO", 8, 71, 4, "HO1P02", 2, 15, 7, 0, 3, 4, 3, 24, 3, 2, 3, 0}, + {"HO", 9, 0, 4, "HO1P02", 2, 19, 6, 0, 3, 0, 3, 24, 2, 8, 3, 1}, + {"HO", 9, 1, 4, "HO1P02", 4, 17, 6, 2, 3, 2, 3, 24, 2, 7, 3, 1}, + {"HO", 9, 2, 4, "HO1P02", 4, 18, 6, 1, 3, 1, 3, 24, 2, 7, 3, 1}, + {"HO", 9, 3, 4, "HO1P02", 4, 19, 6, 0, 3, 0, 3, 24, 2, 7, 3, 1}, + {"HO", 9, 4, 4, "HO1P02", 3, 19, 6, 0, 3, 0, 3, 24, 10, 8, 7, 1}, + {"HO", 9, 5, 4, "HO1P02", 3, 18, 6, 1, 3, 1, 3, 24, 10, 8, 7, 1}, + {"HO", 9, 6, 4, "HO1P02", 3, 17, 6, 2, 3, 2, 3, 24, 10, 8, 7, 1}, + {"HO", 9, 7, 4, "HO1P02", 1, 19, 6, 0, 3, 0, 3, 24, 10, 7, 7, 1}, + {"HO", 9, 8, 4, "HO1P02", 1, 18, 6, 1, 3, 1, 3, 24, 10, 7, 7, 1}, + {"HO", 9, 9, 4, "HO1P02", 1, 17, 6, 2, 3, 2, 3, 24, 10, 7, 7, 1}, + {"HO", 9, 10, 4, "HO1P04", 2, 17, 6, 2, 3, 2, 3, 25, 6, 8, 16, 1}, + {"HO", 9, 11, 4, "HO1P04", 2, 18, 6, 1, 3, 1, 3, 25, 6, 8, 16, 1}, + {"HO", 9, 12, 4, "HO1P04", 2, 19, 6, 0, 3, 0, 3, 25, 6, 8, 16, 1}, + {"HO", 9, 13, 4, "HO1P04", 4, 17, 6, 2, 3, 2, 3, 25, 6, 7, 16, 1}, + {"HO", 9, 14, 4, "HO1P04", 4, 18, 6, 1, 3, 1, 3, 25, 6, 7, 16, 1}, + {"HO", 9, 15, 4, "HO1P04", 4, 19, 6, 0, 3, 0, 3, 25, 6, 7, 16, 1}, + {"HO", 9, 16, 4, "HO1P04", 3, 19, 6, 0, 3, 0, 7, 26, 2, 8, 3, 1}, + {"HO", 9, 17, 4, "HO1P04", 3, 18, 6, 1, 3, 1, 7, 26, 2, 8, 3, 1}, + {"HO", 9, 18, 4, "HO1P04", 3, 17, 6, 2, 3, 2, 7, 26, 2, 8, 3, 1}, + {"HO", 9, 19, 4, "HO1P04", 1, 19, 6, 0, 3, 0, 7, 26, 2, 7, 3, 1}, + {"HO", 9, 20, 4, "HO1P04", 1, 18, 6, 1, 3, 1, 7, 26, 2, 7, 3, 1}, + {"HO", 9, 21, 4, "HO1P04", 1, 17, 6, 2, 3, 2, 7, 26, 2, 7, 3, 1}, + {"HO", 9, 22, 4, "HO1P06", 2, 17, 6, 2, 3, 2, 7, 26, 10, 8, 7, 1}, + {"HO", 9, 23, 4, "HO1P06", 2, 18, 6, 1, 3, 1, 7, 26, 10, 8, 7, 1}, + {"HO", 9, 24, 4, "HO1P06", 2, 19, 6, 0, 3, 0, 7, 26, 10, 8, 7, 1}, + {"HO", 9, 25, 4, "HO1P06", 4, 17, 6, 2, 3, 2, 7, 26, 10, 7, 7, 1}, + {"HO", 9, 26, 4, "HO1P06", 4, 18, 6, 1, 3, 1, 7, 26, 10, 7, 7, 1}, + {"HO", 9, 27, 4, "HO1P06", 4, 19, 6, 0, 3, 0, 7, 26, 10, 7, 7, 1}, + {"HO", 9, 28, 4, "HO1P06", 3, 19, 6, 0, 3, 0, 7, 27, 6, 8, 16, 1}, + {"HO", 9, 29, 4, "HO1P06", 3, 18, 6, 1, 3, 1, 7, 27, 6, 8, 16, 1}, + {"HO", 9, 30, 4, "HO1P06", 3, 17, 6, 2, 3, 2, 7, 27, 6, 8, 16, 1}, + {"HO", 9, 31, 4, "HO1P06", 1, 19, 6, 0, 3, 0, 7, 27, 6, 7, 16, 1}, + {"HO", 9, 32, 4, "HO1P06", 1, 18, 6, 1, 3, 1, 7, 27, 6, 7, 16, 1}, + {"HO", 9, 33, 4, "HO1P06", 1, 17, 6, 2, 3, 2, 7, 27, 6, 7, 16, 1}, + {"HO", 9, 34, 4, "HO1P08", 2, 17, 6, 2, 3, 2, 6, 28, 2, 8, 3, 1}, + {"HO", 9, 35, 4, "HO1P08", 2, 18, 6, 1, 3, 1, 6, 28, 2, 8, 3, 1}, + {"HO", 9, 36, 4, "HO1P08", 2, 19, 6, 0, 3, 0, 6, 28, 2, 8, 3, 1}, + {"HO", 9, 37, 4, "HO1P08", 4, 17, 6, 2, 3, 2, 6, 28, 2, 7, 3, 1}, + {"HO", 9, 38, 4, "HO1P08", 4, 18, 6, 1, 3, 1, 6, 28, 2, 7, 3, 1}, + {"HO", 9, 39, 4, "HO1P08", 4, 19, 6, 0, 3, 0, 6, 28, 2, 7, 3, 1}, + {"HO", 9, 40, 4, "HO1P08", 3, 19, 6, 0, 3, 0, 6, 28, 10, 8, 7, 1}, + {"HO", 9, 41, 4, "HO1P08", 3, 18, 6, 1, 3, 1, 6, 28, 10, 8, 7, 1}, + {"HO", 9, 42, 4, "HO1P08", 3, 17, 6, 2, 3, 2, 6, 28, 10, 8, 7, 1}, + {"HO", 9, 43, 4, "HO1P08", 1, 19, 6, 0, 3, 0, 6, 28, 10, 7, 7, 1}, + {"HO", 9, 44, 4, "HO1P08", 1, 18, 6, 1, 3, 1, 6, 28, 10, 7, 7, 1}, + {"HO", 9, 45, 4, "HO1P08", 1, 17, 6, 2, 3, 2, 6, 28, 10, 7, 7, 1}, + {"HO", 9, 46, 4, "HO1P10", 2, 17, 6, 2, 3, 2, 6, 29, 6, 8, 16, 1}, + {"HO", 9, 47, 4, "HO1P10", 2, 18, 6, 1, 3, 1, 6, 29, 6, 8, 16, 1}, + {"HO", 9, 48, 4, "HO1P10", 2, 19, 6, 0, 3, 0, 6, 29, 6, 8, 16, 1}, + {"HO", 9, 49, 4, "HO1P10", 4, 17, 6, 2, 3, 2, 6, 29, 6, 7, 16, 1}, + {"HO", 9, 50, 4, "HO1P10", 4, 18, 6, 1, 3, 1, 6, 29, 6, 7, 16, 1}, + {"HO", 9, 51, 4, "HO1P10", 4, 19, 6, 0, 3, 0, 6, 29, 6, 7, 16, 1}, + {"HO", 9, 52, 4, "HO1P10", 3, 19, 6, 0, 3, 0, 13, 30, 2, 8, 3, 1}, + {"HO", 9, 53, 4, "HO1P10", 3, 18, 6, 1, 3, 1, 13, 30, 2, 8, 3, 1}, + {"HO", 9, 54, 4, "HO1P10", 3, 17, 6, 2, 3, 2, 13, 30, 2, 8, 3, 1}, + {"HO", 9, 55, 4, "HO1P10", 1, 19, 6, 0, 3, 0, 13, 30, 2, 7, 3, 1}, + {"HO", 9, 56, 4, "HO1P10", 1, 18, 6, 1, 3, 1, 13, 30, 2, 7, 3, 1}, + {"HO", 9, 57, 4, "HO1P10", 1, 17, 6, 2, 3, 2, 13, 30, 2, 7, 3, 1}, + {"HO", 9, 58, 4, "HO1P12", 2, 17, 6, 2, 3, 2, 13, 30, 10, 8, 7, 1}, + {"HO", 9, 59, 4, "HO1P12", 2, 18, 6, 1, 3, 1, 13, 30, 10, 8, 7, 1}, + {"HO", 9, 60, 4, "HO1P12", 2, 19, 6, 0, 3, 0, 13, 30, 10, 8, 7, 1}, + {"HO", 9, 61, 4, "HO1P12", 4, 17, 6, 2, 3, 2, 13, 30, 10, 7, 7, 1}, + {"HO", 9, 62, 4, "HO1P12", 4, 18, 6, 1, 3, 1, 13, 30, 10, 7, 7, 1}, + {"HO", 9, 63, 4, "HO1P12", 4, 19, 6, 0, 3, 0, 13, 30, 10, 7, 7, 1}, + {"HO", 9, 64, 4, "HO1P12", 3, 19, 6, 0, 3, 0, 13, 31, 6, 8, 16, 1}, + {"HO", 9, 65, 4, "HO1P12", 3, 18, 6, 1, 3, 1, 13, 31, 6, 8, 16, 1}, + {"HO", 9, 66, 4, "HO1P12", 3, 17, 6, 2, 3, 2, 13, 31, 6, 8, 16, 1}, + {"HO", 9, 67, 4, "HO1P12", 1, 19, 6, 0, 3, 0, 13, 31, 6, 7, 16, 1}, + {"HO", 9, 68, 4, "HO1P12", 1, 18, 6, 1, 3, 1, 13, 31, 6, 7, 16, 1}, + {"HO", 9, 69, 4, "HO1P12", 1, 17, 6, 2, 3, 2, 13, 31, 6, 7, 16, 1}, + {"HO", 9, 70, 4, "HO1P02", 2, 17, 6, 2, 3, 2, 3, 24, 2, 8, 3, 1}, + {"HO", 9, 71, 4, "HO1P02", 2, 18, 6, 1, 3, 1, 3, 24, 2, 8, 3, 1}, + {"HO", 10, 0, 4, "HO2P02", 2, 1, 3, 2, 1, 3, 3, 24, 2, 6, 3, 1}, + {"HO", 10, 1, 4, "HO2P02", 4, 8, 3, 1, 1, 5, 3, 24, 2, 5, 3, 1}, + {"HO", 10, 2, 4, "HO2P02", 4, 4, 3, 0, 1, 4, 3, 24, 2, 5, 3, 1}, + {"HO", 10, 3, 4, "HO2P02", 4, 1, 3, 2, 1, 3, 3, 24, 2, 5, 3, 1}, + {"HO", 10, 4, 4, "HO2P02", 3, 1, 3, 2, 1, 3, 3, 24, 10, 6, 7, 1}, + {"HO", 10, 5, 4, "HO2P02", 3, 4, 3, 0, 1, 4, 3, 24, 10, 6, 7, 1}, + {"HO", 10, 6, 4, "HO2P02", 3, 8, 3, 1, 1, 5, 3, 24, 10, 6, 7, 1}, + {"HO", 10, 7, 4, "HO2P02", 1, 1, 3, 2, 1, 3, 3, 24, 10, 5, 7, 1}, + {"HO", 10, 8, 4, "HO2P02", 1, 4, 3, 0, 1, 4, 3, 24, 10, 5, 7, 1}, + {"HO", 10, 9, 4, "HO2P02", 1, 8, 3, 1, 1, 5, 3, 24, 10, 5, 7, 1}, + {"HO", 10, 10, 4, "HO2P04", 2, 8, 3, 1, 1, 5, 3, 25, 6, 6, 16, 1}, + {"HO", 10, 11, 4, "HO2P04", 2, 4, 3, 0, 1, 4, 3, 25, 6, 6, 16, 1}, + {"HO", 10, 12, 4, "HO2P04", 2, 1, 3, 2, 1, 3, 3, 25, 6, 6, 16, 1}, + {"HO", 10, 13, 4, "HO2P04", 4, 8, 3, 1, 1, 5, 3, 25, 6, 5, 16, 1}, + {"HO", 10, 14, 4, "HO2P04", 4, 4, 3, 0, 1, 4, 3, 25, 6, 5, 16, 1}, + {"HO", 10, 15, 4, "HO2P04", 4, 1, 3, 2, 1, 3, 3, 25, 6, 5, 16, 1}, + {"HO", 10, 16, 4, "HO2P04", 3, 1, 3, 2, 1, 3, 7, 26, 2, 6, 3, 1}, + {"HO", 10, 17, 4, "HO2P04", 3, 4, 3, 0, 1, 4, 7, 26, 2, 6, 3, 1}, + {"HO", 10, 18, 4, "HO2P04", 3, 8, 3, 1, 1, 5, 7, 26, 2, 6, 3, 1}, + {"HO", 10, 19, 4, "HO2P04", 1, 1, 3, 2, 1, 3, 7, 26, 2, 5, 3, 1}, + {"HO", 10, 20, 4, "HO2P04", 1, 4, 3, 0, 1, 4, 7, 26, 2, 5, 3, 1}, + {"HO", 10, 21, 4, "HO2P04", 1, 8, 3, 1, 1, 5, 7, 26, 2, 5, 3, 1}, + {"HO", 10, 22, 4, "HO2P06", 2, 8, 3, 1, 1, 5, 7, 26, 10, 6, 7, 1}, + {"HO", 10, 23, 4, "HO2P06", 2, 4, 3, 0, 1, 4, 7, 26, 10, 6, 7, 1}, + {"HO", 10, 24, 4, "HO2P06", 2, 1, 3, 2, 1, 3, 7, 26, 10, 6, 7, 1}, + {"HO", 10, 25, 4, "HO2P06", 4, 8, 3, 1, 1, 5, 7, 26, 10, 5, 7, 1}, + {"HO", 10, 26, 4, "HO2P06", 4, 4, 3, 0, 1, 4, 7, 26, 10, 5, 7, 1}, + {"HO", 10, 27, 4, "HO2P06", 4, 1, 3, 2, 1, 3, 7, 26, 10, 5, 7, 1}, + {"HO", 10, 28, 4, "HO2P06", 3, 1, 3, 2, 1, 3, 7, 27, 6, 6, 16, 1}, + {"HO", 10, 29, 4, "HO2P06", 3, 4, 3, 0, 1, 4, 7, 27, 6, 6, 16, 1}, + {"HO", 10, 30, 4, "HO2P06", 3, 8, 3, 1, 1, 5, 7, 27, 6, 6, 16, 1}, + {"HO", 10, 31, 4, "HO2P06", 1, 1, 3, 2, 1, 3, 7, 27, 6, 5, 16, 1}, + {"HO", 10, 32, 4, "HO2P06", 1, 4, 3, 0, 1, 4, 7, 27, 6, 5, 16, 1}, + {"HO", 10, 33, 4, "HO2P06", 1, 8, 3, 1, 1, 5, 7, 27, 6, 5, 16, 1}, + {"HO", 10, 34, 4, "HO2P08", 2, 8, 3, 1, 1, 5, 6, 28, 2, 6, 3, 1}, + {"HO", 10, 35, 4, "HO2P08", 2, 4, 3, 0, 1, 4, 6, 28, 2, 6, 3, 1}, + {"HO", 10, 36, 4, "HO2P08", 2, 1, 3, 2, 1, 3, 6, 28, 2, 6, 3, 1}, + {"HO", 10, 37, 4, "HO2P08", 4, 8, 3, 1, 1, 5, 6, 28, 2, 5, 3, 1}, + {"HO", 10, 38, 4, "HO2P08", 4, 4, 3, 0, 1, 4, 6, 28, 2, 5, 3, 1}, + {"HO", 10, 39, 4, "HO2P08", 4, 1, 3, 2, 1, 3, 6, 28, 2, 5, 3, 1}, + {"HO", 10, 40, 4, "HO2P08", 3, 1, 3, 2, 1, 3, 6, 28, 10, 6, 7, 1}, + {"HO", 10, 41, 4, "HO2P08", 3, 4, 3, 0, 1, 4, 6, 28, 10, 6, 7, 1}, + {"HO", 10, 42, 4, "HO2P08", 3, 8, 3, 1, 1, 5, 6, 28, 10, 6, 7, 1}, + {"HO", 10, 43, 4, "HO2P08", 1, 1, 3, 2, 1, 3, 6, 28, 10, 5, 7, 1}, + {"HO", 10, 44, 4, "HO2P08", 1, 4, 3, 0, 1, 4, 6, 28, 10, 5, 7, 1}, + {"HO", 10, 45, 4, "HO2P08", 1, 8, 3, 1, 1, 5, 6, 28, 10, 5, 7, 1}, + {"HO", 10, 46, 4, "HO2P10", 2, 8, 3, 1, 1, 5, 6, 29, 6, 6, 16, 1}, + {"HO", 10, 47, 4, "HO2P10", 2, 4, 3, 0, 1, 4, 6, 29, 6, 6, 16, 1}, + {"HO", 10, 48, 4, "HO2P10", 2, 1, 3, 2, 1, 3, 6, 29, 6, 6, 16, 1}, + {"HO", 10, 49, 4, "HO2P10", 4, 8, 3, 1, 1, 5, 6, 29, 6, 5, 16, 1}, + {"HO", 10, 50, 4, "HO2P10", 4, 4, 3, 0, 1, 4, 6, 29, 6, 5, 16, 1}, + {"HO", 10, 51, 4, "HO2P10", 4, 1, 3, 2, 1, 3, 6, 29, 6, 5, 16, 1}, + {"HO", 10, 52, 4, "HO2P10", 3, 1, 3, 2, 1, 3, 13, 30, 2, 6, 3, 1}, + {"HO", 10, 53, 4, "HO2P10", 3, 4, 3, 0, 1, 4, 13, 30, 2, 6, 3, 1}, + {"HO", 10, 54, 4, "HO2P10", 3, 8, 3, 1, 1, 5, 13, 30, 2, 6, 3, 1}, + {"HO", 10, 55, 4, "HO2P10", 1, 1, 3, 2, 1, 3, 13, 30, 2, 5, 3, 1}, + {"HO", 10, 56, 4, "HO2P10", 1, 4, 3, 0, 1, 4, 13, 30, 2, 5, 3, 1}, + {"HO", 10, 57, 4, "HO2P10", 1, 8, 3, 1, 1, 5, 13, 30, 2, 5, 3, 1}, + {"HO", 10, 58, 4, "HO2P12", 2, 8, 3, 1, 1, 5, 13, 30, 10, 6, 7, 1}, + {"HO", 10, 59, 4, "HO2P12", 2, 4, 3, 0, 1, 4, 13, 30, 10, 6, 7, 1}, + {"HO", 10, 60, 4, "HO2P12", 2, 1, 3, 2, 1, 3, 13, 30, 10, 6, 7, 1}, + {"HO", 10, 61, 4, "HO2P12", 4, 8, 3, 1, 1, 5, 13, 30, 10, 5, 7, 1}, + {"HO", 10, 62, 4, "HO2P12", 4, 4, 3, 0, 1, 4, 13, 30, 10, 5, 7, 1}, + {"HO", 10, 63, 4, "HO2P12", 4, 1, 3, 2, 1, 3, 13, 30, 10, 5, 7, 1}, + {"HO", 10, 64, 4, "HO2P12", 3, 1, 3, 2, 1, 3, 13, 31, 6, 6, 16, 1}, + {"HO", 10, 65, 4, "HO2P12", 3, 4, 3, 0, 1, 4, 13, 31, 6, 6, 16, 1}, + {"HO", 10, 66, 4, "HO2P12", 3, 8, 3, 1, 1, 5, 13, 31, 6, 6, 16, 1}, + {"HO", 10, 67, 4, "HO2P12", 1, 1, 3, 2, 1, 3, 13, 31, 6, 5, 16, 1}, + {"HO", 10, 68, 4, "HO2P12", 1, 4, 3, 0, 1, 4, 13, 31, 6, 5, 16, 1}, + {"HO", 10, 69, 4, "HO2P12", 1, 8, 3, 1, 1, 5, 13, 31, 6, 5, 16, 1}, + {"HO", 10, 70, 4, "HO2P02", 2, 8, 3, 1, 1, 5, 3, 24, 2, 6, 3, 1}, + {"HO", 10, 71, 4, "HO2P02", 2, 4, 3, 0, 1, 4, 3, 24, 2, 6, 3, 1}, + {"HO", 11, 0, 4, "HO2P02", 2, 12, 2, 0, 1, 0, 3, 24, 2, 4, 3, 1}, + {"HO", 11, 1, 4, "HO2P02", 4, 3, 2, 2, 1, 2, 3, 24, 2, 3, 3, 1}, + {"HO", 11, 2, 4, "HO2P02", 4, 7, 2, 1, 1, 1, 3, 24, 2, 3, 3, 1}, + {"HO", 11, 3, 4, "HO2P02", 4, 12, 2, 0, 1, 0, 3, 24, 2, 3, 3, 1}, + {"HO", 11, 4, 4, "HO2P02", 3, 12, 2, 0, 1, 0, 3, 24, 10, 4, 7, 1}, + {"HO", 11, 5, 4, "HO2P02", 3, 7, 2, 1, 1, 1, 3, 24, 10, 4, 7, 1}, + {"HO", 11, 6, 4, "HO2P02", 3, 3, 2, 2, 1, 2, 3, 24, 10, 4, 7, 1}, + {"HO", 11, 7, 4, "HO2P02", 1, 12, 2, 0, 1, 0, 3, 24, 10, 3, 7, 1}, + {"HO", 11, 8, 4, "HO2P02", 1, 7, 2, 1, 1, 1, 3, 24, 10, 3, 7, 1}, + {"HO", 11, 9, 4, "HO2P02", 1, 3, 2, 2, 1, 2, 3, 24, 10, 3, 7, 1}, + {"HO", 11, 10, 4, "HO2P04", 2, 3, 2, 2, 1, 2, 3, 25, 6, 4, 16, 1}, + {"HO", 11, 11, 4, "HO2P04", 2, 7, 2, 1, 1, 1, 3, 25, 6, 4, 16, 1}, + {"HO", 11, 12, 4, "HO2P04", 2, 12, 2, 0, 1, 0, 3, 25, 6, 4, 16, 1}, + {"HO", 11, 13, 4, "HO2P04", 4, 3, 2, 2, 1, 2, 3, 25, 6, 3, 16, 1}, + {"HO", 11, 14, 4, "HO2P04", 4, 7, 2, 1, 1, 1, 3, 25, 6, 3, 16, 1}, + {"HO", 11, 15, 4, "HO2P04", 4, 12, 2, 0, 1, 0, 3, 25, 6, 3, 16, 1}, + {"HO", 11, 16, 4, "HO2P04", 3, 12, 2, 0, 1, 0, 7, 26, 2, 4, 3, 1}, + {"HO", 11, 17, 4, "HO2P04", 3, 7, 2, 1, 1, 1, 7, 26, 2, 4, 3, 1}, + {"HO", 11, 18, 4, "HO2P04", 3, 3, 2, 2, 1, 2, 7, 26, 2, 4, 3, 1}, + {"HO", 11, 19, 4, "HO2P04", 1, 12, 2, 0, 1, 0, 7, 26, 2, 3, 3, 1}, + {"HO", 11, 20, 4, "HO2P04", 1, 7, 2, 1, 1, 1, 7, 26, 2, 3, 3, 1}, + {"HO", 11, 21, 4, "HO2P04", 1, 3, 2, 2, 1, 2, 7, 26, 2, 3, 3, 1}, + {"HO", 11, 22, 4, "HO2P06", 2, 3, 2, 2, 1, 2, 7, 26, 10, 4, 7, 1}, + {"HO", 11, 23, 4, "HO2P06", 2, 7, 2, 1, 1, 1, 7, 26, 10, 4, 7, 1}, + {"HO", 11, 24, 4, "HO2P06", 2, 12, 2, 0, 1, 0, 7, 26, 10, 4, 7, 1}, + {"HO", 11, 25, 4, "HO2P06", 4, 3, 2, 2, 1, 2, 7, 26, 10, 3, 7, 1}, + {"HO", 11, 26, 4, "HO2P06", 4, 7, 2, 1, 1, 1, 7, 26, 10, 3, 7, 1}, + {"HO", 11, 27, 4, "HO2P06", 4, 12, 2, 0, 1, 0, 7, 26, 10, 3, 7, 1}, + {"HO", 11, 28, 4, "HO2P06", 3, 12, 2, 0, 1, 0, 7, 27, 6, 4, 16, 1}, + {"HO", 11, 29, 4, "HO2P06", 3, 7, 2, 1, 1, 1, 7, 27, 6, 4, 16, 1}, + {"HO", 11, 30, 4, "HO2P06", 3, 3, 2, 2, 1, 2, 7, 27, 6, 4, 16, 1}, + {"HO", 11, 31, 4, "HO2P06", 1, 12, 2, 0, 1, 0, 7, 27, 6, 3, 16, 1}, + {"HO", 11, 32, 4, "HO2P06", 1, 7, 2, 1, 1, 1, 7, 27, 6, 3, 16, 1}, + {"HO", 11, 33, 4, "HO2P06", 1, 3, 2, 2, 1, 2, 7, 27, 6, 3, 16, 1}, + {"HO", 11, 34, 4, "HO2P08", 2, 3, 2, 2, 1, 2, 6, 28, 2, 4, 3, 1}, + {"HO", 11, 35, 4, "HO2P08", 2, 7, 2, 1, 1, 1, 6, 28, 2, 4, 3, 1}, + {"HO", 11, 36, 4, "HO2P08", 2, 12, 2, 0, 1, 0, 6, 28, 2, 4, 3, 1}, + {"HO", 11, 37, 4, "HO2P08", 4, 3, 2, 2, 1, 2, 6, 28, 2, 3, 3, 1}, + {"HO", 11, 38, 4, "HO2P08", 4, 7, 2, 1, 1, 1, 6, 28, 2, 3, 3, 1}, + {"HO", 11, 39, 4, "HO2P08", 4, 12, 2, 0, 1, 0, 6, 28, 2, 3, 3, 1}, + {"HO", 11, 40, 4, "HO2P08", 3, 12, 2, 0, 1, 0, 6, 28, 10, 4, 7, 1}, + {"HO", 11, 41, 4, "HO2P08", 3, 7, 2, 1, 1, 1, 6, 28, 10, 4, 7, 1}, + {"HO", 11, 42, 4, "HO2P08", 3, 3, 2, 2, 1, 2, 6, 28, 10, 4, 7, 1}, + {"HO", 11, 43, 4, "HO2P08", 1, 12, 2, 0, 1, 0, 6, 28, 10, 3, 7, 1}, + {"HO", 11, 44, 4, "HO2P08", 1, 7, 2, 1, 1, 1, 6, 28, 10, 3, 7, 1}, + {"HO", 11, 45, 4, "HO2P08", 1, 3, 2, 2, 1, 2, 6, 28, 10, 3, 7, 1}, + {"HO", 11, 46, 4, "HO2P10", 2, 3, 2, 2, 1, 2, 6, 29, 6, 4, 16, 1}, + {"HO", 11, 47, 4, "HO2P10", 2, 7, 2, 1, 1, 1, 6, 29, 6, 4, 16, 1}, + {"HO", 11, 48, 4, "HO2P10", 2, 12, 2, 0, 1, 0, 6, 29, 6, 4, 16, 1}, + {"HO", 11, 49, 4, "HO2P10", 4, 3, 2, 2, 1, 2, 6, 29, 6, 3, 16, 1}, + {"HO", 11, 50, 4, "HO2P10", 4, 7, 2, 1, 1, 1, 6, 29, 6, 3, 16, 1}, + {"HO", 11, 51, 4, "HO2P10", 4, 12, 2, 0, 1, 0, 6, 29, 6, 3, 16, 1}, + {"HO", 11, 52, 4, "HO2P10", 3, 12, 2, 0, 1, 0, 13, 30, 2, 4, 3, 1}, + {"HO", 11, 53, 4, "HO2P10", 3, 7, 2, 1, 1, 1, 13, 30, 2, 4, 3, 1}, + {"HO", 11, 54, 4, "HO2P10", 3, 3, 2, 2, 1, 2, 13, 30, 2, 4, 3, 1}, + {"HO", 11, 55, 4, "HO2P10", 1, 12, 2, 0, 1, 0, 13, 30, 2, 3, 3, 1}, + {"HO", 11, 56, 4, "HO2P10", 1, 7, 2, 1, 1, 1, 13, 30, 2, 3, 3, 1}, + {"HO", 11, 57, 4, "HO2P10", 1, 3, 2, 2, 1, 2, 13, 30, 2, 3, 3, 1}, + {"HO", 11, 58, 4, "HO2P12", 2, 3, 2, 2, 1, 2, 13, 30, 10, 4, 7, 1}, + {"HO", 11, 59, 4, "HO2P12", 2, 7, 2, 1, 1, 1, 13, 30, 10, 4, 7, 1}, + {"HO", 11, 60, 4, "HO2P12", 2, 12, 2, 0, 1, 0, 13, 30, 10, 4, 7, 1}, + {"HO", 11, 61, 4, "HO2P12", 4, 3, 2, 2, 1, 2, 13, 30, 10, 3, 7, 1}, + {"HO", 11, 62, 4, "HO2P12", 4, 7, 2, 1, 1, 1, 13, 30, 10, 3, 7, 1}, + {"HO", 11, 63, 4, "HO2P12", 4, 12, 2, 0, 1, 0, 13, 30, 10, 3, 7, 1}, + {"HO", 11, 64, 4, "HO2P12", 3, 12, 2, 0, 1, 0, 13, 31, 6, 4, 16, 1}, + {"HO", 11, 65, 4, "HO2P12", 3, 7, 2, 1, 1, 1, 13, 31, 6, 4, 16, 1}, + {"HO", 11, 66, 4, "HO2P12", 3, 3, 2, 2, 1, 2, 13, 31, 6, 4, 16, 1}, + {"HO", 11, 67, 4, "HO2P12", 1, 12, 2, 0, 1, 0, 13, 31, 6, 3, 16, 1}, + {"HO", 11, 68, 4, "HO2P12", 1, 7, 2, 1, 1, 1, 13, 31, 6, 3, 16, 1}, + {"HO", 11, 69, 4, "HO2P12", 1, 3, 2, 2, 1, 2, 13, 31, 6, 3, 16, 1}, + {"HO", 11, 70, 4, "HO2P02", 2, 3, 2, 2, 1, 2, 3, 24, 2, 4, 3, 1}, + {"HO", 11, 71, 4, "HO2P02", 2, 7, 2, 1, 1, 1, 3, 24, 2, 4, 3, 1}, + {"HO", 12, 0, 4, "HO2P02", 2, 5, 5, 2, 2, 3, 3, 24, 2, 2, 3, 1}, + {"HO", 12, 1, 4, "HO2P02", 4, 13, 5, 1, 2, 5, 3, 24, 2, 1, 3, 1}, + {"HO", 12, 2, 4, "HO2P02", 4, 9, 5, 0, 2, 4, 3, 24, 2, 1, 3, 1}, + {"HO", 12, 3, 4, "HO2P02", 4, 5, 5, 2, 2, 3, 3, 24, 2, 1, 3, 1}, + {"HO", 12, 4, 4, "HO2P02", 3, 5, 5, 2, 2, 3, 3, 24, 10, 2, 7, 1}, + {"HO", 12, 5, 4, "HO2P02", 3, 9, 5, 0, 2, 4, 3, 24, 10, 2, 7, 1}, + {"HO", 12, 6, 4, "HO2P02", 3, 13, 5, 1, 2, 5, 3, 24, 10, 2, 7, 1}, + {"HO", 12, 7, 4, "HO2P02", 1, 5, 5, 2, 2, 3, 3, 24, 10, 1, 7, 1}, + {"HO", 12, 8, 4, "HO2P02", 1, 9, 5, 0, 2, 4, 3, 24, 10, 1, 7, 1}, + {"HO", 12, 9, 4, "HO2P02", 1, 13, 5, 1, 2, 5, 3, 24, 10, 1, 7, 1}, + {"HO", 12, 10, 4, "HO2P04", 2, 13, 5, 1, 2, 5, 3, 25, 6, 2, 16, 1}, + {"HO", 12, 11, 4, "HO2P04", 2, 9, 5, 0, 2, 4, 3, 25, 6, 2, 16, 1}, + {"HO", 12, 12, 4, "HO2P04", 2, 5, 5, 2, 2, 3, 3, 25, 6, 2, 16, 1}, + {"HO", 12, 13, 4, "HO2P04", 4, 13, 5, 1, 2, 5, 3, 25, 6, 1, 16, 1}, + {"HO", 12, 14, 4, "HO2P04", 4, 9, 5, 0, 2, 4, 3, 25, 6, 1, 16, 1}, + {"HO", 12, 15, 4, "HO2P04", 4, 5, 5, 2, 2, 3, 3, 25, 6, 1, 16, 1}, + {"HO", 12, 16, 4, "HO2P04", 3, 5, 5, 2, 2, 3, 7, 26, 2, 2, 3, 1}, + {"HO", 12, 17, 4, "HO2P04", 3, 9, 5, 0, 2, 4, 7, 26, 2, 2, 3, 1}, + {"HO", 12, 18, 4, "HO2P04", 3, 13, 5, 1, 2, 5, 7, 26, 2, 2, 3, 1}, + {"HO", 12, 19, 4, "HO2P04", 1, 5, 5, 2, 2, 3, 7, 26, 2, 1, 3, 1}, + {"HO", 12, 20, 4, "HO2P04", 1, 9, 5, 0, 2, 4, 7, 26, 2, 1, 3, 1}, + {"HO", 12, 21, 4, "HO2P04", 1, 13, 5, 1, 2, 5, 7, 26, 2, 1, 3, 1}, + {"HO", 12, 22, 4, "HO2P06", 2, 13, 5, 1, 2, 5, 7, 26, 10, 2, 7, 1}, + {"HO", 12, 23, 4, "HO2P06", 2, 9, 5, 0, 2, 4, 7, 26, 10, 2, 7, 1}, + {"HO", 12, 24, 4, "HO2P06", 2, 5, 5, 2, 2, 3, 7, 26, 10, 2, 7, 1}, + {"HO", 12, 25, 4, "HO2P06", 4, 13, 5, 1, 2, 5, 7, 26, 10, 1, 7, 1}, + {"HO", 12, 26, 4, "HO2P06", 4, 9, 5, 0, 2, 4, 7, 26, 10, 1, 7, 1}, + {"HO", 12, 27, 4, "HO2P06", 4, 5, 5, 2, 2, 3, 7, 26, 10, 1, 7, 1}, + {"HO", 12, 28, 4, "HO2P06", 3, 5, 5, 2, 2, 3, 7, 27, 6, 2, 16, 1}, + {"HO", 12, 29, 4, "HO2P06", 3, 9, 5, 0, 2, 4, 7, 27, 6, 2, 16, 1}, + {"HO", 12, 30, 4, "HO2P06", 3, 13, 5, 1, 2, 5, 7, 27, 6, 2, 16, 1}, + {"HO", 12, 31, 4, "HO2P06", 1, 5, 5, 2, 2, 3, 7, 27, 6, 1, 16, 1}, + {"HO", 12, 32, 4, "HO2P06", 1, 9, 5, 0, 2, 4, 7, 27, 6, 1, 16, 1}, + {"HO", 12, 33, 4, "HO2P06", 1, 13, 5, 1, 2, 5, 7, 27, 6, 1, 16, 1}, + {"HO", 12, 34, 4, "HO2P08", 2, 13, 5, 1, 2, 5, 6, 28, 2, 2, 3, 1}, + {"HO", 12, 35, 4, "HO2P08", 2, 9, 5, 0, 2, 4, 6, 28, 2, 2, 3, 1}, + {"HO", 12, 36, 4, "HO2P08", 2, 5, 5, 2, 2, 3, 6, 28, 2, 2, 3, 1}, + {"HO", 12, 37, 4, "HO2P08", 4, 13, 5, 1, 2, 5, 6, 28, 2, 1, 3, 1}, + {"HO", 12, 38, 4, "HO2P08", 4, 9, 5, 0, 2, 4, 6, 28, 2, 1, 3, 1}, + {"HO", 12, 39, 4, "HO2P08", 4, 5, 5, 2, 2, 3, 6, 28, 2, 1, 3, 1}, + {"HO", 12, 40, 4, "HO2P08", 3, 5, 5, 2, 2, 3, 6, 28, 10, 2, 7, 1}, + {"HO", 12, 41, 4, "HO2P08", 3, 9, 5, 0, 2, 4, 6, 28, 10, 2, 7, 1}, + {"HO", 12, 42, 4, "HO2P08", 3, 13, 5, 1, 2, 5, 6, 28, 10, 2, 7, 1}, + {"HO", 12, 43, 4, "HO2P08", 1, 5, 5, 2, 2, 3, 6, 28, 10, 1, 7, 1}, + {"HO", 12, 44, 4, "HO2P08", 1, 9, 5, 0, 2, 4, 6, 28, 10, 1, 7, 1}, + {"HO", 12, 45, 4, "HO2P08", 1, 13, 5, 1, 2, 5, 6, 28, 10, 1, 7, 1}, + {"HO", 12, 46, 4, "HO2P10", 2, 13, 5, 1, 2, 5, 6, 29, 6, 2, 16, 1}, + {"HO", 12, 47, 4, "HO2P10", 2, 9, 5, 0, 2, 4, 6, 29, 6, 2, 16, 1}, + {"HO", 12, 48, 4, "HO2P10", 2, 5, 5, 2, 2, 3, 6, 29, 6, 2, 16, 1}, + {"HO", 12, 49, 4, "HO2P10", 4, 13, 5, 1, 2, 5, 6, 29, 6, 1, 16, 1}, + {"HO", 12, 50, 4, "HO2P10", 4, 9, 5, 0, 2, 4, 6, 29, 6, 1, 16, 1}, + {"HO", 12, 51, 4, "HO2P10", 4, 5, 5, 2, 2, 3, 6, 29, 6, 1, 16, 1}, + {"HO", 12, 52, 4, "HO2P10", 3, 5, 5, 2, 2, 3, 13, 30, 2, 2, 3, 1}, + {"HO", 12, 53, 4, "HO2P10", 3, 9, 5, 0, 2, 4, 13, 30, 2, 2, 3, 1}, + {"HO", 12, 54, 4, "HO2P10", 3, 13, 5, 1, 2, 5, 13, 30, 2, 2, 3, 1}, + {"HO", 12, 55, 4, "HO2P10", 1, 5, 5, 2, 2, 3, 13, 30, 2, 1, 3, 1}, + {"HO", 12, 56, 4, "HO2P10", 1, 9, 5, 0, 2, 4, 13, 30, 2, 1, 3, 1}, + {"HO", 12, 57, 4, "HO2P10", 1, 13, 5, 1, 2, 5, 13, 30, 2, 1, 3, 1}, + {"HO", 12, 58, 4, "HO2P12", 2, 13, 5, 1, 2, 5, 13, 30, 10, 2, 7, 1}, + {"HO", 12, 59, 4, "HO2P12", 2, 9, 5, 0, 2, 4, 13, 30, 10, 2, 7, 1}, + {"HO", 12, 60, 4, "HO2P12", 2, 5, 5, 2, 2, 3, 13, 30, 10, 2, 7, 1}, + {"HO", 12, 61, 4, "HO2P12", 4, 13, 5, 1, 2, 5, 13, 30, 10, 1, 7, 1}, + {"HO", 12, 62, 4, "HO2P12", 4, 9, 5, 0, 2, 4, 13, 30, 10, 1, 7, 1}, + {"HO", 12, 63, 4, "HO2P12", 4, 5, 5, 2, 2, 3, 13, 30, 10, 1, 7, 1}, + {"HO", 12, 64, 4, "HO2P12", 3, 5, 5, 2, 2, 3, 13, 31, 6, 2, 16, 1}, + {"HO", 12, 65, 4, "HO2P12", 3, 9, 5, 0, 2, 4, 13, 31, 6, 2, 16, 1}, + {"HO", 12, 66, 4, "HO2P12", 3, 13, 5, 1, 2, 5, 13, 31, 6, 2, 16, 1}, + {"HO", 12, 67, 4, "HO2P12", 1, 5, 5, 2, 2, 3, 13, 31, 6, 1, 16, 1}, + {"HO", 12, 68, 4, "HO2P12", 1, 9, 5, 0, 2, 4, 13, 31, 6, 1, 16, 1}, + {"HO", 12, 69, 4, "HO2P12", 1, 13, 5, 1, 2, 5, 13, 31, 6, 1, 16, 1}, + {"HO", 12, 70, 4, "HO2P02", 2, 13, 5, 1, 2, 5, 3, 24, 2, 2, 3, 1}, + {"HO", 12, 71, 4, "HO2P02", 2, 9, 5, 0, 2, 4, 3, 24, 2, 2, 3, 1}, + {"HO", 13, 0, 4, "HO2P02", 2, 11, 4, 0, 2, 0, 3, 24, 0, 4, 2, 1}, + {"HO", 13, 1, 4, "HO2P02", 4, 2, 4, 2, 2, 2, 3, 24, 0, 3, 2, 1}, + {"HO", 13, 2, 4, "HO2P02", 4, 6, 4, 1, 2, 1, 3, 24, 0, 3, 2, 1}, + {"HO", 13, 3, 4, "HO2P02", 4, 11, 4, 0, 2, 0, 3, 24, 0, 3, 2, 1}, + {"HO", 13, 4, 4, "HO2P02", 3, 11, 4, 0, 2, 0, 3, 24, 8, 4, 6, 1}, + {"HO", 13, 5, 4, "HO2P02", 3, 6, 4, 1, 2, 1, 3, 24, 8, 4, 6, 1}, + {"HO", 13, 6, 4, "HO2P02", 3, 2, 4, 2, 2, 2, 3, 24, 8, 4, 6, 1}, + {"HO", 13, 7, 4, "HO2P02", 1, 11, 4, 0, 2, 0, 3, 24, 8, 3, 6, 1}, + {"HO", 13, 8, 4, "HO2P02", 1, 6, 4, 1, 2, 1, 3, 24, 8, 3, 6, 1}, + {"HO", 13, 9, 4, "HO2P02", 1, 2, 4, 2, 2, 2, 3, 24, 8, 3, 6, 1}, + {"HO", 13, 10, 4, "HO2P04", 2, 2, 4, 2, 2, 2, 3, 25, 4, 4, 15, 1}, + {"HO", 13, 11, 4, "HO2P04", 2, 6, 4, 1, 2, 1, 3, 25, 4, 4, 15, 1}, + {"HO", 13, 12, 4, "HO2P04", 2, 11, 4, 0, 2, 0, 3, 25, 4, 4, 15, 1}, + {"HO", 13, 13, 4, "HO2P04", 4, 2, 4, 2, 2, 2, 3, 25, 4, 3, 15, 1}, + {"HO", 13, 14, 4, "HO2P04", 4, 6, 4, 1, 2, 1, 3, 25, 4, 3, 15, 1}, + {"HO", 13, 15, 4, "HO2P04", 4, 11, 4, 0, 2, 0, 3, 25, 4, 3, 15, 1}, + {"HO", 13, 16, 4, "HO2P04", 3, 11, 4, 0, 2, 0, 7, 26, 0, 4, 2, 1}, + {"HO", 13, 17, 4, "HO2P04", 3, 6, 4, 1, 2, 1, 7, 26, 0, 4, 2, 1}, + {"HO", 13, 18, 4, "HO2P04", 3, 2, 4, 2, 2, 2, 7, 26, 0, 4, 2, 1}, + {"HO", 13, 19, 4, "HO2P04", 1, 11, 4, 0, 2, 0, 7, 26, 0, 3, 2, 1}, + {"HO", 13, 20, 4, "HO2P04", 1, 6, 4, 1, 2, 1, 7, 26, 0, 3, 2, 1}, + {"HO", 13, 21, 4, "HO2P04", 1, 2, 4, 2, 2, 2, 7, 26, 0, 3, 2, 1}, + {"HO", 13, 22, 4, "HO2P06", 2, 2, 4, 2, 2, 2, 7, 26, 8, 4, 6, 1}, + {"HO", 13, 23, 4, "HO2P06", 2, 6, 4, 1, 2, 1, 7, 26, 8, 4, 6, 1}, + {"HO", 13, 24, 4, "HO2P06", 2, 11, 4, 0, 2, 0, 7, 26, 8, 4, 6, 1}, + {"HO", 13, 25, 4, "HO2P06", 4, 2, 4, 2, 2, 2, 7, 26, 8, 3, 6, 1}, + {"HO", 13, 26, 4, "HO2P06", 4, 6, 4, 1, 2, 1, 7, 26, 8, 3, 6, 1}, + {"HO", 13, 27, 4, "HO2P06", 4, 11, 4, 0, 2, 0, 7, 26, 8, 3, 6, 1}, + {"HO", 13, 28, 4, "HO2P06", 3, 11, 4, 0, 2, 0, 7, 27, 4, 4, 15, 1}, + {"HO", 13, 29, 4, "HO2P06", 3, 6, 4, 1, 2, 1, 7, 27, 4, 4, 15, 1}, + {"HO", 13, 30, 4, "HO2P06", 3, 2, 4, 2, 2, 2, 7, 27, 4, 4, 15, 1}, + {"HO", 13, 31, 4, "HO2P06", 1, 11, 4, 0, 2, 0, 7, 27, 4, 3, 15, 1}, + {"HO", 13, 32, 4, "HO2P06", 1, 6, 4, 1, 2, 1, 7, 27, 4, 3, 15, 1}, + {"HO", 13, 33, 4, "HO2P06", 1, 2, 4, 2, 2, 2, 7, 27, 4, 3, 15, 1}, + {"HO", 13, 34, 4, "HO2P08", 2, 2, 4, 2, 2, 2, 6, 28, 0, 4, 2, 1}, + {"HO", 13, 35, 4, "HO2P08", 2, 6, 4, 1, 2, 1, 6, 28, 0, 4, 2, 1}, + {"HO", 13, 36, 4, "HO2P08", 2, 11, 4, 0, 2, 0, 6, 28, 0, 4, 2, 1}, + {"HO", 13, 37, 4, "HO2P08", 4, 2, 4, 2, 2, 2, 6, 28, 0, 3, 2, 1}, + {"HO", 13, 38, 4, "HO2P08", 4, 6, 4, 1, 2, 1, 6, 28, 0, 3, 2, 1}, + {"HO", 13, 39, 4, "HO2P08", 4, 11, 4, 0, 2, 0, 6, 28, 0, 3, 2, 1}, + {"HO", 13, 40, 4, "HO2P08", 3, 11, 4, 0, 2, 0, 6, 28, 8, 4, 6, 1}, + {"HO", 13, 41, 4, "HO2P08", 3, 6, 4, 1, 2, 1, 6, 28, 8, 4, 6, 1}, + {"HO", 13, 42, 4, "HO2P08", 3, 2, 4, 2, 2, 2, 6, 28, 8, 4, 6, 1}, + {"HO", 13, 43, 4, "HO2P08", 1, 11, 4, 0, 2, 0, 6, 28, 8, 3, 6, 1}, + {"HO", 13, 44, 4, "HO2P08", 1, 6, 4, 1, 2, 1, 6, 28, 8, 3, 6, 1}, + {"HO", 13, 45, 4, "HO2P08", 1, 2, 4, 2, 2, 2, 6, 28, 8, 3, 6, 1}, + {"HO", 13, 46, 4, "HO2P10", 2, 2, 4, 2, 2, 2, 6, 29, 4, 4, 15, 1}, + {"HO", 13, 47, 4, "HO2P10", 2, 6, 4, 1, 2, 1, 6, 29, 4, 4, 15, 1}, + {"HO", 13, 48, 4, "HO2P10", 2, 11, 4, 0, 2, 0, 6, 29, 4, 4, 15, 1}, + {"HO", 13, 49, 4, "HO2P10", 4, 2, 4, 2, 2, 2, 6, 29, 4, 3, 15, 1}, + {"HO", 13, 50, 4, "HO2P10", 4, 6, 4, 1, 2, 1, 6, 29, 4, 3, 15, 1}, + {"HO", 13, 51, 4, "HO2P10", 4, 11, 4, 0, 2, 0, 6, 29, 4, 3, 15, 1}, + {"HO", 13, 52, 4, "HO2P10", 3, 11, 4, 0, 2, 0, 13, 30, 0, 4, 2, 1}, + {"HO", 13, 53, 4, "HO2P10", 3, 6, 4, 1, 2, 1, 13, 30, 0, 4, 2, 1}, + {"HO", 13, 54, 4, "HO2P10", 3, 2, 4, 2, 2, 2, 13, 30, 0, 4, 2, 1}, + {"HO", 13, 55, 4, "HO2P10", 1, 11, 4, 0, 2, 0, 13, 30, 0, 3, 2, 1}, + {"HO", 13, 56, 4, "HO2P10", 1, 6, 4, 1, 2, 1, 13, 30, 0, 3, 2, 1}, + {"HO", 13, 57, 4, "HO2P10", 1, 2, 4, 2, 2, 2, 13, 30, 0, 3, 2, 1}, + {"HO", 13, 58, 4, "HO2P12", 2, 2, 4, 2, 2, 2, 13, 30, 8, 4, 6, 1}, + {"HO", 13, 59, 4, "HO2P12", 2, 6, 4, 1, 2, 1, 13, 30, 8, 4, 6, 1}, + {"HO", 13, 60, 4, "HO2P12", 2, 11, 4, 0, 2, 0, 13, 30, 8, 4, 6, 1}, + {"HO", 13, 61, 4, "HO2P12", 4, 2, 4, 2, 2, 2, 13, 30, 8, 3, 6, 1}, + {"HO", 13, 62, 4, "HO2P12", 4, 6, 4, 1, 2, 1, 13, 30, 8, 3, 6, 1}, + {"HO", 13, 63, 4, "HO2P12", 4, 11, 4, 0, 2, 0, 13, 30, 8, 3, 6, 1}, + {"HO", 13, 64, 4, "HO2P12", 3, 11, 4, 0, 2, 0, 13, 31, 4, 4, 15, 1}, + {"HO", 13, 65, 4, "HO2P12", 3, 6, 4, 1, 2, 1, 13, 31, 4, 4, 15, 1}, + {"HO", 13, 66, 4, "HO2P12", 3, 2, 4, 2, 2, 2, 13, 31, 4, 4, 15, 1}, + {"HO", 13, 67, 4, "HO2P12", 1, 11, 4, 0, 2, 0, 13, 31, 4, 3, 15, 1}, + {"HO", 13, 68, 4, "HO2P12", 1, 6, 4, 1, 2, 1, 13, 31, 4, 3, 15, 1}, + {"HO", 13, 69, 4, "HO2P12", 1, 2, 4, 2, 2, 2, 13, 31, 4, 3, 15, 1}, + {"HO", 13, 70, 4, "HO2P02", 2, 2, 4, 2, 2, 2, 3, 24, 0, 4, 2, 1}, + {"HO", 13, 71, 4, "HO2P02", 2, 6, 4, 1, 2, 1, 3, 24, 0, 4, 2, 1}, + {"HO", 14, 0, 4, "HO2P02", 2, 16, 7, 2, 3, 3, 3, 24, 0, 2, 2, 1}, + {"HO", 14, 1, 4, "HO2P02", 4, 14, 7, 1, 3, 5, 3, 24, 0, 1, 2, 1}, + {"HO", 14, 2, 4, "HO2P02", 4, 15, 7, 0, 3, 4, 3, 24, 0, 1, 2, 1}, + {"HO", 14, 3, 4, "HO2P02", 4, 16, 7, 2, 3, 3, 3, 24, 0, 1, 2, 1}, + {"HO", 14, 4, 4, "HO2P02", 3, 16, 7, 2, 3, 3, 3, 24, 8, 2, 6, 1}, + {"HO", 14, 5, 4, "HO2P02", 3, 15, 7, 0, 3, 4, 3, 24, 8, 2, 6, 1}, + {"HO", 14, 6, 4, "HO2P02", 3, 14, 7, 1, 3, 5, 3, 24, 8, 2, 6, 1}, + {"HO", 14, 7, 4, "HO2P02", 1, 16, 7, 2, 3, 3, 3, 24, 8, 1, 6, 1}, + {"HO", 14, 8, 4, "HO2P02", 1, 15, 7, 0, 3, 4, 3, 24, 8, 1, 6, 1}, + {"HO", 14, 9, 4, "HO2P02", 1, 14, 7, 1, 3, 5, 3, 24, 8, 1, 6, 1}, + {"HO", 14, 10, 4, "HO2P04", 2, 14, 7, 1, 3, 5, 3, 25, 4, 2, 15, 1}, + {"HO", 14, 11, 4, "HO2P04", 2, 15, 7, 0, 3, 4, 3, 25, 4, 2, 15, 1}, + {"HO", 14, 12, 4, "HO2P04", 2, 16, 7, 2, 3, 3, 3, 25, 4, 2, 15, 1}, + {"HO", 14, 13, 4, "HO2P04", 4, 14, 7, 1, 3, 5, 3, 25, 4, 1, 15, 1}, + {"HO", 14, 14, 4, "HO2P04", 4, 15, 7, 0, 3, 4, 3, 25, 4, 1, 15, 1}, + {"HO", 14, 15, 4, "HO2P04", 4, 16, 7, 2, 3, 3, 3, 25, 4, 1, 15, 1}, + {"HO", 14, 16, 4, "HO2P04", 3, 16, 7, 2, 3, 3, 7, 26, 0, 2, 2, 1}, + {"HO", 14, 17, 4, "HO2P04", 3, 15, 7, 0, 3, 4, 7, 26, 0, 2, 2, 1}, + {"HO", 14, 18, 4, "HO2P04", 3, 14, 7, 1, 3, 5, 7, 26, 0, 2, 2, 1}, + {"HO", 14, 19, 4, "HO2P04", 1, 16, 7, 2, 3, 3, 7, 26, 0, 1, 2, 1}, + {"HO", 14, 20, 4, "HO2P04", 1, 15, 7, 0, 3, 4, 7, 26, 0, 1, 2, 1}, + {"HO", 14, 21, 4, "HO2P04", 1, 14, 7, 1, 3, 5, 7, 26, 0, 1, 2, 1}, + {"HO", 14, 22, 4, "HO2P06", 2, 14, 7, 1, 3, 5, 7, 26, 8, 2, 6, 1}, + {"HO", 14, 23, 4, "HO2P06", 2, 15, 7, 0, 3, 4, 7, 26, 8, 2, 6, 1}, + {"HO", 14, 24, 4, "HO2P06", 2, 16, 7, 2, 3, 3, 7, 26, 8, 2, 6, 1}, + {"HO", 14, 25, 4, "HO2P06", 4, 14, 7, 1, 3, 5, 7, 26, 8, 1, 6, 1}, + {"HO", 14, 26, 4, "HO2P06", 4, 15, 7, 0, 3, 4, 7, 26, 8, 1, 6, 1}, + {"HO", 14, 27, 4, "HO2P06", 4, 16, 7, 2, 3, 3, 7, 26, 8, 1, 6, 1}, + {"HO", 14, 28, 4, "HO2P06", 3, 16, 7, 2, 3, 3, 7, 27, 4, 2, 15, 1}, + {"HO", 14, 29, 4, "HO2P06", 3, 15, 7, 0, 3, 4, 7, 27, 4, 2, 15, 1}, + {"HO", 14, 30, 4, "HO2P06", 3, 14, 7, 1, 3, 5, 7, 27, 4, 2, 15, 1}, + {"HO", 14, 31, 4, "HO2P06", 1, 16, 7, 2, 3, 3, 7, 27, 4, 1, 15, 1}, + {"HO", 14, 32, 4, "HO2P06", 1, 15, 7, 0, 3, 4, 7, 27, 4, 1, 15, 1}, + {"HO", 14, 33, 4, "HO2P06", 1, 14, 7, 1, 3, 5, 7, 27, 4, 1, 15, 1}, + {"HO", 14, 34, 4, "HO2P08", 2, 14, 7, 1, 3, 5, 6, 28, 0, 2, 2, 1}, + {"HO", 14, 35, 4, "HO2P08", 2, 15, 7, 0, 3, 4, 6, 28, 0, 2, 2, 1}, + {"HO", 14, 36, 4, "HO2P08", 2, 16, 7, 2, 3, 3, 6, 28, 0, 2, 2, 1}, + {"HO", 14, 37, 4, "HO2P08", 4, 14, 7, 1, 3, 5, 6, 28, 0, 1, 2, 1}, + {"HO", 14, 38, 4, "HO2P08", 4, 15, 7, 0, 3, 4, 6, 28, 0, 1, 2, 1}, + {"HO", 14, 39, 4, "HO2P08", 4, 16, 7, 2, 3, 3, 6, 28, 0, 1, 2, 1}, + {"HO", 14, 40, 4, "HO2P08", 3, 16, 7, 2, 3, 3, 6, 28, 8, 2, 6, 1}, + {"HO", 14, 41, 4, "HO2P08", 3, 15, 7, 0, 3, 4, 6, 28, 8, 2, 6, 1}, + {"HO", 14, 42, 4, "HO2P08", 3, 14, 7, 1, 3, 5, 6, 28, 8, 2, 6, 1}, + {"HO", 14, 43, 4, "HO2P08", 1, 16, 7, 2, 3, 3, 6, 28, 8, 1, 6, 1}, + {"HO", 14, 44, 4, "HO2P08", 1, 15, 7, 0, 3, 4, 6, 28, 8, 1, 6, 1}, + {"HO", 14, 45, 4, "HO2P08", 1, 14, 7, 1, 3, 5, 6, 28, 8, 1, 6, 1}, + {"HO", 14, 46, 4, "HO2P10", 2, 14, 7, 1, 3, 5, 6, 29, 4, 2, 15, 1}, + {"HO", 14, 47, 4, "HO2P10", 2, 15, 7, 0, 3, 4, 6, 29, 4, 2, 15, 1}, + {"HO", 14, 48, 4, "HO2P10", 2, 16, 7, 2, 3, 3, 6, 29, 4, 2, 15, 1}, + {"HO", 14, 49, 4, "HO2P10", 4, 14, 7, 1, 3, 5, 6, 29, 4, 1, 15, 1}, + {"HO", 14, 50, 4, "HO2P10", 4, 15, 7, 0, 3, 4, 6, 29, 4, 1, 15, 1}, + {"HO", 14, 51, 4, "HO2P10", 4, 16, 7, 2, 3, 3, 6, 29, 4, 1, 15, 1}, + {"HO", 14, 52, 4, "HO2P10", 3, 16, 7, 2, 3, 3, 13, 30, 0, 2, 2, 1}, + {"HO", 14, 53, 4, "HO2P10", 3, 15, 7, 0, 3, 4, 13, 30, 0, 2, 2, 1}, + {"HO", 14, 54, 4, "HO2P10", 3, 14, 7, 1, 3, 5, 13, 30, 0, 2, 2, 1}, + {"HO", 14, 55, 4, "HO2P10", 1, 16, 7, 2, 3, 3, 13, 30, 0, 1, 2, 1}, + {"HO", 14, 56, 4, "HO2P10", 1, 15, 7, 0, 3, 4, 13, 30, 0, 1, 2, 1}, + {"HO", 14, 57, 4, "HO2P10", 1, 14, 7, 1, 3, 5, 13, 30, 0, 1, 2, 1}, + {"HO", 14, 58, 4, "HO2P12", 2, 14, 7, 1, 3, 5, 13, 30, 8, 2, 6, 1}, + {"HO", 14, 59, 4, "HO2P12", 2, 15, 7, 0, 3, 4, 13, 30, 8, 2, 6, 1}, + {"HO", 14, 60, 4, "HO2P12", 2, 16, 7, 2, 3, 3, 13, 30, 8, 2, 6, 1}, + {"HO", 14, 61, 4, "HO2P12", 4, 14, 7, 1, 3, 5, 13, 30, 8, 1, 6, 1}, + {"HO", 14, 62, 4, "HO2P12", 4, 15, 7, 0, 3, 4, 13, 30, 8, 1, 6, 1}, + {"HO", 14, 63, 4, "HO2P12", 4, 16, 7, 2, 3, 3, 13, 30, 8, 1, 6, 1}, + {"HO", 14, 64, 4, "HO2P12", 3, 16, 7, 2, 3, 3, 13, 31, 4, 2, 15, 1}, + {"HO", 14, 65, 4, "HO2P12", 3, 15, 7, 0, 3, 4, 13, 31, 4, 2, 15, 1}, + {"HO", 14, 66, 4, "HO2P12", 3, 14, 7, 1, 3, 5, 13, 31, 4, 2, 15, 1}, + {"HO", 14, 67, 4, "HO2P12", 1, 16, 7, 2, 3, 3, 13, 31, 4, 1, 15, 1}, + {"HO", 14, 68, 4, "HO2P12", 1, 15, 7, 0, 3, 4, 13, 31, 4, 1, 15, 1}, + {"HO", 14, 69, 4, "HO2P12", 1, 14, 7, 1, 3, 5, 13, 31, 4, 1, 15, 1}, + {"HO", 14, 70, 4, "HO2P02", 2, 14, 7, 1, 3, 5, 3, 24, 0, 2, 2, 1}, + {"HO", 14, 71, 4, "HO2P02", 2, 15, 7, 0, 3, 4, 3, 24, 0, 2, 2, 1}, +}; + +// macro for array length calculation +#define DIM(a) (sizeof(a) / sizeof(a[0])) + +// class for cells array managing +class CellDB { +public: + CellDB() : cells(AllCells, AllCells + DIM(AllCells)) {} + + // return i-th cell + Cell operator[](int i) const { return cells[i]; } + // number of cells in database + int size() const { return cells.size(); } + + // select cells for which "par" == "val" + template + CellDB find(const std::string par, const T val) const { + std::vector s; + for (size_t i = 0; i < cells.size(); ++i) + if (cells[i].check(par, val)) + s.push_back(cells[i]); + return CellDB(s); + } + +private: + CellDB(const std::vector s) : cells(s) {} + std::vector cells; +}; diff --git a/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringALCARECOPSM.cc b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringALCARECOPSM.cc new file mode 100644 index 0000000000000..372ad89c74771 --- /dev/null +++ b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringALCARECOPSM.cc @@ -0,0 +1,10342 @@ +// How to run: ./RemoteMonitoringALCARECOPSM.cc.exe root_file1 root_file_ref Global +// +// +// +// + + +#include "LogEleMapdb.h" + +#include +#include + +#include "TH1.h" +#include "TH2.h" +#include "TCanvas.h" +#include "TROOT.h" +#include +#include "TStyle.h" +#include "TSystem.h" +#include "TLegend.h" +#include "TText.h" +#include "TAxis.h" +#include "TFile.h" +#include "TLine.h" +#include "TGraph.h" + +using namespace std; +int +main(int argc, char *argv[]){ + std::string dirnm = "Analyzer"; + gROOT->Reset(); + gROOT->SetStyle("Plain"); + gStyle->SetOptStat(0); + gStyle->SetOptTitle(1); + // ok change + if(argc<3) return 1; + char fname[300]; + char refname[300]; + char runtypeC[300]; + sprintf(fname,"%s",argv[1]); + sprintf(refname,"%s",argv[2]); + sprintf(runtypeC,"%s",argv[3]); + // std::cout<ls(); + TDirectory *dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str()); + + // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny + + //====================================================================== + // Prepare histograms and plot them to .png files + + // Phi-symmetry for Calibration Group: + + TCanvas *c1x0 = new TCanvas("c1x0","c1x0",300,10,800,700); + + TCanvas *c1x1 = new TCanvas("c1x1","c1x1",100,10,600,700); + + TCanvas *c2x1 = new TCanvas("c2x1","c2x1",200,300,1600,800); + + TCanvas *c3x5 = new TCanvas("c3x5","c3x5",1000,1500); + // + + + char *str = (char*)alloca(10000); + + // before upgrade 2017: + // depth: HB depth1,2; HE depth1,2,3; HO depth4; HF depth1,2 + // 5 depthes: 0(empty), 1,2,3,4 + + // upgrade 2017: + // depth: HB depth1,2; HE depth1,2,3,4,5,6,7; HO depth4; HF depth1,2,3,4 + // 8 depthes: 0(empty), 1,2,3,4,5,6,7 + + // upgrade 2021: + // depth: HB depth1,2,3,4; HE depth1,2,3,4,5,6,7; HO depth4; HF depth1,2,3,4 + // 10 depthes: 0(empty), 1,2,3,4,5,6,7,8,9 + + // Int_t ALLDEPTH = 5; + // Int_t ALLDEPTH = 8; + Int_t ALLDEPTH = 10; + + int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + /////////////////////////////////////////////////////////////////////////////////////////////////////////////// + + const int nsub = 4; const int neta = 82; const int nphi = 72; + int njeta = neta; int njphi = nphi; + //const int ndepth = 7; + int ndepth; + ///////////// ///////////// ////////////////////////// ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: + ///////////// ///////////// ////////////////////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: + ///////////// ///////////// ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: + + + + + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double arecosignalHB[ndepth][njeta][njphi]; + double recosignalvarianceHB[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HB recSignalEnergy + TH2F *recSignalEnergy1HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB1"); + TH2F *recSignalEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + TH2F* recSignalEnergyHB1 = (TH2F*)recSignalEnergy1HB1->Clone("recSignalEnergyHB1"); + recSignalEnergyHB1->Divide(recSignalEnergy1HB1,recSignalEnergy0HB1, 1, 1, "B"); + TH2F *recSignalEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB2"); + TH2F *recSignalEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + TH2F* recSignalEnergyHB2 = (TH2F*)recSignalEnergy1HB2->Clone("recSignalEnergyHB2"); + recSignalEnergyHB2->Divide(recSignalEnergy1HB2,recSignalEnergy0HB2, 1, 1, "B"); + TH2F *recSignalEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB3"); + TH2F *recSignalEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + TH2F* recSignalEnergyHB3 = (TH2F*)recSignalEnergy1HB3->Clone("recSignalEnergyHB3"); + recSignalEnergyHB3->Divide(recSignalEnergy1HB3,recSignalEnergy0HB3, 1, 1, "B"); + TH2F *recSignalEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB4"); + TH2F *recSignalEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + TH2F* recSignalEnergyHB4 = (TH2F*)recSignalEnergy1HB4->Clone("recSignalEnergyHB4"); + recSignalEnergyHB4->Divide(recSignalEnergy1HB4,recSignalEnergy0HB4, 1, 1, "B"); + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + arecosignalHB[1][jeta][jphi] = recSignalEnergyHB2->GetBinContent(jeta+1,jphi+1); + arecosignalHB[2][jeta][jphi] = recSignalEnergyHB3->GetBinContent(jeta+1,jphi+1); + arecosignalHB[3][jeta][jphi] = recSignalEnergyHB4->GetBinContent(jeta+1,jphi+1); + if(arecosignalHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += arecosignalHB[0][jeta][jphi];++nsumrecosignalHB0;} + if(arecosignalHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += arecosignalHB[1][jeta][jphi];++nsumrecosignalHB1;} + if(arecosignalHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += arecosignalHB[2][jeta][jphi];++nsumrecosignalHB2;} + if(arecosignalHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += arecosignalHB[3][jeta][jphi];++nsumrecosignalHB3;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) arecosignalHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; + if(arecosignalHB[1][jeta][jphi] > 0.) arecosignalHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; + if(arecosignalHB[2][jeta][jphi] > 0.) arecosignalHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; + if(arecosignalHB[3][jeta][jphi] > 0.) arecosignalHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthfs + //====================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRrecosignalHB42D = new TH2F("GefzRrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHB42D0 = new TH2F("GefzRrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHB42DF = (TH2F*)GefzRrecosignalHB42D0->Clone("GefzRrecosignalHB42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRrecosignalHB42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHB42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRrecosignalHB42DF->Divide(GefzRrecosignalHB42D,GefzRrecosignalHB42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHB42DF->SetYTitle(" #phi \b"); + GefzRrecosignalHB42DF->Draw("COLZ"); + + c2x1->cd(2); + TH1F *energyhitSignal_HB= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HB"); + energyhitSignal_HB ->SetMarkerStyle(20);energyhitSignal_HB ->SetMarkerSize(0.4);energyhitSignal_HB ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HB ->SetXTitle("energyhitSignal_HB \b");energyhitSignal_HB ->SetMarkerColor(2);energyhitSignal_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HB ->Draw("Error"); + + ///////////////// + c2x1->Update(); + c2x1->Print("RrecosignalGeneralD2PhiSymmetryHB.png"); + c2x1->Clear(); + // clean-up + if (GefzRrecosignalHB42D) delete GefzRrecosignalHB42D; + if (GefzRrecosignalHB42D0) delete GefzRrecosignalHB42D0; + if (GefzRrecosignalHB42DF) delete GefzRrecosignalHB42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRrecosignalHB41D = new TH1F("GefzRrecosignalHB41D","", nphi, 0., 72. ); + TH1F* GefzRrecosignalHB41D0 = new TH1F("GefzRrecosignalHB41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHB41DF = (TH1F*)GefzRrecosignalHB41D0->Clone("GefzRrecosignalHB41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHB41D0 ->Fill(jphi,1.); } + }}} + GefzRrecosignalHB41DF->Divide(GefzRrecosignalHB41D,GefzRrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRrecosignalHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB41DF->SetMarkerStyle(20); GefzRrecosignalHB41DF->SetMarkerSize(1.4); GefzRrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHB41DF->SetXTitle("#phi \b"); GefzRrecosignalHB41DF->SetYTitle(" \b"); GefzRrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHB41DF->SetMarkerColor(4); GefzRrecosignalHB41DF->SetLineColor(4);// GefzRrecosignalHB41DF->SetMinimum(0.8); // GefzRrecosignalHB41DF->SetMaximum(1.000); + GefzRrecosignalHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RrecosignalGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (GefzRrecosignalHB41D) delete GefzRrecosignalHB41D; + if (GefzRrecosignalHB41D0) delete GefzRrecosignalHB41D0; + if (GefzRrecosignalHB41DF) delete GefzRrecosignalHB41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal1=1; + TH1F* h2CeffHBpositivedirectionRecosignal1 = new TH1F("h2CeffHBpositivedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBpositivedirectionRecosignal1 = "<SetMarkerColor(2);HBpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal1 == 1) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 2) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 3) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 4) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 5) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 6) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 7) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 8) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 9) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==10) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==11) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==12) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==13) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==14) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==15) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==16) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignal1->Draw("Error"); + kcountHBpositivedirectionRecosignal1++; + if(kcountHBpositivedirectionRecosignal1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal1) delete h2CeffHBpositivedirectionRecosignal1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal2=1; + TH1F* h2CeffHBpositivedirectionRecosignal2 = new TH1F("h2CeffHBpositivedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBpositivedirectionRecosignal2 = "<SetMarkerColor(2);HBpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal2 == 1) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 2) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 3) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 4) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 5) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 6) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 7) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 8) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 9) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==10) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==11) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==12) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==13) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==14) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==15) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==16) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignal2->Draw("Error"); + kcountHBpositivedirectionRecosignal2++; + if(kcountHBpositivedirectionRecosignal2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal2) delete h2CeffHBpositivedirectionRecosignal2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal3=1; + TH1F* h2CeffHBpositivedirectionRecosignal3 = new TH1F("h2CeffHBpositivedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBpositivedirectionRecosignal3 = "<SetMarkerColor(2);HBpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal3 == 1) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 2) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 3) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 4) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 5) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 6) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 7) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 8) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 9) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==10) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==11) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==12) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==13) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==14) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==15) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==16) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignal3->Draw("Error"); + kcountHBpositivedirectionRecosignal3++; + if(kcountHBpositivedirectionRecosignal3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal3) delete h2CeffHBpositivedirectionRecosignal3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal4=1; + TH1F* h2CeffHBpositivedirectionRecosignal4 = new TH1F("h2CeffHBpositivedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBpositivedirectionRecosignal4 = "<SetMarkerColor(2);HBpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal4 == 1) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 2) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 3) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 4) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 5) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 6) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 7) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 8) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 9) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==10) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==11) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==12) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==13) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==14) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==15) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==16) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignal4->Draw("Error"); + kcountHBpositivedirectionRecosignal4++; + if(kcountHBpositivedirectionRecosignal4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal4) delete h2CeffHBpositivedirectionRecosignal4; + + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal1=1; + TH1F* h2CeffHBnegativedirectionRecosignal1 = new TH1F("h2CeffHBnegativedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBnegativedirectionRecosignal1 = "<SetMarkerColor(2);HBnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal1 == 1) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 2) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 3) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 4) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 5) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 6) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 7) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 8) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 9) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==10) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==11) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==12) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==13) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==14) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==15) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==16) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignal1->Draw("Error"); + kcountHBnegativedirectionRecosignal1++; + if(kcountHBnegativedirectionRecosignal1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal1) delete h2CeffHBnegativedirectionRecosignal1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal2=1; + TH1F* h2CeffHBnegativedirectionRecosignal2 = new TH1F("h2CeffHBnegativedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBnegativedirectionRecosignal2 = "<SetMarkerColor(2);HBnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal2 == 1) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 2) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 3) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 4) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 5) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 6) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 7) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 8) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 9) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==10) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==11) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==12) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==13) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==14) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==15) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==16) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionRecosignal2->Draw("Error"); + kcountHBnegativedirectionRecosignal2++; + if(kcountHBnegativedirectionRecosignal2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal2) delete h2CeffHBnegativedirectionRecosignal2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal3=1; + TH1F* h2CeffHBnegativedirectionRecosignal3 = new TH1F("h2CeffHBnegativedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBnegativedirectionRecosignal3 = "<SetMarkerColor(2);HBnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal3 == 1) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 2) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 3) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 4) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 5) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 6) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 7) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 8) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 9) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==10) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==11) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==12) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==13) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==14) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==15) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==16) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionRecosignal3->Draw("Error"); + kcountHBnegativedirectionRecosignal3++; + if(kcountHBnegativedirectionRecosignal3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal3) delete h2CeffHBnegativedirectionRecosignal3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal4=1; + TH1F* h2CeffHBnegativedirectionRecosignal4 = new TH1F("h2CeffHBnegativedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBnegativedirectionRecosignal4 = "<SetMarkerColor(2);HBnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal4 == 1) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 2) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 3) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 4) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 5) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 6) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 7) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 8) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 9) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==10) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==11) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==12) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==13) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==14) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==15) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==16) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionRecosignal4->Draw("Error"); + kcountHBnegativedirectionRecosignal4++; + if(kcountHBnegativedirectionRecosignal4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal4) delete h2CeffHBnegativedirectionRecosignal4; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HB1"); + TH2F *recosignalVariance0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + TH2F* recosignalVarianceHB1 = (TH2F*)recosignalVariance1HB1->Clone("recosignalVarianceHB1"); + recosignalVarianceHB1->Divide(recosignalVariance1HB1,recosignalVariance0HB1, 1, 1, "B"); + TH2F *recosignalVariance1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB2"); + TH2F *recosignalVariance0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + TH2F* recosignalVarianceHB2 = (TH2F*)recosignalVariance1HB2->Clone("recosignalVarianceHB2"); + recosignalVarianceHB2->Divide(recosignalVariance1HB2,recosignalVariance0HB2, 1, 1, "B"); + TH2F *recosignalVariance1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB3"); + TH2F *recosignalVariance0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + TH2F* recosignalVarianceHB3 = (TH2F*)recosignalVariance1HB3->Clone("recosignalVarianceHB3"); + recosignalVarianceHB3->Divide(recosignalVariance1HB3,recosignalVariance0HB3, 1, 1, "B"); + TH2F *recosignalVariance1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB4"); + TH2F *recosignalVariance0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + TH2F* recosignalVarianceHB4 = (TH2F*)recosignalVariance1HB4->Clone("recosignalVarianceHB4"); + recosignalVarianceHB4->Divide(recosignalVariance1HB4,recosignalVariance0HB4, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + recosignalvarianceHB[1][jeta][jphi] = recosignalVarianceHB2->GetBinContent(jeta+1,jphi+1); + recosignalvarianceHB[2][jeta][jphi] = recosignalVarianceHB3->GetBinContent(jeta+1,jphi+1); + recosignalvarianceHB[3][jeta][jphi] = recosignalVarianceHB4->GetBinContent(jeta+1,jphi+1); + if(recosignalvarianceHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += recosignalvarianceHB[0][jeta][jphi];++nsumrecosignalHB0;} + if(recosignalvarianceHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += recosignalvarianceHB[1][jeta][jphi];++nsumrecosignalHB1;} + if(recosignalvarianceHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += recosignalvarianceHB[2][jeta][jphi];++nsumrecosignalHB2;} + if(recosignalvarianceHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += recosignalvarianceHB[3][jeta][jphi];++nsumrecosignalHB3;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) recosignalvarianceHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; + if(recosignalvarianceHB[1][jeta][jphi] > 0.) recosignalvarianceHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; + if(recosignalvarianceHB[2][jeta][jphi] > 0.) recosignalvarianceHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; + if(recosignalvarianceHB[3][jeta][jphi] > 0.) recosignalvarianceHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; + }// phi + // recosignalvarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDrecosignalHB42D = new TH2F("DefzDrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHB42D0 = new TH2F("DefzDrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHB42DF = (TH2F*)DefzDrecosignalHB42D0->Clone("DefzDrecosignalHB42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(arecosignalHB[i][jeta][jphi]>0.) {DefzDrecosignalHB42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHB42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDrecosignalHB42DF->Divide(DefzDrecosignalHB42D,DefzDrecosignalHB42D0, 1, 1, "B");// average A + // DefzDrecosignalHB1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB42DF->SetMarkerStyle(20); DefzDrecosignalHB42DF->SetMarkerSize(0.4); DefzDrecosignalHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHB42DF->SetYTitle(" #phi \b"); DefzDrecosignalHB42DF->SetZTitle("_depth \b"); DefzDrecosignalHB42DF->SetMarkerColor(2); DefzDrecosignalHB42DF->SetLineColor(0); // DefzDrecosignalHB42DF->SetMaximum(1.000); // DefzDrecosignalHB42DF->SetMinimum(1.0); + DefzDrecosignalHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHB42D) delete DefzDrecosignalHB42D; + if (DefzDrecosignalHB42D0) delete DefzDrecosignalHB42D0; + if (DefzDrecosignalHB42DF) delete DefzDrecosignalHB42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDrecosignalHB41D = new TH1F("DefzDrecosignalHB41D","", nphi, 0., 72. ); + TH1F* DefzDrecosignalHB41D0 = new TH1F("DefzDrecosignalHB41D0","",nphi, 0., 72. ); + TH1F* DefzDrecosignalHB41DF = (TH1F*)DefzDrecosignalHB41D0->Clone("DefzDrecosignalHB41DF"); + + for (int jphi=0;jphi0.) {DefzDrecosignalHB41D ->Fill(jphi,ccc1); DefzDrecosignalHB41D0 ->Fill(jphi,1.); } + }}} + // DefzDrecosignalHB41D->Sumw2();DefzDrecosignalHB41D0->Sumw2(); + + DefzDrecosignalHB41DF->Divide(DefzDrecosignalHB41D,DefzDrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDrecosignalHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB41DF->SetMarkerStyle(20); DefzDrecosignalHB41DF->SetMarkerSize(1.4); DefzDrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB41DF->SetXTitle("#phi \b"); DefzDrecosignalHB41DF->SetYTitle(" \b"); DefzDrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHB41DF->SetMarkerColor(4); DefzDrecosignalHB41DF->SetLineColor(4);// DefzDrecosignalHB41DF->SetMinimum(0.8); DefzDrecosignalHB41DF->SetMinimum(-0.015); + DefzDrecosignalHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DrecosignalGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (DefzDrecosignalHB41D) delete DefzDrecosignalHB41D; + if (DefzDrecosignalHB41D0) delete DefzDrecosignalHB41D0; + if (DefzDrecosignalHB41DF) delete DefzDrecosignalHB41DF; + + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD1=1; + TH1F* h2CeffHBpositivedirectionRecosignalD1 = new TH1F("h2CeffHBpositivedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD1 == 1) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 2) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 3) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 4) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 5) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 6) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 7) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 8) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 9) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==10) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==11) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==12) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==13) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==14) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==15) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==16) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignalD1->Draw("Error"); + kcountHBpositivedirectionRecosignalD1++; + if(kcountHBpositivedirectionRecosignalD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD1) delete h2CeffHBpositivedirectionRecosignalD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD2=1; + TH1F* h2CeffHBpositivedirectionRecosignalD2 = new TH1F("h2CeffHBpositivedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD2 == 1) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 2) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 3) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 4) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 5) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 6) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 7) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 8) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 9) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==10) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==11) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==12) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==13) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==14) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==15) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==16) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignalD2->Draw("Error"); + kcountHBpositivedirectionRecosignalD2++; + if(kcountHBpositivedirectionRecosignalD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD2) delete h2CeffHBpositivedirectionRecosignalD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD3=1; + TH1F* h2CeffHBpositivedirectionRecosignalD3 = new TH1F("h2CeffHBpositivedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD3 == 1) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 2) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 3) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 4) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 5) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 6) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 7) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 8) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 9) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==10) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==11) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==12) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==13) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==14) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==15) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==16) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignalD3->Draw("Error"); + kcountHBpositivedirectionRecosignalD3++; + if(kcountHBpositivedirectionRecosignalD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD3) delete h2CeffHBpositivedirectionRecosignalD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD4=1; + TH1F* h2CeffHBpositivedirectionRecosignalD4 = new TH1F("h2CeffHBpositivedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD4 == 1) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 2) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 3) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 4) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 5) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 6) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 7) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 8) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 9) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==10) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==11) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==12) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==13) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==14) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==15) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==16) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignalD4->Draw("Error"); + kcountHBpositivedirectionRecosignalD4++; + if(kcountHBpositivedirectionRecosignalD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD4) delete h2CeffHBpositivedirectionRecosignalD4; + + + //========================================================================================== 22214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD1=1; + TH1F* h2CeffHBnegativedirectionRecosignalD1 = new TH1F("h2CeffHBnegativedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD1 == 1) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 2) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 3) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 4) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 5) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 6) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 7) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 8) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 9) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==10) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==11) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==12) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==13) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==14) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==15) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==16) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignalD1->Draw("Error"); + kcountHBnegativedirectionRecosignalD1++; + if(kcountHBnegativedirectionRecosignalD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD1) delete h2CeffHBnegativedirectionRecosignalD1; + //========================================================================================== 22215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD2=1; + TH1F* h2CeffHBnegativedirectionRecosignalD2 = new TH1F("h2CeffHBnegativedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD2 == 1) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 2) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 3) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 4) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 5) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 6) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 7) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 8) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-9 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 9) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-8 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==10) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-7 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==11) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-6 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==12) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-5 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==13) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-4 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==14) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-3 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==15) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-2 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==16) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-1 ; depth = 2 \b"); + HBnegativedirectionRecosignalD2->Draw("Error"); + kcountHBnegativedirectionRecosignalD2++; + if(kcountHBnegativedirectionRecosignalD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD2) delete h2CeffHBnegativedirectionRecosignalD2; + //========================================================================================== 22216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD3=1; + TH1F* h2CeffHBnegativedirectionRecosignalD3 = new TH1F("h2CeffHBnegativedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD3 == 1) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 2) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 3) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 4) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 5) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 6) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 7) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 8) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-9 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 9) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-8 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==10) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-7 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==11) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-6 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==12) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-5 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==13) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-4 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==14) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-3 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==15) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-2 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==16) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-1 ; depth = 3 \b"); + HBnegativedirectionRecosignalD3->Draw("Error"); + kcountHBnegativedirectionRecosignalD3++; + if(kcountHBnegativedirectionRecosignalD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD3) delete h2CeffHBnegativedirectionRecosignalD3; + //========================================================================================== 22217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD4=1; + TH1F* h2CeffHBnegativedirectionRecosignalD4 = new TH1F("h2CeffHBnegativedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD4 == 1) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 2) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 3) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 4) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 5) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 6) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 7) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 8) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-9 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 9) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-8 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==10) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-7 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==11) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-6 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==12) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-5 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==13) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-4 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==14) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-3 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==15) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-2 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==16) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-1 ; depth = 4 \b"); + HBnegativedirectionRecosignalD4->Draw("Error"); + kcountHBnegativedirectionRecosignalD4++; + if(kcountHBnegativedirectionRecosignalD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD4) delete h2CeffHBnegativedirectionRecosignalD4; + + + + + //===================================================================== END of Recosignal HB for phi-symmetry + //===================================================================== END of Recosignal HB for phi-symmetry + //===================================================================== END of Recosignal HB for phi-symmetry + + + + + + + + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double arecosignalhe[ndepth][njeta][njphi]; + double recosignalvariancehe[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HE + TH2F *recSignalEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE1"); + TH2F *recSignalEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + TH2F* recSignalEnergyHE1 = (TH2F*)recSignalEnergy1HE1->Clone("recSignalEnergyHE1"); + recSignalEnergyHE1->Divide(recSignalEnergy1HE1,recSignalEnergy0HE1, 1, 1, "B"); + TH2F *recSignalEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE2"); + TH2F *recSignalEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + TH2F* recSignalEnergyHE2 = (TH2F*)recSignalEnergy1HE2->Clone("recSignalEnergyHE2"); + recSignalEnergyHE2->Divide(recSignalEnergy1HE2,recSignalEnergy0HE2, 1, 1, "B"); + TH2F *recSignalEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE3"); + TH2F *recSignalEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + TH2F* recSignalEnergyHE3 = (TH2F*)recSignalEnergy1HE3->Clone("recSignalEnergyHE3"); + recSignalEnergyHE3->Divide(recSignalEnergy1HE3,recSignalEnergy0HE3, 1, 1, "B"); + TH2F *recSignalEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE4"); + TH2F *recSignalEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + TH2F* recSignalEnergyHE4 = (TH2F*)recSignalEnergy1HE4->Clone("recSignalEnergyHE4"); + recSignalEnergyHE4->Divide(recSignalEnergy1HE4,recSignalEnergy0HE4, 1, 1, "B"); + TH2F *recSignalEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE5"); + TH2F *recSignalEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + TH2F* recSignalEnergyHE5 = (TH2F*)recSignalEnergy1HE5->Clone("recSignalEnergyHE5"); + recSignalEnergyHE5->Divide(recSignalEnergy1HE5,recSignalEnergy0HE5, 1, 1, "B"); + TH2F *recSignalEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE6"); + TH2F *recSignalEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + TH2F* recSignalEnergyHE6 = (TH2F*)recSignalEnergy1HE6->Clone("recSignalEnergyHE6"); + recSignalEnergyHE6->Divide(recSignalEnergy1HE6,recSignalEnergy0HE6, 1, 1, "B"); + TH2F *recSignalEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE7"); + TH2F *recSignalEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + TH2F* recSignalEnergyHE7 = (TH2F*)recSignalEnergy1HE7->Clone("recSignalEnergyHE7"); + recSignalEnergyHE7->Divide(recSignalEnergy1HE7,recSignalEnergy0HE7, 1, 1, "B"); + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + arecosignalhe[1][jeta][jphi] = recSignalEnergyHE2->GetBinContent(jeta+1,jphi+1); + arecosignalhe[2][jeta][jphi] = recSignalEnergyHE3->GetBinContent(jeta+1,jphi+1); + arecosignalhe[3][jeta][jphi] = recSignalEnergyHE4->GetBinContent(jeta+1,jphi+1); + arecosignalhe[4][jeta][jphi] = recSignalEnergyHE5->GetBinContent(jeta+1,jphi+1); + arecosignalhe[5][jeta][jphi] = recSignalEnergyHE6->GetBinContent(jeta+1,jphi+1); + arecosignalhe[6][jeta][jphi] = recSignalEnergyHE7->GetBinContent(jeta+1,jphi+1); + if(arecosignalhe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += arecosignalhe[0][jeta][jphi];++nsumrecosignalHE0;} + if(arecosignalhe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += arecosignalhe[1][jeta][jphi];++nsumrecosignalHE1;} + if(arecosignalhe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += arecosignalhe[2][jeta][jphi];++nsumrecosignalHE2;} + if(arecosignalhe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += arecosignalhe[3][jeta][jphi];++nsumrecosignalHE3;} + if(arecosignalhe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += arecosignalhe[4][jeta][jphi];++nsumrecosignalHE4;} + if(arecosignalhe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += arecosignalhe[5][jeta][jphi];++nsumrecosignalHE5;} + if(arecosignalhe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += arecosignalhe[6][jeta][jphi];++nsumrecosignalHE6;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) arecosignalhe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; + if(arecosignalhe[1][jeta][jphi] > 0.) arecosignalhe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; + if(arecosignalhe[2][jeta][jphi] > 0.) arecosignalhe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; + if(arecosignalhe[3][jeta][jphi] > 0.) arecosignalhe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; + if(arecosignalhe[4][jeta][jphi] > 0.) arecosignalhe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; + if(arecosignalhe[5][jeta][jphi] > 0.) arecosignalhe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; + if(arecosignalhe[6][jeta][jphi] > 0.) arecosignalhe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthes + //====================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: R, averaged over depthes *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRrecosignalHE42D = new TH2F("GefzRrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHE42D0 = new TH2F("GefzRrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHE42DF = (TH2F*)GefzRrecosignalHE42D0->Clone("GefzRrecosignalHE42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRrecosignalHE42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHE42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRrecosignalHE42DF->Divide(GefzRrecosignalHE42D,GefzRrecosignalHE42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHE42DF->SetYTitle(" #phi \b"); + GefzRrecosignalHE42DF->Draw("COLZ"); + + c2x1->cd(2); + TH1F *energyhitSignal_HE= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HE"); + energyhitSignal_HE ->SetMarkerStyle(20);energyhitSignal_HE ->SetMarkerSize(0.4);energyhitSignal_HE ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HE ->SetXTitle("energyhitSignal_HE \b");energyhitSignal_HE ->SetMarkerColor(2);energyhitSignal_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HE ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RrecosignalGeneralD2PhiSymmetryHE.png"); + c2x1->Clear(); + // clean-up + if (GefzRrecosignalHE42D) delete GefzRrecosignalHE42D; + if (GefzRrecosignalHE42D0) delete GefzRrecosignalHE42D0; + if (GefzRrecosignalHE42DF) delete GefzRrecosignalHE42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRrecosignalHE41D = new TH1F("GefzRrecosignalHE41D","", nphi, 0., 72. ); + TH1F* GefzRrecosignalHE41D0 = new TH1F("GefzRrecosignalHE41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHE41DF = (TH1F*)GefzRrecosignalHE41D0->Clone("GefzRrecosignalHE41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHE41D0 ->Fill(jphi,1.); } + }}} + GefzRrecosignalHE41DF->Divide(GefzRrecosignalHE41D,GefzRrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta + GefzRrecosignalHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE41DF->SetMarkerStyle(20); GefzRrecosignalHE41DF->SetMarkerSize(1.4); GefzRrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHE41DF->SetXTitle("#phi \b"); GefzRrecosignalHE41DF->SetYTitle(" \b"); GefzRrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRrecosignalHE41DF->SetMarkerColor(4); GefzRrecosignalHE41DF->SetLineColor(4);// GefzRrecosignalHE41DF->SetMinimum(0.8); // GefzRrecosignalHE41DF->SetMaximum(1.000); + GefzRrecosignalHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RrecosignalGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (GefzRrecosignalHE41D) delete GefzRrecosignalHE41D; + if (GefzRrecosignalHE41D0) delete GefzRrecosignalHE41D0; + if (GefzRrecosignalHE41DF) delete GefzRrecosignalHE41DF; + + + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal1=1; + TH1F* h2CeffHEpositivedirectionRecosignal1 = new TH1F("h2CeffHEpositivedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEpositivedirectionRecosignal1 = "<SetMarkerColor(2);HEpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal1 == 1) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 2) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 3) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 4) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 5) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 6) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 7) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 8) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 9) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 ==10) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 ==11) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 ==12) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignal1->Draw("Error"); + kcountHEpositivedirectionRecosignal1++; + if(kcountHEpositivedirectionRecosignal1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal1) delete h2CeffHEpositivedirectionRecosignal1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal2=1; + TH1F* h2CeffHEpositivedirectionRecosignal2 = new TH1F("h2CeffHEpositivedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEpositivedirectionRecosignal2 = "<SetMarkerColor(2);HEpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal2 == 1) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 2) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 3) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 4) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 5) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 6) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 7) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 8) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 9) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==10) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==11) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==12) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==13) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignal2->Draw("Error"); + kcountHEpositivedirectionRecosignal2++; + if(kcountHEpositivedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal2) delete h2CeffHEpositivedirectionRecosignal2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal3=1; + TH1F* h2CeffHEpositivedirectionRecosignal3 = new TH1F("h2CeffHEpositivedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEpositivedirectionRecosignal3 = "<SetMarkerColor(2);HEpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal3 == 1) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 2) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 3) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 4) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 5) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 6) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 7) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 8) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 9) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==10) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==11) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==12) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==13) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignal3->Draw("Error"); + kcountHEpositivedirectionRecosignal3++; + if(kcountHEpositivedirectionRecosignal3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal3) delete h2CeffHEpositivedirectionRecosignal3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal4=1; + TH1F* h2CeffHEpositivedirectionRecosignal4 = new TH1F("h2CeffHEpositivedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEpositivedirectionRecosignal4 = "<SetMarkerColor(2);HEpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal4 == 1) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 2) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 3) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 4) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 5) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 6) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 7) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 8) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 9) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 ==10) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 ==11) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 ==12) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignal4->Draw("Error"); + kcountHEpositivedirectionRecosignal4++; + if(kcountHEpositivedirectionRecosignal4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal4) delete h2CeffHEpositivedirectionRecosignal4; + //========================================================================================== 8 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal5=1; + TH1F* h2CeffHEpositivedirectionRecosignal5 = new TH1F("h2CeffHEpositivedirectionRecosignal5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal5 == 1) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 2) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 3) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 4) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 5) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 6) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 7) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 8) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 9) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 ==10) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 ==11) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignal5->Draw("Error"); + kcountHEpositivedirectionRecosignal5++; + if(kcountHEpositivedirectionRecosignal5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal5) delete h2CeffHEpositivedirectionRecosignal5; + //========================================================================================== 9 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal6=1; + TH1F* h2CeffHEpositivedirectionRecosignal6 = new TH1F("h2CeffHEpositivedirectionRecosignal6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEpositivedirectionRecosignal6 = "<SetMarkerColor(2);HEpositivedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal6 == 1) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 2) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 3) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 4) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 5) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 6) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 7) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 8) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 9) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 ==10) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignal6->Draw("Error"); + kcountHEpositivedirectionRecosignal6++; + if(kcountHEpositivedirectionRecosignal6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal6) delete h2CeffHEpositivedirectionRecosignal6; + //========================================================================================== 10 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal7=1; + TH1F* h2CeffHEpositivedirectionRecosignal7 = new TH1F("h2CeffHEpositivedirectionRecosignal7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEpositivedirectionRecosignal7 = "<SetMarkerColor(2);HEpositivedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal7 == 1) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignal7 == 2) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignal7 == 3) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignal7->Draw("Error"); + kcountHEpositivedirectionRecosignal7++; + if(kcountHEpositivedirectionRecosignal7>3) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal7) delete h2CeffHEpositivedirectionRecosignal7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal1=1; + TH1F* h2CeffHEnegativedirectionRecosignal1 = new TH1F("h2CeffHEnegativedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEnegativedirectionRecosignal1 = "<SetMarkerColor(2);HEnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal1 == 1) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 2) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 3) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 4) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 5) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 6) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 7) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 8) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 9) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 ==10) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 ==11) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 ==12) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignal1->Draw("Error"); + kcountHEnegativedirectionRecosignal1++; + if(kcountHEnegativedirectionRecosignal1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal1) delete h2CeffHEnegativedirectionRecosignal1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal2=1; + TH1F* h2CeffHEnegativedirectionRecosignal2 = new TH1F("h2CeffHEnegativedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEnegativedirectionRecosignal2 = "<SetMarkerColor(2);HEnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal2 == 1) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 2) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 3) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 4) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 5) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 6) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 7) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 8) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 9) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==10) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==11) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==12) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==13) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignal2->Draw("Error"); + kcountHEnegativedirectionRecosignal2++; + if(kcountHEnegativedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal2) delete h2CeffHEnegativedirectionRecosignal2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal3=1; + TH1F* h2CeffHEnegativedirectionRecosignal3 = new TH1F("h2CeffHEnegativedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEnegativedirectionRecosignal3 = "<SetMarkerColor(2);HEnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal3 == 1) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 2) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 3) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 4) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 5) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 6) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 7) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 8) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 9) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==10) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==11) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==12) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==13) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignal3->Draw("Error"); + kcountHEnegativedirectionRecosignal3++; + if(kcountHEnegativedirectionRecosignal3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal3) delete h2CeffHEnegativedirectionRecosignal3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal4=1; + TH1F* h2CeffHEnegativedirectionRecosignal4 = new TH1F("h2CeffHEnegativedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEnegativedirectionRecosignal4 = "<SetMarkerColor(2);HEnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal4 == 1) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 2) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 3) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 4) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 5) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 6) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 7) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 8) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 9) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 ==10) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 ==11) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 ==12) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignal4->Draw("Error"); + kcountHEnegativedirectionRecosignal4++; + if(kcountHEnegativedirectionRecosignal4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal4) delete h2CeffHEnegativedirectionRecosignal4; + //========================================================================================== 1118 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal5=1; + TH1F* h2CeffHEnegativedirectionRecosignal5 = new TH1F("h2CeffHEnegativedirectionRecosignal5","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal5 == 1) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 2) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 3) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 4) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 5) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 6) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 7) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 8) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 9) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 ==10) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 ==11) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignal5->Draw("Error"); + kcountHEnegativedirectionRecosignal5++; + if(kcountHEnegativedirectionRecosignal5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal5) delete h2CeffHEnegativedirectionRecosignal5; + //========================================================================================== 1119 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal6=1; + TH1F* h2CeffHEnegativedirectionRecosignal6 = new TH1F("h2CeffHEnegativedirectionRecosignal6","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEnegativedirectionRecosignal6 = "<SetMarkerColor(2);HEnegativedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal6 == 1) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 2) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 3) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 4) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 5) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 6) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 7) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 8) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 9) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 ==10) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignal6->Draw("Error"); + kcountHEnegativedirectionRecosignal6++; + if(kcountHEnegativedirectionRecosignal6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal6) delete h2CeffHEnegativedirectionRecosignal6; + //========================================================================================== 11110 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal7=1; + TH1F* h2CeffHEnegativedirectionRecosignal7 = new TH1F("h2CeffHEnegativedirectionRecosignal7","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEnegativedirectionRecosignal7 = "<SetMarkerColor(2);HEnegativedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal7 == 1) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignal7 == 2) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignal7 == 3) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignal7->Draw("Error"); + kcountHEnegativedirectionRecosignal7++; + if(kcountHEnegativedirectionRecosignal7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal7) delete h2CeffHEnegativedirectionRecosignal7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HE1"); + TH2F *recosignalVariance0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + TH2F* recosignalVarianceHE1 = (TH2F*)recosignalVariance1HE1->Clone("recosignalVarianceHE1"); + recosignalVarianceHE1->Divide(recosignalVariance1HE1,recosignalVariance0HE1, 1, 1, "B"); + TH2F *recosignalVariance1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE2"); + TH2F *recosignalVariance0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + TH2F* recosignalVarianceHE2 = (TH2F*)recosignalVariance1HE2->Clone("recosignalVarianceHE2"); + recosignalVarianceHE2->Divide(recosignalVariance1HE2,recosignalVariance0HE2, 1, 1, "B"); + TH2F *recosignalVariance1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE3"); + TH2F *recosignalVariance0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + TH2F* recosignalVarianceHE3 = (TH2F*)recosignalVariance1HE3->Clone("recosignalVarianceHE3"); + recosignalVarianceHE3->Divide(recosignalVariance1HE3,recosignalVariance0HE3, 1, 1, "B"); + TH2F *recosignalVariance1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE4"); + TH2F *recosignalVariance0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + TH2F* recosignalVarianceHE4 = (TH2F*)recosignalVariance1HE4->Clone("recosignalVarianceHE4"); + recosignalVarianceHE4->Divide(recosignalVariance1HE4,recosignalVariance0HE4, 1, 1, "B"); + TH2F *recosignalVariance1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE5"); + TH2F *recosignalVariance0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + TH2F* recosignalVarianceHE5 = (TH2F*)recosignalVariance1HE5->Clone("recosignalVarianceHE5"); + recosignalVarianceHE5->Divide(recosignalVariance1HE5,recosignalVariance0HE5, 1, 1, "B"); + TH2F *recosignalVariance1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE6"); + TH2F *recosignalVariance0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + TH2F* recosignalVarianceHE6 = (TH2F*)recosignalVariance1HE6->Clone("recosignalVarianceHE6"); + recosignalVarianceHE6->Divide(recosignalVariance1HE6,recosignalVariance0HE6, 1, 1, "B"); + TH2F *recosignalVariance1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE7"); + TH2F *recosignalVariance0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + TH2F* recosignalVarianceHE7 = (TH2F*)recosignalVariance1HE7->Clone("recosignalVarianceHE7"); + recosignalVarianceHE7->Divide(recosignalVariance1HE7,recosignalVariance0HE7, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + recosignalvariancehe[1][jeta][jphi] = recosignalVarianceHE2->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[2][jeta][jphi] = recosignalVarianceHE3->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[3][jeta][jphi] = recosignalVarianceHE4->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[4][jeta][jphi] = recosignalVarianceHE5->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[5][jeta][jphi] = recosignalVarianceHE6->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[6][jeta][jphi] = recosignalVarianceHE7->GetBinContent(jeta+1,jphi+1); + if(recosignalvariancehe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += recosignalvariancehe[0][jeta][jphi];++nsumrecosignalHE0;} + if(recosignalvariancehe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += recosignalvariancehe[1][jeta][jphi];++nsumrecosignalHE1;} + if(recosignalvariancehe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += recosignalvariancehe[2][jeta][jphi];++nsumrecosignalHE2;} + if(recosignalvariancehe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += recosignalvariancehe[3][jeta][jphi];++nsumrecosignalHE3;} + if(recosignalvariancehe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += recosignalvariancehe[4][jeta][jphi];++nsumrecosignalHE4;} + if(recosignalvariancehe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += recosignalvariancehe[5][jeta][jphi];++nsumrecosignalHE5;} + if(recosignalvariancehe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += recosignalvariancehe[6][jeta][jphi];++nsumrecosignalHE6;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) recosignalvariancehe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; + if(recosignalvariancehe[1][jeta][jphi] > 0.) recosignalvariancehe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; + if(recosignalvariancehe[2][jeta][jphi] > 0.) recosignalvariancehe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; + if(recosignalvariancehe[3][jeta][jphi] > 0.) recosignalvariancehe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; + if(recosignalvariancehe[4][jeta][jphi] > 0.) recosignalvariancehe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; + if(recosignalvariancehe[5][jeta][jphi] > 0.) recosignalvariancehe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; + if(recosignalvariancehe[6][jeta][jphi] > 0.) recosignalvariancehe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; + }// phi + // recosignalvariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDrecosignalHE42D = new TH2F("DefzDrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHE42D0 = new TH2F("DefzDrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHE42DF = (TH2F*)DefzDrecosignalHE42D0->Clone("DefzDrecosignalHE42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(arecosignalhe[i][jeta][jphi]>0.) {DefzDrecosignalHE42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHE42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDrecosignalHE42DF->Divide(DefzDrecosignalHE42D,DefzDrecosignalHE42D0, 1, 1, "B");// average A + // DefzDrecosignalHE1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE42DF->SetMarkerStyle(20); DefzDrecosignalHE42DF->SetMarkerSize(0.4); DefzDrecosignalHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHE42DF->SetYTitle(" #phi \b"); DefzDrecosignalHE42DF->SetZTitle("_depth \b"); DefzDrecosignalHE42DF->SetMarkerColor(2); DefzDrecosignalHE42DF->SetLineColor(0); // DefzDrecosignalHE42DF->SetMaximum(1.000); // DefzDrecosignalHE42DF->SetMinimum(1.0); + DefzDrecosignalHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHE42D) delete DefzDrecosignalHE42D; + if (DefzDrecosignalHE42D0) delete DefzDrecosignalHE42D0; + if (DefzDrecosignalHE42DF) delete DefzDrecosignalHE42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDrecosignalHE41D = new TH1F("DefzDrecosignalHE41D","", nphi, 0., 72. ); + TH1F* DefzDrecosignalHE41D0 = new TH1F("DefzDrecosignalHE41D0","",nphi, 0., 72. ); + TH1F* DefzDrecosignalHE41DF = (TH1F*)DefzDrecosignalHE41D0->Clone("DefzDrecosignalHE41DF"); + + for (int jphi=0;jphi0.) {DefzDrecosignalHE41D ->Fill(jphi,ccc1); DefzDrecosignalHE41D0 ->Fill(jphi,1.); } + }}} + // DefzDrecosignalHE41D->Sumw2();DefzDrecosignalHE41D0->Sumw2(); + + DefzDrecosignalHE41DF->Divide(DefzDrecosignalHE41D,DefzDrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta + DefzDrecosignalHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE41DF->SetMarkerStyle(20); DefzDrecosignalHE41DF->SetMarkerSize(1.4); DefzDrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE41DF->SetXTitle("#phi \b"); DefzDrecosignalHE41DF->SetYTitle(" \b"); DefzDrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDrecosignalHE41DF->SetMarkerColor(4); DefzDrecosignalHE41DF->SetLineColor(4); // DefzDrecosignalHE41DF->SetMinimum(0.8); DefzDrecosignalHE41DF->SetMinimum(-0.015); + DefzDrecosignalHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DrecosignalGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (DefzDrecosignalHE41D) delete DefzDrecosignalHE41D; + if (DefzDrecosignalHE41D0) delete DefzDrecosignalHE41D0; + if (DefzDrecosignalHE41DF) delete DefzDrecosignalHE41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD1=1; + TH1F* h2CeffHEpositivedirectionRecosignalD1 = new TH1F("h2CeffHEpositivedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD1 == 1) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 2) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 3) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 4) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 5) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 6) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 7) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 8) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 9) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 ==10) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 ==11) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 ==12) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignalD1->Draw("Error"); + kcountHEpositivedirectionRecosignalD1++; + if(kcountHEpositivedirectionRecosignalD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD1) delete h2CeffHEpositivedirectionRecosignalD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD2=1; + TH1F* h2CeffHEpositivedirectionRecosignalD2 = new TH1F("h2CeffHEpositivedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD2 == 1) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 2) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 3) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 4) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 5) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 6) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 7) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 8) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 9) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==10) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==11) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==12) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==13) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignalD2->Draw("Error"); + kcountHEpositivedirectionRecosignalD2++; + if(kcountHEpositivedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD2) delete h2CeffHEpositivedirectionRecosignalD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD3=1; + TH1F* h2CeffHEpositivedirectionRecosignalD3 = new TH1F("h2CeffHEpositivedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD3 == 1) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 2) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 3) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 4) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 5) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 6) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 7) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 8) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 9) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==10) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==11) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==12) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==13) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignalD3->Draw("Error"); + kcountHEpositivedirectionRecosignalD3++; + if(kcountHEpositivedirectionRecosignalD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD3) delete h2CeffHEpositivedirectionRecosignalD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD4=1; + TH1F* h2CeffHEpositivedirectionRecosignalD4 = new TH1F("h2CeffHEpositivedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD4 == 1) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 2) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 3) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 4) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 5) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 6) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 7) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 8) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 9) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 ==10) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 ==11) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 ==12) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignalD4->Draw("Error"); + kcountHEpositivedirectionRecosignalD4++; + if(kcountHEpositivedirectionRecosignalD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD4) delete h2CeffHEpositivedirectionRecosignalD4; + //========================================================================================== 18 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD5=1; + TH1F* h2CeffHEpositivedirectionRecosignalD5 = new TH1F("h2CeffHEpositivedirectionRecosignalD5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEpositivedirectionRecosignalD5 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD5 == 1) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 2) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 3) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 4) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 5) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 6) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 7) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 8) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 9) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 ==10) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 ==11) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignalD5->Draw("Error"); + kcountHEpositivedirectionRecosignalD5++; + if(kcountHEpositivedirectionRecosignalD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD5) delete h2CeffHEpositivedirectionRecosignalD5; + //========================================================================================== 19 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD6=1; + TH1F* h2CeffHEpositivedirectionRecosignalD6 = new TH1F("h2CeffHEpositivedirectionRecosignalD6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEpositivedirectionRecosignalD6 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD6 == 1) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 2) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 3) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 4) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 5) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 6) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 7) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 8) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 9) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 ==10) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignalD6->Draw("Error"); + kcountHEpositivedirectionRecosignalD6++; + if(kcountHEpositivedirectionRecosignalD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD6) delete h2CeffHEpositivedirectionRecosignalD6; + //========================================================================================== 20 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD7=1; + TH1F* h2CeffHEpositivedirectionRecosignalD7 = new TH1F("h2CeffHEpositivedirectionRecosignalD7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEpositivedirectionRecosignalD7 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD7 == 1) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignalD7 == 2) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignalD7 == 3) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignalD7->Draw("Error"); + kcountHEpositivedirectionRecosignalD7++; + if(kcountHEpositivedirectionRecosignalD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD7) delete h2CeffHEpositivedirectionRecosignalD7; + + + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD1=1; + TH1F* h2CeffHEnegativedirectionRecosignalD1 = new TH1F("h2CeffHEnegativedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD1 == 1) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 2) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 3) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 4) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 5) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 6) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 7) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 8) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 9) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 ==10) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 ==11) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 ==12) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignalD1->Draw("Error"); + kcountHEnegativedirectionRecosignalD1++; + if(kcountHEnegativedirectionRecosignalD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD1) delete h2CeffHEnegativedirectionRecosignalD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD2=1; + TH1F* h2CeffHEnegativedirectionRecosignalD2 = new TH1F("h2CeffHEnegativedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD2 == 1) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 2) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 3) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 4) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 5) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 6) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 7) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 8) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 9) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==10) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==11) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==12) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==13) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignalD2->Draw("Error"); + kcountHEnegativedirectionRecosignalD2++; + if(kcountHEnegativedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD2) delete h2CeffHEnegativedirectionRecosignalD2; + //========================================================================================== 22222216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD3=1; + TH1F* h2CeffHEnegativedirectionRecosignalD3 = new TH1F("h2CeffHEnegativedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD3 == 1) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 2) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 3) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 4) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 5) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 6) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 7) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 8) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 9) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==10) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==11) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==12) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==13) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignalD3->Draw("Error"); + kcountHEnegativedirectionRecosignalD3++; + if(kcountHEnegativedirectionRecosignalD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD3) delete h2CeffHEnegativedirectionRecosignalD3; + //========================================================================================== 22222217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD4=1; + TH1F* h2CeffHEnegativedirectionRecosignalD4 = new TH1F("h2CeffHEnegativedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD4 == 1) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 2) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 3) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 4) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 5) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 6) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 7) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 8) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 9) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 ==10) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 ==11) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 ==12) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignalD4->Draw("Error"); + kcountHEnegativedirectionRecosignalD4++; + if(kcountHEnegativedirectionRecosignalD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD4) delete h2CeffHEnegativedirectionRecosignalD4; + //========================================================================================== 22222218 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD5=1; + TH1F* h2CeffHEnegativedirectionRecosignalD5 = new TH1F("h2CeffHEnegativedirectionRecosignalD5","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEnegativedirectionRecosignalD5 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD5 == 1) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 2) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 3) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 4) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 5) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 6) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 7) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 8) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 9) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 ==10) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 ==11) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignalD5->Draw("Error"); + kcountHEnegativedirectionRecosignalD5++; + if(kcountHEnegativedirectionRecosignalD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD5) delete h2CeffHEnegativedirectionRecosignalD5; + //========================================================================================== 22222219 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD6=1; + TH1F* h2CeffHEnegativedirectionRecosignalD6 = new TH1F("h2CeffHEnegativedirectionRecosignalD6","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEnegativedirectionRecosignalD6 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD6 == 1) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 2) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 3) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 4) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 5) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 6) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 7) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 8) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 9) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 ==10) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignalD6->Draw("Error"); + kcountHEnegativedirectionRecosignalD6++; + if(kcountHEnegativedirectionRecosignalD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD6) delete h2CeffHEnegativedirectionRecosignalD6; + //========================================================================================== 22222220 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD7=1; + TH1F* h2CeffHEnegativedirectionRecosignalD7 = new TH1F("h2CeffHEnegativedirectionRecosignalD7","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEnegativedirectionRecosignalD7 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD7 == 1) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignalD7 == 2) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignalD7 == 3) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignalD7->Draw("Error"); + kcountHEnegativedirectionRecosignalD7++; + if(kcountHEnegativedirectionRecosignalD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD7) delete h2CeffHEnegativedirectionRecosignalD7; + //===================================================================== END of Recosignal HE for phi-symmetry + //===================================================================== END of Recosignal HE for phi-symmetry + //===================================================================== END of Recosignal HE for phi-symmetry + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double arecosignalHF[ndepth][njeta][njphi]; + double recosignalvarianceHF[ndepth][njeta][njphi]; + //cout<<"111RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <FindObjectAny("h_recSignalEnergy1_HF1"); + TH2F *recSignalEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + TH2F* recSignalEnergyHF1 = (TH2F*)recSignalEnergy1HF1->Clone("recSignalEnergyHF1"); + recSignalEnergyHF1->Divide(recSignalEnergy1HF1,recSignalEnergy0HF1, 1, 1, "B"); + TH2F *recSignalEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF2"); + TH2F *recSignalEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + TH2F* recSignalEnergyHF2 = (TH2F*)recSignalEnergy1HF2->Clone("recSignalEnergyHF2"); + recSignalEnergyHF2->Divide(recSignalEnergy1HF2,recSignalEnergy0HF2, 1, 1, "B"); +// cout<<"222RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <GetBinContent(jeta+1,jphi+1); + arecosignalHF[1][jeta][jphi] = recSignalEnergyHF2->GetBinContent(jeta+1,jphi+1); + if(arecosignalHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += arecosignalHF[0][jeta][jphi];++nsumrecosignalHF0;} + if(arecosignalHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += arecosignalHF[1][jeta][jphi];++nsumrecosignalHF1;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) arecosignalHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; + if(arecosignalHF[1][jeta][jphi] > 0.) arecosignalHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthfs + //====================================================================== + //====================================================================== +// cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRrecosignalHF42D = new TH2F("GefzRrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHF42D0 = new TH2F("GefzRrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHF42DF = (TH2F*)GefzRrecosignalHF42D0->Clone("GefzRrecosignalHF42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRrecosignalHF42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHF42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRrecosignalHF42DF->Divide(GefzRrecosignalHF42D,GefzRrecosignalHF42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHF42DF->SetYTitle(" #phi \b"); + GefzRrecosignalHF42DF->Draw("COLZ"); + + + c2x1->cd(2); + TH1F *energyhitSignal_HF= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HF"); + energyhitSignal_HF ->SetMarkerStyle(20);energyhitSignal_HF ->SetMarkerSize(0.4);energyhitSignal_HF ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HF ->SetXTitle("energyhitSignal_HF \b");energyhitSignal_HF ->SetMarkerColor(2);energyhitSignal_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HF ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RrecosignalGeneralD2PhiSymmetryHF.png"); + c2x1->Clear(); + // clean-up + if (GefzRrecosignalHF42D) delete GefzRrecosignalHF42D; + if (GefzRrecosignalHF42D0) delete GefzRrecosignalHF42D0; + if (GefzRrecosignalHF42DF) delete GefzRrecosignalHF42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRrecosignalHF41D = new TH1F("GefzRrecosignalHF41D","", nphi, 0., 72. ); + TH1F* GefzRrecosignalHF41D0 = new TH1F("GefzRrecosignalHF41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHF41DF = (TH1F*)GefzRrecosignalHF41D0->Clone("GefzRrecosignalHF41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHF41D0 ->Fill(jphi,1.); } + }}} + GefzRrecosignalHF41DF->Divide(GefzRrecosignalHF41D,GefzRrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRrecosignalHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF41DF->SetMarkerStyle(20); GefzRrecosignalHF41DF->SetMarkerSize(1.4); GefzRrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHF41DF->SetXTitle("#phi \b"); GefzRrecosignalHF41DF->SetYTitle(" \b"); GefzRrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHF41DF->SetMarkerColor(4); GefzRrecosignalHF41DF->SetLineColor(4);// GefzRrecosignalHF41DF->SetMinimum(0.8); // GefzRrecosignalHF41DF->SetMaximum(1.000); + GefzRrecosignalHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RrecosignalGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (GefzRrecosignalHF41D) delete GefzRrecosignalHF41D; + if (GefzRrecosignalHF41D0) delete GefzRrecosignalHF41D0; + if (GefzRrecosignalHF41DF) delete GefzRrecosignalHF41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignal1=1; + TH1F* h2CeffHFpositivedirectionRecosignal1 = new TH1F("h2CeffHFpositivedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFpositivedirectionRecosignal1 = "<SetMarkerColor(2);HFpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignal1 == 1) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 2) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 3) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 4) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 5) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 6) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 7) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 8) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 9) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==10) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==11) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==12) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==13) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignal1->Draw("Error"); + kcountHFpositivedirectionRecosignal1++; + if(kcountHFpositivedirectionRecosignal1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignal1) delete h2CeffHFpositivedirectionRecosignal1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignal2=1; + TH1F* h2CeffHFpositivedirectionRecosignal2 = new TH1F("h2CeffHFpositivedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFpositivedirectionRecosignal2 = "<SetMarkerColor(2);HFpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignal2 == 1) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 2) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 3) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 4) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 5) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 6) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 7) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 8) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 9) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==10) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==11) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==12) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==13) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignal2->Draw("Error"); + kcountHFpositivedirectionRecosignal2++; + if(kcountHFpositivedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignal2) delete h2CeffHFpositivedirectionRecosignal2; + + //========================================================================================== 1111114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignal1=1; + TH1F* h2CeffHFnegativedirectionRecosignal1 = new TH1F("h2CeffHFnegativedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFnegativedirectionRecosignal1 = "<SetMarkerColor(2);HFnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignal1 == 1) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 2) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 3) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 4) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 5) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 6) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 7) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 8) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 9) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==10) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==11) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==12) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==13) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignal1->Draw("Error"); + kcountHFnegativedirectionRecosignal1++; + if(kcountHFnegativedirectionRecosignal1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignal1) delete h2CeffHFnegativedirectionRecosignal1; + + + //========================================================================================== 1111115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignal2=1; + TH1F* h2CeffHFnegativedirectionRecosignal2 = new TH1F("h2CeffHFnegativedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFnegativedirectionRecosignal2 = "<SetMarkerColor(2);HFnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignal2 == 1) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 2) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 3) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 4) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 5) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 6) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 7) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 8) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 9) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==10) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==11) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==12) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==13) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionRecosignal2->Draw("Error"); + kcountHFnegativedirectionRecosignal2++; + if(kcountHFnegativedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignal2) delete h2CeffHFnegativedirectionRecosignal2; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HF1"); + TH2F *recosignalVariance0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + TH2F* recosignalVarianceHF1 = (TH2F*)recosignalVariance1HF1->Clone("recosignalVarianceHF1"); + recosignalVarianceHF1->Divide(recosignalVariance1HF1,recosignalVariance0HF1, 1, 1, "B"); + TH2F *recosignalVariance1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HF2"); + TH2F *recosignalVariance0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + TH2F* recosignalVarianceHF2 = (TH2F*)recosignalVariance1HF2->Clone("recosignalVarianceHF2"); + recosignalVarianceHF2->Divide(recosignalVariance1HF2,recosignalVariance0HF2, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + recosignalvarianceHF[1][jeta][jphi] = recosignalVarianceHF2->GetBinContent(jeta+1,jphi+1); + if(recosignalvarianceHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += recosignalvarianceHF[0][jeta][jphi];++nsumrecosignalHF0;} + if(recosignalvarianceHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += recosignalvarianceHF[1][jeta][jphi];++nsumrecosignalHF1;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) recosignalvarianceHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; + if(recosignalvarianceHF[1][jeta][jphi] > 0.) recosignalvarianceHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; + }// phi + // recosignalvarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDrecosignalHF42D = new TH2F("DefzDrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHF42D0 = new TH2F("DefzDrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHF42DF = (TH2F*)DefzDrecosignalHF42D0->Clone("DefzDrecosignalHF42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(arecosignalHF[i][jeta][jphi]>0.) {DefzDrecosignalHF42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHF42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDrecosignalHF42DF->Divide(DefzDrecosignalHF42D,DefzDrecosignalHF42D0, 1, 1, "B");// average A + // DefzDrecosignalHF1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF42DF->SetMarkerStyle(20); DefzDrecosignalHF42DF->SetMarkerSize(0.4); DefzDrecosignalHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHF42DF->SetYTitle(" #phi \b"); DefzDrecosignalHF42DF->SetZTitle("_depth \b"); DefzDrecosignalHF42DF->SetMarkerColor(2); DefzDrecosignalHF42DF->SetLineColor(0); // DefzDrecosignalHF42DF->SetMaximum(1.000); // DefzDrecosignalHF42DF->SetMinimum(1.0); + DefzDrecosignalHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHF42D) delete DefzDrecosignalHF42D; + if (DefzDrecosignalHF42D0) delete DefzDrecosignalHF42D0; + if (DefzDrecosignalHF42DF) delete DefzDrecosignalHF42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDrecosignalHF41D = new TH1F("DefzDrecosignalHF41D","", nphi, 0., 72. ); + TH1F* DefzDrecosignalHF41D0 = new TH1F("DefzDrecosignalHF41D0","",nphi, 0., 72. ); + TH1F* DefzDrecosignalHF41DF = (TH1F*)DefzDrecosignalHF41D0->Clone("DefzDrecosignalHF41DF"); + + for (int jphi=0;jphi0.) {DefzDrecosignalHF41D ->Fill(jphi,ccc1); DefzDrecosignalHF41D0 ->Fill(jphi,1.); } + }}} + // DefzDrecosignalHF41D->Sumw2();DefzDrecosignalHF41D0->Sumw2(); + + DefzDrecosignalHF41DF->Divide(DefzDrecosignalHF41D,DefzDrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDrecosignalHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF41DF->SetMarkerStyle(20); DefzDrecosignalHF41DF->SetMarkerSize(1.4); DefzDrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF41DF->SetXTitle("#phi \b"); DefzDrecosignalHF41DF->SetYTitle(" \b"); DefzDrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHF41DF->SetMarkerColor(4); DefzDrecosignalHF41DF->SetLineColor(4);// DefzDrecosignalHF41DF->SetMinimum(0.8); DefzDrecosignalHF41DF->SetMinimum(-0.015); + DefzDrecosignalHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DrecosignalGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (DefzDrecosignalHF41D) delete DefzDrecosignalHF41D; + if (DefzDrecosignalHF41D0) delete DefzDrecosignalHF41D0; + if (DefzDrecosignalHF41DF) delete DefzDrecosignalHF41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignalD1=1; + TH1F* h2CeffHFpositivedirectionRecosignalD1 = new TH1F("h2CeffHFpositivedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignalD1 == 1) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 2) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 3) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 4) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 5) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 6) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 7) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 8) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 9) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==10) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==11) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==12) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==13) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignalD1->Draw("Error"); + kcountHFpositivedirectionRecosignalD1++; + if(kcountHFpositivedirectionRecosignalD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignalD1) delete h2CeffHFpositivedirectionRecosignalD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignalD2=1; + TH1F* h2CeffHFpositivedirectionRecosignalD2 = new TH1F("h2CeffHFpositivedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignalD2 == 1) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 2) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 3) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 4) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 5) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 6) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 7) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 8) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 9) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==10) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==11) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==12) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==13) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignalD2->Draw("Error"); + kcountHFpositivedirectionRecosignalD2++; + if(kcountHFpositivedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignalD2) delete h2CeffHFpositivedirectionRecosignalD2; + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignalD1=1; + TH1F* h2CeffHFnegativedirectionRecosignalD1 = new TH1F("h2CeffHFnegativedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignalD1 == 1) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 2) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 3) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 4) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 5) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 6) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 7) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 8) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 9) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==10) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==11) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==12) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==13) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignalD1->Draw("Error"); + kcountHFnegativedirectionRecosignalD1++; + if(kcountHFnegativedirectionRecosignalD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignalD1) delete h2CeffHFnegativedirectionRecosignalD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignalD2=1; + TH1F* h2CeffHFnegativedirectionRecosignalD2 = new TH1F("h2CeffHFnegativedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignalD2 == 1) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 2) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 3) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 4) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 5) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 6) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 7) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 8) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 9) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==10) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==11) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==12) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==13) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionRecosignalD2->Draw("Error"); + kcountHFnegativedirectionRecosignalD2++; + if(kcountHFnegativedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignalD2) delete h2CeffHFnegativedirectionRecosignalD2; + + //===================================================================== END of Recosignal HF for phi-symmetry + //===================================================================== END of Recosignal HF for phi-symmetry + //===================================================================== END of Recosignal HF for phi-symmetry + //============================================================================================================ END of Recosignal for phi-symmetry + //============================================================================================================ END of Recosignal for phi-symmetry + //============================================================================================================ END of Recosignal for phi-symmetry + +////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start +////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start +////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start + //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double areconoiseHB[ndepth][njeta][njphi]; + double breconoiseHB[ndepth][njeta][njphi]; + double reconoisevarianceHB[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HB recNoiseEnergy + TH2F *recNoiseEnergy1HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB1"); + TH2F *recNoiseEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + TH2F* recNoiseEnergyHB1 = (TH2F*)recNoiseEnergy1HB1->Clone("recNoiseEnergyHB1"); + recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1,recNoiseEnergy0HB1, 1, 1, "B"); + TH2F *recNoiseEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB2"); + TH2F *recNoiseEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + TH2F* recNoiseEnergyHB2 = (TH2F*)recNoiseEnergy1HB2->Clone("recNoiseEnergyHB2"); + recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2,recNoiseEnergy0HB2, 1, 1, "B"); + TH2F *recNoiseEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB3"); + TH2F *recNoiseEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + TH2F* recNoiseEnergyHB3 = (TH2F*)recNoiseEnergy1HB3->Clone("recNoiseEnergyHB3"); + recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3,recNoiseEnergy0HB3, 1, 1, "B"); + TH2F *recNoiseEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB4"); + TH2F *recNoiseEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + TH2F* recNoiseEnergyHB4 = (TH2F*)recNoiseEnergy1HB4->Clone("recNoiseEnergyHB4"); + recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4,recNoiseEnergy0HB4, 1, 1, "B"); + for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + //====================================================================== PHI normalization & put R into massive areconoiseHB + //preparation for PHI normalization: + double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + areconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); + areconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); + areconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); + breconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta+1,jphi+1); + breconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); + breconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); + breconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); + if(areconoiseHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += areconoiseHB[0][jeta][jphi];++nsumreconoiseHB0;} + if(areconoiseHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += areconoiseHB[1][jeta][jphi];++nsumreconoiseHB1;} + if(areconoiseHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += areconoiseHB[2][jeta][jphi];++nsumreconoiseHB2;} + if(areconoiseHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += areconoiseHB[3][jeta][jphi];++nsumreconoiseHB3;} + }// phi + // PHI normalization: DIF + for(int jphi=0;jphiClear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRreconoiseHB42D = new TH2F("GefzRreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHB42D0 = new TH2F("GefzRreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHB42DF = (TH2F*)GefzRreconoiseHB42D0->Clone("GefzRreconoiseHB42DF"); + for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHB42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzRreconoiseHB42DF->Divide(GefzRreconoiseHB42D,GefzRreconoiseHB42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHB42DF->SetYTitle(" #phi \b"); + GefzRreconoiseHB42DF->Draw("COLZ"); + + + c2x1->cd(2); + TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); + energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RreconoiseGeneralD2PhiSymmetryHB.png"); + c2x1->Clear(); + // clean-up + if (GefzRreconoiseHB42D) delete GefzRreconoiseHB42D; + if (GefzRreconoiseHB42D0) delete GefzRreconoiseHB42D0; + if (GefzRreconoiseHB42DF) delete GefzRreconoiseHB42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRreconoiseHB41D = new TH1F("GefzRreconoiseHB41D","", nphi, 0., 72. ); + TH1F* GefzRreconoiseHB41D0 = new TH1F("GefzRreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHB41DF = (TH1F*)GefzRreconoiseHB41D0->Clone("GefzRreconoiseHB41DF"); + for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHB41D0 ->Fill(jphi,1.); } + }}}} + GefzRreconoiseHB41DF->Divide(GefzRreconoiseHB41D,GefzRreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB41DF->SetMarkerStyle(20); GefzRreconoiseHB41DF->SetMarkerSize(1.4); GefzRreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHB41DF->SetXTitle("#phi \b"); GefzRreconoiseHB41DF->SetYTitle(" \b"); GefzRreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHB41DF->SetMarkerColor(4); GefzRreconoiseHB41DF->SetLineColor(4);//GefzRreconoiseHB41DF->SetMinimum(0.8); // GefzRreconoiseHB41DF->SetMaximum(1.000); + GefzRreconoiseHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RreconoiseGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (GefzRreconoiseHB41D) delete GefzRreconoiseHB41D; + if (GefzRreconoiseHB41D0) delete GefzRreconoiseHB41D0; + if (GefzRreconoiseHB41DF) delete GefzRreconoiseHB41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise1=1; + TH1F* h2CeffHBpositivedirectionReconoise1 = new TH1F("h2CeffHBpositivedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBpositivedirectionReconoise1 = "<SetMarkerColor(2);HBpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise1 == 1) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 2) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 3) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 4) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 5) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 6) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 7) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 8) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 9) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==10) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==11) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==12) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==13) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==14) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==15) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==16) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoise1->Draw("Error"); + kcountHBpositivedirectionReconoise1++; + if(kcountHBpositivedirectionReconoise1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise1) delete h2CeffHBpositivedirectionReconoise1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise2=1; + TH1F* h2CeffHBpositivedirectionReconoise2 = new TH1F("h2CeffHBpositivedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBpositivedirectionReconoise2 = "<SetMarkerColor(2);HBpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise2 == 1) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 2) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 3) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 4) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 5) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 6) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 7) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 8) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 9) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==10) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==11) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==12) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==13) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==14) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==15) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==16) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoise2->Draw("Error"); + kcountHBpositivedirectionReconoise2++; + if(kcountHBpositivedirectionReconoise2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise2) delete h2CeffHBpositivedirectionReconoise2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise3=1; + TH1F* h2CeffHBpositivedirectionReconoise3 = new TH1F("h2CeffHBpositivedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBpositivedirectionReconoise3 = "<SetMarkerColor(2);HBpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise3 == 1) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 2) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 3) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 4) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 5) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 6) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 7) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 8) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 9) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==10) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==11) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==12) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==13) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==14) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==15) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==16) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoise3->Draw("Error"); + kcountHBpositivedirectionReconoise3++; + if(kcountHBpositivedirectionReconoise3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise3) delete h2CeffHBpositivedirectionReconoise3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise4=1; + TH1F* h2CeffHBpositivedirectionReconoise4 = new TH1F("h2CeffHBpositivedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBpositivedirectionReconoise4 = "<SetMarkerColor(2);HBpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise4 == 1) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 2) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 3) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 4) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 5) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 6) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 7) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 8) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 9) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==10) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==11) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==12) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==13) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==14) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==15) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==16) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoise4->Draw("Error"); + kcountHBpositivedirectionReconoise4++; + if(kcountHBpositivedirectionReconoise4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise4) delete h2CeffHBpositivedirectionReconoise4; + + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise1=1; + TH1F* h2CeffHBnegativedirectionReconoise1 = new TH1F("h2CeffHBnegativedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBnegativedirectionReconoise1 = "<SetMarkerColor(2);HBnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise1 == 1) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 2) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 3) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 4) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 5) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 6) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 7) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 8) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 9) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==10) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==11) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==12) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==13) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==14) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==15) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==16) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoise1->Draw("Error"); + kcountHBnegativedirectionReconoise1++; + if(kcountHBnegativedirectionReconoise1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise1) delete h2CeffHBnegativedirectionReconoise1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise2=1; + TH1F* h2CeffHBnegativedirectionReconoise2 = new TH1F("h2CeffHBnegativedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBnegativedirectionReconoise2 = "<SetMarkerColor(2);HBnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise2 == 1) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 2) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 3) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 4) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 5) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 6) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 7) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 8) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 9) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==10) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==11) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==12) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==13) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==14) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==15) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==16) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoise2->Draw("Error"); + kcountHBnegativedirectionReconoise2++; + if(kcountHBnegativedirectionReconoise2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise2) delete h2CeffHBnegativedirectionReconoise2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise3=1; + TH1F* h2CeffHBnegativedirectionReconoise3 = new TH1F("h2CeffHBnegativedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBnegativedirectionReconoise3 = "<SetMarkerColor(2);HBnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise3 == 1) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 2) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 3) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 4) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 5) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 6) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 7) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 8) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 9) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==10) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==11) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==12) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==13) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==14) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==15) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==16) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoise3->Draw("Error"); + kcountHBnegativedirectionReconoise3++; + if(kcountHBnegativedirectionReconoise3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise3) delete h2CeffHBnegativedirectionReconoise3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise4=1; + TH1F* h2CeffHBnegativedirectionReconoise4 = new TH1F("h2CeffHBnegativedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBnegativedirectionReconoise4 = "<SetMarkerColor(2);HBnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise4 == 1) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 2) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 3) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 4) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 5) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 6) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 7) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 8) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 9) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==10) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==11) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==12) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==13) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==14) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==15) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==16) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoise4->Draw("Error"); + kcountHBnegativedirectionReconoise4++; + if(kcountHBnegativedirectionReconoise4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise4) delete h2CeffHBnegativedirectionReconoise4; + + //====================================================================================================================== + // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HE + //====================================================================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzDIFreconoiseHB42D = new TH2F("GefzDIFreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHB42D0 = new TH2F("GefzDIFreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHB42DF = (TH2F*)GefzDIFreconoiseHB42D0->Clone("GefzDIFreconoiseHB42DF"); + for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzDIFreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHB42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzDIFreconoiseHB42DF->Divide(GefzDIFreconoiseHB42D,GefzDIFreconoiseHB42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHB42DF->SetYTitle(" #phi \b"); + GefzDIFreconoiseHB42DF->Draw("COLZ"); + + + // c2x1->cd(2); + // TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); + // energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHB.png"); + c2x1->Clear(); + // clean-up + if (GefzDIFreconoiseHB42D) delete GefzDIFreconoiseHB42D; + if (GefzDIFreconoiseHB42D0) delete GefzDIFreconoiseHB42D0; + if (GefzDIFreconoiseHB42DF) delete GefzDIFreconoiseHB42DF; + //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzDIFreconoiseHB41D = new TH1F("GefzDIFreconoiseHB41D","", nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHB41D0 = new TH1F("GefzDIFreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHB41DF = (TH1F*)GefzDIFreconoiseHB41D0->Clone("GefzDIFreconoiseHB41DF"); + for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHB41D0 ->Fill(jphi,1.); } + }}}} + GefzDIFreconoiseHB41DF->Divide(GefzDIFreconoiseHB41D,GefzDIFreconoiseHB41D0, 1, 1, "B");// DIF averaged over depthfs & eta + GefzDIFreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB41DF->SetMarkerStyle(20); GefzDIFreconoiseHB41DF->SetMarkerSize(1.4); GefzDIFreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHB41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHB41DF->SetYTitle(" \b"); GefzDIFreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHB41DF->SetMarkerColor(4); GefzDIFreconoiseHB41DF->SetLineColor(4);//GefzDIFreconoiseHB41DF->SetMinimum(0.8); // GefzDIFreconoiseHB41DF->SetMaximum(1.000); + GefzDIFreconoiseHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (GefzDIFreconoiseHB41D) delete GefzDIFreconoiseHB41D; + if (GefzDIFreconoiseHB41D0) delete GefzDIFreconoiseHB41D0; + if (GefzDIFreconoiseHB41DF) delete GefzDIFreconoiseHB41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF1=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF1 == 1) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 2) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 3) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 4) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 5) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 6) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 7) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 8) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 9) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==10) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==11) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==12) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==13) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==14) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==15) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==16) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF1++; + if(kcountHBpositivedirectionReconoiseDIF1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF1) delete h2CeffHBpositivedirectionReconoiseDIF1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF2=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF2 == 1) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 2) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 3) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 4) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 5) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 6) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 7) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 8) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 9) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==10) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==11) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==12) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==13) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==14) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==15) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==16) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF2++; + if(kcountHBpositivedirectionReconoiseDIF2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF2) delete h2CeffHBpositivedirectionReconoiseDIF2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF3=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF3 == 1) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 2) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 3) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 4) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 5) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 6) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 7) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 8) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 9) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==10) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==11) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==12) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==13) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==14) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==15) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==16) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF3++; + if(kcountHBpositivedirectionReconoiseDIF3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF3) delete h2CeffHBpositivedirectionReconoiseDIF3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF4=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF4 == 1) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 2) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 3) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 4) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 5) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 6) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 7) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 8) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 9) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==10) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==11) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==12) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==13) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==14) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==15) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==16) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF4++; + if(kcountHBpositivedirectionReconoiseDIF4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF4) delete h2CeffHBpositivedirectionReconoiseDIF4; + + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF1=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF1 == 1) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 2) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 3) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 4) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 5) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 6) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 7) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 8) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 9) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==10) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==11) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==12) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==13) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==14) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==15) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==16) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF1++; + if(kcountHBnegativedirectionReconoiseDIF1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF1) delete h2CeffHBnegativedirectionReconoiseDIF1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF2=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF2 == 1) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -16; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 2) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -15; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 3) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -14; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 4) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -13; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 5) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -12; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 6) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -11; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 7) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -10; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 8) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -9; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 9) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -8; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==10) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -7; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==11) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -6; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==12) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -5; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==13) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -4; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==14) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -3; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==15) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -2; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==16) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF2++; + if(kcountHBnegativedirectionReconoiseDIF2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF2) delete h2CeffHBnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF3=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF3 == 1) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -16; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 2) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -15; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 3) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -14; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 4) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -13; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 5) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -12; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 6) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -11; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 7) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -10; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 8) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -9; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 9) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -8; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==10) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -7; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==11) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -6; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==12) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -5; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==13) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -4; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==14) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -3; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==15) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -2; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==16) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF3++; + if(kcountHBnegativedirectionReconoiseDIF3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF3) delete h2CeffHBnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF4=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF4 == 1) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -16; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 2) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -15; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 3) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -14; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 4) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -13; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 5) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -12; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 6) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -11; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 7) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -10; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 8) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -9; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 9) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -8; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==10) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -7; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==11) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -6; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==12) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -5; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==13) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -4; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==14) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -3; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==15) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -2; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==16) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF4++; + if(kcountHBnegativedirectionReconoiseDIF4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF4) delete h2CeffHBnegativedirectionReconoiseDIF4; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HB1"); + TH2F *reconoiseVariance0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + TH2F* reconoiseVarianceHB1 = (TH2F*)reconoiseVariance1HB1->Clone("reconoiseVarianceHB1"); + reconoiseVarianceHB1->Divide(reconoiseVariance1HB1,reconoiseVariance0HB1, 1, 1, "B"); + TH2F *reconoiseVariance1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB2"); + TH2F *reconoiseVariance0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + TH2F* reconoiseVarianceHB2 = (TH2F*)reconoiseVariance1HB2->Clone("reconoiseVarianceHB2"); + reconoiseVarianceHB2->Divide(reconoiseVariance1HB2,reconoiseVariance0HB2, 1, 1, "B"); + TH2F *reconoiseVariance1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB3"); + TH2F *reconoiseVariance0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + TH2F* reconoiseVarianceHB3 = (TH2F*)reconoiseVariance1HB3->Clone("reconoiseVarianceHB3"); + reconoiseVarianceHB3->Divide(reconoiseVariance1HB3,reconoiseVariance0HB3, 1, 1, "B"); + TH2F *reconoiseVariance1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB4"); + TH2F *reconoiseVariance0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + TH2F* reconoiseVarianceHB4 = (TH2F*)reconoiseVariance1HB4->Clone("reconoiseVarianceHB4"); + reconoiseVarianceHB4->Divide(reconoiseVariance1HB4,reconoiseVariance0HB4, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + //preparation for PHI normalization: + double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + reconoisevarianceHB[1][jeta][jphi] = reconoiseVarianceHB2->GetBinContent(jeta+1,jphi+1); + reconoisevarianceHB[2][jeta][jphi] = reconoiseVarianceHB3->GetBinContent(jeta+1,jphi+1); + reconoisevarianceHB[3][jeta][jphi] = reconoiseVarianceHB4->GetBinContent(jeta+1,jphi+1); + if(reconoisevarianceHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += reconoisevarianceHB[0][jeta][jphi];++nsumreconoiseHB0;} + if(reconoisevarianceHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += reconoisevarianceHB[1][jeta][jphi];++nsumreconoiseHB1;} + if(reconoisevarianceHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += reconoisevarianceHB[2][jeta][jphi];++nsumreconoiseHB2;} + if(reconoisevarianceHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += reconoisevarianceHB[3][jeta][jphi];++nsumreconoiseHB3;} + }// phi + // PHI normalization : + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDreconoiseHB42D = new TH2F("DefzDreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHB42D0 = new TH2F("DefzDreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHB42DF = (TH2F*)DefzDreconoiseHB42D0->Clone("DefzDreconoiseHB42DF"); + for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 + if(areconoiseHB[i][jeta][jphi]>0.) {DefzDreconoiseHB42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHB42D0 ->Fill(kkk,jphi,1.); } + }}}} + DefzDreconoiseHB42DF->Divide(DefzDreconoiseHB42D,DefzDreconoiseHB42D0, 1, 1, "B");// average A + // DefzDreconoiseHB1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB42DF->SetMarkerStyle(20); DefzDreconoiseHB42DF->SetMarkerSize(0.4); DefzDreconoiseHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHB42DF->SetYTitle(" #phi \b"); DefzDreconoiseHB42DF->SetZTitle("_depth \b"); DefzDreconoiseHB42DF->SetMarkerColor(2); DefzDreconoiseHB42DF->SetLineColor(0); // DefzDreconoiseHB42DF->SetMaximum(1.000); // DefzDreconoiseHB42DF->SetMinimum(1.0); + DefzDreconoiseHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHB42D) delete DefzDreconoiseHB42D; + if (DefzDreconoiseHB42D0) delete DefzDreconoiseHB42D0; + if (DefzDreconoiseHB42DF) delete DefzDreconoiseHB42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDreconoiseHB41D = new TH1F("DefzDreconoiseHB41D","", nphi, 0., 72. ); + TH1F* DefzDreconoiseHB41D0 = new TH1F("DefzDreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* DefzDreconoiseHB41DF = (TH1F*)DefzDreconoiseHB41D0->Clone("DefzDreconoiseHB41DF"); + + for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int i=0;i0.) {DefzDreconoiseHB41D ->Fill(jphi,ccc1); DefzDreconoiseHB41D0 ->Fill(jphi,1.); } + }}}} + // DefzDreconoiseHB41D->Sumw2();DefzDreconoiseHB41D0->Sumw2(); + + DefzDreconoiseHB41DF->Divide(DefzDreconoiseHB41D,DefzDreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB41DF->SetMarkerStyle(20); DefzDreconoiseHB41DF->SetMarkerSize(1.4); DefzDreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB41DF->SetXTitle("#phi \b"); DefzDreconoiseHB41DF->SetYTitle(" \b"); DefzDreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHB41DF->SetMarkerColor(4); DefzDreconoiseHB41DF->SetLineColor(4); //DefzDreconoiseHB41DF->SetMinimum(0.8); DefzDreconoiseHB41DF->SetMinimum(-0.015); + DefzDreconoiseHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DreconoiseGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (DefzDreconoiseHB41D) delete DefzDreconoiseHB41D; + if (DefzDreconoiseHB41D0) delete DefzDreconoiseHB41D0; + if (DefzDreconoiseHB41DF) delete DefzDreconoiseHB41DF; + + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD1=1; + TH1F* h2CeffHBpositivedirectionReconoiseD1 = new TH1F("h2CeffHBpositivedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD1 == 1) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 2) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 3) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 4) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 5) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 6) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 7) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 8) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 9) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==10) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==11) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==12) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==13) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==14) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==15) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==16) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseD1->Draw("Error"); + kcountHBpositivedirectionReconoiseD1++; + if(kcountHBpositivedirectionReconoiseD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD1) delete h2CeffHBpositivedirectionReconoiseD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD2=1; + TH1F* h2CeffHBpositivedirectionReconoiseD2 = new TH1F("h2CeffHBpositivedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD2 == 1) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 2) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 3) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 4) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 5) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 6) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 7) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 8) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 9) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==10) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==11) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==12) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==13) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==14) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==15) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==16) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseD2->Draw("Error"); + kcountHBpositivedirectionReconoiseD2++; + if(kcountHBpositivedirectionReconoiseD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD2) delete h2CeffHBpositivedirectionReconoiseD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD3=1; + TH1F* h2CeffHBpositivedirectionReconoiseD3 = new TH1F("h2CeffHBpositivedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD3 == 1) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 2) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 3) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 4) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 5) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 6) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 7) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 8) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 9) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==10) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==11) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==12) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==13) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==14) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==15) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==16) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseD3->Draw("Error"); + kcountHBpositivedirectionReconoiseD3++; + if(kcountHBpositivedirectionReconoiseD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD3) delete h2CeffHBpositivedirectionReconoiseD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD4=1; + TH1F* h2CeffHBpositivedirectionReconoiseD4 = new TH1F("h2CeffHBpositivedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD4 == 1) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 2) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 3) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 4) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 5) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 6) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 7) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 8) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 9) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==10) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==11) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==12) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==13) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==14) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==15) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==16) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseD4->Draw("Error"); + kcountHBpositivedirectionReconoiseD4++; + if(kcountHBpositivedirectionReconoiseD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD4) delete h2CeffHBpositivedirectionReconoiseD4; + + + //========================================================================================== 22214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD1=1; + TH1F* h2CeffHBnegativedirectionReconoiseD1 = new TH1F("h2CeffHBnegativedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD1 == 1) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 2) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 3) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 4) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 5) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 6) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 7) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 8) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 9) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==10) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==11) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==12) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==13) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==14) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==15) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==16) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); + HBnegativedirectionReconoiseD1->Draw("Error"); + kcountHBnegativedirectionReconoiseD1++; + if(kcountHBnegativedirectionReconoiseD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD1) delete h2CeffHBnegativedirectionReconoiseD1; + //========================================================================================== 22215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD2=1; + TH1F* h2CeffHBnegativedirectionReconoiseD2 = new TH1F("h2CeffHBnegativedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD2 == 1) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 2) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 3) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 4) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 5) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 6) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 7) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 8) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 9) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==10) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==11) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==12) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==13) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==14) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==15) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==16) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); + HBnegativedirectionReconoiseD2->Draw("Error"); + kcountHBnegativedirectionReconoiseD2++; + if(kcountHBnegativedirectionReconoiseD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD2) delete h2CeffHBnegativedirectionReconoiseD2; + //========================================================================================== 22216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD3=1; + TH1F* h2CeffHBnegativedirectionReconoiseD3 = new TH1F("h2CeffHBnegativedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD3 == 1) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 2) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 3) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 4) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 5) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 6) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 7) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 8) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 9) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==10) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==11) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==12) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==13) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==14) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==15) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==16) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); + HBnegativedirectionReconoiseD3->Draw("Error"); + kcountHBnegativedirectionReconoiseD3++; + if(kcountHBnegativedirectionReconoiseD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD3) delete h2CeffHBnegativedirectionReconoiseD3; + //========================================================================================== 22217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD4=1; + TH1F* h2CeffHBnegativedirectionReconoiseD4 = new TH1F("h2CeffHBnegativedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD4 == 1) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 2) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 3) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 4) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 5) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 6) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 7) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 8) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 9) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==10) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==11) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==12) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==13) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==14) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==15) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==16) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); + HBnegativedirectionReconoiseD4->Draw("Error"); + kcountHBnegativedirectionReconoiseD4++; + if(kcountHBnegativedirectionReconoiseD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD4) delete h2CeffHBnegativedirectionReconoiseD4; + + + + + //===================================================================== END of Reconoise HB for phi-symmetry + //===================================================================== END of Reconoise HB for phi-symmetry + //===================================================================== END of Reconoise HB for phi-symmetry + + + + + + + + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double areconoisehe[ndepth][njeta][njphi]; + double breconoisehe[ndepth][njeta][njphi]; + double reconoisevariancehe[ndepth][njeta][njphi]; + //////////////////////////////////////////////////////////////////////////////////////////////////////////// + TH2F *recNoiseEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE1"); + TH2F *recNoiseEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + TH2F* recNoiseEnergyHE1 = (TH2F*)recNoiseEnergy1HE1->Clone("recNoiseEnergyHE1"); + recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1,recNoiseEnergy0HE1, 1, 1, "B"); + TH2F *recNoiseEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE2"); + TH2F *recNoiseEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + TH2F* recNoiseEnergyHE2 = (TH2F*)recNoiseEnergy1HE2->Clone("recNoiseEnergyHE2"); + recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2,recNoiseEnergy0HE2, 1, 1, "B"); + TH2F *recNoiseEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE3"); + TH2F *recNoiseEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + TH2F* recNoiseEnergyHE3 = (TH2F*)recNoiseEnergy1HE3->Clone("recNoiseEnergyHE3"); + recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3,recNoiseEnergy0HE3, 1, 1, "B"); + TH2F *recNoiseEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE4"); + TH2F *recNoiseEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + TH2F* recNoiseEnergyHE4 = (TH2F*)recNoiseEnergy1HE4->Clone("recNoiseEnergyHE4"); + recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4,recNoiseEnergy0HE4, 1, 1, "B"); + TH2F *recNoiseEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE5"); + TH2F *recNoiseEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + TH2F* recNoiseEnergyHE5 = (TH2F*)recNoiseEnergy1HE5->Clone("recNoiseEnergyHE5"); + recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5,recNoiseEnergy0HE5, 1, 1, "B"); + TH2F *recNoiseEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE6"); + TH2F *recNoiseEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + TH2F* recNoiseEnergyHE6 = (TH2F*)recNoiseEnergy1HE6->Clone("recNoiseEnergyHE6"); + recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6,recNoiseEnergy0HE6, 1, 1, "B"); + TH2F *recNoiseEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE7"); + TH2F *recNoiseEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + TH2F* recNoiseEnergyHE7 = (TH2F*)recNoiseEnergy1HE7->Clone("recNoiseEnergyHE7"); + recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7,recNoiseEnergy0HE7, 1, 1, "B"); + for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + //====================================================================== PHI normalization & put R into massive areconoisehe + //preparation for PHI normalization: + double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; + double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + areconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); + areconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); + areconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); + areconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); + areconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); + areconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); + + breconoisehe[0][jeta][jphi] = recNoiseEnergyHE1->GetBinContent(jeta+1,jphi+1); + breconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); + breconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); + breconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); + breconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); + breconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); + breconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); + + if(areconoisehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += areconoisehe[0][jeta][jphi];++nsumreconoiseHE0;} + if(areconoisehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += areconoisehe[1][jeta][jphi];++nsumreconoiseHE1;} + if(areconoisehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += areconoisehe[2][jeta][jphi];++nsumreconoiseHE2;} + if(areconoisehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += areconoisehe[3][jeta][jphi];++nsumreconoiseHE3;} + if(areconoisehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += areconoisehe[4][jeta][jphi];++nsumreconoiseHE4;} + if(areconoisehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += areconoisehe[5][jeta][jphi];++nsumreconoiseHE5;} + if(areconoisehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += areconoisehe[6][jeta][jphi];++nsumreconoiseHE6;} + }// phi + + // PHI normalization for DIF: + for(int jphi=0;jphi= + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthes + //====================================================================== + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HE + //====================================================================== + c2x1->Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRreconoiseHE42D = new TH2F("GefzRreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHE42D0 = new TH2F("GefzRreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHE42DF = (TH2F*)GefzRreconoiseHE42D0->Clone("GefzRreconoiseHE42DF"); + for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHE42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzRreconoiseHE42DF->Divide(GefzRreconoiseHE42D,GefzRreconoiseHE42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHE42DF->SetYTitle(" #phi \b"); + GefzRreconoiseHE42DF->Draw("COLZ"); + + + c2x1->cd(2); + TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); + energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); + + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RreconoiseGeneralD2PhiSymmetryHE.png"); + c2x1->Clear(); + // clean-up + if (GefzRreconoiseHE42D) delete GefzRreconoiseHE42D; + if (GefzRreconoiseHE42D0) delete GefzRreconoiseHE42D0; + if (GefzRreconoiseHE42DF) delete GefzRreconoiseHE42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRreconoiseHE41D = new TH1F("GefzRreconoiseHE41D","", nphi, 0., 72. ); + TH1F* GefzRreconoiseHE41D0 = new TH1F("GefzRreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHE41DF = (TH1F*)GefzRreconoiseHE41D0->Clone("GefzRreconoiseHE41DF"); + for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHE41D0 ->Fill(jphi,1.); } + }}}} + GefzRreconoiseHE41DF->Divide(GefzRreconoiseHE41D,GefzRreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta + GefzRreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE41DF->SetMarkerStyle(20); GefzRreconoiseHE41DF->SetMarkerSize(1.4); GefzRreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHE41DF->SetXTitle("#phi \b"); GefzRreconoiseHE41DF->SetYTitle(" \b"); GefzRreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRreconoiseHE41DF->SetMarkerColor(4); GefzRreconoiseHE41DF->SetLineColor(4); // GefzRreconoiseHE41DF->SetMinimum(0.8); // GefzRreconoiseHE41DF->SetMaximum(1.000); + GefzRreconoiseHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RreconoiseGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (GefzRreconoiseHE41D) delete GefzRreconoiseHE41D; + if (GefzRreconoiseHE41D0) delete GefzRreconoiseHE41D0; + if (GefzRreconoiseHE41DF) delete GefzRreconoiseHE41DF; + + + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise1=1; + TH1F* h2CeffHEpositivedirectionReconoise1 = new TH1F("h2CeffHEpositivedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEpositivedirectionReconoise1 = "<SetMarkerColor(2);HEpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise1 == 1) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 2) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 3) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 4) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 5) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 6) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 7) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 8) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 9) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 ==10) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 ==11) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 ==12) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoise1->Draw("Error"); + kcountHEpositivedirectionReconoise1++; + if(kcountHEpositivedirectionReconoise1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 15 && jeta-41 <= 28 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise1) delete h2CeffHEpositivedirectionReconoise1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise2=1; + TH1F* h2CeffHEpositivedirectionReconoise2 = new TH1F("h2CeffHEpositivedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEpositivedirectionReconoise2 = "<SetMarkerColor(2);HEpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise2 == 1) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 2) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 3) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 4) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 5) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 6) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 7) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 8) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 9) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==10) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==11) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==12) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==13) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoise2->Draw("Error"); + kcountHEpositivedirectionReconoise2++; + if(kcountHEpositivedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise2) delete h2CeffHEpositivedirectionReconoise2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise3=1; + TH1F* h2CeffHEpositivedirectionReconoise3 = new TH1F("h2CeffHEpositivedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEpositivedirectionReconoise3 = "<SetMarkerColor(2);HEpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise3 == 1) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 2) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 3) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 4) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 5) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 6) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 7) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 8) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 9) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==10) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==11) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==12) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==13) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoise3->Draw("Error"); + kcountHEpositivedirectionReconoise3++; + if(kcountHEpositivedirectionReconoise3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise3) delete h2CeffHEpositivedirectionReconoise3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise4=1; + TH1F* h2CeffHEpositivedirectionReconoise4 = new TH1F("h2CeffHEpositivedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEpositivedirectionReconoise4 = "<SetMarkerColor(2);HEpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise4 == 1) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 2) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 3) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 4) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 5) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 6) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 7) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 8) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 9) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 ==10) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 ==11) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 ==12) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoise4->Draw("Error"); + kcountHEpositivedirectionReconoise4++; + if(kcountHEpositivedirectionReconoise4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise4) delete h2CeffHEpositivedirectionReconoise4; + //========================================================================================== 8 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise5=1; + TH1F* h2CeffHEpositivedirectionReconoise5 = new TH1F("h2CeffHEpositivedirectionReconoise5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise5 == 1) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 2) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 3) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 4) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 5) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 6) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 7) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 8) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 9) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 ==10) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 ==11) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoise5->Draw("Error"); + kcountHEpositivedirectionReconoise5++; + if(kcountHEpositivedirectionReconoise5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise5) delete h2CeffHEpositivedirectionReconoise5; + //========================================================================================== 9 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise6=1; + TH1F* h2CeffHEpositivedirectionReconoise6 = new TH1F("h2CeffHEpositivedirectionReconoise6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEpositivedirectionReconoise6 = "<SetMarkerColor(2);HEpositivedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise6 == 1) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 2) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 3) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 4) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 5) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 6) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 7) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 8) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 9) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 ==10) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoise6->Draw("Error"); + kcountHEpositivedirectionReconoise6++; + if(kcountHEpositivedirectionReconoise6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise6) delete h2CeffHEpositivedirectionReconoise6; + //========================================================================================== 10 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise7=1; + TH1F* h2CeffHEpositivedirectionReconoise7 = new TH1F("h2CeffHEpositivedirectionReconoise7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEpositivedirectionReconoise7 = "<SetMarkerColor(2);HEpositivedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise7 == 1) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionReconoise7 == 2) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionReconoise7 == 3) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoise7->Draw("Error"); + kcountHEpositivedirectionReconoise7++; + if(kcountHEpositivedirectionReconoise7>3) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise7) delete h2CeffHEpositivedirectionReconoise7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise1=1; + TH1F* h2CeffHEnegativedirectionReconoise1 = new TH1F("h2CeffHEnegativedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEnegativedirectionReconoise1 = "<SetMarkerColor(2);HEnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise1 == 1) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 2) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 3) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 4) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 5) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 6) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 7) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 8) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 9) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 ==10) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 ==11) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 ==12) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoise1->Draw("Error"); + kcountHEnegativedirectionReconoise1++; + if(kcountHEnegativedirectionReconoise1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise1) delete h2CeffHEnegativedirectionReconoise1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise2=1; + TH1F* h2CeffHEnegativedirectionReconoise2 = new TH1F("h2CeffHEnegativedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEnegativedirectionReconoise2 = "<SetMarkerColor(2);HEnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise2 == 1) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 2) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 3) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 4) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 5) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 6) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 7) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 8) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 9) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==10) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==11) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==12) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==13) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoise2->Draw("Error"); + kcountHEnegativedirectionReconoise2++; + if(kcountHEnegativedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise2) delete h2CeffHEnegativedirectionReconoise2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise3=1; + TH1F* h2CeffHEnegativedirectionReconoise3 = new TH1F("h2CeffHEnegativedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEnegativedirectionReconoise3 = "<SetMarkerColor(2);HEnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise3 == 1) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 2) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 3) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 4) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 5) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 6) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 7) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 8) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 9) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==10) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==11) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==12) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==13) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoise3->Draw("Error"); + kcountHEnegativedirectionReconoise3++; + if(kcountHEnegativedirectionReconoise3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise3) delete h2CeffHEnegativedirectionReconoise3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise4=1; + TH1F* h2CeffHEnegativedirectionReconoise4 = new TH1F("h2CeffHEnegativedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEnegativedirectionReconoise4 = "<SetMarkerColor(2);HEnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise4 == 1) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 2) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 3) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 4) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 5) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 6) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 7) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 8) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 9) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 ==10) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 ==11) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 ==12) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoise4->Draw("Error"); + kcountHEnegativedirectionReconoise4++; + if(kcountHEnegativedirectionReconoise4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise4) delete h2CeffHEnegativedirectionReconoise4; + //========================================================================================== 1118 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise5=1; + TH1F* h2CeffHEnegativedirectionReconoise5 = new TH1F("h2CeffHEnegativedirectionReconoise5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise5 == 1) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 2) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 3) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 4) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 5) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 6) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 7) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 8) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 9) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 ==10) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 ==11) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoise5->Draw("Error"); + kcountHEnegativedirectionReconoise5++; + if(kcountHEnegativedirectionReconoise5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise5) delete h2CeffHEnegativedirectionReconoise5; + //========================================================================================== 1119 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise6=1; + TH1F* h2CeffHEnegativedirectionReconoise6 = new TH1F("h2CeffHEnegativedirectionReconoise6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEnegativedirectionReconoise6 = "<SetMarkerColor(2);HEnegativedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise6 == 1) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 2) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 3) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 4) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 5) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 6) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 7) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 8) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 9) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 ==10) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoise6->Draw("Error"); + kcountHEnegativedirectionReconoise6++; + if(kcountHEnegativedirectionReconoise6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise6) delete h2CeffHEnegativedirectionReconoise6; + //========================================================================================== 11110 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise7=1; + TH1F* h2CeffHEnegativedirectionReconoise7 = new TH1F("h2CeffHEnegativedirectionReconoise7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEnegativedirectionReconoise7 = "<SetMarkerColor(2);HEnegativedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise7 == 1) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionReconoise7 == 2) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionReconoise7 == 3) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoise7->Draw("Error"); + kcountHEnegativedirectionReconoise7++; + if(kcountHEnegativedirectionReconoise7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise7) delete h2CeffHEnegativedirectionReconoise7; + + //====================================================================================================================== + //====================================================================================================================== + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //====================================================================================================================== + // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HE + //====================================================================================================================== + //====================================================================== + c2x1->Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzDIFreconoiseHE42D = new TH2F("GefzDIFreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHE42D0 = new TH2F("GefzDIFreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHE42DF = (TH2F*)GefzDIFreconoiseHE42D0->Clone("GefzDIFreconoiseHE42DF"); + for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzDIFreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHE42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzDIFreconoiseHE42DF->Divide(GefzDIFreconoiseHE42D,GefzDIFreconoiseHE42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHE42DF->SetYTitle(" #phi \b"); + GefzDIFreconoiseHE42DF->Draw("COLZ"); + + + //c2x1->cd(2); + //TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); + //energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); + + + + + ///////////////// + c2x1->Update(); + c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHE.png"); + c2x1->Clear(); + // clean-up + if (GefzDIFreconoiseHE42D) delete GefzDIFreconoiseHE42D; + if (GefzDIFreconoiseHE42D0) delete GefzDIFreconoiseHE42D0; + if (GefzDIFreconoiseHE42DF) delete GefzDIFreconoiseHE42DF; + //====================================================================== 1D plot: DIF vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: DIF vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzDIFreconoiseHE41D = new TH1F("GefzDIFreconoiseHE41D","", nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHE41D0 = new TH1F("GefzDIFreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHE41DF = (TH1F*)GefzDIFreconoiseHE41D0->Clone("GefzDIFreconoiseHE41DF"); + for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHE41D0 ->Fill(jphi,1.); } + }}}} + GefzDIFreconoiseHE41DF->Divide(GefzDIFreconoiseHE41D,GefzDIFreconoiseHE41D0, 1, 1, "B");// DIF averaged over depthes & eta + GefzDIFreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE41DF->SetMarkerStyle(20); GefzDIFreconoiseHE41DF->SetMarkerSize(1.4); GefzDIFreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHE41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHE41DF->SetYTitle(" \b"); GefzDIFreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzDIFreconoiseHE41DF->SetMarkerColor(4); GefzDIFreconoiseHE41DF->SetLineColor(4); // GefzDIFreconoiseHE41DF->SetMinimum(0.8); // GefzDIFreconoiseHE41DF->SetMaximum(1.000); + GefzDIFreconoiseHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (GefzDIFreconoiseHE41D) delete GefzDIFreconoiseHE41D; + if (GefzDIFreconoiseHE41D0) delete GefzDIFreconoiseHE41D0; + if (GefzDIFreconoiseHE41DF) delete GefzDIFreconoiseHE41DF; + + + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF1=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF1 == 1) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 2) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 3) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 4) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 5) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 6) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 7) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 8) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 9) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 ==10) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 ==11) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 ==12) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF1++; + if(kcountHEpositivedirectionReconoiseDIF1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 15 && jeta-41 <= 28 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF1) delete h2CeffHEpositivedirectionReconoiseDIF1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF2=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF2 == 1) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 2) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 3) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 4) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 5) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 6) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 7) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 8) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 9) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==10) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==11) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==12) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==13) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF2++; + if(kcountHEpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF2) delete h2CeffHEpositivedirectionReconoiseDIF2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF3=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF3 == 1) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 2) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 3) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 4) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 5) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 6) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 7) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 8) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 9) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==10) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==11) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==12) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==13) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF3++; + if(kcountHEpositivedirectionReconoiseDIF3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF3) delete h2CeffHEpositivedirectionReconoiseDIF3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF4=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF4 == 1) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 2) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 3) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 4) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 5) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 6) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 7) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 8) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 9) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 ==10) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 ==11) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 ==12) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF4++; + if(kcountHEpositivedirectionReconoiseDIF4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF4) delete h2CeffHEpositivedirectionReconoiseDIF4; + //========================================================================================== 8 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF5=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF5 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF5 == 1) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 2) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 3) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 4) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 5) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 6) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 7) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 8) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 9) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 ==10) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 ==11) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseDIF5->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF5++; + if(kcountHEpositivedirectionReconoiseDIF5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF5) delete h2CeffHEpositivedirectionReconoiseDIF5; + //========================================================================================== 9 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF6=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF6 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEpositivedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF6 == 1) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 2) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 3) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 4) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 5) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 6) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 7) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 8) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 9) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 ==10) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseDIF6->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF6++; + if(kcountHEpositivedirectionReconoiseDIF6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF6) delete h2CeffHEpositivedirectionReconoiseDIF6; + //========================================================================================== 10 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF7=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF7 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEpositivedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF7 == 1) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseDIF7 == 2) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseDIF7 == 3) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseDIF7->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF7++; + if(kcountHEpositivedirectionReconoiseDIF7>3) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF7) delete h2CeffHEpositivedirectionReconoiseDIF7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF1=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF1 == 1) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 2) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 3) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 4) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 5) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 6) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 7) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 8) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 9) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 ==10) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 ==11) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 ==12) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF1++; + if(kcountHEnegativedirectionReconoiseDIF1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF1) delete h2CeffHEnegativedirectionReconoiseDIF1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF2=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF2 == 1) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 2) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 3) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 4) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 5) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 6) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 7) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 8) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 9) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==10) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==11) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==12) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==13) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF2++; + if(kcountHEnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF2) delete h2CeffHEnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF3=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF3 == 1) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 2) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 3) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 4) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 5) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 6) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 7) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 8) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 9) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==10) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==11) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==12) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==13) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF3++; + if(kcountHEnegativedirectionReconoiseDIF3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF3) delete h2CeffHEnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF4=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF4 == 1) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 2) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 3) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 4) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 5) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 6) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 7) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 8) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 9) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 ==10) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 ==11) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 ==12) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF4++; + if(kcountHEnegativedirectionReconoiseDIF4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF4) delete h2CeffHEnegativedirectionReconoiseDIF4; + //========================================================================================== 1118 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF5=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF5 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF5 == 1) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 2) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 3) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 4) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 5) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 6) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 7) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 8) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 9) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 ==10) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 ==11) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseDIF5->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF5++; + if(kcountHEnegativedirectionReconoiseDIF5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF5) delete h2CeffHEnegativedirectionReconoiseDIF5; + //========================================================================================== 1119 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF6=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF6 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEnegativedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF6 == 1) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 2) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 3) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 4) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 5) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 6) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 7) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 8) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 9) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 ==10) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseDIF6->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF6++; + if(kcountHEnegativedirectionReconoiseDIF6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF6) delete h2CeffHEnegativedirectionReconoiseDIF6; + //========================================================================================== 11110 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF7=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF7 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEnegativedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF7 == 1) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseDIF7 == 2) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseDIF7 == 3) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseDIF7->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF7++; + if(kcountHEnegativedirectionReconoiseDIF7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF7) delete h2CeffHEnegativedirectionReconoiseDIF7; + + //====================================================================================================================== + //====================================================================================================================== + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HE1"); + TH2F *reconoiseVariance0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + TH2F* reconoiseVarianceHE1 = (TH2F*)reconoiseVariance1HE1->Clone("reconoiseVarianceHE1"); + reconoiseVarianceHE1->Divide(reconoiseVariance1HE1,reconoiseVariance0HE1, 1, 1, "B"); + TH2F *reconoiseVariance1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE2"); + TH2F *reconoiseVariance0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + TH2F* reconoiseVarianceHE2 = (TH2F*)reconoiseVariance1HE2->Clone("reconoiseVarianceHE2"); + reconoiseVarianceHE2->Divide(reconoiseVariance1HE2,reconoiseVariance0HE2, 1, 1, "B"); + TH2F *reconoiseVariance1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE3"); + TH2F *reconoiseVariance0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + TH2F* reconoiseVarianceHE3 = (TH2F*)reconoiseVariance1HE3->Clone("reconoiseVarianceHE3"); + reconoiseVarianceHE3->Divide(reconoiseVariance1HE3,reconoiseVariance0HE3, 1, 1, "B"); + TH2F *reconoiseVariance1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE4"); + TH2F *reconoiseVariance0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + TH2F* reconoiseVarianceHE4 = (TH2F*)reconoiseVariance1HE4->Clone("reconoiseVarianceHE4"); + reconoiseVarianceHE4->Divide(reconoiseVariance1HE4,reconoiseVariance0HE4, 1, 1, "B"); + TH2F *reconoiseVariance1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE5"); + TH2F *reconoiseVariance0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + TH2F* reconoiseVarianceHE5 = (TH2F*)reconoiseVariance1HE5->Clone("reconoiseVarianceHE5"); + reconoiseVarianceHE5->Divide(reconoiseVariance1HE5,reconoiseVariance0HE5, 1, 1, "B"); + TH2F *reconoiseVariance1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE6"); + TH2F *reconoiseVariance0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + TH2F* reconoiseVarianceHE6 = (TH2F*)reconoiseVariance1HE6->Clone("reconoiseVarianceHE6"); + reconoiseVarianceHE6->Divide(reconoiseVariance1HE6,reconoiseVariance0HE6, 1, 1, "B"); + TH2F *reconoiseVariance1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE7"); + TH2F *reconoiseVariance0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + TH2F* reconoiseVarianceHE7 = (TH2F*)reconoiseVariance1HE7->Clone("reconoiseVarianceHE7"); + reconoiseVarianceHE7->Divide(reconoiseVariance1HE7,reconoiseVariance0HE7, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + //preparation for PHI normalization: + double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; + double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + reconoisevariancehe[1][jeta][jphi] = reconoiseVarianceHE2->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[2][jeta][jphi] = reconoiseVarianceHE3->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[3][jeta][jphi] = reconoiseVarianceHE4->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[4][jeta][jphi] = reconoiseVarianceHE5->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[5][jeta][jphi] = reconoiseVarianceHE6->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[6][jeta][jphi] = reconoiseVarianceHE7->GetBinContent(jeta+1,jphi+1); + if(reconoisevariancehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += reconoisevariancehe[0][jeta][jphi];++nsumreconoiseHE0;} + if(reconoisevariancehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += reconoisevariancehe[1][jeta][jphi];++nsumreconoiseHE1;} + if(reconoisevariancehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += reconoisevariancehe[2][jeta][jphi];++nsumreconoiseHE2;} + if(reconoisevariancehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += reconoisevariancehe[3][jeta][jphi];++nsumreconoiseHE3;} + if(reconoisevariancehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += reconoisevariancehe[4][jeta][jphi];++nsumreconoiseHE4;} + if(reconoisevariancehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += reconoisevariancehe[5][jeta][jphi];++nsumreconoiseHE5;} + if(reconoisevariancehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += reconoisevariancehe[6][jeta][jphi];++nsumreconoiseHE6;} + }// phi + // PHI normalization : + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDreconoiseHE42D = new TH2F("DefzDreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHE42D0 = new TH2F("DefzDreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHE42DF = (TH2F*)DefzDreconoiseHE42D0->Clone("DefzDreconoiseHE42DF"); + for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 + if(areconoisehe[i][jeta][jphi]>0.) {DefzDreconoiseHE42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHE42D0 ->Fill(kkk,jphi,1.); } + }}}} + DefzDreconoiseHE42DF->Divide(DefzDreconoiseHE42D,DefzDreconoiseHE42D0, 1, 1, "B");// average A + // DefzDreconoiseHE1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE42DF->SetMarkerStyle(20); DefzDreconoiseHE42DF->SetMarkerSize(0.4); DefzDreconoiseHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHE42DF->SetYTitle(" #phi \b"); DefzDreconoiseHE42DF->SetZTitle("_depth \b"); DefzDreconoiseHE42DF->SetMarkerColor(2); DefzDreconoiseHE42DF->SetLineColor(0); // DefzDreconoiseHE42DF->SetMaximum(1.000); // DefzDreconoiseHE42DF->SetMinimum(1.0); + DefzDreconoiseHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHE42D) delete DefzDreconoiseHE42D; + if (DefzDreconoiseHE42D0) delete DefzDreconoiseHE42D0; + if (DefzDreconoiseHE42DF) delete DefzDreconoiseHE42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDreconoiseHE41D = new TH1F("DefzDreconoiseHE41D","", nphi, 0., 72. ); + TH1F* DefzDreconoiseHE41D0 = new TH1F("DefzDreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* DefzDreconoiseHE41DF = (TH1F*)DefzDreconoiseHE41D0->Clone("DefzDreconoiseHE41DF"); + + for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int i=0;i0.) {DefzDreconoiseHE41D ->Fill(jphi,ccc1); DefzDreconoiseHE41D0 ->Fill(jphi,1.); } + }}}} + // DefzDreconoiseHE41D->Sumw2();DefzDreconoiseHE41D0->Sumw2(); + + DefzDreconoiseHE41DF->Divide(DefzDreconoiseHE41D,DefzDreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta + DefzDreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE41DF->SetMarkerStyle(20); DefzDreconoiseHE41DF->SetMarkerSize(1.4); DefzDreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE41DF->SetXTitle("#phi \b"); DefzDreconoiseHE41DF->SetYTitle(" \b"); DefzDreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDreconoiseHE41DF->SetMarkerColor(4); DefzDreconoiseHE41DF->SetLineColor(4); // DefzDreconoiseHE41DF->SetMinimum(0.8); DefzDreconoiseHE41DF->SetMinimum(-0.015); + DefzDreconoiseHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DreconoiseGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (DefzDreconoiseHE41D) delete DefzDreconoiseHE41D; + if (DefzDreconoiseHE41D0) delete DefzDreconoiseHE41D0; + if (DefzDreconoiseHE41DF) delete DefzDreconoiseHE41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD1=1; + TH1F* h2CeffHEpositivedirectionReconoiseD1 = new TH1F("h2CeffHEpositivedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD1 == 1) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 2) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 3) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 4) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 5) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 6) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 7) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 8) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 9) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 ==10) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 ==11) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 ==12) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseD1->Draw("Error"); + kcountHEpositivedirectionReconoiseD1++; + if(kcountHEpositivedirectionReconoiseD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD1) delete h2CeffHEpositivedirectionReconoiseD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD2=1; + TH1F* h2CeffHEpositivedirectionReconoiseD2 = new TH1F("h2CeffHEpositivedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD2 == 1) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 2) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 3) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 4) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 5) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 6) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 7) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 8) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 9) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==10) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==11) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==12) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==13) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseD2->Draw("Error"); + kcountHEpositivedirectionReconoiseD2++; + if(kcountHEpositivedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD2) delete h2CeffHEpositivedirectionReconoiseD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD3=1; + TH1F* h2CeffHEpositivedirectionReconoiseD3 = new TH1F("h2CeffHEpositivedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD3 == 1) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 2) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 3) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 4) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 5) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 6) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 7) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 8) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 9) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==10) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==11) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==12) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==13) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseD3->Draw("Error"); + kcountHEpositivedirectionReconoiseD3++; + if(kcountHEpositivedirectionReconoiseD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD3) delete h2CeffHEpositivedirectionReconoiseD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD4=1; + TH1F* h2CeffHEpositivedirectionReconoiseD4 = new TH1F("h2CeffHEpositivedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD4 == 1) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 2) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 3) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 4) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 5) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 6) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 7) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 8) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 9) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 ==10) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 ==11) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 ==12) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseD4->Draw("Error"); + kcountHEpositivedirectionReconoiseD4++; + if(kcountHEpositivedirectionReconoiseD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD4) delete h2CeffHEpositivedirectionReconoiseD4; + //========================================================================================== 18 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD5=1; + TH1F* h2CeffHEpositivedirectionReconoiseD5 = new TH1F("h2CeffHEpositivedirectionReconoiseD5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEpositivedirectionReconoiseD5 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD5 == 1) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 2) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 3) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 4) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 5) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 6) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 7) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 8) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 9) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 ==10) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 ==11) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseD5->Draw("Error"); + kcountHEpositivedirectionReconoiseD5++; + if(kcountHEpositivedirectionReconoiseD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD5) delete h2CeffHEpositivedirectionReconoiseD5; + //========================================================================================== 19 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD6=1; + TH1F* h2CeffHEpositivedirectionReconoiseD6 = new TH1F("h2CeffHEpositivedirectionReconoiseD6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEpositivedirectionReconoiseD6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD6 == 1) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 2) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 3) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 4) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 5) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 6) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 7) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 8) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 9) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 ==10) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseD6->Draw("Error"); + kcountHEpositivedirectionReconoiseD6++; + if(kcountHEpositivedirectionReconoiseD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD6) delete h2CeffHEpositivedirectionReconoiseD6; + //========================================================================================== 20 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD7=1; + TH1F* h2CeffHEpositivedirectionReconoiseD7 = new TH1F("h2CeffHEpositivedirectionReconoiseD7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEpositivedirectionReconoiseD7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD7 == 1) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseD7 == 2) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseD7 == 3) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseD7->Draw("Error"); + kcountHEpositivedirectionReconoiseD7++; + if(kcountHEpositivedirectionReconoiseD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD7) delete h2CeffHEpositivedirectionReconoiseD7; + + + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD1=1; + TH1F* h2CeffHEnegativedirectionReconoiseD1 = new TH1F("h2CeffHEnegativedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD1 == 1) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 2) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 3) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 4) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 5) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 6) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 7) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 8) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 9) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 ==10) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 ==11) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 ==12) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseD1->Draw("Error"); + kcountHEnegativedirectionReconoiseD1++; + if(kcountHEnegativedirectionReconoiseD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD1) delete h2CeffHEnegativedirectionReconoiseD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD2=1; + TH1F* h2CeffHEnegativedirectionReconoiseD2 = new TH1F("h2CeffHEnegativedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD2 == 1) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 2) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 3) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 4) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 5) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 6) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 7) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 8) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 9) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==10) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==11) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==12) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==13) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseD2->Draw("Error"); + kcountHEnegativedirectionReconoiseD2++; + if(kcountHEnegativedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD2) delete h2CeffHEnegativedirectionReconoiseD2; + //========================================================================================== 22222216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD3=1; + TH1F* h2CeffHEnegativedirectionReconoiseD3 = new TH1F("h2CeffHEnegativedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD3 == 1) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 2) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 3) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 4) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 5) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 6) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 7) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 8) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 9) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==10) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==11) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==12) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==13) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseD3->Draw("Error"); + kcountHEnegativedirectionReconoiseD3++; + if(kcountHEnegativedirectionReconoiseD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD3) delete h2CeffHEnegativedirectionReconoiseD3; + //========================================================================================== 22222217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD4=1; + TH1F* h2CeffHEnegativedirectionReconoiseD4 = new TH1F("h2CeffHEnegativedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD4 == 1) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 2) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 3) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 4) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 5) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 6) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 7) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 8) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 9) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 ==10) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 ==11) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 ==12) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseD4->Draw("Error"); + kcountHEnegativedirectionReconoiseD4++; + if(kcountHEnegativedirectionReconoiseD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD4) delete h2CeffHEnegativedirectionReconoiseD4; + //========================================================================================== 22222218 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD5=1; + TH1F* h2CeffHEnegativedirectionReconoiseD5 = new TH1F("h2CeffHEnegativedirectionReconoiseD5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEnegativedirectionReconoiseD5 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD5 == 1) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 2) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 3) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 4) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 5) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 6) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 7) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 8) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 9) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 ==10) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 ==11) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseD5->Draw("Error"); + kcountHEnegativedirectionReconoiseD5++; + if(kcountHEnegativedirectionReconoiseD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD5) delete h2CeffHEnegativedirectionReconoiseD5; + //========================================================================================== 22222219 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD6=1; + TH1F* h2CeffHEnegativedirectionReconoiseD6 = new TH1F("h2CeffHEnegativedirectionReconoiseD6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEnegativedirectionReconoiseD6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD6 == 1) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 2) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 3) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 4) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 5) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 6) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 7) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 8) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 9) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 ==10) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseD6->Draw("Error"); + kcountHEnegativedirectionReconoiseD6++; + if(kcountHEnegativedirectionReconoiseD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD6) delete h2CeffHEnegativedirectionReconoiseD6; + //========================================================================================== 22222220 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD7=1; + TH1F* h2CeffHEnegativedirectionReconoiseD7 = new TH1F("h2CeffHEnegativedirectionReconoiseD7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEnegativedirectionReconoiseD7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD7 == 1) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseD7 == 2) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseD7 == 3) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseD7->Draw("Error"); + kcountHEnegativedirectionReconoiseD7++; + if(kcountHEnegativedirectionReconoiseD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD7) delete h2CeffHEnegativedirectionReconoiseD7; + //===================================================================== END of Reconoise HE for phi-symmetry + //===================================================================== END of Reconoise HE for phi-symmetry + //===================================================================== END of Reconoise HE for phi-symmetry + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double areconoiseHF[ndepth][njeta][njphi]; + double breconoiseHF[ndepth][njeta][njphi]; + double reconoisevarianceHF[ndepth][njeta][njphi]; + + + TH2F *recNoiseEnergy1HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF1"); + TH2F *recNoiseEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + TH2F* recNoiseEnergyHF1 = (TH2F*)recNoiseEnergy1HF1->Clone("recNoiseEnergyHF1"); + recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1,recNoiseEnergy0HF1, 1, 1, "B"); + TH2F *recNoiseEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF2"); + TH2F *recNoiseEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + TH2F* recNoiseEnergyHF2 = (TH2F*)recNoiseEnergy1HF2->Clone("recNoiseEnergyHF2"); + recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2,recNoiseEnergy0HF2, 1, 1, "B"); + //====================================================================== PHI normalization & put R into massive areconoiseHF + for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + //preparation for PHI normalization: + double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + areconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); + breconoiseHF[0][jeta][jphi] = recNoiseEnergyHF1->GetBinContent(jeta+1,jphi+1); + breconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); + sumreconoiseHF0 += areconoiseHF[0][jeta][jphi];++nsumreconoiseHF0; + sumreconoiseHF1 += areconoiseHF[1][jeta][jphi];++nsumreconoiseHF1; + }// phi + + // PHI normalization for DIF: + for(int jphi=0;jphiClear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRreconoiseHF42D = new TH2F("GefzRreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHF42D0 = new TH2F("GefzRreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHF42DF = (TH2F*)GefzRreconoiseHF42D0->Clone("GefzRreconoiseHF42DF"); + for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHF42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzRreconoiseHF42DF->Divide(GefzRreconoiseHF42D,GefzRreconoiseHF42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHF42DF->SetYTitle(" #phi \b"); + GefzRreconoiseHF42DF->Draw("COLZ"); + + + + c2x1->cd(2); + TH1F *energyhitNoise_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HF"); + energyhitNoise_HF ->SetMarkerStyle(20);energyhitNoise_HF ->SetMarkerSize(0.4);energyhitNoise_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HF ->SetXTitle("energyhitNoise_HF \b");energyhitNoise_HF ->SetMarkerColor(2);energyhitNoise_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HF ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RreconoiseGeneralD2PhiSymmetryHF.png"); + c2x1->Clear(); + // clean-up + if (GefzRreconoiseHF42D) delete GefzRreconoiseHF42D; + if (GefzRreconoiseHF42D0) delete GefzRreconoiseHF42D0; + if (GefzRreconoiseHF42DF) delete GefzRreconoiseHF42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRreconoiseHF41D = new TH1F("GefzRreconoiseHF41D","", nphi, 0., 72. ); + TH1F* GefzRreconoiseHF41D0 = new TH1F("GefzRreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHF41DF = (TH1F*)GefzRreconoiseHF41D0->Clone("GefzRreconoiseHF41DF"); + for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHF41D0 ->Fill(jphi,1.); } + }}}} + GefzRreconoiseHF41DF->Divide(GefzRreconoiseHF41D,GefzRreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF41DF->SetMarkerStyle(20); GefzRreconoiseHF41DF->SetMarkerSize(1.4); GefzRreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHF41DF->SetXTitle("#phi \b"); GefzRreconoiseHF41DF->SetYTitle(" \b"); GefzRreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHF41DF->SetMarkerColor(4); GefzRreconoiseHF41DF->SetLineColor(4);// GefzRreconoiseHF41DF->SetMinimum(0.8); // GefzRreconoiseHF41DF->SetMaximum(1.000); + GefzRreconoiseHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RreconoiseGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (GefzRreconoiseHF41D) delete GefzRreconoiseHF41D; + if (GefzRreconoiseHF41D0) delete GefzRreconoiseHF41D0; + if (GefzRreconoiseHF41DF) delete GefzRreconoiseHF41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoise1=1; + TH1F* h2CeffHFpositivedirectionReconoise1 = new TH1F("h2CeffHFpositivedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFpositivedirectionReconoise1 = "<SetMarkerColor(2);HFpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoise1 == 1) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 2) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 3) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 4) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 5) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 6) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 7) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 8) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 9) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==10) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==11) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==12) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==13) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoise1->Draw("Error"); + kcountHFpositivedirectionReconoise1++; + if(kcountHFpositivedirectionReconoise1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoise1) delete h2CeffHFpositivedirectionReconoise1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoise2=1; + TH1F* h2CeffHFpositivedirectionReconoise2 = new TH1F("h2CeffHFpositivedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFpositivedirectionReconoise2 = "<SetMarkerColor(2);HFpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoise2 == 1) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 2) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 3) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 4) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 5) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 6) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 7) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 8) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 9) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==10) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==11) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==12) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==13) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoise2->Draw("Error"); + kcountHFpositivedirectionReconoise2++; + if(kcountHFpositivedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoise2) delete h2CeffHFpositivedirectionReconoise2; + + //========================================================================================== 1111114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoise1=1; + TH1F* h2CeffHFnegativedirectionReconoise1 = new TH1F("h2CeffHFnegativedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFnegativedirectionReconoise1 = "<SetMarkerColor(2);HFnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoise1 == 1) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 2) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 3) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 4) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 5) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 6) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 7) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 8) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 9) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==10) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==11) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==12) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==13) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoise1->Draw("Error"); + kcountHFnegativedirectionReconoise1++; + if(kcountHFnegativedirectionReconoise1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoise1) delete h2CeffHFnegativedirectionReconoise1; + + + //========================================================================================== 1111115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoise2=1; + TH1F* h2CeffHFnegativedirectionReconoise2 = new TH1F("h2CeffHFnegativedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFnegativedirectionReconoise2 = "<SetMarkerColor(2);HFnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoise2 == 1) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 2) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 3) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 4) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 5) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 6) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 7) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 8) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 9) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==10) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==11) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==12) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==13) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoise2->Draw("Error"); + kcountHFnegativedirectionReconoise2++; + if(kcountHFnegativedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoise2) delete h2CeffHFnegativedirectionReconoise2; + + //====================================================================================================================== + // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HF + //------------------------ 2D-eta/phi-plot: DIF, averaged over depthfs + //====================================================================== + //====================================================================== +// cout<<" DIF2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzDIFreconoiseHF42D = new TH2F("GefzDIFreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHF42D0 = new TH2F("GefzDIFreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHF42DF = (TH2F*)GefzDIFreconoiseHF42D0->Clone("GefzDIFreconoiseHF42DF"); + for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzDIFreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHF42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzDIFreconoiseHF42DF->Divide(GefzDIFreconoiseHF42D,GefzDIFreconoiseHF42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHF42DF->SetYTitle(" #phi \b"); + GefzDIFreconoiseHF42DF->Draw("COLZ"); + + + + c2x1->cd(2); + // TH1F *energyhitNoiseCut_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoiseCut_HF"); + // energyhitNoiseCut_HF ->SetMarkerStyle(20);energyhitNoiseCut_HF ->SetMarkerSize(0.4);energyhitNoiseCut_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoiseCut_HF ->SetXTitle("energyhitNoiseCut_HF \b");energyhitNoiseCut_HF ->SetMarkerColor(2);energyhitNoiseCut_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoiseCut_HF ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHF.png"); + c2x1->Clear(); + // clean-up + if (GefzDIFreconoiseHF42D) delete GefzDIFreconoiseHF42D; + if (GefzDIFreconoiseHF42D0) delete GefzDIFreconoiseHF42D0; + if (GefzDIFreconoiseHF42DF) delete GefzDIFreconoiseHF42DF; + //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzDIFreconoiseHF41D = new TH1F("GefzDIFreconoiseHF41D","", nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHF41D0 = new TH1F("GefzDIFreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHF41DF = (TH1F*)GefzDIFreconoiseHF41D0->Clone("GefzDIFreconoiseHF41DF"); + for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHF41D0 ->Fill(jphi,1.); } + }}}} + GefzDIFreconoiseHF41DF->Divide(GefzDIFreconoiseHF41D,GefzDIFreconoiseHF41D0, 1, 1, "B");// DIF averaged over depthfs & eta + GefzDIFreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF41DF->SetMarkerStyle(20); GefzDIFreconoiseHF41DF->SetMarkerSize(1.4); GefzDIFreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHF41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHF41DF->SetYTitle(" \b"); GefzDIFreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHF41DF->SetMarkerColor(4); GefzDIFreconoiseHF41DF->SetLineColor(4);// GefzDIFreconoiseHF41DF->SetMinimum(0.8); // GefzDIFreconoiseHF41DF->SetMaximum(1.000); + GefzDIFreconoiseHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (GefzDIFreconoiseHF41D) delete GefzDIFreconoiseHF41D; + if (GefzDIFreconoiseHF41D0) delete GefzDIFreconoiseHF41D0; + if (GefzDIFreconoiseHF41DF) delete GefzDIFreconoiseHF41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseDIF1=1; + TH1F* h2CeffHFpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseDIF1 == 1) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 2) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 3) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 4) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 5) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 6) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 7) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 8) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 9) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==10) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==11) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==12) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==13) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF1++; + if(kcountHFpositivedirectionReconoiseDIF1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseDIF1) delete h2CeffHFpositivedirectionReconoiseDIF1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseDIF2=1; + TH1F* h2CeffHFpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseDIF2 == 1) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 2) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 3) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 4) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 5) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 6) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 7) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 8) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 9) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==10) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==11) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==12) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==13) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF2++; + if(kcountHFpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseDIF2) delete h2CeffHFpositivedirectionReconoiseDIF2; + + //========================================================================================== 1111114 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseDIF1=1; + TH1F* h2CeffHFnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseDIF1 == 1) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 2) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 3) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 4) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 5) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 6) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 7) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 8) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 9) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==10) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==11) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==12) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==13) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF1++; + if(kcountHFnegativedirectionReconoiseDIF1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseDIF1) delete h2CeffHFnegativedirectionReconoiseDIF1; + + + //========================================================================================== 1111115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseDIF2=1; + TH1F* h2CeffHFnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseDIF2 == 1) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 2) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 3) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 4) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 5) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 6) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 7) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 8) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 9) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==10) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==11) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==12) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==13) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF2++; + if(kcountHFnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseDIF2) delete h2CeffHFnegativedirectionReconoiseDIF2; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HF1"); + TH2F *reconoiseVariance0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + TH2F* reconoiseVarianceHF1 = (TH2F*)reconoiseVariance1HF1->Clone("reconoiseVarianceHF1"); + reconoiseVarianceHF1->Divide(reconoiseVariance1HF1,reconoiseVariance0HF1, 1, 1, "B"); + TH2F *reconoiseVariance1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HF2"); + TH2F *reconoiseVariance0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + TH2F* reconoiseVarianceHF2 = (TH2F*)reconoiseVariance1HF2->Clone("reconoiseVarianceHF2"); + reconoiseVarianceHF2->Divide(reconoiseVariance1HF2,reconoiseVariance0HF2, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + //preparation for PHI normalization: + double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + reconoisevarianceHF[1][jeta][jphi] = reconoiseVarianceHF2->GetBinContent(jeta+1,jphi+1); + sumreconoiseHF0 += reconoisevarianceHF[0][jeta][jphi];++nsumreconoiseHF0; + sumreconoiseHF1 += reconoisevarianceHF[1][jeta][jphi];++nsumreconoiseHF1; + }// phi + // PHI normalization : + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDreconoiseHF42D = new TH2F("DefzDreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHF42D0 = new TH2F("DefzDreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHF42DF = (TH2F*)DefzDreconoiseHF42D0->Clone("DefzDreconoiseHF42DF"); + for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 + if(areconoiseHF[i][jeta][jphi]>0.) {DefzDreconoiseHF42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHF42D0 ->Fill(kkk,jphi,1.); } + }}}} + DefzDreconoiseHF42DF->Divide(DefzDreconoiseHF42D,DefzDreconoiseHF42D0, 1, 1, "B");// average A + // DefzDreconoiseHF1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF42DF->SetMarkerStyle(20); DefzDreconoiseHF42DF->SetMarkerSize(0.4); DefzDreconoiseHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHF42DF->SetYTitle(" #phi \b"); DefzDreconoiseHF42DF->SetZTitle("_depth \b"); DefzDreconoiseHF42DF->SetMarkerColor(2); DefzDreconoiseHF42DF->SetLineColor(0); // DefzDreconoiseHF42DF->SetMaximum(1.000); // DefzDreconoiseHF42DF->SetMinimum(1.0); + DefzDreconoiseHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHF42D) delete DefzDreconoiseHF42D; + if (DefzDreconoiseHF42D0) delete DefzDreconoiseHF42D0; + if (DefzDreconoiseHF42DF) delete DefzDreconoiseHF42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDreconoiseHF41D = new TH1F("DefzDreconoiseHF41D","", nphi, 0., 72. ); + TH1F* DefzDreconoiseHF41D0 = new TH1F("DefzDreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* DefzDreconoiseHF41DF = (TH1F*)DefzDreconoiseHF41D0->Clone("DefzDreconoiseHF41DF"); + + for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int i=0;i0.) {DefzDreconoiseHF41D ->Fill(jphi,ccc1); DefzDreconoiseHF41D0 ->Fill(jphi,1.); } + }}}} + // DefzDreconoiseHF41D->Sumw2();DefzDreconoiseHF41D0->Sumw2(); + + DefzDreconoiseHF41DF->Divide(DefzDreconoiseHF41D,DefzDreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF41DF->SetMarkerStyle(20); DefzDreconoiseHF41DF->SetMarkerSize(1.4); DefzDreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF41DF->SetXTitle("#phi \b"); DefzDreconoiseHF41DF->SetYTitle(" \b"); DefzDreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHF41DF->SetMarkerColor(4); DefzDreconoiseHF41DF->SetLineColor(4);// DefzDreconoiseHF41DF->SetMinimum(0.8); DefzDreconoiseHF41DF->SetMinimum(-0.015); + DefzDreconoiseHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DreconoiseGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (DefzDreconoiseHF41D) delete DefzDreconoiseHF41D; + if (DefzDreconoiseHF41D0) delete DefzDreconoiseHF41D0; + if (DefzDreconoiseHF41DF) delete DefzDreconoiseHF41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseD1=1; + TH1F* h2CeffHFpositivedirectionReconoiseD1 = new TH1F("h2CeffHFpositivedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseD1 == 1) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 2) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 3) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 4) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 5) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 6) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 7) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 8) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 9) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==10) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==11) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==12) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==13) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseD1->Draw("Error"); + kcountHFpositivedirectionReconoiseD1++; + if(kcountHFpositivedirectionReconoiseD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseD1) delete h2CeffHFpositivedirectionReconoiseD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseD2=1; + TH1F* h2CeffHFpositivedirectionReconoiseD2 = new TH1F("h2CeffHFpositivedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseD2 == 1) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 2) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 3) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 4) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 5) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 6) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 7) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 8) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 9) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==10) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==11) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==12) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==13) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseD2->Draw("Error"); + kcountHFpositivedirectionReconoiseD2++; + if(kcountHFpositivedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseD2) delete h2CeffHFpositivedirectionReconoiseD2; + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseD1=1; + TH1F* h2CeffHFnegativedirectionReconoiseD1 = new TH1F("h2CeffHFnegativedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseD1 == 1) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 2) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 3) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 4) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 5) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 6) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 7) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 8) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 9) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==10) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==11) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==12) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==13) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseD1->Draw("Error"); + kcountHFnegativedirectionReconoiseD1++; + if(kcountHFnegativedirectionReconoiseD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseD1) delete h2CeffHFnegativedirectionReconoiseD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseD2=1; + TH1F* h2CeffHFnegativedirectionReconoiseD2 = new TH1F("h2CeffHFnegativedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseD2 == 1) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 2) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 3) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 4) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 5) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 6) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 7) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 8) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 9) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==10) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==11) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==12) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==13) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionReconoiseD2->Draw("Error"); + kcountHFnegativedirectionReconoiseD2++; + if(kcountHFnegativedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseD2) delete h2CeffHFnegativedirectionReconoiseD2; + + //===================================================================== END of Reconoise HF for phi-symmetry + //===================================================================== END of Reconoise HF for phi-symmetry + //===================================================================== END of Reconoise HF for phi-symmetry + //============================================================================================================ END of Reconoise for phi-symmetry + //============================================================================================================ END of Reconoise for phi-symmetry + //============================================================================================================ END of Reconoise for phi-symmetry + + //==================================================================================================================================================== END for phi-symmetry + //==================================================================================================================================================== END for phi-symmetry + //==================================================================================================================================================== END for phi-symmetry + //==================================================================================================================================================== + + + + +//====================================================================== +// Creating each test kind for each subdet html pages: + std::string raw_class, raw_class1, raw_class2, raw_class3; + int ind = 0; + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + ofstream htmlFileR,htmlFileN ; + if (sub==1) {htmlFileR.open("HB_PhiSymmetryRecoSignal.html");htmlFileN.open("HB_PhiSymmetryRecoNoise.html");} + if (sub==2) {htmlFileR.open("HE_PhiSymmetryRecoSignal.html");htmlFileN.open("HE_PhiSymmetryRecoNoise.html");} + + if (sub==4) {htmlFileR.open("HF_PhiSymmetryRecoSignal.html");htmlFileN.open("HF_PhiSymmetryRecoNoise.html");} + + + +////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: +////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: +////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + + htmlFileR << ""<< std::endl; + htmlFileR << ""<< std::endl; + htmlFileR << ""<< std::endl; + htmlFileR << " Remote Monitoring Tool "<< std::endl; + htmlFileR << ""<< std::endl; + htmlFileR << ""<< std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub==1) htmlFileR << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileR << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileR << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileR << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; +// htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileR << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileR << "

1C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

1D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

1E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

1F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

1G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

1H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

1I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

2: D(recosignalvarianceSignalhe)

"<< std::endl; + htmlFileR << "

2A: eta/phi-plot: D(recosignalvarianceSignalhe), averaged over depthes

"<< std::endl; +// htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

2B: D(recosignalvarianceSignalhe) vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileR << "

Positive direction, D(recosignalvarianceSignalhe)

"<< std::endl; + htmlFileR << "

2C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

2.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

2E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

2F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

2G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

2H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

2I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileR << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

3C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

3D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

3E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

3F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

3G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

3H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

3I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

4: Negative direction, D(recosignalvarianceSignalhe)

"<< std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

4C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

4.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

4E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

4F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

4G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

4H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

4I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + /////////////////////////////////////////// + htmlFileR.close(); + /////////////////////////////////////////// end of Recosignal + // +////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: +////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: +////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + + htmlFileN << ""<< std::endl; + htmlFileN << ""<< std::endl; + htmlFileN << ""<< std::endl; + htmlFileN << " Remote Monitoring Tool "<< std::endl; + htmlFileN << ""<< std::endl; + htmlFileN << ""<< std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub==1) htmlFileN << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileN << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileN << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileN << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; +// htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileN << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileN << "

1C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

1D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

1E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

1F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

1G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

1H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

1I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

2: D(reconoisevarianceNoisehe)

"<< std::endl; + htmlFileN << "

2A: eta/phi-plot: D(reconoisevarianceNoisehe), averaged over depthes

"<< std::endl; +// htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

2B: D(reconoisevarianceNoisehe) vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileN << "

Positive direction, D(reconoisevarianceNoisehe)

"<< std::endl; + htmlFileN << "

2C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

2.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

2E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

2F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

2G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

2H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

2I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileN << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

3C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

3D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

3E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

3F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

3G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

3H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

3I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

4: Negative direction, D(reconoisevarianceNoisehe)

"<< std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

4C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

4.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

4E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

4F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

4G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

4H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

4I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + /////////////////////////////////////////// + + + + /////////////////////////////////////////////// DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF + + if (sub==1) htmlFileN << "

Only for Noise RecHits these lines below, HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileN << "

Only for Noise RecHits these lines below, HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileN << "

Only for Noise RecHits these lines below, HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5: DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; + htmlFileN << "

5A: eta/phi-plot: DIF, averaged over depthes

"<< std::endl; +// htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5B: DIF vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// DIF PositiveDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Positive direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

1E: DIF vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// DIF NegativeDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Negative direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

5E: DIF vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// end of Reconoise + + // + // + htmlFileN.close(); + + /////////////////////////////////////////// end of Reconoise + /////////////////////////////////////////// end of Reconoise + + + + + + // + // + }// end sub //for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + + + +//====================================================================== + + std::cout<<"********"<"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << " Remote Monitoring Tool "<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + if (sub==1) htmlFile << "

HCAL BARREL, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFile << "

HCAL ENDCAP, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==3) htmlFile << "

HCAL OUTER, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFile << "

HCAL FORWARD, RUN = "<< runnumber <<"

"<< std::endl; + htmlFile << "
"<< std::endl; + if (sub==1) htmlFile << "

1. Analysis results for HB

"<< std::endl; + if (sub==2) htmlFile << "

1. Analysis results for HE

"<< std::endl; + if (sub==3) htmlFile << "

1. Analysis results for HO

"<< std::endl; + if (sub==4) htmlFile << "

1. Analysis results for HF

"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + + + if (sub==1) { + + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; +*/ + + + + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + + } + if (sub==2) { + + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + */ + + + + + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + + } + + + + if (sub==4) { + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + */ + + + + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + + } + + htmlFile << ""<< std::endl; + htmlFile << "
Phi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-SymmetryRecoSignalPhi-SymmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoise
"<< std::endl; + htmlFile << "
"<< std::endl; + + + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + } + +//====================================================================== + + + std::cout<<"********"<"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << " Remote Monitoring Tool "<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << "

Description of Remote Monitoring Tool criteria for bad channel selection

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- C means CAPID Errors assuming we inspect CAPID non-rotation,error & validation bits, and for this criterion - no need to apply any cuts to select bcs.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- A means full amplitude, collected over all time slices

"<< std::endl; + htmlFile << "

- R means ratio criterion where we define as a bad, the channels, for which the signal portion in 4 middle TSs(plus one, minus two around TS with maximal amplitude) is out of some range of reasonable values

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- W means width of shape distribution. Width is defined as square root from dispersion.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- TN means mean time position of adc signal.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- TX means TS number of maximum signal

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- m means megatile channels. For example Am means Amplitude criteria for megatile channels

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- c means calibration channels. For example Ac means Amplitude criteria for calibration channels

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- Pm means Pedestals.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- pWm means pedestal Width.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + +//====================================================================== + + std::cout<<"********"<"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << " Remote Monitoring Tool "<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + + htmlFile << "

Remote Monitoring Tool, RUN = "<< runnumber <<".

"<< std::endl; + htmlFile << "
"<< std::endl; + + htmlFile << "

1. Analysis results for subdetectors

"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; +*/ + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + htmlFile << ""<< std::endl; + htmlFile << "
HBHEHOHFHBHEHOHF
"<< std::endl; + htmlFile << "
"<< std::endl; + + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); +//====================================================================== + +//====================================================================== +// Close and delete all possible things: + hfile->Close(); +// hfile->Delete(); +// Exit Root + gSystem->Exit(0); +//====================================================================== + +} + + diff --git a/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSM.cc b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSM.cc new file mode 100644 index 0000000000000..b34fa3c4477ec --- /dev/null +++ b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSM.cc @@ -0,0 +1,10342 @@ +// How to run: ./RemoteMonitoringALCARECOPSM.cc.exe root_file1 root_file_ref Global +// +// +// +// + + +#include "LogEleMapdb.h" + +#include +#include + +#include "TH1.h" +#include "TH2.h" +#include "TCanvas.h" +#include "TROOT.h" +#include +#include "TStyle.h" +#include "TSystem.h" +#include "TLegend.h" +#include "TText.h" +#include "TAxis.h" +#include "TFile.h" +#include "TLine.h" +#include "TGraph.h" + +using namespace std; +int +main(int argc, char *argv[]){ + std::string dirnm = "Analyzer"; + gROOT->Reset(); + gROOT->SetStyle("Plain"); + gStyle->SetOptStat(0); + gStyle->SetOptTitle(1); + // ok change + if(argc<3) return 1; + char fname[300]; + char refname[300]; + char runtypeC[300]; + sprintf(fname,"%s",argv[1]); + sprintf(refname,"%s",argv[2]); + sprintf(runtypeC,"%s",argv[3]); + // std::cout<ls(); + TDirectory *dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str()); + + // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny + + //====================================================================== + // Prepare histograms and plot them to .png files + + // Phi-symmetry for Calibration Group: + + TCanvas *c1x0 = new TCanvas("c1x0","c1x0",300,10,800,700); + + TCanvas *c1x1 = new TCanvas("c1x1","c1x1",100,10,600,700); + + TCanvas *c2x1 = new TCanvas("c2x1","c2x1",200,300,1600,800); + + TCanvas *c3x5 = new TCanvas("c3x5","c3x5",1000,1500); + // + + + char *str = (char*)alloca(10000); + + // before upgrade 2017: + // depth: HB depth1,2; HE depth1,2,3; HO depth4; HF depth1,2 + // 5 depthes: 0(empty), 1,2,3,4 + + // upgrade 2017: + // depth: HB depth1,2; HE depth1,2,3,4,5,6,7; HO depth4; HF depth1,2,3,4 + // 8 depthes: 0(empty), 1,2,3,4,5,6,7 + + // upgrade 2021: + // depth: HB depth1,2,3,4; HE depth1,2,3,4,5,6,7; HO depth4; HF depth1,2,3,4 + // 10 depthes: 0(empty), 1,2,3,4,5,6,7,8,9 + + // Int_t ALLDEPTH = 5; + // Int_t ALLDEPTH = 8; + Int_t ALLDEPTH = 10; + + int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + /////////////////////////////////////////////////////////////////////////////////////////////////////////////// + + const int nsub = 4; const int neta = 82; const int nphi = 72; + int njeta = neta; int njphi = nphi; + //const int ndepth = 7; + int ndepth; + ///////////// ///////////// ////////////////////////// ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: + ///////////// ///////////// ////////////////////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: + ///////////// ///////////// ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: + + + + + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double arecosignalHB[ndepth][njeta][njphi]; + double recosignalvarianceHB[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HB recSignalEnergy + TH2F *recSignalEnergy1HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB1"); + TH2F *recSignalEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + TH2F* recSignalEnergyHB1 = (TH2F*)recSignalEnergy1HB1->Clone("recSignalEnergyHB1"); + recSignalEnergyHB1->Divide(recSignalEnergy1HB1,recSignalEnergy0HB1, 1, 1, "B"); + TH2F *recSignalEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB2"); + TH2F *recSignalEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + TH2F* recSignalEnergyHB2 = (TH2F*)recSignalEnergy1HB2->Clone("recSignalEnergyHB2"); + recSignalEnergyHB2->Divide(recSignalEnergy1HB2,recSignalEnergy0HB2, 1, 1, "B"); + TH2F *recSignalEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB3"); + TH2F *recSignalEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + TH2F* recSignalEnergyHB3 = (TH2F*)recSignalEnergy1HB3->Clone("recSignalEnergyHB3"); + recSignalEnergyHB3->Divide(recSignalEnergy1HB3,recSignalEnergy0HB3, 1, 1, "B"); + TH2F *recSignalEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB4"); + TH2F *recSignalEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + TH2F* recSignalEnergyHB4 = (TH2F*)recSignalEnergy1HB4->Clone("recSignalEnergyHB4"); + recSignalEnergyHB4->Divide(recSignalEnergy1HB4,recSignalEnergy0HB4, 1, 1, "B"); + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + arecosignalHB[1][jeta][jphi] = recSignalEnergyHB2->GetBinContent(jeta+1,jphi+1); + arecosignalHB[2][jeta][jphi] = recSignalEnergyHB3->GetBinContent(jeta+1,jphi+1); + arecosignalHB[3][jeta][jphi] = recSignalEnergyHB4->GetBinContent(jeta+1,jphi+1); + if(arecosignalHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += arecosignalHB[0][jeta][jphi];++nsumrecosignalHB0;} + if(arecosignalHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += arecosignalHB[1][jeta][jphi];++nsumrecosignalHB1;} + if(arecosignalHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += arecosignalHB[2][jeta][jphi];++nsumrecosignalHB2;} + if(arecosignalHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += arecosignalHB[3][jeta][jphi];++nsumrecosignalHB3;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) arecosignalHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; + if(arecosignalHB[1][jeta][jphi] > 0.) arecosignalHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; + if(arecosignalHB[2][jeta][jphi] > 0.) arecosignalHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; + if(arecosignalHB[3][jeta][jphi] > 0.) arecosignalHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthfs + //====================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRrecosignalHB42D = new TH2F("GefzRrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHB42D0 = new TH2F("GefzRrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHB42DF = (TH2F*)GefzRrecosignalHB42D0->Clone("GefzRrecosignalHB42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRrecosignalHB42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHB42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRrecosignalHB42DF->Divide(GefzRrecosignalHB42D,GefzRrecosignalHB42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHB42DF->SetYTitle(" #phi \b"); + GefzRrecosignalHB42DF->Draw("COLZ"); + + c2x1->cd(2); + TH1F *energyhitSignal_HB= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HB"); + energyhitSignal_HB ->SetMarkerStyle(20);energyhitSignal_HB ->SetMarkerSize(0.4);energyhitSignal_HB ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HB ->SetXTitle("energyhitSignal_HB \b");energyhitSignal_HB ->SetMarkerColor(2);energyhitSignal_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HB ->Draw("Error"); + + ///////////////// + c2x1->Update(); + c2x1->Print("RrecosignalGeneralD2PhiSymmetryHB.png"); + c2x1->Clear(); + // clean-up + if (GefzRrecosignalHB42D) delete GefzRrecosignalHB42D; + if (GefzRrecosignalHB42D0) delete GefzRrecosignalHB42D0; + if (GefzRrecosignalHB42DF) delete GefzRrecosignalHB42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRrecosignalHB41D = new TH1F("GefzRrecosignalHB41D","", nphi, 0., 72. ); + TH1F* GefzRrecosignalHB41D0 = new TH1F("GefzRrecosignalHB41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHB41DF = (TH1F*)GefzRrecosignalHB41D0->Clone("GefzRrecosignalHB41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHB41D0 ->Fill(jphi,1.); } + }}} + GefzRrecosignalHB41DF->Divide(GefzRrecosignalHB41D,GefzRrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRrecosignalHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB41DF->SetMarkerStyle(20); GefzRrecosignalHB41DF->SetMarkerSize(1.4); GefzRrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHB41DF->SetXTitle("#phi \b"); GefzRrecosignalHB41DF->SetYTitle(" \b"); GefzRrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHB41DF->SetMarkerColor(4); GefzRrecosignalHB41DF->SetLineColor(4);// GefzRrecosignalHB41DF->SetMinimum(0.8); // GefzRrecosignalHB41DF->SetMaximum(1.000); + GefzRrecosignalHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RrecosignalGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (GefzRrecosignalHB41D) delete GefzRrecosignalHB41D; + if (GefzRrecosignalHB41D0) delete GefzRrecosignalHB41D0; + if (GefzRrecosignalHB41DF) delete GefzRrecosignalHB41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal1=1; + TH1F* h2CeffHBpositivedirectionRecosignal1 = new TH1F("h2CeffHBpositivedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBpositivedirectionRecosignal1 = "<SetMarkerColor(2);HBpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal1 == 1) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 2) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 3) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 4) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 5) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 6) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 7) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 8) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 9) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==10) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==11) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==12) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==13) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==14) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==15) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==16) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignal1->Draw("Error"); + kcountHBpositivedirectionRecosignal1++; + if(kcountHBpositivedirectionRecosignal1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal1) delete h2CeffHBpositivedirectionRecosignal1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal2=1; + TH1F* h2CeffHBpositivedirectionRecosignal2 = new TH1F("h2CeffHBpositivedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBpositivedirectionRecosignal2 = "<SetMarkerColor(2);HBpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal2 == 1) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 2) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 3) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 4) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 5) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 6) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 7) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 8) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 9) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==10) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==11) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==12) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==13) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==14) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==15) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==16) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignal2->Draw("Error"); + kcountHBpositivedirectionRecosignal2++; + if(kcountHBpositivedirectionRecosignal2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal2) delete h2CeffHBpositivedirectionRecosignal2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal3=1; + TH1F* h2CeffHBpositivedirectionRecosignal3 = new TH1F("h2CeffHBpositivedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBpositivedirectionRecosignal3 = "<SetMarkerColor(2);HBpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal3 == 1) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 2) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 3) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 4) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 5) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 6) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 7) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 8) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 9) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==10) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==11) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==12) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==13) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==14) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==15) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==16) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignal3->Draw("Error"); + kcountHBpositivedirectionRecosignal3++; + if(kcountHBpositivedirectionRecosignal3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal3) delete h2CeffHBpositivedirectionRecosignal3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal4=1; + TH1F* h2CeffHBpositivedirectionRecosignal4 = new TH1F("h2CeffHBpositivedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBpositivedirectionRecosignal4 = "<SetMarkerColor(2);HBpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal4 == 1) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 2) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 3) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 4) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 5) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 6) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 7) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 8) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 9) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==10) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==11) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==12) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==13) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==14) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==15) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==16) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignal4->Draw("Error"); + kcountHBpositivedirectionRecosignal4++; + if(kcountHBpositivedirectionRecosignal4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal4) delete h2CeffHBpositivedirectionRecosignal4; + + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal1=1; + TH1F* h2CeffHBnegativedirectionRecosignal1 = new TH1F("h2CeffHBnegativedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBnegativedirectionRecosignal1 = "<SetMarkerColor(2);HBnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal1 == 1) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 2) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 3) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 4) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 5) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 6) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 7) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 8) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 9) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==10) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==11) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==12) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==13) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==14) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==15) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==16) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignal1->Draw("Error"); + kcountHBnegativedirectionRecosignal1++; + if(kcountHBnegativedirectionRecosignal1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal1) delete h2CeffHBnegativedirectionRecosignal1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal2=1; + TH1F* h2CeffHBnegativedirectionRecosignal2 = new TH1F("h2CeffHBnegativedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBnegativedirectionRecosignal2 = "<SetMarkerColor(2);HBnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal2 == 1) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 2) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 3) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 4) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 5) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 6) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 7) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 8) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 9) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==10) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==11) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==12) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==13) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==14) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==15) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==16) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionRecosignal2->Draw("Error"); + kcountHBnegativedirectionRecosignal2++; + if(kcountHBnegativedirectionRecosignal2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal2) delete h2CeffHBnegativedirectionRecosignal2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal3=1; + TH1F* h2CeffHBnegativedirectionRecosignal3 = new TH1F("h2CeffHBnegativedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBnegativedirectionRecosignal3 = "<SetMarkerColor(2);HBnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal3 == 1) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 2) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 3) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 4) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 5) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 6) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 7) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 8) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 9) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==10) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==11) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==12) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==13) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==14) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==15) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==16) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionRecosignal3->Draw("Error"); + kcountHBnegativedirectionRecosignal3++; + if(kcountHBnegativedirectionRecosignal3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal3) delete h2CeffHBnegativedirectionRecosignal3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal4=1; + TH1F* h2CeffHBnegativedirectionRecosignal4 = new TH1F("h2CeffHBnegativedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBnegativedirectionRecosignal4 = "<SetMarkerColor(2);HBnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal4 == 1) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 2) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 3) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 4) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 5) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 6) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 7) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 8) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 9) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==10) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==11) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==12) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==13) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==14) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==15) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==16) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionRecosignal4->Draw("Error"); + kcountHBnegativedirectionRecosignal4++; + if(kcountHBnegativedirectionRecosignal4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal4) delete h2CeffHBnegativedirectionRecosignal4; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HB1"); + TH2F *recosignalVariance0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + TH2F* recosignalVarianceHB1 = (TH2F*)recosignalVariance1HB1->Clone("recosignalVarianceHB1"); + recosignalVarianceHB1->Divide(recosignalVariance1HB1,recosignalVariance0HB1, 1, 1, "B"); + TH2F *recosignalVariance1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB2"); + TH2F *recosignalVariance0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + TH2F* recosignalVarianceHB2 = (TH2F*)recosignalVariance1HB2->Clone("recosignalVarianceHB2"); + recosignalVarianceHB2->Divide(recosignalVariance1HB2,recosignalVariance0HB2, 1, 1, "B"); + TH2F *recosignalVariance1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB3"); + TH2F *recosignalVariance0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + TH2F* recosignalVarianceHB3 = (TH2F*)recosignalVariance1HB3->Clone("recosignalVarianceHB3"); + recosignalVarianceHB3->Divide(recosignalVariance1HB3,recosignalVariance0HB3, 1, 1, "B"); + TH2F *recosignalVariance1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB4"); + TH2F *recosignalVariance0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + TH2F* recosignalVarianceHB4 = (TH2F*)recosignalVariance1HB4->Clone("recosignalVarianceHB4"); + recosignalVarianceHB4->Divide(recosignalVariance1HB4,recosignalVariance0HB4, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + recosignalvarianceHB[1][jeta][jphi] = recosignalVarianceHB2->GetBinContent(jeta+1,jphi+1); + recosignalvarianceHB[2][jeta][jphi] = recosignalVarianceHB3->GetBinContent(jeta+1,jphi+1); + recosignalvarianceHB[3][jeta][jphi] = recosignalVarianceHB4->GetBinContent(jeta+1,jphi+1); + if(recosignalvarianceHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += recosignalvarianceHB[0][jeta][jphi];++nsumrecosignalHB0;} + if(recosignalvarianceHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += recosignalvarianceHB[1][jeta][jphi];++nsumrecosignalHB1;} + if(recosignalvarianceHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += recosignalvarianceHB[2][jeta][jphi];++nsumrecosignalHB2;} + if(recosignalvarianceHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += recosignalvarianceHB[3][jeta][jphi];++nsumrecosignalHB3;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) recosignalvarianceHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; + if(recosignalvarianceHB[1][jeta][jphi] > 0.) recosignalvarianceHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; + if(recosignalvarianceHB[2][jeta][jphi] > 0.) recosignalvarianceHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; + if(recosignalvarianceHB[3][jeta][jphi] > 0.) recosignalvarianceHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; + }// phi + // recosignalvarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDrecosignalHB42D = new TH2F("DefzDrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHB42D0 = new TH2F("DefzDrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHB42DF = (TH2F*)DefzDrecosignalHB42D0->Clone("DefzDrecosignalHB42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(arecosignalHB[i][jeta][jphi]>0.) {DefzDrecosignalHB42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHB42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDrecosignalHB42DF->Divide(DefzDrecosignalHB42D,DefzDrecosignalHB42D0, 1, 1, "B");// average A + // DefzDrecosignalHB1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB42DF->SetMarkerStyle(20); DefzDrecosignalHB42DF->SetMarkerSize(0.4); DefzDrecosignalHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHB42DF->SetYTitle(" #phi \b"); DefzDrecosignalHB42DF->SetZTitle("_depth \b"); DefzDrecosignalHB42DF->SetMarkerColor(2); DefzDrecosignalHB42DF->SetLineColor(0); // DefzDrecosignalHB42DF->SetMaximum(1.000); // DefzDrecosignalHB42DF->SetMinimum(1.0); + DefzDrecosignalHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHB42D) delete DefzDrecosignalHB42D; + if (DefzDrecosignalHB42D0) delete DefzDrecosignalHB42D0; + if (DefzDrecosignalHB42DF) delete DefzDrecosignalHB42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDrecosignalHB41D = new TH1F("DefzDrecosignalHB41D","", nphi, 0., 72. ); + TH1F* DefzDrecosignalHB41D0 = new TH1F("DefzDrecosignalHB41D0","",nphi, 0., 72. ); + TH1F* DefzDrecosignalHB41DF = (TH1F*)DefzDrecosignalHB41D0->Clone("DefzDrecosignalHB41DF"); + + for (int jphi=0;jphi0.) {DefzDrecosignalHB41D ->Fill(jphi,ccc1); DefzDrecosignalHB41D0 ->Fill(jphi,1.); } + }}} + // DefzDrecosignalHB41D->Sumw2();DefzDrecosignalHB41D0->Sumw2(); + + DefzDrecosignalHB41DF->Divide(DefzDrecosignalHB41D,DefzDrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDrecosignalHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB41DF->SetMarkerStyle(20); DefzDrecosignalHB41DF->SetMarkerSize(1.4); DefzDrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB41DF->SetXTitle("#phi \b"); DefzDrecosignalHB41DF->SetYTitle(" \b"); DefzDrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHB41DF->SetMarkerColor(4); DefzDrecosignalHB41DF->SetLineColor(4);// DefzDrecosignalHB41DF->SetMinimum(0.8); DefzDrecosignalHB41DF->SetMinimum(-0.015); + DefzDrecosignalHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DrecosignalGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (DefzDrecosignalHB41D) delete DefzDrecosignalHB41D; + if (DefzDrecosignalHB41D0) delete DefzDrecosignalHB41D0; + if (DefzDrecosignalHB41DF) delete DefzDrecosignalHB41DF; + + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD1=1; + TH1F* h2CeffHBpositivedirectionRecosignalD1 = new TH1F("h2CeffHBpositivedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD1 == 1) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 2) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 3) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 4) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 5) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 6) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 7) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 8) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 9) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==10) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==11) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==12) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==13) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==14) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==15) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==16) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignalD1->Draw("Error"); + kcountHBpositivedirectionRecosignalD1++; + if(kcountHBpositivedirectionRecosignalD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD1) delete h2CeffHBpositivedirectionRecosignalD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD2=1; + TH1F* h2CeffHBpositivedirectionRecosignalD2 = new TH1F("h2CeffHBpositivedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD2 == 1) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 2) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 3) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 4) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 5) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 6) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 7) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 8) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 9) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==10) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==11) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==12) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==13) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==14) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==15) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==16) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignalD2->Draw("Error"); + kcountHBpositivedirectionRecosignalD2++; + if(kcountHBpositivedirectionRecosignalD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD2) delete h2CeffHBpositivedirectionRecosignalD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD3=1; + TH1F* h2CeffHBpositivedirectionRecosignalD3 = new TH1F("h2CeffHBpositivedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD3 == 1) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 2) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 3) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 4) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 5) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 6) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 7) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 8) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 9) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==10) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==11) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==12) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==13) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==14) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==15) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==16) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignalD3->Draw("Error"); + kcountHBpositivedirectionRecosignalD3++; + if(kcountHBpositivedirectionRecosignalD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD3) delete h2CeffHBpositivedirectionRecosignalD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD4=1; + TH1F* h2CeffHBpositivedirectionRecosignalD4 = new TH1F("h2CeffHBpositivedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD4 == 1) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 2) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 3) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 4) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 5) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 6) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 7) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 8) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 9) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==10) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==11) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==12) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==13) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==14) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==15) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==16) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignalD4->Draw("Error"); + kcountHBpositivedirectionRecosignalD4++; + if(kcountHBpositivedirectionRecosignalD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD4) delete h2CeffHBpositivedirectionRecosignalD4; + + + //========================================================================================== 22214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD1=1; + TH1F* h2CeffHBnegativedirectionRecosignalD1 = new TH1F("h2CeffHBnegativedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD1 == 1) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 2) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 3) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 4) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 5) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 6) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 7) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 8) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 9) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==10) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==11) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==12) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==13) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==14) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==15) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==16) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignalD1->Draw("Error"); + kcountHBnegativedirectionRecosignalD1++; + if(kcountHBnegativedirectionRecosignalD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD1) delete h2CeffHBnegativedirectionRecosignalD1; + //========================================================================================== 22215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD2=1; + TH1F* h2CeffHBnegativedirectionRecosignalD2 = new TH1F("h2CeffHBnegativedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD2 == 1) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 2) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 3) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 4) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 5) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 6) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 7) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 8) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-9 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 9) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-8 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==10) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-7 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==11) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-6 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==12) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-5 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==13) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-4 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==14) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-3 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==15) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-2 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==16) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-1 ; depth = 2 \b"); + HBnegativedirectionRecosignalD2->Draw("Error"); + kcountHBnegativedirectionRecosignalD2++; + if(kcountHBnegativedirectionRecosignalD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD2) delete h2CeffHBnegativedirectionRecosignalD2; + //========================================================================================== 22216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD3=1; + TH1F* h2CeffHBnegativedirectionRecosignalD3 = new TH1F("h2CeffHBnegativedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD3 == 1) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 2) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 3) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 4) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 5) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 6) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 7) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 8) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-9 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 9) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-8 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==10) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-7 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==11) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-6 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==12) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-5 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==13) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-4 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==14) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-3 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==15) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-2 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==16) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-1 ; depth = 3 \b"); + HBnegativedirectionRecosignalD3->Draw("Error"); + kcountHBnegativedirectionRecosignalD3++; + if(kcountHBnegativedirectionRecosignalD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD3) delete h2CeffHBnegativedirectionRecosignalD3; + //========================================================================================== 22217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD4=1; + TH1F* h2CeffHBnegativedirectionRecosignalD4 = new TH1F("h2CeffHBnegativedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD4 == 1) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 2) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 3) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 4) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 5) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 6) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 7) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 8) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-9 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 9) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-8 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==10) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-7 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==11) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-6 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==12) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-5 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==13) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-4 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==14) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-3 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==15) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-2 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==16) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-1 ; depth = 4 \b"); + HBnegativedirectionRecosignalD4->Draw("Error"); + kcountHBnegativedirectionRecosignalD4++; + if(kcountHBnegativedirectionRecosignalD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD4) delete h2CeffHBnegativedirectionRecosignalD4; + + + + + //===================================================================== END of Recosignal HB for phi-symmetry + //===================================================================== END of Recosignal HB for phi-symmetry + //===================================================================== END of Recosignal HB for phi-symmetry + + + + + + + + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double arecosignalhe[ndepth][njeta][njphi]; + double recosignalvariancehe[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HE + TH2F *recSignalEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE1"); + TH2F *recSignalEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + TH2F* recSignalEnergyHE1 = (TH2F*)recSignalEnergy1HE1->Clone("recSignalEnergyHE1"); + recSignalEnergyHE1->Divide(recSignalEnergy1HE1,recSignalEnergy0HE1, 1, 1, "B"); + TH2F *recSignalEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE2"); + TH2F *recSignalEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + TH2F* recSignalEnergyHE2 = (TH2F*)recSignalEnergy1HE2->Clone("recSignalEnergyHE2"); + recSignalEnergyHE2->Divide(recSignalEnergy1HE2,recSignalEnergy0HE2, 1, 1, "B"); + TH2F *recSignalEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE3"); + TH2F *recSignalEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + TH2F* recSignalEnergyHE3 = (TH2F*)recSignalEnergy1HE3->Clone("recSignalEnergyHE3"); + recSignalEnergyHE3->Divide(recSignalEnergy1HE3,recSignalEnergy0HE3, 1, 1, "B"); + TH2F *recSignalEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE4"); + TH2F *recSignalEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + TH2F* recSignalEnergyHE4 = (TH2F*)recSignalEnergy1HE4->Clone("recSignalEnergyHE4"); + recSignalEnergyHE4->Divide(recSignalEnergy1HE4,recSignalEnergy0HE4, 1, 1, "B"); + TH2F *recSignalEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE5"); + TH2F *recSignalEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + TH2F* recSignalEnergyHE5 = (TH2F*)recSignalEnergy1HE5->Clone("recSignalEnergyHE5"); + recSignalEnergyHE5->Divide(recSignalEnergy1HE5,recSignalEnergy0HE5, 1, 1, "B"); + TH2F *recSignalEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE6"); + TH2F *recSignalEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + TH2F* recSignalEnergyHE6 = (TH2F*)recSignalEnergy1HE6->Clone("recSignalEnergyHE6"); + recSignalEnergyHE6->Divide(recSignalEnergy1HE6,recSignalEnergy0HE6, 1, 1, "B"); + TH2F *recSignalEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE7"); + TH2F *recSignalEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + TH2F* recSignalEnergyHE7 = (TH2F*)recSignalEnergy1HE7->Clone("recSignalEnergyHE7"); + recSignalEnergyHE7->Divide(recSignalEnergy1HE7,recSignalEnergy0HE7, 1, 1, "B"); + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + arecosignalhe[1][jeta][jphi] = recSignalEnergyHE2->GetBinContent(jeta+1,jphi+1); + arecosignalhe[2][jeta][jphi] = recSignalEnergyHE3->GetBinContent(jeta+1,jphi+1); + arecosignalhe[3][jeta][jphi] = recSignalEnergyHE4->GetBinContent(jeta+1,jphi+1); + arecosignalhe[4][jeta][jphi] = recSignalEnergyHE5->GetBinContent(jeta+1,jphi+1); + arecosignalhe[5][jeta][jphi] = recSignalEnergyHE6->GetBinContent(jeta+1,jphi+1); + arecosignalhe[6][jeta][jphi] = recSignalEnergyHE7->GetBinContent(jeta+1,jphi+1); + if(arecosignalhe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += arecosignalhe[0][jeta][jphi];++nsumrecosignalHE0;} + if(arecosignalhe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += arecosignalhe[1][jeta][jphi];++nsumrecosignalHE1;} + if(arecosignalhe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += arecosignalhe[2][jeta][jphi];++nsumrecosignalHE2;} + if(arecosignalhe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += arecosignalhe[3][jeta][jphi];++nsumrecosignalHE3;} + if(arecosignalhe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += arecosignalhe[4][jeta][jphi];++nsumrecosignalHE4;} + if(arecosignalhe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += arecosignalhe[5][jeta][jphi];++nsumrecosignalHE5;} + if(arecosignalhe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += arecosignalhe[6][jeta][jphi];++nsumrecosignalHE6;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) arecosignalhe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; + if(arecosignalhe[1][jeta][jphi] > 0.) arecosignalhe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; + if(arecosignalhe[2][jeta][jphi] > 0.) arecosignalhe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; + if(arecosignalhe[3][jeta][jphi] > 0.) arecosignalhe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; + if(arecosignalhe[4][jeta][jphi] > 0.) arecosignalhe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; + if(arecosignalhe[5][jeta][jphi] > 0.) arecosignalhe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; + if(arecosignalhe[6][jeta][jphi] > 0.) arecosignalhe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthes + //====================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: R, averaged over depthes *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRrecosignalHE42D = new TH2F("GefzRrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHE42D0 = new TH2F("GefzRrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHE42DF = (TH2F*)GefzRrecosignalHE42D0->Clone("GefzRrecosignalHE42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRrecosignalHE42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHE42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRrecosignalHE42DF->Divide(GefzRrecosignalHE42D,GefzRrecosignalHE42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHE42DF->SetYTitle(" #phi \b"); + GefzRrecosignalHE42DF->Draw("COLZ"); + + c2x1->cd(2); + TH1F *energyhitSignal_HE= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HE"); + energyhitSignal_HE ->SetMarkerStyle(20);energyhitSignal_HE ->SetMarkerSize(0.4);energyhitSignal_HE ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HE ->SetXTitle("energyhitSignal_HE \b");energyhitSignal_HE ->SetMarkerColor(2);energyhitSignal_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HE ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RrecosignalGeneralD2PhiSymmetryHE.png"); + c2x1->Clear(); + // clean-up + if (GefzRrecosignalHE42D) delete GefzRrecosignalHE42D; + if (GefzRrecosignalHE42D0) delete GefzRrecosignalHE42D0; + if (GefzRrecosignalHE42DF) delete GefzRrecosignalHE42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRrecosignalHE41D = new TH1F("GefzRrecosignalHE41D","", nphi, 0., 72. ); + TH1F* GefzRrecosignalHE41D0 = new TH1F("GefzRrecosignalHE41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHE41DF = (TH1F*)GefzRrecosignalHE41D0->Clone("GefzRrecosignalHE41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHE41D0 ->Fill(jphi,1.); } + }}} + GefzRrecosignalHE41DF->Divide(GefzRrecosignalHE41D,GefzRrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta + GefzRrecosignalHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE41DF->SetMarkerStyle(20); GefzRrecosignalHE41DF->SetMarkerSize(1.4); GefzRrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHE41DF->SetXTitle("#phi \b"); GefzRrecosignalHE41DF->SetYTitle(" \b"); GefzRrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRrecosignalHE41DF->SetMarkerColor(4); GefzRrecosignalHE41DF->SetLineColor(4);// GefzRrecosignalHE41DF->SetMinimum(0.8); // GefzRrecosignalHE41DF->SetMaximum(1.000); + GefzRrecosignalHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RrecosignalGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (GefzRrecosignalHE41D) delete GefzRrecosignalHE41D; + if (GefzRrecosignalHE41D0) delete GefzRrecosignalHE41D0; + if (GefzRrecosignalHE41DF) delete GefzRrecosignalHE41DF; + + + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal1=1; + TH1F* h2CeffHEpositivedirectionRecosignal1 = new TH1F("h2CeffHEpositivedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEpositivedirectionRecosignal1 = "<SetMarkerColor(2);HEpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal1 == 1) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 2) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 3) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 4) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 5) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 6) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 7) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 8) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 9) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 ==10) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 ==11) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 ==12) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignal1->Draw("Error"); + kcountHEpositivedirectionRecosignal1++; + if(kcountHEpositivedirectionRecosignal1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal1) delete h2CeffHEpositivedirectionRecosignal1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal2=1; + TH1F* h2CeffHEpositivedirectionRecosignal2 = new TH1F("h2CeffHEpositivedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEpositivedirectionRecosignal2 = "<SetMarkerColor(2);HEpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal2 == 1) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 2) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 3) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 4) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 5) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 6) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 7) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 8) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 9) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==10) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==11) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==12) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==13) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignal2->Draw("Error"); + kcountHEpositivedirectionRecosignal2++; + if(kcountHEpositivedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal2) delete h2CeffHEpositivedirectionRecosignal2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal3=1; + TH1F* h2CeffHEpositivedirectionRecosignal3 = new TH1F("h2CeffHEpositivedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEpositivedirectionRecosignal3 = "<SetMarkerColor(2);HEpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal3 == 1) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 2) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 3) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 4) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 5) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 6) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 7) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 8) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 9) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==10) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==11) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==12) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==13) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignal3->Draw("Error"); + kcountHEpositivedirectionRecosignal3++; + if(kcountHEpositivedirectionRecosignal3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal3) delete h2CeffHEpositivedirectionRecosignal3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal4=1; + TH1F* h2CeffHEpositivedirectionRecosignal4 = new TH1F("h2CeffHEpositivedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEpositivedirectionRecosignal4 = "<SetMarkerColor(2);HEpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal4 == 1) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 2) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 3) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 4) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 5) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 6) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 7) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 8) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 9) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 ==10) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 ==11) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 ==12) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignal4->Draw("Error"); + kcountHEpositivedirectionRecosignal4++; + if(kcountHEpositivedirectionRecosignal4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal4) delete h2CeffHEpositivedirectionRecosignal4; + //========================================================================================== 8 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal5=1; + TH1F* h2CeffHEpositivedirectionRecosignal5 = new TH1F("h2CeffHEpositivedirectionRecosignal5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal5 == 1) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 2) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 3) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 4) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 5) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 6) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 7) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 8) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 9) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 ==10) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 ==11) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignal5->Draw("Error"); + kcountHEpositivedirectionRecosignal5++; + if(kcountHEpositivedirectionRecosignal5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal5) delete h2CeffHEpositivedirectionRecosignal5; + //========================================================================================== 9 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal6=1; + TH1F* h2CeffHEpositivedirectionRecosignal6 = new TH1F("h2CeffHEpositivedirectionRecosignal6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEpositivedirectionRecosignal6 = "<SetMarkerColor(2);HEpositivedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal6 == 1) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 2) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 3) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 4) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 5) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 6) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 7) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 8) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 9) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 ==10) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignal6->Draw("Error"); + kcountHEpositivedirectionRecosignal6++; + if(kcountHEpositivedirectionRecosignal6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal6) delete h2CeffHEpositivedirectionRecosignal6; + //========================================================================================== 10 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal7=1; + TH1F* h2CeffHEpositivedirectionRecosignal7 = new TH1F("h2CeffHEpositivedirectionRecosignal7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEpositivedirectionRecosignal7 = "<SetMarkerColor(2);HEpositivedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal7 == 1) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignal7 == 2) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignal7 == 3) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignal7->Draw("Error"); + kcountHEpositivedirectionRecosignal7++; + if(kcountHEpositivedirectionRecosignal7>3) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal7) delete h2CeffHEpositivedirectionRecosignal7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal1=1; + TH1F* h2CeffHEnegativedirectionRecosignal1 = new TH1F("h2CeffHEnegativedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEnegativedirectionRecosignal1 = "<SetMarkerColor(2);HEnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal1 == 1) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 2) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 3) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 4) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 5) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 6) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 7) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 8) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 9) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 ==10) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 ==11) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 ==12) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignal1->Draw("Error"); + kcountHEnegativedirectionRecosignal1++; + if(kcountHEnegativedirectionRecosignal1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal1) delete h2CeffHEnegativedirectionRecosignal1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal2=1; + TH1F* h2CeffHEnegativedirectionRecosignal2 = new TH1F("h2CeffHEnegativedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEnegativedirectionRecosignal2 = "<SetMarkerColor(2);HEnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal2 == 1) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 2) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 3) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 4) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 5) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 6) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 7) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 8) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 9) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==10) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==11) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==12) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==13) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignal2->Draw("Error"); + kcountHEnegativedirectionRecosignal2++; + if(kcountHEnegativedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal2) delete h2CeffHEnegativedirectionRecosignal2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal3=1; + TH1F* h2CeffHEnegativedirectionRecosignal3 = new TH1F("h2CeffHEnegativedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEnegativedirectionRecosignal3 = "<SetMarkerColor(2);HEnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal3 == 1) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 2) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 3) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 4) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 5) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 6) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 7) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 8) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 9) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==10) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==11) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==12) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==13) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignal3->Draw("Error"); + kcountHEnegativedirectionRecosignal3++; + if(kcountHEnegativedirectionRecosignal3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal3) delete h2CeffHEnegativedirectionRecosignal3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal4=1; + TH1F* h2CeffHEnegativedirectionRecosignal4 = new TH1F("h2CeffHEnegativedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEnegativedirectionRecosignal4 = "<SetMarkerColor(2);HEnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal4 == 1) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 2) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 3) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 4) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 5) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 6) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 7) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 8) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 9) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 ==10) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 ==11) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 ==12) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignal4->Draw("Error"); + kcountHEnegativedirectionRecosignal4++; + if(kcountHEnegativedirectionRecosignal4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal4) delete h2CeffHEnegativedirectionRecosignal4; + //========================================================================================== 1118 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal5=1; + TH1F* h2CeffHEnegativedirectionRecosignal5 = new TH1F("h2CeffHEnegativedirectionRecosignal5","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal5 == 1) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 2) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 3) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 4) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 5) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 6) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 7) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 8) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 9) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 ==10) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 ==11) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignal5->Draw("Error"); + kcountHEnegativedirectionRecosignal5++; + if(kcountHEnegativedirectionRecosignal5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal5) delete h2CeffHEnegativedirectionRecosignal5; + //========================================================================================== 1119 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal6=1; + TH1F* h2CeffHEnegativedirectionRecosignal6 = new TH1F("h2CeffHEnegativedirectionRecosignal6","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEnegativedirectionRecosignal6 = "<SetMarkerColor(2);HEnegativedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal6 == 1) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 2) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 3) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 4) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 5) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 6) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 7) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 8) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 9) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 ==10) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignal6->Draw("Error"); + kcountHEnegativedirectionRecosignal6++; + if(kcountHEnegativedirectionRecosignal6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal6) delete h2CeffHEnegativedirectionRecosignal6; + //========================================================================================== 11110 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal7=1; + TH1F* h2CeffHEnegativedirectionRecosignal7 = new TH1F("h2CeffHEnegativedirectionRecosignal7","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEnegativedirectionRecosignal7 = "<SetMarkerColor(2);HEnegativedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal7 == 1) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignal7 == 2) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignal7 == 3) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignal7->Draw("Error"); + kcountHEnegativedirectionRecosignal7++; + if(kcountHEnegativedirectionRecosignal7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal7) delete h2CeffHEnegativedirectionRecosignal7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HE1"); + TH2F *recosignalVariance0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + TH2F* recosignalVarianceHE1 = (TH2F*)recosignalVariance1HE1->Clone("recosignalVarianceHE1"); + recosignalVarianceHE1->Divide(recosignalVariance1HE1,recosignalVariance0HE1, 1, 1, "B"); + TH2F *recosignalVariance1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE2"); + TH2F *recosignalVariance0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + TH2F* recosignalVarianceHE2 = (TH2F*)recosignalVariance1HE2->Clone("recosignalVarianceHE2"); + recosignalVarianceHE2->Divide(recosignalVariance1HE2,recosignalVariance0HE2, 1, 1, "B"); + TH2F *recosignalVariance1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE3"); + TH2F *recosignalVariance0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + TH2F* recosignalVarianceHE3 = (TH2F*)recosignalVariance1HE3->Clone("recosignalVarianceHE3"); + recosignalVarianceHE3->Divide(recosignalVariance1HE3,recosignalVariance0HE3, 1, 1, "B"); + TH2F *recosignalVariance1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE4"); + TH2F *recosignalVariance0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + TH2F* recosignalVarianceHE4 = (TH2F*)recosignalVariance1HE4->Clone("recosignalVarianceHE4"); + recosignalVarianceHE4->Divide(recosignalVariance1HE4,recosignalVariance0HE4, 1, 1, "B"); + TH2F *recosignalVariance1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE5"); + TH2F *recosignalVariance0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + TH2F* recosignalVarianceHE5 = (TH2F*)recosignalVariance1HE5->Clone("recosignalVarianceHE5"); + recosignalVarianceHE5->Divide(recosignalVariance1HE5,recosignalVariance0HE5, 1, 1, "B"); + TH2F *recosignalVariance1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE6"); + TH2F *recosignalVariance0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + TH2F* recosignalVarianceHE6 = (TH2F*)recosignalVariance1HE6->Clone("recosignalVarianceHE6"); + recosignalVarianceHE6->Divide(recosignalVariance1HE6,recosignalVariance0HE6, 1, 1, "B"); + TH2F *recosignalVariance1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE7"); + TH2F *recosignalVariance0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + TH2F* recosignalVarianceHE7 = (TH2F*)recosignalVariance1HE7->Clone("recosignalVarianceHE7"); + recosignalVarianceHE7->Divide(recosignalVariance1HE7,recosignalVariance0HE7, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + recosignalvariancehe[1][jeta][jphi] = recosignalVarianceHE2->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[2][jeta][jphi] = recosignalVarianceHE3->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[3][jeta][jphi] = recosignalVarianceHE4->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[4][jeta][jphi] = recosignalVarianceHE5->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[5][jeta][jphi] = recosignalVarianceHE6->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[6][jeta][jphi] = recosignalVarianceHE7->GetBinContent(jeta+1,jphi+1); + if(recosignalvariancehe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += recosignalvariancehe[0][jeta][jphi];++nsumrecosignalHE0;} + if(recosignalvariancehe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += recosignalvariancehe[1][jeta][jphi];++nsumrecosignalHE1;} + if(recosignalvariancehe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += recosignalvariancehe[2][jeta][jphi];++nsumrecosignalHE2;} + if(recosignalvariancehe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += recosignalvariancehe[3][jeta][jphi];++nsumrecosignalHE3;} + if(recosignalvariancehe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += recosignalvariancehe[4][jeta][jphi];++nsumrecosignalHE4;} + if(recosignalvariancehe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += recosignalvariancehe[5][jeta][jphi];++nsumrecosignalHE5;} + if(recosignalvariancehe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += recosignalvariancehe[6][jeta][jphi];++nsumrecosignalHE6;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) recosignalvariancehe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; + if(recosignalvariancehe[1][jeta][jphi] > 0.) recosignalvariancehe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; + if(recosignalvariancehe[2][jeta][jphi] > 0.) recosignalvariancehe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; + if(recosignalvariancehe[3][jeta][jphi] > 0.) recosignalvariancehe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; + if(recosignalvariancehe[4][jeta][jphi] > 0.) recosignalvariancehe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; + if(recosignalvariancehe[5][jeta][jphi] > 0.) recosignalvariancehe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; + if(recosignalvariancehe[6][jeta][jphi] > 0.) recosignalvariancehe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; + }// phi + // recosignalvariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDrecosignalHE42D = new TH2F("DefzDrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHE42D0 = new TH2F("DefzDrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHE42DF = (TH2F*)DefzDrecosignalHE42D0->Clone("DefzDrecosignalHE42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(arecosignalhe[i][jeta][jphi]>0.) {DefzDrecosignalHE42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHE42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDrecosignalHE42DF->Divide(DefzDrecosignalHE42D,DefzDrecosignalHE42D0, 1, 1, "B");// average A + // DefzDrecosignalHE1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE42DF->SetMarkerStyle(20); DefzDrecosignalHE42DF->SetMarkerSize(0.4); DefzDrecosignalHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHE42DF->SetYTitle(" #phi \b"); DefzDrecosignalHE42DF->SetZTitle("_depth \b"); DefzDrecosignalHE42DF->SetMarkerColor(2); DefzDrecosignalHE42DF->SetLineColor(0); // DefzDrecosignalHE42DF->SetMaximum(1.000); // DefzDrecosignalHE42DF->SetMinimum(1.0); + DefzDrecosignalHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHE42D) delete DefzDrecosignalHE42D; + if (DefzDrecosignalHE42D0) delete DefzDrecosignalHE42D0; + if (DefzDrecosignalHE42DF) delete DefzDrecosignalHE42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDrecosignalHE41D = new TH1F("DefzDrecosignalHE41D","", nphi, 0., 72. ); + TH1F* DefzDrecosignalHE41D0 = new TH1F("DefzDrecosignalHE41D0","",nphi, 0., 72. ); + TH1F* DefzDrecosignalHE41DF = (TH1F*)DefzDrecosignalHE41D0->Clone("DefzDrecosignalHE41DF"); + + for (int jphi=0;jphi0.) {DefzDrecosignalHE41D ->Fill(jphi,ccc1); DefzDrecosignalHE41D0 ->Fill(jphi,1.); } + }}} + // DefzDrecosignalHE41D->Sumw2();DefzDrecosignalHE41D0->Sumw2(); + + DefzDrecosignalHE41DF->Divide(DefzDrecosignalHE41D,DefzDrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta + DefzDrecosignalHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE41DF->SetMarkerStyle(20); DefzDrecosignalHE41DF->SetMarkerSize(1.4); DefzDrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE41DF->SetXTitle("#phi \b"); DefzDrecosignalHE41DF->SetYTitle(" \b"); DefzDrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDrecosignalHE41DF->SetMarkerColor(4); DefzDrecosignalHE41DF->SetLineColor(4); // DefzDrecosignalHE41DF->SetMinimum(0.8); DefzDrecosignalHE41DF->SetMinimum(-0.015); + DefzDrecosignalHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DrecosignalGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (DefzDrecosignalHE41D) delete DefzDrecosignalHE41D; + if (DefzDrecosignalHE41D0) delete DefzDrecosignalHE41D0; + if (DefzDrecosignalHE41DF) delete DefzDrecosignalHE41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD1=1; + TH1F* h2CeffHEpositivedirectionRecosignalD1 = new TH1F("h2CeffHEpositivedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD1 == 1) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 2) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 3) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 4) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 5) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 6) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 7) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 8) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 9) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 ==10) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 ==11) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 ==12) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignalD1->Draw("Error"); + kcountHEpositivedirectionRecosignalD1++; + if(kcountHEpositivedirectionRecosignalD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD1) delete h2CeffHEpositivedirectionRecosignalD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD2=1; + TH1F* h2CeffHEpositivedirectionRecosignalD2 = new TH1F("h2CeffHEpositivedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD2 == 1) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 2) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 3) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 4) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 5) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 6) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 7) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 8) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 9) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==10) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==11) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==12) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==13) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignalD2->Draw("Error"); + kcountHEpositivedirectionRecosignalD2++; + if(kcountHEpositivedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD2) delete h2CeffHEpositivedirectionRecosignalD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD3=1; + TH1F* h2CeffHEpositivedirectionRecosignalD3 = new TH1F("h2CeffHEpositivedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD3 == 1) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 2) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 3) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 4) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 5) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 6) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 7) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 8) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 9) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==10) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==11) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==12) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==13) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignalD3->Draw("Error"); + kcountHEpositivedirectionRecosignalD3++; + if(kcountHEpositivedirectionRecosignalD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD3) delete h2CeffHEpositivedirectionRecosignalD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD4=1; + TH1F* h2CeffHEpositivedirectionRecosignalD4 = new TH1F("h2CeffHEpositivedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD4 == 1) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 2) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 3) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 4) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 5) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 6) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 7) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 8) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 9) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 ==10) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 ==11) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 ==12) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignalD4->Draw("Error"); + kcountHEpositivedirectionRecosignalD4++; + if(kcountHEpositivedirectionRecosignalD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD4) delete h2CeffHEpositivedirectionRecosignalD4; + //========================================================================================== 18 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD5=1; + TH1F* h2CeffHEpositivedirectionRecosignalD5 = new TH1F("h2CeffHEpositivedirectionRecosignalD5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEpositivedirectionRecosignalD5 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD5 == 1) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 2) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 3) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 4) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 5) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 6) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 7) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 8) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 9) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 ==10) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 ==11) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignalD5->Draw("Error"); + kcountHEpositivedirectionRecosignalD5++; + if(kcountHEpositivedirectionRecosignalD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD5) delete h2CeffHEpositivedirectionRecosignalD5; + //========================================================================================== 19 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD6=1; + TH1F* h2CeffHEpositivedirectionRecosignalD6 = new TH1F("h2CeffHEpositivedirectionRecosignalD6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEpositivedirectionRecosignalD6 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD6 == 1) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 2) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 3) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 4) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 5) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 6) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 7) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 8) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 9) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 ==10) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignalD6->Draw("Error"); + kcountHEpositivedirectionRecosignalD6++; + if(kcountHEpositivedirectionRecosignalD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD6) delete h2CeffHEpositivedirectionRecosignalD6; + //========================================================================================== 20 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD7=1; + TH1F* h2CeffHEpositivedirectionRecosignalD7 = new TH1F("h2CeffHEpositivedirectionRecosignalD7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEpositivedirectionRecosignalD7 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD7 == 1) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignalD7 == 2) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignalD7 == 3) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignalD7->Draw("Error"); + kcountHEpositivedirectionRecosignalD7++; + if(kcountHEpositivedirectionRecosignalD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD7) delete h2CeffHEpositivedirectionRecosignalD7; + + + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD1=1; + TH1F* h2CeffHEnegativedirectionRecosignalD1 = new TH1F("h2CeffHEnegativedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD1 == 1) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 2) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 3) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 4) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 5) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 6) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 7) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 8) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 9) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 ==10) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 ==11) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 ==12) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignalD1->Draw("Error"); + kcountHEnegativedirectionRecosignalD1++; + if(kcountHEnegativedirectionRecosignalD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD1) delete h2CeffHEnegativedirectionRecosignalD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD2=1; + TH1F* h2CeffHEnegativedirectionRecosignalD2 = new TH1F("h2CeffHEnegativedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD2 == 1) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 2) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 3) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 4) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 5) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 6) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 7) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 8) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 9) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==10) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==11) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==12) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==13) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignalD2->Draw("Error"); + kcountHEnegativedirectionRecosignalD2++; + if(kcountHEnegativedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD2) delete h2CeffHEnegativedirectionRecosignalD2; + //========================================================================================== 22222216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD3=1; + TH1F* h2CeffHEnegativedirectionRecosignalD3 = new TH1F("h2CeffHEnegativedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD3 == 1) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 2) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 3) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 4) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 5) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 6) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 7) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 8) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 9) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==10) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==11) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==12) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==13) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignalD3->Draw("Error"); + kcountHEnegativedirectionRecosignalD3++; + if(kcountHEnegativedirectionRecosignalD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD3) delete h2CeffHEnegativedirectionRecosignalD3; + //========================================================================================== 22222217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD4=1; + TH1F* h2CeffHEnegativedirectionRecosignalD4 = new TH1F("h2CeffHEnegativedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD4 == 1) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 2) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 3) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 4) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 5) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 6) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 7) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 8) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 9) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 ==10) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 ==11) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 ==12) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignalD4->Draw("Error"); + kcountHEnegativedirectionRecosignalD4++; + if(kcountHEnegativedirectionRecosignalD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD4) delete h2CeffHEnegativedirectionRecosignalD4; + //========================================================================================== 22222218 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD5=1; + TH1F* h2CeffHEnegativedirectionRecosignalD5 = new TH1F("h2CeffHEnegativedirectionRecosignalD5","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEnegativedirectionRecosignalD5 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD5 == 1) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 2) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 3) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 4) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 5) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 6) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 7) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 8) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 9) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 ==10) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 ==11) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignalD5->Draw("Error"); + kcountHEnegativedirectionRecosignalD5++; + if(kcountHEnegativedirectionRecosignalD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD5) delete h2CeffHEnegativedirectionRecosignalD5; + //========================================================================================== 22222219 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD6=1; + TH1F* h2CeffHEnegativedirectionRecosignalD6 = new TH1F("h2CeffHEnegativedirectionRecosignalD6","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEnegativedirectionRecosignalD6 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD6 == 1) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 2) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 3) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 4) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 5) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 6) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 7) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 8) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 9) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 ==10) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignalD6->Draw("Error"); + kcountHEnegativedirectionRecosignalD6++; + if(kcountHEnegativedirectionRecosignalD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD6) delete h2CeffHEnegativedirectionRecosignalD6; + //========================================================================================== 22222220 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD7=1; + TH1F* h2CeffHEnegativedirectionRecosignalD7 = new TH1F("h2CeffHEnegativedirectionRecosignalD7","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEnegativedirectionRecosignalD7 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD7 == 1) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignalD7 == 2) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignalD7 == 3) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignalD7->Draw("Error"); + kcountHEnegativedirectionRecosignalD7++; + if(kcountHEnegativedirectionRecosignalD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD7) delete h2CeffHEnegativedirectionRecosignalD7; + //===================================================================== END of Recosignal HE for phi-symmetry + //===================================================================== END of Recosignal HE for phi-symmetry + //===================================================================== END of Recosignal HE for phi-symmetry + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double arecosignalHF[ndepth][njeta][njphi]; + double recosignalvarianceHF[ndepth][njeta][njphi]; + //cout<<"111RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <FindObjectAny("h_recSignalEnergy1_HF1"); + TH2F *recSignalEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + TH2F* recSignalEnergyHF1 = (TH2F*)recSignalEnergy1HF1->Clone("recSignalEnergyHF1"); + recSignalEnergyHF1->Divide(recSignalEnergy1HF1,recSignalEnergy0HF1, 1, 1, "B"); + TH2F *recSignalEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF2"); + TH2F *recSignalEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + TH2F* recSignalEnergyHF2 = (TH2F*)recSignalEnergy1HF2->Clone("recSignalEnergyHF2"); + recSignalEnergyHF2->Divide(recSignalEnergy1HF2,recSignalEnergy0HF2, 1, 1, "B"); +// cout<<"222RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <GetBinContent(jeta+1,jphi+1); + arecosignalHF[1][jeta][jphi] = recSignalEnergyHF2->GetBinContent(jeta+1,jphi+1); + if(arecosignalHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += arecosignalHF[0][jeta][jphi];++nsumrecosignalHF0;} + if(arecosignalHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += arecosignalHF[1][jeta][jphi];++nsumrecosignalHF1;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) arecosignalHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; + if(arecosignalHF[1][jeta][jphi] > 0.) arecosignalHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthfs + //====================================================================== + //====================================================================== +// cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRrecosignalHF42D = new TH2F("GefzRrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHF42D0 = new TH2F("GefzRrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHF42DF = (TH2F*)GefzRrecosignalHF42D0->Clone("GefzRrecosignalHF42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRrecosignalHF42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHF42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRrecosignalHF42DF->Divide(GefzRrecosignalHF42D,GefzRrecosignalHF42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHF42DF->SetYTitle(" #phi \b"); + GefzRrecosignalHF42DF->Draw("COLZ"); + + + c2x1->cd(2); + TH1F *energyhitSignal_HF= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HF"); + energyhitSignal_HF ->SetMarkerStyle(20);energyhitSignal_HF ->SetMarkerSize(0.4);energyhitSignal_HF ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HF ->SetXTitle("energyhitSignal_HF \b");energyhitSignal_HF ->SetMarkerColor(2);energyhitSignal_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HF ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RrecosignalGeneralD2PhiSymmetryHF.png"); + c2x1->Clear(); + // clean-up + if (GefzRrecosignalHF42D) delete GefzRrecosignalHF42D; + if (GefzRrecosignalHF42D0) delete GefzRrecosignalHF42D0; + if (GefzRrecosignalHF42DF) delete GefzRrecosignalHF42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRrecosignalHF41D = new TH1F("GefzRrecosignalHF41D","", nphi, 0., 72. ); + TH1F* GefzRrecosignalHF41D0 = new TH1F("GefzRrecosignalHF41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHF41DF = (TH1F*)GefzRrecosignalHF41D0->Clone("GefzRrecosignalHF41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHF41D0 ->Fill(jphi,1.); } + }}} + GefzRrecosignalHF41DF->Divide(GefzRrecosignalHF41D,GefzRrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRrecosignalHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF41DF->SetMarkerStyle(20); GefzRrecosignalHF41DF->SetMarkerSize(1.4); GefzRrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHF41DF->SetXTitle("#phi \b"); GefzRrecosignalHF41DF->SetYTitle(" \b"); GefzRrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHF41DF->SetMarkerColor(4); GefzRrecosignalHF41DF->SetLineColor(4);// GefzRrecosignalHF41DF->SetMinimum(0.8); // GefzRrecosignalHF41DF->SetMaximum(1.000); + GefzRrecosignalHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RrecosignalGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (GefzRrecosignalHF41D) delete GefzRrecosignalHF41D; + if (GefzRrecosignalHF41D0) delete GefzRrecosignalHF41D0; + if (GefzRrecosignalHF41DF) delete GefzRrecosignalHF41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignal1=1; + TH1F* h2CeffHFpositivedirectionRecosignal1 = new TH1F("h2CeffHFpositivedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFpositivedirectionRecosignal1 = "<SetMarkerColor(2);HFpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignal1 == 1) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 2) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 3) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 4) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 5) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 6) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 7) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 8) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 9) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==10) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==11) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==12) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==13) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignal1->Draw("Error"); + kcountHFpositivedirectionRecosignal1++; + if(kcountHFpositivedirectionRecosignal1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignal1) delete h2CeffHFpositivedirectionRecosignal1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignal2=1; + TH1F* h2CeffHFpositivedirectionRecosignal2 = new TH1F("h2CeffHFpositivedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFpositivedirectionRecosignal2 = "<SetMarkerColor(2);HFpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignal2 == 1) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 2) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 3) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 4) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 5) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 6) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 7) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 8) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 9) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==10) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==11) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==12) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==13) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignal2->Draw("Error"); + kcountHFpositivedirectionRecosignal2++; + if(kcountHFpositivedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignal2) delete h2CeffHFpositivedirectionRecosignal2; + + //========================================================================================== 1111114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignal1=1; + TH1F* h2CeffHFnegativedirectionRecosignal1 = new TH1F("h2CeffHFnegativedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFnegativedirectionRecosignal1 = "<SetMarkerColor(2);HFnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignal1 == 1) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 2) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 3) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 4) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 5) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 6) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 7) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 8) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 9) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==10) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==11) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==12) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==13) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignal1->Draw("Error"); + kcountHFnegativedirectionRecosignal1++; + if(kcountHFnegativedirectionRecosignal1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignal1) delete h2CeffHFnegativedirectionRecosignal1; + + + //========================================================================================== 1111115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignal2=1; + TH1F* h2CeffHFnegativedirectionRecosignal2 = new TH1F("h2CeffHFnegativedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFnegativedirectionRecosignal2 = "<SetMarkerColor(2);HFnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignal2 == 1) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 2) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 3) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 4) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 5) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 6) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 7) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 8) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 9) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==10) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==11) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==12) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==13) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionRecosignal2->Draw("Error"); + kcountHFnegativedirectionRecosignal2++; + if(kcountHFnegativedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignal2) delete h2CeffHFnegativedirectionRecosignal2; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HF1"); + TH2F *recosignalVariance0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + TH2F* recosignalVarianceHF1 = (TH2F*)recosignalVariance1HF1->Clone("recosignalVarianceHF1"); + recosignalVarianceHF1->Divide(recosignalVariance1HF1,recosignalVariance0HF1, 1, 1, "B"); + TH2F *recosignalVariance1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HF2"); + TH2F *recosignalVariance0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + TH2F* recosignalVarianceHF2 = (TH2F*)recosignalVariance1HF2->Clone("recosignalVarianceHF2"); + recosignalVarianceHF2->Divide(recosignalVariance1HF2,recosignalVariance0HF2, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + recosignalvarianceHF[1][jeta][jphi] = recosignalVarianceHF2->GetBinContent(jeta+1,jphi+1); + if(recosignalvarianceHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += recosignalvarianceHF[0][jeta][jphi];++nsumrecosignalHF0;} + if(recosignalvarianceHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += recosignalvarianceHF[1][jeta][jphi];++nsumrecosignalHF1;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) recosignalvarianceHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; + if(recosignalvarianceHF[1][jeta][jphi] > 0.) recosignalvarianceHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; + }// phi + // recosignalvarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDrecosignalHF42D = new TH2F("DefzDrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHF42D0 = new TH2F("DefzDrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHF42DF = (TH2F*)DefzDrecosignalHF42D0->Clone("DefzDrecosignalHF42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(arecosignalHF[i][jeta][jphi]>0.) {DefzDrecosignalHF42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHF42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDrecosignalHF42DF->Divide(DefzDrecosignalHF42D,DefzDrecosignalHF42D0, 1, 1, "B");// average A + // DefzDrecosignalHF1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF42DF->SetMarkerStyle(20); DefzDrecosignalHF42DF->SetMarkerSize(0.4); DefzDrecosignalHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHF42DF->SetYTitle(" #phi \b"); DefzDrecosignalHF42DF->SetZTitle("_depth \b"); DefzDrecosignalHF42DF->SetMarkerColor(2); DefzDrecosignalHF42DF->SetLineColor(0); // DefzDrecosignalHF42DF->SetMaximum(1.000); // DefzDrecosignalHF42DF->SetMinimum(1.0); + DefzDrecosignalHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHF42D) delete DefzDrecosignalHF42D; + if (DefzDrecosignalHF42D0) delete DefzDrecosignalHF42D0; + if (DefzDrecosignalHF42DF) delete DefzDrecosignalHF42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDrecosignalHF41D = new TH1F("DefzDrecosignalHF41D","", nphi, 0., 72. ); + TH1F* DefzDrecosignalHF41D0 = new TH1F("DefzDrecosignalHF41D0","",nphi, 0., 72. ); + TH1F* DefzDrecosignalHF41DF = (TH1F*)DefzDrecosignalHF41D0->Clone("DefzDrecosignalHF41DF"); + + for (int jphi=0;jphi0.) {DefzDrecosignalHF41D ->Fill(jphi,ccc1); DefzDrecosignalHF41D0 ->Fill(jphi,1.); } + }}} + // DefzDrecosignalHF41D->Sumw2();DefzDrecosignalHF41D0->Sumw2(); + + DefzDrecosignalHF41DF->Divide(DefzDrecosignalHF41D,DefzDrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDrecosignalHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF41DF->SetMarkerStyle(20); DefzDrecosignalHF41DF->SetMarkerSize(1.4); DefzDrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF41DF->SetXTitle("#phi \b"); DefzDrecosignalHF41DF->SetYTitle(" \b"); DefzDrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHF41DF->SetMarkerColor(4); DefzDrecosignalHF41DF->SetLineColor(4);// DefzDrecosignalHF41DF->SetMinimum(0.8); DefzDrecosignalHF41DF->SetMinimum(-0.015); + DefzDrecosignalHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DrecosignalGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (DefzDrecosignalHF41D) delete DefzDrecosignalHF41D; + if (DefzDrecosignalHF41D0) delete DefzDrecosignalHF41D0; + if (DefzDrecosignalHF41DF) delete DefzDrecosignalHF41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignalD1=1; + TH1F* h2CeffHFpositivedirectionRecosignalD1 = new TH1F("h2CeffHFpositivedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignalD1 == 1) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 2) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 3) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 4) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 5) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 6) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 7) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 8) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 9) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==10) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==11) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==12) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==13) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignalD1->Draw("Error"); + kcountHFpositivedirectionRecosignalD1++; + if(kcountHFpositivedirectionRecosignalD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignalD1) delete h2CeffHFpositivedirectionRecosignalD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignalD2=1; + TH1F* h2CeffHFpositivedirectionRecosignalD2 = new TH1F("h2CeffHFpositivedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignalD2 == 1) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 2) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 3) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 4) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 5) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 6) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 7) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 8) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 9) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==10) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==11) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==12) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==13) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignalD2->Draw("Error"); + kcountHFpositivedirectionRecosignalD2++; + if(kcountHFpositivedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignalD2) delete h2CeffHFpositivedirectionRecosignalD2; + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignalD1=1; + TH1F* h2CeffHFnegativedirectionRecosignalD1 = new TH1F("h2CeffHFnegativedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignalD1 == 1) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 2) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 3) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 4) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 5) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 6) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 7) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 8) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 9) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==10) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==11) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==12) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==13) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignalD1->Draw("Error"); + kcountHFnegativedirectionRecosignalD1++; + if(kcountHFnegativedirectionRecosignalD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignalD1) delete h2CeffHFnegativedirectionRecosignalD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignalD2=1; + TH1F* h2CeffHFnegativedirectionRecosignalD2 = new TH1F("h2CeffHFnegativedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignalD2 == 1) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 2) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 3) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 4) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 5) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 6) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 7) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 8) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 9) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==10) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==11) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==12) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==13) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionRecosignalD2->Draw("Error"); + kcountHFnegativedirectionRecosignalD2++; + if(kcountHFnegativedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignalD2) delete h2CeffHFnegativedirectionRecosignalD2; + + //===================================================================== END of Recosignal HF for phi-symmetry + //===================================================================== END of Recosignal HF for phi-symmetry + //===================================================================== END of Recosignal HF for phi-symmetry + //============================================================================================================ END of Recosignal for phi-symmetry + //============================================================================================================ END of Recosignal for phi-symmetry + //============================================================================================================ END of Recosignal for phi-symmetry + +////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start +////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start +////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start + //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double areconoiseHB[ndepth][njeta][njphi]; + double breconoiseHB[ndepth][njeta][njphi]; + double reconoisevarianceHB[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HB recNoiseEnergy + TH2F *recNoiseEnergy1HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB1"); + TH2F *recNoiseEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + TH2F* recNoiseEnergyHB1 = (TH2F*)recNoiseEnergy1HB1->Clone("recNoiseEnergyHB1"); + recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1,recNoiseEnergy0HB1, 1, 1, "B"); + TH2F *recNoiseEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB2"); + TH2F *recNoiseEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + TH2F* recNoiseEnergyHB2 = (TH2F*)recNoiseEnergy1HB2->Clone("recNoiseEnergyHB2"); + recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2,recNoiseEnergy0HB2, 1, 1, "B"); + TH2F *recNoiseEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB3"); + TH2F *recNoiseEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + TH2F* recNoiseEnergyHB3 = (TH2F*)recNoiseEnergy1HB3->Clone("recNoiseEnergyHB3"); + recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3,recNoiseEnergy0HB3, 1, 1, "B"); + TH2F *recNoiseEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB4"); + TH2F *recNoiseEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + TH2F* recNoiseEnergyHB4 = (TH2F*)recNoiseEnergy1HB4->Clone("recNoiseEnergyHB4"); + recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4,recNoiseEnergy0HB4, 1, 1, "B"); + for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + //====================================================================== PHI normalization & put R into massive areconoiseHB + //preparation for PHI normalization: + double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + areconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); + areconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); + areconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); + breconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta+1,jphi+1); + breconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); + breconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); + breconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); + if(areconoiseHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += areconoiseHB[0][jeta][jphi];++nsumreconoiseHB0;} + if(areconoiseHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += areconoiseHB[1][jeta][jphi];++nsumreconoiseHB1;} + if(areconoiseHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += areconoiseHB[2][jeta][jphi];++nsumreconoiseHB2;} + if(areconoiseHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += areconoiseHB[3][jeta][jphi];++nsumreconoiseHB3;} + }// phi + // PHI normalization: DIF + for(int jphi=0;jphiClear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRreconoiseHB42D = new TH2F("GefzRreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHB42D0 = new TH2F("GefzRreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHB42DF = (TH2F*)GefzRreconoiseHB42D0->Clone("GefzRreconoiseHB42DF"); + for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHB42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzRreconoiseHB42DF->Divide(GefzRreconoiseHB42D,GefzRreconoiseHB42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHB42DF->SetYTitle(" #phi \b"); + GefzRreconoiseHB42DF->Draw("COLZ"); + + + c2x1->cd(2); + TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); + energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RreconoiseGeneralD2PhiSymmetryHB.png"); + c2x1->Clear(); + // clean-up + if (GefzRreconoiseHB42D) delete GefzRreconoiseHB42D; + if (GefzRreconoiseHB42D0) delete GefzRreconoiseHB42D0; + if (GefzRreconoiseHB42DF) delete GefzRreconoiseHB42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRreconoiseHB41D = new TH1F("GefzRreconoiseHB41D","", nphi, 0., 72. ); + TH1F* GefzRreconoiseHB41D0 = new TH1F("GefzRreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHB41DF = (TH1F*)GefzRreconoiseHB41D0->Clone("GefzRreconoiseHB41DF"); + for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHB41D0 ->Fill(jphi,1.); } + }}}} + GefzRreconoiseHB41DF->Divide(GefzRreconoiseHB41D,GefzRreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB41DF->SetMarkerStyle(20); GefzRreconoiseHB41DF->SetMarkerSize(1.4); GefzRreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHB41DF->SetXTitle("#phi \b"); GefzRreconoiseHB41DF->SetYTitle(" \b"); GefzRreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHB41DF->SetMarkerColor(4); GefzRreconoiseHB41DF->SetLineColor(4);//GefzRreconoiseHB41DF->SetMinimum(0.8); // GefzRreconoiseHB41DF->SetMaximum(1.000); + GefzRreconoiseHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RreconoiseGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (GefzRreconoiseHB41D) delete GefzRreconoiseHB41D; + if (GefzRreconoiseHB41D0) delete GefzRreconoiseHB41D0; + if (GefzRreconoiseHB41DF) delete GefzRreconoiseHB41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise1=1; + TH1F* h2CeffHBpositivedirectionReconoise1 = new TH1F("h2CeffHBpositivedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBpositivedirectionReconoise1 = "<SetMarkerColor(2);HBpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise1 == 1) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 2) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 3) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 4) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 5) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 6) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 7) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 8) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 9) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==10) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==11) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==12) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==13) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==14) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==15) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==16) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoise1->Draw("Error"); + kcountHBpositivedirectionReconoise1++; + if(kcountHBpositivedirectionReconoise1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise1) delete h2CeffHBpositivedirectionReconoise1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise2=1; + TH1F* h2CeffHBpositivedirectionReconoise2 = new TH1F("h2CeffHBpositivedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBpositivedirectionReconoise2 = "<SetMarkerColor(2);HBpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise2 == 1) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 2) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 3) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 4) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 5) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 6) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 7) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 8) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 9) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==10) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==11) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==12) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==13) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==14) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==15) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==16) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoise2->Draw("Error"); + kcountHBpositivedirectionReconoise2++; + if(kcountHBpositivedirectionReconoise2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise2) delete h2CeffHBpositivedirectionReconoise2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise3=1; + TH1F* h2CeffHBpositivedirectionReconoise3 = new TH1F("h2CeffHBpositivedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBpositivedirectionReconoise3 = "<SetMarkerColor(2);HBpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise3 == 1) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 2) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 3) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 4) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 5) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 6) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 7) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 8) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 9) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==10) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==11) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==12) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==13) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==14) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==15) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==16) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoise3->Draw("Error"); + kcountHBpositivedirectionReconoise3++; + if(kcountHBpositivedirectionReconoise3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise3) delete h2CeffHBpositivedirectionReconoise3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise4=1; + TH1F* h2CeffHBpositivedirectionReconoise4 = new TH1F("h2CeffHBpositivedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBpositivedirectionReconoise4 = "<SetMarkerColor(2);HBpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise4 == 1) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 2) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 3) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 4) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 5) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 6) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 7) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 8) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 9) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==10) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==11) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==12) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==13) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==14) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==15) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==16) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoise4->Draw("Error"); + kcountHBpositivedirectionReconoise4++; + if(kcountHBpositivedirectionReconoise4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise4) delete h2CeffHBpositivedirectionReconoise4; + + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise1=1; + TH1F* h2CeffHBnegativedirectionReconoise1 = new TH1F("h2CeffHBnegativedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBnegativedirectionReconoise1 = "<SetMarkerColor(2);HBnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise1 == 1) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 2) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 3) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 4) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 5) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 6) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 7) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 8) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 9) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==10) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==11) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==12) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==13) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==14) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==15) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==16) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoise1->Draw("Error"); + kcountHBnegativedirectionReconoise1++; + if(kcountHBnegativedirectionReconoise1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise1) delete h2CeffHBnegativedirectionReconoise1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise2=1; + TH1F* h2CeffHBnegativedirectionReconoise2 = new TH1F("h2CeffHBnegativedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBnegativedirectionReconoise2 = "<SetMarkerColor(2);HBnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise2 == 1) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 2) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 3) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 4) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 5) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 6) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 7) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 8) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 9) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==10) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==11) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==12) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==13) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==14) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==15) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==16) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoise2->Draw("Error"); + kcountHBnegativedirectionReconoise2++; + if(kcountHBnegativedirectionReconoise2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise2) delete h2CeffHBnegativedirectionReconoise2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise3=1; + TH1F* h2CeffHBnegativedirectionReconoise3 = new TH1F("h2CeffHBnegativedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBnegativedirectionReconoise3 = "<SetMarkerColor(2);HBnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise3 == 1) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 2) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 3) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 4) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 5) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 6) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 7) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 8) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 9) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==10) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==11) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==12) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==13) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==14) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==15) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==16) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoise3->Draw("Error"); + kcountHBnegativedirectionReconoise3++; + if(kcountHBnegativedirectionReconoise3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise3) delete h2CeffHBnegativedirectionReconoise3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise4=1; + TH1F* h2CeffHBnegativedirectionReconoise4 = new TH1F("h2CeffHBnegativedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBnegativedirectionReconoise4 = "<SetMarkerColor(2);HBnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise4 == 1) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 2) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 3) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 4) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 5) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 6) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 7) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 8) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 9) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==10) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==11) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==12) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==13) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==14) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==15) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==16) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoise4->Draw("Error"); + kcountHBnegativedirectionReconoise4++; + if(kcountHBnegativedirectionReconoise4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise4) delete h2CeffHBnegativedirectionReconoise4; + + //====================================================================================================================== + // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HE + //====================================================================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzDIFreconoiseHB42D = new TH2F("GefzDIFreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHB42D0 = new TH2F("GefzDIFreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHB42DF = (TH2F*)GefzDIFreconoiseHB42D0->Clone("GefzDIFreconoiseHB42DF"); + for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzDIFreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHB42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzDIFreconoiseHB42DF->Divide(GefzDIFreconoiseHB42D,GefzDIFreconoiseHB42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHB42DF->SetYTitle(" #phi \b"); + GefzDIFreconoiseHB42DF->Draw("COLZ"); + + + // c2x1->cd(2); + // TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); + // energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHB.png"); + c2x1->Clear(); + // clean-up + if (GefzDIFreconoiseHB42D) delete GefzDIFreconoiseHB42D; + if (GefzDIFreconoiseHB42D0) delete GefzDIFreconoiseHB42D0; + if (GefzDIFreconoiseHB42DF) delete GefzDIFreconoiseHB42DF; + //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzDIFreconoiseHB41D = new TH1F("GefzDIFreconoiseHB41D","", nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHB41D0 = new TH1F("GefzDIFreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHB41DF = (TH1F*)GefzDIFreconoiseHB41D0->Clone("GefzDIFreconoiseHB41DF"); + for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHB41D0 ->Fill(jphi,1.); } + }}}} + GefzDIFreconoiseHB41DF->Divide(GefzDIFreconoiseHB41D,GefzDIFreconoiseHB41D0, 1, 1, "B");// DIF averaged over depthfs & eta + GefzDIFreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB41DF->SetMarkerStyle(20); GefzDIFreconoiseHB41DF->SetMarkerSize(1.4); GefzDIFreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHB41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHB41DF->SetYTitle(" \b"); GefzDIFreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHB41DF->SetMarkerColor(4); GefzDIFreconoiseHB41DF->SetLineColor(4);//GefzDIFreconoiseHB41DF->SetMinimum(0.8); // GefzDIFreconoiseHB41DF->SetMaximum(1.000); + GefzDIFreconoiseHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (GefzDIFreconoiseHB41D) delete GefzDIFreconoiseHB41D; + if (GefzDIFreconoiseHB41D0) delete GefzDIFreconoiseHB41D0; + if (GefzDIFreconoiseHB41DF) delete GefzDIFreconoiseHB41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF1=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF1 == 1) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 2) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 3) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 4) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 5) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 6) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 7) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 8) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 9) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==10) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==11) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==12) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==13) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==14) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==15) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==16) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF1++; + if(kcountHBpositivedirectionReconoiseDIF1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF1) delete h2CeffHBpositivedirectionReconoiseDIF1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF2=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF2 == 1) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 2) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 3) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 4) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 5) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 6) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 7) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 8) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 9) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==10) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==11) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==12) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==13) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==14) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==15) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==16) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF2++; + if(kcountHBpositivedirectionReconoiseDIF2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF2) delete h2CeffHBpositivedirectionReconoiseDIF2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF3=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF3 == 1) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 2) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 3) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 4) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 5) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 6) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 7) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 8) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 9) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==10) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==11) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==12) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==13) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==14) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==15) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==16) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF3++; + if(kcountHBpositivedirectionReconoiseDIF3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF3) delete h2CeffHBpositivedirectionReconoiseDIF3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF4=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF4 == 1) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 2) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 3) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 4) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 5) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 6) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 7) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 8) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 9) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==10) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==11) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==12) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==13) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==14) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==15) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==16) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF4++; + if(kcountHBpositivedirectionReconoiseDIF4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF4) delete h2CeffHBpositivedirectionReconoiseDIF4; + + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF1=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF1 == 1) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 2) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 3) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 4) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 5) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 6) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 7) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 8) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 9) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==10) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==11) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==12) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==13) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==14) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==15) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==16) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF1++; + if(kcountHBnegativedirectionReconoiseDIF1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF1) delete h2CeffHBnegativedirectionReconoiseDIF1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF2=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF2 == 1) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -16; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 2) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -15; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 3) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -14; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 4) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -13; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 5) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -12; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 6) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -11; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 7) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -10; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 8) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -9; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 9) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -8; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==10) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -7; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==11) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -6; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==12) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -5; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==13) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -4; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==14) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -3; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==15) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -2; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==16) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF2++; + if(kcountHBnegativedirectionReconoiseDIF2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF2) delete h2CeffHBnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF3=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF3 == 1) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -16; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 2) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -15; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 3) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -14; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 4) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -13; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 5) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -12; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 6) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -11; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 7) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -10; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 8) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -9; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 9) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -8; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==10) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -7; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==11) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -6; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==12) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -5; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==13) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -4; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==14) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -3; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==15) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -2; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==16) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF3++; + if(kcountHBnegativedirectionReconoiseDIF3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF3) delete h2CeffHBnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF4=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF4 == 1) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -16; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 2) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -15; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 3) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -14; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 4) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -13; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 5) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -12; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 6) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -11; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 7) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -10; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 8) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -9; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 9) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -8; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==10) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -7; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==11) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -6; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==12) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -5; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==13) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -4; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==14) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -3; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==15) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -2; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==16) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF4++; + if(kcountHBnegativedirectionReconoiseDIF4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF4) delete h2CeffHBnegativedirectionReconoiseDIF4; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HB1"); + TH2F *reconoiseVariance0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + TH2F* reconoiseVarianceHB1 = (TH2F*)reconoiseVariance1HB1->Clone("reconoiseVarianceHB1"); + reconoiseVarianceHB1->Divide(reconoiseVariance1HB1,reconoiseVariance0HB1, 1, 1, "B"); + TH2F *reconoiseVariance1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB2"); + TH2F *reconoiseVariance0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + TH2F* reconoiseVarianceHB2 = (TH2F*)reconoiseVariance1HB2->Clone("reconoiseVarianceHB2"); + reconoiseVarianceHB2->Divide(reconoiseVariance1HB2,reconoiseVariance0HB2, 1, 1, "B"); + TH2F *reconoiseVariance1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB3"); + TH2F *reconoiseVariance0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + TH2F* reconoiseVarianceHB3 = (TH2F*)reconoiseVariance1HB3->Clone("reconoiseVarianceHB3"); + reconoiseVarianceHB3->Divide(reconoiseVariance1HB3,reconoiseVariance0HB3, 1, 1, "B"); + TH2F *reconoiseVariance1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB4"); + TH2F *reconoiseVariance0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + TH2F* reconoiseVarianceHB4 = (TH2F*)reconoiseVariance1HB4->Clone("reconoiseVarianceHB4"); + reconoiseVarianceHB4->Divide(reconoiseVariance1HB4,reconoiseVariance0HB4, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + //preparation for PHI normalization: + double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + reconoisevarianceHB[1][jeta][jphi] = reconoiseVarianceHB2->GetBinContent(jeta+1,jphi+1); + reconoisevarianceHB[2][jeta][jphi] = reconoiseVarianceHB3->GetBinContent(jeta+1,jphi+1); + reconoisevarianceHB[3][jeta][jphi] = reconoiseVarianceHB4->GetBinContent(jeta+1,jphi+1); + if(reconoisevarianceHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += reconoisevarianceHB[0][jeta][jphi];++nsumreconoiseHB0;} + if(reconoisevarianceHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += reconoisevarianceHB[1][jeta][jphi];++nsumreconoiseHB1;} + if(reconoisevarianceHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += reconoisevarianceHB[2][jeta][jphi];++nsumreconoiseHB2;} + if(reconoisevarianceHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += reconoisevarianceHB[3][jeta][jphi];++nsumreconoiseHB3;} + }// phi + // PHI normalization : + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDreconoiseHB42D = new TH2F("DefzDreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHB42D0 = new TH2F("DefzDreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHB42DF = (TH2F*)DefzDreconoiseHB42D0->Clone("DefzDreconoiseHB42DF"); + for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 + if(areconoiseHB[i][jeta][jphi]>0.) {DefzDreconoiseHB42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHB42D0 ->Fill(kkk,jphi,1.); } + }}}} + DefzDreconoiseHB42DF->Divide(DefzDreconoiseHB42D,DefzDreconoiseHB42D0, 1, 1, "B");// average A + // DefzDreconoiseHB1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB42DF->SetMarkerStyle(20); DefzDreconoiseHB42DF->SetMarkerSize(0.4); DefzDreconoiseHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHB42DF->SetYTitle(" #phi \b"); DefzDreconoiseHB42DF->SetZTitle("_depth \b"); DefzDreconoiseHB42DF->SetMarkerColor(2); DefzDreconoiseHB42DF->SetLineColor(0); // DefzDreconoiseHB42DF->SetMaximum(1.000); // DefzDreconoiseHB42DF->SetMinimum(1.0); + DefzDreconoiseHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHB42D) delete DefzDreconoiseHB42D; + if (DefzDreconoiseHB42D0) delete DefzDreconoiseHB42D0; + if (DefzDreconoiseHB42DF) delete DefzDreconoiseHB42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDreconoiseHB41D = new TH1F("DefzDreconoiseHB41D","", nphi, 0., 72. ); + TH1F* DefzDreconoiseHB41D0 = new TH1F("DefzDreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* DefzDreconoiseHB41DF = (TH1F*)DefzDreconoiseHB41D0->Clone("DefzDreconoiseHB41DF"); + + for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int i=0;i0.) {DefzDreconoiseHB41D ->Fill(jphi,ccc1); DefzDreconoiseHB41D0 ->Fill(jphi,1.); } + }}}} + // DefzDreconoiseHB41D->Sumw2();DefzDreconoiseHB41D0->Sumw2(); + + DefzDreconoiseHB41DF->Divide(DefzDreconoiseHB41D,DefzDreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB41DF->SetMarkerStyle(20); DefzDreconoiseHB41DF->SetMarkerSize(1.4); DefzDreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB41DF->SetXTitle("#phi \b"); DefzDreconoiseHB41DF->SetYTitle(" \b"); DefzDreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHB41DF->SetMarkerColor(4); DefzDreconoiseHB41DF->SetLineColor(4); //DefzDreconoiseHB41DF->SetMinimum(0.8); DefzDreconoiseHB41DF->SetMinimum(-0.015); + DefzDreconoiseHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DreconoiseGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (DefzDreconoiseHB41D) delete DefzDreconoiseHB41D; + if (DefzDreconoiseHB41D0) delete DefzDreconoiseHB41D0; + if (DefzDreconoiseHB41DF) delete DefzDreconoiseHB41DF; + + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD1=1; + TH1F* h2CeffHBpositivedirectionReconoiseD1 = new TH1F("h2CeffHBpositivedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD1 == 1) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 2) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 3) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 4) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 5) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 6) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 7) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 8) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 9) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==10) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==11) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==12) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==13) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==14) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==15) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==16) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseD1->Draw("Error"); + kcountHBpositivedirectionReconoiseD1++; + if(kcountHBpositivedirectionReconoiseD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD1) delete h2CeffHBpositivedirectionReconoiseD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD2=1; + TH1F* h2CeffHBpositivedirectionReconoiseD2 = new TH1F("h2CeffHBpositivedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD2 == 1) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 2) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 3) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 4) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 5) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 6) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 7) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 8) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 9) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==10) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==11) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==12) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==13) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==14) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==15) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==16) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseD2->Draw("Error"); + kcountHBpositivedirectionReconoiseD2++; + if(kcountHBpositivedirectionReconoiseD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD2) delete h2CeffHBpositivedirectionReconoiseD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD3=1; + TH1F* h2CeffHBpositivedirectionReconoiseD3 = new TH1F("h2CeffHBpositivedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD3 == 1) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 2) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 3) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 4) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 5) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 6) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 7) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 8) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 9) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==10) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==11) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==12) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==13) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==14) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==15) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==16) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseD3->Draw("Error"); + kcountHBpositivedirectionReconoiseD3++; + if(kcountHBpositivedirectionReconoiseD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD3) delete h2CeffHBpositivedirectionReconoiseD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD4=1; + TH1F* h2CeffHBpositivedirectionReconoiseD4 = new TH1F("h2CeffHBpositivedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD4 == 1) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 2) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 3) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 4) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 5) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 6) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 7) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 8) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 9) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==10) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==11) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==12) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==13) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==14) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==15) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==16) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseD4->Draw("Error"); + kcountHBpositivedirectionReconoiseD4++; + if(kcountHBpositivedirectionReconoiseD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD4) delete h2CeffHBpositivedirectionReconoiseD4; + + + //========================================================================================== 22214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD1=1; + TH1F* h2CeffHBnegativedirectionReconoiseD1 = new TH1F("h2CeffHBnegativedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD1 == 1) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 2) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 3) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 4) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 5) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 6) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 7) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 8) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 9) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==10) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==11) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==12) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==13) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==14) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==15) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==16) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); + HBnegativedirectionReconoiseD1->Draw("Error"); + kcountHBnegativedirectionReconoiseD1++; + if(kcountHBnegativedirectionReconoiseD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD1) delete h2CeffHBnegativedirectionReconoiseD1; + //========================================================================================== 22215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD2=1; + TH1F* h2CeffHBnegativedirectionReconoiseD2 = new TH1F("h2CeffHBnegativedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD2 == 1) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 2) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 3) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 4) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 5) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 6) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 7) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 8) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 9) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==10) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==11) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==12) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==13) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==14) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==15) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==16) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); + HBnegativedirectionReconoiseD2->Draw("Error"); + kcountHBnegativedirectionReconoiseD2++; + if(kcountHBnegativedirectionReconoiseD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD2) delete h2CeffHBnegativedirectionReconoiseD2; + //========================================================================================== 22216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD3=1; + TH1F* h2CeffHBnegativedirectionReconoiseD3 = new TH1F("h2CeffHBnegativedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD3 == 1) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 2) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 3) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 4) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 5) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 6) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 7) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 8) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 9) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==10) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==11) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==12) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==13) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==14) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==15) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==16) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); + HBnegativedirectionReconoiseD3->Draw("Error"); + kcountHBnegativedirectionReconoiseD3++; + if(kcountHBnegativedirectionReconoiseD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD3) delete h2CeffHBnegativedirectionReconoiseD3; + //========================================================================================== 22217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD4=1; + TH1F* h2CeffHBnegativedirectionReconoiseD4 = new TH1F("h2CeffHBnegativedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD4 == 1) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 2) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 3) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 4) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 5) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 6) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 7) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 8) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 9) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==10) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==11) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==12) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==13) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==14) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==15) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==16) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); + HBnegativedirectionReconoiseD4->Draw("Error"); + kcountHBnegativedirectionReconoiseD4++; + if(kcountHBnegativedirectionReconoiseD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD4) delete h2CeffHBnegativedirectionReconoiseD4; + + + + + //===================================================================== END of Reconoise HB for phi-symmetry + //===================================================================== END of Reconoise HB for phi-symmetry + //===================================================================== END of Reconoise HB for phi-symmetry + + + + + + + + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double areconoisehe[ndepth][njeta][njphi]; + double breconoisehe[ndepth][njeta][njphi]; + double reconoisevariancehe[ndepth][njeta][njphi]; + //////////////////////////////////////////////////////////////////////////////////////////////////////////// + TH2F *recNoiseEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE1"); + TH2F *recNoiseEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + TH2F* recNoiseEnergyHE1 = (TH2F*)recNoiseEnergy1HE1->Clone("recNoiseEnergyHE1"); + recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1,recNoiseEnergy0HE1, 1, 1, "B"); + TH2F *recNoiseEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE2"); + TH2F *recNoiseEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + TH2F* recNoiseEnergyHE2 = (TH2F*)recNoiseEnergy1HE2->Clone("recNoiseEnergyHE2"); + recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2,recNoiseEnergy0HE2, 1, 1, "B"); + TH2F *recNoiseEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE3"); + TH2F *recNoiseEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + TH2F* recNoiseEnergyHE3 = (TH2F*)recNoiseEnergy1HE3->Clone("recNoiseEnergyHE3"); + recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3,recNoiseEnergy0HE3, 1, 1, "B"); + TH2F *recNoiseEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE4"); + TH2F *recNoiseEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + TH2F* recNoiseEnergyHE4 = (TH2F*)recNoiseEnergy1HE4->Clone("recNoiseEnergyHE4"); + recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4,recNoiseEnergy0HE4, 1, 1, "B"); + TH2F *recNoiseEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE5"); + TH2F *recNoiseEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + TH2F* recNoiseEnergyHE5 = (TH2F*)recNoiseEnergy1HE5->Clone("recNoiseEnergyHE5"); + recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5,recNoiseEnergy0HE5, 1, 1, "B"); + TH2F *recNoiseEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE6"); + TH2F *recNoiseEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + TH2F* recNoiseEnergyHE6 = (TH2F*)recNoiseEnergy1HE6->Clone("recNoiseEnergyHE6"); + recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6,recNoiseEnergy0HE6, 1, 1, "B"); + TH2F *recNoiseEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE7"); + TH2F *recNoiseEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + TH2F* recNoiseEnergyHE7 = (TH2F*)recNoiseEnergy1HE7->Clone("recNoiseEnergyHE7"); + recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7,recNoiseEnergy0HE7, 1, 1, "B"); + for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + //====================================================================== PHI normalization & put R into massive areconoisehe + //preparation for PHI normalization: + double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; + double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + areconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); + areconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); + areconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); + areconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); + areconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); + areconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); + + breconoisehe[0][jeta][jphi] = recNoiseEnergyHE1->GetBinContent(jeta+1,jphi+1); + breconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); + breconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); + breconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); + breconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); + breconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); + breconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); + + if(areconoisehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += areconoisehe[0][jeta][jphi];++nsumreconoiseHE0;} + if(areconoisehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += areconoisehe[1][jeta][jphi];++nsumreconoiseHE1;} + if(areconoisehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += areconoisehe[2][jeta][jphi];++nsumreconoiseHE2;} + if(areconoisehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += areconoisehe[3][jeta][jphi];++nsumreconoiseHE3;} + if(areconoisehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += areconoisehe[4][jeta][jphi];++nsumreconoiseHE4;} + if(areconoisehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += areconoisehe[5][jeta][jphi];++nsumreconoiseHE5;} + if(areconoisehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += areconoisehe[6][jeta][jphi];++nsumreconoiseHE6;} + }// phi + + // PHI normalization for DIF: + for(int jphi=0;jphi= + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthes + //====================================================================== + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HE + //====================================================================== + c2x1->Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRreconoiseHE42D = new TH2F("GefzRreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHE42D0 = new TH2F("GefzRreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHE42DF = (TH2F*)GefzRreconoiseHE42D0->Clone("GefzRreconoiseHE42DF"); + for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHE42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzRreconoiseHE42DF->Divide(GefzRreconoiseHE42D,GefzRreconoiseHE42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHE42DF->SetYTitle(" #phi \b"); + GefzRreconoiseHE42DF->Draw("COLZ"); + + + c2x1->cd(2); + TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); + energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); + + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RreconoiseGeneralD2PhiSymmetryHE.png"); + c2x1->Clear(); + // clean-up + if (GefzRreconoiseHE42D) delete GefzRreconoiseHE42D; + if (GefzRreconoiseHE42D0) delete GefzRreconoiseHE42D0; + if (GefzRreconoiseHE42DF) delete GefzRreconoiseHE42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRreconoiseHE41D = new TH1F("GefzRreconoiseHE41D","", nphi, 0., 72. ); + TH1F* GefzRreconoiseHE41D0 = new TH1F("GefzRreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHE41DF = (TH1F*)GefzRreconoiseHE41D0->Clone("GefzRreconoiseHE41DF"); + for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHE41D0 ->Fill(jphi,1.); } + }}}} + GefzRreconoiseHE41DF->Divide(GefzRreconoiseHE41D,GefzRreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta + GefzRreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE41DF->SetMarkerStyle(20); GefzRreconoiseHE41DF->SetMarkerSize(1.4); GefzRreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHE41DF->SetXTitle("#phi \b"); GefzRreconoiseHE41DF->SetYTitle(" \b"); GefzRreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRreconoiseHE41DF->SetMarkerColor(4); GefzRreconoiseHE41DF->SetLineColor(4); // GefzRreconoiseHE41DF->SetMinimum(0.8); // GefzRreconoiseHE41DF->SetMaximum(1.000); + GefzRreconoiseHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RreconoiseGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (GefzRreconoiseHE41D) delete GefzRreconoiseHE41D; + if (GefzRreconoiseHE41D0) delete GefzRreconoiseHE41D0; + if (GefzRreconoiseHE41DF) delete GefzRreconoiseHE41DF; + + + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise1=1; + TH1F* h2CeffHEpositivedirectionReconoise1 = new TH1F("h2CeffHEpositivedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEpositivedirectionReconoise1 = "<SetMarkerColor(2);HEpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise1 == 1) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 2) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 3) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 4) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 5) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 6) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 7) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 8) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 9) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 ==10) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 ==11) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 ==12) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoise1->Draw("Error"); + kcountHEpositivedirectionReconoise1++; + if(kcountHEpositivedirectionReconoise1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 15 && jeta-41 <= 28 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise1) delete h2CeffHEpositivedirectionReconoise1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise2=1; + TH1F* h2CeffHEpositivedirectionReconoise2 = new TH1F("h2CeffHEpositivedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEpositivedirectionReconoise2 = "<SetMarkerColor(2);HEpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise2 == 1) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 2) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 3) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 4) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 5) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 6) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 7) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 8) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 9) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==10) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==11) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==12) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==13) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoise2->Draw("Error"); + kcountHEpositivedirectionReconoise2++; + if(kcountHEpositivedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise2) delete h2CeffHEpositivedirectionReconoise2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise3=1; + TH1F* h2CeffHEpositivedirectionReconoise3 = new TH1F("h2CeffHEpositivedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEpositivedirectionReconoise3 = "<SetMarkerColor(2);HEpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise3 == 1) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 2) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 3) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 4) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 5) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 6) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 7) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 8) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 9) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==10) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==11) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==12) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==13) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoise3->Draw("Error"); + kcountHEpositivedirectionReconoise3++; + if(kcountHEpositivedirectionReconoise3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise3) delete h2CeffHEpositivedirectionReconoise3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise4=1; + TH1F* h2CeffHEpositivedirectionReconoise4 = new TH1F("h2CeffHEpositivedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEpositivedirectionReconoise4 = "<SetMarkerColor(2);HEpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise4 == 1) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 2) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 3) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 4) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 5) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 6) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 7) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 8) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 9) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 ==10) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 ==11) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 ==12) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoise4->Draw("Error"); + kcountHEpositivedirectionReconoise4++; + if(kcountHEpositivedirectionReconoise4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise4) delete h2CeffHEpositivedirectionReconoise4; + //========================================================================================== 8 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise5=1; + TH1F* h2CeffHEpositivedirectionReconoise5 = new TH1F("h2CeffHEpositivedirectionReconoise5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise5 == 1) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 2) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 3) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 4) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 5) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 6) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 7) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 8) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 9) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 ==10) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 ==11) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoise5->Draw("Error"); + kcountHEpositivedirectionReconoise5++; + if(kcountHEpositivedirectionReconoise5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise5) delete h2CeffHEpositivedirectionReconoise5; + //========================================================================================== 9 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise6=1; + TH1F* h2CeffHEpositivedirectionReconoise6 = new TH1F("h2CeffHEpositivedirectionReconoise6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEpositivedirectionReconoise6 = "<SetMarkerColor(2);HEpositivedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise6 == 1) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 2) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 3) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 4) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 5) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 6) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 7) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 8) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 9) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 ==10) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoise6->Draw("Error"); + kcountHEpositivedirectionReconoise6++; + if(kcountHEpositivedirectionReconoise6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise6) delete h2CeffHEpositivedirectionReconoise6; + //========================================================================================== 10 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise7=1; + TH1F* h2CeffHEpositivedirectionReconoise7 = new TH1F("h2CeffHEpositivedirectionReconoise7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEpositivedirectionReconoise7 = "<SetMarkerColor(2);HEpositivedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise7 == 1) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionReconoise7 == 2) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionReconoise7 == 3) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoise7->Draw("Error"); + kcountHEpositivedirectionReconoise7++; + if(kcountHEpositivedirectionReconoise7>3) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise7) delete h2CeffHEpositivedirectionReconoise7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise1=1; + TH1F* h2CeffHEnegativedirectionReconoise1 = new TH1F("h2CeffHEnegativedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEnegativedirectionReconoise1 = "<SetMarkerColor(2);HEnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise1 == 1) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 2) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 3) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 4) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 5) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 6) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 7) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 8) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 9) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 ==10) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 ==11) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 ==12) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoise1->Draw("Error"); + kcountHEnegativedirectionReconoise1++; + if(kcountHEnegativedirectionReconoise1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise1) delete h2CeffHEnegativedirectionReconoise1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise2=1; + TH1F* h2CeffHEnegativedirectionReconoise2 = new TH1F("h2CeffHEnegativedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEnegativedirectionReconoise2 = "<SetMarkerColor(2);HEnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise2 == 1) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 2) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 3) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 4) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 5) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 6) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 7) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 8) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 9) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==10) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==11) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==12) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==13) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoise2->Draw("Error"); + kcountHEnegativedirectionReconoise2++; + if(kcountHEnegativedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise2) delete h2CeffHEnegativedirectionReconoise2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise3=1; + TH1F* h2CeffHEnegativedirectionReconoise3 = new TH1F("h2CeffHEnegativedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEnegativedirectionReconoise3 = "<SetMarkerColor(2);HEnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise3 == 1) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 2) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 3) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 4) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 5) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 6) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 7) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 8) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 9) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==10) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==11) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==12) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==13) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoise3->Draw("Error"); + kcountHEnegativedirectionReconoise3++; + if(kcountHEnegativedirectionReconoise3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise3) delete h2CeffHEnegativedirectionReconoise3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise4=1; + TH1F* h2CeffHEnegativedirectionReconoise4 = new TH1F("h2CeffHEnegativedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEnegativedirectionReconoise4 = "<SetMarkerColor(2);HEnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise4 == 1) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 2) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 3) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 4) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 5) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 6) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 7) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 8) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 9) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 ==10) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 ==11) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 ==12) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoise4->Draw("Error"); + kcountHEnegativedirectionReconoise4++; + if(kcountHEnegativedirectionReconoise4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise4) delete h2CeffHEnegativedirectionReconoise4; + //========================================================================================== 1118 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise5=1; + TH1F* h2CeffHEnegativedirectionReconoise5 = new TH1F("h2CeffHEnegativedirectionReconoise5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise5 == 1) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 2) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 3) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 4) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 5) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 6) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 7) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 8) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 9) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 ==10) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 ==11) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoise5->Draw("Error"); + kcountHEnegativedirectionReconoise5++; + if(kcountHEnegativedirectionReconoise5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise5) delete h2CeffHEnegativedirectionReconoise5; + //========================================================================================== 1119 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise6=1; + TH1F* h2CeffHEnegativedirectionReconoise6 = new TH1F("h2CeffHEnegativedirectionReconoise6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEnegativedirectionReconoise6 = "<SetMarkerColor(2);HEnegativedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise6 == 1) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 2) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 3) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 4) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 5) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 6) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 7) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 8) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 9) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 ==10) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoise6->Draw("Error"); + kcountHEnegativedirectionReconoise6++; + if(kcountHEnegativedirectionReconoise6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise6) delete h2CeffHEnegativedirectionReconoise6; + //========================================================================================== 11110 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise7=1; + TH1F* h2CeffHEnegativedirectionReconoise7 = new TH1F("h2CeffHEnegativedirectionReconoise7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEnegativedirectionReconoise7 = "<SetMarkerColor(2);HEnegativedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise7 == 1) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionReconoise7 == 2) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionReconoise7 == 3) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoise7->Draw("Error"); + kcountHEnegativedirectionReconoise7++; + if(kcountHEnegativedirectionReconoise7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise7) delete h2CeffHEnegativedirectionReconoise7; + + //====================================================================================================================== + //====================================================================================================================== + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //====================================================================================================================== + // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HE + //====================================================================================================================== + //====================================================================== + c2x1->Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzDIFreconoiseHE42D = new TH2F("GefzDIFreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHE42D0 = new TH2F("GefzDIFreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHE42DF = (TH2F*)GefzDIFreconoiseHE42D0->Clone("GefzDIFreconoiseHE42DF"); + for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzDIFreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHE42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzDIFreconoiseHE42DF->Divide(GefzDIFreconoiseHE42D,GefzDIFreconoiseHE42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHE42DF->SetYTitle(" #phi \b"); + GefzDIFreconoiseHE42DF->Draw("COLZ"); + + + //c2x1->cd(2); + //TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); + //energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); + + + + + ///////////////// + c2x1->Update(); + c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHE.png"); + c2x1->Clear(); + // clean-up + if (GefzDIFreconoiseHE42D) delete GefzDIFreconoiseHE42D; + if (GefzDIFreconoiseHE42D0) delete GefzDIFreconoiseHE42D0; + if (GefzDIFreconoiseHE42DF) delete GefzDIFreconoiseHE42DF; + //====================================================================== 1D plot: DIF vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: DIF vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzDIFreconoiseHE41D = new TH1F("GefzDIFreconoiseHE41D","", nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHE41D0 = new TH1F("GefzDIFreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHE41DF = (TH1F*)GefzDIFreconoiseHE41D0->Clone("GefzDIFreconoiseHE41DF"); + for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHE41D0 ->Fill(jphi,1.); } + }}}} + GefzDIFreconoiseHE41DF->Divide(GefzDIFreconoiseHE41D,GefzDIFreconoiseHE41D0, 1, 1, "B");// DIF averaged over depthes & eta + GefzDIFreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE41DF->SetMarkerStyle(20); GefzDIFreconoiseHE41DF->SetMarkerSize(1.4); GefzDIFreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHE41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHE41DF->SetYTitle(" \b"); GefzDIFreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzDIFreconoiseHE41DF->SetMarkerColor(4); GefzDIFreconoiseHE41DF->SetLineColor(4); // GefzDIFreconoiseHE41DF->SetMinimum(0.8); // GefzDIFreconoiseHE41DF->SetMaximum(1.000); + GefzDIFreconoiseHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (GefzDIFreconoiseHE41D) delete GefzDIFreconoiseHE41D; + if (GefzDIFreconoiseHE41D0) delete GefzDIFreconoiseHE41D0; + if (GefzDIFreconoiseHE41DF) delete GefzDIFreconoiseHE41DF; + + + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF1=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF1 == 1) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 2) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 3) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 4) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 5) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 6) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 7) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 8) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 9) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 ==10) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 ==11) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 ==12) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF1++; + if(kcountHEpositivedirectionReconoiseDIF1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 15 && jeta-41 <= 28 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF1) delete h2CeffHEpositivedirectionReconoiseDIF1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF2=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF2 == 1) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 2) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 3) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 4) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 5) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 6) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 7) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 8) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 9) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==10) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==11) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==12) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==13) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF2++; + if(kcountHEpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF2) delete h2CeffHEpositivedirectionReconoiseDIF2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF3=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF3 == 1) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 2) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 3) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 4) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 5) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 6) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 7) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 8) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 9) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==10) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==11) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==12) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==13) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF3++; + if(kcountHEpositivedirectionReconoiseDIF3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF3) delete h2CeffHEpositivedirectionReconoiseDIF3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF4=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF4 == 1) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 2) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 3) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 4) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 5) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 6) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 7) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 8) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 9) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 ==10) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 ==11) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 ==12) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF4++; + if(kcountHEpositivedirectionReconoiseDIF4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF4) delete h2CeffHEpositivedirectionReconoiseDIF4; + //========================================================================================== 8 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF5=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF5 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF5 == 1) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 2) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 3) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 4) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 5) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 6) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 7) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 8) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 9) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 ==10) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 ==11) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseDIF5->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF5++; + if(kcountHEpositivedirectionReconoiseDIF5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF5) delete h2CeffHEpositivedirectionReconoiseDIF5; + //========================================================================================== 9 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF6=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF6 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEpositivedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF6 == 1) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 2) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 3) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 4) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 5) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 6) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 7) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 8) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 9) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 ==10) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseDIF6->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF6++; + if(kcountHEpositivedirectionReconoiseDIF6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF6) delete h2CeffHEpositivedirectionReconoiseDIF6; + //========================================================================================== 10 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF7=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF7 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEpositivedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF7 == 1) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseDIF7 == 2) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseDIF7 == 3) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseDIF7->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF7++; + if(kcountHEpositivedirectionReconoiseDIF7>3) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF7) delete h2CeffHEpositivedirectionReconoiseDIF7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF1=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF1 == 1) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 2) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 3) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 4) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 5) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 6) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 7) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 8) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 9) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 ==10) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 ==11) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 ==12) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF1++; + if(kcountHEnegativedirectionReconoiseDIF1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF1) delete h2CeffHEnegativedirectionReconoiseDIF1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF2=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF2 == 1) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 2) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 3) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 4) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 5) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 6) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 7) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 8) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 9) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==10) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==11) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==12) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==13) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF2++; + if(kcountHEnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF2) delete h2CeffHEnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF3=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF3 == 1) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 2) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 3) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 4) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 5) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 6) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 7) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 8) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 9) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==10) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==11) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==12) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==13) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF3++; + if(kcountHEnegativedirectionReconoiseDIF3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF3) delete h2CeffHEnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF4=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF4 == 1) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 2) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 3) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 4) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 5) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 6) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 7) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 8) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 9) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 ==10) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 ==11) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 ==12) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF4++; + if(kcountHEnegativedirectionReconoiseDIF4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF4) delete h2CeffHEnegativedirectionReconoiseDIF4; + //========================================================================================== 1118 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF5=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF5 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF5 == 1) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 2) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 3) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 4) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 5) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 6) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 7) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 8) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 9) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 ==10) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 ==11) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseDIF5->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF5++; + if(kcountHEnegativedirectionReconoiseDIF5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF5) delete h2CeffHEnegativedirectionReconoiseDIF5; + //========================================================================================== 1119 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF6=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF6 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEnegativedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF6 == 1) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 2) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 3) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 4) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 5) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 6) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 7) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 8) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 9) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 ==10) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseDIF6->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF6++; + if(kcountHEnegativedirectionReconoiseDIF6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF6) delete h2CeffHEnegativedirectionReconoiseDIF6; + //========================================================================================== 11110 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF7=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF7 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEnegativedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF7 == 1) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseDIF7 == 2) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseDIF7 == 3) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseDIF7->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF7++; + if(kcountHEnegativedirectionReconoiseDIF7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF7) delete h2CeffHEnegativedirectionReconoiseDIF7; + + //====================================================================================================================== + //====================================================================================================================== + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HE1"); + TH2F *reconoiseVariance0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + TH2F* reconoiseVarianceHE1 = (TH2F*)reconoiseVariance1HE1->Clone("reconoiseVarianceHE1"); + reconoiseVarianceHE1->Divide(reconoiseVariance1HE1,reconoiseVariance0HE1, 1, 1, "B"); + TH2F *reconoiseVariance1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE2"); + TH2F *reconoiseVariance0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + TH2F* reconoiseVarianceHE2 = (TH2F*)reconoiseVariance1HE2->Clone("reconoiseVarianceHE2"); + reconoiseVarianceHE2->Divide(reconoiseVariance1HE2,reconoiseVariance0HE2, 1, 1, "B"); + TH2F *reconoiseVariance1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE3"); + TH2F *reconoiseVariance0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + TH2F* reconoiseVarianceHE3 = (TH2F*)reconoiseVariance1HE3->Clone("reconoiseVarianceHE3"); + reconoiseVarianceHE3->Divide(reconoiseVariance1HE3,reconoiseVariance0HE3, 1, 1, "B"); + TH2F *reconoiseVariance1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE4"); + TH2F *reconoiseVariance0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + TH2F* reconoiseVarianceHE4 = (TH2F*)reconoiseVariance1HE4->Clone("reconoiseVarianceHE4"); + reconoiseVarianceHE4->Divide(reconoiseVariance1HE4,reconoiseVariance0HE4, 1, 1, "B"); + TH2F *reconoiseVariance1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE5"); + TH2F *reconoiseVariance0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + TH2F* reconoiseVarianceHE5 = (TH2F*)reconoiseVariance1HE5->Clone("reconoiseVarianceHE5"); + reconoiseVarianceHE5->Divide(reconoiseVariance1HE5,reconoiseVariance0HE5, 1, 1, "B"); + TH2F *reconoiseVariance1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE6"); + TH2F *reconoiseVariance0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + TH2F* reconoiseVarianceHE6 = (TH2F*)reconoiseVariance1HE6->Clone("reconoiseVarianceHE6"); + reconoiseVarianceHE6->Divide(reconoiseVariance1HE6,reconoiseVariance0HE6, 1, 1, "B"); + TH2F *reconoiseVariance1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE7"); + TH2F *reconoiseVariance0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + TH2F* reconoiseVarianceHE7 = (TH2F*)reconoiseVariance1HE7->Clone("reconoiseVarianceHE7"); + reconoiseVarianceHE7->Divide(reconoiseVariance1HE7,reconoiseVariance0HE7, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + //preparation for PHI normalization: + double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; + double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + reconoisevariancehe[1][jeta][jphi] = reconoiseVarianceHE2->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[2][jeta][jphi] = reconoiseVarianceHE3->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[3][jeta][jphi] = reconoiseVarianceHE4->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[4][jeta][jphi] = reconoiseVarianceHE5->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[5][jeta][jphi] = reconoiseVarianceHE6->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[6][jeta][jphi] = reconoiseVarianceHE7->GetBinContent(jeta+1,jphi+1); + if(reconoisevariancehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += reconoisevariancehe[0][jeta][jphi];++nsumreconoiseHE0;} + if(reconoisevariancehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += reconoisevariancehe[1][jeta][jphi];++nsumreconoiseHE1;} + if(reconoisevariancehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += reconoisevariancehe[2][jeta][jphi];++nsumreconoiseHE2;} + if(reconoisevariancehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += reconoisevariancehe[3][jeta][jphi];++nsumreconoiseHE3;} + if(reconoisevariancehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += reconoisevariancehe[4][jeta][jphi];++nsumreconoiseHE4;} + if(reconoisevariancehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += reconoisevariancehe[5][jeta][jphi];++nsumreconoiseHE5;} + if(reconoisevariancehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += reconoisevariancehe[6][jeta][jphi];++nsumreconoiseHE6;} + }// phi + // PHI normalization : + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDreconoiseHE42D = new TH2F("DefzDreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHE42D0 = new TH2F("DefzDreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHE42DF = (TH2F*)DefzDreconoiseHE42D0->Clone("DefzDreconoiseHE42DF"); + for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 + if(areconoisehe[i][jeta][jphi]>0.) {DefzDreconoiseHE42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHE42D0 ->Fill(kkk,jphi,1.); } + }}}} + DefzDreconoiseHE42DF->Divide(DefzDreconoiseHE42D,DefzDreconoiseHE42D0, 1, 1, "B");// average A + // DefzDreconoiseHE1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE42DF->SetMarkerStyle(20); DefzDreconoiseHE42DF->SetMarkerSize(0.4); DefzDreconoiseHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHE42DF->SetYTitle(" #phi \b"); DefzDreconoiseHE42DF->SetZTitle("_depth \b"); DefzDreconoiseHE42DF->SetMarkerColor(2); DefzDreconoiseHE42DF->SetLineColor(0); // DefzDreconoiseHE42DF->SetMaximum(1.000); // DefzDreconoiseHE42DF->SetMinimum(1.0); + DefzDreconoiseHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHE42D) delete DefzDreconoiseHE42D; + if (DefzDreconoiseHE42D0) delete DefzDreconoiseHE42D0; + if (DefzDreconoiseHE42DF) delete DefzDreconoiseHE42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDreconoiseHE41D = new TH1F("DefzDreconoiseHE41D","", nphi, 0., 72. ); + TH1F* DefzDreconoiseHE41D0 = new TH1F("DefzDreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* DefzDreconoiseHE41DF = (TH1F*)DefzDreconoiseHE41D0->Clone("DefzDreconoiseHE41DF"); + + for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int i=0;i0.) {DefzDreconoiseHE41D ->Fill(jphi,ccc1); DefzDreconoiseHE41D0 ->Fill(jphi,1.); } + }}}} + // DefzDreconoiseHE41D->Sumw2();DefzDreconoiseHE41D0->Sumw2(); + + DefzDreconoiseHE41DF->Divide(DefzDreconoiseHE41D,DefzDreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta + DefzDreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE41DF->SetMarkerStyle(20); DefzDreconoiseHE41DF->SetMarkerSize(1.4); DefzDreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE41DF->SetXTitle("#phi \b"); DefzDreconoiseHE41DF->SetYTitle(" \b"); DefzDreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDreconoiseHE41DF->SetMarkerColor(4); DefzDreconoiseHE41DF->SetLineColor(4); // DefzDreconoiseHE41DF->SetMinimum(0.8); DefzDreconoiseHE41DF->SetMinimum(-0.015); + DefzDreconoiseHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DreconoiseGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (DefzDreconoiseHE41D) delete DefzDreconoiseHE41D; + if (DefzDreconoiseHE41D0) delete DefzDreconoiseHE41D0; + if (DefzDreconoiseHE41DF) delete DefzDreconoiseHE41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD1=1; + TH1F* h2CeffHEpositivedirectionReconoiseD1 = new TH1F("h2CeffHEpositivedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD1 == 1) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 2) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 3) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 4) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 5) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 6) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 7) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 8) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 9) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 ==10) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 ==11) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 ==12) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseD1->Draw("Error"); + kcountHEpositivedirectionReconoiseD1++; + if(kcountHEpositivedirectionReconoiseD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD1) delete h2CeffHEpositivedirectionReconoiseD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD2=1; + TH1F* h2CeffHEpositivedirectionReconoiseD2 = new TH1F("h2CeffHEpositivedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD2 == 1) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 2) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 3) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 4) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 5) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 6) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 7) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 8) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 9) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==10) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==11) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==12) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==13) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseD2->Draw("Error"); + kcountHEpositivedirectionReconoiseD2++; + if(kcountHEpositivedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD2) delete h2CeffHEpositivedirectionReconoiseD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD3=1; + TH1F* h2CeffHEpositivedirectionReconoiseD3 = new TH1F("h2CeffHEpositivedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD3 == 1) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 2) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 3) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 4) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 5) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 6) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 7) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 8) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 9) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==10) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==11) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==12) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==13) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseD3->Draw("Error"); + kcountHEpositivedirectionReconoiseD3++; + if(kcountHEpositivedirectionReconoiseD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD3) delete h2CeffHEpositivedirectionReconoiseD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD4=1; + TH1F* h2CeffHEpositivedirectionReconoiseD4 = new TH1F("h2CeffHEpositivedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD4 == 1) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 2) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 3) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 4) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 5) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 6) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 7) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 8) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 9) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 ==10) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 ==11) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 ==12) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseD4->Draw("Error"); + kcountHEpositivedirectionReconoiseD4++; + if(kcountHEpositivedirectionReconoiseD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD4) delete h2CeffHEpositivedirectionReconoiseD4; + //========================================================================================== 18 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD5=1; + TH1F* h2CeffHEpositivedirectionReconoiseD5 = new TH1F("h2CeffHEpositivedirectionReconoiseD5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEpositivedirectionReconoiseD5 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD5 == 1) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 2) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 3) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 4) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 5) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 6) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 7) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 8) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 9) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 ==10) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 ==11) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseD5->Draw("Error"); + kcountHEpositivedirectionReconoiseD5++; + if(kcountHEpositivedirectionReconoiseD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD5) delete h2CeffHEpositivedirectionReconoiseD5; + //========================================================================================== 19 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD6=1; + TH1F* h2CeffHEpositivedirectionReconoiseD6 = new TH1F("h2CeffHEpositivedirectionReconoiseD6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEpositivedirectionReconoiseD6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD6 == 1) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 2) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 3) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 4) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 5) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 6) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 7) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 8) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 9) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 ==10) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseD6->Draw("Error"); + kcountHEpositivedirectionReconoiseD6++; + if(kcountHEpositivedirectionReconoiseD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD6) delete h2CeffHEpositivedirectionReconoiseD6; + //========================================================================================== 20 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD7=1; + TH1F* h2CeffHEpositivedirectionReconoiseD7 = new TH1F("h2CeffHEpositivedirectionReconoiseD7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEpositivedirectionReconoiseD7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD7 == 1) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseD7 == 2) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseD7 == 3) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseD7->Draw("Error"); + kcountHEpositivedirectionReconoiseD7++; + if(kcountHEpositivedirectionReconoiseD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD7) delete h2CeffHEpositivedirectionReconoiseD7; + + + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD1=1; + TH1F* h2CeffHEnegativedirectionReconoiseD1 = new TH1F("h2CeffHEnegativedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD1 == 1) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 2) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 3) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 4) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 5) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 6) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 7) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 8) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 9) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 ==10) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 ==11) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 ==12) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseD1->Draw("Error"); + kcountHEnegativedirectionReconoiseD1++; + if(kcountHEnegativedirectionReconoiseD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD1) delete h2CeffHEnegativedirectionReconoiseD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD2=1; + TH1F* h2CeffHEnegativedirectionReconoiseD2 = new TH1F("h2CeffHEnegativedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD2 == 1) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 2) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 3) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 4) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 5) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 6) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 7) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 8) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 9) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==10) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==11) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==12) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==13) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseD2->Draw("Error"); + kcountHEnegativedirectionReconoiseD2++; + if(kcountHEnegativedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD2) delete h2CeffHEnegativedirectionReconoiseD2; + //========================================================================================== 22222216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD3=1; + TH1F* h2CeffHEnegativedirectionReconoiseD3 = new TH1F("h2CeffHEnegativedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD3 == 1) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 2) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 3) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 4) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 5) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 6) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 7) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 8) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 9) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==10) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==11) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==12) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==13) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseD3->Draw("Error"); + kcountHEnegativedirectionReconoiseD3++; + if(kcountHEnegativedirectionReconoiseD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD3) delete h2CeffHEnegativedirectionReconoiseD3; + //========================================================================================== 22222217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD4=1; + TH1F* h2CeffHEnegativedirectionReconoiseD4 = new TH1F("h2CeffHEnegativedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD4 == 1) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 2) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 3) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 4) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 5) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 6) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 7) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 8) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 9) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 ==10) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 ==11) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 ==12) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseD4->Draw("Error"); + kcountHEnegativedirectionReconoiseD4++; + if(kcountHEnegativedirectionReconoiseD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD4) delete h2CeffHEnegativedirectionReconoiseD4; + //========================================================================================== 22222218 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD5=1; + TH1F* h2CeffHEnegativedirectionReconoiseD5 = new TH1F("h2CeffHEnegativedirectionReconoiseD5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEnegativedirectionReconoiseD5 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD5 == 1) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 2) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 3) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 4) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 5) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 6) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 7) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 8) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 9) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 ==10) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 ==11) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseD5->Draw("Error"); + kcountHEnegativedirectionReconoiseD5++; + if(kcountHEnegativedirectionReconoiseD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD5) delete h2CeffHEnegativedirectionReconoiseD5; + //========================================================================================== 22222219 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD6=1; + TH1F* h2CeffHEnegativedirectionReconoiseD6 = new TH1F("h2CeffHEnegativedirectionReconoiseD6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEnegativedirectionReconoiseD6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD6 == 1) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 2) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 3) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 4) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 5) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 6) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 7) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 8) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 9) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 ==10) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseD6->Draw("Error"); + kcountHEnegativedirectionReconoiseD6++; + if(kcountHEnegativedirectionReconoiseD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD6) delete h2CeffHEnegativedirectionReconoiseD6; + //========================================================================================== 22222220 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD7=1; + TH1F* h2CeffHEnegativedirectionReconoiseD7 = new TH1F("h2CeffHEnegativedirectionReconoiseD7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEnegativedirectionReconoiseD7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD7 == 1) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseD7 == 2) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseD7 == 3) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseD7->Draw("Error"); + kcountHEnegativedirectionReconoiseD7++; + if(kcountHEnegativedirectionReconoiseD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD7) delete h2CeffHEnegativedirectionReconoiseD7; + //===================================================================== END of Reconoise HE for phi-symmetry + //===================================================================== END of Reconoise HE for phi-symmetry + //===================================================================== END of Reconoise HE for phi-symmetry + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double areconoiseHF[ndepth][njeta][njphi]; + double breconoiseHF[ndepth][njeta][njphi]; + double reconoisevarianceHF[ndepth][njeta][njphi]; + + + TH2F *recNoiseEnergy1HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF1"); + TH2F *recNoiseEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + TH2F* recNoiseEnergyHF1 = (TH2F*)recNoiseEnergy1HF1->Clone("recNoiseEnergyHF1"); + recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1,recNoiseEnergy0HF1, 1, 1, "B"); + TH2F *recNoiseEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF2"); + TH2F *recNoiseEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + TH2F* recNoiseEnergyHF2 = (TH2F*)recNoiseEnergy1HF2->Clone("recNoiseEnergyHF2"); + recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2,recNoiseEnergy0HF2, 1, 1, "B"); + //====================================================================== PHI normalization & put R into massive areconoiseHF + for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + //preparation for PHI normalization: + double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + areconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); + breconoiseHF[0][jeta][jphi] = recNoiseEnergyHF1->GetBinContent(jeta+1,jphi+1); + breconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); + sumreconoiseHF0 += areconoiseHF[0][jeta][jphi];++nsumreconoiseHF0; + sumreconoiseHF1 += areconoiseHF[1][jeta][jphi];++nsumreconoiseHF1; + }// phi + + // PHI normalization for DIF: + for(int jphi=0;jphiClear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRreconoiseHF42D = new TH2F("GefzRreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHF42D0 = new TH2F("GefzRreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHF42DF = (TH2F*)GefzRreconoiseHF42D0->Clone("GefzRreconoiseHF42DF"); + for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHF42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzRreconoiseHF42DF->Divide(GefzRreconoiseHF42D,GefzRreconoiseHF42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHF42DF->SetYTitle(" #phi \b"); + GefzRreconoiseHF42DF->Draw("COLZ"); + + + + c2x1->cd(2); + TH1F *energyhitNoise_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HF"); + energyhitNoise_HF ->SetMarkerStyle(20);energyhitNoise_HF ->SetMarkerSize(0.4);energyhitNoise_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HF ->SetXTitle("energyhitNoise_HF \b");energyhitNoise_HF ->SetMarkerColor(2);energyhitNoise_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HF ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RreconoiseGeneralD2PhiSymmetryHF.png"); + c2x1->Clear(); + // clean-up + if (GefzRreconoiseHF42D) delete GefzRreconoiseHF42D; + if (GefzRreconoiseHF42D0) delete GefzRreconoiseHF42D0; + if (GefzRreconoiseHF42DF) delete GefzRreconoiseHF42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRreconoiseHF41D = new TH1F("GefzRreconoiseHF41D","", nphi, 0., 72. ); + TH1F* GefzRreconoiseHF41D0 = new TH1F("GefzRreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHF41DF = (TH1F*)GefzRreconoiseHF41D0->Clone("GefzRreconoiseHF41DF"); + for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHF41D0 ->Fill(jphi,1.); } + }}}} + GefzRreconoiseHF41DF->Divide(GefzRreconoiseHF41D,GefzRreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF41DF->SetMarkerStyle(20); GefzRreconoiseHF41DF->SetMarkerSize(1.4); GefzRreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHF41DF->SetXTitle("#phi \b"); GefzRreconoiseHF41DF->SetYTitle(" \b"); GefzRreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHF41DF->SetMarkerColor(4); GefzRreconoiseHF41DF->SetLineColor(4);// GefzRreconoiseHF41DF->SetMinimum(0.8); // GefzRreconoiseHF41DF->SetMaximum(1.000); + GefzRreconoiseHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RreconoiseGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (GefzRreconoiseHF41D) delete GefzRreconoiseHF41D; + if (GefzRreconoiseHF41D0) delete GefzRreconoiseHF41D0; + if (GefzRreconoiseHF41DF) delete GefzRreconoiseHF41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoise1=1; + TH1F* h2CeffHFpositivedirectionReconoise1 = new TH1F("h2CeffHFpositivedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFpositivedirectionReconoise1 = "<SetMarkerColor(2);HFpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoise1 == 1) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 2) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 3) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 4) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 5) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 6) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 7) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 8) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 9) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==10) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==11) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==12) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==13) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoise1->Draw("Error"); + kcountHFpositivedirectionReconoise1++; + if(kcountHFpositivedirectionReconoise1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoise1) delete h2CeffHFpositivedirectionReconoise1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoise2=1; + TH1F* h2CeffHFpositivedirectionReconoise2 = new TH1F("h2CeffHFpositivedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFpositivedirectionReconoise2 = "<SetMarkerColor(2);HFpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoise2 == 1) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 2) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 3) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 4) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 5) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 6) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 7) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 8) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 9) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==10) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==11) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==12) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==13) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoise2->Draw("Error"); + kcountHFpositivedirectionReconoise2++; + if(kcountHFpositivedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoise2) delete h2CeffHFpositivedirectionReconoise2; + + //========================================================================================== 1111114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoise1=1; + TH1F* h2CeffHFnegativedirectionReconoise1 = new TH1F("h2CeffHFnegativedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFnegativedirectionReconoise1 = "<SetMarkerColor(2);HFnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoise1 == 1) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 2) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 3) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 4) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 5) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 6) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 7) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 8) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 9) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==10) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==11) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==12) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==13) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoise1->Draw("Error"); + kcountHFnegativedirectionReconoise1++; + if(kcountHFnegativedirectionReconoise1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoise1) delete h2CeffHFnegativedirectionReconoise1; + + + //========================================================================================== 1111115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoise2=1; + TH1F* h2CeffHFnegativedirectionReconoise2 = new TH1F("h2CeffHFnegativedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFnegativedirectionReconoise2 = "<SetMarkerColor(2);HFnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoise2 == 1) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 2) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 3) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 4) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 5) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 6) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 7) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 8) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 9) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==10) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==11) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==12) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==13) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoise2->Draw("Error"); + kcountHFnegativedirectionReconoise2++; + if(kcountHFnegativedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoise2) delete h2CeffHFnegativedirectionReconoise2; + + //====================================================================================================================== + // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HF + //------------------------ 2D-eta/phi-plot: DIF, averaged over depthfs + //====================================================================== + //====================================================================== +// cout<<" DIF2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzDIFreconoiseHF42D = new TH2F("GefzDIFreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHF42D0 = new TH2F("GefzDIFreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHF42DF = (TH2F*)GefzDIFreconoiseHF42D0->Clone("GefzDIFreconoiseHF42DF"); + for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzDIFreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHF42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzDIFreconoiseHF42DF->Divide(GefzDIFreconoiseHF42D,GefzDIFreconoiseHF42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHF42DF->SetYTitle(" #phi \b"); + GefzDIFreconoiseHF42DF->Draw("COLZ"); + + + + c2x1->cd(2); + // TH1F *energyhitNoiseCut_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoiseCut_HF"); + // energyhitNoiseCut_HF ->SetMarkerStyle(20);energyhitNoiseCut_HF ->SetMarkerSize(0.4);energyhitNoiseCut_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoiseCut_HF ->SetXTitle("energyhitNoiseCut_HF \b");energyhitNoiseCut_HF ->SetMarkerColor(2);energyhitNoiseCut_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoiseCut_HF ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHF.png"); + c2x1->Clear(); + // clean-up + if (GefzDIFreconoiseHF42D) delete GefzDIFreconoiseHF42D; + if (GefzDIFreconoiseHF42D0) delete GefzDIFreconoiseHF42D0; + if (GefzDIFreconoiseHF42DF) delete GefzDIFreconoiseHF42DF; + //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzDIFreconoiseHF41D = new TH1F("GefzDIFreconoiseHF41D","", nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHF41D0 = new TH1F("GefzDIFreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHF41DF = (TH1F*)GefzDIFreconoiseHF41D0->Clone("GefzDIFreconoiseHF41DF"); + for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHF41D0 ->Fill(jphi,1.); } + }}}} + GefzDIFreconoiseHF41DF->Divide(GefzDIFreconoiseHF41D,GefzDIFreconoiseHF41D0, 1, 1, "B");// DIF averaged over depthfs & eta + GefzDIFreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF41DF->SetMarkerStyle(20); GefzDIFreconoiseHF41DF->SetMarkerSize(1.4); GefzDIFreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHF41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHF41DF->SetYTitle(" \b"); GefzDIFreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHF41DF->SetMarkerColor(4); GefzDIFreconoiseHF41DF->SetLineColor(4);// GefzDIFreconoiseHF41DF->SetMinimum(0.8); // GefzDIFreconoiseHF41DF->SetMaximum(1.000); + GefzDIFreconoiseHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (GefzDIFreconoiseHF41D) delete GefzDIFreconoiseHF41D; + if (GefzDIFreconoiseHF41D0) delete GefzDIFreconoiseHF41D0; + if (GefzDIFreconoiseHF41DF) delete GefzDIFreconoiseHF41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseDIF1=1; + TH1F* h2CeffHFpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseDIF1 == 1) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 2) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 3) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 4) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 5) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 6) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 7) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 8) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 9) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==10) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==11) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==12) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==13) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF1++; + if(kcountHFpositivedirectionReconoiseDIF1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseDIF1) delete h2CeffHFpositivedirectionReconoiseDIF1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseDIF2=1; + TH1F* h2CeffHFpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseDIF2 == 1) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 2) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 3) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 4) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 5) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 6) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 7) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 8) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 9) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==10) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==11) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==12) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==13) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF2++; + if(kcountHFpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseDIF2) delete h2CeffHFpositivedirectionReconoiseDIF2; + + //========================================================================================== 1111114 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseDIF1=1; + TH1F* h2CeffHFnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseDIF1 == 1) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 2) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 3) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 4) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 5) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 6) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 7) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 8) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 9) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==10) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==11) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==12) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==13) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF1++; + if(kcountHFnegativedirectionReconoiseDIF1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseDIF1) delete h2CeffHFnegativedirectionReconoiseDIF1; + + + //========================================================================================== 1111115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseDIF2=1; + TH1F* h2CeffHFnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseDIF2 == 1) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 2) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 3) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 4) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 5) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 6) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 7) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 8) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 9) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==10) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==11) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==12) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==13) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF2++; + if(kcountHFnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseDIF2) delete h2CeffHFnegativedirectionReconoiseDIF2; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HF1"); + TH2F *reconoiseVariance0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + TH2F* reconoiseVarianceHF1 = (TH2F*)reconoiseVariance1HF1->Clone("reconoiseVarianceHF1"); + reconoiseVarianceHF1->Divide(reconoiseVariance1HF1,reconoiseVariance0HF1, 1, 1, "B"); + TH2F *reconoiseVariance1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HF2"); + TH2F *reconoiseVariance0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + TH2F* reconoiseVarianceHF2 = (TH2F*)reconoiseVariance1HF2->Clone("reconoiseVarianceHF2"); + reconoiseVarianceHF2->Divide(reconoiseVariance1HF2,reconoiseVariance0HF2, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + //preparation for PHI normalization: + double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + reconoisevarianceHF[1][jeta][jphi] = reconoiseVarianceHF2->GetBinContent(jeta+1,jphi+1); + sumreconoiseHF0 += reconoisevarianceHF[0][jeta][jphi];++nsumreconoiseHF0; + sumreconoiseHF1 += reconoisevarianceHF[1][jeta][jphi];++nsumreconoiseHF1; + }// phi + // PHI normalization : + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDreconoiseHF42D = new TH2F("DefzDreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHF42D0 = new TH2F("DefzDreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHF42DF = (TH2F*)DefzDreconoiseHF42D0->Clone("DefzDreconoiseHF42DF"); + for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 + if(areconoiseHF[i][jeta][jphi]>0.) {DefzDreconoiseHF42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHF42D0 ->Fill(kkk,jphi,1.); } + }}}} + DefzDreconoiseHF42DF->Divide(DefzDreconoiseHF42D,DefzDreconoiseHF42D0, 1, 1, "B");// average A + // DefzDreconoiseHF1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF42DF->SetMarkerStyle(20); DefzDreconoiseHF42DF->SetMarkerSize(0.4); DefzDreconoiseHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHF42DF->SetYTitle(" #phi \b"); DefzDreconoiseHF42DF->SetZTitle("_depth \b"); DefzDreconoiseHF42DF->SetMarkerColor(2); DefzDreconoiseHF42DF->SetLineColor(0); // DefzDreconoiseHF42DF->SetMaximum(1.000); // DefzDreconoiseHF42DF->SetMinimum(1.0); + DefzDreconoiseHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHF42D) delete DefzDreconoiseHF42D; + if (DefzDreconoiseHF42D0) delete DefzDreconoiseHF42D0; + if (DefzDreconoiseHF42DF) delete DefzDreconoiseHF42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDreconoiseHF41D = new TH1F("DefzDreconoiseHF41D","", nphi, 0., 72. ); + TH1F* DefzDreconoiseHF41D0 = new TH1F("DefzDreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* DefzDreconoiseHF41DF = (TH1F*)DefzDreconoiseHF41D0->Clone("DefzDreconoiseHF41DF"); + + for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int i=0;i0.) {DefzDreconoiseHF41D ->Fill(jphi,ccc1); DefzDreconoiseHF41D0 ->Fill(jphi,1.); } + }}}} + // DefzDreconoiseHF41D->Sumw2();DefzDreconoiseHF41D0->Sumw2(); + + DefzDreconoiseHF41DF->Divide(DefzDreconoiseHF41D,DefzDreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF41DF->SetMarkerStyle(20); DefzDreconoiseHF41DF->SetMarkerSize(1.4); DefzDreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF41DF->SetXTitle("#phi \b"); DefzDreconoiseHF41DF->SetYTitle(" \b"); DefzDreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHF41DF->SetMarkerColor(4); DefzDreconoiseHF41DF->SetLineColor(4);// DefzDreconoiseHF41DF->SetMinimum(0.8); DefzDreconoiseHF41DF->SetMinimum(-0.015); + DefzDreconoiseHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DreconoiseGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (DefzDreconoiseHF41D) delete DefzDreconoiseHF41D; + if (DefzDreconoiseHF41D0) delete DefzDreconoiseHF41D0; + if (DefzDreconoiseHF41DF) delete DefzDreconoiseHF41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseD1=1; + TH1F* h2CeffHFpositivedirectionReconoiseD1 = new TH1F("h2CeffHFpositivedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseD1 == 1) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 2) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 3) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 4) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 5) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 6) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 7) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 8) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 9) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==10) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==11) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==12) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==13) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseD1->Draw("Error"); + kcountHFpositivedirectionReconoiseD1++; + if(kcountHFpositivedirectionReconoiseD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseD1) delete h2CeffHFpositivedirectionReconoiseD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseD2=1; + TH1F* h2CeffHFpositivedirectionReconoiseD2 = new TH1F("h2CeffHFpositivedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseD2 == 1) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 2) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 3) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 4) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 5) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 6) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 7) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 8) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 9) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==10) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==11) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==12) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==13) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseD2->Draw("Error"); + kcountHFpositivedirectionReconoiseD2++; + if(kcountHFpositivedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseD2) delete h2CeffHFpositivedirectionReconoiseD2; + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseD1=1; + TH1F* h2CeffHFnegativedirectionReconoiseD1 = new TH1F("h2CeffHFnegativedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseD1 == 1) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 2) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 3) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 4) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 5) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 6) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 7) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 8) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 9) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==10) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==11) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==12) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==13) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseD1->Draw("Error"); + kcountHFnegativedirectionReconoiseD1++; + if(kcountHFnegativedirectionReconoiseD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseD1) delete h2CeffHFnegativedirectionReconoiseD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseD2=1; + TH1F* h2CeffHFnegativedirectionReconoiseD2 = new TH1F("h2CeffHFnegativedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseD2 == 1) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 2) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 3) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 4) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 5) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 6) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 7) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 8) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 9) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==10) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==11) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==12) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==13) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionReconoiseD2->Draw("Error"); + kcountHFnegativedirectionReconoiseD2++; + if(kcountHFnegativedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseD2) delete h2CeffHFnegativedirectionReconoiseD2; + + //===================================================================== END of Reconoise HF for phi-symmetry + //===================================================================== END of Reconoise HF for phi-symmetry + //===================================================================== END of Reconoise HF for phi-symmetry + //============================================================================================================ END of Reconoise for phi-symmetry + //============================================================================================================ END of Reconoise for phi-symmetry + //============================================================================================================ END of Reconoise for phi-symmetry + + //==================================================================================================================================================== END for phi-symmetry + //==================================================================================================================================================== END for phi-symmetry + //==================================================================================================================================================== END for phi-symmetry + //==================================================================================================================================================== + + + + +//====================================================================== +// Creating each test kind for each subdet html pages: + std::string raw_class, raw_class1, raw_class2, raw_class3; + int ind = 0; + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + ofstream htmlFileR,htmlFileN ; + if (sub==1) {htmlFileR.open("HB_PhiSymmetryRecoSignal.html");htmlFileN.open("HB_PhiSymmetryRecoNoise.html");} + if (sub==2) {htmlFileR.open("HE_PhiSymmetryRecoSignal.html");htmlFileN.open("HE_PhiSymmetryRecoNoise.html");} + + if (sub==4) {htmlFileR.open("HF_PhiSymmetryRecoSignal.html");htmlFileN.open("HF_PhiSymmetryRecoNoise.html");} + + + +////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: +////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: +////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + + htmlFileR << ""<< std::endl; + htmlFileR << ""<< std::endl; + htmlFileR << ""<< std::endl; + htmlFileR << " Remote Monitoring Tool "<< std::endl; + htmlFileR << ""<< std::endl; + htmlFileR << ""<< std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub==1) htmlFileR << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileR << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileR << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileR << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; +// htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileR << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileR << "

1C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

1D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

1E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

1F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

1G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

1H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

1I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

2: D(recosignalvarianceSignalhe)

"<< std::endl; + htmlFileR << "

2A: eta/phi-plot: D(recosignalvarianceSignalhe), averaged over depthes

"<< std::endl; +// htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

2B: D(recosignalvarianceSignalhe) vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileR << "

Positive direction, D(recosignalvarianceSignalhe)

"<< std::endl; + htmlFileR << "

2C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

2.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

2E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

2F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

2G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

2H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

2I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileR << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

3C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

3D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

3E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

3F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

3G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

3H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

3I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

4: Negative direction, D(recosignalvarianceSignalhe)

"<< std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

4C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

4.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

4E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

4F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

4G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

4H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

4I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + /////////////////////////////////////////// + htmlFileR.close(); + /////////////////////////////////////////// end of Recosignal + // +////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: +////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: +////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + + htmlFileN << ""<< std::endl; + htmlFileN << ""<< std::endl; + htmlFileN << ""<< std::endl; + htmlFileN << " Remote Monitoring Tool "<< std::endl; + htmlFileN << ""<< std::endl; + htmlFileN << ""<< std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub==1) htmlFileN << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileN << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileN << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileN << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; +// htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileN << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileN << "

1C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

1D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

1E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

1F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

1G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

1H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

1I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

2: D(reconoisevarianceNoisehe)

"<< std::endl; + htmlFileN << "

2A: eta/phi-plot: D(reconoisevarianceNoisehe), averaged over depthes

"<< std::endl; +// htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

2B: D(reconoisevarianceNoisehe) vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileN << "

Positive direction, D(reconoisevarianceNoisehe)

"<< std::endl; + htmlFileN << "

2C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

2.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

2E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

2F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

2G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

2H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

2I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileN << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

3C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

3D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

3E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

3F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

3G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

3H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

3I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

4: Negative direction, D(reconoisevarianceNoisehe)

"<< std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

4C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

4.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

4E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

4F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

4G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

4H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

4I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + /////////////////////////////////////////// + + + + /////////////////////////////////////////////// DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF + + if (sub==1) htmlFileN << "

Only for Noise RecHits these lines below, HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileN << "

Only for Noise RecHits these lines below, HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileN << "

Only for Noise RecHits these lines below, HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5: DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; + htmlFileN << "

5A: eta/phi-plot: DIF, averaged over depthes

"<< std::endl; +// htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5B: DIF vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// DIF PositiveDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Positive direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

1E: DIF vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// DIF NegativeDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Negative direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

5E: DIF vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// end of Reconoise + + // + // + htmlFileN.close(); + + /////////////////////////////////////////// end of Reconoise + /////////////////////////////////////////// end of Reconoise + + + + + + // + // + }// end sub //for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + + + +//====================================================================== + + std::cout<<"********"<"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << " Remote Monitoring Tool "<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + if (sub==1) htmlFile << "

HCAL BARREL, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFile << "

HCAL ENDCAP, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==3) htmlFile << "

HCAL OUTER, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFile << "

HCAL FORWARD, RUN = "<< runnumber <<"

"<< std::endl; + htmlFile << "
"<< std::endl; + if (sub==1) htmlFile << "

1. Analysis results for HB

"<< std::endl; + if (sub==2) htmlFile << "

1. Analysis results for HE

"<< std::endl; + if (sub==3) htmlFile << "

1. Analysis results for HO

"<< std::endl; + if (sub==4) htmlFile << "

1. Analysis results for HF

"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + + + if (sub==1) { + + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; +*/ + + + + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + + } + if (sub==2) { + + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + */ + + + + + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + + } + + + + if (sub==4) { + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + */ + + + + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + + } + + htmlFile << ""<< std::endl; + htmlFile << "
Phi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-SymmetryRecoSignalPhi-SymmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoise
"<< std::endl; + htmlFile << "
"<< std::endl; + + + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + } + +//====================================================================== + + + std::cout<<"********"<"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << " Remote Monitoring Tool "<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << "

Description of Remote Monitoring Tool criteria for bad channel selection

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- C means CAPID Errors assuming we inspect CAPID non-rotation,error & validation bits, and for this criterion - no need to apply any cuts to select bcs.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- A means full amplitude, collected over all time slices

"<< std::endl; + htmlFile << "

- R means ratio criterion where we define as a bad, the channels, for which the signal portion in 4 middle TSs(plus one, minus two around TS with maximal amplitude) is out of some range of reasonable values

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- W means width of shape distribution. Width is defined as square root from dispersion.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- TN means mean time position of adc signal.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- TX means TS number of maximum signal

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- m means megatile channels. For example Am means Amplitude criteria for megatile channels

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- c means calibration channels. For example Ac means Amplitude criteria for calibration channels

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- Pm means Pedestals.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- pWm means pedestal Width.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + +//====================================================================== + + std::cout<<"********"<"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << " Remote Monitoring Tool "<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + + htmlFile << "

Remote Monitoring Tool, RUN = "<< runnumber <<".

"<< std::endl; + htmlFile << "
"<< std::endl; + + htmlFile << "

1. Analysis results for subdetectors

"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; +*/ + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + htmlFile << ""<< std::endl; + htmlFile << "
HBHEHOHFHBHEHOHF
"<< std::endl; + htmlFile << "
"<< std::endl; + + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); +//====================================================================== + +//====================================================================== +// Close and delete all possible things: + hfile->Close(); +// hfile->Delete(); +// Exit Root + gSystem->Exit(0); +//====================================================================== + +} + + diff --git a/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSMTEST.cc b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSMTEST.cc new file mode 100644 index 0000000000000..e0f0336da09ea --- /dev/null +++ b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSMTEST.cc @@ -0,0 +1,10348 @@ +// How to run: ./RemoteMonitoringIMPSM.cc.exe root_file1 root_file_ref Global +// +// +// +// + + +#include "LogEleMapdb.h" + +#include +#include + +#include "TH1.h" +#include "TH2.h" +#include "TCanvas.h" +#include "TROOT.h" +#include +#include "TStyle.h" +#include "TSystem.h" +#include "TLegend.h" +#include "TText.h" +#include "TAxis.h" +#include "TFile.h" +#include "TLine.h" +#include "TGraph.h" + +using namespace std; +int +main(int argc, char *argv[]){ + std::string dirnm = "Analyzer"; + gROOT->Reset(); + gROOT->SetStyle("Plain"); + gStyle->SetOptStat(0); + gStyle->SetOptTitle(1); + // ok change + if(argc<3) return 1; + char fname[300]; + char refname[300]; + char runtypeC[300]; + sprintf(fname,"%s",argv[1]); + sprintf(refname,"%s",argv[2]); + sprintf(runtypeC,"%s",argv[3]); + // std::cout<ls(); + TDirectory *dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str()); + + // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny + + //====================================================================== + // Prepare histograms and plot them to .png files + + // Phi-symmetry for Calibration Group: + + TCanvas *c1x0 = new TCanvas("c1x0","c1x0",300,10,800,700); + + TCanvas *c1x1 = new TCanvas("c1x1","c1x1",100,10,600,700); + + TCanvas *c2x1 = new TCanvas("c2x1","c2x1",200,300,1600,800); + + TCanvas *c3x5 = new TCanvas("c3x5","c3x5",1000,1500); + // + + + char *str = (char*)alloca(10000); + + // before upgrade 2017: + // depth: HB depth1,2; HE depth1,2,3; HO depth4; HF depth1,2 + // 5 depthes: 0(empty), 1,2,3,4 + + // upgrade 2017: + // depth: HB depth1,2; HE depth1,2,3,4,5,6,7; HO depth4; HF depth1,2,3,4 + // 8 depthes: 0(empty), 1,2,3,4,5,6,7 + + // upgrade 2021: + // depth: HB depth1,2,3,4; HE depth1,2,3,4,5,6,7; HO depth4; HF depth1,2,3,4 + // 10 depthes: 0(empty), 1,2,3,4,5,6,7,8,9 + + // Int_t ALLDEPTH = 5; + // Int_t ALLDEPTH = 8; + Int_t ALLDEPTH = 10; + + int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + /////////////////////////////////////////////////////////////////////////////////////////////////////////////// + + const int nsub = 4; const int neta = 82; const int nphi = 72; + int njeta = neta; int njphi = nphi; + //const int ndepth = 7; + int ndepth; + ///////////// ///////////// ////////////////////////// ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: + ///////////// ///////////// ////////////////////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: + ///////////// ///////////// ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: + + + + + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double arecosignalHB[ndepth][njeta][njphi]; + double recosignalvarianceHB[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HB recSignalEnergy + TH2F *recSignalEnergy1HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB1"); + TH2F *recSignalEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + TH2F* recSignalEnergyHB1 = (TH2F*)recSignalEnergy1HB1->Clone("recSignalEnergyHB1"); + recSignalEnergyHB1->Divide(recSignalEnergy1HB1,recSignalEnergy0HB1, 1, 1, "B"); + TH2F *recSignalEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB2"); + TH2F *recSignalEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + TH2F* recSignalEnergyHB2 = (TH2F*)recSignalEnergy1HB2->Clone("recSignalEnergyHB2"); + recSignalEnergyHB2->Divide(recSignalEnergy1HB2,recSignalEnergy0HB2, 1, 1, "B"); + TH2F *recSignalEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB3"); + TH2F *recSignalEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + TH2F* recSignalEnergyHB3 = (TH2F*)recSignalEnergy1HB3->Clone("recSignalEnergyHB3"); + recSignalEnergyHB3->Divide(recSignalEnergy1HB3,recSignalEnergy0HB3, 1, 1, "B"); + TH2F *recSignalEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB4"); + TH2F *recSignalEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + TH2F* recSignalEnergyHB4 = (TH2F*)recSignalEnergy1HB4->Clone("recSignalEnergyHB4"); + recSignalEnergyHB4->Divide(recSignalEnergy1HB4,recSignalEnergy0HB4, 1, 1, "B"); + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + arecosignalHB[1][jeta][jphi] = recSignalEnergyHB2->GetBinContent(jeta+1,jphi+1); + arecosignalHB[2][jeta][jphi] = recSignalEnergyHB3->GetBinContent(jeta+1,jphi+1); + arecosignalHB[3][jeta][jphi] = recSignalEnergyHB4->GetBinContent(jeta+1,jphi+1); + if(arecosignalHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += arecosignalHB[0][jeta][jphi];++nsumrecosignalHB0;} + if(arecosignalHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += arecosignalHB[1][jeta][jphi];++nsumrecosignalHB1;} + if(arecosignalHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += arecosignalHB[2][jeta][jphi];++nsumrecosignalHB2;} + if(arecosignalHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += arecosignalHB[3][jeta][jphi];++nsumrecosignalHB3;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) arecosignalHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; + if(arecosignalHB[1][jeta][jphi] > 0.) arecosignalHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; + if(arecosignalHB[2][jeta][jphi] > 0.) arecosignalHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; + if(arecosignalHB[3][jeta][jphi] > 0.) arecosignalHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthfs + //====================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRrecosignalHB42D = new TH2F("GefzRrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHB42D0 = new TH2F("GefzRrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHB42DF = (TH2F*)GefzRrecosignalHB42D0->Clone("GefzRrecosignalHB42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRrecosignalHB42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHB42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRrecosignalHB42DF->Divide(GefzRrecosignalHB42D,GefzRrecosignalHB42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHB42DF->SetYTitle(" #phi \b"); + GefzRrecosignalHB42DF->Draw("COLZ"); + + c2x1->cd(2); + TH1F *energyhitSignal_HB= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HB"); + energyhitSignal_HB ->SetMarkerStyle(20);energyhitSignal_HB ->SetMarkerSize(0.4);energyhitSignal_HB ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HB ->SetXTitle("energyhitSignal_HB \b");energyhitSignal_HB ->SetMarkerColor(2);energyhitSignal_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HB ->Draw("Error"); + + ///////////////// + c2x1->Update(); + c2x1->Print("RrecosignalGeneralD2PhiSymmetryHB.png"); + c2x1->Clear(); + // clean-up + if (GefzRrecosignalHB42D) delete GefzRrecosignalHB42D; + if (GefzRrecosignalHB42D0) delete GefzRrecosignalHB42D0; + if (GefzRrecosignalHB42DF) delete GefzRrecosignalHB42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRrecosignalHB41D = new TH1F("GefzRrecosignalHB41D","", nphi, 0., 72. ); + TH1F* GefzRrecosignalHB41D0 = new TH1F("GefzRrecosignalHB41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHB41DF = (TH1F*)GefzRrecosignalHB41D0->Clone("GefzRrecosignalHB41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHB41D0 ->Fill(jphi,1.); } + }}} + GefzRrecosignalHB41DF->Divide(GefzRrecosignalHB41D,GefzRrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRrecosignalHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB41DF->SetMarkerStyle(20); GefzRrecosignalHB41DF->SetMarkerSize(1.4); GefzRrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHB41DF->SetXTitle("#phi \b"); GefzRrecosignalHB41DF->SetYTitle(" \b"); GefzRrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHB41DF->SetMarkerColor(4); GefzRrecosignalHB41DF->SetLineColor(4);// GefzRrecosignalHB41DF->SetMinimum(0.8); // GefzRrecosignalHB41DF->SetMaximum(1.000); + GefzRrecosignalHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RrecosignalGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (GefzRrecosignalHB41D) delete GefzRrecosignalHB41D; + if (GefzRrecosignalHB41D0) delete GefzRrecosignalHB41D0; + if (GefzRrecosignalHB41DF) delete GefzRrecosignalHB41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal1=1; + TH1F* h2CeffHBpositivedirectionRecosignal1 = new TH1F("h2CeffHBpositivedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBpositivedirectionRecosignal1 = "<SetMarkerColor(2);HBpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal1 == 1) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 2) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 3) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 4) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 5) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 6) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 7) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 8) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 9) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==10) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==11) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==12) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==13) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==14) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==15) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==16) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignal1->Draw("Error"); + kcountHBpositivedirectionRecosignal1++; + if(kcountHBpositivedirectionRecosignal1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal1) delete h2CeffHBpositivedirectionRecosignal1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal2=1; + TH1F* h2CeffHBpositivedirectionRecosignal2 = new TH1F("h2CeffHBpositivedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBpositivedirectionRecosignal2 = "<SetMarkerColor(2);HBpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal2 == 1) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 2) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 3) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 4) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 5) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 6) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 7) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 8) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 9) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==10) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==11) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==12) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==13) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==14) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==15) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==16) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignal2->Draw("Error"); + kcountHBpositivedirectionRecosignal2++; + if(kcountHBpositivedirectionRecosignal2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal2) delete h2CeffHBpositivedirectionRecosignal2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal3=1; + TH1F* h2CeffHBpositivedirectionRecosignal3 = new TH1F("h2CeffHBpositivedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBpositivedirectionRecosignal3 = "<SetMarkerColor(2);HBpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal3 == 1) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 2) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 3) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 4) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 5) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 6) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 7) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 8) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 9) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==10) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==11) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==12) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==13) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==14) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==15) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==16) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignal3->Draw("Error"); + kcountHBpositivedirectionRecosignal3++; + if(kcountHBpositivedirectionRecosignal3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal3) delete h2CeffHBpositivedirectionRecosignal3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal4=1; + TH1F* h2CeffHBpositivedirectionRecosignal4 = new TH1F("h2CeffHBpositivedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBpositivedirectionRecosignal4 = "<SetMarkerColor(2);HBpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal4 == 1) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 2) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 3) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 4) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 5) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 6) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 7) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 8) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 9) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==10) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==11) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==12) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==13) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==14) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==15) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==16) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignal4->Draw("Error"); + kcountHBpositivedirectionRecosignal4++; + if(kcountHBpositivedirectionRecosignal4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal4) delete h2CeffHBpositivedirectionRecosignal4; + + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal1=1; + TH1F* h2CeffHBnegativedirectionRecosignal1 = new TH1F("h2CeffHBnegativedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBnegativedirectionRecosignal1 = "<SetMarkerColor(2);HBnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal1 == 1) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 2) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 3) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 4) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 5) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 6) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 7) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 8) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 9) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==10) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==11) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==12) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==13) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==14) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==15) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==16) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignal1->Draw("Error"); + kcountHBnegativedirectionRecosignal1++; + if(kcountHBnegativedirectionRecosignal1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal1) delete h2CeffHBnegativedirectionRecosignal1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal2=1; + TH1F* h2CeffHBnegativedirectionRecosignal2 = new TH1F("h2CeffHBnegativedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBnegativedirectionRecosignal2 = "<SetMarkerColor(2);HBnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal2 == 1) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 2) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 3) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 4) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 5) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 6) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 7) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 8) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 9) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==10) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==11) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==12) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==13) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==14) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==15) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==16) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionRecosignal2->Draw("Error"); + kcountHBnegativedirectionRecosignal2++; + if(kcountHBnegativedirectionRecosignal2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal2) delete h2CeffHBnegativedirectionRecosignal2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal3=1; + TH1F* h2CeffHBnegativedirectionRecosignal3 = new TH1F("h2CeffHBnegativedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBnegativedirectionRecosignal3 = "<SetMarkerColor(2);HBnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal3 == 1) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 2) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 3) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 4) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 5) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 6) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 7) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 8) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 9) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==10) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==11) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==12) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==13) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==14) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==15) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==16) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionRecosignal3->Draw("Error"); + kcountHBnegativedirectionRecosignal3++; + if(kcountHBnegativedirectionRecosignal3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal3) delete h2CeffHBnegativedirectionRecosignal3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal4=1; + TH1F* h2CeffHBnegativedirectionRecosignal4 = new TH1F("h2CeffHBnegativedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBnegativedirectionRecosignal4 = "<SetMarkerColor(2);HBnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal4 == 1) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 2) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 3) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 4) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 5) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 6) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 7) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 8) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 9) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==10) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==11) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==12) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==13) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==14) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==15) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==16) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionRecosignal4->Draw("Error"); + kcountHBnegativedirectionRecosignal4++; + if(kcountHBnegativedirectionRecosignal4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal4) delete h2CeffHBnegativedirectionRecosignal4; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HB1"); + TH2F *recosignalVariance0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + TH2F* recosignalVarianceHB1 = (TH2F*)recosignalVariance1HB1->Clone("recosignalVarianceHB1"); + recosignalVarianceHB1->Divide(recosignalVariance1HB1,recosignalVariance0HB1, 1, 1, "B"); + TH2F *recosignalVariance1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB2"); + TH2F *recosignalVariance0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + TH2F* recosignalVarianceHB2 = (TH2F*)recosignalVariance1HB2->Clone("recosignalVarianceHB2"); + recosignalVarianceHB2->Divide(recosignalVariance1HB2,recosignalVariance0HB2, 1, 1, "B"); + TH2F *recosignalVariance1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB3"); + TH2F *recosignalVariance0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + TH2F* recosignalVarianceHB3 = (TH2F*)recosignalVariance1HB3->Clone("recosignalVarianceHB3"); + recosignalVarianceHB3->Divide(recosignalVariance1HB3,recosignalVariance0HB3, 1, 1, "B"); + TH2F *recosignalVariance1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB4"); + TH2F *recosignalVariance0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + TH2F* recosignalVarianceHB4 = (TH2F*)recosignalVariance1HB4->Clone("recosignalVarianceHB4"); + recosignalVarianceHB4->Divide(recosignalVariance1HB4,recosignalVariance0HB4, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + recosignalvarianceHB[1][jeta][jphi] = recosignalVarianceHB2->GetBinContent(jeta+1,jphi+1); + recosignalvarianceHB[2][jeta][jphi] = recosignalVarianceHB3->GetBinContent(jeta+1,jphi+1); + recosignalvarianceHB[3][jeta][jphi] = recosignalVarianceHB4->GetBinContent(jeta+1,jphi+1); + if(recosignalvarianceHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += recosignalvarianceHB[0][jeta][jphi];++nsumrecosignalHB0;} + if(recosignalvarianceHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += recosignalvarianceHB[1][jeta][jphi];++nsumrecosignalHB1;} + if(recosignalvarianceHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += recosignalvarianceHB[2][jeta][jphi];++nsumrecosignalHB2;} + if(recosignalvarianceHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += recosignalvarianceHB[3][jeta][jphi];++nsumrecosignalHB3;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) recosignalvarianceHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; + if(recosignalvarianceHB[1][jeta][jphi] > 0.) recosignalvarianceHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; + if(recosignalvarianceHB[2][jeta][jphi] > 0.) recosignalvarianceHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; + if(recosignalvarianceHB[3][jeta][jphi] > 0.) recosignalvarianceHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; + }// phi + // recosignalvarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDrecosignalHB42D = new TH2F("DefzDrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHB42D0 = new TH2F("DefzDrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHB42DF = (TH2F*)DefzDrecosignalHB42D0->Clone("DefzDrecosignalHB42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(arecosignalHB[i][jeta][jphi]>0.) {DefzDrecosignalHB42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHB42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDrecosignalHB42DF->Divide(DefzDrecosignalHB42D,DefzDrecosignalHB42D0, 1, 1, "B");// average A + // DefzDrecosignalHB1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB42DF->SetMarkerStyle(20); DefzDrecosignalHB42DF->SetMarkerSize(0.4); DefzDrecosignalHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHB42DF->SetYTitle(" #phi \b"); DefzDrecosignalHB42DF->SetZTitle("_depth \b"); DefzDrecosignalHB42DF->SetMarkerColor(2); DefzDrecosignalHB42DF->SetLineColor(0); // DefzDrecosignalHB42DF->SetMaximum(1.000); // DefzDrecosignalHB42DF->SetMinimum(1.0); + DefzDrecosignalHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHB42D) delete DefzDrecosignalHB42D; + if (DefzDrecosignalHB42D0) delete DefzDrecosignalHB42D0; + if (DefzDrecosignalHB42DF) delete DefzDrecosignalHB42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDrecosignalHB41D = new TH1F("DefzDrecosignalHB41D","", nphi, 0., 72. ); + TH1F* DefzDrecosignalHB41D0 = new TH1F("DefzDrecosignalHB41D0","",nphi, 0., 72. ); + TH1F* DefzDrecosignalHB41DF = (TH1F*)DefzDrecosignalHB41D0->Clone("DefzDrecosignalHB41DF"); + + for (int jphi=0;jphi0.) {DefzDrecosignalHB41D ->Fill(jphi,ccc1); DefzDrecosignalHB41D0 ->Fill(jphi,1.); } + }}} + // DefzDrecosignalHB41D->Sumw2();DefzDrecosignalHB41D0->Sumw2(); + + DefzDrecosignalHB41DF->Divide(DefzDrecosignalHB41D,DefzDrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDrecosignalHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB41DF->SetMarkerStyle(20); DefzDrecosignalHB41DF->SetMarkerSize(1.4); DefzDrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB41DF->SetXTitle("#phi \b"); DefzDrecosignalHB41DF->SetYTitle(" \b"); DefzDrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHB41DF->SetMarkerColor(4); DefzDrecosignalHB41DF->SetLineColor(4);// DefzDrecosignalHB41DF->SetMinimum(0.8); DefzDrecosignalHB41DF->SetMinimum(-0.015); + DefzDrecosignalHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DrecosignalGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (DefzDrecosignalHB41D) delete DefzDrecosignalHB41D; + if (DefzDrecosignalHB41D0) delete DefzDrecosignalHB41D0; + if (DefzDrecosignalHB41DF) delete DefzDrecosignalHB41DF; + + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD1=1; + TH1F* h2CeffHBpositivedirectionRecosignalD1 = new TH1F("h2CeffHBpositivedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD1 == 1) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 2) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 3) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 4) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 5) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 6) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 7) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 8) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 9) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==10) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==11) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==12) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==13) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==14) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==15) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==16) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignalD1->Draw("Error"); + kcountHBpositivedirectionRecosignalD1++; + if(kcountHBpositivedirectionRecosignalD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD1) delete h2CeffHBpositivedirectionRecosignalD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD2=1; + TH1F* h2CeffHBpositivedirectionRecosignalD2 = new TH1F("h2CeffHBpositivedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD2 == 1) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 2) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 3) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 4) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 5) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 6) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 7) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 8) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 9) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==10) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==11) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==12) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==13) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==14) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==15) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==16) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignalD2->Draw("Error"); + kcountHBpositivedirectionRecosignalD2++; + if(kcountHBpositivedirectionRecosignalD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD2) delete h2CeffHBpositivedirectionRecosignalD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD3=1; + TH1F* h2CeffHBpositivedirectionRecosignalD3 = new TH1F("h2CeffHBpositivedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD3 == 1) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 2) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 3) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 4) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 5) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 6) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 7) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 8) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 9) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==10) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==11) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==12) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==13) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==14) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==15) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==16) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignalD3->Draw("Error"); + kcountHBpositivedirectionRecosignalD3++; + if(kcountHBpositivedirectionRecosignalD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD3) delete h2CeffHBpositivedirectionRecosignalD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD4=1; + TH1F* h2CeffHBpositivedirectionRecosignalD4 = new TH1F("h2CeffHBpositivedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD4 == 1) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 2) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 3) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 4) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 5) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 6) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 7) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 8) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 9) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==10) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==11) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==12) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==13) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==14) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==15) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==16) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignalD4->Draw("Error"); + kcountHBpositivedirectionRecosignalD4++; + if(kcountHBpositivedirectionRecosignalD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD4) delete h2CeffHBpositivedirectionRecosignalD4; + + + //========================================================================================== 22214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD1=1; + TH1F* h2CeffHBnegativedirectionRecosignalD1 = new TH1F("h2CeffHBnegativedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD1 == 1) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 2) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 3) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 4) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 5) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 6) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 7) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 8) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 9) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==10) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==11) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==12) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==13) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==14) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==15) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==16) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignalD1->Draw("Error"); + kcountHBnegativedirectionRecosignalD1++; + if(kcountHBnegativedirectionRecosignalD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD1) delete h2CeffHBnegativedirectionRecosignalD1; + //========================================================================================== 22215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD2=1; + TH1F* h2CeffHBnegativedirectionRecosignalD2 = new TH1F("h2CeffHBnegativedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD2 == 1) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 2) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 3) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 4) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 5) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 6) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 7) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 8) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-9 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 9) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-8 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==10) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-7 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==11) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-6 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==12) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-5 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==13) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-4 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==14) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-3 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==15) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-2 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==16) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-1 ; depth = 2 \b"); + HBnegativedirectionRecosignalD2->Draw("Error"); + kcountHBnegativedirectionRecosignalD2++; + if(kcountHBnegativedirectionRecosignalD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD2) delete h2CeffHBnegativedirectionRecosignalD2; + //========================================================================================== 22216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD3=1; + TH1F* h2CeffHBnegativedirectionRecosignalD3 = new TH1F("h2CeffHBnegativedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD3 == 1) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 2) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 3) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 4) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 5) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 6) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 7) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 8) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-9 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 9) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-8 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==10) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-7 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==11) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-6 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==12) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-5 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==13) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-4 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==14) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-3 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==15) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-2 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==16) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-1 ; depth = 3 \b"); + HBnegativedirectionRecosignalD3->Draw("Error"); + kcountHBnegativedirectionRecosignalD3++; + if(kcountHBnegativedirectionRecosignalD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD3) delete h2CeffHBnegativedirectionRecosignalD3; + //========================================================================================== 22217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD4=1; + TH1F* h2CeffHBnegativedirectionRecosignalD4 = new TH1F("h2CeffHBnegativedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD4 == 1) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 2) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 3) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 4) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 5) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 6) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 7) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 8) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-9 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 9) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-8 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==10) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-7 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==11) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-6 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==12) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-5 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==13) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-4 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==14) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-3 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==15) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-2 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==16) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-1 ; depth = 4 \b"); + HBnegativedirectionRecosignalD4->Draw("Error"); + kcountHBnegativedirectionRecosignalD4++; + if(kcountHBnegativedirectionRecosignalD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD4) delete h2CeffHBnegativedirectionRecosignalD4; + + + + + //===================================================================== END of Recosignal HB for phi-symmetry + //===================================================================== END of Recosignal HB for phi-symmetry + //===================================================================== END of Recosignal HB for phi-symmetry + + + + + + + + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double arecosignalhe[ndepth][njeta][njphi]; + double recosignalvariancehe[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HE + TH2F *recSignalEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE1"); + TH2F *recSignalEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + TH2F* recSignalEnergyHE1 = (TH2F*)recSignalEnergy1HE1->Clone("recSignalEnergyHE1"); + recSignalEnergyHE1->Divide(recSignalEnergy1HE1,recSignalEnergy0HE1, 1, 1, "B"); + TH2F *recSignalEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE2"); + TH2F *recSignalEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + TH2F* recSignalEnergyHE2 = (TH2F*)recSignalEnergy1HE2->Clone("recSignalEnergyHE2"); + recSignalEnergyHE2->Divide(recSignalEnergy1HE2,recSignalEnergy0HE2, 1, 1, "B"); + TH2F *recSignalEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE3"); + TH2F *recSignalEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + TH2F* recSignalEnergyHE3 = (TH2F*)recSignalEnergy1HE3->Clone("recSignalEnergyHE3"); + recSignalEnergyHE3->Divide(recSignalEnergy1HE3,recSignalEnergy0HE3, 1, 1, "B"); + TH2F *recSignalEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE4"); + TH2F *recSignalEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + TH2F* recSignalEnergyHE4 = (TH2F*)recSignalEnergy1HE4->Clone("recSignalEnergyHE4"); + recSignalEnergyHE4->Divide(recSignalEnergy1HE4,recSignalEnergy0HE4, 1, 1, "B"); + TH2F *recSignalEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE5"); + TH2F *recSignalEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + TH2F* recSignalEnergyHE5 = (TH2F*)recSignalEnergy1HE5->Clone("recSignalEnergyHE5"); + recSignalEnergyHE5->Divide(recSignalEnergy1HE5,recSignalEnergy0HE5, 1, 1, "B"); + TH2F *recSignalEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE6"); + TH2F *recSignalEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + TH2F* recSignalEnergyHE6 = (TH2F*)recSignalEnergy1HE6->Clone("recSignalEnergyHE6"); + recSignalEnergyHE6->Divide(recSignalEnergy1HE6,recSignalEnergy0HE6, 1, 1, "B"); + TH2F *recSignalEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE7"); + TH2F *recSignalEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + TH2F* recSignalEnergyHE7 = (TH2F*)recSignalEnergy1HE7->Clone("recSignalEnergyHE7"); + recSignalEnergyHE7->Divide(recSignalEnergy1HE7,recSignalEnergy0HE7, 1, 1, "B"); + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + arecosignalhe[1][jeta][jphi] = recSignalEnergyHE2->GetBinContent(jeta+1,jphi+1); + arecosignalhe[2][jeta][jphi] = recSignalEnergyHE3->GetBinContent(jeta+1,jphi+1); + arecosignalhe[3][jeta][jphi] = recSignalEnergyHE4->GetBinContent(jeta+1,jphi+1); + arecosignalhe[4][jeta][jphi] = recSignalEnergyHE5->GetBinContent(jeta+1,jphi+1); + arecosignalhe[5][jeta][jphi] = recSignalEnergyHE6->GetBinContent(jeta+1,jphi+1); + arecosignalhe[6][jeta][jphi] = recSignalEnergyHE7->GetBinContent(jeta+1,jphi+1); + if(arecosignalhe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += arecosignalhe[0][jeta][jphi];++nsumrecosignalHE0;} + if(arecosignalhe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += arecosignalhe[1][jeta][jphi];++nsumrecosignalHE1;} + if(arecosignalhe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += arecosignalhe[2][jeta][jphi];++nsumrecosignalHE2;} + if(arecosignalhe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += arecosignalhe[3][jeta][jphi];++nsumrecosignalHE3;} + if(arecosignalhe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += arecosignalhe[4][jeta][jphi];++nsumrecosignalHE4;} + if(arecosignalhe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += arecosignalhe[5][jeta][jphi];++nsumrecosignalHE5;} + if(arecosignalhe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += arecosignalhe[6][jeta][jphi];++nsumrecosignalHE6;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) arecosignalhe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; + if(arecosignalhe[1][jeta][jphi] > 0.) arecosignalhe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; + if(arecosignalhe[2][jeta][jphi] > 0.) arecosignalhe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; + if(arecosignalhe[3][jeta][jphi] > 0.) arecosignalhe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; + if(arecosignalhe[4][jeta][jphi] > 0.) arecosignalhe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; + if(arecosignalhe[5][jeta][jphi] > 0.) arecosignalhe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; + if(arecosignalhe[6][jeta][jphi] > 0.) arecosignalhe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthes + //====================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: R, averaged over depthes *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRrecosignalHE42D = new TH2F("GefzRrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHE42D0 = new TH2F("GefzRrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHE42DF = (TH2F*)GefzRrecosignalHE42D0->Clone("GefzRrecosignalHE42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRrecosignalHE42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHE42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRrecosignalHE42DF->Divide(GefzRrecosignalHE42D,GefzRrecosignalHE42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHE42DF->SetYTitle(" #phi \b"); + GefzRrecosignalHE42DF->Draw("COLZ"); + + c2x1->cd(2); + TH1F *energyhitSignal_HE= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HE"); + energyhitSignal_HE ->SetMarkerStyle(20);energyhitSignal_HE ->SetMarkerSize(0.4);energyhitSignal_HE ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HE ->SetXTitle("energyhitSignal_HE \b");energyhitSignal_HE ->SetMarkerColor(2);energyhitSignal_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HE ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RrecosignalGeneralD2PhiSymmetryHE.png"); + c2x1->Clear(); + // clean-up + if (GefzRrecosignalHE42D) delete GefzRrecosignalHE42D; + if (GefzRrecosignalHE42D0) delete GefzRrecosignalHE42D0; + if (GefzRrecosignalHE42DF) delete GefzRrecosignalHE42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRrecosignalHE41D = new TH1F("GefzRrecosignalHE41D","", nphi, 0., 72. ); + TH1F* GefzRrecosignalHE41D0 = new TH1F("GefzRrecosignalHE41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHE41DF = (TH1F*)GefzRrecosignalHE41D0->Clone("GefzRrecosignalHE41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHE41D0 ->Fill(jphi,1.); } + }}} + GefzRrecosignalHE41DF->Divide(GefzRrecosignalHE41D,GefzRrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta + GefzRrecosignalHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE41DF->SetMarkerStyle(20); GefzRrecosignalHE41DF->SetMarkerSize(1.4); GefzRrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHE41DF->SetXTitle("#phi \b"); GefzRrecosignalHE41DF->SetYTitle(" \b"); GefzRrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRrecosignalHE41DF->SetMarkerColor(4); GefzRrecosignalHE41DF->SetLineColor(4);// GefzRrecosignalHE41DF->SetMinimum(0.8); // GefzRrecosignalHE41DF->SetMaximum(1.000); + GefzRrecosignalHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RrecosignalGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (GefzRrecosignalHE41D) delete GefzRrecosignalHE41D; + if (GefzRrecosignalHE41D0) delete GefzRrecosignalHE41D0; + if (GefzRrecosignalHE41DF) delete GefzRrecosignalHE41DF; + + + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal1=1; + TH1F* h2CeffHEpositivedirectionRecosignal1 = new TH1F("h2CeffHEpositivedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEpositivedirectionRecosignal1 = "<SetMarkerColor(2);HEpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal1 == 1) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 2) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 3) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 4) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 5) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 6) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 7) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 8) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 9) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 ==10) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 ==11) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 ==12) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignal1->Draw("Error"); + kcountHEpositivedirectionRecosignal1++; + if(kcountHEpositivedirectionRecosignal1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal1) delete h2CeffHEpositivedirectionRecosignal1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal2=1; + TH1F* h2CeffHEpositivedirectionRecosignal2 = new TH1F("h2CeffHEpositivedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEpositivedirectionRecosignal2 = "<SetMarkerColor(2);HEpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal2 == 1) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 2) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 3) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 4) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 5) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 6) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 7) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 8) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 9) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==10) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==11) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==12) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==13) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignal2->Draw("Error"); + kcountHEpositivedirectionRecosignal2++; + if(kcountHEpositivedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal2) delete h2CeffHEpositivedirectionRecosignal2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal3=1; + TH1F* h2CeffHEpositivedirectionRecosignal3 = new TH1F("h2CeffHEpositivedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEpositivedirectionRecosignal3 = "<SetMarkerColor(2);HEpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal3 == 1) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 2) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 3) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 4) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 5) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 6) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 7) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 8) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 9) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==10) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==11) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==12) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==13) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignal3->Draw("Error"); + kcountHEpositivedirectionRecosignal3++; + if(kcountHEpositivedirectionRecosignal3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal3) delete h2CeffHEpositivedirectionRecosignal3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal4=1; + TH1F* h2CeffHEpositivedirectionRecosignal4 = new TH1F("h2CeffHEpositivedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEpositivedirectionRecosignal4 = "<SetMarkerColor(2);HEpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal4 == 1) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 2) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 3) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 4) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 5) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 6) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 7) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 8) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 9) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 ==10) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 ==11) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 ==12) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignal4->Draw("Error"); + kcountHEpositivedirectionRecosignal4++; + if(kcountHEpositivedirectionRecosignal4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal4) delete h2CeffHEpositivedirectionRecosignal4; + //========================================================================================== 8 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal5=1; + TH1F* h2CeffHEpositivedirectionRecosignal5 = new TH1F("h2CeffHEpositivedirectionRecosignal5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal5 == 1) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 2) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 3) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 4) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 5) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 6) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 7) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 8) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 9) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 ==10) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 ==11) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignal5->Draw("Error"); + kcountHEpositivedirectionRecosignal5++; + if(kcountHEpositivedirectionRecosignal5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal5) delete h2CeffHEpositivedirectionRecosignal5; + //========================================================================================== 9 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal6=1; + TH1F* h2CeffHEpositivedirectionRecosignal6 = new TH1F("h2CeffHEpositivedirectionRecosignal6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEpositivedirectionRecosignal6 = "<SetMarkerColor(2);HEpositivedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal6 == 1) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 2) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 3) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 4) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 5) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 6) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 7) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 8) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 9) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 ==10) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignal6->Draw("Error"); + kcountHEpositivedirectionRecosignal6++; + if(kcountHEpositivedirectionRecosignal6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal6) delete h2CeffHEpositivedirectionRecosignal6; + //========================================================================================== 10 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal7=1; + TH1F* h2CeffHEpositivedirectionRecosignal7 = new TH1F("h2CeffHEpositivedirectionRecosignal7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEpositivedirectionRecosignal7 = "<SetMarkerColor(2);HEpositivedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal7 == 1) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignal7 == 2) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignal7 == 3) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignal7->Draw("Error"); + kcountHEpositivedirectionRecosignal7++; + if(kcountHEpositivedirectionRecosignal7>3) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal7) delete h2CeffHEpositivedirectionRecosignal7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal1=1; + TH1F* h2CeffHEnegativedirectionRecosignal1 = new TH1F("h2CeffHEnegativedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEnegativedirectionRecosignal1 = "<SetMarkerColor(2);HEnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal1 == 1) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 2) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 3) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 4) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 5) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 6) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 7) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 8) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 9) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 ==10) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 ==11) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 ==12) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignal1->Draw("Error"); + kcountHEnegativedirectionRecosignal1++; + if(kcountHEnegativedirectionRecosignal1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal1) delete h2CeffHEnegativedirectionRecosignal1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal2=1; + TH1F* h2CeffHEnegativedirectionRecosignal2 = new TH1F("h2CeffHEnegativedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEnegativedirectionRecosignal2 = "<SetMarkerColor(2);HEnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal2 == 1) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 2) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 3) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 4) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 5) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 6) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 7) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 8) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 9) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==10) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==11) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==12) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==13) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignal2->Draw("Error"); + kcountHEnegativedirectionRecosignal2++; + if(kcountHEnegativedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal2) delete h2CeffHEnegativedirectionRecosignal2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal3=1; + TH1F* h2CeffHEnegativedirectionRecosignal3 = new TH1F("h2CeffHEnegativedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEnegativedirectionRecosignal3 = "<SetMarkerColor(2);HEnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal3 == 1) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 2) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 3) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 4) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 5) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 6) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 7) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 8) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 9) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==10) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==11) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==12) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==13) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignal3->Draw("Error"); + kcountHEnegativedirectionRecosignal3++; + if(kcountHEnegativedirectionRecosignal3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal3) delete h2CeffHEnegativedirectionRecosignal3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal4=1; + TH1F* h2CeffHEnegativedirectionRecosignal4 = new TH1F("h2CeffHEnegativedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEnegativedirectionRecosignal4 = "<SetMarkerColor(2);HEnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal4 == 1) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 2) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 3) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 4) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 5) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 6) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 7) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 8) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 9) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 ==10) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 ==11) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 ==12) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignal4->Draw("Error"); + kcountHEnegativedirectionRecosignal4++; + if(kcountHEnegativedirectionRecosignal4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal4) delete h2CeffHEnegativedirectionRecosignal4; + //========================================================================================== 1118 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal5=1; + TH1F* h2CeffHEnegativedirectionRecosignal5 = new TH1F("h2CeffHEnegativedirectionRecosignal5","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal5 == 1) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 2) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 3) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 4) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 5) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 6) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 7) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 8) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 9) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 ==10) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 ==11) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignal5->Draw("Error"); + kcountHEnegativedirectionRecosignal5++; + if(kcountHEnegativedirectionRecosignal5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal5) delete h2CeffHEnegativedirectionRecosignal5; + //========================================================================================== 1119 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal6=1; + TH1F* h2CeffHEnegativedirectionRecosignal6 = new TH1F("h2CeffHEnegativedirectionRecosignal6","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEnegativedirectionRecosignal6 = "<SetMarkerColor(2);HEnegativedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal6 == 1) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 2) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 3) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 4) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 5) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 6) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 7) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 8) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 9) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 ==10) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignal6->Draw("Error"); + kcountHEnegativedirectionRecosignal6++; + if(kcountHEnegativedirectionRecosignal6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal6) delete h2CeffHEnegativedirectionRecosignal6; + //========================================================================================== 11110 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal7=1; + TH1F* h2CeffHEnegativedirectionRecosignal7 = new TH1F("h2CeffHEnegativedirectionRecosignal7","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEnegativedirectionRecosignal7 = "<SetMarkerColor(2);HEnegativedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal7 == 1) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignal7 == 2) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignal7 == 3) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignal7->Draw("Error"); + kcountHEnegativedirectionRecosignal7++; + if(kcountHEnegativedirectionRecosignal7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal7) delete h2CeffHEnegativedirectionRecosignal7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HE1"); + TH2F *recosignalVariance0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + TH2F* recosignalVarianceHE1 = (TH2F*)recosignalVariance1HE1->Clone("recosignalVarianceHE1"); + recosignalVarianceHE1->Divide(recosignalVariance1HE1,recosignalVariance0HE1, 1, 1, "B"); + TH2F *recosignalVariance1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE2"); + TH2F *recosignalVariance0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + TH2F* recosignalVarianceHE2 = (TH2F*)recosignalVariance1HE2->Clone("recosignalVarianceHE2"); + recosignalVarianceHE2->Divide(recosignalVariance1HE2,recosignalVariance0HE2, 1, 1, "B"); + TH2F *recosignalVariance1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE3"); + TH2F *recosignalVariance0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + TH2F* recosignalVarianceHE3 = (TH2F*)recosignalVariance1HE3->Clone("recosignalVarianceHE3"); + recosignalVarianceHE3->Divide(recosignalVariance1HE3,recosignalVariance0HE3, 1, 1, "B"); + TH2F *recosignalVariance1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE4"); + TH2F *recosignalVariance0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + TH2F* recosignalVarianceHE4 = (TH2F*)recosignalVariance1HE4->Clone("recosignalVarianceHE4"); + recosignalVarianceHE4->Divide(recosignalVariance1HE4,recosignalVariance0HE4, 1, 1, "B"); + TH2F *recosignalVariance1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE5"); + TH2F *recosignalVariance0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + TH2F* recosignalVarianceHE5 = (TH2F*)recosignalVariance1HE5->Clone("recosignalVarianceHE5"); + recosignalVarianceHE5->Divide(recosignalVariance1HE5,recosignalVariance0HE5, 1, 1, "B"); + TH2F *recosignalVariance1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE6"); + TH2F *recosignalVariance0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + TH2F* recosignalVarianceHE6 = (TH2F*)recosignalVariance1HE6->Clone("recosignalVarianceHE6"); + recosignalVarianceHE6->Divide(recosignalVariance1HE6,recosignalVariance0HE6, 1, 1, "B"); + TH2F *recosignalVariance1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE7"); + TH2F *recosignalVariance0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + TH2F* recosignalVarianceHE7 = (TH2F*)recosignalVariance1HE7->Clone("recosignalVarianceHE7"); + recosignalVarianceHE7->Divide(recosignalVariance1HE7,recosignalVariance0HE7, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + recosignalvariancehe[1][jeta][jphi] = recosignalVarianceHE2->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[2][jeta][jphi] = recosignalVarianceHE3->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[3][jeta][jphi] = recosignalVarianceHE4->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[4][jeta][jphi] = recosignalVarianceHE5->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[5][jeta][jphi] = recosignalVarianceHE6->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[6][jeta][jphi] = recosignalVarianceHE7->GetBinContent(jeta+1,jphi+1); + if(recosignalvariancehe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += recosignalvariancehe[0][jeta][jphi];++nsumrecosignalHE0;} + if(recosignalvariancehe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += recosignalvariancehe[1][jeta][jphi];++nsumrecosignalHE1;} + if(recosignalvariancehe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += recosignalvariancehe[2][jeta][jphi];++nsumrecosignalHE2;} + if(recosignalvariancehe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += recosignalvariancehe[3][jeta][jphi];++nsumrecosignalHE3;} + if(recosignalvariancehe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += recosignalvariancehe[4][jeta][jphi];++nsumrecosignalHE4;} + if(recosignalvariancehe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += recosignalvariancehe[5][jeta][jphi];++nsumrecosignalHE5;} + if(recosignalvariancehe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += recosignalvariancehe[6][jeta][jphi];++nsumrecosignalHE6;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) recosignalvariancehe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; + if(recosignalvariancehe[1][jeta][jphi] > 0.) recosignalvariancehe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; + if(recosignalvariancehe[2][jeta][jphi] > 0.) recosignalvariancehe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; + if(recosignalvariancehe[3][jeta][jphi] > 0.) recosignalvariancehe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; + if(recosignalvariancehe[4][jeta][jphi] > 0.) recosignalvariancehe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; + if(recosignalvariancehe[5][jeta][jphi] > 0.) recosignalvariancehe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; + if(recosignalvariancehe[6][jeta][jphi] > 0.) recosignalvariancehe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; + }// phi + // recosignalvariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDrecosignalHE42D = new TH2F("DefzDrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHE42D0 = new TH2F("DefzDrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHE42DF = (TH2F*)DefzDrecosignalHE42D0->Clone("DefzDrecosignalHE42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(arecosignalhe[i][jeta][jphi]>0.) {DefzDrecosignalHE42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHE42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDrecosignalHE42DF->Divide(DefzDrecosignalHE42D,DefzDrecosignalHE42D0, 1, 1, "B");// average A + // DefzDrecosignalHE1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE42DF->SetMarkerStyle(20); DefzDrecosignalHE42DF->SetMarkerSize(0.4); DefzDrecosignalHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHE42DF->SetYTitle(" #phi \b"); DefzDrecosignalHE42DF->SetZTitle("_depth \b"); DefzDrecosignalHE42DF->SetMarkerColor(2); DefzDrecosignalHE42DF->SetLineColor(0); // DefzDrecosignalHE42DF->SetMaximum(1.000); // DefzDrecosignalHE42DF->SetMinimum(1.0); + DefzDrecosignalHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHE42D) delete DefzDrecosignalHE42D; + if (DefzDrecosignalHE42D0) delete DefzDrecosignalHE42D0; + if (DefzDrecosignalHE42DF) delete DefzDrecosignalHE42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDrecosignalHE41D = new TH1F("DefzDrecosignalHE41D","", nphi, 0., 72. ); + TH1F* DefzDrecosignalHE41D0 = new TH1F("DefzDrecosignalHE41D0","",nphi, 0., 72. ); + TH1F* DefzDrecosignalHE41DF = (TH1F*)DefzDrecosignalHE41D0->Clone("DefzDrecosignalHE41DF"); + + for (int jphi=0;jphi0.) {DefzDrecosignalHE41D ->Fill(jphi,ccc1); DefzDrecosignalHE41D0 ->Fill(jphi,1.); } + }}} + // DefzDrecosignalHE41D->Sumw2();DefzDrecosignalHE41D0->Sumw2(); + + DefzDrecosignalHE41DF->Divide(DefzDrecosignalHE41D,DefzDrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta + DefzDrecosignalHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE41DF->SetMarkerStyle(20); DefzDrecosignalHE41DF->SetMarkerSize(1.4); DefzDrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE41DF->SetXTitle("#phi \b"); DefzDrecosignalHE41DF->SetYTitle(" \b"); DefzDrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDrecosignalHE41DF->SetMarkerColor(4); DefzDrecosignalHE41DF->SetLineColor(4); // DefzDrecosignalHE41DF->SetMinimum(0.8); DefzDrecosignalHE41DF->SetMinimum(-0.015); + DefzDrecosignalHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DrecosignalGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (DefzDrecosignalHE41D) delete DefzDrecosignalHE41D; + if (DefzDrecosignalHE41D0) delete DefzDrecosignalHE41D0; + if (DefzDrecosignalHE41DF) delete DefzDrecosignalHE41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD1=1; + TH1F* h2CeffHEpositivedirectionRecosignalD1 = new TH1F("h2CeffHEpositivedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD1 == 1) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 2) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 3) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 4) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 5) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 6) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 7) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 8) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 9) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 ==10) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 ==11) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 ==12) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignalD1->Draw("Error"); + kcountHEpositivedirectionRecosignalD1++; + if(kcountHEpositivedirectionRecosignalD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD1) delete h2CeffHEpositivedirectionRecosignalD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD2=1; + TH1F* h2CeffHEpositivedirectionRecosignalD2 = new TH1F("h2CeffHEpositivedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD2 == 1) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 2) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 3) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 4) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 5) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 6) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 7) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 8) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 9) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==10) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==11) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==12) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==13) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignalD2->Draw("Error"); + kcountHEpositivedirectionRecosignalD2++; + if(kcountHEpositivedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD2) delete h2CeffHEpositivedirectionRecosignalD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD3=1; + TH1F* h2CeffHEpositivedirectionRecosignalD3 = new TH1F("h2CeffHEpositivedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD3 == 1) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 2) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 3) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 4) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 5) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 6) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 7) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 8) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 9) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==10) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==11) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==12) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==13) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignalD3->Draw("Error"); + kcountHEpositivedirectionRecosignalD3++; + if(kcountHEpositivedirectionRecosignalD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD3) delete h2CeffHEpositivedirectionRecosignalD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD4=1; + TH1F* h2CeffHEpositivedirectionRecosignalD4 = new TH1F("h2CeffHEpositivedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD4 == 1) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 2) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 3) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 4) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 5) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 6) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 7) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 8) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 9) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 ==10) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 ==11) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 ==12) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignalD4->Draw("Error"); + kcountHEpositivedirectionRecosignalD4++; + if(kcountHEpositivedirectionRecosignalD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD4) delete h2CeffHEpositivedirectionRecosignalD4; + //========================================================================================== 18 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD5=1; + TH1F* h2CeffHEpositivedirectionRecosignalD5 = new TH1F("h2CeffHEpositivedirectionRecosignalD5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEpositivedirectionRecosignalD5 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD5 == 1) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 2) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 3) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 4) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 5) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 6) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 7) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 8) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 9) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 ==10) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 ==11) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignalD5->Draw("Error"); + kcountHEpositivedirectionRecosignalD5++; + if(kcountHEpositivedirectionRecosignalD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD5) delete h2CeffHEpositivedirectionRecosignalD5; + //========================================================================================== 19 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD6=1; + TH1F* h2CeffHEpositivedirectionRecosignalD6 = new TH1F("h2CeffHEpositivedirectionRecosignalD6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEpositivedirectionRecosignalD6 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD6 == 1) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 2) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 3) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 4) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 5) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 6) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 7) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 8) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 9) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 ==10) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignalD6->Draw("Error"); + kcountHEpositivedirectionRecosignalD6++; + if(kcountHEpositivedirectionRecosignalD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD6) delete h2CeffHEpositivedirectionRecosignalD6; + //========================================================================================== 20 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD7=1; + TH1F* h2CeffHEpositivedirectionRecosignalD7 = new TH1F("h2CeffHEpositivedirectionRecosignalD7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEpositivedirectionRecosignalD7 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD7 == 1) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignalD7 == 2) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignalD7 == 3) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignalD7->Draw("Error"); + kcountHEpositivedirectionRecosignalD7++; + if(kcountHEpositivedirectionRecosignalD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD7) delete h2CeffHEpositivedirectionRecosignalD7; + + + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD1=1; + TH1F* h2CeffHEnegativedirectionRecosignalD1 = new TH1F("h2CeffHEnegativedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD1 == 1) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 2) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 3) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 4) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 5) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 6) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 7) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 8) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 9) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 ==10) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 ==11) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 ==12) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignalD1->Draw("Error"); + kcountHEnegativedirectionRecosignalD1++; + if(kcountHEnegativedirectionRecosignalD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD1) delete h2CeffHEnegativedirectionRecosignalD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD2=1; + TH1F* h2CeffHEnegativedirectionRecosignalD2 = new TH1F("h2CeffHEnegativedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD2 == 1) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 2) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 3) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 4) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 5) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 6) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 7) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 8) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 9) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==10) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==11) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==12) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==13) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignalD2->Draw("Error"); + kcountHEnegativedirectionRecosignalD2++; + if(kcountHEnegativedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD2) delete h2CeffHEnegativedirectionRecosignalD2; + //========================================================================================== 22222216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD3=1; + TH1F* h2CeffHEnegativedirectionRecosignalD3 = new TH1F("h2CeffHEnegativedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD3 == 1) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 2) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 3) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 4) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 5) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 6) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 7) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 8) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 9) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==10) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==11) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==12) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==13) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignalD3->Draw("Error"); + kcountHEnegativedirectionRecosignalD3++; + if(kcountHEnegativedirectionRecosignalD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD3) delete h2CeffHEnegativedirectionRecosignalD3; + //========================================================================================== 22222217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD4=1; + TH1F* h2CeffHEnegativedirectionRecosignalD4 = new TH1F("h2CeffHEnegativedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD4 == 1) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 2) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 3) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 4) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 5) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 6) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 7) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 8) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 9) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 ==10) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 ==11) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 ==12) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignalD4->Draw("Error"); + kcountHEnegativedirectionRecosignalD4++; + if(kcountHEnegativedirectionRecosignalD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD4) delete h2CeffHEnegativedirectionRecosignalD4; + //========================================================================================== 22222218 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD5=1; + TH1F* h2CeffHEnegativedirectionRecosignalD5 = new TH1F("h2CeffHEnegativedirectionRecosignalD5","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEnegativedirectionRecosignalD5 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD5 == 1) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 2) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 3) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 4) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 5) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 6) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 7) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 8) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 9) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 ==10) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 ==11) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignalD5->Draw("Error"); + kcountHEnegativedirectionRecosignalD5++; + if(kcountHEnegativedirectionRecosignalD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD5) delete h2CeffHEnegativedirectionRecosignalD5; + //========================================================================================== 22222219 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD6=1; + TH1F* h2CeffHEnegativedirectionRecosignalD6 = new TH1F("h2CeffHEnegativedirectionRecosignalD6","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEnegativedirectionRecosignalD6 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD6 == 1) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 2) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 3) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 4) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 5) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 6) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 7) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 8) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 9) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 ==10) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignalD6->Draw("Error"); + kcountHEnegativedirectionRecosignalD6++; + if(kcountHEnegativedirectionRecosignalD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD6) delete h2CeffHEnegativedirectionRecosignalD6; + //========================================================================================== 22222220 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD7=1; + TH1F* h2CeffHEnegativedirectionRecosignalD7 = new TH1F("h2CeffHEnegativedirectionRecosignalD7","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEnegativedirectionRecosignalD7 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD7 == 1) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignalD7 == 2) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignalD7 == 3) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignalD7->Draw("Error"); + kcountHEnegativedirectionRecosignalD7++; + if(kcountHEnegativedirectionRecosignalD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD7) delete h2CeffHEnegativedirectionRecosignalD7; + //===================================================================== END of Recosignal HE for phi-symmetry + //===================================================================== END of Recosignal HE for phi-symmetry + //===================================================================== END of Recosignal HE for phi-symmetry + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double arecosignalHF[ndepth][njeta][njphi]; + double recosignalvarianceHF[ndepth][njeta][njphi]; + //cout<<"111RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <FindObjectAny("h_recSignalEnergy1_HF1"); + TH2F *recSignalEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + TH2F* recSignalEnergyHF1 = (TH2F*)recSignalEnergy1HF1->Clone("recSignalEnergyHF1"); + recSignalEnergyHF1->Divide(recSignalEnergy1HF1,recSignalEnergy0HF1, 1, 1, "B"); + TH2F *recSignalEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF2"); + TH2F *recSignalEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + TH2F* recSignalEnergyHF2 = (TH2F*)recSignalEnergy1HF2->Clone("recSignalEnergyHF2"); + recSignalEnergyHF2->Divide(recSignalEnergy1HF2,recSignalEnergy0HF2, 1, 1, "B"); +// cout<<"222RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <GetBinContent(jeta+1,jphi+1); + arecosignalHF[1][jeta][jphi] = recSignalEnergyHF2->GetBinContent(jeta+1,jphi+1); + if(arecosignalHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += arecosignalHF[0][jeta][jphi];++nsumrecosignalHF0;} + if(arecosignalHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += arecosignalHF[1][jeta][jphi];++nsumrecosignalHF1;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) arecosignalHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; + if(arecosignalHF[1][jeta][jphi] > 0.) arecosignalHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthfs + //====================================================================== + //====================================================================== +// cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRrecosignalHF42D = new TH2F("GefzRrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHF42D0 = new TH2F("GefzRrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHF42DF = (TH2F*)GefzRrecosignalHF42D0->Clone("GefzRrecosignalHF42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRrecosignalHF42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHF42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRrecosignalHF42DF->Divide(GefzRrecosignalHF42D,GefzRrecosignalHF42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHF42DF->SetYTitle(" #phi \b"); + GefzRrecosignalHF42DF->Draw("COLZ"); + + + c2x1->cd(2); + TH1F *energyhitSignal_HF= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HF"); + energyhitSignal_HF ->SetMarkerStyle(20);energyhitSignal_HF ->SetMarkerSize(0.4);energyhitSignal_HF ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HF ->SetXTitle("energyhitSignal_HF \b");energyhitSignal_HF ->SetMarkerColor(2);energyhitSignal_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HF ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RrecosignalGeneralD2PhiSymmetryHF.png"); + c2x1->Clear(); + // clean-up + if (GefzRrecosignalHF42D) delete GefzRrecosignalHF42D; + if (GefzRrecosignalHF42D0) delete GefzRrecosignalHF42D0; + if (GefzRrecosignalHF42DF) delete GefzRrecosignalHF42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRrecosignalHF41D = new TH1F("GefzRrecosignalHF41D","", nphi, 0., 72. ); + TH1F* GefzRrecosignalHF41D0 = new TH1F("GefzRrecosignalHF41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHF41DF = (TH1F*)GefzRrecosignalHF41D0->Clone("GefzRrecosignalHF41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHF41D0 ->Fill(jphi,1.); } + }}} + GefzRrecosignalHF41DF->Divide(GefzRrecosignalHF41D,GefzRrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRrecosignalHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF41DF->SetMarkerStyle(20); GefzRrecosignalHF41DF->SetMarkerSize(1.4); GefzRrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHF41DF->SetXTitle("#phi \b"); GefzRrecosignalHF41DF->SetYTitle(" \b"); GefzRrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHF41DF->SetMarkerColor(4); GefzRrecosignalHF41DF->SetLineColor(4);// GefzRrecosignalHF41DF->SetMinimum(0.8); // GefzRrecosignalHF41DF->SetMaximum(1.000); + GefzRrecosignalHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RrecosignalGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (GefzRrecosignalHF41D) delete GefzRrecosignalHF41D; + if (GefzRrecosignalHF41D0) delete GefzRrecosignalHF41D0; + if (GefzRrecosignalHF41DF) delete GefzRrecosignalHF41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignal1=1; + TH1F* h2CeffHFpositivedirectionRecosignal1 = new TH1F("h2CeffHFpositivedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFpositivedirectionRecosignal1 = "<SetMarkerColor(2);HFpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignal1 == 1) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 2) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 3) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 4) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 5) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 6) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 7) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 8) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 9) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==10) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==11) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==12) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==13) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignal1->Draw("Error"); + kcountHFpositivedirectionRecosignal1++; + if(kcountHFpositivedirectionRecosignal1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignal1) delete h2CeffHFpositivedirectionRecosignal1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignal2=1; + TH1F* h2CeffHFpositivedirectionRecosignal2 = new TH1F("h2CeffHFpositivedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFpositivedirectionRecosignal2 = "<SetMarkerColor(2);HFpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignal2 == 1) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 2) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 3) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 4) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 5) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 6) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 7) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 8) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 9) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==10) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==11) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==12) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==13) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignal2->Draw("Error"); + kcountHFpositivedirectionRecosignal2++; + if(kcountHFpositivedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignal2) delete h2CeffHFpositivedirectionRecosignal2; + + //========================================================================================== 1111114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignal1=1; + TH1F* h2CeffHFnegativedirectionRecosignal1 = new TH1F("h2CeffHFnegativedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFnegativedirectionRecosignal1 = "<SetMarkerColor(2);HFnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignal1 == 1) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 2) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 3) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 4) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 5) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 6) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 7) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 8) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 9) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==10) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==11) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==12) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==13) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignal1->Draw("Error"); + kcountHFnegativedirectionRecosignal1++; + if(kcountHFnegativedirectionRecosignal1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignal1) delete h2CeffHFnegativedirectionRecosignal1; + + + //========================================================================================== 1111115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignal2=1; + TH1F* h2CeffHFnegativedirectionRecosignal2 = new TH1F("h2CeffHFnegativedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFnegativedirectionRecosignal2 = "<SetMarkerColor(2);HFnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignal2 == 1) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 2) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 3) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 4) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 5) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 6) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 7) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 8) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 9) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==10) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==11) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==12) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==13) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionRecosignal2->Draw("Error"); + kcountHFnegativedirectionRecosignal2++; + if(kcountHFnegativedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignal2) delete h2CeffHFnegativedirectionRecosignal2; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HF1"); + TH2F *recosignalVariance0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + TH2F* recosignalVarianceHF1 = (TH2F*)recosignalVariance1HF1->Clone("recosignalVarianceHF1"); + recosignalVarianceHF1->Divide(recosignalVariance1HF1,recosignalVariance0HF1, 1, 1, "B"); + TH2F *recosignalVariance1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HF2"); + TH2F *recosignalVariance0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + TH2F* recosignalVarianceHF2 = (TH2F*)recosignalVariance1HF2->Clone("recosignalVarianceHF2"); + recosignalVarianceHF2->Divide(recosignalVariance1HF2,recosignalVariance0HF2, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + recosignalvarianceHF[1][jeta][jphi] = recosignalVarianceHF2->GetBinContent(jeta+1,jphi+1); + if(recosignalvarianceHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += recosignalvarianceHF[0][jeta][jphi];++nsumrecosignalHF0;} + if(recosignalvarianceHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += recosignalvarianceHF[1][jeta][jphi];++nsumrecosignalHF1;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) recosignalvarianceHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; + if(recosignalvarianceHF[1][jeta][jphi] > 0.) recosignalvarianceHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; + }// phi + // recosignalvarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDrecosignalHF42D = new TH2F("DefzDrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHF42D0 = new TH2F("DefzDrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHF42DF = (TH2F*)DefzDrecosignalHF42D0->Clone("DefzDrecosignalHF42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(arecosignalHF[i][jeta][jphi]>0.) {DefzDrecosignalHF42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHF42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDrecosignalHF42DF->Divide(DefzDrecosignalHF42D,DefzDrecosignalHF42D0, 1, 1, "B");// average A + // DefzDrecosignalHF1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF42DF->SetMarkerStyle(20); DefzDrecosignalHF42DF->SetMarkerSize(0.4); DefzDrecosignalHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHF42DF->SetYTitle(" #phi \b"); DefzDrecosignalHF42DF->SetZTitle("_depth \b"); DefzDrecosignalHF42DF->SetMarkerColor(2); DefzDrecosignalHF42DF->SetLineColor(0); // DefzDrecosignalHF42DF->SetMaximum(1.000); // DefzDrecosignalHF42DF->SetMinimum(1.0); + DefzDrecosignalHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHF42D) delete DefzDrecosignalHF42D; + if (DefzDrecosignalHF42D0) delete DefzDrecosignalHF42D0; + if (DefzDrecosignalHF42DF) delete DefzDrecosignalHF42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDrecosignalHF41D = new TH1F("DefzDrecosignalHF41D","", nphi, 0., 72. ); + TH1F* DefzDrecosignalHF41D0 = new TH1F("DefzDrecosignalHF41D0","",nphi, 0., 72. ); + TH1F* DefzDrecosignalHF41DF = (TH1F*)DefzDrecosignalHF41D0->Clone("DefzDrecosignalHF41DF"); + + for (int jphi=0;jphi0.) {DefzDrecosignalHF41D ->Fill(jphi,ccc1); DefzDrecosignalHF41D0 ->Fill(jphi,1.); } + }}} + // DefzDrecosignalHF41D->Sumw2();DefzDrecosignalHF41D0->Sumw2(); + + DefzDrecosignalHF41DF->Divide(DefzDrecosignalHF41D,DefzDrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDrecosignalHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF41DF->SetMarkerStyle(20); DefzDrecosignalHF41DF->SetMarkerSize(1.4); DefzDrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF41DF->SetXTitle("#phi \b"); DefzDrecosignalHF41DF->SetYTitle(" \b"); DefzDrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHF41DF->SetMarkerColor(4); DefzDrecosignalHF41DF->SetLineColor(4);// DefzDrecosignalHF41DF->SetMinimum(0.8); DefzDrecosignalHF41DF->SetMinimum(-0.015); + DefzDrecosignalHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DrecosignalGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (DefzDrecosignalHF41D) delete DefzDrecosignalHF41D; + if (DefzDrecosignalHF41D0) delete DefzDrecosignalHF41D0; + if (DefzDrecosignalHF41DF) delete DefzDrecosignalHF41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignalD1=1; + TH1F* h2CeffHFpositivedirectionRecosignalD1 = new TH1F("h2CeffHFpositivedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignalD1 == 1) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 2) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 3) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 4) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 5) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 6) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 7) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 8) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 9) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==10) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==11) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==12) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==13) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignalD1->Draw("Error"); + kcountHFpositivedirectionRecosignalD1++; + if(kcountHFpositivedirectionRecosignalD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignalD1) delete h2CeffHFpositivedirectionRecosignalD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignalD2=1; + TH1F* h2CeffHFpositivedirectionRecosignalD2 = new TH1F("h2CeffHFpositivedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignalD2 == 1) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 2) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 3) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 4) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 5) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 6) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 7) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 8) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 9) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==10) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==11) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==12) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==13) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignalD2->Draw("Error"); + kcountHFpositivedirectionRecosignalD2++; + if(kcountHFpositivedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignalD2) delete h2CeffHFpositivedirectionRecosignalD2; + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignalD1=1; + TH1F* h2CeffHFnegativedirectionRecosignalD1 = new TH1F("h2CeffHFnegativedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignalD1 == 1) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 2) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 3) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 4) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 5) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 6) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 7) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 8) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 9) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==10) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==11) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==12) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==13) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignalD1->Draw("Error"); + kcountHFnegativedirectionRecosignalD1++; + if(kcountHFnegativedirectionRecosignalD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignalD1) delete h2CeffHFnegativedirectionRecosignalD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignalD2=1; + TH1F* h2CeffHFnegativedirectionRecosignalD2 = new TH1F("h2CeffHFnegativedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignalD2 == 1) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 2) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 3) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 4) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 5) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 6) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 7) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 8) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 9) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==10) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==11) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==12) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==13) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionRecosignalD2->Draw("Error"); + kcountHFnegativedirectionRecosignalD2++; + if(kcountHFnegativedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignalD2) delete h2CeffHFnegativedirectionRecosignalD2; + + //===================================================================== END of Recosignal HF for phi-symmetry + //===================================================================== END of Recosignal HF for phi-symmetry + //===================================================================== END of Recosignal HF for phi-symmetry + //============================================================================================================ END of Recosignal for phi-symmetry + //============================================================================================================ END of Recosignal for phi-symmetry + //============================================================================================================ END of Recosignal for phi-symmetry + +////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start +////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start +////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start + //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double areconoiseHB[ndepth][njeta][njphi]; + double breconoiseHB[ndepth][njeta][njphi]; + double reconoisevarianceHB[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HB recNoiseEnergy + TH2F *recNoiseEnergy1HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB1"); + TH2F *recNoiseEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + TH2F* recNoiseEnergyHB1 = (TH2F*)recNoiseEnergy1HB1->Clone("recNoiseEnergyHB1"); + recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1,recNoiseEnergy0HB1, 1, 1, "B"); + TH2F *recNoiseEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB2"); + TH2F *recNoiseEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + TH2F* recNoiseEnergyHB2 = (TH2F*)recNoiseEnergy1HB2->Clone("recNoiseEnergyHB2"); + recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2,recNoiseEnergy0HB2, 1, 1, "B"); + TH2F *recNoiseEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB3"); + TH2F *recNoiseEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + TH2F* recNoiseEnergyHB3 = (TH2F*)recNoiseEnergy1HB3->Clone("recNoiseEnergyHB3"); + recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3,recNoiseEnergy0HB3, 1, 1, "B"); + TH2F *recNoiseEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB4"); + TH2F *recNoiseEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + TH2F* recNoiseEnergyHB4 = (TH2F*)recNoiseEnergy1HB4->Clone("recNoiseEnergyHB4"); + recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4,recNoiseEnergy0HB4, 1, 1, "B"); + for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + //====================================================================== PHI normalization & put R into massive areconoiseHB + //preparation for PHI normalization: + double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + areconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); + areconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); + areconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); + breconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta+1,jphi+1); + breconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); + breconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); + breconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); + if(areconoiseHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += areconoiseHB[0][jeta][jphi];++nsumreconoiseHB0;} + if(areconoiseHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += areconoiseHB[1][jeta][jphi];++nsumreconoiseHB1;} + if(areconoiseHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += areconoiseHB[2][jeta][jphi];++nsumreconoiseHB2;} + if(areconoiseHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += areconoiseHB[3][jeta][jphi];++nsumreconoiseHB3;} + }// phi + // PHI normalization: DIF + for(int jphi=0;jphiClear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRreconoiseHB42D = new TH2F("GefzRreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHB42D0 = new TH2F("GefzRreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHB42DF = (TH2F*)GefzRreconoiseHB42D0->Clone("GefzRreconoiseHB42DF"); + for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHB42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzRreconoiseHB42DF->Divide(GefzRreconoiseHB42D,GefzRreconoiseHB42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHB42DF->SetYTitle(" #phi \b"); + GefzRreconoiseHB42DF->Draw("COLZ"); + + + c2x1->cd(2); + TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); + energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RreconoiseGeneralD2PhiSymmetryHB.png"); + c2x1->Clear(); + // clean-up + if (GefzRreconoiseHB42D) delete GefzRreconoiseHB42D; + if (GefzRreconoiseHB42D0) delete GefzRreconoiseHB42D0; + if (GefzRreconoiseHB42DF) delete GefzRreconoiseHB42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRreconoiseHB41D = new TH1F("GefzRreconoiseHB41D","", nphi, 0., 72. ); + TH1F* GefzRreconoiseHB41D0 = new TH1F("GefzRreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHB41DF = (TH1F*)GefzRreconoiseHB41D0->Clone("GefzRreconoiseHB41DF"); + for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHB41D0 ->Fill(jphi,1.); } + }}}} + GefzRreconoiseHB41DF->Divide(GefzRreconoiseHB41D,GefzRreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB41DF->SetMarkerStyle(20); GefzRreconoiseHB41DF->SetMarkerSize(1.4); GefzRreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHB41DF->SetXTitle("#phi \b"); GefzRreconoiseHB41DF->SetYTitle(" \b"); GefzRreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHB41DF->SetMarkerColor(4); GefzRreconoiseHB41DF->SetLineColor(4);//GefzRreconoiseHB41DF->SetMinimum(0.8); // GefzRreconoiseHB41DF->SetMaximum(1.000); + GefzRreconoiseHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RreconoiseGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (GefzRreconoiseHB41D) delete GefzRreconoiseHB41D; + if (GefzRreconoiseHB41D0) delete GefzRreconoiseHB41D0; + if (GefzRreconoiseHB41DF) delete GefzRreconoiseHB41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise1=1; + TH1F* h2CeffHBpositivedirectionReconoise1 = new TH1F("h2CeffHBpositivedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBpositivedirectionReconoise1 = "<SetMarkerColor(2);HBpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise1 == 1) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 2) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 3) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 4) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 5) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 6) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 7) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 8) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 9) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==10) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==11) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==12) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==13) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==14) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==15) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==16) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoise1->Draw("Error"); + kcountHBpositivedirectionReconoise1++; + if(kcountHBpositivedirectionReconoise1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise1) delete h2CeffHBpositivedirectionReconoise1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise2=1; + TH1F* h2CeffHBpositivedirectionReconoise2 = new TH1F("h2CeffHBpositivedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBpositivedirectionReconoise2 = "<SetMarkerColor(2);HBpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise2 == 1) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 2) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 3) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 4) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 5) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 6) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 7) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 8) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 9) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==10) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==11) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==12) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==13) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==14) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==15) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==16) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoise2->Draw("Error"); + kcountHBpositivedirectionReconoise2++; + if(kcountHBpositivedirectionReconoise2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise2) delete h2CeffHBpositivedirectionReconoise2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise3=1; + TH1F* h2CeffHBpositivedirectionReconoise3 = new TH1F("h2CeffHBpositivedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBpositivedirectionReconoise3 = "<SetMarkerColor(2);HBpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise3 == 1) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 2) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 3) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 4) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 5) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 6) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 7) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 8) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 9) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==10) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==11) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==12) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==13) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==14) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==15) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==16) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoise3->Draw("Error"); + kcountHBpositivedirectionReconoise3++; + if(kcountHBpositivedirectionReconoise3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise3) delete h2CeffHBpositivedirectionReconoise3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise4=1; + TH1F* h2CeffHBpositivedirectionReconoise4 = new TH1F("h2CeffHBpositivedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBpositivedirectionReconoise4 = "<SetMarkerColor(2);HBpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise4 == 1) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 2) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 3) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 4) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 5) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 6) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 7) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 8) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 9) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==10) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==11) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==12) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==13) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==14) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==15) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==16) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoise4->Draw("Error"); + kcountHBpositivedirectionReconoise4++; + if(kcountHBpositivedirectionReconoise4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise4) delete h2CeffHBpositivedirectionReconoise4; + + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise1=1; + TH1F* h2CeffHBnegativedirectionReconoise1 = new TH1F("h2CeffHBnegativedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBnegativedirectionReconoise1 = "<SetMarkerColor(2);HBnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise1 == 1) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 2) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 3) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 4) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 5) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 6) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 7) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 8) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 9) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==10) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==11) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==12) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==13) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==14) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==15) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==16) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoise1->Draw("Error"); + kcountHBnegativedirectionReconoise1++; + if(kcountHBnegativedirectionReconoise1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise1) delete h2CeffHBnegativedirectionReconoise1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise2=1; + TH1F* h2CeffHBnegativedirectionReconoise2 = new TH1F("h2CeffHBnegativedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBnegativedirectionReconoise2 = "<SetMarkerColor(2);HBnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise2 == 1) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 2) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 3) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 4) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 5) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 6) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 7) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 8) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 9) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==10) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==11) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==12) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==13) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==14) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==15) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==16) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoise2->Draw("Error"); + kcountHBnegativedirectionReconoise2++; + if(kcountHBnegativedirectionReconoise2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise2) delete h2CeffHBnegativedirectionReconoise2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise3=1; + TH1F* h2CeffHBnegativedirectionReconoise3 = new TH1F("h2CeffHBnegativedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBnegativedirectionReconoise3 = "<SetMarkerColor(2);HBnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise3 == 1) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 2) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 3) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 4) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 5) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 6) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 7) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 8) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 9) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==10) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==11) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==12) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==13) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==14) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==15) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==16) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoise3->Draw("Error"); + kcountHBnegativedirectionReconoise3++; + if(kcountHBnegativedirectionReconoise3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise3) delete h2CeffHBnegativedirectionReconoise3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise4=1; + TH1F* h2CeffHBnegativedirectionReconoise4 = new TH1F("h2CeffHBnegativedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBnegativedirectionReconoise4 = "<SetMarkerColor(2);HBnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise4 == 1) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 2) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 3) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 4) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 5) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 6) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 7) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 8) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 9) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==10) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==11) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==12) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==13) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==14) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==15) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==16) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoise4->Draw("Error"); + kcountHBnegativedirectionReconoise4++; + if(kcountHBnegativedirectionReconoise4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise4) delete h2CeffHBnegativedirectionReconoise4; + + //====================================================================================================================== + // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HE + //====================================================================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzDIFreconoiseHB42D = new TH2F("GefzDIFreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHB42D0 = new TH2F("GefzDIFreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHB42DF = (TH2F*)GefzDIFreconoiseHB42D0->Clone("GefzDIFreconoiseHB42DF"); + for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzDIFreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHB42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzDIFreconoiseHB42DF->Divide(GefzDIFreconoiseHB42D,GefzDIFreconoiseHB42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHB42DF->SetYTitle(" #phi \b"); + GefzDIFreconoiseHB42DF->Draw("COLZ"); + + + // c2x1->cd(2); + // TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); + // energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHB.png"); + c2x1->Clear(); + // clean-up + if (GefzDIFreconoiseHB42D) delete GefzDIFreconoiseHB42D; + if (GefzDIFreconoiseHB42D0) delete GefzDIFreconoiseHB42D0; + if (GefzDIFreconoiseHB42DF) delete GefzDIFreconoiseHB42DF; + //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzDIFreconoiseHB41D = new TH1F("GefzDIFreconoiseHB41D","", nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHB41D0 = new TH1F("GefzDIFreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHB41DF = (TH1F*)GefzDIFreconoiseHB41D0->Clone("GefzDIFreconoiseHB41DF"); + for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHB41D0 ->Fill(jphi,1.); } + }}}} + GefzDIFreconoiseHB41DF->Divide(GefzDIFreconoiseHB41D,GefzDIFreconoiseHB41D0, 1, 1, "B");// DIF averaged over depthfs & eta + GefzDIFreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB41DF->SetMarkerStyle(20); GefzDIFreconoiseHB41DF->SetMarkerSize(1.4); GefzDIFreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHB41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHB41DF->SetYTitle(" \b"); GefzDIFreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHB41DF->SetMarkerColor(4); GefzDIFreconoiseHB41DF->SetLineColor(4);//GefzDIFreconoiseHB41DF->SetMinimum(0.8); // GefzDIFreconoiseHB41DF->SetMaximum(1.000); + GefzDIFreconoiseHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (GefzDIFreconoiseHB41D) delete GefzDIFreconoiseHB41D; + if (GefzDIFreconoiseHB41D0) delete GefzDIFreconoiseHB41D0; + if (GefzDIFreconoiseHB41DF) delete GefzDIFreconoiseHB41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF1=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF1 == 1) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 2) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 3) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 4) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 5) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 6) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 7) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 8) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 9) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==10) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==11) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==12) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==13) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==14) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==15) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==16) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF1++; + if(kcountHBpositivedirectionReconoiseDIF1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF1) delete h2CeffHBpositivedirectionReconoiseDIF1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF2=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF2 == 1) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 2) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 3) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 4) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 5) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 6) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 7) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 8) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 9) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==10) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==11) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==12) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==13) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==14) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==15) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==16) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF2++; + if(kcountHBpositivedirectionReconoiseDIF2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF2) delete h2CeffHBpositivedirectionReconoiseDIF2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF3=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF3 == 1) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 2) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 3) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 4) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 5) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 6) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 7) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 8) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 9) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==10) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==11) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==12) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==13) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==14) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==15) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==16) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF3++; + if(kcountHBpositivedirectionReconoiseDIF3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF3) delete h2CeffHBpositivedirectionReconoiseDIF3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF4=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF4 == 1) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 2) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 3) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 4) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 5) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 6) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 7) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 8) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 9) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==10) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==11) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==12) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==13) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==14) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==15) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==16) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF4++; + if(kcountHBpositivedirectionReconoiseDIF4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF4) delete h2CeffHBpositivedirectionReconoiseDIF4; + + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF1=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF1 == 1) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 2) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 3) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 4) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 5) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 6) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 7) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 8) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 9) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==10) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==11) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==12) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==13) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==14) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==15) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==16) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF1++; + if(kcountHBnegativedirectionReconoiseDIF1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF1) delete h2CeffHBnegativedirectionReconoiseDIF1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF2=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF2 == 1) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -16; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 2) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -15; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 3) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -14; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 4) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -13; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 5) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -12; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 6) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -11; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 7) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -10; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 8) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -9; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 9) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -8; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==10) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -7; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==11) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -6; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==12) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -5; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==13) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -4; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==14) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -3; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==15) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -2; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==16) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF2++; + if(kcountHBnegativedirectionReconoiseDIF2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF2) delete h2CeffHBnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF3=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF3 == 1) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -16; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 2) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -15; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 3) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -14; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 4) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -13; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 5) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -12; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 6) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -11; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 7) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -10; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 8) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -9; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 9) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -8; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==10) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -7; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==11) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -6; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==12) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -5; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==13) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -4; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==14) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -3; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==15) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -2; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==16) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF3++; + if(kcountHBnegativedirectionReconoiseDIF3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF3) delete h2CeffHBnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF4=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF4 == 1) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -16; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 2) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -15; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 3) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -14; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 4) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -13; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 5) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -12; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 6) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -11; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 7) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -10; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 8) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -9; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 9) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -8; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==10) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -7; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==11) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -6; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==12) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -5; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==13) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -4; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==14) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -3; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==15) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -2; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==16) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF4++; + if(kcountHBnegativedirectionReconoiseDIF4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF4) delete h2CeffHBnegativedirectionReconoiseDIF4; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HB1"); + TH2F *reconoiseVariance0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + TH2F* reconoiseVarianceHB1 = (TH2F*)reconoiseVariance1HB1->Clone("reconoiseVarianceHB1"); + reconoiseVarianceHB1->Divide(reconoiseVariance1HB1,reconoiseVariance0HB1, 1, 1, "B"); + TH2F *reconoiseVariance1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB2"); + TH2F *reconoiseVariance0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + TH2F* reconoiseVarianceHB2 = (TH2F*)reconoiseVariance1HB2->Clone("reconoiseVarianceHB2"); + reconoiseVarianceHB2->Divide(reconoiseVariance1HB2,reconoiseVariance0HB2, 1, 1, "B"); + TH2F *reconoiseVariance1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB3"); + TH2F *reconoiseVariance0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + TH2F* reconoiseVarianceHB3 = (TH2F*)reconoiseVariance1HB3->Clone("reconoiseVarianceHB3"); + reconoiseVarianceHB3->Divide(reconoiseVariance1HB3,reconoiseVariance0HB3, 1, 1, "B"); + TH2F *reconoiseVariance1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB4"); + TH2F *reconoiseVariance0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + TH2F* reconoiseVarianceHB4 = (TH2F*)reconoiseVariance1HB4->Clone("reconoiseVarianceHB4"); + reconoiseVarianceHB4->Divide(reconoiseVariance1HB4,reconoiseVariance0HB4, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + //preparation for PHI normalization: + double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + reconoisevarianceHB[1][jeta][jphi] = reconoiseVarianceHB2->GetBinContent(jeta+1,jphi+1); + reconoisevarianceHB[2][jeta][jphi] = reconoiseVarianceHB3->GetBinContent(jeta+1,jphi+1); + reconoisevarianceHB[3][jeta][jphi] = reconoiseVarianceHB4->GetBinContent(jeta+1,jphi+1); + if(reconoisevarianceHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += reconoisevarianceHB[0][jeta][jphi];++nsumreconoiseHB0;} + if(reconoisevarianceHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += reconoisevarianceHB[1][jeta][jphi];++nsumreconoiseHB1;} + if(reconoisevarianceHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += reconoisevarianceHB[2][jeta][jphi];++nsumreconoiseHB2;} + if(reconoisevarianceHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += reconoisevarianceHB[3][jeta][jphi];++nsumreconoiseHB3;} + }// phi + // PHI normalization : + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDreconoiseHB42D = new TH2F("DefzDreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHB42D0 = new TH2F("DefzDreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHB42DF = (TH2F*)DefzDreconoiseHB42D0->Clone("DefzDreconoiseHB42DF"); + for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 + if(areconoiseHB[i][jeta][jphi]>0.) {DefzDreconoiseHB42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHB42D0 ->Fill(kkk,jphi,1.); } + }}}} + DefzDreconoiseHB42DF->Divide(DefzDreconoiseHB42D,DefzDreconoiseHB42D0, 1, 1, "B");// average A + // DefzDreconoiseHB1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB42DF->SetMarkerStyle(20); DefzDreconoiseHB42DF->SetMarkerSize(0.4); DefzDreconoiseHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHB42DF->SetYTitle(" #phi \b"); DefzDreconoiseHB42DF->SetZTitle("_depth \b"); DefzDreconoiseHB42DF->SetMarkerColor(2); DefzDreconoiseHB42DF->SetLineColor(0); // DefzDreconoiseHB42DF->SetMaximum(1.000); // DefzDreconoiseHB42DF->SetMinimum(1.0); + DefzDreconoiseHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHB42D) delete DefzDreconoiseHB42D; + if (DefzDreconoiseHB42D0) delete DefzDreconoiseHB42D0; + if (DefzDreconoiseHB42DF) delete DefzDreconoiseHB42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDreconoiseHB41D = new TH1F("DefzDreconoiseHB41D","", nphi, 0., 72. ); + TH1F* DefzDreconoiseHB41D0 = new TH1F("DefzDreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* DefzDreconoiseHB41DF = (TH1F*)DefzDreconoiseHB41D0->Clone("DefzDreconoiseHB41DF"); + + for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int i=0;i0.) {DefzDreconoiseHB41D ->Fill(jphi,ccc1); DefzDreconoiseHB41D0 ->Fill(jphi,1.); } + }}}} + // DefzDreconoiseHB41D->Sumw2();DefzDreconoiseHB41D0->Sumw2(); + + DefzDreconoiseHB41DF->Divide(DefzDreconoiseHB41D,DefzDreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB41DF->SetMarkerStyle(20); DefzDreconoiseHB41DF->SetMarkerSize(1.4); DefzDreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB41DF->SetXTitle("#phi \b"); DefzDreconoiseHB41DF->SetYTitle(" \b"); DefzDreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHB41DF->SetMarkerColor(4); DefzDreconoiseHB41DF->SetLineColor(4); //DefzDreconoiseHB41DF->SetMinimum(0.8); DefzDreconoiseHB41DF->SetMinimum(-0.015); + DefzDreconoiseHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DreconoiseGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (DefzDreconoiseHB41D) delete DefzDreconoiseHB41D; + if (DefzDreconoiseHB41D0) delete DefzDreconoiseHB41D0; + if (DefzDreconoiseHB41DF) delete DefzDreconoiseHB41DF; + + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD1=1; + TH1F* h2CeffHBpositivedirectionReconoiseD1 = new TH1F("h2CeffHBpositivedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD1 == 1) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 2) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 3) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 4) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 5) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 6) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 7) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 8) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 9) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==10) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==11) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==12) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==13) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==14) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==15) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==16) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseD1->Draw("Error"); + kcountHBpositivedirectionReconoiseD1++; + if(kcountHBpositivedirectionReconoiseD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD1) delete h2CeffHBpositivedirectionReconoiseD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD2=1; + TH1F* h2CeffHBpositivedirectionReconoiseD2 = new TH1F("h2CeffHBpositivedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD2 == 1) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 2) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 3) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 4) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 5) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 6) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 7) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 8) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 9) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==10) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==11) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==12) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==13) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==14) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==15) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==16) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseD2->Draw("Error"); + kcountHBpositivedirectionReconoiseD2++; + if(kcountHBpositivedirectionReconoiseD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD2) delete h2CeffHBpositivedirectionReconoiseD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD3=1; + TH1F* h2CeffHBpositivedirectionReconoiseD3 = new TH1F("h2CeffHBpositivedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD3 == 1) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 2) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 3) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 4) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 5) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 6) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 7) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 8) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 9) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==10) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==11) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==12) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==13) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==14) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==15) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==16) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseD3->Draw("Error"); + kcountHBpositivedirectionReconoiseD3++; + if(kcountHBpositivedirectionReconoiseD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD3) delete h2CeffHBpositivedirectionReconoiseD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD4=1; + TH1F* h2CeffHBpositivedirectionReconoiseD4 = new TH1F("h2CeffHBpositivedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD4 == 1) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 2) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 3) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 4) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 5) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 6) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 7) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 8) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 9) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==10) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==11) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==12) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==13) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==14) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==15) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==16) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseD4->Draw("Error"); + kcountHBpositivedirectionReconoiseD4++; + if(kcountHBpositivedirectionReconoiseD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD4) delete h2CeffHBpositivedirectionReconoiseD4; + + + //========================================================================================== 22214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD1=1; + TH1F* h2CeffHBnegativedirectionReconoiseD1 = new TH1F("h2CeffHBnegativedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD1 == 1) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 2) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 3) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 4) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 5) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 6) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 7) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 8) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 9) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==10) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==11) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==12) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==13) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==14) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==15) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==16) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); + HBnegativedirectionReconoiseD1->Draw("Error"); + kcountHBnegativedirectionReconoiseD1++; + if(kcountHBnegativedirectionReconoiseD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD1) delete h2CeffHBnegativedirectionReconoiseD1; + //========================================================================================== 22215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD2=1; + TH1F* h2CeffHBnegativedirectionReconoiseD2 = new TH1F("h2CeffHBnegativedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD2 == 1) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 2) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 3) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 4) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 5) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 6) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 7) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 8) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 9) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==10) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==11) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==12) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==13) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==14) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==15) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==16) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); + HBnegativedirectionReconoiseD2->Draw("Error"); + kcountHBnegativedirectionReconoiseD2++; + if(kcountHBnegativedirectionReconoiseD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD2) delete h2CeffHBnegativedirectionReconoiseD2; + //========================================================================================== 22216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD3=1; + TH1F* h2CeffHBnegativedirectionReconoiseD3 = new TH1F("h2CeffHBnegativedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD3 == 1) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 2) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 3) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 4) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 5) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 6) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 7) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 8) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 9) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==10) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==11) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==12) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==13) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==14) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==15) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==16) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); + HBnegativedirectionReconoiseD3->Draw("Error"); + kcountHBnegativedirectionReconoiseD3++; + if(kcountHBnegativedirectionReconoiseD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD3) delete h2CeffHBnegativedirectionReconoiseD3; + //========================================================================================== 22217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD4=1; + TH1F* h2CeffHBnegativedirectionReconoiseD4 = new TH1F("h2CeffHBnegativedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD4 == 1) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 2) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 3) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 4) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 5) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 6) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 7) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 8) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 9) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==10) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==11) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==12) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==13) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==14) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==15) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==16) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); + HBnegativedirectionReconoiseD4->Draw("Error"); + kcountHBnegativedirectionReconoiseD4++; + if(kcountHBnegativedirectionReconoiseD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD4) delete h2CeffHBnegativedirectionReconoiseD4; + + + + + //===================================================================== END of Reconoise HB for phi-symmetry + //===================================================================== END of Reconoise HB for phi-symmetry + //===================================================================== END of Reconoise HB for phi-symmetry + + + + + + + + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double areconoisehe[ndepth][njeta][njphi]; + double breconoisehe[ndepth][njeta][njphi]; + double reconoisevariancehe[ndepth][njeta][njphi]; + //////////////////////////////////////////////////////////////////////////////////////////////////////////// + TH2F *recNoiseEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE1"); + TH2F *recNoiseEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + TH2F* recNoiseEnergyHE1 = (TH2F*)recNoiseEnergy1HE1->Clone("recNoiseEnergyHE1"); + recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1,recNoiseEnergy0HE1, 1, 1, "B"); + TH2F *recNoiseEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE2"); + TH2F *recNoiseEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + TH2F* recNoiseEnergyHE2 = (TH2F*)recNoiseEnergy1HE2->Clone("recNoiseEnergyHE2"); + recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2,recNoiseEnergy0HE2, 1, 1, "B"); + TH2F *recNoiseEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE3"); + TH2F *recNoiseEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + TH2F* recNoiseEnergyHE3 = (TH2F*)recNoiseEnergy1HE3->Clone("recNoiseEnergyHE3"); + recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3,recNoiseEnergy0HE3, 1, 1, "B"); + TH2F *recNoiseEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE4"); + TH2F *recNoiseEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + TH2F* recNoiseEnergyHE4 = (TH2F*)recNoiseEnergy1HE4->Clone("recNoiseEnergyHE4"); + recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4,recNoiseEnergy0HE4, 1, 1, "B"); + TH2F *recNoiseEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE5"); + TH2F *recNoiseEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + TH2F* recNoiseEnergyHE5 = (TH2F*)recNoiseEnergy1HE5->Clone("recNoiseEnergyHE5"); + recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5,recNoiseEnergy0HE5, 1, 1, "B"); + TH2F *recNoiseEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE6"); + TH2F *recNoiseEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + TH2F* recNoiseEnergyHE6 = (TH2F*)recNoiseEnergy1HE6->Clone("recNoiseEnergyHE6"); + recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6,recNoiseEnergy0HE6, 1, 1, "B"); + TH2F *recNoiseEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE7"); + TH2F *recNoiseEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + TH2F* recNoiseEnergyHE7 = (TH2F*)recNoiseEnergy1HE7->Clone("recNoiseEnergyHE7"); + recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7,recNoiseEnergy0HE7, 1, 1, "B"); + for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + //====================================================================== PHI normalization & put R into massive areconoisehe + //preparation for PHI normalization: + double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; + double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + areconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); + areconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); + areconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); + areconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); + areconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); + areconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); + + breconoisehe[0][jeta][jphi] = recNoiseEnergyHE1->GetBinContent(jeta+1,jphi+1); + breconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); + breconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); + breconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); + breconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); + breconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); + breconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); + + if(areconoisehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += areconoisehe[0][jeta][jphi];++nsumreconoiseHE0;} + if(areconoisehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += areconoisehe[1][jeta][jphi];++nsumreconoiseHE1;} + if(areconoisehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += areconoisehe[2][jeta][jphi];++nsumreconoiseHE2;} + if(areconoisehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += areconoisehe[3][jeta][jphi];++nsumreconoiseHE3;} + if(areconoisehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += areconoisehe[4][jeta][jphi];++nsumreconoiseHE4;} + if(areconoisehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += areconoisehe[5][jeta][jphi];++nsumreconoiseHE5;} + if(areconoisehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += areconoisehe[6][jeta][jphi];++nsumreconoiseHE6;} + }// phi + + // PHI normalization for DIF: + for(int jphi=0;jphi= + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthes + //====================================================================== + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HE + //====================================================================== + c2x1->Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRreconoiseHE42D = new TH2F("GefzRreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHE42D0 = new TH2F("GefzRreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHE42DF = (TH2F*)GefzRreconoiseHE42D0->Clone("GefzRreconoiseHE42DF"); + for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHE42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzRreconoiseHE42DF->Divide(GefzRreconoiseHE42D,GefzRreconoiseHE42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHE42DF->SetYTitle(" #phi \b"); + GefzRreconoiseHE42DF->Draw("COLZ"); + + + c2x1->cd(2); + TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); + energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); + + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RreconoiseGeneralD2PhiSymmetryHE.png"); + c2x1->Clear(); + // clean-up + if (GefzRreconoiseHE42D) delete GefzRreconoiseHE42D; + if (GefzRreconoiseHE42D0) delete GefzRreconoiseHE42D0; + if (GefzRreconoiseHE42DF) delete GefzRreconoiseHE42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRreconoiseHE41D = new TH1F("GefzRreconoiseHE41D","", nphi, 0., 72. ); + TH1F* GefzRreconoiseHE41D0 = new TH1F("GefzRreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHE41DF = (TH1F*)GefzRreconoiseHE41D0->Clone("GefzRreconoiseHE41DF"); + for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHE41D0 ->Fill(jphi,1.); } + }}}} + GefzRreconoiseHE41DF->Divide(GefzRreconoiseHE41D,GefzRreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta + GefzRreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE41DF->SetMarkerStyle(20); GefzRreconoiseHE41DF->SetMarkerSize(1.4); GefzRreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHE41DF->SetXTitle("#phi \b"); GefzRreconoiseHE41DF->SetYTitle(" \b"); GefzRreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRreconoiseHE41DF->SetMarkerColor(4); GefzRreconoiseHE41DF->SetLineColor(4); // GefzRreconoiseHE41DF->SetMinimum(0.8); // GefzRreconoiseHE41DF->SetMaximum(1.000); + GefzRreconoiseHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RreconoiseGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (GefzRreconoiseHE41D) delete GefzRreconoiseHE41D; + if (GefzRreconoiseHE41D0) delete GefzRreconoiseHE41D0; + if (GefzRreconoiseHE41DF) delete GefzRreconoiseHE41DF; + + + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise1=1; + TH1F* h2CeffHEpositivedirectionReconoise1 = new TH1F("h2CeffHEpositivedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEpositivedirectionReconoise1 = "<SetMarkerColor(2);HEpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise1 == 1) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 2) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 3) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 4) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 5) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 6) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 7) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 8) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 9) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 ==10) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 ==11) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 ==12) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoise1->Draw("Error"); + kcountHEpositivedirectionReconoise1++; + if(kcountHEpositivedirectionReconoise1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 15 && jeta-41 <= 28 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise1) delete h2CeffHEpositivedirectionReconoise1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise2=1; + TH1F* h2CeffHEpositivedirectionReconoise2 = new TH1F("h2CeffHEpositivedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEpositivedirectionReconoise2 = "<SetMarkerColor(2);HEpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise2 == 1) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 2) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 3) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 4) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 5) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 6) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 7) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 8) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 9) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==10) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==11) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==12) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==13) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoise2->Draw("Error"); + kcountHEpositivedirectionReconoise2++; + if(kcountHEpositivedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise2) delete h2CeffHEpositivedirectionReconoise2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise3=1; + TH1F* h2CeffHEpositivedirectionReconoise3 = new TH1F("h2CeffHEpositivedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEpositivedirectionReconoise3 = "<SetMarkerColor(2);HEpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise3 == 1) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 2) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 3) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 4) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 5) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 6) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 7) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 8) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 9) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==10) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==11) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==12) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==13) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoise3->Draw("Error"); + kcountHEpositivedirectionReconoise3++; + if(kcountHEpositivedirectionReconoise3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise3) delete h2CeffHEpositivedirectionReconoise3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise4=1; + TH1F* h2CeffHEpositivedirectionReconoise4 = new TH1F("h2CeffHEpositivedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEpositivedirectionReconoise4 = "<SetMarkerColor(2);HEpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise4 == 1) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 2) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 3) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 4) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 5) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 6) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 7) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 8) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 9) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 ==10) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 ==11) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 ==12) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoise4->Draw("Error"); + kcountHEpositivedirectionReconoise4++; + if(kcountHEpositivedirectionReconoise4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise4) delete h2CeffHEpositivedirectionReconoise4; + //========================================================================================== 8 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise5=1; + TH1F* h2CeffHEpositivedirectionReconoise5 = new TH1F("h2CeffHEpositivedirectionReconoise5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise5 == 1) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 2) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 3) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 4) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 5) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 6) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 7) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 8) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 9) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 ==10) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 ==11) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoise5->Draw("Error"); + kcountHEpositivedirectionReconoise5++; + if(kcountHEpositivedirectionReconoise5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise5) delete h2CeffHEpositivedirectionReconoise5; + //========================================================================================== 9 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise6=1; + TH1F* h2CeffHEpositivedirectionReconoise6 = new TH1F("h2CeffHEpositivedirectionReconoise6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEpositivedirectionReconoise6 = "<SetMarkerColor(2);HEpositivedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise6 == 1) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 2) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 3) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 4) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 5) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 6) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 7) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 8) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 9) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 ==10) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoise6->Draw("Error"); + kcountHEpositivedirectionReconoise6++; + if(kcountHEpositivedirectionReconoise6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise6) delete h2CeffHEpositivedirectionReconoise6; + //========================================================================================== 10 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise7=1; + TH1F* h2CeffHEpositivedirectionReconoise7 = new TH1F("h2CeffHEpositivedirectionReconoise7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEpositivedirectionReconoise7 = "<SetMarkerColor(2);HEpositivedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise7 == 1) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionReconoise7 == 2) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionReconoise7 == 3) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoise7->Draw("Error"); + kcountHEpositivedirectionReconoise7++; + if(kcountHEpositivedirectionReconoise7>3) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise7) delete h2CeffHEpositivedirectionReconoise7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise1=1; + TH1F* h2CeffHEnegativedirectionReconoise1 = new TH1F("h2CeffHEnegativedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEnegativedirectionReconoise1 = "<SetMarkerColor(2);HEnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise1 == 1) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 2) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 3) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 4) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 5) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 6) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 7) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 8) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 9) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 ==10) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 ==11) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 ==12) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoise1->Draw("Error"); + kcountHEnegativedirectionReconoise1++; + if(kcountHEnegativedirectionReconoise1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise1) delete h2CeffHEnegativedirectionReconoise1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise2=1; + TH1F* h2CeffHEnegativedirectionReconoise2 = new TH1F("h2CeffHEnegativedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEnegativedirectionReconoise2 = "<SetMarkerColor(2);HEnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise2 == 1) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 2) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 3) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 4) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 5) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 6) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 7) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 8) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 9) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==10) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==11) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==12) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==13) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoise2->Draw("Error"); + kcountHEnegativedirectionReconoise2++; + if(kcountHEnegativedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise2) delete h2CeffHEnegativedirectionReconoise2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise3=1; + TH1F* h2CeffHEnegativedirectionReconoise3 = new TH1F("h2CeffHEnegativedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEnegativedirectionReconoise3 = "<SetMarkerColor(2);HEnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise3 == 1) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 2) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 3) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 4) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 5) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 6) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 7) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 8) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 9) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==10) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==11) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==12) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==13) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoise3->Draw("Error"); + kcountHEnegativedirectionReconoise3++; + if(kcountHEnegativedirectionReconoise3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise3) delete h2CeffHEnegativedirectionReconoise3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise4=1; + TH1F* h2CeffHEnegativedirectionReconoise4 = new TH1F("h2CeffHEnegativedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEnegativedirectionReconoise4 = "<SetMarkerColor(2);HEnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise4 == 1) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 2) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 3) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 4) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 5) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 6) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 7) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 8) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 9) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 ==10) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 ==11) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 ==12) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoise4->Draw("Error"); + kcountHEnegativedirectionReconoise4++; + if(kcountHEnegativedirectionReconoise4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise4) delete h2CeffHEnegativedirectionReconoise4; + //========================================================================================== 1118 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise5=1; + TH1F* h2CeffHEnegativedirectionReconoise5 = new TH1F("h2CeffHEnegativedirectionReconoise5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise5 == 1) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 2) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 3) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 4) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 5) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 6) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 7) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 8) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 9) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 ==10) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 ==11) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoise5->Draw("Error"); + kcountHEnegativedirectionReconoise5++; + if(kcountHEnegativedirectionReconoise5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise5) delete h2CeffHEnegativedirectionReconoise5; + //========================================================================================== 1119 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise6=1; + TH1F* h2CeffHEnegativedirectionReconoise6 = new TH1F("h2CeffHEnegativedirectionReconoise6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEnegativedirectionReconoise6 = "<SetMarkerColor(2);HEnegativedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise6 == 1) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 2) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 3) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 4) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 5) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 6) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 7) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 8) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 9) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 ==10) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoise6->Draw("Error"); + kcountHEnegativedirectionReconoise6++; + if(kcountHEnegativedirectionReconoise6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise6) delete h2CeffHEnegativedirectionReconoise6; + //========================================================================================== 11110 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise7=1; + TH1F* h2CeffHEnegativedirectionReconoise7 = new TH1F("h2CeffHEnegativedirectionReconoise7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEnegativedirectionReconoise7 = "<SetMarkerColor(2);HEnegativedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise7 == 1) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionReconoise7 == 2) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionReconoise7 == 3) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoise7->Draw("Error"); + kcountHEnegativedirectionReconoise7++; + if(kcountHEnegativedirectionReconoise7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise7) delete h2CeffHEnegativedirectionReconoise7; + + //====================================================================================================================== + //====================================================================================================================== + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //====================================================================================================================== + // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HE + //====================================================================================================================== + //====================================================================== + c2x1->Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzDIFreconoiseHE42D = new TH2F("GefzDIFreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHE42D0 = new TH2F("GefzDIFreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHE42DF = (TH2F*)GefzDIFreconoiseHE42D0->Clone("GefzDIFreconoiseHE42DF"); + for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzDIFreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHE42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzDIFreconoiseHE42DF->Divide(GefzDIFreconoiseHE42D,GefzDIFreconoiseHE42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHE42DF->SetYTitle(" #phi \b"); + GefzDIFreconoiseHE42DF->Draw("COLZ"); + + + //c2x1->cd(2); + //TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); + //energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); + + + + + ///////////////// + c2x1->Update(); + c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHE.png"); + c2x1->Clear(); + // clean-up + if (GefzDIFreconoiseHE42D) delete GefzDIFreconoiseHE42D; + if (GefzDIFreconoiseHE42D0) delete GefzDIFreconoiseHE42D0; + if (GefzDIFreconoiseHE42DF) delete GefzDIFreconoiseHE42DF; + //====================================================================== 1D plot: DIF vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: DIF vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzDIFreconoiseHE41D = new TH1F("GefzDIFreconoiseHE41D","", nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHE41D0 = new TH1F("GefzDIFreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHE41DF = (TH1F*)GefzDIFreconoiseHE41D0->Clone("GefzDIFreconoiseHE41DF"); + for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHE41D0 ->Fill(jphi,1.); } + }}}} + GefzDIFreconoiseHE41DF->Divide(GefzDIFreconoiseHE41D,GefzDIFreconoiseHE41D0, 1, 1, "B");// DIF averaged over depthes & eta + GefzDIFreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE41DF->SetMarkerStyle(20); GefzDIFreconoiseHE41DF->SetMarkerSize(1.4); GefzDIFreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHE41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHE41DF->SetYTitle(" \b"); GefzDIFreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzDIFreconoiseHE41DF->SetMarkerColor(4); GefzDIFreconoiseHE41DF->SetLineColor(4); // GefzDIFreconoiseHE41DF->SetMinimum(0.8); // GefzDIFreconoiseHE41DF->SetMaximum(1.000); + GefzDIFreconoiseHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (GefzDIFreconoiseHE41D) delete GefzDIFreconoiseHE41D; + if (GefzDIFreconoiseHE41D0) delete GefzDIFreconoiseHE41D0; + if (GefzDIFreconoiseHE41DF) delete GefzDIFreconoiseHE41DF; + + + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF1=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF1 == 1) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 2) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 3) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 4) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 5) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 6) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 7) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 8) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 9) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 ==10) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 ==11) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 ==12) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF1++; + if(kcountHEpositivedirectionReconoiseDIF1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 15 && jeta-41 <= 28 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF1) delete h2CeffHEpositivedirectionReconoiseDIF1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF2=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF2 == 1) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 2) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 3) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 4) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 5) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 6) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 7) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 8) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 9) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==10) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==11) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==12) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==13) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF2++; + if(kcountHEpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF2) delete h2CeffHEpositivedirectionReconoiseDIF2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF3=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF3 == 1) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 2) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 3) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 4) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 5) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 6) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 7) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 8) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 9) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==10) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==11) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==12) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==13) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF3++; + if(kcountHEpositivedirectionReconoiseDIF3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF3) delete h2CeffHEpositivedirectionReconoiseDIF3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF4=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF4 == 1) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 2) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 3) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 4) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 5) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 6) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 7) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 8) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 9) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 ==10) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 ==11) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 ==12) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF4++; + if(kcountHEpositivedirectionReconoiseDIF4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF4) delete h2CeffHEpositivedirectionReconoiseDIF4; + //========================================================================================== 8 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF5=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF5 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF5 == 1) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 2) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 3) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 4) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 5) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 6) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 7) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 8) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 9) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 ==10) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 ==11) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseDIF5->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF5++; + if(kcountHEpositivedirectionReconoiseDIF5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF5) delete h2CeffHEpositivedirectionReconoiseDIF5; + //========================================================================================== 9 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF6=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF6 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEpositivedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF6 == 1) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 2) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 3) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 4) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 5) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 6) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 7) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 8) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 9) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 ==10) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseDIF6->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF6++; + if(kcountHEpositivedirectionReconoiseDIF6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF6) delete h2CeffHEpositivedirectionReconoiseDIF6; + //========================================================================================== 10 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF7=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF7 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEpositivedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF7 == 1) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseDIF7 == 2) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseDIF7 == 3) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseDIF7->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF7++; + if(kcountHEpositivedirectionReconoiseDIF7>3) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF7) delete h2CeffHEpositivedirectionReconoiseDIF7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF1=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF1 == 1) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 2) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 3) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 4) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 5) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 6) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 7) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 8) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 9) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 ==10) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 ==11) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 ==12) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF1++; + if(kcountHEnegativedirectionReconoiseDIF1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF1) delete h2CeffHEnegativedirectionReconoiseDIF1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF2=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF2 == 1) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 2) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 3) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 4) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 5) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 6) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 7) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 8) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 9) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==10) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==11) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==12) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==13) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF2++; + if(kcountHEnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF2) delete h2CeffHEnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF3=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF3 == 1) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 2) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 3) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 4) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 5) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 6) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 7) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 8) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 9) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==10) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==11) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==12) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==13) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF3++; + if(kcountHEnegativedirectionReconoiseDIF3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF3) delete h2CeffHEnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF4=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF4 == 1) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 2) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 3) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 4) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 5) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 6) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 7) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 8) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 9) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 ==10) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 ==11) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 ==12) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF4++; + if(kcountHEnegativedirectionReconoiseDIF4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF4) delete h2CeffHEnegativedirectionReconoiseDIF4; + //========================================================================================== 1118 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF5=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF5 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF5 == 1) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 2) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 3) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 4) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 5) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 6) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 7) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 8) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 9) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 ==10) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 ==11) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseDIF5->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF5++; + if(kcountHEnegativedirectionReconoiseDIF5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF5) delete h2CeffHEnegativedirectionReconoiseDIF5; + //========================================================================================== 1119 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF6=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF6 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEnegativedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF6 == 1) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 2) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 3) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 4) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 5) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 6) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 7) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 8) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 9) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 ==10) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseDIF6->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF6++; + if(kcountHEnegativedirectionReconoiseDIF6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF6) delete h2CeffHEnegativedirectionReconoiseDIF6; + //========================================================================================== 11110 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF7=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF7 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEnegativedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF7 == 1) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseDIF7 == 2) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseDIF7 == 3) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseDIF7->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF7++; + if(kcountHEnegativedirectionReconoiseDIF7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF7) delete h2CeffHEnegativedirectionReconoiseDIF7; + + //====================================================================================================================== + //====================================================================================================================== + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HE1"); + TH2F *reconoiseVariance0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + TH2F* reconoiseVarianceHE1 = (TH2F*)reconoiseVariance1HE1->Clone("reconoiseVarianceHE1"); + reconoiseVarianceHE1->Divide(reconoiseVariance1HE1,reconoiseVariance0HE1, 1, 1, "B"); + TH2F *reconoiseVariance1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE2"); + TH2F *reconoiseVariance0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + TH2F* reconoiseVarianceHE2 = (TH2F*)reconoiseVariance1HE2->Clone("reconoiseVarianceHE2"); + reconoiseVarianceHE2->Divide(reconoiseVariance1HE2,reconoiseVariance0HE2, 1, 1, "B"); + TH2F *reconoiseVariance1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE3"); + TH2F *reconoiseVariance0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + TH2F* reconoiseVarianceHE3 = (TH2F*)reconoiseVariance1HE3->Clone("reconoiseVarianceHE3"); + reconoiseVarianceHE3->Divide(reconoiseVariance1HE3,reconoiseVariance0HE3, 1, 1, "B"); + TH2F *reconoiseVariance1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE4"); + TH2F *reconoiseVariance0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + TH2F* reconoiseVarianceHE4 = (TH2F*)reconoiseVariance1HE4->Clone("reconoiseVarianceHE4"); + reconoiseVarianceHE4->Divide(reconoiseVariance1HE4,reconoiseVariance0HE4, 1, 1, "B"); + TH2F *reconoiseVariance1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE5"); + TH2F *reconoiseVariance0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + TH2F* reconoiseVarianceHE5 = (TH2F*)reconoiseVariance1HE5->Clone("reconoiseVarianceHE5"); + reconoiseVarianceHE5->Divide(reconoiseVariance1HE5,reconoiseVariance0HE5, 1, 1, "B"); + TH2F *reconoiseVariance1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE6"); + TH2F *reconoiseVariance0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + TH2F* reconoiseVarianceHE6 = (TH2F*)reconoiseVariance1HE6->Clone("reconoiseVarianceHE6"); + reconoiseVarianceHE6->Divide(reconoiseVariance1HE6,reconoiseVariance0HE6, 1, 1, "B"); + TH2F *reconoiseVariance1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE7"); + TH2F *reconoiseVariance0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + TH2F* reconoiseVarianceHE7 = (TH2F*)reconoiseVariance1HE7->Clone("reconoiseVarianceHE7"); + reconoiseVarianceHE7->Divide(reconoiseVariance1HE7,reconoiseVariance0HE7, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + //preparation for PHI normalization: + double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; + double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + reconoisevariancehe[1][jeta][jphi] = reconoiseVarianceHE2->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[2][jeta][jphi] = reconoiseVarianceHE3->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[3][jeta][jphi] = reconoiseVarianceHE4->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[4][jeta][jphi] = reconoiseVarianceHE5->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[5][jeta][jphi] = reconoiseVarianceHE6->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[6][jeta][jphi] = reconoiseVarianceHE7->GetBinContent(jeta+1,jphi+1); + if(reconoisevariancehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += reconoisevariancehe[0][jeta][jphi];++nsumreconoiseHE0;} + if(reconoisevariancehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += reconoisevariancehe[1][jeta][jphi];++nsumreconoiseHE1;} + if(reconoisevariancehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += reconoisevariancehe[2][jeta][jphi];++nsumreconoiseHE2;} + if(reconoisevariancehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += reconoisevariancehe[3][jeta][jphi];++nsumreconoiseHE3;} + if(reconoisevariancehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += reconoisevariancehe[4][jeta][jphi];++nsumreconoiseHE4;} + if(reconoisevariancehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += reconoisevariancehe[5][jeta][jphi];++nsumreconoiseHE5;} + if(reconoisevariancehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += reconoisevariancehe[6][jeta][jphi];++nsumreconoiseHE6;} + }// phi + // PHI normalization : + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDreconoiseHE42D = new TH2F("DefzDreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHE42D0 = new TH2F("DefzDreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHE42DF = (TH2F*)DefzDreconoiseHE42D0->Clone("DefzDreconoiseHE42DF"); + for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 + if(areconoisehe[i][jeta][jphi]>0.) {DefzDreconoiseHE42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHE42D0 ->Fill(kkk,jphi,1.); } + }}}} + DefzDreconoiseHE42DF->Divide(DefzDreconoiseHE42D,DefzDreconoiseHE42D0, 1, 1, "B");// average A + // DefzDreconoiseHE1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE42DF->SetMarkerStyle(20); DefzDreconoiseHE42DF->SetMarkerSize(0.4); DefzDreconoiseHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHE42DF->SetYTitle(" #phi \b"); DefzDreconoiseHE42DF->SetZTitle("_depth \b"); DefzDreconoiseHE42DF->SetMarkerColor(2); DefzDreconoiseHE42DF->SetLineColor(0); // DefzDreconoiseHE42DF->SetMaximum(1.000); // DefzDreconoiseHE42DF->SetMinimum(1.0); + DefzDreconoiseHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHE42D) delete DefzDreconoiseHE42D; + if (DefzDreconoiseHE42D0) delete DefzDreconoiseHE42D0; + if (DefzDreconoiseHE42DF) delete DefzDreconoiseHE42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDreconoiseHE41D = new TH1F("DefzDreconoiseHE41D","", nphi, 0., 72. ); + TH1F* DefzDreconoiseHE41D0 = new TH1F("DefzDreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* DefzDreconoiseHE41DF = (TH1F*)DefzDreconoiseHE41D0->Clone("DefzDreconoiseHE41DF"); + + for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int i=0;i0.) {DefzDreconoiseHE41D ->Fill(jphi,ccc1); DefzDreconoiseHE41D0 ->Fill(jphi,1.); } + }}}} + // DefzDreconoiseHE41D->Sumw2();DefzDreconoiseHE41D0->Sumw2(); + + DefzDreconoiseHE41DF->Divide(DefzDreconoiseHE41D,DefzDreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta + DefzDreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE41DF->SetMarkerStyle(20); DefzDreconoiseHE41DF->SetMarkerSize(1.4); DefzDreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE41DF->SetXTitle("#phi \b"); DefzDreconoiseHE41DF->SetYTitle(" \b"); DefzDreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDreconoiseHE41DF->SetMarkerColor(4); DefzDreconoiseHE41DF->SetLineColor(4); // DefzDreconoiseHE41DF->SetMinimum(0.8); DefzDreconoiseHE41DF->SetMinimum(-0.015); + DefzDreconoiseHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DreconoiseGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (DefzDreconoiseHE41D) delete DefzDreconoiseHE41D; + if (DefzDreconoiseHE41D0) delete DefzDreconoiseHE41D0; + if (DefzDreconoiseHE41DF) delete DefzDreconoiseHE41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD1=1; + TH1F* h2CeffHEpositivedirectionReconoiseD1 = new TH1F("h2CeffHEpositivedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD1 == 1) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 2) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 3) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 4) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 5) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 6) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 7) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 8) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 9) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 ==10) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 ==11) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 ==12) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseD1->Draw("Error"); + kcountHEpositivedirectionReconoiseD1++; + if(kcountHEpositivedirectionReconoiseD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD1) delete h2CeffHEpositivedirectionReconoiseD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD2=1; + TH1F* h2CeffHEpositivedirectionReconoiseD2 = new TH1F("h2CeffHEpositivedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD2 == 1) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 2) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 3) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 4) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 5) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 6) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 7) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 8) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 9) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==10) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==11) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==12) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==13) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseD2->Draw("Error"); + kcountHEpositivedirectionReconoiseD2++; + if(kcountHEpositivedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD2) delete h2CeffHEpositivedirectionReconoiseD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD3=1; + TH1F* h2CeffHEpositivedirectionReconoiseD3 = new TH1F("h2CeffHEpositivedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD3 == 1) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 2) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 3) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 4) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 5) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 6) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 7) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 8) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 9) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==10) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==11) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==12) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==13) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseD3->Draw("Error"); + kcountHEpositivedirectionReconoiseD3++; + if(kcountHEpositivedirectionReconoiseD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD3) delete h2CeffHEpositivedirectionReconoiseD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD4=1; + TH1F* h2CeffHEpositivedirectionReconoiseD4 = new TH1F("h2CeffHEpositivedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD4 == 1) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 2) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 3) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 4) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 5) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 6) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 7) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 8) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 9) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 ==10) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 ==11) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 ==12) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseD4->Draw("Error"); + kcountHEpositivedirectionReconoiseD4++; + if(kcountHEpositivedirectionReconoiseD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD4) delete h2CeffHEpositivedirectionReconoiseD4; + //========================================================================================== 18 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD5=1; + TH1F* h2CeffHEpositivedirectionReconoiseD5 = new TH1F("h2CeffHEpositivedirectionReconoiseD5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEpositivedirectionReconoiseD5 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD5 == 1) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 2) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 3) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 4) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 5) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 6) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 7) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 8) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 9) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 ==10) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 ==11) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseD5->Draw("Error"); + kcountHEpositivedirectionReconoiseD5++; + if(kcountHEpositivedirectionReconoiseD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD5) delete h2CeffHEpositivedirectionReconoiseD5; + //========================================================================================== 19 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD6=1; + TH1F* h2CeffHEpositivedirectionReconoiseD6 = new TH1F("h2CeffHEpositivedirectionReconoiseD6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEpositivedirectionReconoiseD6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD6 == 1) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 2) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 3) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 4) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 5) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 6) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 7) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 8) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 9) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 ==10) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseD6->Draw("Error"); + kcountHEpositivedirectionReconoiseD6++; + if(kcountHEpositivedirectionReconoiseD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD6) delete h2CeffHEpositivedirectionReconoiseD6; + //========================================================================================== 20 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD7=1; + TH1F* h2CeffHEpositivedirectionReconoiseD7 = new TH1F("h2CeffHEpositivedirectionReconoiseD7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEpositivedirectionReconoiseD7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD7 == 1) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseD7 == 2) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseD7 == 3) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseD7->Draw("Error"); + kcountHEpositivedirectionReconoiseD7++; + if(kcountHEpositivedirectionReconoiseD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD7) delete h2CeffHEpositivedirectionReconoiseD7; + + + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD1=1; + TH1F* h2CeffHEnegativedirectionReconoiseD1 = new TH1F("h2CeffHEnegativedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD1 == 1) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 2) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 3) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 4) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 5) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 6) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 7) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 8) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 9) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 ==10) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 ==11) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 ==12) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseD1->Draw("Error"); + kcountHEnegativedirectionReconoiseD1++; + if(kcountHEnegativedirectionReconoiseD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD1) delete h2CeffHEnegativedirectionReconoiseD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD2=1; + TH1F* h2CeffHEnegativedirectionReconoiseD2 = new TH1F("h2CeffHEnegativedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD2 == 1) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 2) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 3) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 4) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 5) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 6) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 7) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 8) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 9) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==10) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==11) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==12) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==13) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseD2->Draw("Error"); + kcountHEnegativedirectionReconoiseD2++; + if(kcountHEnegativedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD2) delete h2CeffHEnegativedirectionReconoiseD2; + //========================================================================================== 22222216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD3=1; + TH1F* h2CeffHEnegativedirectionReconoiseD3 = new TH1F("h2CeffHEnegativedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD3 == 1) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 2) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 3) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 4) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 5) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 6) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 7) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 8) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 9) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==10) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==11) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==12) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==13) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseD3->Draw("Error"); + kcountHEnegativedirectionReconoiseD3++; + if(kcountHEnegativedirectionReconoiseD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD3) delete h2CeffHEnegativedirectionReconoiseD3; + //========================================================================================== 22222217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD4=1; + TH1F* h2CeffHEnegativedirectionReconoiseD4 = new TH1F("h2CeffHEnegativedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD4 == 1) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 2) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 3) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 4) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 5) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 6) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 7) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 8) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 9) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 ==10) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 ==11) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 ==12) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseD4->Draw("Error"); + kcountHEnegativedirectionReconoiseD4++; + if(kcountHEnegativedirectionReconoiseD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD4) delete h2CeffHEnegativedirectionReconoiseD4; + //========================================================================================== 22222218 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD5=1; + TH1F* h2CeffHEnegativedirectionReconoiseD5 = new TH1F("h2CeffHEnegativedirectionReconoiseD5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEnegativedirectionReconoiseD5 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD5 == 1) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 2) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 3) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 4) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 5) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 6) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 7) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 8) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 9) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 ==10) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 ==11) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseD5->Draw("Error"); + kcountHEnegativedirectionReconoiseD5++; + if(kcountHEnegativedirectionReconoiseD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD5) delete h2CeffHEnegativedirectionReconoiseD5; + //========================================================================================== 22222219 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD6=1; + TH1F* h2CeffHEnegativedirectionReconoiseD6 = new TH1F("h2CeffHEnegativedirectionReconoiseD6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEnegativedirectionReconoiseD6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD6 == 1) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 2) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 3) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 4) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 5) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 6) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 7) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 8) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 9) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 ==10) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseD6->Draw("Error"); + kcountHEnegativedirectionReconoiseD6++; + if(kcountHEnegativedirectionReconoiseD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD6) delete h2CeffHEnegativedirectionReconoiseD6; + //========================================================================================== 22222220 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD7=1; + TH1F* h2CeffHEnegativedirectionReconoiseD7 = new TH1F("h2CeffHEnegativedirectionReconoiseD7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEnegativedirectionReconoiseD7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD7 == 1) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseD7 == 2) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseD7 == 3) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseD7->Draw("Error"); + kcountHEnegativedirectionReconoiseD7++; + if(kcountHEnegativedirectionReconoiseD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD7) delete h2CeffHEnegativedirectionReconoiseD7; + //===================================================================== END of Reconoise HE for phi-symmetry + //===================================================================== END of Reconoise HE for phi-symmetry + //===================================================================== END of Reconoise HE for phi-symmetry + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double areconoiseHF[ndepth][njeta][njphi]; + double breconoiseHF[ndepth][njeta][njphi]; + double reconoisevarianceHF[ndepth][njeta][njphi]; + + + TH2F *recNoiseEnergy1HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF1"); + TH2F *recNoiseEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + TH2F* recNoiseEnergyHF1 = (TH2F*)recNoiseEnergy1HF1->Clone("recNoiseEnergyHF1"); + recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1,recNoiseEnergy0HF1, 1, 1, "B"); + TH2F *recNoiseEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF2"); + TH2F *recNoiseEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + TH2F* recNoiseEnergyHF2 = (TH2F*)recNoiseEnergy1HF2->Clone("recNoiseEnergyHF2"); + recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2,recNoiseEnergy0HF2, 1, 1, "B"); + //====================================================================== PHI normalization & put R into massive areconoiseHF + for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + //preparation for PHI normalization: + double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + areconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); + breconoiseHF[0][jeta][jphi] = recNoiseEnergyHF1->GetBinContent(jeta+1,jphi+1); + breconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); + sumreconoiseHF0 += areconoiseHF[0][jeta][jphi];++nsumreconoiseHF0; + sumreconoiseHF1 += areconoiseHF[1][jeta][jphi];++nsumreconoiseHF1; + }// phi + + // PHI normalization for DIF: + for(int jphi=0;jphiClear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRreconoiseHF42D = new TH2F("GefzRreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHF42D0 = new TH2F("GefzRreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHF42DF = (TH2F*)GefzRreconoiseHF42D0->Clone("GefzRreconoiseHF42DF"); + for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHF42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzRreconoiseHF42DF->Divide(GefzRreconoiseHF42D,GefzRreconoiseHF42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHF42DF->SetYTitle(" #phi \b"); + GefzRreconoiseHF42DF->Draw("COLZ"); + + + + c2x1->cd(2); + TH1F *energyhitNoise_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HF"); + energyhitNoise_HF ->SetMarkerStyle(20);energyhitNoise_HF ->SetMarkerSize(0.4);energyhitNoise_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HF ->SetXTitle("energyhitNoise_HF \b");energyhitNoise_HF ->SetMarkerColor(2);energyhitNoise_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HF ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RreconoiseGeneralD2PhiSymmetryHF.png"); + c2x1->Clear(); + // clean-up + if (GefzRreconoiseHF42D) delete GefzRreconoiseHF42D; + if (GefzRreconoiseHF42D0) delete GefzRreconoiseHF42D0; + if (GefzRreconoiseHF42DF) delete GefzRreconoiseHF42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRreconoiseHF41D = new TH1F("GefzRreconoiseHF41D","", nphi, 0., 72. ); + TH1F* GefzRreconoiseHF41D0 = new TH1F("GefzRreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHF41DF = (TH1F*)GefzRreconoiseHF41D0->Clone("GefzRreconoiseHF41DF"); + for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHF41D0 ->Fill(jphi,1.); } + }}}} + GefzRreconoiseHF41DF->Divide(GefzRreconoiseHF41D,GefzRreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF41DF->SetMarkerStyle(20); GefzRreconoiseHF41DF->SetMarkerSize(1.4); GefzRreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHF41DF->SetXTitle("#phi \b"); GefzRreconoiseHF41DF->SetYTitle(" \b"); GefzRreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHF41DF->SetMarkerColor(4); GefzRreconoiseHF41DF->SetLineColor(4);// GefzRreconoiseHF41DF->SetMinimum(0.8); // GefzRreconoiseHF41DF->SetMaximum(1.000); + GefzRreconoiseHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RreconoiseGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (GefzRreconoiseHF41D) delete GefzRreconoiseHF41D; + if (GefzRreconoiseHF41D0) delete GefzRreconoiseHF41D0; + if (GefzRreconoiseHF41DF) delete GefzRreconoiseHF41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoise1=1; + TH1F* h2CeffHFpositivedirectionReconoise1 = new TH1F("h2CeffHFpositivedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFpositivedirectionReconoise1 = "<SetMarkerColor(2);HFpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoise1 == 1) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 2) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 3) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 4) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 5) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 6) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 7) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 8) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 9) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==10) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==11) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==12) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==13) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoise1->Draw("Error"); + kcountHFpositivedirectionReconoise1++; + if(kcountHFpositivedirectionReconoise1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoise1) delete h2CeffHFpositivedirectionReconoise1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoise2=1; + TH1F* h2CeffHFpositivedirectionReconoise2 = new TH1F("h2CeffHFpositivedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFpositivedirectionReconoise2 = "<SetMarkerColor(2);HFpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoise2 == 1) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 2) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 3) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 4) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 5) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 6) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 7) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 8) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 9) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==10) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==11) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==12) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==13) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoise2->Draw("Error"); + kcountHFpositivedirectionReconoise2++; + if(kcountHFpositivedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoise2) delete h2CeffHFpositivedirectionReconoise2; + + //========================================================================================== 1111114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoise1=1; + TH1F* h2CeffHFnegativedirectionReconoise1 = new TH1F("h2CeffHFnegativedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFnegativedirectionReconoise1 = "<SetMarkerColor(2);HFnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoise1 == 1) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 2) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 3) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 4) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 5) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 6) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 7) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 8) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 9) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==10) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==11) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==12) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==13) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoise1->Draw("Error"); + kcountHFnegativedirectionReconoise1++; + if(kcountHFnegativedirectionReconoise1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoise1) delete h2CeffHFnegativedirectionReconoise1; + + + //========================================================================================== 1111115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoise2=1; + TH1F* h2CeffHFnegativedirectionReconoise2 = new TH1F("h2CeffHFnegativedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFnegativedirectionReconoise2 = "<SetMarkerColor(2);HFnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoise2 == 1) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 2) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 3) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 4) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 5) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 6) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 7) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 8) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 9) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==10) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==11) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==12) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==13) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoise2->Draw("Error"); + kcountHFnegativedirectionReconoise2++; + if(kcountHFnegativedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoise2) delete h2CeffHFnegativedirectionReconoise2; + + //====================================================================================================================== + // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HF + //------------------------ 2D-eta/phi-plot: DIF, averaged over depthfs + //====================================================================== + //====================================================================== +// cout<<" DIF2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzDIFreconoiseHF42D = new TH2F("GefzDIFreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHF42D0 = new TH2F("GefzDIFreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHF42DF = (TH2F*)GefzDIFreconoiseHF42D0->Clone("GefzDIFreconoiseHF42DF"); + for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzDIFreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHF42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzDIFreconoiseHF42DF->Divide(GefzDIFreconoiseHF42D,GefzDIFreconoiseHF42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHF42DF->SetYTitle(" #phi \b"); + GefzDIFreconoiseHF42DF->Draw("COLZ"); + + + + c2x1->cd(2); + // TH1F *energyhitNoiseCut_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoiseCut_HF"); + // energyhitNoiseCut_HF ->SetMarkerStyle(20);energyhitNoiseCut_HF ->SetMarkerSize(0.4);energyhitNoiseCut_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoiseCut_HF ->SetXTitle("energyhitNoiseCut_HF \b");energyhitNoiseCut_HF ->SetMarkerColor(2);energyhitNoiseCut_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoiseCut_HF ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHF.png"); + c2x1->Clear(); + // clean-up + if (GefzDIFreconoiseHF42D) delete GefzDIFreconoiseHF42D; + if (GefzDIFreconoiseHF42D0) delete GefzDIFreconoiseHF42D0; + if (GefzDIFreconoiseHF42DF) delete GefzDIFreconoiseHF42DF; + //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzDIFreconoiseHF41D = new TH1F("GefzDIFreconoiseHF41D","", nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHF41D0 = new TH1F("GefzDIFreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHF41DF = (TH1F*)GefzDIFreconoiseHF41D0->Clone("GefzDIFreconoiseHF41DF"); + for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHF41D0 ->Fill(jphi,1.); } + }}}} + GefzDIFreconoiseHF41DF->Divide(GefzDIFreconoiseHF41D,GefzDIFreconoiseHF41D0, 1, 1, "B");// DIF averaged over depthfs & eta + GefzDIFreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF41DF->SetMarkerStyle(20); GefzDIFreconoiseHF41DF->SetMarkerSize(1.4); GefzDIFreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHF41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHF41DF->SetYTitle(" \b"); GefzDIFreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHF41DF->SetMarkerColor(4); GefzDIFreconoiseHF41DF->SetLineColor(4);// GefzDIFreconoiseHF41DF->SetMinimum(0.8); // GefzDIFreconoiseHF41DF->SetMaximum(1.000); + GefzDIFreconoiseHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (GefzDIFreconoiseHF41D) delete GefzDIFreconoiseHF41D; + if (GefzDIFreconoiseHF41D0) delete GefzDIFreconoiseHF41D0; + if (GefzDIFreconoiseHF41DF) delete GefzDIFreconoiseHF41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseDIF1=1; + TH1F* h2CeffHFpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseDIF1 == 1) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 2) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 3) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 4) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 5) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 6) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 7) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 8) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 9) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==10) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==11) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==12) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==13) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF1++; + if(kcountHFpositivedirectionReconoiseDIF1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseDIF1) delete h2CeffHFpositivedirectionReconoiseDIF1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseDIF2=1; + TH1F* h2CeffHFpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseDIF2 == 1) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 2) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 3) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 4) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 5) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 6) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 7) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 8) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 9) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==10) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==11) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==12) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==13) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF2++; + if(kcountHFpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseDIF2) delete h2CeffHFpositivedirectionReconoiseDIF2; + + //========================================================================================== 1111114 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseDIF1=1; + TH1F* h2CeffHFnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseDIF1 == 1) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 2) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 3) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 4) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 5) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 6) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 7) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 8) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 9) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==10) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==11) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==12) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==13) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF1++; + if(kcountHFnegativedirectionReconoiseDIF1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseDIF1) delete h2CeffHFnegativedirectionReconoiseDIF1; + + + //========================================================================================== 1111115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseDIF2=1; + TH1F* h2CeffHFnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseDIF2 == 1) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 2) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 3) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 4) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 5) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 6) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 7) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 8) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 9) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==10) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==11) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==12) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==13) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF2++; + if(kcountHFnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseDIF2) delete h2CeffHFnegativedirectionReconoiseDIF2; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HF1"); + TH2F *reconoiseVariance0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + TH2F* reconoiseVarianceHF1 = (TH2F*)reconoiseVariance1HF1->Clone("reconoiseVarianceHF1"); + reconoiseVarianceHF1->Divide(reconoiseVariance1HF1,reconoiseVariance0HF1, 1, 1, "B"); + TH2F *reconoiseVariance1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HF2"); + TH2F *reconoiseVariance0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + TH2F* reconoiseVarianceHF2 = (TH2F*)reconoiseVariance1HF2->Clone("reconoiseVarianceHF2"); + reconoiseVarianceHF2->Divide(reconoiseVariance1HF2,reconoiseVariance0HF2, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + //preparation for PHI normalization: + double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + reconoisevarianceHF[1][jeta][jphi] = reconoiseVarianceHF2->GetBinContent(jeta+1,jphi+1); + sumreconoiseHF0 += reconoisevarianceHF[0][jeta][jphi];++nsumreconoiseHF0; + sumreconoiseHF1 += reconoisevarianceHF[1][jeta][jphi];++nsumreconoiseHF1; + }// phi + // PHI normalization : + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDreconoiseHF42D = new TH2F("DefzDreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHF42D0 = new TH2F("DefzDreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHF42DF = (TH2F*)DefzDreconoiseHF42D0->Clone("DefzDreconoiseHF42DF"); + for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 + if(areconoiseHF[i][jeta][jphi]>0.) {DefzDreconoiseHF42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHF42D0 ->Fill(kkk,jphi,1.); } + }}}} + DefzDreconoiseHF42DF->Divide(DefzDreconoiseHF42D,DefzDreconoiseHF42D0, 1, 1, "B");// average A + // DefzDreconoiseHF1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF42DF->SetMarkerStyle(20); DefzDreconoiseHF42DF->SetMarkerSize(0.4); DefzDreconoiseHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHF42DF->SetYTitle(" #phi \b"); DefzDreconoiseHF42DF->SetZTitle("_depth \b"); DefzDreconoiseHF42DF->SetMarkerColor(2); DefzDreconoiseHF42DF->SetLineColor(0); // DefzDreconoiseHF42DF->SetMaximum(1.000); // DefzDreconoiseHF42DF->SetMinimum(1.0); + DefzDreconoiseHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHF42D) delete DefzDreconoiseHF42D; + if (DefzDreconoiseHF42D0) delete DefzDreconoiseHF42D0; + if (DefzDreconoiseHF42DF) delete DefzDreconoiseHF42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDreconoiseHF41D = new TH1F("DefzDreconoiseHF41D","", nphi, 0., 72. ); + TH1F* DefzDreconoiseHF41D0 = new TH1F("DefzDreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* DefzDreconoiseHF41DF = (TH1F*)DefzDreconoiseHF41D0->Clone("DefzDreconoiseHF41DF"); + + for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int i=0;i0.) {DefzDreconoiseHF41D ->Fill(jphi,ccc1); DefzDreconoiseHF41D0 ->Fill(jphi,1.); } + }}}} + // DefzDreconoiseHF41D->Sumw2();DefzDreconoiseHF41D0->Sumw2(); + + DefzDreconoiseHF41DF->Divide(DefzDreconoiseHF41D,DefzDreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF41DF->SetMarkerStyle(20); DefzDreconoiseHF41DF->SetMarkerSize(1.4); DefzDreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF41DF->SetXTitle("#phi \b"); DefzDreconoiseHF41DF->SetYTitle(" \b"); DefzDreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHF41DF->SetMarkerColor(4); DefzDreconoiseHF41DF->SetLineColor(4);// DefzDreconoiseHF41DF->SetMinimum(0.8); DefzDreconoiseHF41DF->SetMinimum(-0.015); + DefzDreconoiseHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DreconoiseGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (DefzDreconoiseHF41D) delete DefzDreconoiseHF41D; + if (DefzDreconoiseHF41D0) delete DefzDreconoiseHF41D0; + if (DefzDreconoiseHF41DF) delete DefzDreconoiseHF41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseD1=1; + TH1F* h2CeffHFpositivedirectionReconoiseD1 = new TH1F("h2CeffHFpositivedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseD1 == 1) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 2) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 3) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 4) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 5) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 6) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 7) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 8) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 9) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==10) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==11) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==12) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==13) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseD1->Draw("Error"); + kcountHFpositivedirectionReconoiseD1++; + if(kcountHFpositivedirectionReconoiseD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseD1) delete h2CeffHFpositivedirectionReconoiseD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseD2=1; + TH1F* h2CeffHFpositivedirectionReconoiseD2 = new TH1F("h2CeffHFpositivedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseD2 == 1) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 2) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 3) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 4) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 5) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 6) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 7) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 8) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 9) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==10) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==11) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==12) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==13) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseD2->Draw("Error"); + kcountHFpositivedirectionReconoiseD2++; + if(kcountHFpositivedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseD2) delete h2CeffHFpositivedirectionReconoiseD2; + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseD1=1; + TH1F* h2CeffHFnegativedirectionReconoiseD1 = new TH1F("h2CeffHFnegativedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseD1 == 1) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 2) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 3) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 4) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 5) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 6) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 7) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 8) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 9) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==10) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==11) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==12) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==13) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseD1->Draw("Error"); + kcountHFnegativedirectionReconoiseD1++; + if(kcountHFnegativedirectionReconoiseD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseD1) delete h2CeffHFnegativedirectionReconoiseD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseD2=1; + TH1F* h2CeffHFnegativedirectionReconoiseD2 = new TH1F("h2CeffHFnegativedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseD2 == 1) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 2) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 3) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 4) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 5) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 6) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 7) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 8) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 9) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==10) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==11) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==12) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==13) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionReconoiseD2->Draw("Error"); + kcountHFnegativedirectionReconoiseD2++; + if(kcountHFnegativedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseD2) delete h2CeffHFnegativedirectionReconoiseD2; + + //===================================================================== END of Reconoise HF for phi-symmetry + //===================================================================== END of Reconoise HF for phi-symmetry + //===================================================================== END of Reconoise HF for phi-symmetry + //============================================================================================================ END of Reconoise for phi-symmetry + //============================================================================================================ END of Reconoise for phi-symmetry + //============================================================================================================ END of Reconoise for phi-symmetry + + //==================================================================================================================================================== END for phi-symmetry + //==================================================================================================================================================== END for phi-symmetry + //==================================================================================================================================================== END for phi-symmetry + //==================================================================================================================================================== + + + + +//====================================================================== +// Creating each test kind for each subdet html pages: + std::string raw_class, raw_class1, raw_class2, raw_class3; + int ind = 0; + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + ofstream htmlFileR,htmlFileN ; + if (sub==1) {htmlFileR.open("HB_PhiSymmetryRecoSignal.html");htmlFileN.open("HB_PhiSymmetryRecoNoise.html");} + if (sub==2) {htmlFileR.open("HE_PhiSymmetryRecoSignal.html");htmlFileN.open("HE_PhiSymmetryRecoNoise.html");} + + if (sub==4) {htmlFileR.open("HF_PhiSymmetryRecoSignal.html");htmlFileN.open("HF_PhiSymmetryRecoNoise.html");} + + + +////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: +////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: +////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + + htmlFileR << ""<< std::endl; + htmlFileR << ""<< std::endl; + htmlFileR << ""<< std::endl; + htmlFileR << " Remote Monitoring Tool "<< std::endl; + htmlFileR << ""<< std::endl; + htmlFileR << ""<< std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub==1) htmlFileR << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileR << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileR << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileR << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; +// htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileR << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileR << "

1C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

1D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

1E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

1F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

1G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

1H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

1I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

2: D(recosignalvarianceSignalhe)

"<< std::endl; + htmlFileR << "

2A: eta/phi-plot: D(recosignalvarianceSignalhe), averaged over depthes

"<< std::endl; +// htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

2B: D(recosignalvarianceSignalhe) vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileR << "

Positive direction, D(recosignalvarianceSignalhe)

"<< std::endl; + htmlFileR << "

2C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

2.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

2E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

2F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

2G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

2H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

2I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileR << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

3C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

3D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

3E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

3F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

3G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

3H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

3I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

4: Negative direction, D(recosignalvarianceSignalhe)

"<< std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

4C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

4.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

4E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

4F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

4G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

4H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

4I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + /////////////////////////////////////////// + htmlFileR.close(); + /////////////////////////////////////////// end of Recosignal + // +////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: +////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: +////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + + htmlFileN << ""<< std::endl; + htmlFileN << ""<< std::endl; + htmlFileN << ""<< std::endl; + htmlFileN << " Remote Monitoring Tool "<< std::endl; + htmlFileN << ""<< std::endl; + htmlFileN << ""<< std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub==1) htmlFileN << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileN << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileN << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileN << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; +// htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileN << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileN << "

1C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

1D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

1E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

1F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

1G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

1H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

1I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

2: D(reconoisevarianceNoisehe)

"<< std::endl; + htmlFileN << "

2A: eta/phi-plot: D(reconoisevarianceNoisehe), averaged over depthes

"<< std::endl; +// htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

2B: D(reconoisevarianceNoisehe) vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileN << "

Positive direction, D(reconoisevarianceNoisehe)

"<< std::endl; + htmlFileN << "

2C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

2.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

2E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

2F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

2G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

2H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

2I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileN << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

3C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

3D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

3E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

3F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

3G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

3H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

3I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

4: Negative direction, D(reconoisevarianceNoisehe)

"<< std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

4C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

4.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

4E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

4F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

4G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

4H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

4I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + /////////////////////////////////////////// + + + + /////////////////////////////////////////////// DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF + + if (sub==1) htmlFileN << "

Only for Noise RecHits these lines below, HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileN << "

Only for Noise RecHits these lines below, HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileN << "

Only for Noise RecHits these lines below, HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5: DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; + htmlFileN << "

5A: eta/phi-plot: DIF, averaged over depthes

"<< std::endl; +// htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5B: DIF vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// DIF PositiveDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Positive direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

1E: DIF vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// DIF NegativeDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Negative direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

5E: DIF vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// end of Reconoise + + // + // + htmlFileN.close(); + + /////////////////////////////////////////// end of Reconoise + /////////////////////////////////////////// end of Reconoise + + + + + + // + // + }// end sub //for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + + + +//====================================================================== + + std::cout<<"********"<"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << " Remote Monitoring Tool "<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + if (sub==1) htmlFile << "

HCAL BARREL, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFile << "

HCAL ENDCAP, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==3) htmlFile << "

HCAL OUTER, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFile << "

HCAL FORWARD, RUN = "<< runnumber <<"

"<< std::endl; + htmlFile << "
"<< std::endl; + if (sub==1) htmlFile << "

1. Analysis results for HB

"<< std::endl; + if (sub==2) htmlFile << "

1. Analysis results for HE

"<< std::endl; + if (sub==3) htmlFile << "

1. Analysis results for HO

"<< std::endl; + if (sub==4) htmlFile << "

1. Analysis results for HF

"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + + + if (sub==1) { + + + + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + + + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; +*/ + + + } + if (sub==2) { + + + + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + + + + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; +*/ + + + } + + + + if (sub==4) { + + + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + + + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; +*/ + + + } + + htmlFile << ""<< std::endl; + htmlFile << "
Phi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-SymmetryRecoSignalPhi-SymmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoise
"<< std::endl; + htmlFile << "
"<< std::endl; + + + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + } + +//====================================================================== + + + std::cout<<"********"<"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << " Remote Monitoring Tool "<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << "

Description of Remote Monitoring Tool criteria for bad channel selection

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- C means CAPID Errors assuming we inspect CAPID non-rotation,error & validation bits, and for this criterion - no need to apply any cuts to select bcs.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- A means full amplitude, collected over all time slices

"<< std::endl; + htmlFile << "

- R means ratio criterion where we define as a bad, the channels, for which the signal portion in 4 middle TSs(plus one, minus two around TS with maximal amplitude) is out of some range of reasonable values

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- W means width of shape distribution. Width is defined as square root from dispersion.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- TN means mean time position of adc signal.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- TX means TS number of maximum signal

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- m means megatile channels. For example Am means Amplitude criteria for megatile channels

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- c means calibration channels. For example Ac means Amplitude criteria for calibration channels

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- Pm means Pedestals.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- pWm means pedestal Width.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + +//====================================================================== + + std::cout<<"********"<"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << " Remote Monitoring Tool "<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + + htmlFile << "

Remote Monitoring Tool, RUN = "<< runnumber <<".

"<< std::endl; + htmlFile << "
"<< std::endl; + + htmlFile << "

1. Analysis results for subdetectors

"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; +*/ + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + htmlFile << ""<< std::endl; + htmlFile << "
HBHEHOHFHBHEHOHF
"<< std::endl; + htmlFile << "
"<< std::endl; + + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); +//====================================================================== + +//====================================================================== +// Close and delete all possible things: + hfile->Close(); +// hfile->Delete(); +// Exit Root + gSystem->Exit(0); +//====================================================================== + +} + + diff --git a/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringPSM.cc b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringPSM.cc new file mode 100644 index 0000000000000..1a9208d5bbdec --- /dev/null +++ b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringPSM.cc @@ -0,0 +1,17116 @@ +// How to run: ./RemoteMonitoringPSM.cc.exe root_file1 root_file_ref Global + +#include "LogEleMapdb.h" + +#include +#include + +#include "TH1.h" +#include "TH2.h" +#include "TCanvas.h" +#include "TROOT.h" +#include +#include "TStyle.h" +#include "TSystem.h" +#include "TLegend.h" +#include "TText.h" +#include "TAxis.h" +#include "TFile.h" +#include "TLine.h" +#include "TGraph.h" + +using namespace std; +int +main(int argc, char *argv[]){ + std::string dirnm = "Analyzer"; + gROOT->Reset(); + gROOT->SetStyle("Plain"); + gStyle->SetOptStat(0); + gStyle->SetOptTitle(1); + // ok change + if(argc<3) return 1; + char fname[300]; + char refname[300]; + char runtypeC[300]; + sprintf(fname,"%s",argv[1]); + sprintf(refname,"%s",argv[2]); + sprintf(runtypeC,"%s",argv[3]); + // std::cout<ls(); + TDirectory *dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str()); + + TFile *hreffile = new TFile(refname, "READ"); + hreffile->ls(); + TDirectory *refdir = (TDirectory *)hreffile->FindObjectAny(dirnm.c_str()); + + // with TfileService implementation, change everywhere below: hreffile->Get to refdir->FindObjectAny + // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny + + double MIN_M[7][5]; + double MAX_M[7][5]; + double MIN_C[7][5]; + double MAX_C[7][5]; + double porog[5]; + double Pedest[2][5]; + + if (runtype=="LED") + { + //CUTS: [test][subdetector] ADC amplitude Am Width for Wm Ratio cut for Rm TS mean for TNm TS max for TXm + double MIN_M_LED[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 100.,70.,40.,40.}, {0, 0.7, 0.7, 0.1, 0.1}, {0, 0.7, 0.6, 0.40, 0.45}, {0, 2.5, 1.0, 1.0, 1.0}, {0, 1.5, 1.5, 0.5, 0.5}}; + double MAX_M_LED[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 3000,500000,3000,150000}, {0, 2.5, 2.5, 2.8, 2.6}, {0, 0.94, 0.95, 1.04, 1.02}, {0, 5.5, 5.2, 4.8, 4.2}, {0, 6.5, 6.5, 8.5, 8.5}}; + double MIN_C_LED[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.},{0, 1000.,1000.,1000.,100.}, {0, 1.3, 1.3, 0.7, 0.3}, {0, 0.76 , 0.76, 0.85, 0.5}, {0, 2.4, 2.4, 1.5, 3.5}, {0, 1.5, 1.5, 1.5, 3.5}}; + double MAX_C_LED[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 1E20,1E20,1E20,1E20},{0, 1.9, 1.9, 1.65, 1.5}, {0, 0.94, 0.94, 0.99, 0.8}, {0, 3.7, 3.7, 2.7, 4.5}, {0, 2.5, 2.5, 2.5, 4.5}}; + double porog_LED[5] = {0., 2., 2., 2., 2.}; // Cut for GS test in pro cents + double Pedest_LED[2][5] = {{0.,0.1,0.6,0.1,0.8},{0.,0.1,0.1,0.1,0.4}};//Cuts for Pedestal and pedestal Width + for (int i=0;i<=6;i++) + for (int j=0;j<=4;j++) { + MIN_M[i][j]=MIN_M_LED[i][j]; + MAX_M[i][j]=MAX_M_LED[i][j]; + MIN_C[i][j]=MIN_C_LED[i][j]; + MAX_C[i][j]=MAX_C_LED[i][j]; + } + for (int i=0;i<=4;i++) { + porog[i]=porog_LED[i]; + Pedest[0][i]=Pedest_LED[0][i]; + Pedest[1][i]=Pedest_LED[1][i]; + } + } + + if (runtype=="LASER") + { + //CUTS: [test][subdetector] ADC amplitude Am Width for Wm Ratio cut for Rm TS mean for TNm TS max for TXm + double MIN_M_LASER[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 40.,40.,100.,40.}, {0, 0.3, 0.9, 0.2, 0.2}, {0, 0.5, 0.55, 0.55, 0.60}, {0, 5.0, 2.5, 1.1, 5.5}, {0, 1.5, 1.5, 1.5, 1.5}}; + double MAX_M_LASER[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 3500,350000,3500,150000}, {0, 2.5, 3.6, 2.6, 2.1}, {0, 1.00, 1.00, 1.04, 1.02}, {0, 7.5, 6.5, 4.4, 8.5}, {0, 8.5, 8.5, 6.5, 8.5}}; + double MIN_C_LASER[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.},{0, 1000.,1000.,1000.,100.}, {0, 1.3, 1.3, 0.7, 0.3}, {0, 0.76 , 0.76, 0.85, 0.5}, {0, 2.4, 2.4, 1.5, 3.5}, {0, 1.5, 1.5, 1.5, 3.5}}; + double MAX_C_LASER[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 1E20,1E20,1E20,1E20},{0, 1.9, 1.9, 1.65, 1.5}, {0, 0.94, 0.94, 1.0, 0.8}, {0, 3.7, 3.7, 2.7, 4.5}, {0, 2.5, 2.5, 2.5, 4.5}}; + double porog_LASER[5] = {0., 2., 2., 2., 2.}; // Cut for GS test in pro cents +// double porog_LASER[5] = {0., 200., 200., 100., 100.}; // Cut for GS test in pro cents + double Pedest_LASER[2][5] = {{0.,0.1,0.6,0.1,0.8},{0.,0.1,0.1,0.1,0.4}};//Cuts for Pedestal and pedestal Width + for (int i=0;i<=6;i++) + for (int j=0;j<=4;j++) { + MIN_M[i][j]=MIN_M_LASER[i][j]; + MAX_M[i][j]=MAX_M_LASER[i][j]; + MIN_C[i][j]=MIN_C_LASER[i][j]; + MAX_C[i][j]=MAX_C_LASER[i][j]; + } + for (int i=0;i<=4;i++) { + porog[i]=porog_LASER[i]; + Pedest[0][i]=Pedest_LASER[0][i]; + Pedest[1][i]=Pedest_LASER[1][i]; + } + } + + + if (runtype=="PEDESTAL") + { + //CUTS: [test][subdetector] ADC amplitude Am Width for Wm Ratio cut for Rm TS mean for TNm TS max for TXm + double MIN_M_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 10.,10.,200.,5.}, {0, 2.7, 2.7, 2.7, 0.2}, {0, 0.31, 0.31, 0.05, 0.15}, {0, 4.5, 4.5, 4.5, 2.0}, {0, 0.5, 0.5, 0.5, 0.5}}; + double MAX_M_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 2500.,250000.,2500.,150000.}, {0, 3.0, 3.0, 5.0, 3.0}, {0, 0.95, 0.95, 1.00, 0.98}, {0, 4.6, 4.6, 4.6, 7.0}, {0, 9.5, 9.5, 8.5, 8.5}}; + double MIN_C_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.},{0, 1000.,1000.,1000.,100.}, {0, 1.3, 1.3, 0.7, 0.3}, {0, 0.76 , 0.76, 0.85, 0.5}, {0, 2.4, 2.4, 1.5, 3.5}, {0, 1.5, 1.5, 1.5, 3.5}}; + double MAX_C_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 1E20,1E20,1E20,1E20},{0, 1.9, 1.9, 1.65, 1.5}, {0, 0.94, 0.94, 1.0, 0.8}, {0, 3.7, 3.7, 2.7, 4.5}, {0, 2.5, 2.5, 2.5, 4.5}}; + double porog_PEDESTAL[5] = {0., 2., 2., 2., 2.}; // Cut for GS test in pro cents +// double porog_PEDESTAL[5] = {0., 200., 200., 100., 100.}; // Cut for GS test in pro cents + double Pedest_PEDESTAL[2][5] = {{0.,0.1,0.6,0.1,0.8},{0.,0.1,0.1,0.1,0.4}};//Cuts for Pedestal and pedestal Width + for (int i=0;i<=6;i++) + for (int j=0;j<=4;j++) { + MIN_M[i][j]=MIN_M_PEDESTAL[i][j]; + MAX_M[i][j]=MAX_M_PEDESTAL[i][j]; + MIN_C[i][j]=MIN_C_PEDESTAL[i][j]; + MAX_C[i][j]=MAX_C_PEDESTAL[i][j]; + } + for (int i=0;i<=4;i++) { + porog[i]=porog_PEDESTAL[i]; + Pedest[0][i]=Pedest_PEDESTAL[0][i]; + Pedest[1][i]=Pedest_PEDESTAL[1][i]; + } + } + + + if (runtype=="Global") + { + //CUTS: [test][subdetector] ADC amplitude Am Width for Wm Ratio cut for Rm TS mean for TNm TS max for TXm + double MIN_M_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 10.,10.,200.,5.}, {0, 2.7, 2.7, 2.7, 0.2}, {0, 0.31, 0.31, 0.05, 0.15}, {0, 4.5, 4.5, 4.5, 2.0}, {0, 0.5, 0.5, 0.5, 0.5}}; + double MAX_M_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 2500.,250000.,2500.,150000.}, {0, 3.0, 3.0, 5.0, 3.0}, {0, 0.95, 0.95, 1.00, 0.98}, {0, 4.6, 4.6, 4.6, 7.0}, {0, 9.5, 9.5, 8.5, 8.5}}; + double MIN_C_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.},{0, 1000.,1000.,1000.,100.}, {0, 1.3, 1.3, 0.7, 0.3}, {0, 0.76 , 0.76, 0.85, 0.5}, {0, 2.4, 2.4, 1.5, 3.5}, {0, 1.5, 1.5, 1.5, 3.5}}; + double MAX_C_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 1E20,1E20,1E20,1E20},{0, 1.9, 1.9, 1.65, 1.5}, {0, 0.94, 0.94, 1.0, 0.8}, {0, 3.7, 3.7, 2.7, 4.5}, {0, 2.5, 2.5, 2.5, 4.5}}; + double porog_PEDESTAL[5] = {0., 2., 2., 2., 2.}; // Cut for GS test in pro cents +// double porog_PEDESTAL[5] = {0., 200., 200., 100., 100.}; // Cut for GS test in pro cents + double Pedest_PEDESTAL[2][5] = {{0.,0.1,0.6,0.1,0.8},{0.,0.1,0.1,0.1,0.4}};//Cuts for Pedestal and pedestal Width + for (int i=0;i<=6;i++) + for (int j=0;j<=4;j++) { + MIN_M[i][j]=MIN_M_PEDESTAL[i][j]; + MAX_M[i][j]=MAX_M_PEDESTAL[i][j]; + MIN_C[i][j]=MIN_C_PEDESTAL[i][j]; + MAX_C[i][j]=MAX_C_PEDESTAL[i][j]; + } + for (int i=0;i<=4;i++) { + porog[i]=porog_PEDESTAL[i]; + Pedest[0][i]=Pedest_PEDESTAL[0][i]; + Pedest[1][i]=Pedest_PEDESTAL[1][i]; + } + } + + +//====================================================================== +// Prepare histograms and plot them to .png files + + +//TCanvas *cHB = new TCanvas("cHB","cHB",1000,500); + TCanvas *cHB = new TCanvas("cHB","cHB",1000,1000); + //TCanvas *cHE = new TCanvas("cHE","cHE",1500,500); + TCanvas *cHE = new TCanvas("cHE","cHE",1500,1500); + //TCanvas *cONE = new TCanvas("cONE","cONE",500,500); + TCanvas *cONE = new TCanvas("cONE","cONE",1500,500); + TCanvas *cPED = new TCanvas("cPED","cPED",1000,500); + //TCanvas *cHF = new TCanvas("cHF","cHF",1000,1000); + TCanvas *cHF = new TCanvas("cHF","cHF",1000,1000); + + + + // Phi-symmetry for Calibration Group: + + TCanvas *c1x0 = new TCanvas("c1x0","c1x0",300,10,800,700); + + TCanvas *c1x1 = new TCanvas("c1x1","c1x1",100,10,600,700); + + TCanvas *c2x1 = new TCanvas("c2x1","c2x1",200,300,1600,800); + + TCanvas *c3x5 = new TCanvas("c3x5","c3x5",1000,1500); + // + + + + char *str = (char*)alloca(10000); + + // before upgrade 2017: + // depth: HB depth1,2; HE depth1,2,3; HO depth4; HF depth1,2 + // 5 depthes: 0(empty), 1,2,3,4 + + // upgrade 2017: + // depth: HB depth1,2; HE depth1,2,3,4,5,6,7; HO depth4; HF depth1,2,3,4 + // 8 depthes: 0(empty), 1,2,3,4,5,6,7 + + // upgrade 2021: + // depth: HB depth1,2,3,4; HE depth1,2,3,4,5,6,7; HO depth4; HF depth1,2,3,4 + // 10 depthes: 0(empty), 1,2,3,4,5,6,7,8,9 + + // Int_t ALLDEPTH = 5; + // Int_t ALLDEPTH = 8; + Int_t ALLDEPTH = 10; + + int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + + TH2F *Map_Ampl[33][5][ALLDEPTH]; // 2D histogramm for test,subdet,depth + TH2F *Map_SUB[5][ALLDEPTH]; // 2d histogramm for subdet, depth + TH1F *HistAmplDepth[22][5][ALLDEPTH]; // 1d histogramm for test,subdet, depth + TH1F *HistAmpl[22][5]; // 1d histogramm for test,subdet + + TH1F *HistPed[3][5][4]; // 1d histogramm for test,subdet, CapID + TH2F *Map_Ped[3][5]; // 2d histogramm for test,subdet -> test 33 + TH1F *hist_GoodTSshape[5]; // 1d histogramm for TS shape subdet -> test 41 + TH1F *hist_GoodTSshape0[5]; // 1d histogramm for TS shape subdet -> test 41 + TH1F *hist_BadTSshape[5]; // 1d histogramm for TS shape subdet -> test 41 + TH1F *hist_BadTSshape0[5]; // 1d histogramm for TS shape subdet -> test 41 + TH1F *hist_ADC_All[5]; // 1d histogramm for TS shape subdet -> test 42 + TH1F *hist_ADC_DS[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 42 + TH1F *hist_SumADC[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 + TH1F *hist_SumADC0[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 + TH1F *hist_SumADC1[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 + + Map_SUB[1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1_HB"); + Map_SUB[1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2_HB"); + Map_SUB[2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1_HE"); + Map_SUB[2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2_HE"); + Map_SUB[2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3_HE"); + Map_SUB[3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4_HO"); + Map_SUB[4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1_HF"); + Map_SUB[4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2_HF"); + + Map_SUB[1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3_HB"); + Map_SUB[1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4_HB"); + Map_SUB[2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4_HE"); + Map_SUB[2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5_HE"); + Map_SUB[2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6_HE"); + Map_SUB[2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7_HE"); + Map_SUB[4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3_HF"); + Map_SUB[4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4_HF"); + +//+++++++++++++++++++++++++++++ +//Test 0 Entries +//+++++++++++++++++++++++++++++ + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + // if (sub==1) cHB->Divide(2,1); + if (sub==1) cHB->Divide(2,2); + // if (sub==2) cHE->Divide(3,1); + if (sub==2) cHE->Divide(3,3); + if (sub==3) cONE->Divide(1,1); + // if (sub==4) cHF->Divide(2,1); + if (sub==4) cHF->Divide(2,2); + // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth + if (sub==1) cHB->cd(k); + if (sub==2) cHE->cd(k); + if (sub==3) cONE->cd(k-3); + if (sub==4) cHF->cd(k); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub==1) sprintf(str,"HB, Depth%d \b", k); + if (sub==2) sprintf(str,"HE, Depth%d \b", k); + if (sub==3) sprintf(str,"HO, Depth%d \b", k); + if (sub==4) sprintf(str,"HF, Depth%d \b", k); + Map_SUB[sub][k]->SetTitle(str); + Map_SUB[sub][k]->SetXTitle("#eta \b"); + Map_SUB[sub][k]->SetYTitle("#phi \b"); + Map_SUB[sub][k]->SetZTitle("Number of events \b"); + if (sub==3) Map_SUB[sub][k]->SetTitleOffset(0.8,"Z"); + Map_SUB[sub][k]->Draw("COLZ"); + Map_SUB[sub][k]->GetYaxis()->SetRangeUser(0, 72.); +// Map_SUB[sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); + if (sub==1) {cHB->Modified(); cHB->Update();} + if (sub==2) {cHE->Modified(); cHE->Update();} + if (sub==3) {cONE->Modified();cONE->Update();} + if (sub==4) {cHF->Modified(); cHF->Update();} + }//end depth + + if (sub==1) {cHB->Print("MapRateEntryHB.png"); cHB->Clear();} + if (sub==2) {cHE->Print("MapRateEntryHE.png"); cHE->Clear();} + if (sub==3) {cONE->Print("MapRateEntryHO.png"); cONE->Clear();} + if (sub==4) {cHF->Print("MapRateEntryHF.png"); cHF->Clear();} + }// end sub + + + +//+++++++++++++++++++++++++++++ +//Test 1 (Cm) Rate of Cap ID errors +//+++++++++++++++++++++++++++++ + + Map_Ampl[1][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Error_HB"); + Map_Ampl[1][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Error_HB"); + Map_Ampl[1][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Error_HE"); + Map_Ampl[1][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Error_HE"); + Map_Ampl[1][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Error_HE"); + Map_Ampl[1][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Error_HO"); + Map_Ampl[1][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Error_HF"); + Map_Ampl[1][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Error_HF"); + + Map_Ampl[1][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Error_HB"); + Map_Ampl[1][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Error_HB"); + Map_Ampl[1][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Error_HE"); + Map_Ampl[1][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5Error_HE"); + Map_Ampl[1][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6Error_HE"); + Map_Ampl[1][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7Error_HE"); + Map_Ampl[1][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Error_HF"); + Map_Ampl[1][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Error_HF"); + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + // if (sub==1) cHB->Divide(2,1); + if (sub==1) cHB->Divide(2,2); + // if (sub==2) cHE->Divide(3,1); + if (sub==2) cHE->Divide(3,3); + if (sub==3) cONE->Divide(1,1); + // if (sub==4) cHF->Divide(2,1); + if (sub==4) cHF->Divide(2,2); + // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth + if (sub==1) cHB->cd(k); + if (sub==2) cHE->cd(k); + if (sub==3) cONE->cd(k-3); + if (sub==4) cHF->cd(k); + Map_Ampl[1][sub][k]->Divide(Map_Ampl[1][sub][k],Map_SUB[sub][k], 1, 1, "B"); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub==1) sprintf(str,"HB, Depth%d \b", k); + if (sub==2) sprintf(str,"HE, Depth%d \b", k); + if (sub==3) sprintf(str,"HO, Depth%d \b", k); + if (sub==4) sprintf(str,"HF, Depth%d \b", k); + Map_Ampl[1][sub][k]->SetTitle(str); + Map_Ampl[1][sub][k]->SetXTitle("#eta \b"); + Map_Ampl[1][sub][k]->SetYTitle("#phi \b"); + Map_Ampl[1][sub][k]->SetZTitle("Rate \b"); + if (sub==3) Map_Ampl[1][sub][k]->SetTitleOffset(0.8,"Z"); + Map_Ampl[1][sub][k]->Draw("COLZ"); + Map_Ampl[1][sub][k]->GetYaxis()->SetRangeUser(0, 72.); + Map_Ampl[1][sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); + if (sub==1) {cHB->Modified(); cHB->Update();} + if (sub==2) {cHE->Modified(); cHE->Update();} + if (sub==3) {cONE->Modified();cONE->Update();} + if (sub==4) {cHF->Modified(); cHF->Update();} + }//end depth + + if (sub==1) {cHB->Print("MapRateCapIDHB.png"); cHB->Clear();} + if (sub==2) {cHE->Print("MapRateCapIDHE.png"); cHE->Clear();} + if (sub==3) {cONE->Print("MapRateCapIDHO.png"); cONE->Clear();} + if (sub==4) {cHF->Print("MapRateCapIDHF.png"); cHF->Clear();} + }// end sub + + +//+++++++++++++++++++++++++++++ +//Test 2 (Am) ADC amplitude +//+++++++++++++++++++++++++++++ + + Map_Ampl[2][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HB"); + Map_Ampl[2][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HB"); + Map_Ampl[2][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HE"); + Map_Ampl[2][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HE"); + Map_Ampl[2][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HE"); + Map_Ampl[2][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HO"); + Map_Ampl[2][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HF"); + Map_Ampl[2][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HF"); + + Map_Ampl[2][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HB"); + Map_Ampl[2][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HB"); + Map_Ampl[2][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HE"); + Map_Ampl[2][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5ADCAmpl225_HE"); + Map_Ampl[2][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6ADCAmpl225_HE"); + Map_Ampl[2][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7ADCAmpl225_HE"); + Map_Ampl[2][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HF"); + Map_Ampl[2][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HF"); + + + HistAmpl[2][1] = (TH1F*)dir->FindObjectAny("h_ADCAmpl_HB"); + HistAmpl[2][2] = (TH1F*)dir->FindObjectAny("h_ADCAmpl_HE"); + HistAmpl[2][3] = (TH1F*)dir->FindObjectAny("h_ADCAmpl_HO"); + HistAmpl[2][4] = (TH1F*)dir->FindObjectAny("h_ADCAmpl_HF"); + + +//+++++++++++++++++++++++++++++ +//Test 3 (Wm) Rate of RMS +//+++++++++++++++++++++++++++++ + + Map_Ampl[3][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Amplitude225_HB"); + Map_Ampl[3][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Amplitude225_HB"); + Map_Ampl[3][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Amplitude225_HE"); + Map_Ampl[3][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Amplitude225_HE"); + Map_Ampl[3][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Amplitude225_HE"); + Map_Ampl[3][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Amplitude225_HO"); + Map_Ampl[3][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Amplitude225_HF"); + Map_Ampl[3][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Amplitude225_HF"); + + Map_Ampl[3][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Amplitude225_HB"); + Map_Ampl[3][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Amplitude225_HB"); + Map_Ampl[3][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Amplitude225_HE"); + Map_Ampl[3][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5Amplitude225_HE"); + Map_Ampl[3][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6Amplitude225_HE"); + Map_Ampl[3][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7Amplitude225_HE"); + Map_Ampl[3][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Amplitude225_HF"); + Map_Ampl[3][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Amplitude225_HF"); + + + HistAmpl[3][1] = (TH1F*)dir->FindObjectAny("h_Amplitude_HB"); + HistAmpl[3][2] = (TH1F*)dir->FindObjectAny("h_Amplitude_HE"); + HistAmpl[3][3] = (TH1F*)dir->FindObjectAny("h_Amplitude_HO"); + HistAmpl[3][4] = (TH1F*)dir->FindObjectAny("h_Amplitude_HF"); + + //+++++++++++++++++++++++++++++ +//Test 4 (Rm) Rate of ratio 4 near max TS/ All TS +//+++++++++++++++++++++++++++++ + + Map_Ampl[4][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Ampl047_HB"); + Map_Ampl[4][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Ampl047_HB"); + Map_Ampl[4][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Ampl047_HE"); + Map_Ampl[4][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Ampl047_HE"); + Map_Ampl[4][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Ampl047_HE"); + Map_Ampl[4][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Ampl047_HO"); + Map_Ampl[4][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Ampl047_HF"); + Map_Ampl[4][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Ampl047_HF"); + + Map_Ampl[4][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Ampl047_HB"); + Map_Ampl[4][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Ampl047_HB"); + Map_Ampl[4][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Ampl047_HE"); + Map_Ampl[4][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5Ampl047_HE"); + Map_Ampl[4][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6Ampl047_HE"); + Map_Ampl[4][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7Ampl047_HE"); + Map_Ampl[4][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Ampl047_HF"); + Map_Ampl[4][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Ampl047_HF"); + + + HistAmpl[4][1] = (TH1F*)dir->FindObjectAny("h_Ampl_HB"); + HistAmpl[4][2] = (TH1F*)dir->FindObjectAny("h_Ampl_HE"); + HistAmpl[4][3] = (TH1F*)dir->FindObjectAny("h_Ampl_HO"); + HistAmpl[4][4] = (TH1F*)dir->FindObjectAny("h_Ampl_HF"); + +//+++++++++++++++++++++++++++++ +//Test 5 (TNm) Mean position in 1-8 TS range +//+++++++++++++++++++++++++++++ + + Map_Ampl[5][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1TSmeanA225_HB"); + Map_Ampl[5][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmeanA225_HB"); + Map_Ampl[5][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1TSmeanA225_HE"); + Map_Ampl[5][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmeanA225_HE"); + Map_Ampl[5][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3TSmeanA225_HE"); + Map_Ampl[5][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmeanA225_HO"); + Map_Ampl[5][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1TSmeanA225_HF"); + Map_Ampl[5][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmeanA225_HF"); + + Map_Ampl[5][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3TSmeanA225_HB"); + Map_Ampl[5][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmeanA225_HB"); + Map_Ampl[5][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmeanA225_HE"); + Map_Ampl[5][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5TSmeanA225_HE"); + Map_Ampl[5][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6TSmeanA225_HE"); + Map_Ampl[5][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7TSmeanA225_HE"); + Map_Ampl[5][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3TSmeanA225_HF"); + Map_Ampl[5][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmeanA225_HF"); + + + HistAmpl[5][1] = (TH1F*)dir->FindObjectAny("h_TSmeanA_HB"); + HistAmpl[5][2] = (TH1F*)dir->FindObjectAny("h_TSmeanA_HE"); + HistAmpl[5][3] = (TH1F*)dir->FindObjectAny("h_TSmeanA_HO"); + HistAmpl[5][4] = (TH1F*)dir->FindObjectAny("h_TSmeanA_HF"); + + +//+++++++++++++++++++++++++++++ +//Test 6 (TXm) Maximum position in 1-8 TS range +//+++++++++++++++++++++++++++++ + + Map_Ampl[6][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1TSmaxA225_HB"); + Map_Ampl[6][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmaxA225_HB"); + Map_Ampl[6][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1TSmaxA225_HE"); + Map_Ampl[6][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmaxA225_HE"); + Map_Ampl[6][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3TSmaxA225_HE"); + Map_Ampl[6][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmaxA225_HO"); + Map_Ampl[6][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1TSmaxA225_HF"); + Map_Ampl[6][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmaxA225_HF"); + + Map_Ampl[6][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3TSmaxA225_HB"); + Map_Ampl[6][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmaxA225_HB"); + Map_Ampl[6][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmaxA225_HE"); + Map_Ampl[6][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5TSmaxA225_HE"); + Map_Ampl[6][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6TSmaxA225_HE"); + Map_Ampl[6][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7TSmaxA225_HE"); + Map_Ampl[6][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3TSmaxA225_HF"); + Map_Ampl[6][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmaxA225_HF"); + + HistAmpl[6][1] = (TH1F*)dir->FindObjectAny("h_TSmaxA_HB"); + HistAmpl[6][2] = (TH1F*)dir->FindObjectAny("h_TSmaxA_HE"); + HistAmpl[6][3] = (TH1F*)dir->FindObjectAny("h_TSmaxA_HO"); + HistAmpl[6][4] = (TH1F*)dir->FindObjectAny("h_TSmaxA_HF"); + + for (int test=2;test<=6;test++) { //Test: 2-Am, 3-Wm, 4-Rm, 5-TNm, 6-TXm, + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + // if (sub==1) cHB->Divide(2,1); + if (sub==1) cHB->Divide(2,2); + // if (sub==2) cHE->Divide(3,1); + if (sub==2) cHE->Divide(3,3); + if (sub==3) cONE->Divide(1,1); + // if (sub==4) cHF->Divide(2,1); + if (sub==4) cHF->Divide(2,2); + // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth + if (sub==1) cHB->cd(k); + if (sub==2) cHE->cd(k); + if (sub==3) cONE->cd(k-3); + if (sub==4) cHF->cd(k); + Map_Ampl[test][sub][k]->Divide(Map_Ampl[test][sub][k],Map_SUB[sub][k], 1, 1, "B"); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub==1) sprintf(str,"HB, Depth%d \b", k); + if (sub==2) sprintf(str,"HE, Depth%d \b", k); + if (sub==3) sprintf(str,"HO, Depth%d \b", k); + if (sub==4) sprintf(str,"HF, Depth%d \b", k); + Map_Ampl[test][sub][k]->SetTitle(str); + Map_Ampl[test][sub][k]->SetXTitle("#eta \b"); + Map_Ampl[test][sub][k]->SetYTitle("#phi \b"); + Map_Ampl[test][sub][k]->SetZTitle("Rate \b"); + if (sub==3) Map_Ampl[test][sub][k]->SetTitleOffset(0.8,"Z"); + Map_Ampl[test][sub][k]->Draw("COLZ"); + Map_Ampl[test][sub][k]->GetYaxis()->SetRangeUser(0, 72.); + Map_Ampl[test][sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); + if (sub==1) {cHB->Modified(); cHB->Update();} + if (sub==2) {cHE->Modified(); cHE->Update();} + if (sub==3) {cONE->Modified();cONE->Update();} + if (sub==4) {cHF->Modified(); cHF->Update();} + }//end depth + if (test==2){ + if (sub==1) {cHB->Print("MapRateAmplHB.png"); cHB->Clear();} + if (sub==2) {cHE->Print("MapRateAmplHE.png"); cHE->Clear();} + if (sub==3) {cONE->Print("MapRateAmplHO.png"); cONE->Clear();} + if (sub==4) {cHF->Print("MapRateAmplHF.png"); cHF->Clear();} + } + if (test==3){ + if (sub==1) {cHB->Print("MapRateRMSHB.png"); cHB->Clear();} + if (sub==2) {cHE->Print("MapRateRMSHE.png"); cHE->Clear();} + if (sub==3) {cONE->Print("MapRateRMSHO.png"); cONE->Clear();} + if (sub==4) {cHF->Print("MapRateRMSHF.png"); cHF->Clear();} + } + if (test==4){ + if (sub==1) {cHB->Print("MapRate43TStoAllTSHB.png"); cHB->Clear();} + if (sub==2) {cHE->Print("MapRate43TStoAllTSHE.png"); cHE->Clear();} + if (sub==3) {cONE->Print("MapRate43TStoAllTSHO.png"); cONE->Clear();} + if (sub==4) {cHF->Print("MapRate43TStoAllTSHF.png"); cHF->Clear();} + } + if (test==5){ + if (sub==1) {cHB->Print("MapRateMeanPosHB.png"); cHB->Clear();} + if (sub==2) {cHE->Print("MapRateMeanPosHE.png"); cHE->Clear();} + if (sub==3) {cONE->Print("MapRateMeanPosHO.png"); cONE->Clear();} + if (sub==4) {cHF->Print("MapRateMeanPosHF.png"); cHF->Clear();} + } + if (test==6){ + if (sub==1) {cHB->Print("MapRateMaxPosHB.png"); cHB->Clear();} + if (sub==2) {cHE->Print("MapRateMaxPosHE.png"); cHE->Clear();} + if (sub==3) {cONE->Print("MapRateMaxPosHO.png"); cONE->Clear();} + if (sub==4) {cHF->Print("MapRateMaxPosHF.png"); cHF->Clear();} + } + + // cONE->Divide(1,1); + cONE->Divide(3,1); + if(test == 2 && sub == 2 ) { + cONE->cd(2); + TH1F *kjkjkhj2= (TH1F*)dir->FindObjectAny("h_AmplitudeHEtest1");kjkjkhj2->Draw("");kjkjkhj2->SetTitle("HE, All Depth: shunt1"); + cONE->cd(3); + TH1F *kjkjkhj3= (TH1F*)dir->FindObjectAny("h_AmplitudeHEtest6");kjkjkhj3->Draw("");kjkjkhj3->SetTitle("HE, All Depth: shunt6"); + } + if(test == 2 && sub == 1 ) { + cONE->cd(2); + TH1F *kjkjkhb2= (TH1F*)dir->FindObjectAny("h_AmplitudeHBtest1");kjkjkhb2->Draw("");kjkjkhb2->SetTitle("HB, All Depth: shunt1"); + cONE->cd(3); + TH1F *kjkjkhb3= (TH1F*)dir->FindObjectAny("h_AmplitudeHBtest6");kjkjkhb3->Draw("");kjkjkhb3->SetTitle("HB, All Depth: shunt6"); + } + cONE->cd(1); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogy(); + if (sub==1) HistAmpl[test][sub]->SetTitle("HB, All Depth: shunt6"); + if (sub==2) HistAmpl[test][sub]->SetTitle("HE, All Depth: shunt6"); + if (sub==3) HistAmpl[test][sub]->SetTitle("HO, All Depth"); + if (sub==4) HistAmpl[test][sub]->SetTitle("HF, All Depth"); + if (test==2) HistAmpl[test][sub]->SetXTitle("ADC Amlitude in each event & cell \b"); + if (test==3) HistAmpl[test][sub]->SetXTitle("RMS in each event & cell \b"); + if (test==4) HistAmpl[test][sub]->SetXTitle("Ratio in each event & cell \b"); + if (test==5) HistAmpl[test][sub]->SetXTitle("Mean TS position in each event & cell \b"); + if (test==6) HistAmpl[test][sub]->SetXTitle("Max TS position in each event & cell \b"); + HistAmpl[test][sub]->SetYTitle("Number of cell-events \b"); + HistAmpl[test][sub]->SetLineColor(4); + HistAmpl[test][sub]->SetLineWidth(2); + HistAmpl[test][sub]->SetTitleOffset(1.4,"Y"); + HistAmpl[test][sub]->Draw(""); + // // HistAmpl[test][sub]->GetYaxis()->SetRangeUser(1., 100.); +// if (test==2) {gPad->SetLogx(); HistAmpl[test][sub]->GetXaxis()->SetRangeUser(1., 10000.);} + if (test==2) {gPad->SetLogx(); } + if (test==3) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 5.);// width + if (test==4) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 1.);// R + if (test==5) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 9.);//Tn + if (test==6) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 9.);//Tx + cONE->Modified(); + cONE->Update(); + double min_x[] = {MIN_M[test][sub],MIN_M[test][sub]}; + double min_y[] = {0.,100000000.}; + TGraph* MIN = new TGraph(2, min_x, min_y); + MIN->SetLineStyle(2); + MIN->SetLineColor(2); + MIN->SetLineWidth(2 + 100*100); + MIN->SetFillStyle(3005); + MIN->SetFillColor(2); + MIN->Draw("L"); + double max_x[] = {MAX_M[test][sub],MAX_M[test][sub]}; + double max_y[] = {0.,100000000.}; + TGraph* MAX = new TGraph(2, max_x, max_y); + MAX->SetLineStyle(2); + MAX->SetLineColor(2); + MAX->SetLineWidth(-2 - 100*100); + MAX->SetFillStyle(3004); + MAX->SetFillColor(2); + MAX->Draw("L"); + if (test==2){ + if (sub==1) {cONE->Print("HistAmplHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("HistAmplHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("HistAmplHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("HistAmplHF.png"); cONE->Clear();} + } + if (test==3){ + if (sub==1) {cONE->Print("HistRMSHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("HistRMSHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("HistRMSHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("HistRMSHF.png"); cONE->Clear();} + } + if (test==4){ + if (sub==1) {cONE->Print("Hist43TStoAllTSHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("Hist43TStoAllTSHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("Hist43TStoAllTSHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("Hist43TStoAllTSHF.png"); cONE->Clear();} + } + if (test==5){ + if (sub==1) {cONE->Print("HistMeanPosHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("HistMeanPosHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("HistMeanPosHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("HistMeanPosHF.png"); cONE->Clear();} + } + if (test==6){ + if (sub==1) {cONE->Print("HistMaxPosHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("HistMaxPosHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("HistMaxPosHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("HistMaxPosHF.png"); cONE->Clear();} + } + }// end sub + }//end test + + TH2F *Map_Calib[5][5]; // 2d histogramm for subdet, depth + + Map_Calib[1][1] = (TH2F*)dir->FindObjectAny("h_map_HB"); + Map_Calib[1][2] = (TH2F*)dir->FindObjectAny("h_map_HB"); + Map_Calib[2][1] = (TH2F*)dir->FindObjectAny("h_map_HE"); + Map_Calib[2][2] = (TH2F*)dir->FindObjectAny("h_map_HE"); + Map_Calib[2][3] = (TH2F*)dir->FindObjectAny("h_map_HE"); + Map_Calib[3][4] = (TH2F*)dir->FindObjectAny("h_map_HO"); + Map_Calib[4][1] = (TH2F*)dir->FindObjectAny("h_map_HF"); + Map_Calib[4][2] = (TH2F*)dir->FindObjectAny("h_map_HF"); + + +//+++++++++++++++++++++++++++++ +//Test 0 Entries +//+++++++++++++++++++++++++++++ + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO +// if (sub==1) cHB->Divide(2,1); +// if (sub==2) cHE->Divide(3,1); + cONE->Divide(1,1); + // if (sub==4) cHB->Divide(2,1); +// int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet +// int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet +// for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth + int k=1; + cONE->cd(k); +// if (sub==1) cHB->cd(k); +// if (sub==2) cHE->cd(k); + if (sub==3) k=4; +// if (sub==4) cHB->cd(k); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub==1) sprintf(str,"HB"); + if (sub==2) sprintf(str,"HE"); + if (sub==3) sprintf(str,"HO"); + if (sub==4) sprintf(str,"HF"); + Map_Calib[sub][k]->SetTitle(str); + Map_Calib[sub][k]->SetXTitle("#eta \b"); + Map_Calib[sub][k]->SetYTitle("#phi \b"); + Map_Calib[sub][k]->SetZTitle("Number of events\b"); + if (sub==3) Map_Calib[sub][k]->SetTitleOffset(0.8,"Z"); + Map_Calib[sub][k]->Draw("COLZ"); + Map_Calib[sub][k]->GetYaxis()->SetRangeUser(0, 72.); +// Map_Calib[sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); +// if (sub==1) {cHB->Modified(); cHB->Update();} +// if (sub==2) {cHE->Modified(); cHE->Update();} + cONE->Modified();cONE->Update(); +// if (sub==4) {cHB->Modified(); cHB->Update();} +// }//end depth + + if (sub==1) {cONE->Print("MapRateCalibEntryHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("MapRateCalibEntryHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("MapRateCalibEntryHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("MapRateCalibEntryHF.png"); cONE->Clear();} + }// end sub + + +//+++++++++++++++++++++++++++++ +//Test 11 (Cc) Rate of Cap ID errors for calibration channels +//+++++++++++++++++++++++++++++ + + + Map_Ampl[11][1][1] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HB"); + Map_Ampl[11][1][2] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HB"); + Map_Ampl[11][2][1] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HE"); + Map_Ampl[11][2][2] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HE"); + Map_Ampl[11][2][3] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HE"); + Map_Ampl[11][3][4] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HO"); + Map_Ampl[11][4][1] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HF"); + Map_Ampl[11][4][2] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HF"); + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO +// if (sub==1) cHB->Divide(2,1); +// if (sub==2) cHE->Divide(3,1); + cONE->Divide(1,1); + // if (sub==4) cHB->Divide(2,1); +// int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet +// int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet +// for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth + int k=1; + cONE->cd(k); +// if (sub==1) cHB->cd(k); +// if (sub==2) cHE->cd(k); + if (sub==3) k=4; +// if (sub==4) cHB->cd(k); + Map_Ampl[11][sub][k]->Divide(Map_Ampl[11][sub][k],Map_Calib[sub][k], 1, 1, "B"); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub==1) sprintf(str,"HB"); + if (sub==2) sprintf(str,"HE"); + if (sub==3) sprintf(str,"HO"); + if (sub==4) sprintf(str,"HF"); + Map_Ampl[11][sub][k]->SetTitle(str); + Map_Ampl[11][sub][k]->SetXTitle("#eta \b"); + Map_Ampl[11][sub][k]->SetYTitle("#phi \b"); + Map_Ampl[11][sub][k]->SetZTitle("Rate \b"); + Map_Ampl[11][sub][k]->SetTitleOffset(0.75,"Z"); + Map_Ampl[11][sub][k]->Draw("COLZ"); + Map_Ampl[11][sub][k]->GetYaxis()->SetRangeUser(0, 72.); + Map_Ampl[11][sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); +// if (sub==1) {cHB->Modified(); cHB->Update();} +// if (sub==2) {cHE->Modified(); cHE->Update();} + cONE->Modified();cONE->Update(); +// if (sub==4) {cHB->Modified(); cHB->Update();} +// }//end depth + + if (sub==1) {cONE->Print("MapRateCapCalibHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("MapRateCapCalibHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("MapRateCapCalibHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("MapRateCapCalibHF.png"); cONE->Clear();} + }// end sub + + +//+++++++++++++++++++++++++++++ +//Test 12 (Ac) ADC amplitude for calibration chanels +//+++++++++++++++++++++++++++++ + + Map_Ampl[12][1][1] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HB"); + Map_Ampl[12][1][2] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HB"); + Map_Ampl[12][2][1] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HE"); + Map_Ampl[12][2][2] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HE"); + Map_Ampl[12][2][3] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HE"); + Map_Ampl[12][3][4] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HO"); + Map_Ampl[12][4][1] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HF"); + Map_Ampl[12][4][2] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HF"); + + HistAmpl[12][1] = (TH1F*)dir->FindObjectAny("h_ADCCalib_HB"); + HistAmpl[12][2] = (TH1F*)dir->FindObjectAny("h_ADCCalib_HE"); + HistAmpl[12][3] = (TH1F*)dir->FindObjectAny("h_ADCCalib_HO"); + HistAmpl[12][4] = (TH1F*)dir->FindObjectAny("h_ADCCalib_HF"); + + +//+++++++++++++++++++++++++++++ +//Test 13 (Wc) Rate of RMS +//+++++++++++++++++++++++++++++ + + Map_Ampl[13][1][1] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HB"); + Map_Ampl[13][1][2] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HB"); + Map_Ampl[13][2][1] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HE"); + Map_Ampl[13][2][2] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HE"); + Map_Ampl[13][2][3] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HE"); + Map_Ampl[13][3][4] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HO"); + Map_Ampl[13][4][1] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HF"); + Map_Ampl[13][4][2] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HF"); + + HistAmpl[13][1] = (TH1F*)dir->FindObjectAny("h_WidthCalib_HB"); + HistAmpl[13][2] = (TH1F*)dir->FindObjectAny("h_WidthCalib_HE"); + HistAmpl[13][3] = (TH1F*)dir->FindObjectAny("h_WidthCalib_HO"); + HistAmpl[13][4] = (TH1F*)dir->FindObjectAny("h_WidthCalib_HF"); + + //+++++++++++++++++++++++++++++ +//Test 14 (Rc) Rate of ratio 4 near max TS/ All TS +//+++++++++++++++++++++++++++++ + + Map_Ampl[14][1][1] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HB"); + Map_Ampl[14][1][2] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HB"); + Map_Ampl[14][2][1] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HE"); + Map_Ampl[14][2][2] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HE"); + Map_Ampl[14][2][3] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HE"); + Map_Ampl[14][3][4] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HO"); + Map_Ampl[14][4][1] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HF"); + Map_Ampl[14][4][2] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HF"); + + + HistAmpl[14][1] = (TH1F*)dir->FindObjectAny("h_RatioCalib_HB"); + HistAmpl[14][2] = (TH1F*)dir->FindObjectAny("h_RatioCalib_HE"); + HistAmpl[14][3] = (TH1F*)dir->FindObjectAny("h_RatioCalib_HO"); + HistAmpl[14][4] = (TH1F*)dir->FindObjectAny("h_RatioCalib_HF"); + +//+++++++++++++++++++++++++++++ +//Test 15 (TNc) Mean position in 1-8 TS range +//+++++++++++++++++++++++++++++ + + Map_Ampl[15][1][1] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HB"); + Map_Ampl[15][1][2] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HB"); + Map_Ampl[15][2][1] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); + Map_Ampl[15][2][2] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); + Map_Ampl[15][2][3] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); + Map_Ampl[15][3][4] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HO"); + Map_Ampl[15][4][1] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HF"); + Map_Ampl[15][4][2] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HF"); + + HistAmpl[15][1] = (TH1F*)dir->FindObjectAny("h_TSmeanCalib_HB"); + HistAmpl[15][2] = (TH1F*)dir->FindObjectAny("h_TSmeanCalib_HE"); + HistAmpl[15][3] = (TH1F*)dir->FindObjectAny("h_TSmeanCalib_HO"); + HistAmpl[15][4] = (TH1F*)dir->FindObjectAny("h_TSmeanCalib_HF"); + +//+++++++++++++++++++++++++++++ +//Test 16 (TXc) Maximum position in 1-8 TS range +//+++++++++++++++++++++++++++++ + + Map_Ampl[16][1][1] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HB"); + Map_Ampl[16][1][2] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HB"); + Map_Ampl[16][2][1] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); + Map_Ampl[16][2][2] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); + Map_Ampl[16][2][3] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); + Map_Ampl[16][3][4] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HO"); + Map_Ampl[16][4][1] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HF"); + Map_Ampl[16][4][2] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HF"); + + HistAmpl[16][1] = (TH1F*)dir->FindObjectAny("h_TSmaxCalib_HB"); + HistAmpl[16][2] = (TH1F*)dir->FindObjectAny("h_TSmaxCalib_HE"); + HistAmpl[16][3] = (TH1F*)dir->FindObjectAny("h_TSmaxCalib_HO"); + HistAmpl[16][4] = (TH1F*)dir->FindObjectAny("h_TSmaxCalib_HF"); + + for (int test=12;test<=16;test++) { //Test: 2-Am, 3-Wm, 4-Rm, 5-TNm, 6-TXm, + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + if (sub==1) cONE->Divide(1,1);//cHB->Divide(2,1); + if (sub==2) cONE->Divide(1,1);//cHE->Divide(3,1); + if (sub==3) cONE->Divide(1,1); + if (sub==4) cONE->Divide(1,1);//cHB->Divide(2,1); +// int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet +// int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet +// for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth + int k=1; + if (sub==1) {k=1;cONE->cd(k);}//cHB->cd(k); } + if (sub==2) {k=1;cONE->cd(k);}//cHE->cd(k); } + if (sub==3) {k=4;cONE->cd(k-3);} + if (sub==4) {k=1;cONE->cd(k);}//cHB->cd(k); } + Map_Ampl[test][sub][k]->Divide(Map_Ampl[test][sub][k],Map_Calib[sub][k], 1, 1, "B"); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub==1) sprintf(str,"HB"); + if (sub==2) sprintf(str,"HE"); + if (sub==3) sprintf(str,"HO"); + if (sub==4) sprintf(str,"HF"); + Map_Ampl[test][sub][k]->SetTitle(str); + Map_Ampl[test][sub][k]->SetXTitle("#eta \b"); + Map_Ampl[test][sub][k]->SetYTitle("#phi \b"); + Map_Ampl[test][sub][k]->SetZTitle("Rate \b"); + Map_Ampl[test][sub][k]->SetTitleOffset(0.8,"Z"); + Map_Ampl[test][sub][k]->Draw("COLZ"); + Map_Ampl[test][sub][k]->GetYaxis()->SetRangeUser(0, 72.); + Map_Ampl[test][sub][k]->GetZaxis()->SetRangeUser(0.00001, 1.); +// if (sub==1) {cHB->Modified(); cHB->Update();} +// if (sub==2) {cHE->Modified(); cHE->Update();} + cONE->Modified();cONE->Update(); +// if (sub==4) {cHB->Modified(); cHB->Update();} +// }//end depth + if (test==12){ + if (sub==1) {cONE->Print("MapRateAmplCalibHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("MapRateAmplCalibHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("MapRateAmplCalibHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("MapRateAmplCalibHF.png"); cONE->Clear();} + } + if (test==13){ + if (sub==1) {cONE->Print("MapRateRMSCalibHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("MapRateRMSCalibHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("MapRateRMSCalibHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("MapRateRMSCalibHF.png"); cONE->Clear();} + } + if (test==14){ + if (sub==1) {cONE->Print("MapRate43TStoAllTSCalibHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("MapRate43TStoAllTSCalibHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("MapRate43TStoAllTSCalibHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("MapRate43TStoAllTSCalibHF.png"); cONE->Clear();} + } + if (test==15){ + if (sub==1) {cONE->Print("MapRateMeanPosCalibHB.png");cONE->Clear();} + if (sub==2) {cONE->Print("MapRateMeanPosCalibHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("MapRateMeanPosCalibHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("MapRateMeanPosCalibHF.png"); cONE->Clear();} + } + if (test==16){ + if (sub==1) {cONE->Print("MapRateMaxPosCalibHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("MapRateMaxPosCalibHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("MapRateMaxPosCalibHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("MapRateMaxPosCalibHF.png"); cONE->Clear();} + } + + cONE->Divide(1,1); + cONE->cd(1); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogy(); + if (sub==1) HistAmpl[test][sub]->SetTitle("HB, All Depth"); + if (sub==2) HistAmpl[test][sub]->SetTitle("HE, All Depth"); + if (sub==3) HistAmpl[test][sub]->SetTitle("HO, All Depth"); + if (sub==4) HistAmpl[test][sub]->SetTitle("HF, All Depth"); + if (test==12) HistAmpl[test][sub]->SetXTitle("ADC Amlitude in each event & cell \b"); + if (test==13) HistAmpl[test][sub]->SetXTitle("Amplitude RMS in each event & cell \b"); + if (test==14) HistAmpl[test][sub]->SetXTitle("Ratio in each event & cell \b"); + if (test==15) HistAmpl[test][sub]->SetXTitle("Mean TS position in each event & cell \b"); + if (test==16) HistAmpl[test][sub]->SetXTitle("Max TS position in each event & cell \b"); + HistAmpl[test][sub]->SetYTitle("Number of cell-events \b"); + HistAmpl[test][sub]->SetLineColor(4); + HistAmpl[test][sub]->SetLineWidth(2); + HistAmpl[test][sub]->SetTitleOffset(1.4,"Y"); + HistAmpl[test][sub]->Draw(""); +// HistAmpl[test][sub]->GetYaxis()->SetRangeUser(1., 100.); + if (test==12) {gPad->SetLogx(); HistAmpl[test][sub]->GetXaxis()->SetRangeUser(1., 10000.);} + if (test==13) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 5.); + if (test==14) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 1.); + if (test==15) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 9.); + if (test==16) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 9.); + cONE->Modified(); + cONE->Update(); + double min_x[] = {MIN_C[test-10][sub],MIN_C[test-10][sub]}; + double min_y[] = {0.,100000000.}; + TGraph* MIN = new TGraph(2, min_x, min_y); + MIN->SetLineStyle(2); + MIN->SetLineColor(2); + MIN->SetLineWidth(2 + 100*100); + MIN->SetFillStyle(3005); + MIN->SetFillColor(2); + MIN->Draw("L"); + double max_x[] = {MAX_C[test-10][sub],MAX_C[test-10][sub]}; + double max_y[] = {0.,100000000.}; + TGraph* MAX = new TGraph(2, max_x, max_y); + MAX->SetLineStyle(2); + MAX->SetLineColor(2); + MAX->SetLineWidth(-2 - 100*100); + MAX->SetFillStyle(3004); + MAX->SetFillColor(2); + MAX->Draw("L"); + if (test==12){ + if (sub==1) {cONE->Print("HistAmplCalibHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("HistAmplCalibHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("HistAmplCalibHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("HistAmplCalibHF.png"); cONE->Clear();} + } + if (test==13){ + if (sub==1) {cONE->Print("HistRMSCalibHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("HistRMSCalibHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("HistRMSCalibHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("HistRMSCalibHF.png"); cONE->Clear();} + } + if (test==14){ + if (sub==1) {cONE->Print("Hist43TStoAllTSCalibHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("Hist43TStoAllTSCalibHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("Hist43TStoAllTSCalibHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("Hist43TStoAllTSCalibHF.png"); cONE->Clear();} + } + if (test==15){ + if (sub==1) {cONE->Print("HistMeanPosCalibHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("HistMeanPosCalibHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("HistMeanPosCalibHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("HistMeanPosCalibHF.png"); cONE->Clear();} + } + if (test==16){ + if (sub==1) {cONE->Print("HistMaxPosCalibHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("HistMaxPosCalibHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("HistMaxPosCalibHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("HistMaxPosCalibHF.png"); cONE->Clear();} + } + }// end sub + }//end test + +//+++++++++++++++++++++++++++++ +//Test 21 (GS) Amplitude drift +//+++++++++++++++++++++++++++++ + + Map_Ampl[21][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1AmplE34_HB"); + Map_Ampl[21][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2AmplE34_HB"); + Map_Ampl[21][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3AmplE34_HB"); + Map_Ampl[21][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4AmplE34_HB"); + Map_Ampl[21][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1AmplE34_HE"); + Map_Ampl[21][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2AmplE34_HE"); + Map_Ampl[21][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3AmplE34_HE"); + Map_Ampl[21][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4AmplE34_HE"); + Map_Ampl[21][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5AmplE34_HE"); + Map_Ampl[21][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6AmplE34_HE"); + Map_Ampl[21][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7AmplE34_HE"); + Map_Ampl[21][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4AmplE34_HO"); + Map_Ampl[21][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1AmplE34_HF"); + Map_Ampl[21][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2AmplE34_HF"); + Map_Ampl[21][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3AmplE34_HF"); + Map_Ampl[21][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4AmplE34_HF"); + + TH2F *Map_RefAmpl[5][ALLDEPTH]; // 2D histogramm for subdet, depth + TH2F *Map_RefSUB[5][ALLDEPTH]; // 2d histogramm for subdet, depth + + Map_RefAmpl[1][1] = (TH2F*)refdir->FindObjectAny("h_mapDepth1AmplE34_HB"); + Map_RefAmpl[1][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2AmplE34_HB"); + Map_RefAmpl[1][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3AmplE34_HB"); + Map_RefAmpl[1][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4AmplE34_HB"); + Map_RefAmpl[2][1] = (TH2F*)refdir->FindObjectAny("h_mapDepth1AmplE34_HE"); + Map_RefAmpl[2][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2AmplE34_HE"); + Map_RefAmpl[2][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3AmplE34_HE"); + Map_RefAmpl[2][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4AmplE34_HE"); + Map_RefAmpl[2][5] = (TH2F*)refdir->FindObjectAny("h_mapDepth5AmplE34_HE"); + Map_RefAmpl[2][6] = (TH2F*)refdir->FindObjectAny("h_mapDepth6AmplE34_HE"); + Map_RefAmpl[2][7] = (TH2F*)refdir->FindObjectAny("h_mapDepth7AmplE34_HE"); + Map_RefAmpl[3][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4AmplE34_HO"); + Map_RefAmpl[4][1] = (TH2F*)refdir->FindObjectAny("h_mapDepth1AmplE34_HF"); + Map_RefAmpl[4][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2AmplE34_HF"); + Map_RefAmpl[4][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3AmplE34_HF"); + Map_RefAmpl[4][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4AmplE34_HF"); + + Map_RefSUB[1][1] = (TH2F*)refdir->FindObjectAny("h_mapDepth1_HB"); + Map_RefSUB[1][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2_HB"); + Map_RefSUB[1][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3_HB"); + Map_RefSUB[1][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4_HB"); + Map_RefSUB[2][1] = (TH2F*)refdir->FindObjectAny("h_mapDepth1_HE"); + Map_RefSUB[2][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2_HE"); + Map_RefSUB[2][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3_HE"); + Map_RefSUB[2][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4_HE"); + Map_RefSUB[2][5] = (TH2F*)refdir->FindObjectAny("h_mapDepth5_HE"); + Map_RefSUB[2][6] = (TH2F*)refdir->FindObjectAny("h_mapDepth6_HE"); + Map_RefSUB[2][7] = (TH2F*)refdir->FindObjectAny("h_mapDepth7_HE"); + Map_RefSUB[3][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4_HO"); + Map_RefSUB[4][1] = (TH2F*)refdir->FindObjectAny("h_mapDepth1_HF"); + Map_RefSUB[4][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2_HF"); + Map_RefSUB[4][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3_HF"); + Map_RefSUB[4][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4_HF"); + + HistAmplDepth[21][1][1] = new TH1F("diffAmpl_Depth1_HB","", 100, -10., 10.); + HistAmplDepth[21][1][2] = new TH1F("diffAmpl_Depth2_HB","", 100, -10., 10.); + HistAmplDepth[21][1][3] = new TH1F("diffAmpl_Depth3_HB","", 100, -10., 10.); + HistAmplDepth[21][1][4] = new TH1F("diffAmpl_Depth4_HB","", 100, -10., 10.); + HistAmplDepth[21][2][1] = new TH1F("diffAmpl_Depth1_HE","", 100, -10., 10.); + HistAmplDepth[21][2][2] = new TH1F("diffAmpl_Depth2_HE","", 100, -10., 10.); + HistAmplDepth[21][2][3] = new TH1F("diffAmpl_Depth3_HE","", 100, -10., 10.); + HistAmplDepth[21][2][4] = new TH1F("diffAmpl_Depth4_HE","", 100, -10., 10.); + HistAmplDepth[21][2][5] = new TH1F("diffAmpl_Depth5_HE","", 100, -10., 10.); + HistAmplDepth[21][2][6] = new TH1F("diffAmpl_Depth6_HE","", 100, -10., 10.); + HistAmplDepth[21][2][7] = new TH1F("diffAmpl_Depth7_HE","", 100, -10., 10.); + HistAmplDepth[21][3][4] = new TH1F("diffAmpl_Depth4_HO","", 100, -10., 10.); + HistAmplDepth[21][4][1] = new TH1F("diffAmpl_Depth1_HF","", 100, -10., 10.); + HistAmplDepth[21][4][2] = new TH1F("diffAmpl_Depth2_HF","", 100, -10., 10.); + HistAmplDepth[21][4][3] = new TH1F("diffAmpl_Depth3_HF","", 100, -10., 10.); + HistAmplDepth[21][4][4] = new TH1F("diffAmpl_Depth4_HF","", 100, -10., 10.); + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + // if (sub==1) cHB->Divide(2,1); + if (sub==1) cHB->Divide(2,2); + // if (sub==2) cHE->Divide(3,1); + if (sub==2) cHE->Divide(3,3); + if (sub==3) cONE->Divide(1,1); + // if (sub==4) cHF->Divide(2,1); + if (sub==4) cHF->Divide(2,2); + // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth + if (sub==1) cHB->cd(k); + if (sub==2) cHE->cd(k); + if (sub==3) cONE->cd(k-3); + if (sub==4) cHF->cd(k); + Map_Ampl[21][sub][k]->Divide(Map_Ampl[21][sub][k], Map_SUB[sub][k], 1, 1, "B"); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub==1) sprintf(str,"HB, Depth%d \b", k); + if (sub==2) sprintf(str,"HE, Depth%d \b", k); + if (sub==3) sprintf(str,"HO, Depth%d \b", k); + if (sub==4) sprintf(str,"HF, Depth%d \b", k); + Map_Ampl[21][sub][k]->SetTitle(str); + Map_Ampl[21][sub][k]->SetXTitle("#eta \b"); + Map_Ampl[21][sub][k]->SetYTitle("#phi \b"); + Map_Ampl[21][sub][k]->SetZTitle("Response \b"); + Map_Ampl[21][sub][k]->SetTitleOffset(1.1,"Z"); + Map_Ampl[21][sub][k]->Draw("COLZ"); + Map_Ampl[21][sub][k]->GetYaxis()->SetRangeUser(0, 71.); +// Map_Ampl[21][sub][k]->GetZaxis()->SetRangeUser(1., 10.); + if (sub==1) {cHB->Modified(); cHB->Update();} + if (sub==2) {cHE->Modified(); cHE->Update();} + if (sub==3) {cONE->Modified();cONE->Update();} + if (sub==4) {cHF->Modified(); cHF->Update();} + } //end depth + if (sub==1) {cHB->Print("MapRateAmpl1HB.png"); cHB->Clear();} + if (sub==2) {cHE->Print("MapRateAmpl1HE.png"); cHE->Clear();} + if (sub==3) {cONE->Print("MapRateAmpl1HO.png"); cONE->Clear();} + if (sub==4) {cHF->Print("MapRateAmpl1HF.png"); cHF->Clear();} + + // if (sub==1) cHB->Divide(2,1); + if (sub==1) cHB->Divide(2,2); + // if (sub==2) cHE->Divide(3,1); + if (sub==2) cHE->Divide(3,3); + if (sub==3) cONE->Divide(1,1); + // if (sub==4) cHF->Divide(2,1); + if (sub==4) cHF->Divide(2,2); + + for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth + if (sub==1) cHB->cd(k); + if (sub==2) cHE->cd(k); + if (sub==3) cONE->cd(k-3); + if (sub==4) cHF->cd(k); + Map_RefAmpl[sub][k]->Divide(Map_RefAmpl[sub][k], Map_RefSUB[sub][k], 1, 1, "B"); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub==1) sprintf(str,"HB, Depth%d \b", k); + if (sub==2) sprintf(str,"HE, Depth%d \b", k); + if (sub==3) sprintf(str,"HO, Depth%d \b", k); + if (sub==4) sprintf(str,"HF, Depth%d \b", k); + Map_RefAmpl[sub][k]->SetTitle(str); + Map_RefAmpl[sub][k]->SetXTitle("#eta \b"); + Map_RefAmpl[sub][k]->SetYTitle("#phi \b"); + Map_RefAmpl[sub][k]->SetZTitle("Response\b"); + Map_RefAmpl[sub][k]->SetTitleOffset(1.1,"Z"); + Map_RefAmpl[sub][k]->Draw("COLZ"); + Map_RefAmpl[sub][k]->GetYaxis()->SetRangeUser(0, 71.); +// Map_RefAmpl[21][sub][k]->GetZaxis()->SetRangeUser(1., 10.); + if (sub==1) {cHB->Modified(); cHB->Update();} + if (sub==2) {cHE->Modified(); cHE->Update();} + if (sub==3) {cONE->Modified();cONE->Update();} + if (sub==4) {cHF->Modified(); cHF->Update();} + }//end depth + if (sub==1) {cHB->Print("MapRateAmpl2HB.png"); cHB->Clear();} + if (sub==2) {cHE->Print("MapRateAmpl2HE.png"); cHE->Clear();} + if (sub==3) {cONE->Print("MapRateAmpl2HO.png"); cONE->Clear();} + if (sub==4) {cHF->Print("MapRateAmpl2HF.png"); cHF->Clear();} + + // if (sub==1) cHB->Divide(2,1); + if (sub==1) cHB->Divide(2,2); + // if (sub==2) cHE->Divide(3,1); + if (sub==2) cHE->Divide(3,3); + if (sub==3) cONE->Divide(1,1); + // if (sub==4) cHF->Divide(2,1); + if (sub==4) cHF->Divide(2,2); + + for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth + if (sub==1) cHB->cd(k); + if (sub==2) cHE->cd(k); + if (sub==3) cONE->cd(k-3); + if (sub==4) cHF->cd(k); + TH2F* TTT = new TH2F("Map","Map", 82, -41, 40, 72, 0, 71); + for (int x=1;x<=Map_Ampl[21][sub][k]->GetXaxis()->GetNbins();x++) { + for (int y=1;y<=Map_Ampl[21][sub][k]->GetYaxis()->GetNbins(); y++) { + if (Map_Ampl[21][sub][k]->GetBinContent(x,y) !=0 && Map_RefAmpl[sub][k]->GetBinContent(x,y) !=0 ) { + double ccc1 = Map_Ampl[21][sub][k]->GetBinContent(x,y) - Map_RefAmpl[sub][k]->GetBinContent(x,y) ; + ccc1 = 100.*ccc1/Map_Ampl[21][sub][k]->GetBinContent(x,y);// in % + HistAmplDepth[21][sub][k]->Fill(ccc1); + Map_Ampl[21][sub][k]->SetBinContent(x,y,fabs(ccc1)); + if(fabs(ccc1) > porog[sub]) TTT->SetBinContent(x,y,fabs(ccc1)); + else TTT->SetBinContent(x,y,0); + } + }//end y + }//esnd x + gPad->SetGridy(); + gPad->SetGridx(); +// gPad->SetLogz(); + if (sub==1) sprintf(str,"HB, Depth%d \b", k); + if (sub==2) sprintf(str,"HE, Depth%d \b", k); + if (sub==3) sprintf(str,"HO, Depth%d \b", k); + if (sub==4) sprintf(str,"HF, Depth%d \b", k); + TTT->SetTitle(str); + TTT->SetXTitle("#eta \b"); + TTT->SetYTitle("#phi \b"); + TTT->SetZTitle("Relative difference, % \b"); + TTT->SetTitleOffset(0.9,"Z"); + TTT->Draw("COLZ"); + TTT->GetYaxis()->SetRangeUser(0, 71.); + TTT->GetZaxis()->SetRangeUser(0, 10.); + if (sub==1) {cHB->Modified(); cHB->Update();} + if (sub==2) {cHE->Modified(); cHE->Update();} + if (sub==3) {cONE->Modified();cONE->Update();} + if (sub==4) {cHF->Modified(); cHF->Update();} + }//end depth + + if (sub==1) {cHB->Print("MapRateAmplDriftHB.png"); cHB->Clear(); } + if (sub==2) {cHE->Print("MapRateAmplDriftHE.png"); cHE->Clear();} + if (sub==3) {cONE->Print("MapRateAmplDriftHO.png"); cONE->Clear();} + if (sub==4) {cHF->Print("MapRateAmplDriftHF.png"); cHF->Clear();} + //////////////////////////////////////////////////////////////////////////////////// + + + + // if (sub==1) cHB->Divide(2,1); + if (sub==1) cHB->Divide(2,2); + // if (sub==2) cHE->Divide(3,1); + if (sub==2) cHE->Divide(3,3); + if (sub==3) cONE->Divide(1,1); + // if (sub==4) cHF->Divide(2,1); + if (sub==4) cHF->Divide(2,2); + + for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth + if (sub==1) cHB->cd(k); + if (sub==2) cHE->cd(k); + if (sub==3) cONE->cd(k-3); + if (sub==4) cHF->cd(k); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogy(); + if (sub==1) sprintf(str,"HB, Depth%d \b", k); + if (sub==2) sprintf(str,"HE, Depth%d \b", k); + if (sub==3) sprintf(str,"HO, Depth%d \b", k); + if (sub==4) sprintf(str,"HF, Depth%d \b", k); + HistAmplDepth[21][sub][k]->SetTitle(str); + HistAmplDepth[21][sub][k]->SetYTitle("Number of cell-events \b"); + HistAmplDepth[21][sub][k]->SetXTitle("Per cent \b"); + HistAmplDepth[21][sub][k]->SetLineColor(4); + HistAmplDepth[21][sub][k]->SetLineWidth(2); + HistAmplDepth[21][sub][k]->SetTitleOffset(1.4,"Y"); + HistAmplDepth[21][sub][k]->Draw(); +// HistAmplDepth[21][sub][k]->GetYaxis()->SetRangeUser(0, 72.); + HistAmplDepth[21][sub][k]->GetXaxis()->SetRangeUser(-10., 10.); + if (sub==1) {cHB->Modified(); cHB->Update();} + if (sub==2) {cHE->Modified(); cHE->Update();} + if (sub==3) {cONE->Modified();cONE->Update();} + if (sub==4) {cHF->Modified(); cHF->Update();} + double min_x[] = {-1*porog[sub],-1*porog[sub]}; + double min_y[] = {0.,100000000.}; + TGraph* MIN = new TGraph(2, min_x, min_y); + MIN->SetLineStyle(2); + MIN->SetLineColor(2); + MIN->SetLineWidth(2 + 100*100); + MIN->SetFillStyle(3005); + MIN->SetFillColor(2); + MIN->Draw("L"); + double max_x[] = {porog[sub],porog[sub]}; + double max_y[] = {0.,100000000.}; + TGraph* MAX = new TGraph(2, max_x, max_y); + MAX->SetLineStyle(2); + MAX->SetLineColor(2); + MAX->SetLineWidth(-2 - 100*100); + MAX->SetFillStyle(3004); + MAX->SetFillColor(2); + MAX->Draw("L"); + } // end depth + if (sub==1) {cHB->Print("HistAmplDriftDepthHB.png"); cHB->Clear();} + if (sub==2) {cHE->Print("HistAmplDriftDepthHE.png"); cHE->Clear();} + if (sub==3) {cONE->Print("HistAmplDriftDepthHO.png"); cONE->Clear();} + if (sub==4) {cHF->Print("HistAmplDriftDepthHF.png"); cHF->Clear();} + } //end sub + + + //+++++++++++++++++++++++++++++++++++ +//Test 31, 32 Pedestal, pedestalWidths +//++++++++++++++++++++++++++++++++++++ + + Map_Ampl[31][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1pedestal_HB"); + Map_Ampl[31][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestal_HB"); + Map_Ampl[31][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3pedestal_HB"); + Map_Ampl[31][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestal_HB"); + Map_Ampl[31][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1pedestal_HE"); + Map_Ampl[31][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestal_HE"); + Map_Ampl[31][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3pedestal_HE"); + Map_Ampl[31][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestal_HE"); + Map_Ampl[31][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5pedestal_HE"); + Map_Ampl[31][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6pedestal_HE"); + Map_Ampl[31][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7pedestal_HE"); + Map_Ampl[31][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestal_HO"); + Map_Ampl[31][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1pedestal_HF"); + Map_Ampl[31][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestal_HF"); + Map_Ampl[31][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3pedestal_HF"); + Map_Ampl[31][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestal_HF"); + + Map_Ampl[32][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1pedestalw_HB"); + Map_Ampl[32][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestalw_HB"); + Map_Ampl[32][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3pedestalw_HB"); + Map_Ampl[32][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestalw_HB"); + Map_Ampl[32][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1pedestalw_HE"); + Map_Ampl[32][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestalw_HE"); + Map_Ampl[32][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3pedestalw_HE"); + Map_Ampl[32][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestalw_HE"); + Map_Ampl[32][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5pedestalw_HE"); + Map_Ampl[32][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6pedestalw_HE"); + Map_Ampl[32][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7pedestalw_HE"); + Map_Ampl[32][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestalw_HO"); + Map_Ampl[32][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1pedestalw_HF"); + Map_Ampl[32][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestalw_HF"); + Map_Ampl[32][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3pedestalw_HF"); + Map_Ampl[32][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestalw_HF"); + + HistPed[1][1][0] = (TH1F*)dir->FindObjectAny("h_pedestal0_HB"); + HistPed[1][1][1] = (TH1F*)dir->FindObjectAny("h_pedestal1_HB"); + HistPed[1][1][2] = (TH1F*)dir->FindObjectAny("h_pedestal2_HB"); + HistPed[1][1][3] = (TH1F*)dir->FindObjectAny("h_pedestal3_HB"); + HistPed[2][1][0] = (TH1F*)dir->FindObjectAny("h_pedestalw0_HB"); + HistPed[2][1][1] = (TH1F*)dir->FindObjectAny("h_pedestalw1_HB"); + HistPed[2][1][2] = (TH1F*)dir->FindObjectAny("h_pedestalw2_HB"); + HistPed[2][1][3] = (TH1F*)dir->FindObjectAny("h_pedestalw3_HB"); + + HistPed[1][2][0] = (TH1F*)dir->FindObjectAny("h_pedestal0_HE"); + HistPed[1][2][1] = (TH1F*)dir->FindObjectAny("h_pedestal1_HE"); + HistPed[1][2][2] = (TH1F*)dir->FindObjectAny("h_pedestal2_HE"); + HistPed[1][2][3] = (TH1F*)dir->FindObjectAny("h_pedestal3_HE"); + HistPed[2][2][0] = (TH1F*)dir->FindObjectAny("h_pedestalw0_HE"); + HistPed[2][2][1] = (TH1F*)dir->FindObjectAny("h_pedestalw1_HE"); + HistPed[2][2][2] = (TH1F*)dir->FindObjectAny("h_pedestalw2_HE"); + HistPed[2][2][3] = (TH1F*)dir->FindObjectAny("h_pedestalw3_HE"); + + HistPed[1][3][0] = (TH1F*)dir->FindObjectAny("h_pedestal0_HO"); + HistPed[1][3][1] = (TH1F*)dir->FindObjectAny("h_pedestal1_HO"); + HistPed[1][3][2] = (TH1F*)dir->FindObjectAny("h_pedestal2_HO"); + HistPed[1][3][3] = (TH1F*)dir->FindObjectAny("h_pedestal3_HO"); + HistPed[2][3][0] = (TH1F*)dir->FindObjectAny("h_pedestalw0_HO"); + HistPed[2][3][1] = (TH1F*)dir->FindObjectAny("h_pedestalw1_HO"); + HistPed[2][3][2] = (TH1F*)dir->FindObjectAny("h_pedestalw2_HO"); + HistPed[2][3][3] = (TH1F*)dir->FindObjectAny("h_pedestalw3_HO"); + + HistPed[1][4][0] = (TH1F*)dir->FindObjectAny("h_pedestal0_HF"); + HistPed[1][4][1] = (TH1F*)dir->FindObjectAny("h_pedestal1_HF"); + HistPed[1][4][2] = (TH1F*)dir->FindObjectAny("h_pedestal2_HF"); + HistPed[1][4][3] = (TH1F*)dir->FindObjectAny("h_pedestal3_HF"); + HistPed[2][4][0] = (TH1F*)dir->FindObjectAny("h_pedestalw0_HF"); + HistPed[2][4][1] = (TH1F*)dir->FindObjectAny("h_pedestalw1_HF"); + HistPed[2][4][2] = (TH1F*)dir->FindObjectAny("h_pedestalw2_HF"); + HistPed[2][4][3] = (TH1F*)dir->FindObjectAny("h_pedestalw3_HF"); + + + for (int test=31;test<=32;test++) { //Test: 31-Pedestals, 32-pedestal Widths, + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF + // if (sub==1) cHB->Divide(2,1); + if (sub==1) cHB->Divide(2,2); + // if (sub==2) cHE->Divide(3,1); + if (sub==2) cHE->Divide(3,3); + if (sub==3) cONE->Divide(1,1); + // if (sub==4) cHF->Divide(2,1); + if (sub==4) cHF->Divide(2,2); + // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + for (int k=k_min[sub];k<=k_max[sub];k++) { //Depths + if (sub==1) cHB->cd(k); + if (sub==2) cHE->cd(k); + if (sub==3) cONE->cd(k-3); + if (sub==4) cHF->cd(k); + Map_Ampl[test][sub][k]->Divide(Map_Ampl[test][sub][k],Map_SUB[sub][k], 1, 1, "B"); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub==1) sprintf(str,"HB, Depth%d \b", k); + if (sub==2) sprintf(str,"HE, Depth%d \b", k); + if (sub==3) sprintf(str,"HO, Depth%d \b", k); + if (sub==4) sprintf(str,"HF, Depth%d \b", k); + Map_Ampl[test][sub][k]->SetTitle(str); + Map_Ampl[test][sub][k]->SetXTitle("#eta \b"); + Map_Ampl[test][sub][k]->SetYTitle("#phi \b"); + Map_Ampl[test][sub][k]->SetZTitle("Rate \b"); + if (sub==3) Map_Ampl[test][sub][k]->SetTitleOffset(0.8,"Z"); + Map_Ampl[test][sub][k]->Draw("COLZ"); + Map_Ampl[test][sub][k]->GetYaxis()->SetRangeUser(0, 72.); + Map_Ampl[test][sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); + if (sub==1) {cHB->Modified(); cHB->Update();} + if (sub==2) {cHE->Modified(); cHE->Update();} + if (sub==3) {cONE->Modified();cONE->Update();} + if (sub==4) {cHF->Modified(); cHF->Update();} + }//end depth + if (test==31){ + if (sub==1) {cHB->Print("MapRatePedHB.png"); cHB->Clear();} + if (sub==2) {cHE->Print("MapRatePedHE.png"); cHE->Clear();} + if (sub==3) {cONE->Print("MapRatePedHO.png"); cONE->Clear();} + if (sub==4) {cHF->Print("MapRatePedHF.png"); cHF->Clear();} + } + if (test==32){ + if (sub==1) {cHB->Print("MapRatePedWidthsHB.png"); cHB->Clear();} + if (sub==2) {cHE->Print("MapRatePedWidthsHE.png"); cHE->Clear();} + if (sub==3) {cONE->Print("MapRatePedWidthsHO.png"); cONE->Clear();} + if (sub==4) {cHF->Print("MapRatePedWidthsHF.png"); cHF->Clear();} + } + + + + + + /////////////////////////////////////////////// + + cPED->Divide(2,2); + for(int cap=0;cap<=3;cap++) { + cPED->cd(cap+1); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogy(); + + if (sub==1) sprintf(str,"HB, Cap%d, all depth\b", cap); + if (sub==2) sprintf(str,"HE, Cap%d, all depth\b", cap); + if (sub==3) sprintf(str,"HO, Cap%d, all depth\b", cap); + if (sub==4) sprintf(str,"HF, Cap%d, all depth\b", cap); + + HistPed[test-30][sub][cap]->SetTitle(str); + + if (test==31) HistPed[test-30][sub][cap]->SetXTitle("Pedestals in each event & cell \b"); + if (test==32) HistPed[test-30][sub][cap]->SetXTitle("Pedestal Widths in each event & cell \b"); + + HistPed[test-30][sub][cap]->SetYTitle("Number of channel-events \b"); + HistPed[test-30][sub][cap]->SetLineColor(4); + HistPed[test-30][sub][cap]->SetLineWidth(2); + HistPed[test-30][sub][cap]->SetTitleOffset(1.4,"Y"); + HistPed[test-30][sub][cap]->Draw(""); +// HistPed[test-30][sub][cap]->GetYaxis()->SetRangeUser(1., 100.); +// if (test==31) {gPad->SetLogx(); HistPed[test-30][sub][cap]->GetXaxis()->SetRangeUser(1., 10000.);} +// if (test==32) HistPed[test-30][sub][cap]->GetXaxis()->SetRangeUser(0., 5.); + + cPED->Modified(); + cPED->Update(); + double min_x[] = {Pedest[test-31][sub],Pedest[test-31][sub]}; + double min_y[] = {0.,100000000.}; + TGraph* MIN = new TGraph(2, min_x, min_y); + MIN->SetLineStyle(2); + MIN->SetLineColor(2); + MIN->SetLineWidth(2 + 100*100); + MIN->SetFillStyle(3005); + MIN->SetFillColor(2); + MIN->Draw("L"); + } + if (test==31){ + if (sub==1) {cPED->Print("HistPedestalsHB.png"); cPED->Clear();} + if (sub==2) {cPED->Print("HistPedestalsHE.png"); cPED->Clear();} + if (sub==3) {cPED->Print("HistPedestalsHO.png"); cPED->Clear();} + if (sub==4) {cPED->Print("HistPedestalsHF.png"); cPED->Clear();} + } + if (test==32){ + if (sub==1) {cPED->Print("HistPedestalWidthsHB.png"); cPED->Clear();} + if (sub==2) {cPED->Print("HistPedestalWidthsHE.png"); cPED->Clear();} + if (sub==3) {cPED->Print("HistPedestalWidthsHO.png"); cPED->Clear();} + if (sub==4) {cPED->Print("HistPedestalWidthsHF.png"); cPED->Clear();} + } + }// end sub + }//end test 31,32 + + //+++++++++++++++++++++++++++++++++++ +//Test 33 Correlation of Pedestal, pedestalWidths Vs fullAmplitude +//++++++++++++++++++++++++++++++++++++ + + cPED->Clear(); + Map_Ped[1][1] = (TH2F*)dir->FindObjectAny("h2_pedvsampl_HB"); + Map_Ped[1][2] = (TH2F*)dir->FindObjectAny("h2_pedvsampl_HE"); + Map_Ped[1][3] = (TH2F*)dir->FindObjectAny("h2_pedvsampl_HO"); + Map_Ped[1][4] = (TH2F*)dir->FindObjectAny("h2_pedvsampl_HF"); + Map_Ped[2][1] = (TH2F*)dir->FindObjectAny("h2_pedwvsampl_HB"); + Map_Ped[2][2] = (TH2F*)dir->FindObjectAny("h2_pedwvsampl_HE"); + Map_Ped[2][3] = (TH2F*)dir->FindObjectAny("h2_pedwvsampl_HO"); + Map_Ped[2][4] = (TH2F*)dir->FindObjectAny("h2_pedwvsampl_HF"); + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF + cPED->Divide(2,1); + for(int test=1;test<=2;test++) { + cPED->cd(test); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (test==1) Map_Ped[test][sub]->SetXTitle("Pedestal, fC \b"); + if (test==2) Map_Ped[test][sub]->SetXTitle("pedestal Width, fC \b"); + Map_Ped[test][sub]->SetYTitle("Amplitude, fC \b"); + Map_Ped[test][sub]->SetZTitle("entries \b"); + if (test==1) sprintf(str,"Cap0 Pedestal vs Amplitude \b"); + if (test==2) sprintf(str,"Cap0 pedestalWidth vs Amplitude \b"); + Map_Ped[test][sub]->SetTitle(str); + Map_Ped[test][sub]->Draw("COLZ"); + // Map_Ped[test][sub]->GetYaxis()->SetRangeUser(0, 72.); + // Map_Ped[test][sub]->GetZaxis()->SetRangeUser(0.0001, 1.); + cPED->Modified(); cPED->Update(); + }// test 1,2 + if (sub==1) {cPED->Print("CorrelationsMapPedestalVsfullAmplitudeHB.png"); cPED->Clear();} + if (sub==2) {cPED->Print("CorrelationsMapPedestalVsfullAmplitudeHE.png"); cPED->Clear();} + if (sub==3) {cPED->Print("CorrelationsMapPedestalVsfullAmplitudeHO.png"); cPED->Clear();} + if (sub==4) {cPED->Print("CorrelationsMapPedestalVsfullAmplitudeHF.png"); cPED->Clear();} + }// end sub + + + + //+++++++++++++++++++++++++++++++++++ +//Test 41 Time Slices shape for good and bad channels +//++++++++++++++++++++++++++++++++++++ + + + cONE->Clear(); + hist_GoodTSshape[1] = (TH1F*)dir->FindObjectAny("h_shape_good_channels_HB"); + hist_GoodTSshape[2] = (TH1F*)dir->FindObjectAny("h_shape_good_channels_HE"); + hist_GoodTSshape[3] = (TH1F*)dir->FindObjectAny("h_shape_good_channels_HO"); + hist_GoodTSshape[4] = (TH1F*)dir->FindObjectAny("h_shape_good_channels_HF"); + + hist_GoodTSshape0[1] = (TH1F*)dir->FindObjectAny("h_shape0_good_channels_HB"); + hist_GoodTSshape0[2] = (TH1F*)dir->FindObjectAny("h_shape0_good_channels_HE"); + hist_GoodTSshape0[3] = (TH1F*)dir->FindObjectAny("h_shape0_good_channels_HO"); + hist_GoodTSshape0[4] = (TH1F*)dir->FindObjectAny("h_shape0_good_channels_HF"); + + hist_BadTSshape[1] = (TH1F*)dir->FindObjectAny("h_shape_bad_channels_HB"); + hist_BadTSshape[2] = (TH1F*)dir->FindObjectAny("h_shape_bad_channels_HE"); + hist_BadTSshape[3] = (TH1F*)dir->FindObjectAny("h_shape_bad_channels_HO"); + hist_BadTSshape[4] = (TH1F*)dir->FindObjectAny("h_shape_bad_channels_HF"); + + hist_BadTSshape0[1] = (TH1F*)dir->FindObjectAny("h_shape0_bad_channels_HB"); + hist_BadTSshape0[2] = (TH1F*)dir->FindObjectAny("h_shape0_bad_channels_HE"); + hist_BadTSshape0[3] = (TH1F*)dir->FindObjectAny("h_shape0_bad_channels_HO"); + hist_BadTSshape0[4] = (TH1F*)dir->FindObjectAny("h_shape0_bad_channels_HF"); + + + cONE->cd(1); + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF + + + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + hist_GoodTSshape[sub]->Divide(hist_GoodTSshape[sub],hist_GoodTSshape0[sub], 1, 1, "B"); + hist_GoodTSshape[sub]->SetXTitle("Time slice \b"); + hist_GoodTSshape[sub]->SetYTitle("ADC counts \b"); + sprintf(str,"Mean ADC Shape \b"); + hist_GoodTSshape[sub]->SetTitle(str); + hist_GoodTSshape[sub]->Draw(""); + // hist_GoodTSshape[sub]->GetYaxis()->SetRangeUser(0, 72.); + // hist_GoodTSshape[sub]->GetZaxis()->SetRangeUser(0.0001, 1.); + cONE->Modified(); cONE->Update(); + if (sub==1) {cONE->Print("HistGoodTSshapesHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("HistGoodTSshapesHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("HistGoodTSshapesHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("HistGoodTSshapesHF.png"); cONE->Clear();} + }// end sub + + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF + + + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + hist_BadTSshape[sub]->Divide(hist_BadTSshape[sub],hist_BadTSshape0[sub], 1, 1, "B"); + hist_BadTSshape[sub]->SetXTitle("Time slice \b"); + hist_BadTSshape[sub]->SetYTitle("ADC counts \b"); + sprintf(str,"Mean ADC Shape \b"); + hist_BadTSshape[sub]->SetTitle(str); + hist_BadTSshape[sub]->Draw(""); + // hist_BadTSshape[sub]->GetYaxis()->SetRangeUser(0, 72.); + // hist_BadTSshape[sub]->GetZaxis()->SetRangeUser(0.0001, 1.); + cONE->Modified(); cONE->Update(); + if (sub==1) {cONE->Print("HistBadTSshapesHB.png"); cONE->Clear();} + if (sub==2) {cONE->Print("HistBadTSshapesHE.png"); cONE->Clear();} + if (sub==3) {cONE->Print("HistBadTSshapesHO.png"); cONE->Clear();} + if (sub==4) {cONE->Print("HistBadTSshapesHF.png"); cONE->Clear();} + }// end sub + + /* + //+++++++++++++++++++++++++++++++++++ +//Test 42 ADC in TS distributions +//++++++++++++++++++++++++++++++++++++ + +std::cout<<" We are here to print ADC "<FindObjectAny("h_ADC_HB"); + hist_ADC_All[2] = (TH1F*)dir->FindObjectAny("h_ADC_HE"); + hist_ADC_All[3] = (TH1F*)dir->FindObjectAny("h_ADC_HO"); + hist_ADC_All[4] = (TH1F*)dir->FindObjectAny("h_ADC_HF"); + + + hist_ADC_DS[1][1] = (TH1F*)dir->FindObjectAny("h_ADC_HBdepth1"); + hist_ADC_DS[1][2] = (TH1F*)dir->FindObjectAny("h_ADC_HBdepth2"); + hist_ADC_DS[2][1] = (TH1F*)dir->FindObjectAny("h_ADC_HEdepth1"); + hist_ADC_DS[2][2] = (TH1F*)dir->FindObjectAny("h_ADC_HEdepth2"); + hist_ADC_DS[2][3] = (TH1F*)dir->FindObjectAny("h_ADC_HEdepth3"); + hist_ADC_DS[3][4] = (TH1F*)dir->FindObjectAny("h_ADC_HOdepth4"); + hist_ADC_DS[4][1] = (TH1F*)dir->FindObjectAny("h_ADC_HFdepth1"); + hist_ADC_DS[4][2] = (TH1F*)dir->FindObjectAny("h_ADC_HFdepth2"); + + + cONE->Clear(); + cONE->Divide(1,1); + cONE->cd(1); + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogy(); + hist_ADC_All[sub]->SetXTitle("ADC counts \b"); + hist_ADC_All[sub]->SetYTitle("Number of channels-events \b"); + if (sub==1) sprintf(str,"ADC counts Distribution HB\b"); + if (sub==2) sprintf(str,"ADC counts Distribution HE\b"); + if (sub==3) sprintf(str,"ADC counts Distribution HO\b"); + if (sub==4) sprintf(str,"ADC counts Distribution HF\b"); + hist_ADC_All[sub]->SetTitle(str); + hist_ADC_All[sub]->Draw(""); + // hist_ADC_All[sub]->GetYaxis()->SetRangeUser(0, 72.); + hist_ADC_All[sub]->GetXaxis()->SetRangeUser(0.000, 1000.); + cONE->Modified(); cONE->Update(); + if (sub==1) {cONE->Print("Hist_ADC_HB_All.png"); cONE->Clear();} + if (sub==2) {cONE->Print("Hist_ADC_HE_All.png"); cONE->Clear();} + if (sub==3) {cONE->Print("Hist_ADC_HO_All.png"); cONE->Clear();} + if (sub==4) {cONE->Print("Hist_ADC_HF_All.png"); cONE->Clear();} + }// end sub + + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF + if (sub==1) cHB->Divide(2,1); + if (sub==2) cHE->Divide(3,1); + if (sub==3) cONE->Divide(1,1); + if (sub==4) cHB->Divide(2,1); + int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + for (int k=k_min[sub];k<=k_max[sub];k++) { //Depths + if (sub==1) cHB->cd(k); + if (sub==2) cHE->cd(k); + if (sub==3) cONE->cd(k-3); + if (sub==4) cHB->cd(k); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogy(); + hist_ADC_DS[sub][k]->SetXTitle("ADC counts \b"); + hist_ADC_DS[sub][k]->SetYTitle("Number of channels-events \b"); + if (sub==1) sprintf(str,"HB, Depth%d \b", k); + if (sub==2) sprintf(str,"HE, Depth%d \b", k); + if (sub==3) sprintf(str,"HO, Depth%d \b", k); + if (sub==4) sprintf(str,"HF, Depth%d \b", k); + hist_ADC_DS[sub][k]->SetTitle(str); + hist_ADC_DS[sub][k]->Draw(""); + // hist_ADC_DS[sub][k]->GetYaxis()->SetRangeUser(0, 72.); + hist_ADC_DS[sub][k]->GetXaxis()->SetRangeUser(0.000, 1000.); + if (sub==1) {cHB->Modified(); cHB->Update();} + if (sub==2) {cHE->Modified(); cHE->Update();} + if (sub==3) {cONE->Modified();cONE->Update();} + if (sub==4) {cHB->Modified(); cHB->Update();} + }//end depth + if (sub==1) {cHB->Print("Hist_ADC_HB_DS.png"); cHB->Clear();} + if (sub==2) {cHE->Print("Hist_ADC_HE_DS.png"); cHE->Clear();} + if (sub==3) {cONE->Print("Hist_ADC_HO_DS.png"); cONE->Clear();} + if (sub==4) {cHB->Print("Hist_ADC_HF_DS.png"); cHB->Clear();} + }// end sub + + + //+++++++++++++++++++++++++++++++++++ +//Test 43 Sum ADC in TS distributions +//++++++++++++++++++++++++++++++++++++ + + hist_SumADC[1][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HB"); + hist_SumADC[1][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HB"); + hist_SumADC[2][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HE"); + hist_SumADC[2][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HE"); + hist_SumADC[2][3] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth3_HE"); + hist_SumADC[3][4] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth4_HO"); + hist_SumADC[4][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HF"); + hist_SumADC[4][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HF"); + + hist_SumADC0[1][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HB0"); + hist_SumADC0[1][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HB0"); + hist_SumADC0[2][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HE0"); + hist_SumADC0[2][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HE0"); + hist_SumADC0[2][3] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth3_HE0"); + hist_SumADC0[3][4] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth4_HO0"); + hist_SumADC0[4][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HF0"); + hist_SumADC0[4][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HF0"); + + hist_SumADC1[1][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HB1"); + hist_SumADC1[1][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HB1"); + hist_SumADC1[2][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HE1"); + hist_SumADC1[2][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HE1"); + hist_SumADC1[2][3] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth3_HE1"); + hist_SumADC1[3][4] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth4_HO1"); + hist_SumADC1[4][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HF1"); + hist_SumADC1[4][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HF1"); + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF + if (sub==1) cHB->Divide(2,1); + if (sub==2) cHE->Divide(3,1); + if (sub==3) cONE->Divide(1,1); + if (sub==4) cHB->Divide(2,1); + int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + for (int k=k_min[sub];k<=k_max[sub];k++) { //Depths + if (sub==1) cHB->cd(k); + if (sub==2) cHE->cd(k); + if (sub==3) cONE->cd(k-3); + if (sub==4) cHB->cd(k); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogy(); + hist_SumADC[sub][k]->SetXTitle("ADC sum \b"); + hist_SumADC[sub][k]->SetYTitle("Number of channels-events \b"); + if (sub==1) sprintf(str,"HB, Depth%d \b", k); + if (sub==2) sprintf(str,"HE, Depth%d \b", k); + if (sub==3) sprintf(str,"HO, Depth%d \b", k); + if (sub==4) sprintf(str,"HF, Depth%d \b", k); + hist_SumADC[sub][k]->SetTitle(str); + hist_SumADC[sub][k]->Draw(""); + // hist_SumADC[sub][k]->GetYaxis()->SetRangeUser(0, 72.); + // hist_SumADC[sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); + if (sub==1) {cHB->Modified(); cHB->Update();} + if (sub==2) {cHE->Modified(); cHE->Update();} + if (sub==3) {cONE->Modified();cONE->Update();} + if (sub==4) {cHB->Modified(); cHB->Update();} + }//end depth + if (sub==1) {cHB->Print("Hist_SumADC_HB.png"); cHB->Clear();} + if (sub==2) {cHE->Print("Hist_SumADC_HE.png"); cHE->Clear();} + if (sub==3) {cONE->Print("Hist_SumADC_HO.png"); cONE->Clear();} + if (sub==4) {cHB->Print("Hist_SumADC_HF.png"); cHB->Clear();} + }// end sub + + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF + if (sub==1) cHB->Divide(2,1); + if (sub==2) cHE->Divide(3,1); + if (sub==3) cONE->Divide(1,1); + if (sub==4) cHB->Divide(2,1); + int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + for (int k=k_min[sub];k<=k_max[sub];k++) { //Depths + if (sub==1) cHB->cd(k); + if (sub==2) cHE->cd(k); + if (sub==3) cONE->cd(k-3); + if (sub==4) cHB->cd(k); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogy(); + hist_SumADC0[sub][k]->SetXTitle("ADC sum \b"); + hist_SumADC0[sub][k]->SetYTitle("Number of channels-events \b"); + if (sub==1) sprintf(str,"HB, Depth%d \b", k); + if (sub==2) sprintf(str,"HE, Depth%d \b", k); + if (sub==3) sprintf(str,"HO, Depth%d \b", k); + if (sub==4) sprintf(str,"HF, Depth%d \b", k); + hist_SumADC0[sub][k]->SetTitle(str); + hist_SumADC0[sub][k]->Draw(""); + // hist_SumADC0[sub][k]->GetYaxis()->SetRangeUser(0, 72.); + // hist_SumADC0[sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); + if (sub==1) {cHB->Modified(); cHB->Update();} + if (sub==2) {cHE->Modified(); cHE->Update();} + if (sub==3) {cONE->Modified();cONE->Update();} + if (sub==4) {cHB->Modified(); cHB->Update();} + }//end depth + if (sub==1) {cHB->Print("Hist_SumADC_HB0.png"); cHB->Clear();} + if (sub==2) {cHE->Print("Hist_SumADC_HE0.png"); cHE->Clear();} + if (sub==3) {cONE->Print("Hist_SumADC_HO0.png"); cONE->Clear();} + if (sub==4) {cHB->Print("Hist_SumADC_HF0.png"); cHB->Clear();} + }// end sub + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF + if (sub==1) cHB->Divide(2,1); + if (sub==2) cHE->Divide(3,1); + if (sub==3) cONE->Divide(1,1); + if (sub==4) cHB->Divide(2,1); + int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + for (int k=k_min[sub];k<=k_max[sub];k++) { //Depths + if (sub==1) cHB->cd(k); + if (sub==2) cHE->cd(k); + if (sub==3) cONE->cd(k-3); + if (sub==4) cHB->cd(k); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogy(); + hist_SumADC1[sub][k]->SetXTitle("ADC sum \b"); + hist_SumADC1[sub][k]->SetYTitle("Number of channels-events \b"); + if (sub==1) sprintf(str,"HB, Depth%d \b", k); + if (sub==2) sprintf(str,"HE, Depth%d \b", k); + if (sub==3) sprintf(str,"HO, Depth%d \b", k); + if (sub==4) sprintf(str,"HF, Depth%d \b", k); + hist_SumADC1[sub][k]->SetTitle(str); + hist_SumADC1[sub][k]->Draw(""); + // hist_SumADC1[sub][k]->GetYaxis()->SetRangeUser(0, 72.); + // hist_SumADC1[sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); + if (sub==1) {cHB->Modified(); cHB->Update();} + if (sub==2) {cHE->Modified(); cHE->Update();} + if (sub==3) {cONE->Modified();cONE->Update();} + if (sub==4) {cHB->Modified(); cHB->Update();} + }//end depth + if (sub==1) {cHB->Print("Hist_SumADC_HB1.png"); cHB->Clear();} + if (sub==2) {cHE->Print("Hist_SumADC_HE1.png"); cHE->Clear();} + if (sub==3) {cONE->Print("Hist_SumADC_HO1.png"); cONE->Clear();} + if (sub==4) {cHB->Print("Hist_SumADC_HF1.png"); cHB->Clear();} + }// end sub + +*/ + + + ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// phi-symmetry for Calibration Group: + ///////////// ///////////// ///////////// //////////// ///////////// ///////////////////// Phi-symmetry for Calibration Group: + ///////////// ///////////// ///////////// //////////// ///////////// ///////////////////// Phi-symmetry for Calibration Group: + ///////////// ///////////// ///////////// /////////// ///////////// ////////////////////// Phi-symmetry for Calibration Group: + ///////////// ///////////// ///////////// /////////// ///////////// ////////////////////// Phi-symmetry for Calibration Group: + + + /* + depth=5 all + i=1-82 in initial histo + j=i-1 in massives + + j= 13 23 (11) 12 25 (!!!) + j-41 in histo + -28 -18 (11) -29 -16 + + j= 59 69 (11) 57 70 (!!!) + j-41 in histo + 18 28 (11) 16 29 + */ + + const int nsub = 4; const int neta = 82; const int nphi = 72; + int njeta = neta; int njphi = nphi; +//const int ndepth = 7; + int ndepth; + ///////////// ///////////// ////////////////////////// ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: + ///////////// ///////////// ////////////////////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: + ///////////// ///////////// ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: + + //////////////////////////////////////////////////////////////////////////////////////////////////// Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi + //////////////////////////////////////////////////////////////////////////////////////////////////// Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi + //////////////////////////////////////////////////////////////////////////////////////////////////// Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi + //////////////////////////////////////////////////////////////////////////////////////////////////// Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi + //////////////////////////////////////////////////////////////////////////////////////////////////// Digi HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Digi HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Digi HB + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double adigiHB[ndepth][njeta][njphi]; + double digivarianceHB[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Digi HB + TH2F *amplitudechannel1HB1= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HB1"); + TH2F *amplitudechannel0HB1= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB1"); + TH2F* amplitudechannelHB1 = (TH2F*)amplitudechannel1HB1->Clone("amplitudechannelHB1"); + amplitudechannelHB1->Divide(amplitudechannel1HB1,amplitudechannel0HB1, 1, 1, "B"); + TH2F *amplitudechannel1HB2= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HB2"); + TH2F *amplitudechannel0HB2= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB2"); + TH2F* amplitudechannelHB2 = (TH2F*)amplitudechannel1HB2->Clone("amplitudechannelHB2"); + amplitudechannelHB2->Divide(amplitudechannel1HB2,amplitudechannel0HB2, 1, 1, "B"); + TH2F *amplitudechannel1HB3= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HB3"); + TH2F *amplitudechannel0HB3= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB3"); + TH2F* amplitudechannelHB3 = (TH2F*)amplitudechannel1HB3->Clone("amplitudechannelHB3"); + amplitudechannelHB3->Divide(amplitudechannel1HB3,amplitudechannel0HB3, 1, 1, "B"); + TH2F *amplitudechannel1HB4= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HB4"); + TH2F *amplitudechannel0HB4= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB4"); + TH2F* amplitudechannelHB4 = (TH2F*)amplitudechannel1HB4->Clone("amplitudechannelHB4"); + amplitudechannelHB4->Divide(amplitudechannel1HB4,amplitudechannel0HB4, 1, 1, "B"); + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + adigiHB[1][jeta][jphi] = amplitudechannelHB2->GetBinContent(jeta+1,jphi+1); + adigiHB[2][jeta][jphi] = amplitudechannelHB3->GetBinContent(jeta+1,jphi+1); + adigiHB[3][jeta][jphi] = amplitudechannelHB4->GetBinContent(jeta+1,jphi+1); + if(adigiHB[0][jeta][jphi] > 0.) {sumdigiHB0 += adigiHB[0][jeta][jphi];++nsumdigiHB0;} + if(adigiHB[1][jeta][jphi] > 0.) {sumdigiHB1 += adigiHB[1][jeta][jphi];++nsumdigiHB1;} + if(adigiHB[2][jeta][jphi] > 0.) {sumdigiHB2 += adigiHB[2][jeta][jphi];++nsumdigiHB2;} + if(adigiHB[3][jeta][jphi] > 0.) {sumdigiHB3 += adigiHB[3][jeta][jphi];++nsumdigiHB3;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) adigiHB[0][jeta][jphi] /= (sumdigiHB0/nsumdigiHB0) ; + if(adigiHB[1][jeta][jphi] > 0.) adigiHB[1][jeta][jphi] /= (sumdigiHB1/nsumdigiHB1) ; + if(adigiHB[2][jeta][jphi] > 0.) adigiHB[2][jeta][jphi] /= (sumdigiHB2/nsumdigiHB2) ; + if(adigiHB[3][jeta][jphi] > 0.) adigiHB[3][jeta][jphi] /= (sumdigiHB3/nsumdigiHB3) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthfs + //====================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* GefzRdigiHB42D = new TH2F("GefzRdigiHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRdigiHB42D0 = new TH2F("GefzRdigiHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRdigiHB42DF = (TH2F*)GefzRdigiHB42D0->Clone("GefzRdigiHB42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRdigiHB42D ->Fill(kkk,jphi,ccc1); GefzRdigiHB42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRdigiHB42DF->Divide(GefzRdigiHB42D,GefzRdigiHB42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRdigiHB42DF->SetMarkerStyle(20); GefzRdigiHB42DF->SetMarkerSize(0.4); GefzRdigiHB42DF->GetZaxis()->SetLabelSize(0.08); GefzRdigiHB42DF->SetXTitle("_depth #eta \b"); GefzRdigiHB42DF->SetYTitle(" #phi \b"); GefzRdigiHB42DF->SetZTitle("_depth \b"); GefzRdigiHB42DF->SetMarkerColor(2); GefzRdigiHB42DF->SetLineColor(0); // GefzRdigiHB42DF->SetMaximum(1.000); // GefzRdigiHB42DF->SetMinimum(1.0); + GefzRdigiHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("RdigiGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (GefzRdigiHB42D) delete GefzRdigiHB42D; + if (GefzRdigiHB42D0) delete GefzRdigiHB42D0; + if (GefzRdigiHB42DF) delete GefzRdigiHB42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRdigiHB41D = new TH1F("GefzRdigiHB41D","", nphi, 0., 72. ); + TH1F* GefzRdigiHB41D0 = new TH1F("GefzRdigiHB41D0","",nphi, 0., 72. ); + TH1F* GefzRdigiHB41DF = (TH1F*)GefzRdigiHB41D0->Clone("GefzRdigiHB41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRdigiHB41D0 ->Fill(jphi,1.); } + }}} + GefzRdigiHB41DF->Divide(GefzRdigiHB41D,GefzRdigiHB41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRdigiHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRdigiHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRdigiHB41DF->SetMarkerStyle(20); GefzRdigiHB41DF->SetMarkerSize(1.4); GefzRdigiHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRdigiHB41DF->SetXTitle("#phi \b"); GefzRdigiHB41DF->SetYTitle(" \b"); GefzRdigiHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRdigiHB41DF->SetMarkerColor(4); GefzRdigiHB41DF->SetLineColor(4);// GefzRdigiHB41DF->SetMinimum(0.8); // GefzRdigiHB41DF->SetMaximum(1.000); + GefzRdigiHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RdigiGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (GefzRdigiHB41D) delete GefzRdigiHB41D; + if (GefzRdigiHB41D0) delete GefzRdigiHB41D0; + if (GefzRdigiHB41DF) delete GefzRdigiHB41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionDigi1=1; + TH1F* h2CeffHBpositivedirectionDigi1 = new TH1F("h2CeffHBpositivedirectionDigi1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigi1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBpositivedirectionDigi1 = "<SetMarkerColor(2);HBpositivedirectionDigi1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionDigi1 == 1) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 == 2) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 == 3) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 == 4) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 == 5) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 == 6) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 == 7) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 == 8) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 == 9) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 ==10) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 ==11) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 ==12) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 ==13) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 ==14) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 ==15) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionDigi1 ==16) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionDigi1->Draw("Error"); + kcountHBpositivedirectionDigi1++; + if(kcountHBpositivedirectionDigi1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionDigi1) delete h2CeffHBpositivedirectionDigi1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionDigi2=1; + TH1F* h2CeffHBpositivedirectionDigi2 = new TH1F("h2CeffHBpositivedirectionDigi2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigi2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBpositivedirectionDigi2 = "<SetMarkerColor(2);HBpositivedirectionDigi2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionDigi2 == 1) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 == 2) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 == 3) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 == 4) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 == 5) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 == 6) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 == 7) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 == 8) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 == 9) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 ==10) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 ==11) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 ==12) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 ==13) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 ==14) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 ==15) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionDigi2 ==16) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionDigi2->Draw("Error"); + kcountHBpositivedirectionDigi2++; + if(kcountHBpositivedirectionDigi2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionDigi2) delete h2CeffHBpositivedirectionDigi2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionDigi3=1; + TH1F* h2CeffHBpositivedirectionDigi3 = new TH1F("h2CeffHBpositivedirectionDigi3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigi3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBpositivedirectionDigi3 = "<SetMarkerColor(2);HBpositivedirectionDigi3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionDigi3 == 1) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 == 2) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 == 3) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 == 4) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 == 5) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 == 6) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 == 7) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 == 8) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 == 9) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 ==10) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 ==11) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 ==12) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 ==13) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 ==14) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 ==15) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionDigi3 ==16) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionDigi3->Draw("Error"); + kcountHBpositivedirectionDigi3++; + if(kcountHBpositivedirectionDigi3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionDigi3) delete h2CeffHBpositivedirectionDigi3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionDigi4=1; + TH1F* h2CeffHBpositivedirectionDigi4 = new TH1F("h2CeffHBpositivedirectionDigi4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigi4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBpositivedirectionDigi4 = "<SetMarkerColor(2);HBpositivedirectionDigi4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionDigi4 == 1) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 == 2) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 == 3) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 == 4) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 == 5) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 == 6) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 == 7) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 == 8) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 == 9) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 ==10) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 ==11) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 ==12) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 ==13) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 ==14) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 ==15) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionDigi4 ==16) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionDigi4->Draw("Error"); + kcountHBpositivedirectionDigi4++; + if(kcountHBpositivedirectionDigi4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionDigi4) delete h2CeffHBpositivedirectionDigi4; + + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionDigi1=1; + TH1F* h2CeffHBnegativedirectionDigi1 = new TH1F("h2CeffHBnegativedirectionDigi1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigi1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBnegativedirectionDigi1 = "<SetMarkerColor(2);HBnegativedirectionDigi1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionDigi1 == 1) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 == 2) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 == 3) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 == 4) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 == 5) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 == 6) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 == 7) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 == 8) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 == 9) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 ==10) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 ==11) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 ==12) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 ==13) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 ==14) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 ==15) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionDigi1 ==16) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionDigi1->Draw("Error"); + kcountHBnegativedirectionDigi1++; + if(kcountHBnegativedirectionDigi1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionDigi1) delete h2CeffHBnegativedirectionDigi1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionDigi2=1; + TH1F* h2CeffHBnegativedirectionDigi2 = new TH1F("h2CeffHBnegativedirectionDigi2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigi2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBnegativedirectionDigi2 = "<SetMarkerColor(2);HBnegativedirectionDigi2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionDigi2 == 1) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 == 2) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 == 3) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 == 4) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 == 5) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 == 6) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 == 7) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 == 8) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 == 9) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 ==10) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 ==11) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 ==12) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 ==13) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 ==14) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 ==15) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if(kcountHBnegativedirectionDigi2 ==16) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionDigi2->Draw("Error"); + kcountHBnegativedirectionDigi2++; + if(kcountHBnegativedirectionDigi2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionDigi2) delete h2CeffHBnegativedirectionDigi2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionDigi3=1; + TH1F* h2CeffHBnegativedirectionDigi3 = new TH1F("h2CeffHBnegativedirectionDigi3","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigi3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBnegativedirectionDigi3 = "<SetMarkerColor(2);HBnegativedirectionDigi3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionDigi3 == 1) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 == 2) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 == 3) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 == 4) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 == 5) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 == 6) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 == 7) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 == 8) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 == 9) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 ==10) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 ==11) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 ==12) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 ==13) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 ==14) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 ==15) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if(kcountHBnegativedirectionDigi3 ==16) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionDigi3->Draw("Error"); + kcountHBnegativedirectionDigi3++; + if(kcountHBnegativedirectionDigi3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionDigi3) delete h2CeffHBnegativedirectionDigi3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionDigi4=1; + TH1F* h2CeffHBnegativedirectionDigi4 = new TH1F("h2CeffHBnegativedirectionDigi4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigi4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBnegativedirectionDigi4 = "<SetMarkerColor(2);HBnegativedirectionDigi4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionDigi4 == 1) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 == 2) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 == 3) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 == 4) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 == 5) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 == 6) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 == 7) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 == 8) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 == 9) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 ==10) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 ==11) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 ==12) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 ==13) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 ==14) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 ==15) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if(kcountHBnegativedirectionDigi4 ==16) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionDigi4->Draw("Error"); + kcountHBnegativedirectionDigi4++; + if(kcountHBnegativedirectionDigi4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionDigi4) delete h2CeffHBnegativedirectionDigi4; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_amplitudechannel2_HB1"); + TH2F *digiVariance0HB1= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB1"); + TH2F* digiVarianceHB1 = (TH2F*)digiVariance1HB1->Clone("digiVarianceHB1"); + digiVarianceHB1->Divide(digiVariance1HB1,digiVariance0HB1, 1, 1, "B"); + TH2F *digiVariance1HB2= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HB2"); + TH2F *digiVariance0HB2= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB2"); + TH2F* digiVarianceHB2 = (TH2F*)digiVariance1HB2->Clone("digiVarianceHB2"); + digiVarianceHB2->Divide(digiVariance1HB2,digiVariance0HB2, 1, 1, "B"); + TH2F *digiVariance1HB3= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HB3"); + TH2F *digiVariance0HB3= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB3"); + TH2F* digiVarianceHB3 = (TH2F*)digiVariance1HB3->Clone("digiVarianceHB3"); + digiVarianceHB3->Divide(digiVariance1HB3,digiVariance0HB3, 1, 1, "B"); + TH2F *digiVariance1HB4= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HB4"); + TH2F *digiVariance0HB4= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB4"); + TH2F* digiVarianceHB4 = (TH2F*)digiVariance1HB4->Clone("digiVarianceHB4"); + digiVarianceHB4->Divide(digiVariance1HB4,digiVariance0HB4, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive digivarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + digivarianceHB[1][jeta][jphi] = digiVarianceHB2->GetBinContent(jeta+1,jphi+1); + digivarianceHB[2][jeta][jphi] = digiVarianceHB3->GetBinContent(jeta+1,jphi+1); + digivarianceHB[3][jeta][jphi] = digiVarianceHB4->GetBinContent(jeta+1,jphi+1); + if(digivarianceHB[0][jeta][jphi] > 0.) {sumdigiHB0 += digivarianceHB[0][jeta][jphi];++nsumdigiHB0;} + if(digivarianceHB[1][jeta][jphi] > 0.) {sumdigiHB1 += digivarianceHB[1][jeta][jphi];++nsumdigiHB1;} + if(digivarianceHB[2][jeta][jphi] > 0.) {sumdigiHB2 += digivarianceHB[2][jeta][jphi];++nsumdigiHB2;} + if(digivarianceHB[3][jeta][jphi] > 0.) {sumdigiHB3 += digivarianceHB[3][jeta][jphi];++nsumdigiHB3;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) digivarianceHB[0][jeta][jphi] /= (sumdigiHB0/nsumdigiHB0) ; + if(digivarianceHB[1][jeta][jphi] > 0.) digivarianceHB[1][jeta][jphi] /= (sumdigiHB1/nsumdigiHB1) ; + if(digivarianceHB[2][jeta][jphi] > 0.) digivarianceHB[2][jeta][jphi] /= (sumdigiHB2/nsumdigiHB2) ; + if(digivarianceHB[3][jeta][jphi] > 0.) digivarianceHB[3][jeta][jphi] /= (sumdigiHB3/nsumdigiHB3) ; + }// phi + // digivarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDdigiHB42D = new TH2F("DefzDdigiHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDdigiHB42D0 = new TH2F("DefzDdigiHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDdigiHB42DF = (TH2F*)DefzDdigiHB42D0->Clone("DefzDdigiHB42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(adigiHB[i][jeta][jphi]>0.) {DefzDdigiHB42D ->Fill(kkk,jphi,ccc1); DefzDdigiHB42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDdigiHB42DF->Divide(DefzDdigiHB42D,DefzDdigiHB42D0, 1, 1, "B");// average A + // DefzDdigiHB1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDdigiHB42DF->SetMarkerStyle(20); DefzDdigiHB42DF->SetMarkerSize(0.4); DefzDdigiHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDdigiHB42DF->SetXTitle("_depth #eta \b"); DefzDdigiHB42DF->SetYTitle(" #phi \b"); DefzDdigiHB42DF->SetZTitle("_depth \b"); DefzDdigiHB42DF->SetMarkerColor(2); DefzDdigiHB42DF->SetLineColor(0); // DefzDdigiHB42DF->SetMaximum(1.000); // DefzDdigiHB42DF->SetMinimum(1.0); + DefzDdigiHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DdigiGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDdigiHB42D) delete DefzDdigiHB42D; + if (DefzDdigiHB42D0) delete DefzDdigiHB42D0; + if (DefzDdigiHB42DF) delete DefzDdigiHB42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDdigiHB41D = new TH1F("DefzDdigiHB41D","", nphi, 0., 72. ); + TH1F* DefzDdigiHB41D0 = new TH1F("DefzDdigiHB41D0","",nphi, 0., 72. ); + TH1F* DefzDdigiHB41DF = (TH1F*)DefzDdigiHB41D0->Clone("DefzDdigiHB41DF"); + + for (int jphi=0;jphi0.) {DefzDdigiHB41D ->Fill(jphi,ccc1); DefzDdigiHB41D0 ->Fill(jphi,1.); } + }}} + // DefzDdigiHB41D->Sumw2();DefzDdigiHB41D0->Sumw2(); + + DefzDdigiHB41DF->Divide(DefzDdigiHB41D,DefzDdigiHB41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDdigiHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDdigiHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDdigiHB41DF->SetMarkerStyle(20); DefzDdigiHB41DF->SetMarkerSize(1.4); DefzDdigiHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDdigiHB41DF->SetXTitle("#phi \b"); DefzDdigiHB41DF->SetYTitle(" \b"); DefzDdigiHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDdigiHB41DF->SetMarkerColor(4); DefzDdigiHB41DF->SetLineColor(4);// DefzDdigiHB41DF->SetMinimum(0.8); DefzDdigiHB41DF->SetMinimum(-0.015); + DefzDdigiHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DdigiGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (DefzDdigiHB41D) delete DefzDdigiHB41D; + if (DefzDdigiHB41D0) delete DefzDdigiHB41D0; + if (DefzDdigiHB41DF) delete DefzDdigiHB41DF; + + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionDigiD1=1; + TH1F* h2CeffHBpositivedirectionDigiD1 = new TH1F("h2CeffHBpositivedirectionDigiD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionDigiD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigiD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBpositivedirectionDigiD1 = "<SetMarkerColor(2);HBpositivedirectionDigiD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionDigiD1 == 1) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 == 2) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 == 3) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 == 4) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 == 5) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 == 6) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 == 7) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 == 8) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 == 9) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 ==10) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 ==11) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 ==12) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 ==13) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 ==14) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 ==15) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionDigiD1 ==16) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionDigiD1->Draw("Error"); + kcountHBpositivedirectionDigiD1++; + if(kcountHBpositivedirectionDigiD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionDigiD1) delete h2CeffHBpositivedirectionDigiD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionDigiD2=1; + TH1F* h2CeffHBpositivedirectionDigiD2 = new TH1F("h2CeffHBpositivedirectionDigiD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionDigiD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigiD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBpositivedirectionDigiD2 = "<SetMarkerColor(2);HBpositivedirectionDigiD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionDigiD2 == 1) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 == 2) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 == 3) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 == 4) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 == 5) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 == 6) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 == 7) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 == 8) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 == 9) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 ==10) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 ==11) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 ==12) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 ==13) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 ==14) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 ==15) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionDigiD2 ==16) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionDigiD2->Draw("Error"); + kcountHBpositivedirectionDigiD2++; + if(kcountHBpositivedirectionDigiD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionDigiD2) delete h2CeffHBpositivedirectionDigiD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionDigiD3=1; + TH1F* h2CeffHBpositivedirectionDigiD3 = new TH1F("h2CeffHBpositivedirectionDigiD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionDigiD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigiD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBpositivedirectionDigiD3 = "<SetMarkerColor(2);HBpositivedirectionDigiD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionDigiD3 == 1) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 == 2) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 == 3) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 == 4) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 == 5) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 == 6) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 == 7) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 == 8) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 == 9) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 ==10) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 ==11) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 ==12) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 ==13) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 ==14) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 ==15) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionDigiD3 ==16) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionDigiD3->Draw("Error"); + kcountHBpositivedirectionDigiD3++; + if(kcountHBpositivedirectionDigiD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionDigiD3) delete h2CeffHBpositivedirectionDigiD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionDigiD4=1; + TH1F* h2CeffHBpositivedirectionDigiD4 = new TH1F("h2CeffHBpositivedirectionDigiD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionDigiD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigiD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBpositivedirectionDigiD4 = "<SetMarkerColor(2);HBpositivedirectionDigiD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionDigiD4 == 1) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 == 2) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 == 3) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 == 4) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 == 5) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 == 6) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 == 7) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 == 8) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 == 9) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 ==10) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 ==11) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 ==12) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 ==13) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 ==14) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 ==15) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionDigiD4 ==16) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionDigiD4->Draw("Error"); + kcountHBpositivedirectionDigiD4++; + if(kcountHBpositivedirectionDigiD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionDigiD4) delete h2CeffHBpositivedirectionDigiD4; + + + //========================================================================================== 22214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionDigiD1=1; + TH1F* h2CeffHBnegativedirectionDigiD1 = new TH1F("h2CeffHBnegativedirectionDigiD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionDigiD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigiD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBnegativedirectionDigiD1 = "<SetMarkerColor(2);HBnegativedirectionDigiD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionDigiD1 == 1) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 == 2) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 == 3) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 == 4) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 == 5) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 == 6) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 == 7) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 == 8) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 == 9) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 ==10) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 ==11) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 ==12) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 ==13) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 ==14) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 ==15) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); + if(kcountHBnegativedirectionDigiD1 ==16) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); + HBnegativedirectionDigiD1->Draw("Error"); + kcountHBnegativedirectionDigiD1++; + if(kcountHBnegativedirectionDigiD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionDigiD1) delete h2CeffHBnegativedirectionDigiD1; + //========================================================================================== 22215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionDigiD2=1; + TH1F* h2CeffHBnegativedirectionDigiD2 = new TH1F("h2CeffHBnegativedirectionDigiD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionDigiD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigiD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBnegativedirectionDigiD2 = "<SetMarkerColor(2);HBnegativedirectionDigiD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionDigiD2 == 1) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 == 2) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 == 3) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 == 4) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 == 5) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 == 6) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 == 7) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 == 8) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 == 9) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 ==10) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 ==11) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 ==12) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 ==13) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 ==14) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 ==15) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); + if(kcountHBnegativedirectionDigiD2 ==16) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); + HBnegativedirectionDigiD2->Draw("Error"); + kcountHBnegativedirectionDigiD2++; + if(kcountHBnegativedirectionDigiD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionDigiD2) delete h2CeffHBnegativedirectionDigiD2; + //========================================================================================== 22216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionDigiD3=1; + TH1F* h2CeffHBnegativedirectionDigiD3 = new TH1F("h2CeffHBnegativedirectionDigiD3","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionDigiD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigiD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBnegativedirectionDigiD3 = "<SetMarkerColor(2);HBnegativedirectionDigiD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionDigiD3 == 1) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 == 2) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 == 3) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 == 4) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 == 5) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 == 6) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 == 7) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 == 8) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 == 9) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 ==10) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 ==11) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 ==12) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 ==13) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 ==14) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 ==15) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); + if(kcountHBnegativedirectionDigiD3 ==16) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); + HBnegativedirectionDigiD3->Draw("Error"); + kcountHBnegativedirectionDigiD3++; + if(kcountHBnegativedirectionDigiD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionDigiD3) delete h2CeffHBnegativedirectionDigiD3; + //========================================================================================== 22217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionDigiD4=1; + TH1F* h2CeffHBnegativedirectionDigiD4 = new TH1F("h2CeffHBnegativedirectionDigiD4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionDigiD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigiD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBnegativedirectionDigiD4 = "<SetMarkerColor(2);HBnegativedirectionDigiD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionDigiD4 == 1) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 == 2) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 == 3) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 == 4) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 == 5) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 == 6) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 == 7) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 == 8) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 == 9) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 ==10) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 ==11) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 ==12) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 ==13) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 ==14) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 ==15) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); + if(kcountHBnegativedirectionDigiD4 ==16) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); + HBnegativedirectionDigiD4->Draw("Error"); + kcountHBnegativedirectionDigiD4++; + if(kcountHBnegativedirectionDigiD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionDigiD4) delete h2CeffHBnegativedirectionDigiD4; + + + + + //===================================================================== END of Digi HB for phi-symmetry + //===================================================================== END of Digi HB for phi-symmetry + //===================================================================== END of Digi HB for phi-symmetry + + + + + + + + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Digi HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Digi HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Digi HE + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double adigihe[ndepth][njeta][njphi]; + double digivariancehe[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Digi HE + TH2F *amplitudechannel1HE1= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE1"); + TH2F *amplitudechannel0HE1= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE1"); + TH2F* amplitudechannelHE1 = (TH2F*)amplitudechannel1HE1->Clone("amplitudechannelHE1"); + amplitudechannelHE1->Divide(amplitudechannel1HE1,amplitudechannel0HE1, 1, 1, "B"); + TH2F *amplitudechannel1HE2= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE2"); + TH2F *amplitudechannel0HE2= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE2"); + TH2F* amplitudechannelHE2 = (TH2F*)amplitudechannel1HE2->Clone("amplitudechannelHE2"); + amplitudechannelHE2->Divide(amplitudechannel1HE2,amplitudechannel0HE2, 1, 1, "B"); + TH2F *amplitudechannel1HE3= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE3"); + TH2F *amplitudechannel0HE3= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE3"); + TH2F* amplitudechannelHE3 = (TH2F*)amplitudechannel1HE3->Clone("amplitudechannelHE3"); + amplitudechannelHE3->Divide(amplitudechannel1HE3,amplitudechannel0HE3, 1, 1, "B"); + TH2F *amplitudechannel1HE4= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE4"); + TH2F *amplitudechannel0HE4= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE4"); + TH2F* amplitudechannelHE4 = (TH2F*)amplitudechannel1HE4->Clone("amplitudechannelHE4"); + amplitudechannelHE4->Divide(amplitudechannel1HE4,amplitudechannel0HE4, 1, 1, "B"); + TH2F *amplitudechannel1HE5= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE5"); + TH2F *amplitudechannel0HE5= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE5"); + TH2F* amplitudechannelHE5 = (TH2F*)amplitudechannel1HE5->Clone("amplitudechannelHE5"); + amplitudechannelHE5->Divide(amplitudechannel1HE5,amplitudechannel0HE5, 1, 1, "B"); + TH2F *amplitudechannel1HE6= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE6"); + TH2F *amplitudechannel0HE6= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE6"); + TH2F* amplitudechannelHE6 = (TH2F*)amplitudechannel1HE6->Clone("amplitudechannelHE6"); + amplitudechannelHE6->Divide(amplitudechannel1HE6,amplitudechannel0HE6, 1, 1, "B"); + TH2F *amplitudechannel1HE7= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE7"); + TH2F *amplitudechannel0HE7= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE7"); + TH2F* amplitudechannelHE7 = (TH2F*)amplitudechannel1HE7->Clone("amplitudechannelHE7"); + amplitudechannelHE7->Divide(amplitudechannel1HE7,amplitudechannel0HE7, 1, 1, "B"); + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + adigihe[1][jeta][jphi] = amplitudechannelHE2->GetBinContent(jeta+1,jphi+1); + adigihe[2][jeta][jphi] = amplitudechannelHE3->GetBinContent(jeta+1,jphi+1); + adigihe[3][jeta][jphi] = amplitudechannelHE4->GetBinContent(jeta+1,jphi+1); + adigihe[4][jeta][jphi] = amplitudechannelHE5->GetBinContent(jeta+1,jphi+1); + adigihe[5][jeta][jphi] = amplitudechannelHE6->GetBinContent(jeta+1,jphi+1); + adigihe[6][jeta][jphi] = amplitudechannelHE7->GetBinContent(jeta+1,jphi+1); + if(adigihe[0][jeta][jphi] > 0.) {sumdigiHE0 += adigihe[0][jeta][jphi];++nsumdigiHE0;} + if(adigihe[1][jeta][jphi] > 0.) {sumdigiHE1 += adigihe[1][jeta][jphi];++nsumdigiHE1;} + if(adigihe[2][jeta][jphi] > 0.) {sumdigiHE2 += adigihe[2][jeta][jphi];++nsumdigiHE2;} + if(adigihe[3][jeta][jphi] > 0.) {sumdigiHE3 += adigihe[3][jeta][jphi];++nsumdigiHE3;} + if(adigihe[4][jeta][jphi] > 0.) {sumdigiHE4 += adigihe[4][jeta][jphi];++nsumdigiHE4;} + if(adigihe[5][jeta][jphi] > 0.) {sumdigiHE5 += adigihe[5][jeta][jphi];++nsumdigiHE5;} + if(adigihe[6][jeta][jphi] > 0.) {sumdigiHE6 += adigihe[6][jeta][jphi];++nsumdigiHE6;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) adigihe[0][jeta][jphi] /= (sumdigiHE0/nsumdigiHE0) ; + if(adigihe[1][jeta][jphi] > 0.) adigihe[1][jeta][jphi] /= (sumdigiHE1/nsumdigiHE1) ; + if(adigihe[2][jeta][jphi] > 0.) adigihe[2][jeta][jphi] /= (sumdigiHE2/nsumdigiHE2) ; + if(adigihe[3][jeta][jphi] > 0.) adigihe[3][jeta][jphi] /= (sumdigiHE3/nsumdigiHE3) ; + if(adigihe[4][jeta][jphi] > 0.) adigihe[4][jeta][jphi] /= (sumdigiHE4/nsumdigiHE4) ; + if(adigihe[5][jeta][jphi] > 0.) adigihe[5][jeta][jphi] /= (sumdigiHE5/nsumdigiHE5) ; + if(adigihe[6][jeta][jphi] > 0.) adigihe[6][jeta][jphi] /= (sumdigiHE6/nsumdigiHE6) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthes + //====================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: R, averaged over depthes *****" <Clear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* GefzRdigiHE42D = new TH2F("GefzRdigiHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRdigiHE42D0 = new TH2F("GefzRdigiHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRdigiHE42DF = (TH2F*)GefzRdigiHE42D0->Clone("GefzRdigiHE42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRdigiHE42D ->Fill(kkk,jphi,ccc1); GefzRdigiHE42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRdigiHE42DF->Divide(GefzRdigiHE42D,GefzRdigiHE42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRdigiHE42DF->SetMarkerStyle(20); GefzRdigiHE42DF->SetMarkerSize(0.4); GefzRdigiHE42DF->GetZaxis()->SetLabelSize(0.08); GefzRdigiHE42DF->SetXTitle("_depth #eta \b"); GefzRdigiHE42DF->SetYTitle(" #phi \b"); GefzRdigiHE42DF->SetZTitle("_depth \b"); GefzRdigiHE42DF->SetMarkerColor(2); GefzRdigiHE42DF->SetLineColor(0); // GefzRdigiHE42DF->SetMaximum(1.000); // GefzRdigiHE42DF->SetMinimum(1.0); + GefzRdigiHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("RdigiGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (GefzRdigiHE42D) delete GefzRdigiHE42D; + if (GefzRdigiHE42D0) delete GefzRdigiHE42D0; + if (GefzRdigiHE42DF) delete GefzRdigiHE42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRdigiHE41D = new TH1F("GefzRdigiHE41D","", nphi, 0., 72. ); + TH1F* GefzRdigiHE41D0 = new TH1F("GefzRdigiHE41D0","",nphi, 0., 72. ); + TH1F* GefzRdigiHE41DF = (TH1F*)GefzRdigiHE41D0->Clone("GefzRdigiHE41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRdigiHE41D0 ->Fill(jphi,1.); } + }}} + GefzRdigiHE41DF->Divide(GefzRdigiHE41D,GefzRdigiHE41D0, 1, 1, "B");// R averaged over depthes & eta + GefzRdigiHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRdigiHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRdigiHE41DF->SetMarkerStyle(20); GefzRdigiHE41DF->SetMarkerSize(1.4); GefzRdigiHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRdigiHE41DF->SetXTitle("#phi \b"); GefzRdigiHE41DF->SetYTitle(" \b"); GefzRdigiHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRdigiHE41DF->SetMarkerColor(4); GefzRdigiHE41DF->SetLineColor(4);// GefzRdigiHE41DF->SetMinimum(0.8); // GefzRdigiHE41DF->SetMaximum(1.000); + GefzRdigiHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RdigiGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (GefzRdigiHE41D) delete GefzRdigiHE41D; + if (GefzRdigiHE41D0) delete GefzRdigiHE41D0; + if (GefzRdigiHE41DF) delete GefzRdigiHE41DF; + + + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionDigi1=1; + TH1F* h2CeffHEpositivedirectionDigi1 = new TH1F("h2CeffHEpositivedirectionDigi1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigi1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEpositivedirectionDigi1 = "<SetMarkerColor(2);HEpositivedirectionDigi1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionDigi1 == 1) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionDigi1 == 2) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionDigi1 == 3) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionDigi1 == 4) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionDigi1 == 5) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionDigi1 == 6) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionDigi1 == 7) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionDigi1 == 8) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionDigi1 == 9) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionDigi1 ==10) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionDigi1 ==11) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionDigi1 ==12) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionDigi1->Draw("Error"); + kcountHEpositivedirectionDigi1++; + if(kcountHEpositivedirectionDigi1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionDigi1) delete h2CeffHEpositivedirectionDigi1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionDigi2=1; + TH1F* h2CeffHEpositivedirectionDigi2 = new TH1F("h2CeffHEpositivedirectionDigi2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigi2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEpositivedirectionDigi2 = "<SetMarkerColor(2);HEpositivedirectionDigi2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionDigi2 == 1) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionDigi2 == 2) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionDigi2 == 3) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionDigi2 == 4) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionDigi2 == 5) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionDigi2 == 6) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionDigi2 == 7) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionDigi2 == 8) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionDigi2 == 9) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionDigi2 ==10) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionDigi2 ==11) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionDigi2 ==12) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionDigi2 ==13) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionDigi2->Draw("Error"); + kcountHEpositivedirectionDigi2++; + if(kcountHEpositivedirectionDigi2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionDigi2) delete h2CeffHEpositivedirectionDigi2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionDigi3=1; + TH1F* h2CeffHEpositivedirectionDigi3 = new TH1F("h2CeffHEpositivedirectionDigi3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigi3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEpositivedirectionDigi3 = "<SetMarkerColor(2);HEpositivedirectionDigi3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionDigi3 == 1) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionDigi3 == 2) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionDigi3 == 3) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionDigi3 == 4) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionDigi3 == 5) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionDigi3 == 6) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionDigi3 == 7) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionDigi3 == 8) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionDigi3 == 9) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionDigi3 ==10) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionDigi3 ==11) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionDigi3 ==12) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionDigi3 ==13) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionDigi3->Draw("Error"); + kcountHEpositivedirectionDigi3++; + if(kcountHEpositivedirectionDigi3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionDigi3) delete h2CeffHEpositivedirectionDigi3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionDigi4=1; + TH1F* h2CeffHEpositivedirectionDigi4 = new TH1F("h2CeffHEpositivedirectionDigi4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigi4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEpositivedirectionDigi4 = "<SetMarkerColor(2);HEpositivedirectionDigi4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionDigi4 == 1) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionDigi4 == 2) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionDigi4 == 3) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionDigi4 == 4) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionDigi4 == 5) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionDigi4 == 6) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionDigi4 == 7) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionDigi4 == 8) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionDigi4 == 9) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionDigi4 ==10) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionDigi4 ==11) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionDigi4 ==12) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionDigi4->Draw("Error"); + kcountHEpositivedirectionDigi4++; + if(kcountHEpositivedirectionDigi4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionDigi4) delete h2CeffHEpositivedirectionDigi4; + //========================================================================================== 8 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionDigi5=1; + TH1F* h2CeffHEpositivedirectionDigi5 = new TH1F("h2CeffHEpositivedirectionDigi5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionDigi5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionDigi5 == 1) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionDigi5 == 2) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionDigi5 == 3) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionDigi5 == 4) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionDigi5 == 5) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionDigi5 == 6) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionDigi5 == 7) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionDigi5 == 8) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionDigi5 == 9) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionDigi5 ==10) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionDigi5 ==11) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionDigi5->Draw("Error"); + kcountHEpositivedirectionDigi5++; + if(kcountHEpositivedirectionDigi5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionDigi5) delete h2CeffHEpositivedirectionDigi5; + //========================================================================================== 9 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionDigi6=1; + TH1F* h2CeffHEpositivedirectionDigi6 = new TH1F("h2CeffHEpositivedirectionDigi6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigi6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEpositivedirectionDigi6 = "<SetMarkerColor(2);HEpositivedirectionDigi6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionDigi6 == 1) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionDigi6 == 2) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionDigi6 == 3) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionDigi6 == 4) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionDigi6 == 5) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionDigi6 == 6) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionDigi6 == 7) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionDigi6 == 8) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionDigi6 == 9) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionDigi6 ==10) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionDigi6->Draw("Error"); + kcountHEpositivedirectionDigi6++; + if(kcountHEpositivedirectionDigi6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionDigi6) delete h2CeffHEpositivedirectionDigi6; + //========================================================================================== 10 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionDigi7=1; + TH1F* h2CeffHEpositivedirectionDigi7 = new TH1F("h2CeffHEpositivedirectionDigi7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigi7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEpositivedirectionDigi7 = "<SetMarkerColor(2);HEpositivedirectionDigi7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionDigi7 == 1) HEpositivedirectionDigi7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionDigi7 == 2) HEpositivedirectionDigi7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionDigi7 == 3) HEpositivedirectionDigi7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionDigi7->Draw("Error"); + kcountHEpositivedirectionDigi7++; + if(kcountHEpositivedirectionDigi7>3) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionDigi7) delete h2CeffHEpositivedirectionDigi7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionDigi1=1; + TH1F* h2CeffHEnegativedirectionDigi1 = new TH1F("h2CeffHEnegativedirectionDigi1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigi1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEnegativedirectionDigi1 = "<SetMarkerColor(2);HEnegativedirectionDigi1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionDigi1 == 1) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionDigi1 == 2) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionDigi1 == 3) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionDigi1 == 4) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionDigi1 == 5) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionDigi1 == 6) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionDigi1 == 7) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionDigi1 == 8) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionDigi1 == 9) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionDigi1 ==10) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionDigi1 ==11) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionDigi1 ==12) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionDigi1->Draw("Error"); + kcountHEnegativedirectionDigi1++; + if(kcountHEnegativedirectionDigi1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionDigi1) delete h2CeffHEnegativedirectionDigi1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionDigi2=1; + TH1F* h2CeffHEnegativedirectionDigi2 = new TH1F("h2CeffHEnegativedirectionDigi2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigi2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEnegativedirectionDigi2 = "<SetMarkerColor(2);HEnegativedirectionDigi2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionDigi2 == 1) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionDigi2 == 2) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionDigi2 == 3) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionDigi2 == 4) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionDigi2 == 5) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionDigi2 == 6) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionDigi2 == 7) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionDigi2 == 8) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionDigi2 == 9) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionDigi2 ==10) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionDigi2 ==11) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionDigi2 ==12) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionDigi2 ==13) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionDigi2->Draw("Error"); + kcountHEnegativedirectionDigi2++; + if(kcountHEnegativedirectionDigi2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionDigi2) delete h2CeffHEnegativedirectionDigi2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionDigi3=1; + TH1F* h2CeffHEnegativedirectionDigi3 = new TH1F("h2CeffHEnegativedirectionDigi3","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigi3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEnegativedirectionDigi3 = "<SetMarkerColor(2);HEnegativedirectionDigi3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionDigi3 == 1) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionDigi3 == 2) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionDigi3 == 3) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionDigi3 == 4) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionDigi3 == 5) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionDigi3 == 6) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionDigi3 == 7) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionDigi3 == 8) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionDigi3 == 9) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionDigi3 ==10) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionDigi3 ==11) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionDigi3 ==12) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionDigi3 ==13) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionDigi3->Draw("Error"); + kcountHEnegativedirectionDigi3++; + if(kcountHEnegativedirectionDigi3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionDigi3) delete h2CeffHEnegativedirectionDigi3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionDigi4=1; + TH1F* h2CeffHEnegativedirectionDigi4 = new TH1F("h2CeffHEnegativedirectionDigi4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigi4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEnegativedirectionDigi4 = "<SetMarkerColor(2);HEnegativedirectionDigi4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionDigi4 == 1) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionDigi4 == 2) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionDigi4 == 3) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionDigi4 == 4) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionDigi4 == 5) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionDigi4 == 6) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionDigi4 == 7) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionDigi4 == 8) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionDigi4 == 9) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionDigi4 ==10) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionDigi4 ==11) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionDigi4 ==12) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionDigi4->Draw("Error"); + kcountHEnegativedirectionDigi4++; + if(kcountHEnegativedirectionDigi4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionDigi4) delete h2CeffHEnegativedirectionDigi4; + //========================================================================================== 1118 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionDigi5=1; + TH1F* h2CeffHEnegativedirectionDigi5 = new TH1F("h2CeffHEnegativedirectionDigi5","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionDigi5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionDigi5 == 1) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionDigi5 == 2) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionDigi5 == 3) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionDigi5 == 4) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionDigi5 == 5) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionDigi5 == 6) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionDigi5 == 7) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionDigi5 == 8) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionDigi5 == 9) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionDigi5 ==10) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionDigi5 ==11) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionDigi5->Draw("Error"); + kcountHEnegativedirectionDigi5++; + if(kcountHEnegativedirectionDigi5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionDigi5) delete h2CeffHEnegativedirectionDigi5; + //========================================================================================== 1119 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionDigi6=1; + TH1F* h2CeffHEnegativedirectionDigi6 = new TH1F("h2CeffHEnegativedirectionDigi6","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigi6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEnegativedirectionDigi6 = "<SetMarkerColor(2);HEnegativedirectionDigi6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionDigi6 == 1) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionDigi6 == 2) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionDigi6 == 3) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionDigi6 == 4) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionDigi6 == 5) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionDigi6 == 6) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionDigi6 == 7) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionDigi6 == 8) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionDigi6 == 9) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionDigi6 ==10) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionDigi6->Draw("Error"); + kcountHEnegativedirectionDigi6++; + if(kcountHEnegativedirectionDigi6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionDigi6) delete h2CeffHEnegativedirectionDigi6; + //========================================================================================== 11110 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionDigi7=1; + TH1F* h2CeffHEnegativedirectionDigi7 = new TH1F("h2CeffHEnegativedirectionDigi7","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigi7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEnegativedirectionDigi7 = "<SetMarkerColor(2);HEnegativedirectionDigi7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionDigi7 == 1) HEnegativedirectionDigi7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionDigi7 == 2) HEnegativedirectionDigi7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionDigi7 == 3) HEnegativedirectionDigi7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionDigi7->Draw("Error"); + kcountHEnegativedirectionDigi7++; + if(kcountHEnegativedirectionDigi7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionDigi7) delete h2CeffHEnegativedirectionDigi7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_amplitudechannel2_HE1"); + TH2F *digiVariance0HE1= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE1"); + TH2F* digiVarianceHE1 = (TH2F*)digiVariance1HE1->Clone("digiVarianceHE1"); + digiVarianceHE1->Divide(digiVariance1HE1,digiVariance0HE1, 1, 1, "B"); + TH2F *digiVariance1HE2= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE2"); + TH2F *digiVariance0HE2= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE2"); + TH2F* digiVarianceHE2 = (TH2F*)digiVariance1HE2->Clone("digiVarianceHE2"); + digiVarianceHE2->Divide(digiVariance1HE2,digiVariance0HE2, 1, 1, "B"); + TH2F *digiVariance1HE3= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE3"); + TH2F *digiVariance0HE3= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE3"); + TH2F* digiVarianceHE3 = (TH2F*)digiVariance1HE3->Clone("digiVarianceHE3"); + digiVarianceHE3->Divide(digiVariance1HE3,digiVariance0HE3, 1, 1, "B"); + TH2F *digiVariance1HE4= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE4"); + TH2F *digiVariance0HE4= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE4"); + TH2F* digiVarianceHE4 = (TH2F*)digiVariance1HE4->Clone("digiVarianceHE4"); + digiVarianceHE4->Divide(digiVariance1HE4,digiVariance0HE4, 1, 1, "B"); + TH2F *digiVariance1HE5= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE5"); + TH2F *digiVariance0HE5= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE5"); + TH2F* digiVarianceHE5 = (TH2F*)digiVariance1HE5->Clone("digiVarianceHE5"); + digiVarianceHE5->Divide(digiVariance1HE5,digiVariance0HE5, 1, 1, "B"); + TH2F *digiVariance1HE6= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE6"); + TH2F *digiVariance0HE6= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE6"); + TH2F* digiVarianceHE6 = (TH2F*)digiVariance1HE6->Clone("digiVarianceHE6"); + digiVarianceHE6->Divide(digiVariance1HE6,digiVariance0HE6, 1, 1, "B"); + TH2F *digiVariance1HE7= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE7"); + TH2F *digiVariance0HE7= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE7"); + TH2F* digiVarianceHE7 = (TH2F*)digiVariance1HE7->Clone("digiVarianceHE7"); + digiVarianceHE7->Divide(digiVariance1HE7,digiVariance0HE7, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive digivariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + digivariancehe[1][jeta][jphi] = digiVarianceHE2->GetBinContent(jeta+1,jphi+1); + digivariancehe[2][jeta][jphi] = digiVarianceHE3->GetBinContent(jeta+1,jphi+1); + digivariancehe[3][jeta][jphi] = digiVarianceHE4->GetBinContent(jeta+1,jphi+1); + digivariancehe[4][jeta][jphi] = digiVarianceHE5->GetBinContent(jeta+1,jphi+1); + digivariancehe[5][jeta][jphi] = digiVarianceHE6->GetBinContent(jeta+1,jphi+1); + digivariancehe[6][jeta][jphi] = digiVarianceHE7->GetBinContent(jeta+1,jphi+1); + if(digivariancehe[0][jeta][jphi] > 0.) {sumdigiHE0 += digivariancehe[0][jeta][jphi];++nsumdigiHE0;} + if(digivariancehe[1][jeta][jphi] > 0.) {sumdigiHE1 += digivariancehe[1][jeta][jphi];++nsumdigiHE1;} + if(digivariancehe[2][jeta][jphi] > 0.) {sumdigiHE2 += digivariancehe[2][jeta][jphi];++nsumdigiHE2;} + if(digivariancehe[3][jeta][jphi] > 0.) {sumdigiHE3 += digivariancehe[3][jeta][jphi];++nsumdigiHE3;} + if(digivariancehe[4][jeta][jphi] > 0.) {sumdigiHE4 += digivariancehe[4][jeta][jphi];++nsumdigiHE4;} + if(digivariancehe[5][jeta][jphi] > 0.) {sumdigiHE5 += digivariancehe[5][jeta][jphi];++nsumdigiHE5;} + if(digivariancehe[6][jeta][jphi] > 0.) {sumdigiHE6 += digivariancehe[6][jeta][jphi];++nsumdigiHE6;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) digivariancehe[0][jeta][jphi] /= (sumdigiHE0/nsumdigiHE0) ; + if(digivariancehe[1][jeta][jphi] > 0.) digivariancehe[1][jeta][jphi] /= (sumdigiHE1/nsumdigiHE1) ; + if(digivariancehe[2][jeta][jphi] > 0.) digivariancehe[2][jeta][jphi] /= (sumdigiHE2/nsumdigiHE2) ; + if(digivariancehe[3][jeta][jphi] > 0.) digivariancehe[3][jeta][jphi] /= (sumdigiHE3/nsumdigiHE3) ; + if(digivariancehe[4][jeta][jphi] > 0.) digivariancehe[4][jeta][jphi] /= (sumdigiHE4/nsumdigiHE4) ; + if(digivariancehe[5][jeta][jphi] > 0.) digivariancehe[5][jeta][jphi] /= (sumdigiHE5/nsumdigiHE5) ; + if(digivariancehe[6][jeta][jphi] > 0.) digivariancehe[6][jeta][jphi] /= (sumdigiHE6/nsumdigiHE6) ; + }// phi + // digivariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDdigiHE42D = new TH2F("DefzDdigiHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDdigiHE42D0 = new TH2F("DefzDdigiHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDdigiHE42DF = (TH2F*)DefzDdigiHE42D0->Clone("DefzDdigiHE42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(adigihe[i][jeta][jphi]>0.) {DefzDdigiHE42D ->Fill(kkk,jphi,ccc1); DefzDdigiHE42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDdigiHE42DF->Divide(DefzDdigiHE42D,DefzDdigiHE42D0, 1, 1, "B");// average A + // DefzDdigiHE1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDdigiHE42DF->SetMarkerStyle(20); DefzDdigiHE42DF->SetMarkerSize(0.4); DefzDdigiHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDdigiHE42DF->SetXTitle("_depth #eta \b"); DefzDdigiHE42DF->SetYTitle(" #phi \b"); DefzDdigiHE42DF->SetZTitle("_depth \b"); DefzDdigiHE42DF->SetMarkerColor(2); DefzDdigiHE42DF->SetLineColor(0); // DefzDdigiHE42DF->SetMaximum(1.000); // DefzDdigiHE42DF->SetMinimum(1.0); + DefzDdigiHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DdigiGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDdigiHE42D) delete DefzDdigiHE42D; + if (DefzDdigiHE42D0) delete DefzDdigiHE42D0; + if (DefzDdigiHE42DF) delete DefzDdigiHE42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDdigiHE41D = new TH1F("DefzDdigiHE41D","", nphi, 0., 72. ); + TH1F* DefzDdigiHE41D0 = new TH1F("DefzDdigiHE41D0","",nphi, 0., 72. ); + TH1F* DefzDdigiHE41DF = (TH1F*)DefzDdigiHE41D0->Clone("DefzDdigiHE41DF"); + + for (int jphi=0;jphi0.) {DefzDdigiHE41D ->Fill(jphi,ccc1); DefzDdigiHE41D0 ->Fill(jphi,1.); } + }}} + // DefzDdigiHE41D->Sumw2();DefzDdigiHE41D0->Sumw2(); + + DefzDdigiHE41DF->Divide(DefzDdigiHE41D,DefzDdigiHE41D0, 1, 1, "B");// R averaged over depthes & eta + DefzDdigiHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDdigiHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDdigiHE41DF->SetMarkerStyle(20); DefzDdigiHE41DF->SetMarkerSize(1.4); DefzDdigiHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDdigiHE41DF->SetXTitle("#phi \b"); DefzDdigiHE41DF->SetYTitle(" \b"); DefzDdigiHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDdigiHE41DF->SetMarkerColor(4); DefzDdigiHE41DF->SetLineColor(4);// DefzDdigiHE41DF->SetMinimum(0.8); DefzDdigiHE41DF->SetMinimum(-0.015); + DefzDdigiHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DdigiGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (DefzDdigiHE41D) delete DefzDdigiHE41D; + if (DefzDdigiHE41D0) delete DefzDdigiHE41D0; + if (DefzDdigiHE41DF) delete DefzDdigiHE41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionDigiD1=1; + TH1F* h2CeffHEpositivedirectionDigiD1 = new TH1F("h2CeffHEpositivedirectionDigiD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionDigiD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigiD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEpositivedirectionDigiD1 = "<SetMarkerColor(2);HEpositivedirectionDigiD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionDigiD1 == 1) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionDigiD1 == 2) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionDigiD1 == 3) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionDigiD1 == 4) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionDigiD1 == 5) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionDigiD1 == 6) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionDigiD1 == 7) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionDigiD1 == 8) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionDigiD1 == 9) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionDigiD1 ==10) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionDigiD1 ==11) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionDigiD1 ==12) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionDigiD1->Draw("Error"); + kcountHEpositivedirectionDigiD1++; + if(kcountHEpositivedirectionDigiD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionDigiD1) delete h2CeffHEpositivedirectionDigiD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionDigiD2=1; + TH1F* h2CeffHEpositivedirectionDigiD2 = new TH1F("h2CeffHEpositivedirectionDigiD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionDigiD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigiD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEpositivedirectionDigiD2 = "<SetMarkerColor(2);HEpositivedirectionDigiD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionDigiD2 == 1) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionDigiD2 == 2) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionDigiD2 == 3) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionDigiD2 == 4) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionDigiD2 == 5) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionDigiD2 == 6) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionDigiD2 == 7) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionDigiD2 == 8) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionDigiD2 == 9) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionDigiD2 ==10) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionDigiD2 ==11) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionDigiD2 ==12) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionDigiD2 ==13) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionDigiD2->Draw("Error"); + kcountHEpositivedirectionDigiD2++; + if(kcountHEpositivedirectionDigiD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionDigiD2) delete h2CeffHEpositivedirectionDigiD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionDigiD3=1; + TH1F* h2CeffHEpositivedirectionDigiD3 = new TH1F("h2CeffHEpositivedirectionDigiD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionDigiD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigiD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEpositivedirectionDigiD3 = "<SetMarkerColor(2);HEpositivedirectionDigiD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionDigiD3 == 1) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionDigiD3 == 2) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionDigiD3 == 3) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionDigiD3 == 4) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionDigiD3 == 5) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionDigiD3 == 6) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionDigiD3 == 7) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionDigiD3 == 8) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionDigiD3 == 9) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionDigiD3 ==10) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionDigiD3 ==11) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionDigiD3 ==12) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionDigiD3 ==13) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionDigiD3->Draw("Error"); + kcountHEpositivedirectionDigiD3++; + if(kcountHEpositivedirectionDigiD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionDigiD3) delete h2CeffHEpositivedirectionDigiD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionDigiD4=1; + TH1F* h2CeffHEpositivedirectionDigiD4 = new TH1F("h2CeffHEpositivedirectionDigiD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionDigiD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigiD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEpositivedirectionDigiD4 = "<SetMarkerColor(2);HEpositivedirectionDigiD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionDigiD4 == 1) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionDigiD4 == 2) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionDigiD4 == 3) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionDigiD4 == 4) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionDigiD4 == 5) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionDigiD4 == 6) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionDigiD4 == 7) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionDigiD4 == 8) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionDigiD4 == 9) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionDigiD4 ==10) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionDigiD4 ==11) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionDigiD4 ==12) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionDigiD4->Draw("Error"); + kcountHEpositivedirectionDigiD4++; + if(kcountHEpositivedirectionDigiD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionDigiD4) delete h2CeffHEpositivedirectionDigiD4; + //========================================================================================== 18 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionDigiD5=1; + TH1F* h2CeffHEpositivedirectionDigiD5 = new TH1F("h2CeffHEpositivedirectionDigiD5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionDigiD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigiD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEpositivedirectionDigiD5 = "<SetMarkerColor(2);HEpositivedirectionDigiD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionDigiD5 == 1) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionDigiD5 == 2) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionDigiD5 == 3) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionDigiD5 == 4) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionDigiD5 == 5) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionDigiD5 == 6) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionDigiD5 == 7) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionDigiD5 == 8) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionDigiD5 == 9) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionDigiD5 ==10) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionDigiD5 ==11) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionDigiD5->Draw("Error"); + kcountHEpositivedirectionDigiD5++; + if(kcountHEpositivedirectionDigiD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionDigiD5) delete h2CeffHEpositivedirectionDigiD5; + //========================================================================================== 19 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionDigiD6=1; + TH1F* h2CeffHEpositivedirectionDigiD6 = new TH1F("h2CeffHEpositivedirectionDigiD6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionDigiD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigiD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEpositivedirectionDigiD6 = "<SetMarkerColor(2);HEpositivedirectionDigiD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionDigiD6 == 1) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionDigiD6 == 2) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionDigiD6 == 3) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionDigiD6 == 4) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionDigiD6 == 5) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionDigiD6 == 6) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionDigiD6 == 7) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionDigiD6 == 8) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionDigiD6 == 9) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionDigiD6 ==10) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionDigiD6->Draw("Error"); + kcountHEpositivedirectionDigiD6++; + if(kcountHEpositivedirectionDigiD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionDigiD6) delete h2CeffHEpositivedirectionDigiD6; + //========================================================================================== 20 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionDigiD7=1; + TH1F* h2CeffHEpositivedirectionDigiD7 = new TH1F("h2CeffHEpositivedirectionDigiD7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionDigiD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigiD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEpositivedirectionDigiD7 = "<SetMarkerColor(2);HEpositivedirectionDigiD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionDigiD7 == 1) HEpositivedirectionDigiD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionDigiD7 == 2) HEpositivedirectionDigiD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionDigiD7 == 3) HEpositivedirectionDigiD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionDigiD7->Draw("Error"); + kcountHEpositivedirectionDigiD7++; + if(kcountHEpositivedirectionDigiD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionDigiD7) delete h2CeffHEpositivedirectionDigiD7; + + + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionDigiD1=1; + TH1F* h2CeffHEnegativedirectionDigiD1 = new TH1F("h2CeffHEnegativedirectionDigiD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionDigiD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigiD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEnegativedirectionDigiD1 = "<SetMarkerColor(2);HEnegativedirectionDigiD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionDigiD1 == 1) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionDigiD1 == 2) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionDigiD1 == 3) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionDigiD1 == 4) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionDigiD1 == 5) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionDigiD1 == 6) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionDigiD1 == 7) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionDigiD1 == 8) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionDigiD1 == 9) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionDigiD1 ==10) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionDigiD1 ==11) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionDigiD1 ==12) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionDigiD1->Draw("Error"); + kcountHEnegativedirectionDigiD1++; + if(kcountHEnegativedirectionDigiD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionDigiD1) delete h2CeffHEnegativedirectionDigiD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionDigiD2=1; + TH1F* h2CeffHEnegativedirectionDigiD2 = new TH1F("h2CeffHEnegativedirectionDigiD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionDigiD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigiD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEnegativedirectionDigiD2 = "<SetMarkerColor(2);HEnegativedirectionDigiD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionDigiD2 == 1) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionDigiD2 == 2) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionDigiD2 == 3) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionDigiD2 == 4) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionDigiD2 == 5) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionDigiD2 == 6) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionDigiD2 == 7) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionDigiD2 == 8) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionDigiD2 == 9) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionDigiD2 ==10) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionDigiD2 ==11) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionDigiD2 ==12) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionDigiD2 ==13) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionDigiD2->Draw("Error"); + kcountHEnegativedirectionDigiD2++; + if(kcountHEnegativedirectionDigiD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionDigiD2) delete h2CeffHEnegativedirectionDigiD2; + //========================================================================================== 22222216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionDigiD3=1; + TH1F* h2CeffHEnegativedirectionDigiD3 = new TH1F("h2CeffHEnegativedirectionDigiD3","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionDigiD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigiD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEnegativedirectionDigiD3 = "<SetMarkerColor(2);HEnegativedirectionDigiD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionDigiD3 == 1) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionDigiD3 == 2) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionDigiD3 == 3) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionDigiD3 == 4) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionDigiD3 == 5) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionDigiD3 == 6) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionDigiD3 == 7) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionDigiD3 == 8) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionDigiD3 == 9) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionDigiD3 ==10) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionDigiD3 ==11) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionDigiD3 ==12) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionDigiD3 ==13) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionDigiD3->Draw("Error"); + kcountHEnegativedirectionDigiD3++; + if(kcountHEnegativedirectionDigiD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionDigiD3) delete h2CeffHEnegativedirectionDigiD3; + //========================================================================================== 22222217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionDigiD4=1; + TH1F* h2CeffHEnegativedirectionDigiD4 = new TH1F("h2CeffHEnegativedirectionDigiD4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionDigiD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigiD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEnegativedirectionDigiD4 = "<SetMarkerColor(2);HEnegativedirectionDigiD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionDigiD4 == 1) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionDigiD4 == 2) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionDigiD4 == 3) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionDigiD4 == 4) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionDigiD4 == 5) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionDigiD4 == 6) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionDigiD4 == 7) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionDigiD4 == 8) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionDigiD4 == 9) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionDigiD4 ==10) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionDigiD4 ==11) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionDigiD4 ==12) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionDigiD4->Draw("Error"); + kcountHEnegativedirectionDigiD4++; + if(kcountHEnegativedirectionDigiD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionDigiD4) delete h2CeffHEnegativedirectionDigiD4; + //========================================================================================== 22222218 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionDigiD5=1; + TH1F* h2CeffHEnegativedirectionDigiD5 = new TH1F("h2CeffHEnegativedirectionDigiD5","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionDigiD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigiD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEnegativedirectionDigiD5 = "<SetMarkerColor(2);HEnegativedirectionDigiD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionDigiD5 == 1) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionDigiD5 == 2) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionDigiD5 == 3) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionDigiD5 == 4) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionDigiD5 == 5) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionDigiD5 == 6) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionDigiD5 == 7) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionDigiD5 == 8) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionDigiD5 == 9) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionDigiD5 ==10) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionDigiD5 ==11) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionDigiD5->Draw("Error"); + kcountHEnegativedirectionDigiD5++; + if(kcountHEnegativedirectionDigiD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionDigiD5) delete h2CeffHEnegativedirectionDigiD5; + //========================================================================================== 22222219 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionDigiD6=1; + TH1F* h2CeffHEnegativedirectionDigiD6 = new TH1F("h2CeffHEnegativedirectionDigiD6","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionDigiD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigiD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEnegativedirectionDigiD6 = "<SetMarkerColor(2);HEnegativedirectionDigiD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionDigiD6 == 1) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionDigiD6 == 2) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionDigiD6 == 3) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionDigiD6 == 4) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionDigiD6 == 5) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionDigiD6 == 6) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionDigiD6 == 7) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionDigiD6 == 8) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionDigiD6 == 9) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionDigiD6 ==10) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionDigiD6->Draw("Error"); + kcountHEnegativedirectionDigiD6++; + if(kcountHEnegativedirectionDigiD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionDigiD6) delete h2CeffHEnegativedirectionDigiD6; + //========================================================================================== 22222220 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionDigiD7=1; + TH1F* h2CeffHEnegativedirectionDigiD7 = new TH1F("h2CeffHEnegativedirectionDigiD7","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionDigiD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigiD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEnegativedirectionDigiD7 = "<SetMarkerColor(2);HEnegativedirectionDigiD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionDigiD7 == 1) HEnegativedirectionDigiD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionDigiD7 == 2) HEnegativedirectionDigiD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionDigiD7 == 3) HEnegativedirectionDigiD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionDigiD7->Draw("Error"); + kcountHEnegativedirectionDigiD7++; + if(kcountHEnegativedirectionDigiD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionDigiD7) delete h2CeffHEnegativedirectionDigiD7; + //===================================================================== END of Digi HE for phi-symmetry + //===================================================================== END of Digi HE for phi-symmetry + //===================================================================== END of Digi HE for phi-symmetry + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Digi HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Digi HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Digi HF + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double adigiHF[ndepth][njeta][njphi]; + double digivarianceHF[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Digi HF + TH2F *amplitudechannel1HF1= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HF1"); + TH2F *amplitudechannel0HF1= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF1"); + TH2F* amplitudechannelHF1 = (TH2F*)amplitudechannel1HF1->Clone("amplitudechannelHF1"); + amplitudechannelHF1->Divide(amplitudechannel1HF1,amplitudechannel0HF1, 1, 1, "B"); + TH2F *amplitudechannel1HF2= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HF2"); + TH2F *amplitudechannel0HF2= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF2"); + TH2F* amplitudechannelHF2 = (TH2F*)amplitudechannel1HF2->Clone("amplitudechannelHF2"); + amplitudechannelHF2->Divide(amplitudechannel1HF2,amplitudechannel0HF2, 1, 1, "B"); + TH2F *amplitudechannel1HF3= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HF3"); + TH2F *amplitudechannel0HF3= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF3"); + TH2F* amplitudechannelHF3 = (TH2F*)amplitudechannel1HF3->Clone("amplitudechannelHF3"); + amplitudechannelHF3->Divide(amplitudechannel1HF3,amplitudechannel0HF3, 1, 1, "B"); + TH2F *amplitudechannel1HF4= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HF4"); + TH2F *amplitudechannel0HF4= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF4"); + TH2F* amplitudechannelHF4 = (TH2F*)amplitudechannel1HF4->Clone("amplitudechannelHF4"); + amplitudechannelHF4->Divide(amplitudechannel1HF4,amplitudechannel0HF4, 1, 1, "B"); + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + adigiHF[1][jeta][jphi] = amplitudechannelHF2->GetBinContent(jeta+1,jphi+1); + adigiHF[2][jeta][jphi] = amplitudechannelHF3->GetBinContent(jeta+1,jphi+1); + adigiHF[3][jeta][jphi] = amplitudechannelHF4->GetBinContent(jeta+1,jphi+1); + if(adigiHF[0][jeta][jphi] > 0.) {sumdigiHF0 += adigiHF[0][jeta][jphi];++nsumdigiHF0;} + if(adigiHF[1][jeta][jphi] > 0.) {sumdigiHF1 += adigiHF[1][jeta][jphi];++nsumdigiHF1;} + if(adigiHF[2][jeta][jphi] > 0.) {sumdigiHF2 += adigiHF[2][jeta][jphi];++nsumdigiHF2;} + if(adigiHF[3][jeta][jphi] > 0.) {sumdigiHF3 += adigiHF[3][jeta][jphi];++nsumdigiHF3;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) adigiHF[0][jeta][jphi] /= (sumdigiHF0/nsumdigiHF0) ; + if(adigiHF[1][jeta][jphi] > 0.) adigiHF[1][jeta][jphi] /= (sumdigiHF1/nsumdigiHF1) ; + if(adigiHF[2][jeta][jphi] > 0.) adigiHF[2][jeta][jphi] /= (sumdigiHF2/nsumdigiHF2) ; + if(adigiHF[3][jeta][jphi] > 0.) adigiHF[3][jeta][jphi] /= (sumdigiHF3/nsumdigiHF3) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthfs + //====================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* GefzRdigiHF42D = new TH2F("GefzRdigiHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRdigiHF42D0 = new TH2F("GefzRdigiHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRdigiHF42DF = (TH2F*)GefzRdigiHF42D0->Clone("GefzRdigiHF42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRdigiHF42D ->Fill(kkk,jphi,ccc1); GefzRdigiHF42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRdigiHF42DF->Divide(GefzRdigiHF42D,GefzRdigiHF42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRdigiHF42DF->SetMarkerStyle(20); GefzRdigiHF42DF->SetMarkerSize(0.4); GefzRdigiHF42DF->GetZaxis()->SetLabelSize(0.08); GefzRdigiHF42DF->SetXTitle("_depth #eta \b"); GefzRdigiHF42DF->SetYTitle(" #phi \b"); GefzRdigiHF42DF->SetZTitle("_depth \b"); GefzRdigiHF42DF->SetMarkerColor(2); GefzRdigiHF42DF->SetLineColor(0); // GefzRdigiHF42DF->SetMaximum(1.000); // GefzRdigiHF42DF->SetMinimum(1.0); + GefzRdigiHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("RdigiGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (GefzRdigiHF42D) delete GefzRdigiHF42D; + if (GefzRdigiHF42D0) delete GefzRdigiHF42D0; + if (GefzRdigiHF42DF) delete GefzRdigiHF42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRdigiHF41D = new TH1F("GefzRdigiHF41D","", nphi, 0., 72. ); + TH1F* GefzRdigiHF41D0 = new TH1F("GefzRdigiHF41D0","",nphi, 0., 72. ); + TH1F* GefzRdigiHF41DF = (TH1F*)GefzRdigiHF41D0->Clone("GefzRdigiHF41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRdigiHF41D0 ->Fill(jphi,1.); } + }}} + GefzRdigiHF41DF->Divide(GefzRdigiHF41D,GefzRdigiHF41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRdigiHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRdigiHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRdigiHF41DF->SetMarkerStyle(20); GefzRdigiHF41DF->SetMarkerSize(1.4); GefzRdigiHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRdigiHF41DF->SetXTitle("#phi \b"); GefzRdigiHF41DF->SetYTitle(" \b"); GefzRdigiHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRdigiHF41DF->SetMarkerColor(4); GefzRdigiHF41DF->SetLineColor(4); // GefzRdigiHF41DF->SetMinimum(0.8); // GefzRdigiHF41DF->SetMaximum(1.000); + GefzRdigiHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RdigiGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (GefzRdigiHF41D) delete GefzRdigiHF41D; + if (GefzRdigiHF41D0) delete GefzRdigiHF41D0; + if (GefzRdigiHF41DF) delete GefzRdigiHF41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionDigi1=1; + TH1F* h2CeffHFpositivedirectionDigi1 = new TH1F("h2CeffHFpositivedirectionDigi1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigi1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFpositivedirectionDigi1 = "<SetMarkerColor(2);HFpositivedirectionDigi1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionDigi1 == 1) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionDigi1 == 2) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionDigi1 == 3) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionDigi1 == 4) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionDigi1 == 5) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionDigi1 == 6) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionDigi1 == 7) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionDigi1 == 8) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionDigi1 == 9) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionDigi1 ==10) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionDigi1 ==11) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionDigi1 ==12) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionDigi1 ==13) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionDigi1->Draw("Error"); + kcountHFpositivedirectionDigi1++; + if(kcountHFpositivedirectionDigi1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionDigi1) delete h2CeffHFpositivedirectionDigi1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionDigi2=1; + TH1F* h2CeffHFpositivedirectionDigi2 = new TH1F("h2CeffHFpositivedirectionDigi2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigi2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFpositivedirectionDigi2 = "<SetMarkerColor(2);HFpositivedirectionDigi2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionDigi2 == 1) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionDigi2 == 2) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionDigi2 == 3) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionDigi2 == 4) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionDigi2 == 5) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionDigi2 == 6) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionDigi2 == 7) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionDigi2 == 8) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionDigi2 == 9) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionDigi2 ==10) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionDigi2 ==11) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionDigi2 ==12) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionDigi2 ==13) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionDigi2->Draw("Error"); + kcountHFpositivedirectionDigi2++; + if(kcountHFpositivedirectionDigi2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionDigi2) delete h2CeffHFpositivedirectionDigi2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionDigi3=1; + TH1F* h2CeffHFpositivedirectionDigi3 = new TH1F("h2CeffHFpositivedirectionDigi3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigi3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHFpositivedirectionDigi3 = "<SetMarkerColor(2);HFpositivedirectionDigi3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionDigi3 == 1) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 28; depth = 3 \b"); + if(kcountHFpositivedirectionDigi3 == 2) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 29; depth = 3 \b"); + if(kcountHFpositivedirectionDigi3 == 3) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 30; depth = 3 \b"); + if(kcountHFpositivedirectionDigi3 == 4) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 31; depth = 3 \b"); + if(kcountHFpositivedirectionDigi3 == 5) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 32; depth = 3 \b"); + if(kcountHFpositivedirectionDigi3 == 6) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 33; depth = 3 \b"); + if(kcountHFpositivedirectionDigi3 == 7) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 34; depth = 3 \b"); + if(kcountHFpositivedirectionDigi3 == 8) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 35; depth = 3 \b"); + if(kcountHFpositivedirectionDigi3 == 9) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 36; depth = 3 \b"); + if(kcountHFpositivedirectionDigi3 ==10) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 37; depth = 3 \b"); + if(kcountHFpositivedirectionDigi3 ==11) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 38; depth = 3 \b"); + if(kcountHFpositivedirectionDigi3 ==12) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 39; depth = 3 \b"); + if(kcountHFpositivedirectionDigi3 ==13) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 40; depth = 3 \b"); + HFpositivedirectionDigi3->Draw("Error"); + kcountHFpositivedirectionDigi3++; + if(kcountHFpositivedirectionDigi3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth3HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionDigi3) delete h2CeffHFpositivedirectionDigi3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionDigi4=1; + TH1F* h2CeffHFpositivedirectionDigi4 = new TH1F("h2CeffHFpositivedirectionDigi4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigi4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHFpositivedirectionDigi4 = "<SetMarkerColor(2);HFpositivedirectionDigi4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionDigi4 == 1) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 28; depth = 4 \b"); + if(kcountHFpositivedirectionDigi4 == 2) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 29; depth = 4 \b"); + if(kcountHFpositivedirectionDigi4 == 3) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 30; depth = 4 \b"); + if(kcountHFpositivedirectionDigi4 == 4) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 31; depth = 4 \b"); + if(kcountHFpositivedirectionDigi4 == 5) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 32; depth = 4 \b"); + if(kcountHFpositivedirectionDigi4 == 6) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 33; depth = 4 \b"); + if(kcountHFpositivedirectionDigi4 == 7) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 34; depth = 4 \b"); + if(kcountHFpositivedirectionDigi4 == 8) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 35; depth = 4 \b"); + if(kcountHFpositivedirectionDigi4 == 9) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 36; depth = 4 \b"); + if(kcountHFpositivedirectionDigi4 ==10) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 37; depth = 4 \b"); + if(kcountHFpositivedirectionDigi4 ==11) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 38; depth = 4 \b"); + if(kcountHFpositivedirectionDigi4 ==12) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 39; depth = 4 \b"); + if(kcountHFpositivedirectionDigi4 ==13) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 40; depth = 4 \b"); + HFpositivedirectionDigi4->Draw("Error"); + kcountHFpositivedirectionDigi4++; + if(kcountHFpositivedirectionDigi4>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth4HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionDigi4) delete h2CeffHFpositivedirectionDigi4; + + //========================================================================================== 1111114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionDigi1=1; + TH1F* h2CeffHFnegativedirectionDigi1 = new TH1F("h2CeffHFnegativedirectionDigi1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigi1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFnegativedirectionDigi1 = "<SetMarkerColor(2);HFnegativedirectionDigi1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionDigi1 == 1) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionDigi1 == 2) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionDigi1 == 3) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionDigi1 == 4) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionDigi1 == 5) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionDigi1 == 6) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionDigi1 == 7) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionDigi1 == 8) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionDigi1 == 9) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionDigi1 ==10) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionDigi1 ==11) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionDigi1 ==12) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionDigi1 ==13) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionDigi1->Draw("Error"); + kcountHFnegativedirectionDigi1++; + if(kcountHFnegativedirectionDigi1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionDigi1) delete h2CeffHFnegativedirectionDigi1; + + + //========================================================================================== 1111115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionDigi2=1; + TH1F* h2CeffHFnegativedirectionDigi2 = new TH1F("h2CeffHFnegativedirectionDigi2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigi2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFnegativedirectionDigi2 = "<SetMarkerColor(2);HFnegativedirectionDigi2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionDigi2 == 1) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionDigi2 == 2) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionDigi2 == 3) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionDigi2 == 4) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionDigi2 == 5) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionDigi2 == 6) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionDigi2 == 7) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionDigi2 == 8) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionDigi2 == 9) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionDigi2 ==10) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionDigi2 ==11) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionDigi2 ==12) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionDigi2 ==13) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionDigi2->Draw("Error"); + kcountHFnegativedirectionDigi2++; + if(kcountHFnegativedirectionDigi2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionDigi2) delete h2CeffHFnegativedirectionDigi2; + //========================================================================================== 1111116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionDigi3=1; + TH1F* h2CeffHFnegativedirectionDigi3 = new TH1F("h2CeffHFnegativedirectionDigi3","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigi3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHFnegativedirectionDigi3 = "<SetMarkerColor(2);HFnegativedirectionDigi3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionDigi3 == 1) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-41; depth = 3 \b"); + if(kcountHFnegativedirectionDigi3 == 2) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-40; depth = 3 \b"); + if(kcountHFnegativedirectionDigi3 == 3) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-39; depth = 3 \b"); + if(kcountHFnegativedirectionDigi3 == 4) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-38; depth = 3 \b"); + if(kcountHFnegativedirectionDigi3 == 5) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-37; depth = 3 \b"); + if(kcountHFnegativedirectionDigi3 == 6) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-36; depth = 3 \b"); + if(kcountHFnegativedirectionDigi3 == 7) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-35; depth = 3 \b"); + if(kcountHFnegativedirectionDigi3 == 8) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-34; depth = 3 \b"); + if(kcountHFnegativedirectionDigi3 == 9) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-33; depth = 3 \b"); + if(kcountHFnegativedirectionDigi3 ==10) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-32; depth = 3 \b"); + if(kcountHFnegativedirectionDigi3 ==11) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-31; depth = 3 \b"); + if(kcountHFnegativedirectionDigi3 ==12) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-30; depth = 3 \b"); + if(kcountHFnegativedirectionDigi3 ==13) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-29; depth = 3 \b"); + HFnegativedirectionDigi3->Draw("Error"); + kcountHFnegativedirectionDigi3++; + if(kcountHFnegativedirectionDigi3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth3HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionDigi3) delete h2CeffHFnegativedirectionDigi3; + //========================================================================================== 1111117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionDigi4=1; + TH1F* h2CeffHFnegativedirectionDigi4 = new TH1F("h2CeffHFnegativedirectionDigi4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigi4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHFnegativedirectionDigi4 = "<SetMarkerColor(2);HFnegativedirectionDigi4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionDigi4 == 1) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-41; depth = 4 \b"); + if(kcountHFnegativedirectionDigi4 == 2) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-40; depth = 4 \b"); + if(kcountHFnegativedirectionDigi4 == 3) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-39; depth = 4 \b"); + if(kcountHFnegativedirectionDigi4 == 4) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-38; depth = 4 \b"); + if(kcountHFnegativedirectionDigi4 == 5) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-37; depth = 4 \b"); + if(kcountHFnegativedirectionDigi4 == 6) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-36; depth = 4 \b"); + if(kcountHFnegativedirectionDigi4 == 7) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-35; depth = 4 \b"); + if(kcountHFnegativedirectionDigi4 == 8) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-34; depth = 4 \b"); + if(kcountHFnegativedirectionDigi4 == 9) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-33; depth = 4 \b"); + if(kcountHFnegativedirectionDigi4 ==10) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-32; depth = 4 \b"); + if(kcountHFnegativedirectionDigi4 ==11) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-31; depth = 4 \b"); + if(kcountHFnegativedirectionDigi4 ==12) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-30; depth = 4 \b"); + if(kcountHFnegativedirectionDigi4 ==13) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-29; depth = 4 \b"); + HFnegativedirectionDigi4->Draw("Error"); + kcountHFnegativedirectionDigi4++; + if(kcountHFnegativedirectionDigi4>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth4HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionDigi4) delete h2CeffHFnegativedirectionDigi4; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_amplitudechannel2_HF1"); + TH2F *digiVariance0HF1= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF1"); + TH2F* digiVarianceHF1 = (TH2F*)digiVariance1HF1->Clone("digiVarianceHF1"); + digiVarianceHF1->Divide(digiVariance1HF1,digiVariance0HF1, 1, 1, "B"); + TH2F *digiVariance1HF2= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HF2"); + TH2F *digiVariance0HF2= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF2"); + TH2F* digiVarianceHF2 = (TH2F*)digiVariance1HF2->Clone("digiVarianceHF2"); + digiVarianceHF2->Divide(digiVariance1HF2,digiVariance0HF2, 1, 1, "B"); + TH2F *digiVariance1HF3= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HF3"); + TH2F *digiVariance0HF3= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF3"); + TH2F* digiVarianceHF3 = (TH2F*)digiVariance1HF3->Clone("digiVarianceHF3"); + digiVarianceHF3->Divide(digiVariance1HF3,digiVariance0HF3, 1, 1, "B"); + TH2F *digiVariance1HF4= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HF4"); + TH2F *digiVariance0HF4= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF4"); + TH2F* digiVarianceHF4 = (TH2F*)digiVariance1HF4->Clone("digiVarianceHF4"); + digiVarianceHF4->Divide(digiVariance1HF4,digiVariance0HF4, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive digivarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + digivarianceHF[1][jeta][jphi] = digiVarianceHF2->GetBinContent(jeta+1,jphi+1); + digivarianceHF[2][jeta][jphi] = digiVarianceHF3->GetBinContent(jeta+1,jphi+1); + digivarianceHF[3][jeta][jphi] = digiVarianceHF4->GetBinContent(jeta+1,jphi+1); + if(digivarianceHF[0][jeta][jphi] > 0.) {sumdigiHF0 += digivarianceHF[0][jeta][jphi];++nsumdigiHF0;} + if(digivarianceHF[1][jeta][jphi] > 0.) {sumdigiHF1 += digivarianceHF[1][jeta][jphi];++nsumdigiHF1;} + if(digivarianceHF[2][jeta][jphi] > 0.) {sumdigiHF2 += digivarianceHF[2][jeta][jphi];++nsumdigiHF2;} + if(digivarianceHF[3][jeta][jphi] > 0.) {sumdigiHF3 += digivarianceHF[3][jeta][jphi];++nsumdigiHF3;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) digivarianceHF[0][jeta][jphi] /= (sumdigiHF0/nsumdigiHF0) ; + if(digivarianceHF[1][jeta][jphi] > 0.) digivarianceHF[1][jeta][jphi] /= (sumdigiHF1/nsumdigiHF1) ; + if(digivarianceHF[2][jeta][jphi] > 0.) digivarianceHF[2][jeta][jphi] /= (sumdigiHF2/nsumdigiHF2) ; + if(digivarianceHF[3][jeta][jphi] > 0.) digivarianceHF[3][jeta][jphi] /= (sumdigiHF3/nsumdigiHF3) ; + }// phi + // digivarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDdigiHF42D = new TH2F("DefzDdigiHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDdigiHF42D0 = new TH2F("DefzDdigiHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDdigiHF42DF = (TH2F*)DefzDdigiHF42D0->Clone("DefzDdigiHF42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(adigiHF[i][jeta][jphi]>0.) {DefzDdigiHF42D ->Fill(kkk,jphi,ccc1); DefzDdigiHF42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDdigiHF42DF->Divide(DefzDdigiHF42D,DefzDdigiHF42D0, 1, 1, "B");// average A + // DefzDdigiHF1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDdigiHF42DF->SetMarkerStyle(20); DefzDdigiHF42DF->SetMarkerSize(0.4); DefzDdigiHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDdigiHF42DF->SetXTitle("_depth #eta \b"); DefzDdigiHF42DF->SetYTitle(" #phi \b"); DefzDdigiHF42DF->SetZTitle("_depth \b"); DefzDdigiHF42DF->SetMarkerColor(2); DefzDdigiHF42DF->SetLineColor(0); // DefzDdigiHF42DF->SetMaximum(1.000); // DefzDdigiHF42DF->SetMinimum(1.0); + DefzDdigiHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DdigiGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDdigiHF42D) delete DefzDdigiHF42D; + if (DefzDdigiHF42D0) delete DefzDdigiHF42D0; + if (DefzDdigiHF42DF) delete DefzDdigiHF42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDdigiHF41D = new TH1F("DefzDdigiHF41D","", nphi, 0., 72. ); + TH1F* DefzDdigiHF41D0 = new TH1F("DefzDdigiHF41D0","",nphi, 0., 72. ); + TH1F* DefzDdigiHF41DF = (TH1F*)DefzDdigiHF41D0->Clone("DefzDdigiHF41DF"); + + for (int jphi=0;jphi0.) {DefzDdigiHF41D ->Fill(jphi,ccc1); DefzDdigiHF41D0 ->Fill(jphi,1.); } + }}} + // DefzDdigiHF41D->Sumw2();DefzDdigiHF41D0->Sumw2(); + + DefzDdigiHF41DF->Divide(DefzDdigiHF41D,DefzDdigiHF41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDdigiHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDdigiHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDdigiHF41DF->SetMarkerStyle(20); DefzDdigiHF41DF->SetMarkerSize(1.4); DefzDdigiHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDdigiHF41DF->SetXTitle("#phi \b"); DefzDdigiHF41DF->SetYTitle(" \b"); DefzDdigiHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDdigiHF41DF->SetMarkerColor(4); DefzDdigiHF41DF->SetLineColor(4);// DefzDdigiHF41DF->SetMinimum(0.8); DefzDdigiHF41DF->SetMinimum(-0.015); + DefzDdigiHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DdigiGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (DefzDdigiHF41D) delete DefzDdigiHF41D; + if (DefzDdigiHF41D0) delete DefzDdigiHF41D0; + if (DefzDdigiHF41DF) delete DefzDdigiHF41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionDigiD1=1; + TH1F* h2CeffHFpositivedirectionDigiD1 = new TH1F("h2CeffHFpositivedirectionDigiD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionDigiD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigiD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFpositivedirectionDigiD1 = "<SetMarkerColor(2);HFpositivedirectionDigiD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionDigiD1 == 1) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionDigiD1 == 2) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionDigiD1 == 3) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionDigiD1 == 4) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionDigiD1 == 5) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionDigiD1 == 6) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionDigiD1 == 7) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionDigiD1 == 8) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionDigiD1 == 9) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionDigiD1 ==10) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionDigiD1 ==11) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionDigiD1 ==12) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionDigiD1 ==13) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionDigiD1->Draw("Error"); + kcountHFpositivedirectionDigiD1++; + if(kcountHFpositivedirectionDigiD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionDigiD1) delete h2CeffHFpositivedirectionDigiD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionDigiD2=1; + TH1F* h2CeffHFpositivedirectionDigiD2 = new TH1F("h2CeffHFpositivedirectionDigiD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionDigiD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigiD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFpositivedirectionDigiD2 = "<SetMarkerColor(2);HFpositivedirectionDigiD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionDigiD2 == 1) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionDigiD2 == 2) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionDigiD2 == 3) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionDigiD2 == 4) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionDigiD2 == 5) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionDigiD2 == 6) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionDigiD2 == 7) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionDigiD2 == 8) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionDigiD2 == 9) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionDigiD2 ==10) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionDigiD2 ==11) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionDigiD2 ==12) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionDigiD2 ==13) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionDigiD2->Draw("Error"); + kcountHFpositivedirectionDigiD2++; + if(kcountHFpositivedirectionDigiD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionDigiD2) delete h2CeffHFpositivedirectionDigiD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionDigiD3=1; + TH1F* h2CeffHFpositivedirectionDigiD3 = new TH1F("h2CeffHFpositivedirectionDigiD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionDigiD3 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigiD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHFpositivedirectionDigiD3 = "<SetMarkerColor(2);HFpositivedirectionDigiD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionDigiD3 == 1) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 28; depth = 3 \b"); + if(kcountHFpositivedirectionDigiD3 == 2) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 29; depth = 3 \b"); + if(kcountHFpositivedirectionDigiD3 == 3) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 30; depth = 3 \b"); + if(kcountHFpositivedirectionDigiD3 == 4) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 31; depth = 3 \b"); + if(kcountHFpositivedirectionDigiD3 == 5) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 32; depth = 3 \b"); + if(kcountHFpositivedirectionDigiD3 == 6) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 33; depth = 3 \b"); + if(kcountHFpositivedirectionDigiD3 == 7) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 34; depth = 3 \b"); + if(kcountHFpositivedirectionDigiD3 == 8) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 35; depth = 3 \b"); + if(kcountHFpositivedirectionDigiD3 == 9) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 36; depth = 3 \b"); + if(kcountHFpositivedirectionDigiD3 ==10) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 37; depth = 3 \b"); + if(kcountHFpositivedirectionDigiD3 ==11) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 38; depth = 3 \b"); + if(kcountHFpositivedirectionDigiD3 ==12) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 39; depth = 3 \b"); + if(kcountHFpositivedirectionDigiD3 ==13) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 40; depth = 3 \b"); + HFpositivedirectionDigiD3->Draw("Error"); + kcountHFpositivedirectionDigiD3++; + if(kcountHFpositivedirectionDigiD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth3HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionDigiD3) delete h2CeffHFpositivedirectionDigiD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionDigiD4=1; + TH1F* h2CeffHFpositivedirectionDigiD4 = new TH1F("h2CeffHFpositivedirectionDigiD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionDigiD4 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigiD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHFpositivedirectionDigiD4 = "<SetMarkerColor(2);HFpositivedirectionDigiD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionDigiD4 == 1) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 28; depth = 4 \b"); + if(kcountHFpositivedirectionDigiD4 == 2) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 29; depth = 4 \b"); + if(kcountHFpositivedirectionDigiD4 == 3) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 30; depth = 4 \b"); + if(kcountHFpositivedirectionDigiD4 == 4) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 31; depth = 4 \b"); + if(kcountHFpositivedirectionDigiD4 == 5) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 32; depth = 4 \b"); + if(kcountHFpositivedirectionDigiD4 == 6) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 33; depth = 4 \b"); + if(kcountHFpositivedirectionDigiD4 == 7) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 34; depth = 4 \b"); + if(kcountHFpositivedirectionDigiD4 == 8) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 35; depth = 4 \b"); + if(kcountHFpositivedirectionDigiD4 == 9) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 36; depth = 4 \b"); + if(kcountHFpositivedirectionDigiD4 ==10) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 37; depth = 4 \b"); + if(kcountHFpositivedirectionDigiD4 ==11) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 38; depth = 4 \b"); + if(kcountHFpositivedirectionDigiD4 ==12) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 39; depth = 4 \b"); + if(kcountHFpositivedirectionDigiD4 ==13) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 40; depth = 4 \b"); + HFpositivedirectionDigiD4->Draw("Error"); + kcountHFpositivedirectionDigiD4++; + if(kcountHFpositivedirectionDigiD4>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth4HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionDigiD4) delete h2CeffHFpositivedirectionDigiD4; + + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionDigiD1=1; + TH1F* h2CeffHFnegativedirectionDigiD1 = new TH1F("h2CeffHFnegativedirectionDigiD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionDigiD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigiD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFnegativedirectionDigiD1 = "<SetMarkerColor(2);HFnegativedirectionDigiD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionDigiD1 == 1) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionDigiD1 == 2) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionDigiD1 == 3) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionDigiD1 == 4) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionDigiD1 == 5) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionDigiD1 == 6) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionDigiD1 == 7) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionDigiD1 == 8) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionDigiD1 == 9) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionDigiD1 ==10) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionDigiD1 ==11) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionDigiD1 ==12) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionDigiD1 ==13) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionDigiD1->Draw("Error"); + kcountHFnegativedirectionDigiD1++; + if(kcountHFnegativedirectionDigiD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionDigiD1) delete h2CeffHFnegativedirectionDigiD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionDigiD2=1; + TH1F* h2CeffHFnegativedirectionDigiD2 = new TH1F("h2CeffHFnegativedirectionDigiD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionDigiD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigiD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFnegativedirectionDigiD2 = "<SetMarkerColor(2);HFnegativedirectionDigiD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionDigiD2 == 1) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionDigiD2 == 2) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionDigiD2 == 3) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionDigiD2 == 4) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionDigiD2 == 5) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionDigiD2 == 6) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionDigiD2 == 7) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionDigiD2 == 8) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionDigiD2 == 9) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionDigiD2 ==10) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionDigiD2 ==11) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionDigiD2 ==12) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionDigiD2 ==13) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionDigiD2->Draw("Error"); + kcountHFnegativedirectionDigiD2++; + if(kcountHFnegativedirectionDigiD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionDigiD2) delete h2CeffHFnegativedirectionDigiD2; + //========================================================================================== 22222216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionDigiD3=1; + TH1F* h2CeffHFnegativedirectionDigiD3 = new TH1F("h2CeffHFnegativedirectionDigiD3","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionDigiD3 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigiD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHFnegativedirectionDigiD3 = "<SetMarkerColor(2);HFnegativedirectionDigiD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionDigiD3 == 1) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-41; depth = 3 \b"); + if(kcountHFnegativedirectionDigiD3 == 2) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-40; depth = 3 \b"); + if(kcountHFnegativedirectionDigiD3 == 3) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-39; depth = 3 \b"); + if(kcountHFnegativedirectionDigiD3 == 4) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-38; depth = 3 \b"); + if(kcountHFnegativedirectionDigiD3 == 5) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-37; depth = 3 \b"); + if(kcountHFnegativedirectionDigiD3 == 6) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-36; depth = 3 \b"); + if(kcountHFnegativedirectionDigiD3 == 7) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-35; depth = 3 \b"); + if(kcountHFnegativedirectionDigiD3 == 8) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-34; depth = 3 \b"); + if(kcountHFnegativedirectionDigiD3 == 9) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-33; depth = 3 \b"); + if(kcountHFnegativedirectionDigiD3 ==10) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-32; depth = 3 \b"); + if(kcountHFnegativedirectionDigiD3 ==11) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-31; depth = 3 \b"); + if(kcountHFnegativedirectionDigiD3 ==12) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-30; depth = 3 \b"); + if(kcountHFnegativedirectionDigiD3 ==13) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-29; depth = 3 \b"); + HFnegativedirectionDigiD3->Draw("Error"); + kcountHFnegativedirectionDigiD3++; + if(kcountHFnegativedirectionDigiD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth3HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionDigiD3) delete h2CeffHFnegativedirectionDigiD3; + //========================================================================================== 22222217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionDigiD4=1; + TH1F* h2CeffHFnegativedirectionDigiD4 = new TH1F("h2CeffHFnegativedirectionDigiD4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionDigiD4 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigiD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHFnegativedirectionDigiD4 = "<SetMarkerColor(2);HFnegativedirectionDigiD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionDigiD4 == 1) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-41; depth = 4 \b"); + if(kcountHFnegativedirectionDigiD4 == 2) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-40; depth = 4 \b"); + if(kcountHFnegativedirectionDigiD4 == 3) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-39; depth = 4 \b"); + if(kcountHFnegativedirectionDigiD4 == 4) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-38; depth = 4 \b"); + if(kcountHFnegativedirectionDigiD4 == 5) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-37; depth = 4 \b"); + if(kcountHFnegativedirectionDigiD4 == 6) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-36; depth = 4 \b"); + if(kcountHFnegativedirectionDigiD4 == 7) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-35; depth = 4 \b"); + if(kcountHFnegativedirectionDigiD4 == 8) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-34; depth = 4 \b"); + if(kcountHFnegativedirectionDigiD4 == 9) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-33; depth = 4 \b"); + if(kcountHFnegativedirectionDigiD4 ==10) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-32; depth = 4 \b"); + if(kcountHFnegativedirectionDigiD4 ==11) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-31; depth = 4 \b"); + if(kcountHFnegativedirectionDigiD4 ==12) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-30; depth = 4 \b"); + if(kcountHFnegativedirectionDigiD4 ==13) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-29; depth = 4 \b"); + HFnegativedirectionDigiD4->Draw("Error"); + kcountHFnegativedirectionDigiD4++; + if(kcountHFnegativedirectionDigiD4>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth4HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionDigiD4) delete h2CeffHFnegativedirectionDigiD4; + + //===================================================================== END of Digi HF for phi-symmetry + //===================================================================== END of Digi HF for phi-symmetry + //===================================================================== END of Digi HF for phi-symmetry + //============================================================================================================ END of Digi for phi-symmetry + //============================================================================================================ END of Digi for phi-symmetry + //============================================================================================================ END of Digi for phi-symmetry + // END of Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi Digi + + + +////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start +////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start +////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double arecosignalHB[ndepth][njeta][njphi]; + double recosignalvarianceHB[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HB recSignalEnergy + TH2F *recSignalEnergy1HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB1"); + TH2F *recSignalEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + TH2F* recSignalEnergyHB1 = (TH2F*)recSignalEnergy1HB1->Clone("recSignalEnergyHB1"); + recSignalEnergyHB1->Divide(recSignalEnergy1HB1,recSignalEnergy0HB1, 1, 1, "B"); + TH2F *recSignalEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB2"); + TH2F *recSignalEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + TH2F* recSignalEnergyHB2 = (TH2F*)recSignalEnergy1HB2->Clone("recSignalEnergyHB2"); + recSignalEnergyHB2->Divide(recSignalEnergy1HB2,recSignalEnergy0HB2, 1, 1, "B"); + TH2F *recSignalEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB3"); + TH2F *recSignalEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + TH2F* recSignalEnergyHB3 = (TH2F*)recSignalEnergy1HB3->Clone("recSignalEnergyHB3"); + recSignalEnergyHB3->Divide(recSignalEnergy1HB3,recSignalEnergy0HB3, 1, 1, "B"); + TH2F *recSignalEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB4"); + TH2F *recSignalEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + TH2F* recSignalEnergyHB4 = (TH2F*)recSignalEnergy1HB4->Clone("recSignalEnergyHB4"); + recSignalEnergyHB4->Divide(recSignalEnergy1HB4,recSignalEnergy0HB4, 1, 1, "B"); + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + arecosignalHB[1][jeta][jphi] = recSignalEnergyHB2->GetBinContent(jeta+1,jphi+1); + arecosignalHB[2][jeta][jphi] = recSignalEnergyHB3->GetBinContent(jeta+1,jphi+1); + arecosignalHB[3][jeta][jphi] = recSignalEnergyHB4->GetBinContent(jeta+1,jphi+1); + if(arecosignalHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += arecosignalHB[0][jeta][jphi];++nsumrecosignalHB0;} + if(arecosignalHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += arecosignalHB[1][jeta][jphi];++nsumrecosignalHB1;} + if(arecosignalHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += arecosignalHB[2][jeta][jphi];++nsumrecosignalHB2;} + if(arecosignalHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += arecosignalHB[3][jeta][jphi];++nsumrecosignalHB3;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) arecosignalHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; + if(arecosignalHB[1][jeta][jphi] > 0.) arecosignalHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; + if(arecosignalHB[2][jeta][jphi] > 0.) arecosignalHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; + if(arecosignalHB[3][jeta][jphi] > 0.) arecosignalHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthfs + //====================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRrecosignalHB42D = new TH2F("GefzRrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHB42D0 = new TH2F("GefzRrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHB42DF = (TH2F*)GefzRrecosignalHB42D0->Clone("GefzRrecosignalHB42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRrecosignalHB42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHB42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRrecosignalHB42DF->Divide(GefzRrecosignalHB42D,GefzRrecosignalHB42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHB42DF->SetYTitle(" #phi \b"); + GefzRrecosignalHB42DF->Draw("COLZ"); + + c2x1->cd(2); + TH1F *energyhitSignal_HB= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HB"); + energyhitSignal_HB ->SetMarkerStyle(20);energyhitSignal_HB ->SetMarkerSize(0.4);energyhitSignal_HB ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HB ->SetXTitle("energyhitSignal_HB \b");energyhitSignal_HB ->SetMarkerColor(2);energyhitSignal_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HB ->Draw("Error"); + + ///////////////// + c2x1->Update(); + c2x1->Print("RrecosignalGeneralD2PhiSymmetryHB.png"); + c2x1->Clear(); + // clean-up + if (GefzRrecosignalHB42D) delete GefzRrecosignalHB42D; + if (GefzRrecosignalHB42D0) delete GefzRrecosignalHB42D0; + if (GefzRrecosignalHB42DF) delete GefzRrecosignalHB42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRrecosignalHB41D = new TH1F("GefzRrecosignalHB41D","", nphi, 0., 72. ); + TH1F* GefzRrecosignalHB41D0 = new TH1F("GefzRrecosignalHB41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHB41DF = (TH1F*)GefzRrecosignalHB41D0->Clone("GefzRrecosignalHB41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHB41D0 ->Fill(jphi,1.); } + }}} + GefzRrecosignalHB41DF->Divide(GefzRrecosignalHB41D,GefzRrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRrecosignalHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB41DF->SetMarkerStyle(20); GefzRrecosignalHB41DF->SetMarkerSize(1.4); GefzRrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHB41DF->SetXTitle("#phi \b"); GefzRrecosignalHB41DF->SetYTitle(" \b"); GefzRrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHB41DF->SetMarkerColor(4); GefzRrecosignalHB41DF->SetLineColor(4);// GefzRrecosignalHB41DF->SetMinimum(0.8); // GefzRrecosignalHB41DF->SetMaximum(1.000); + GefzRrecosignalHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RrecosignalGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (GefzRrecosignalHB41D) delete GefzRrecosignalHB41D; + if (GefzRrecosignalHB41D0) delete GefzRrecosignalHB41D0; + if (GefzRrecosignalHB41DF) delete GefzRrecosignalHB41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal1=1; + TH1F* h2CeffHBpositivedirectionRecosignal1 = new TH1F("h2CeffHBpositivedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBpositivedirectionRecosignal1 = "<SetMarkerColor(2);HBpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal1 == 1) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 2) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 3) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 4) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 5) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 6) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 7) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 8) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 == 9) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==10) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==11) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==12) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==13) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==14) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==15) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignal1 ==16) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignal1->Draw("Error"); + kcountHBpositivedirectionRecosignal1++; + if(kcountHBpositivedirectionRecosignal1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal1) delete h2CeffHBpositivedirectionRecosignal1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal2=1; + TH1F* h2CeffHBpositivedirectionRecosignal2 = new TH1F("h2CeffHBpositivedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBpositivedirectionRecosignal2 = "<SetMarkerColor(2);HBpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal2 == 1) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 2) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 3) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 4) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 5) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 6) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 7) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 8) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 == 9) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==10) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==11) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==12) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==13) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==14) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==15) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignal2 ==16) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignal2->Draw("Error"); + kcountHBpositivedirectionRecosignal2++; + if(kcountHBpositivedirectionRecosignal2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal2) delete h2CeffHBpositivedirectionRecosignal2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal3=1; + TH1F* h2CeffHBpositivedirectionRecosignal3 = new TH1F("h2CeffHBpositivedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBpositivedirectionRecosignal3 = "<SetMarkerColor(2);HBpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal3 == 1) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 2) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 3) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 4) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 5) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 6) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 7) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 8) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 == 9) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==10) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==11) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==12) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==13) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==14) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==15) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignal3 ==16) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignal3->Draw("Error"); + kcountHBpositivedirectionRecosignal3++; + if(kcountHBpositivedirectionRecosignal3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal3) delete h2CeffHBpositivedirectionRecosignal3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal4=1; + TH1F* h2CeffHBpositivedirectionRecosignal4 = new TH1F("h2CeffHBpositivedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBpositivedirectionRecosignal4 = "<SetMarkerColor(2);HBpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignal4 == 1) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 2) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 3) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 4) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 5) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 6) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 7) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 8) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 == 9) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==10) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==11) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==12) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==13) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==14) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==15) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignal4 ==16) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignal4->Draw("Error"); + kcountHBpositivedirectionRecosignal4++; + if(kcountHBpositivedirectionRecosignal4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignal4) delete h2CeffHBpositivedirectionRecosignal4; + + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal1=1; + TH1F* h2CeffHBnegativedirectionRecosignal1 = new TH1F("h2CeffHBnegativedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBnegativedirectionRecosignal1 = "<SetMarkerColor(2);HBnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal1 == 1) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 2) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 3) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 4) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 5) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 6) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 7) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 8) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 == 9) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==10) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==11) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==12) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==13) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==14) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==15) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignal1 ==16) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignal1->Draw("Error"); + kcountHBnegativedirectionRecosignal1++; + if(kcountHBnegativedirectionRecosignal1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal1) delete h2CeffHBnegativedirectionRecosignal1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal2=1; + TH1F* h2CeffHBnegativedirectionRecosignal2 = new TH1F("h2CeffHBnegativedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBnegativedirectionRecosignal2 = "<SetMarkerColor(2);HBnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal2 == 1) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 2) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 3) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 4) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 5) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 6) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 7) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 8) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 == 9) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==10) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==11) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==12) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==13) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==14) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==15) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignal2 ==16) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionRecosignal2->Draw("Error"); + kcountHBnegativedirectionRecosignal2++; + if(kcountHBnegativedirectionRecosignal2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal2) delete h2CeffHBnegativedirectionRecosignal2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal3=1; + TH1F* h2CeffHBnegativedirectionRecosignal3 = new TH1F("h2CeffHBnegativedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBnegativedirectionRecosignal3 = "<SetMarkerColor(2);HBnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal3 == 1) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 2) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 3) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 4) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 5) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 6) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 7) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 8) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 == 9) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==10) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==11) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==12) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==13) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==14) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==15) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignal3 ==16) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionRecosignal3->Draw("Error"); + kcountHBnegativedirectionRecosignal3++; + if(kcountHBnegativedirectionRecosignal3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal3) delete h2CeffHBnegativedirectionRecosignal3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal4=1; + TH1F* h2CeffHBnegativedirectionRecosignal4 = new TH1F("h2CeffHBnegativedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBnegativedirectionRecosignal4 = "<SetMarkerColor(2);HBnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignal4 == 1) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 2) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 3) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 4) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 5) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 6) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 7) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 8) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 == 9) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==10) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==11) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==12) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==13) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==14) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==15) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignal4 ==16) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionRecosignal4->Draw("Error"); + kcountHBnegativedirectionRecosignal4++; + if(kcountHBnegativedirectionRecosignal4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignal4) delete h2CeffHBnegativedirectionRecosignal4; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HB1"); + TH2F *recosignalVariance0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + TH2F* recosignalVarianceHB1 = (TH2F*)recosignalVariance1HB1->Clone("recosignalVarianceHB1"); + recosignalVarianceHB1->Divide(recosignalVariance1HB1,recosignalVariance0HB1, 1, 1, "B"); + TH2F *recosignalVariance1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB2"); + TH2F *recosignalVariance0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + TH2F* recosignalVarianceHB2 = (TH2F*)recosignalVariance1HB2->Clone("recosignalVarianceHB2"); + recosignalVarianceHB2->Divide(recosignalVariance1HB2,recosignalVariance0HB2, 1, 1, "B"); + TH2F *recosignalVariance1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB3"); + TH2F *recosignalVariance0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + TH2F* recosignalVarianceHB3 = (TH2F*)recosignalVariance1HB3->Clone("recosignalVarianceHB3"); + recosignalVarianceHB3->Divide(recosignalVariance1HB3,recosignalVariance0HB3, 1, 1, "B"); + TH2F *recosignalVariance1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB4"); + TH2F *recosignalVariance0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + TH2F* recosignalVarianceHB4 = (TH2F*)recosignalVariance1HB4->Clone("recosignalVarianceHB4"); + recosignalVarianceHB4->Divide(recosignalVariance1HB4,recosignalVariance0HB4, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + recosignalvarianceHB[1][jeta][jphi] = recosignalVarianceHB2->GetBinContent(jeta+1,jphi+1); + recosignalvarianceHB[2][jeta][jphi] = recosignalVarianceHB3->GetBinContent(jeta+1,jphi+1); + recosignalvarianceHB[3][jeta][jphi] = recosignalVarianceHB4->GetBinContent(jeta+1,jphi+1); + if(recosignalvarianceHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += recosignalvarianceHB[0][jeta][jphi];++nsumrecosignalHB0;} + if(recosignalvarianceHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += recosignalvarianceHB[1][jeta][jphi];++nsumrecosignalHB1;} + if(recosignalvarianceHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += recosignalvarianceHB[2][jeta][jphi];++nsumrecosignalHB2;} + if(recosignalvarianceHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += recosignalvarianceHB[3][jeta][jphi];++nsumrecosignalHB3;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) recosignalvarianceHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; + if(recosignalvarianceHB[1][jeta][jphi] > 0.) recosignalvarianceHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; + if(recosignalvarianceHB[2][jeta][jphi] > 0.) recosignalvarianceHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; + if(recosignalvarianceHB[3][jeta][jphi] > 0.) recosignalvarianceHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; + }// phi + // recosignalvarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDrecosignalHB42D = new TH2F("DefzDrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHB42D0 = new TH2F("DefzDrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHB42DF = (TH2F*)DefzDrecosignalHB42D0->Clone("DefzDrecosignalHB42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(arecosignalHB[i][jeta][jphi]>0.) {DefzDrecosignalHB42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHB42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDrecosignalHB42DF->Divide(DefzDrecosignalHB42D,DefzDrecosignalHB42D0, 1, 1, "B");// average A + // DefzDrecosignalHB1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB42DF->SetMarkerStyle(20); DefzDrecosignalHB42DF->SetMarkerSize(0.4); DefzDrecosignalHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHB42DF->SetYTitle(" #phi \b"); DefzDrecosignalHB42DF->SetZTitle("_depth \b"); DefzDrecosignalHB42DF->SetMarkerColor(2); DefzDrecosignalHB42DF->SetLineColor(0); // DefzDrecosignalHB42DF->SetMaximum(1.000); // DefzDrecosignalHB42DF->SetMinimum(1.0); + DefzDrecosignalHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHB42D) delete DefzDrecosignalHB42D; + if (DefzDrecosignalHB42D0) delete DefzDrecosignalHB42D0; + if (DefzDrecosignalHB42DF) delete DefzDrecosignalHB42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDrecosignalHB41D = new TH1F("DefzDrecosignalHB41D","", nphi, 0., 72. ); + TH1F* DefzDrecosignalHB41D0 = new TH1F("DefzDrecosignalHB41D0","",nphi, 0., 72. ); + TH1F* DefzDrecosignalHB41DF = (TH1F*)DefzDrecosignalHB41D0->Clone("DefzDrecosignalHB41DF"); + + for (int jphi=0;jphi0.) {DefzDrecosignalHB41D ->Fill(jphi,ccc1); DefzDrecosignalHB41D0 ->Fill(jphi,1.); } + }}} + // DefzDrecosignalHB41D->Sumw2();DefzDrecosignalHB41D0->Sumw2(); + + DefzDrecosignalHB41DF->Divide(DefzDrecosignalHB41D,DefzDrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDrecosignalHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB41DF->SetMarkerStyle(20); DefzDrecosignalHB41DF->SetMarkerSize(1.4); DefzDrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB41DF->SetXTitle("#phi \b"); DefzDrecosignalHB41DF->SetYTitle(" \b"); DefzDrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHB41DF->SetMarkerColor(4); DefzDrecosignalHB41DF->SetLineColor(4);// DefzDrecosignalHB41DF->SetMinimum(0.8); DefzDrecosignalHB41DF->SetMinimum(-0.015); + DefzDrecosignalHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DrecosignalGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (DefzDrecosignalHB41D) delete DefzDrecosignalHB41D; + if (DefzDrecosignalHB41D0) delete DefzDrecosignalHB41D0; + if (DefzDrecosignalHB41DF) delete DefzDrecosignalHB41DF; + + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD1=1; + TH1F* h2CeffHBpositivedirectionRecosignalD1 = new TH1F("h2CeffHBpositivedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD1 == 1) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 2) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 3) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 4) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 5) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 6) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 7) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 8) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 == 9) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==10) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==11) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==12) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==13) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==14) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==15) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionRecosignalD1 ==16) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignalD1->Draw("Error"); + kcountHBpositivedirectionRecosignalD1++; + if(kcountHBpositivedirectionRecosignalD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD1) delete h2CeffHBpositivedirectionRecosignalD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD2=1; + TH1F* h2CeffHBpositivedirectionRecosignalD2 = new TH1F("h2CeffHBpositivedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD2 == 1) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 2) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 3) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 4) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 5) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 6) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 7) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 8) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 == 9) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==10) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==11) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==12) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==13) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==14) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==15) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionRecosignalD2 ==16) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignalD2->Draw("Error"); + kcountHBpositivedirectionRecosignalD2++; + if(kcountHBpositivedirectionRecosignalD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD2) delete h2CeffHBpositivedirectionRecosignalD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD3=1; + TH1F* h2CeffHBpositivedirectionRecosignalD3 = new TH1F("h2CeffHBpositivedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD3 == 1) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 2) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 3) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 4) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 5) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 6) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 7) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 8) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 == 9) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==10) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==11) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==12) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==13) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==14) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==15) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionRecosignalD3 ==16) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignalD3->Draw("Error"); + kcountHBpositivedirectionRecosignalD3++; + if(kcountHBpositivedirectionRecosignalD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD3) delete h2CeffHBpositivedirectionRecosignalD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD4=1; + TH1F* h2CeffHBpositivedirectionRecosignalD4 = new TH1F("h2CeffHBpositivedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionRecosignalD4 == 1) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 2) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 3) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 4) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 5) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 6) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 7) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 8) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 == 9) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==10) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==11) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==12) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==13) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==14) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==15) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionRecosignalD4 ==16) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignalD4->Draw("Error"); + kcountHBpositivedirectionRecosignalD4++; + if(kcountHBpositivedirectionRecosignalD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionRecosignalD4) delete h2CeffHBpositivedirectionRecosignalD4; + + + //========================================================================================== 22214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD1=1; + TH1F* h2CeffHBnegativedirectionRecosignalD1 = new TH1F("h2CeffHBnegativedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD1 == 1) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 2) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 3) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 4) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 5) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 6) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 7) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 8) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 == 9) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==10) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==11) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==12) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==13) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==14) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==15) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionRecosignalD1 ==16) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignalD1->Draw("Error"); + kcountHBnegativedirectionRecosignalD1++; + if(kcountHBnegativedirectionRecosignalD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD1) delete h2CeffHBnegativedirectionRecosignalD1; + //========================================================================================== 22215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD2=1; + TH1F* h2CeffHBnegativedirectionRecosignalD2 = new TH1F("h2CeffHBnegativedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD2 == 1) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 2) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 3) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 4) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 5) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 6) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 7) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 8) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-9 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 == 9) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-8 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==10) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-7 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==11) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-6 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==12) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-5 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==13) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-4 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==14) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-3 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==15) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-2 ; depth = 2 \b"); + if(kcountHBnegativedirectionRecosignalD2 ==16) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-1 ; depth = 2 \b"); + HBnegativedirectionRecosignalD2->Draw("Error"); + kcountHBnegativedirectionRecosignalD2++; + if(kcountHBnegativedirectionRecosignalD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD2) delete h2CeffHBnegativedirectionRecosignalD2; + //========================================================================================== 22216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD3=1; + TH1F* h2CeffHBnegativedirectionRecosignalD3 = new TH1F("h2CeffHBnegativedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD3 == 1) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 2) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 3) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 4) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 5) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 6) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 7) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 8) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-9 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 == 9) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-8 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==10) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-7 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==11) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-6 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==12) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-5 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==13) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-4 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==14) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-3 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==15) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-2 ; depth = 3 \b"); + if(kcountHBnegativedirectionRecosignalD3 ==16) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-1 ; depth = 3 \b"); + HBnegativedirectionRecosignalD3->Draw("Error"); + kcountHBnegativedirectionRecosignalD3++; + if(kcountHBnegativedirectionRecosignalD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD3) delete h2CeffHBnegativedirectionRecosignalD3; + //========================================================================================== 22217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD4=1; + TH1F* h2CeffHBnegativedirectionRecosignalD4 = new TH1F("h2CeffHBnegativedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionRecosignalD4 == 1) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 2) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 3) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 4) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 5) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 6) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 7) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 8) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-9 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 == 9) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-8 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==10) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-7 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==11) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-6 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==12) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-5 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==13) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-4 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==14) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-3 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==15) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-2 ; depth = 4 \b"); + if(kcountHBnegativedirectionRecosignalD4 ==16) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-1 ; depth = 4 \b"); + HBnegativedirectionRecosignalD4->Draw("Error"); + kcountHBnegativedirectionRecosignalD4++; + if(kcountHBnegativedirectionRecosignalD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionRecosignalD4) delete h2CeffHBnegativedirectionRecosignalD4; + + + + + //===================================================================== END of Recosignal HB for phi-symmetry + //===================================================================== END of Recosignal HB for phi-symmetry + //===================================================================== END of Recosignal HB for phi-symmetry + + + + + + + + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double arecosignalhe[ndepth][njeta][njphi]; + double recosignalvariancehe[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HE + TH2F *recSignalEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE1"); + TH2F *recSignalEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + TH2F* recSignalEnergyHE1 = (TH2F*)recSignalEnergy1HE1->Clone("recSignalEnergyHE1"); + recSignalEnergyHE1->Divide(recSignalEnergy1HE1,recSignalEnergy0HE1, 1, 1, "B"); + TH2F *recSignalEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE2"); + TH2F *recSignalEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + TH2F* recSignalEnergyHE2 = (TH2F*)recSignalEnergy1HE2->Clone("recSignalEnergyHE2"); + recSignalEnergyHE2->Divide(recSignalEnergy1HE2,recSignalEnergy0HE2, 1, 1, "B"); + TH2F *recSignalEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE3"); + TH2F *recSignalEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + TH2F* recSignalEnergyHE3 = (TH2F*)recSignalEnergy1HE3->Clone("recSignalEnergyHE3"); + recSignalEnergyHE3->Divide(recSignalEnergy1HE3,recSignalEnergy0HE3, 1, 1, "B"); + TH2F *recSignalEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE4"); + TH2F *recSignalEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + TH2F* recSignalEnergyHE4 = (TH2F*)recSignalEnergy1HE4->Clone("recSignalEnergyHE4"); + recSignalEnergyHE4->Divide(recSignalEnergy1HE4,recSignalEnergy0HE4, 1, 1, "B"); + TH2F *recSignalEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE5"); + TH2F *recSignalEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + TH2F* recSignalEnergyHE5 = (TH2F*)recSignalEnergy1HE5->Clone("recSignalEnergyHE5"); + recSignalEnergyHE5->Divide(recSignalEnergy1HE5,recSignalEnergy0HE5, 1, 1, "B"); + TH2F *recSignalEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE6"); + TH2F *recSignalEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + TH2F* recSignalEnergyHE6 = (TH2F*)recSignalEnergy1HE6->Clone("recSignalEnergyHE6"); + recSignalEnergyHE6->Divide(recSignalEnergy1HE6,recSignalEnergy0HE6, 1, 1, "B"); + TH2F *recSignalEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE7"); + TH2F *recSignalEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + TH2F* recSignalEnergyHE7 = (TH2F*)recSignalEnergy1HE7->Clone("recSignalEnergyHE7"); + recSignalEnergyHE7->Divide(recSignalEnergy1HE7,recSignalEnergy0HE7, 1, 1, "B"); + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + arecosignalhe[1][jeta][jphi] = recSignalEnergyHE2->GetBinContent(jeta+1,jphi+1); + arecosignalhe[2][jeta][jphi] = recSignalEnergyHE3->GetBinContent(jeta+1,jphi+1); + arecosignalhe[3][jeta][jphi] = recSignalEnergyHE4->GetBinContent(jeta+1,jphi+1); + arecosignalhe[4][jeta][jphi] = recSignalEnergyHE5->GetBinContent(jeta+1,jphi+1); + arecosignalhe[5][jeta][jphi] = recSignalEnergyHE6->GetBinContent(jeta+1,jphi+1); + arecosignalhe[6][jeta][jphi] = recSignalEnergyHE7->GetBinContent(jeta+1,jphi+1); + if(arecosignalhe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += arecosignalhe[0][jeta][jphi];++nsumrecosignalHE0;} + if(arecosignalhe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += arecosignalhe[1][jeta][jphi];++nsumrecosignalHE1;} + if(arecosignalhe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += arecosignalhe[2][jeta][jphi];++nsumrecosignalHE2;} + if(arecosignalhe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += arecosignalhe[3][jeta][jphi];++nsumrecosignalHE3;} + if(arecosignalhe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += arecosignalhe[4][jeta][jphi];++nsumrecosignalHE4;} + if(arecosignalhe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += arecosignalhe[5][jeta][jphi];++nsumrecosignalHE5;} + if(arecosignalhe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += arecosignalhe[6][jeta][jphi];++nsumrecosignalHE6;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) arecosignalhe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; + if(arecosignalhe[1][jeta][jphi] > 0.) arecosignalhe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; + if(arecosignalhe[2][jeta][jphi] > 0.) arecosignalhe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; + if(arecosignalhe[3][jeta][jphi] > 0.) arecosignalhe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; + if(arecosignalhe[4][jeta][jphi] > 0.) arecosignalhe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; + if(arecosignalhe[5][jeta][jphi] > 0.) arecosignalhe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; + if(arecosignalhe[6][jeta][jphi] > 0.) arecosignalhe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthes + //====================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: R, averaged over depthes *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRrecosignalHE42D = new TH2F("GefzRrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHE42D0 = new TH2F("GefzRrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHE42DF = (TH2F*)GefzRrecosignalHE42D0->Clone("GefzRrecosignalHE42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRrecosignalHE42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHE42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRrecosignalHE42DF->Divide(GefzRrecosignalHE42D,GefzRrecosignalHE42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHE42DF->SetYTitle(" #phi \b"); + GefzRrecosignalHE42DF->Draw("COLZ"); + + c2x1->cd(2); + TH1F *energyhitSignal_HE= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HE"); + energyhitSignal_HE ->SetMarkerStyle(20);energyhitSignal_HE ->SetMarkerSize(0.4);energyhitSignal_HE ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HE ->SetXTitle("energyhitSignal_HE \b");energyhitSignal_HE ->SetMarkerColor(2);energyhitSignal_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HE ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RrecosignalGeneralD2PhiSymmetryHE.png"); + c2x1->Clear(); + // clean-up + if (GefzRrecosignalHE42D) delete GefzRrecosignalHE42D; + if (GefzRrecosignalHE42D0) delete GefzRrecosignalHE42D0; + if (GefzRrecosignalHE42DF) delete GefzRrecosignalHE42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRrecosignalHE41D = new TH1F("GefzRrecosignalHE41D","", nphi, 0., 72. ); + TH1F* GefzRrecosignalHE41D0 = new TH1F("GefzRrecosignalHE41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHE41DF = (TH1F*)GefzRrecosignalHE41D0->Clone("GefzRrecosignalHE41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHE41D0 ->Fill(jphi,1.); } + }}} + GefzRrecosignalHE41DF->Divide(GefzRrecosignalHE41D,GefzRrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta + GefzRrecosignalHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE41DF->SetMarkerStyle(20); GefzRrecosignalHE41DF->SetMarkerSize(1.4); GefzRrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHE41DF->SetXTitle("#phi \b"); GefzRrecosignalHE41DF->SetYTitle(" \b"); GefzRrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRrecosignalHE41DF->SetMarkerColor(4); GefzRrecosignalHE41DF->SetLineColor(4);// GefzRrecosignalHE41DF->SetMinimum(0.8); // GefzRrecosignalHE41DF->SetMaximum(1.000); + GefzRrecosignalHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RrecosignalGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (GefzRrecosignalHE41D) delete GefzRrecosignalHE41D; + if (GefzRrecosignalHE41D0) delete GefzRrecosignalHE41D0; + if (GefzRrecosignalHE41DF) delete GefzRrecosignalHE41DF; + + + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal1=1; + TH1F* h2CeffHEpositivedirectionRecosignal1 = new TH1F("h2CeffHEpositivedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEpositivedirectionRecosignal1 = "<SetMarkerColor(2);HEpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal1 == 1) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 2) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 3) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 4) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 5) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 6) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 7) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 8) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 == 9) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 ==10) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 ==11) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignal1 ==12) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignal1->Draw("Error"); + kcountHEpositivedirectionRecosignal1++; + if(kcountHEpositivedirectionRecosignal1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal1) delete h2CeffHEpositivedirectionRecosignal1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal2=1; + TH1F* h2CeffHEpositivedirectionRecosignal2 = new TH1F("h2CeffHEpositivedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEpositivedirectionRecosignal2 = "<SetMarkerColor(2);HEpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal2 == 1) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 2) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 3) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 4) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 5) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 6) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 7) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 8) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 == 9) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==10) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==11) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==12) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignal2 ==13) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignal2->Draw("Error"); + kcountHEpositivedirectionRecosignal2++; + if(kcountHEpositivedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal2) delete h2CeffHEpositivedirectionRecosignal2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal3=1; + TH1F* h2CeffHEpositivedirectionRecosignal3 = new TH1F("h2CeffHEpositivedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEpositivedirectionRecosignal3 = "<SetMarkerColor(2);HEpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal3 == 1) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 2) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 3) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 4) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 5) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 6) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 7) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 8) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 == 9) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==10) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==11) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==12) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignal3 ==13) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignal3->Draw("Error"); + kcountHEpositivedirectionRecosignal3++; + if(kcountHEpositivedirectionRecosignal3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal3) delete h2CeffHEpositivedirectionRecosignal3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal4=1; + TH1F* h2CeffHEpositivedirectionRecosignal4 = new TH1F("h2CeffHEpositivedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEpositivedirectionRecosignal4 = "<SetMarkerColor(2);HEpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal4 == 1) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 2) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 3) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 4) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 5) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 6) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 7) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 8) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 == 9) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 ==10) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 ==11) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignal4 ==12) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignal4->Draw("Error"); + kcountHEpositivedirectionRecosignal4++; + if(kcountHEpositivedirectionRecosignal4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal4) delete h2CeffHEpositivedirectionRecosignal4; + //========================================================================================== 8 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal5=1; + TH1F* h2CeffHEpositivedirectionRecosignal5 = new TH1F("h2CeffHEpositivedirectionRecosignal5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal5 == 1) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 2) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 3) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 4) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 5) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 6) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 7) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 8) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 == 9) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 ==10) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignal5 ==11) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignal5->Draw("Error"); + kcountHEpositivedirectionRecosignal5++; + if(kcountHEpositivedirectionRecosignal5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal5) delete h2CeffHEpositivedirectionRecosignal5; + //========================================================================================== 9 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal6=1; + TH1F* h2CeffHEpositivedirectionRecosignal6 = new TH1F("h2CeffHEpositivedirectionRecosignal6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEpositivedirectionRecosignal6 = "<SetMarkerColor(2);HEpositivedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal6 == 1) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 2) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 3) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 4) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 5) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 6) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 7) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 8) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 == 9) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignal6 ==10) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignal6->Draw("Error"); + kcountHEpositivedirectionRecosignal6++; + if(kcountHEpositivedirectionRecosignal6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal6) delete h2CeffHEpositivedirectionRecosignal6; + //========================================================================================== 10 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal7=1; + TH1F* h2CeffHEpositivedirectionRecosignal7 = new TH1F("h2CeffHEpositivedirectionRecosignal7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEpositivedirectionRecosignal7 = "<SetMarkerColor(2);HEpositivedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignal7 == 1) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignal7 == 2) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignal7 == 3) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignal7->Draw("Error"); + kcountHEpositivedirectionRecosignal7++; + if(kcountHEpositivedirectionRecosignal7>3) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignal7) delete h2CeffHEpositivedirectionRecosignal7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal1=1; + TH1F* h2CeffHEnegativedirectionRecosignal1 = new TH1F("h2CeffHEnegativedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEnegativedirectionRecosignal1 = "<SetMarkerColor(2);HEnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal1 == 1) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 2) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 3) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 4) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 5) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 6) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 7) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 8) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 == 9) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 ==10) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 ==11) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignal1 ==12) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignal1->Draw("Error"); + kcountHEnegativedirectionRecosignal1++; + if(kcountHEnegativedirectionRecosignal1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal1) delete h2CeffHEnegativedirectionRecosignal1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal2=1; + TH1F* h2CeffHEnegativedirectionRecosignal2 = new TH1F("h2CeffHEnegativedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEnegativedirectionRecosignal2 = "<SetMarkerColor(2);HEnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal2 == 1) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 2) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 3) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 4) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 5) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 6) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 7) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 8) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 == 9) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==10) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==11) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==12) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignal2 ==13) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignal2->Draw("Error"); + kcountHEnegativedirectionRecosignal2++; + if(kcountHEnegativedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal2) delete h2CeffHEnegativedirectionRecosignal2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal3=1; + TH1F* h2CeffHEnegativedirectionRecosignal3 = new TH1F("h2CeffHEnegativedirectionRecosignal3","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEnegativedirectionRecosignal3 = "<SetMarkerColor(2);HEnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal3 == 1) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 2) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 3) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 4) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 5) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 6) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 7) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 8) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 == 9) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==10) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==11) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==12) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignal3 ==13) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignal3->Draw("Error"); + kcountHEnegativedirectionRecosignal3++; + if(kcountHEnegativedirectionRecosignal3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal3) delete h2CeffHEnegativedirectionRecosignal3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal4=1; + TH1F* h2CeffHEnegativedirectionRecosignal4 = new TH1F("h2CeffHEnegativedirectionRecosignal4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEnegativedirectionRecosignal4 = "<SetMarkerColor(2);HEnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal4 == 1) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 2) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 3) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 4) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 5) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 6) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 7) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 8) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 == 9) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 ==10) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 ==11) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignal4 ==12) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignal4->Draw("Error"); + kcountHEnegativedirectionRecosignal4++; + if(kcountHEnegativedirectionRecosignal4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal4) delete h2CeffHEnegativedirectionRecosignal4; + //========================================================================================== 1118 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal5=1; + TH1F* h2CeffHEnegativedirectionRecosignal5 = new TH1F("h2CeffHEnegativedirectionRecosignal5","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal5 == 1) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 2) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 3) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 4) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 5) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 6) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 7) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 8) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 == 9) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 ==10) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignal5 ==11) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignal5->Draw("Error"); + kcountHEnegativedirectionRecosignal5++; + if(kcountHEnegativedirectionRecosignal5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal5) delete h2CeffHEnegativedirectionRecosignal5; + //========================================================================================== 1119 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal6=1; + TH1F* h2CeffHEnegativedirectionRecosignal6 = new TH1F("h2CeffHEnegativedirectionRecosignal6","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEnegativedirectionRecosignal6 = "<SetMarkerColor(2);HEnegativedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal6 == 1) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 2) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 3) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 4) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 5) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 6) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 7) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 8) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 == 9) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignal6 ==10) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignal6->Draw("Error"); + kcountHEnegativedirectionRecosignal6++; + if(kcountHEnegativedirectionRecosignal6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal6) delete h2CeffHEnegativedirectionRecosignal6; + //========================================================================================== 11110 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal7=1; + TH1F* h2CeffHEnegativedirectionRecosignal7 = new TH1F("h2CeffHEnegativedirectionRecosignal7","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEnegativedirectionRecosignal7 = "<SetMarkerColor(2);HEnegativedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignal7 == 1) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignal7 == 2) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignal7 == 3) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignal7->Draw("Error"); + kcountHEnegativedirectionRecosignal7++; + if(kcountHEnegativedirectionRecosignal7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignal7) delete h2CeffHEnegativedirectionRecosignal7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HE1"); + TH2F *recosignalVariance0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + TH2F* recosignalVarianceHE1 = (TH2F*)recosignalVariance1HE1->Clone("recosignalVarianceHE1"); + recosignalVarianceHE1->Divide(recosignalVariance1HE1,recosignalVariance0HE1, 1, 1, "B"); + TH2F *recosignalVariance1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE2"); + TH2F *recosignalVariance0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + TH2F* recosignalVarianceHE2 = (TH2F*)recosignalVariance1HE2->Clone("recosignalVarianceHE2"); + recosignalVarianceHE2->Divide(recosignalVariance1HE2,recosignalVariance0HE2, 1, 1, "B"); + TH2F *recosignalVariance1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE3"); + TH2F *recosignalVariance0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + TH2F* recosignalVarianceHE3 = (TH2F*)recosignalVariance1HE3->Clone("recosignalVarianceHE3"); + recosignalVarianceHE3->Divide(recosignalVariance1HE3,recosignalVariance0HE3, 1, 1, "B"); + TH2F *recosignalVariance1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE4"); + TH2F *recosignalVariance0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + TH2F* recosignalVarianceHE4 = (TH2F*)recosignalVariance1HE4->Clone("recosignalVarianceHE4"); + recosignalVarianceHE4->Divide(recosignalVariance1HE4,recosignalVariance0HE4, 1, 1, "B"); + TH2F *recosignalVariance1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE5"); + TH2F *recosignalVariance0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + TH2F* recosignalVarianceHE5 = (TH2F*)recosignalVariance1HE5->Clone("recosignalVarianceHE5"); + recosignalVarianceHE5->Divide(recosignalVariance1HE5,recosignalVariance0HE5, 1, 1, "B"); + TH2F *recosignalVariance1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE6"); + TH2F *recosignalVariance0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + TH2F* recosignalVarianceHE6 = (TH2F*)recosignalVariance1HE6->Clone("recosignalVarianceHE6"); + recosignalVarianceHE6->Divide(recosignalVariance1HE6,recosignalVariance0HE6, 1, 1, "B"); + TH2F *recosignalVariance1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE7"); + TH2F *recosignalVariance0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + TH2F* recosignalVarianceHE7 = (TH2F*)recosignalVariance1HE7->Clone("recosignalVarianceHE7"); + recosignalVarianceHE7->Divide(recosignalVariance1HE7,recosignalVariance0HE7, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + recosignalvariancehe[1][jeta][jphi] = recosignalVarianceHE2->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[2][jeta][jphi] = recosignalVarianceHE3->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[3][jeta][jphi] = recosignalVarianceHE4->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[4][jeta][jphi] = recosignalVarianceHE5->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[5][jeta][jphi] = recosignalVarianceHE6->GetBinContent(jeta+1,jphi+1); + recosignalvariancehe[6][jeta][jphi] = recosignalVarianceHE7->GetBinContent(jeta+1,jphi+1); + if(recosignalvariancehe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += recosignalvariancehe[0][jeta][jphi];++nsumrecosignalHE0;} + if(recosignalvariancehe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += recosignalvariancehe[1][jeta][jphi];++nsumrecosignalHE1;} + if(recosignalvariancehe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += recosignalvariancehe[2][jeta][jphi];++nsumrecosignalHE2;} + if(recosignalvariancehe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += recosignalvariancehe[3][jeta][jphi];++nsumrecosignalHE3;} + if(recosignalvariancehe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += recosignalvariancehe[4][jeta][jphi];++nsumrecosignalHE4;} + if(recosignalvariancehe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += recosignalvariancehe[5][jeta][jphi];++nsumrecosignalHE5;} + if(recosignalvariancehe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += recosignalvariancehe[6][jeta][jphi];++nsumrecosignalHE6;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) recosignalvariancehe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; + if(recosignalvariancehe[1][jeta][jphi] > 0.) recosignalvariancehe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; + if(recosignalvariancehe[2][jeta][jphi] > 0.) recosignalvariancehe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; + if(recosignalvariancehe[3][jeta][jphi] > 0.) recosignalvariancehe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; + if(recosignalvariancehe[4][jeta][jphi] > 0.) recosignalvariancehe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; + if(recosignalvariancehe[5][jeta][jphi] > 0.) recosignalvariancehe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; + if(recosignalvariancehe[6][jeta][jphi] > 0.) recosignalvariancehe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; + }// phi + // recosignalvariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDrecosignalHE42D = new TH2F("DefzDrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHE42D0 = new TH2F("DefzDrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHE42DF = (TH2F*)DefzDrecosignalHE42D0->Clone("DefzDrecosignalHE42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(arecosignalhe[i][jeta][jphi]>0.) {DefzDrecosignalHE42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHE42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDrecosignalHE42DF->Divide(DefzDrecosignalHE42D,DefzDrecosignalHE42D0, 1, 1, "B");// average A + // DefzDrecosignalHE1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE42DF->SetMarkerStyle(20); DefzDrecosignalHE42DF->SetMarkerSize(0.4); DefzDrecosignalHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHE42DF->SetYTitle(" #phi \b"); DefzDrecosignalHE42DF->SetZTitle("_depth \b"); DefzDrecosignalHE42DF->SetMarkerColor(2); DefzDrecosignalHE42DF->SetLineColor(0); // DefzDrecosignalHE42DF->SetMaximum(1.000); // DefzDrecosignalHE42DF->SetMinimum(1.0); + DefzDrecosignalHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHE42D) delete DefzDrecosignalHE42D; + if (DefzDrecosignalHE42D0) delete DefzDrecosignalHE42D0; + if (DefzDrecosignalHE42DF) delete DefzDrecosignalHE42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDrecosignalHE41D = new TH1F("DefzDrecosignalHE41D","", nphi, 0., 72. ); + TH1F* DefzDrecosignalHE41D0 = new TH1F("DefzDrecosignalHE41D0","",nphi, 0., 72. ); + TH1F* DefzDrecosignalHE41DF = (TH1F*)DefzDrecosignalHE41D0->Clone("DefzDrecosignalHE41DF"); + + for (int jphi=0;jphi0.) {DefzDrecosignalHE41D ->Fill(jphi,ccc1); DefzDrecosignalHE41D0 ->Fill(jphi,1.); } + }}} + // DefzDrecosignalHE41D->Sumw2();DefzDrecosignalHE41D0->Sumw2(); + + DefzDrecosignalHE41DF->Divide(DefzDrecosignalHE41D,DefzDrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta + DefzDrecosignalHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE41DF->SetMarkerStyle(20); DefzDrecosignalHE41DF->SetMarkerSize(1.4); DefzDrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE41DF->SetXTitle("#phi \b"); DefzDrecosignalHE41DF->SetYTitle(" \b"); DefzDrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDrecosignalHE41DF->SetMarkerColor(4); DefzDrecosignalHE41DF->SetLineColor(4); // DefzDrecosignalHE41DF->SetMinimum(0.8); DefzDrecosignalHE41DF->SetMinimum(-0.015); + DefzDrecosignalHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DrecosignalGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (DefzDrecosignalHE41D) delete DefzDrecosignalHE41D; + if (DefzDrecosignalHE41D0) delete DefzDrecosignalHE41D0; + if (DefzDrecosignalHE41DF) delete DefzDrecosignalHE41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD1=1; + TH1F* h2CeffHEpositivedirectionRecosignalD1 = new TH1F("h2CeffHEpositivedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD1 == 1) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 2) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 3) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 4) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 5) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 6) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 7) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 8) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 == 9) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 ==10) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 ==11) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionRecosignalD1 ==12) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignalD1->Draw("Error"); + kcountHEpositivedirectionRecosignalD1++; + if(kcountHEpositivedirectionRecosignalD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD1) delete h2CeffHEpositivedirectionRecosignalD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD2=1; + TH1F* h2CeffHEpositivedirectionRecosignalD2 = new TH1F("h2CeffHEpositivedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD2 == 1) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 2) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 3) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 4) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 5) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 6) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 7) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 8) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 == 9) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==10) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==11) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==12) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionRecosignalD2 ==13) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignalD2->Draw("Error"); + kcountHEpositivedirectionRecosignalD2++; + if(kcountHEpositivedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD2) delete h2CeffHEpositivedirectionRecosignalD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD3=1; + TH1F* h2CeffHEpositivedirectionRecosignalD3 = new TH1F("h2CeffHEpositivedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD3 == 1) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 2) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 3) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 4) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 5) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 6) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 7) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 8) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 == 9) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==10) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==11) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==12) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionRecosignalD3 ==13) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignalD3->Draw("Error"); + kcountHEpositivedirectionRecosignalD3++; + if(kcountHEpositivedirectionRecosignalD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD3) delete h2CeffHEpositivedirectionRecosignalD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD4=1; + TH1F* h2CeffHEpositivedirectionRecosignalD4 = new TH1F("h2CeffHEpositivedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD4 == 1) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 2) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 3) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 4) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 5) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 6) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 7) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 8) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 == 9) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 ==10) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 ==11) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionRecosignalD4 ==12) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignalD4->Draw("Error"); + kcountHEpositivedirectionRecosignalD4++; + if(kcountHEpositivedirectionRecosignalD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD4) delete h2CeffHEpositivedirectionRecosignalD4; + //========================================================================================== 18 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD5=1; + TH1F* h2CeffHEpositivedirectionRecosignalD5 = new TH1F("h2CeffHEpositivedirectionRecosignalD5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEpositivedirectionRecosignalD5 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD5 == 1) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 2) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 3) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 4) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 5) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 6) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 7) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 8) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 == 9) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 ==10) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionRecosignalD5 ==11) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignalD5->Draw("Error"); + kcountHEpositivedirectionRecosignalD5++; + if(kcountHEpositivedirectionRecosignalD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD5) delete h2CeffHEpositivedirectionRecosignalD5; + //========================================================================================== 19 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD6=1; + TH1F* h2CeffHEpositivedirectionRecosignalD6 = new TH1F("h2CeffHEpositivedirectionRecosignalD6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEpositivedirectionRecosignalD6 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD6 == 1) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 2) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 3) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 4) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 5) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 6) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 7) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 8) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 == 9) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionRecosignalD6 ==10) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignalD6->Draw("Error"); + kcountHEpositivedirectionRecosignalD6++; + if(kcountHEpositivedirectionRecosignalD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD6) delete h2CeffHEpositivedirectionRecosignalD6; + //========================================================================================== 20 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD7=1; + TH1F* h2CeffHEpositivedirectionRecosignalD7 = new TH1F("h2CeffHEpositivedirectionRecosignalD7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEpositivedirectionRecosignalD7 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionRecosignalD7 == 1) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignalD7 == 2) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionRecosignalD7 == 3) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignalD7->Draw("Error"); + kcountHEpositivedirectionRecosignalD7++; + if(kcountHEpositivedirectionRecosignalD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionRecosignalD7) delete h2CeffHEpositivedirectionRecosignalD7; + + + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD1=1; + TH1F* h2CeffHEnegativedirectionRecosignalD1 = new TH1F("h2CeffHEnegativedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD1 == 1) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 2) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 3) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 4) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 5) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 6) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 7) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 8) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 == 9) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 ==10) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 ==11) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionRecosignalD1 ==12) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignalD1->Draw("Error"); + kcountHEnegativedirectionRecosignalD1++; + if(kcountHEnegativedirectionRecosignalD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD1) delete h2CeffHEnegativedirectionRecosignalD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD2=1; + TH1F* h2CeffHEnegativedirectionRecosignalD2 = new TH1F("h2CeffHEnegativedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD2 == 1) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 2) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 3) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 4) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 5) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 6) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 7) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 8) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 == 9) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==10) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==11) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==12) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionRecosignalD2 ==13) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignalD2->Draw("Error"); + kcountHEnegativedirectionRecosignalD2++; + if(kcountHEnegativedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD2) delete h2CeffHEnegativedirectionRecosignalD2; + //========================================================================================== 22222216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD3=1; + TH1F* h2CeffHEnegativedirectionRecosignalD3 = new TH1F("h2CeffHEnegativedirectionRecosignalD3","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD3 == 1) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 2) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 3) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 4) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 5) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 6) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 7) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 8) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 == 9) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==10) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==11) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==12) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionRecosignalD3 ==13) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignalD3->Draw("Error"); + kcountHEnegativedirectionRecosignalD3++; + if(kcountHEnegativedirectionRecosignalD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD3) delete h2CeffHEnegativedirectionRecosignalD3; + //========================================================================================== 22222217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD4=1; + TH1F* h2CeffHEnegativedirectionRecosignalD4 = new TH1F("h2CeffHEnegativedirectionRecosignalD4","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD4 == 1) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 2) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 3) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 4) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 5) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 6) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 7) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 8) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 == 9) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 ==10) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 ==11) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionRecosignalD4 ==12) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignalD4->Draw("Error"); + kcountHEnegativedirectionRecosignalD4++; + if(kcountHEnegativedirectionRecosignalD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD4) delete h2CeffHEnegativedirectionRecosignalD4; + //========================================================================================== 22222218 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD5=1; + TH1F* h2CeffHEnegativedirectionRecosignalD5 = new TH1F("h2CeffHEnegativedirectionRecosignalD5","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEnegativedirectionRecosignalD5 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD5 == 1) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 2) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 3) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 4) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 5) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 6) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 7) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 8) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 == 9) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 ==10) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionRecosignalD5 ==11) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignalD5->Draw("Error"); + kcountHEnegativedirectionRecosignalD5++; + if(kcountHEnegativedirectionRecosignalD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD5) delete h2CeffHEnegativedirectionRecosignalD5; + //========================================================================================== 22222219 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD6=1; + TH1F* h2CeffHEnegativedirectionRecosignalD6 = new TH1F("h2CeffHEnegativedirectionRecosignalD6","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEnegativedirectionRecosignalD6 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD6 == 1) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 2) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 3) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 4) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 5) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 6) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 7) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 8) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 == 9) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionRecosignalD6 ==10) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignalD6->Draw("Error"); + kcountHEnegativedirectionRecosignalD6++; + if(kcountHEnegativedirectionRecosignalD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD6) delete h2CeffHEnegativedirectionRecosignalD6; + //========================================================================================== 22222220 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD7=1; + TH1F* h2CeffHEnegativedirectionRecosignalD7 = new TH1F("h2CeffHEnegativedirectionRecosignalD7","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEnegativedirectionRecosignalD7 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionRecosignalD7 == 1) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignalD7 == 2) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionRecosignalD7 == 3) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignalD7->Draw("Error"); + kcountHEnegativedirectionRecosignalD7++; + if(kcountHEnegativedirectionRecosignalD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionRecosignalD7) delete h2CeffHEnegativedirectionRecosignalD7; + //===================================================================== END of Recosignal HE for phi-symmetry + //===================================================================== END of Recosignal HE for phi-symmetry + //===================================================================== END of Recosignal HE for phi-symmetry + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double arecosignalHF[ndepth][njeta][njphi]; + double recosignalvarianceHF[ndepth][njeta][njphi]; + //cout<<"111RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <FindObjectAny("h_recSignalEnergy1_HF1"); + TH2F *recSignalEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + TH2F* recSignalEnergyHF1 = (TH2F*)recSignalEnergy1HF1->Clone("recSignalEnergyHF1"); + recSignalEnergyHF1->Divide(recSignalEnergy1HF1,recSignalEnergy0HF1, 1, 1, "B"); + TH2F *recSignalEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF2"); + TH2F *recSignalEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + TH2F* recSignalEnergyHF2 = (TH2F*)recSignalEnergy1HF2->Clone("recSignalEnergyHF2"); + recSignalEnergyHF2->Divide(recSignalEnergy1HF2,recSignalEnergy0HF2, 1, 1, "B"); +// cout<<"222RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <GetBinContent(jeta+1,jphi+1); + arecosignalHF[1][jeta][jphi] = recSignalEnergyHF2->GetBinContent(jeta+1,jphi+1); + if(arecosignalHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += arecosignalHF[0][jeta][jphi];++nsumrecosignalHF0;} + if(arecosignalHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += arecosignalHF[1][jeta][jphi];++nsumrecosignalHF1;} + }// phi + // PHI normalization: + for(int jphi=0;jphi 0.) arecosignalHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; + if(arecosignalHF[1][jeta][jphi] > 0.) arecosignalHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; + }// phi + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthfs + //====================================================================== + //====================================================================== +// cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRrecosignalHF42D = new TH2F("GefzRrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHF42D0 = new TH2F("GefzRrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHF42DF = (TH2F*)GefzRrecosignalHF42D0->Clone("GefzRrecosignalHF42DF"); + for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRrecosignalHF42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHF42D0 ->Fill(kkk,jphi,1.); } + }}} + GefzRrecosignalHF42DF->Divide(GefzRrecosignalHF42D,GefzRrecosignalHF42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHF42DF->SetYTitle(" #phi \b"); + GefzRrecosignalHF42DF->Draw("COLZ"); + + + c2x1->cd(2); + TH1F *energyhitSignal_HF= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HF"); + energyhitSignal_HF ->SetMarkerStyle(20);energyhitSignal_HF ->SetMarkerSize(0.4);energyhitSignal_HF ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HF ->SetXTitle("energyhitSignal_HF \b");energyhitSignal_HF ->SetMarkerColor(2);energyhitSignal_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HF ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RrecosignalGeneralD2PhiSymmetryHF.png"); + c2x1->Clear(); + // clean-up + if (GefzRrecosignalHF42D) delete GefzRrecosignalHF42D; + if (GefzRrecosignalHF42D0) delete GefzRrecosignalHF42D0; + if (GefzRrecosignalHF42DF) delete GefzRrecosignalHF42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRrecosignalHF41D = new TH1F("GefzRrecosignalHF41D","", nphi, 0., 72. ); + TH1F* GefzRrecosignalHF41D0 = new TH1F("GefzRrecosignalHF41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHF41DF = (TH1F*)GefzRrecosignalHF41D0->Clone("GefzRrecosignalHF41DF"); + for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHF41D0 ->Fill(jphi,1.); } + }}} + GefzRrecosignalHF41DF->Divide(GefzRrecosignalHF41D,GefzRrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRrecosignalHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF41DF->SetMarkerStyle(20); GefzRrecosignalHF41DF->SetMarkerSize(1.4); GefzRrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHF41DF->SetXTitle("#phi \b"); GefzRrecosignalHF41DF->SetYTitle(" \b"); GefzRrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHF41DF->SetMarkerColor(4); GefzRrecosignalHF41DF->SetLineColor(4);// GefzRrecosignalHF41DF->SetMinimum(0.8); // GefzRrecosignalHF41DF->SetMaximum(1.000); + GefzRrecosignalHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RrecosignalGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (GefzRrecosignalHF41D) delete GefzRrecosignalHF41D; + if (GefzRrecosignalHF41D0) delete GefzRrecosignalHF41D0; + if (GefzRrecosignalHF41DF) delete GefzRrecosignalHF41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignal1=1; + TH1F* h2CeffHFpositivedirectionRecosignal1 = new TH1F("h2CeffHFpositivedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFpositivedirectionRecosignal1 = "<SetMarkerColor(2);HFpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignal1 == 1) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 2) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 3) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 4) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 5) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 6) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 7) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 8) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 == 9) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==10) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==11) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==12) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignal1 ==13) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignal1->Draw("Error"); + kcountHFpositivedirectionRecosignal1++; + if(kcountHFpositivedirectionRecosignal1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignal1) delete h2CeffHFpositivedirectionRecosignal1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignal2=1; + TH1F* h2CeffHFpositivedirectionRecosignal2 = new TH1F("h2CeffHFpositivedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFpositivedirectionRecosignal2 = "<SetMarkerColor(2);HFpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignal2 == 1) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 2) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 3) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 4) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 5) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 6) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 7) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 8) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 == 9) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==10) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==11) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==12) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignal2 ==13) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignal2->Draw("Error"); + kcountHFpositivedirectionRecosignal2++; + if(kcountHFpositivedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignal2) delete h2CeffHFpositivedirectionRecosignal2; + + //========================================================================================== 1111114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignal1=1; + TH1F* h2CeffHFnegativedirectionRecosignal1 = new TH1F("h2CeffHFnegativedirectionRecosignal1","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFnegativedirectionRecosignal1 = "<SetMarkerColor(2);HFnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignal1 == 1) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 2) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 3) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 4) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 5) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 6) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 7) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 8) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 == 9) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==10) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==11) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==12) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignal1 ==13) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignal1->Draw("Error"); + kcountHFnegativedirectionRecosignal1++; + if(kcountHFnegativedirectionRecosignal1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignal1) delete h2CeffHFnegativedirectionRecosignal1; + + + //========================================================================================== 1111115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignal2=1; + TH1F* h2CeffHFnegativedirectionRecosignal2 = new TH1F("h2CeffHFnegativedirectionRecosignal2","", nphi, 0., 72. ); + for (int jeta=0;jetaClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFnegativedirectionRecosignal2 = "<SetMarkerColor(2);HFnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignal2 == 1) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 2) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 3) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 4) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 5) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 6) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 7) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 8) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 == 9) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==10) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==11) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==12) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignal2 ==13) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionRecosignal2->Draw("Error"); + kcountHFnegativedirectionRecosignal2++; + if(kcountHFnegativedirectionRecosignal2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignal2) delete h2CeffHFnegativedirectionRecosignal2; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HF1"); + TH2F *recosignalVariance0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + TH2F* recosignalVarianceHF1 = (TH2F*)recosignalVariance1HF1->Clone("recosignalVarianceHF1"); + recosignalVarianceHF1->Divide(recosignalVariance1HF1,recosignalVariance0HF1, 1, 1, "B"); + TH2F *recosignalVariance1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HF2"); + TH2F *recosignalVariance0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + TH2F* recosignalVarianceHF2 = (TH2F*)recosignalVariance1HF2->Clone("recosignalVarianceHF2"); + recosignalVarianceHF2->Divide(recosignalVariance1HF2,recosignalVariance0HF2, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); + recosignalvarianceHF[1][jeta][jphi] = recosignalVarianceHF2->GetBinContent(jeta+1,jphi+1); + if(recosignalvarianceHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += recosignalvarianceHF[0][jeta][jphi];++nsumrecosignalHF0;} + if(recosignalvarianceHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += recosignalvarianceHF[1][jeta][jphi];++nsumrecosignalHF1;} + }// phi + // PHI normalization : + for(int jphi=0;jphi 0.) recosignalvarianceHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; + if(recosignalvarianceHF[1][jeta][jphi] > 0.) recosignalvarianceHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; + }// phi + // recosignalvarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDrecosignalHF42D = new TH2F("DefzDrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHF42D0 = new TH2F("DefzDrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDrecosignalHF42DF = (TH2F*)DefzDrecosignalHF42D0->Clone("DefzDrecosignalHF42DF"); + for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 + if(arecosignalHF[i][jeta][jphi]>0.) {DefzDrecosignalHF42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHF42D0 ->Fill(kkk,jphi,1.); } + }}} + DefzDrecosignalHF42DF->Divide(DefzDrecosignalHF42D,DefzDrecosignalHF42D0, 1, 1, "B");// average A + // DefzDrecosignalHF1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF42DF->SetMarkerStyle(20); DefzDrecosignalHF42DF->SetMarkerSize(0.4); DefzDrecosignalHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHF42DF->SetYTitle(" #phi \b"); DefzDrecosignalHF42DF->SetZTitle("_depth \b"); DefzDrecosignalHF42DF->SetMarkerColor(2); DefzDrecosignalHF42DF->SetLineColor(0); // DefzDrecosignalHF42DF->SetMaximum(1.000); // DefzDrecosignalHF42DF->SetMinimum(1.0); + DefzDrecosignalHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHF42D) delete DefzDrecosignalHF42D; + if (DefzDrecosignalHF42D0) delete DefzDrecosignalHF42D0; + if (DefzDrecosignalHF42DF) delete DefzDrecosignalHF42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDrecosignalHF41D = new TH1F("DefzDrecosignalHF41D","", nphi, 0., 72. ); + TH1F* DefzDrecosignalHF41D0 = new TH1F("DefzDrecosignalHF41D0","",nphi, 0., 72. ); + TH1F* DefzDrecosignalHF41DF = (TH1F*)DefzDrecosignalHF41D0->Clone("DefzDrecosignalHF41DF"); + + for (int jphi=0;jphi0.) {DefzDrecosignalHF41D ->Fill(jphi,ccc1); DefzDrecosignalHF41D0 ->Fill(jphi,1.); } + }}} + // DefzDrecosignalHF41D->Sumw2();DefzDrecosignalHF41D0->Sumw2(); + + DefzDrecosignalHF41DF->Divide(DefzDrecosignalHF41D,DefzDrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDrecosignalHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF41DF->SetMarkerStyle(20); DefzDrecosignalHF41DF->SetMarkerSize(1.4); DefzDrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF41DF->SetXTitle("#phi \b"); DefzDrecosignalHF41DF->SetYTitle(" \b"); DefzDrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHF41DF->SetMarkerColor(4); DefzDrecosignalHF41DF->SetLineColor(4);// DefzDrecosignalHF41DF->SetMinimum(0.8); DefzDrecosignalHF41DF->SetMinimum(-0.015); + DefzDrecosignalHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DrecosignalGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (DefzDrecosignalHF41D) delete DefzDrecosignalHF41D; + if (DefzDrecosignalHF41D0) delete DefzDrecosignalHF41D0; + if (DefzDrecosignalHF41DF) delete DefzDrecosignalHF41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignalD1=1; + TH1F* h2CeffHFpositivedirectionRecosignalD1 = new TH1F("h2CeffHFpositivedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignalD1 == 1) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 2) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 3) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 4) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 5) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 6) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 7) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 8) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 == 9) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==10) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==11) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==12) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionRecosignalD1 ==13) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignalD1->Draw("Error"); + kcountHFpositivedirectionRecosignalD1++; + if(kcountHFpositivedirectionRecosignalD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignalD1) delete h2CeffHFpositivedirectionRecosignalD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignalD2=1; + TH1F* h2CeffHFpositivedirectionRecosignalD2 = new TH1F("h2CeffHFpositivedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionRecosignalD2 == 1) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 2) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 3) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 4) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 5) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 6) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 7) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 8) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 == 9) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==10) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==11) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==12) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionRecosignalD2 ==13) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignalD2->Draw("Error"); + kcountHFpositivedirectionRecosignalD2++; + if(kcountHFpositivedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionRecosignalD2) delete h2CeffHFpositivedirectionRecosignalD2; + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignalD1=1; + TH1F* h2CeffHFnegativedirectionRecosignalD1 = new TH1F("h2CeffHFnegativedirectionRecosignalD1","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignalD1 == 1) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 2) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 3) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 4) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 5) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 6) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 7) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 8) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 == 9) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==10) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==11) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==12) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionRecosignalD1 ==13) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignalD1->Draw("Error"); + kcountHFnegativedirectionRecosignalD1++; + if(kcountHFnegativedirectionRecosignalD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignalD1) delete h2CeffHFnegativedirectionRecosignalD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignalD2=1; + TH1F* h2CeffHFnegativedirectionRecosignalD2 = new TH1F("h2CeffHFnegativedirectionRecosignalD2","", nphi, 0., 72. ); + + for (int jeta=0;jetaClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionRecosignalD2 == 1) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 2) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 3) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 4) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 5) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 6) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 7) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 8) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 == 9) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==10) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==11) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==12) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionRecosignalD2 ==13) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionRecosignalD2->Draw("Error"); + kcountHFnegativedirectionRecosignalD2++; + if(kcountHFnegativedirectionRecosignalD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41< 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionRecosignalD2) delete h2CeffHFnegativedirectionRecosignalD2; + + //===================================================================== END of Recosignal HF for phi-symmetry + //===================================================================== END of Recosignal HF for phi-symmetry + //===================================================================== END of Recosignal HF for phi-symmetry + //============================================================================================================ END of Recosignal for phi-symmetry + //============================================================================================================ END of Recosignal for phi-symmetry + //============================================================================================================ END of Recosignal for phi-symmetry + +////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start +////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start +////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start + //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB + //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double areconoiseHB[ndepth][njeta][njphi]; + double breconoiseHB[ndepth][njeta][njphi]; + double reconoisevarianceHB[ndepth][njeta][njphi]; + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HB recNoiseEnergy + TH2F *recNoiseEnergy1HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB1"); + TH2F *recNoiseEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + TH2F* recNoiseEnergyHB1 = (TH2F*)recNoiseEnergy1HB1->Clone("recNoiseEnergyHB1"); + recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1,recNoiseEnergy0HB1, 1, 1, "B"); + TH2F *recNoiseEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB2"); + TH2F *recNoiseEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + TH2F* recNoiseEnergyHB2 = (TH2F*)recNoiseEnergy1HB2->Clone("recNoiseEnergyHB2"); + recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2,recNoiseEnergy0HB2, 1, 1, "B"); + TH2F *recNoiseEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB3"); + TH2F *recNoiseEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + TH2F* recNoiseEnergyHB3 = (TH2F*)recNoiseEnergy1HB3->Clone("recNoiseEnergyHB3"); + recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3,recNoiseEnergy0HB3, 1, 1, "B"); + TH2F *recNoiseEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB4"); + TH2F *recNoiseEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + TH2F* recNoiseEnergyHB4 = (TH2F*)recNoiseEnergy1HB4->Clone("recNoiseEnergyHB4"); + recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4,recNoiseEnergy0HB4, 1, 1, "B"); + for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + //====================================================================== PHI normalization & put R into massive areconoiseHB + //preparation for PHI normalization: + double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + areconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); + areconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); + areconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); + breconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta+1,jphi+1); + breconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); + breconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); + breconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); + if(areconoiseHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += areconoiseHB[0][jeta][jphi];++nsumreconoiseHB0;} + if(areconoiseHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += areconoiseHB[1][jeta][jphi];++nsumreconoiseHB1;} + if(areconoiseHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += areconoiseHB[2][jeta][jphi];++nsumreconoiseHB2;} + if(areconoiseHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += areconoiseHB[3][jeta][jphi];++nsumreconoiseHB3;} + }// phi + // PHI normalization: DIF + for(int jphi=0;jphiClear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRreconoiseHB42D = new TH2F("GefzRreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHB42D0 = new TH2F("GefzRreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHB42DF = (TH2F*)GefzRreconoiseHB42D0->Clone("GefzRreconoiseHB42DF"); + for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHB42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzRreconoiseHB42DF->Divide(GefzRreconoiseHB42D,GefzRreconoiseHB42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHB42DF->SetYTitle(" #phi \b"); + GefzRreconoiseHB42DF->Draw("COLZ"); + + + c2x1->cd(2); + TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); + energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RreconoiseGeneralD2PhiSymmetryHB.png"); + c2x1->Clear(); + // clean-up + if (GefzRreconoiseHB42D) delete GefzRreconoiseHB42D; + if (GefzRreconoiseHB42D0) delete GefzRreconoiseHB42D0; + if (GefzRreconoiseHB42DF) delete GefzRreconoiseHB42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRreconoiseHB41D = new TH1F("GefzRreconoiseHB41D","", nphi, 0., 72. ); + TH1F* GefzRreconoiseHB41D0 = new TH1F("GefzRreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHB41DF = (TH1F*)GefzRreconoiseHB41D0->Clone("GefzRreconoiseHB41DF"); + for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHB41D0 ->Fill(jphi,1.); } + }}}} + GefzRreconoiseHB41DF->Divide(GefzRreconoiseHB41D,GefzRreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB41DF->SetMarkerStyle(20); GefzRreconoiseHB41DF->SetMarkerSize(1.4); GefzRreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHB41DF->SetXTitle("#phi \b"); GefzRreconoiseHB41DF->SetYTitle(" \b"); GefzRreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHB41DF->SetMarkerColor(4); GefzRreconoiseHB41DF->SetLineColor(4);//GefzRreconoiseHB41DF->SetMinimum(0.8); // GefzRreconoiseHB41DF->SetMaximum(1.000); + GefzRreconoiseHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RreconoiseGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (GefzRreconoiseHB41D) delete GefzRreconoiseHB41D; + if (GefzRreconoiseHB41D0) delete GefzRreconoiseHB41D0; + if (GefzRreconoiseHB41DF) delete GefzRreconoiseHB41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise1=1; + TH1F* h2CeffHBpositivedirectionReconoise1 = new TH1F("h2CeffHBpositivedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBpositivedirectionReconoise1 = "<SetMarkerColor(2);HBpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise1 == 1) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 2) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 3) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 4) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 5) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 6) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 7) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 8) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 == 9) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==10) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==11) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==12) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==13) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==14) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==15) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionReconoise1 ==16) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoise1->Draw("Error"); + kcountHBpositivedirectionReconoise1++; + if(kcountHBpositivedirectionReconoise1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise1) delete h2CeffHBpositivedirectionReconoise1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise2=1; + TH1F* h2CeffHBpositivedirectionReconoise2 = new TH1F("h2CeffHBpositivedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBpositivedirectionReconoise2 = "<SetMarkerColor(2);HBpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise2 == 1) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 2) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 3) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 4) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 5) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 6) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 7) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 8) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 == 9) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==10) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==11) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==12) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==13) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==14) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==15) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionReconoise2 ==16) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoise2->Draw("Error"); + kcountHBpositivedirectionReconoise2++; + if(kcountHBpositivedirectionReconoise2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise2) delete h2CeffHBpositivedirectionReconoise2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise3=1; + TH1F* h2CeffHBpositivedirectionReconoise3 = new TH1F("h2CeffHBpositivedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBpositivedirectionReconoise3 = "<SetMarkerColor(2);HBpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise3 == 1) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 2) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 3) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 4) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 5) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 6) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 7) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 8) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 == 9) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==10) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==11) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==12) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==13) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==14) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==15) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionReconoise3 ==16) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoise3->Draw("Error"); + kcountHBpositivedirectionReconoise3++; + if(kcountHBpositivedirectionReconoise3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise3) delete h2CeffHBpositivedirectionReconoise3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise4=1; + TH1F* h2CeffHBpositivedirectionReconoise4 = new TH1F("h2CeffHBpositivedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBpositivedirectionReconoise4 = "<SetMarkerColor(2);HBpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoise4 == 1) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 2) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 3) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 4) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 5) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 6) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 7) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 8) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 == 9) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==10) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==11) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==12) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==13) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==14) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==15) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionReconoise4 ==16) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoise4->Draw("Error"); + kcountHBpositivedirectionReconoise4++; + if(kcountHBpositivedirectionReconoise4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoise4) delete h2CeffHBpositivedirectionReconoise4; + + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise1=1; + TH1F* h2CeffHBnegativedirectionReconoise1 = new TH1F("h2CeffHBnegativedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBnegativedirectionReconoise1 = "<SetMarkerColor(2);HBnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise1 == 1) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 2) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 3) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 4) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 5) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 6) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 7) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 8) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 == 9) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==10) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==11) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==12) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==13) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==14) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==15) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionReconoise1 ==16) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoise1->Draw("Error"); + kcountHBnegativedirectionReconoise1++; + if(kcountHBnegativedirectionReconoise1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise1) delete h2CeffHBnegativedirectionReconoise1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise2=1; + TH1F* h2CeffHBnegativedirectionReconoise2 = new TH1F("h2CeffHBnegativedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBnegativedirectionReconoise2 = "<SetMarkerColor(2);HBnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise2 == 1) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 2) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 3) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 4) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 5) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 6) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 7) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 8) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 == 9) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==10) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==11) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==12) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==13) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==14) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==15) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if(kcountHBnegativedirectionReconoise2 ==16) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoise2->Draw("Error"); + kcountHBnegativedirectionReconoise2++; + if(kcountHBnegativedirectionReconoise2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise2) delete h2CeffHBnegativedirectionReconoise2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise3=1; + TH1F* h2CeffHBnegativedirectionReconoise3 = new TH1F("h2CeffHBnegativedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBnegativedirectionReconoise3 = "<SetMarkerColor(2);HBnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise3 == 1) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 2) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 3) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 4) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 5) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 6) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 7) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 8) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 == 9) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==10) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==11) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==12) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==13) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==14) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==15) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if(kcountHBnegativedirectionReconoise3 ==16) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoise3->Draw("Error"); + kcountHBnegativedirectionReconoise3++; + if(kcountHBnegativedirectionReconoise3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise3) delete h2CeffHBnegativedirectionReconoise3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise4=1; + TH1F* h2CeffHBnegativedirectionReconoise4 = new TH1F("h2CeffHBnegativedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBnegativedirectionReconoise4 = "<SetMarkerColor(2);HBnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoise4 == 1) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 2) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 3) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 4) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 5) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 6) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 7) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 8) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 == 9) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==10) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==11) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==12) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==13) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==14) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==15) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if(kcountHBnegativedirectionReconoise4 ==16) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoise4->Draw("Error"); + kcountHBnegativedirectionReconoise4++; + if(kcountHBnegativedirectionReconoise4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoise4) delete h2CeffHBnegativedirectionReconoise4; + + //====================================================================================================================== + // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HE + //====================================================================================================================== + //====================================================================== + //cout<<" R2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzDIFreconoiseHB42D = new TH2F("GefzDIFreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHB42D0 = new TH2F("GefzDIFreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHB42DF = (TH2F*)GefzDIFreconoiseHB42D0->Clone("GefzDIFreconoiseHB42DF"); + for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzDIFreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHB42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzDIFreconoiseHB42DF->Divide(GefzDIFreconoiseHB42D,GefzDIFreconoiseHB42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHB42DF->SetYTitle(" #phi \b"); + GefzDIFreconoiseHB42DF->Draw("COLZ"); + + + // c2x1->cd(2); + // TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); + // energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHB.png"); + c2x1->Clear(); + // clean-up + if (GefzDIFreconoiseHB42D) delete GefzDIFreconoiseHB42D; + if (GefzDIFreconoiseHB42D0) delete GefzDIFreconoiseHB42D0; + if (GefzDIFreconoiseHB42DF) delete GefzDIFreconoiseHB42DF; + //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzDIFreconoiseHB41D = new TH1F("GefzDIFreconoiseHB41D","", nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHB41D0 = new TH1F("GefzDIFreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHB41DF = (TH1F*)GefzDIFreconoiseHB41D0->Clone("GefzDIFreconoiseHB41DF"); + for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHB41D0 ->Fill(jphi,1.); } + }}}} + GefzDIFreconoiseHB41DF->Divide(GefzDIFreconoiseHB41D,GefzDIFreconoiseHB41D0, 1, 1, "B");// DIF averaged over depthfs & eta + GefzDIFreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB41DF->SetMarkerStyle(20); GefzDIFreconoiseHB41DF->SetMarkerSize(1.4); GefzDIFreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHB41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHB41DF->SetYTitle(" \b"); GefzDIFreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHB41DF->SetMarkerColor(4); GefzDIFreconoiseHB41DF->SetLineColor(4);//GefzDIFreconoiseHB41DF->SetMinimum(0.8); // GefzDIFreconoiseHB41DF->SetMaximum(1.000); + GefzDIFreconoiseHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (GefzDIFreconoiseHB41D) delete GefzDIFreconoiseHB41D; + if (GefzDIFreconoiseHB41D0) delete GefzDIFreconoiseHB41D0; + if (GefzDIFreconoiseHB41DF) delete GefzDIFreconoiseHB41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF1=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF1 == 1) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 2) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 3) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 4) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 5) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 6) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 7) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 8) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 == 9) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==10) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==11) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==12) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==13) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==14) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==15) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseDIF1 ==16) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF1++; + if(kcountHBpositivedirectionReconoiseDIF1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF1) delete h2CeffHBpositivedirectionReconoiseDIF1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF2=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF2 == 1) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 2) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 3) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 4) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 5) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 6) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 7) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 8) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 == 9) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==10) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==11) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==12) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==13) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==14) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==15) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseDIF2 ==16) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF2++; + if(kcountHBpositivedirectionReconoiseDIF2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF2) delete h2CeffHBpositivedirectionReconoiseDIF2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF3=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF3 == 1) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 2) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 3) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 4) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 5) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 6) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 7) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 8) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 == 9) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==10) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==11) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==12) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==13) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==14) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==15) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseDIF3 ==16) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF3++; + if(kcountHBpositivedirectionReconoiseDIF3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF3) delete h2CeffHBpositivedirectionReconoiseDIF3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF4=1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseDIF4 == 1) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 2) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 3) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 4) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 5) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 6) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 7) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 8) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 == 9) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==10) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==11) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==12) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==13) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==14) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==15) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseDIF4 ==16) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF4++; + if(kcountHBpositivedirectionReconoiseDIF4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseDIF4) delete h2CeffHBpositivedirectionReconoiseDIF4; + + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF1=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHBnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF1 == 1) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -16; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 2) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -15; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 3) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -14; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 4) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -13; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 5) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -12; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 6) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -11; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 7) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -10; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 8) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -9; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 == 9) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -8; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==10) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -7; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==11) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -6; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==12) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -5; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==13) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -4; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==14) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -3; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==15) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -2; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseDIF1 ==16) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF1++; + if(kcountHBnegativedirectionReconoiseDIF1>16) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF1) delete h2CeffHBnegativedirectionReconoiseDIF1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF2=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHBnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF2 == 1) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -16; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 2) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -15; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 3) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -14; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 4) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -13; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 5) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -12; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 6) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -11; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 7) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -10; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 8) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -9; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 == 9) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -8; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==10) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -7; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==11) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -6; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==12) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -5; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==13) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -4; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==14) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -3; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==15) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -2; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseDIF2 ==16) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF2++; + if(kcountHBnegativedirectionReconoiseDIF2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF2) delete h2CeffHBnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF3=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHBnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF3 == 1) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -16; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 2) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -15; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 3) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -14; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 4) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -13; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 5) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -12; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 6) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -11; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 7) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -10; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 8) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -9; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 == 9) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -8; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==10) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -7; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==11) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -6; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==12) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -5; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==13) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -4; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==14) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -3; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==15) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -2; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseDIF3 ==16) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF3++; + if(kcountHBnegativedirectionReconoiseDIF3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF3) delete h2CeffHBnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF4=1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHBnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseDIF4 == 1) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -16; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 2) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -15; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 3) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -14; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 4) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -13; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 5) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -12; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 6) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -11; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 7) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -10; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 8) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -9; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 == 9) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -8; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==10) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -7; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==11) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -6; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==12) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -5; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==13) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -4; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==14) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -3; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==15) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -2; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseDIF4 ==16) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF4++; + if(kcountHBnegativedirectionReconoiseDIF4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0 ) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseDIF4) delete h2CeffHBnegativedirectionReconoiseDIF4; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HB1"); + TH2F *reconoiseVariance0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + TH2F* reconoiseVarianceHB1 = (TH2F*)reconoiseVariance1HB1->Clone("reconoiseVarianceHB1"); + reconoiseVarianceHB1->Divide(reconoiseVariance1HB1,reconoiseVariance0HB1, 1, 1, "B"); + TH2F *reconoiseVariance1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB2"); + TH2F *reconoiseVariance0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + TH2F* reconoiseVarianceHB2 = (TH2F*)reconoiseVariance1HB2->Clone("reconoiseVarianceHB2"); + reconoiseVarianceHB2->Divide(reconoiseVariance1HB2,reconoiseVariance0HB2, 1, 1, "B"); + TH2F *reconoiseVariance1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB3"); + TH2F *reconoiseVariance0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + TH2F* reconoiseVarianceHB3 = (TH2F*)reconoiseVariance1HB3->Clone("reconoiseVarianceHB3"); + reconoiseVarianceHB3->Divide(reconoiseVariance1HB3,reconoiseVariance0HB3, 1, 1, "B"); + TH2F *reconoiseVariance1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB4"); + TH2F *reconoiseVariance0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + TH2F* reconoiseVarianceHB4 = (TH2F*)reconoiseVariance1HB4->Clone("reconoiseVarianceHB4"); + reconoiseVarianceHB4->Divide(reconoiseVariance1HB4,reconoiseVariance0HB4, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + //preparation for PHI normalization: + double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + reconoisevarianceHB[1][jeta][jphi] = reconoiseVarianceHB2->GetBinContent(jeta+1,jphi+1); + reconoisevarianceHB[2][jeta][jphi] = reconoiseVarianceHB3->GetBinContent(jeta+1,jphi+1); + reconoisevarianceHB[3][jeta][jphi] = reconoiseVarianceHB4->GetBinContent(jeta+1,jphi+1); + if(reconoisevarianceHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += reconoisevarianceHB[0][jeta][jphi];++nsumreconoiseHB0;} + if(reconoisevarianceHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += reconoisevarianceHB[1][jeta][jphi];++nsumreconoiseHB1;} + if(reconoisevarianceHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += reconoisevarianceHB[2][jeta][jphi];++nsumreconoiseHB2;} + if(reconoisevarianceHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += reconoisevarianceHB[3][jeta][jphi];++nsumreconoiseHB3;} + }// phi + // PHI normalization : + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDreconoiseHB42D = new TH2F("DefzDreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHB42D0 = new TH2F("DefzDreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHB42DF = (TH2F*)DefzDreconoiseHB42D0->Clone("DefzDreconoiseHB42DF"); + for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 + if(areconoiseHB[i][jeta][jphi]>0.) {DefzDreconoiseHB42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHB42D0 ->Fill(kkk,jphi,1.); } + }}}} + DefzDreconoiseHB42DF->Divide(DefzDreconoiseHB42D,DefzDreconoiseHB42D0, 1, 1, "B");// average A + // DefzDreconoiseHB1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB42DF->SetMarkerStyle(20); DefzDreconoiseHB42DF->SetMarkerSize(0.4); DefzDreconoiseHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHB42DF->SetYTitle(" #phi \b"); DefzDreconoiseHB42DF->SetZTitle("_depth \b"); DefzDreconoiseHB42DF->SetMarkerColor(2); DefzDreconoiseHB42DF->SetLineColor(0); // DefzDreconoiseHB42DF->SetMaximum(1.000); // DefzDreconoiseHB42DF->SetMinimum(1.0); + DefzDreconoiseHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHB42D) delete DefzDreconoiseHB42D; + if (DefzDreconoiseHB42D0) delete DefzDreconoiseHB42D0; + if (DefzDreconoiseHB42DF) delete DefzDreconoiseHB42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDreconoiseHB41D = new TH1F("DefzDreconoiseHB41D","", nphi, 0., 72. ); + TH1F* DefzDreconoiseHB41D0 = new TH1F("DefzDreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* DefzDreconoiseHB41DF = (TH1F*)DefzDreconoiseHB41D0->Clone("DefzDreconoiseHB41DF"); + + for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + for (int i=0;i0.) {DefzDreconoiseHB41D ->Fill(jphi,ccc1); DefzDreconoiseHB41D0 ->Fill(jphi,1.); } + }}}} + // DefzDreconoiseHB41D->Sumw2();DefzDreconoiseHB41D0->Sumw2(); + + DefzDreconoiseHB41DF->Divide(DefzDreconoiseHB41D,DefzDreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB41DF->SetMarkerStyle(20); DefzDreconoiseHB41DF->SetMarkerSize(1.4); DefzDreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB41DF->SetXTitle("#phi \b"); DefzDreconoiseHB41DF->SetYTitle(" \b"); DefzDreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHB41DF->SetMarkerColor(4); DefzDreconoiseHB41DF->SetLineColor(4); //DefzDreconoiseHB41DF->SetMinimum(0.8); DefzDreconoiseHB41DF->SetMinimum(-0.015); + DefzDreconoiseHB41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DreconoiseGeneralD1PhiSymmetryHB.png"); + c1x1->Clear(); + // clean-up + if (DefzDreconoiseHB41D) delete DefzDreconoiseHB41D; + if (DefzDreconoiseHB41D0) delete DefzDreconoiseHB41D0; + if (DefzDreconoiseHB41DF) delete DefzDreconoiseHB41DF; + + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD1=1; + TH1F* h2CeffHBpositivedirectionReconoiseD1 = new TH1F("h2CeffHBpositivedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD1 == 1) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 2) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 3) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 4) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 5) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 6) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 7) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 8) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 == 9) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==10) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==11) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==12) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==13) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==14) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==15) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if(kcountHBpositivedirectionReconoiseD1 ==16) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseD1->Draw("Error"); + kcountHBpositivedirectionReconoiseD1++; + if(kcountHBpositivedirectionReconoiseD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD1) delete h2CeffHBpositivedirectionReconoiseD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD2=1; + TH1F* h2CeffHBpositivedirectionReconoiseD2 = new TH1F("h2CeffHBpositivedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD2 == 1) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 2) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 3) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 4) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 5) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 6) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 7) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 8) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 == 9) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==10) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==11) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==12) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==13) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==14) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==15) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if(kcountHBpositivedirectionReconoiseD2 ==16) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseD2->Draw("Error"); + kcountHBpositivedirectionReconoiseD2++; + if(kcountHBpositivedirectionReconoiseD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD2) delete h2CeffHBpositivedirectionReconoiseD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD3=1; + TH1F* h2CeffHBpositivedirectionReconoiseD3 = new TH1F("h2CeffHBpositivedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD3 == 1) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 2) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 3) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 4) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 5) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 6) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 7) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 8) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 == 9) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==10) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==11) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==12) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==13) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==14) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==15) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if(kcountHBpositivedirectionReconoiseD3 ==16) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseD3->Draw("Error"); + kcountHBpositivedirectionReconoiseD3++; + if(kcountHBpositivedirectionReconoiseD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD3) delete h2CeffHBpositivedirectionReconoiseD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD4=1; + TH1F* h2CeffHBpositivedirectionReconoiseD4 = new TH1F("h2CeffHBpositivedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBpositivedirectionReconoiseD4 == 1) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 2) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 3) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 4) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 5) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 6) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 7) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 8) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 == 9) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==10) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==11) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==12) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==13) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==14) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==15) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if(kcountHBpositivedirectionReconoiseD4 ==16) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseD4->Draw("Error"); + kcountHBpositivedirectionReconoiseD4++; + if(kcountHBpositivedirectionReconoiseD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBpositivedirectionReconoiseD4) delete h2CeffHBpositivedirectionReconoiseD4; + + + //========================================================================================== 22214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD1=1; + TH1F* h2CeffHBnegativedirectionReconoiseD1 = new TH1F("h2CeffHBnegativedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHBnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD1 == 1) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 2) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 3) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 4) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 5) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 6) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 7) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 8) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 == 9) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==10) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==11) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==12) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==13) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==14) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==15) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); + if(kcountHBnegativedirectionReconoiseD1 ==16) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); + HBnegativedirectionReconoiseD1->Draw("Error"); + kcountHBnegativedirectionReconoiseD1++; + if(kcountHBnegativedirectionReconoiseD1>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD1) delete h2CeffHBnegativedirectionReconoiseD1; + //========================================================================================== 22215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD2=1; + TH1F* h2CeffHBnegativedirectionReconoiseD2 = new TH1F("h2CeffHBnegativedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHBnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD2 == 1) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 2) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 3) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 4) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 5) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 6) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 7) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 8) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 == 9) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==10) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==11) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==12) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==13) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==14) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==15) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); + if(kcountHBnegativedirectionReconoiseD2 ==16) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); + HBnegativedirectionReconoiseD2->Draw("Error"); + kcountHBnegativedirectionReconoiseD2++; + if(kcountHBnegativedirectionReconoiseD2>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD2) delete h2CeffHBnegativedirectionReconoiseD2; + //========================================================================================== 22216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD3=1; + TH1F* h2CeffHBnegativedirectionReconoiseD3 = new TH1F("h2CeffHBnegativedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHBnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD3 == 1) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 2) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 3) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 4) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 5) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 6) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 7) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 8) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 == 9) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==10) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==11) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==12) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==13) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==14) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==15) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); + if(kcountHBnegativedirectionReconoiseD3 ==16) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); + HBnegativedirectionReconoiseD3->Draw("Error"); + kcountHBnegativedirectionReconoiseD3++; + if(kcountHBnegativedirectionReconoiseD3>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD3) delete h2CeffHBnegativedirectionReconoiseD3; + //========================================================================================== 22217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(4,4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD4=1; + TH1F* h2CeffHBnegativedirectionReconoiseD4 = new TH1F("h2CeffHBnegativedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHBnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHBnegativedirectionReconoiseD4 == 1) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 2) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 3) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 4) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 5) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 6) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 7) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 8) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 == 9) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==10) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==11) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==12) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==13) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==14) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==15) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); + if(kcountHBnegativedirectionReconoiseD4 ==16) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); + HBnegativedirectionReconoiseD4->Draw("Error"); + kcountHBnegativedirectionReconoiseD4++; + if(kcountHBnegativedirectionReconoiseD4>16) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHBnegativedirectionReconoiseD4) delete h2CeffHBnegativedirectionReconoiseD4; + + + + + //===================================================================== END of Reconoise HB for phi-symmetry + //===================================================================== END of Reconoise HB for phi-symmetry + //===================================================================== END of Reconoise HB for phi-symmetry + + + + + + + + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double areconoisehe[ndepth][njeta][njphi]; + double breconoisehe[ndepth][njeta][njphi]; + double reconoisevariancehe[ndepth][njeta][njphi]; + //////////////////////////////////////////////////////////////////////////////////////////////////////////// + TH2F *recNoiseEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE1"); + TH2F *recNoiseEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + TH2F* recNoiseEnergyHE1 = (TH2F*)recNoiseEnergy1HE1->Clone("recNoiseEnergyHE1"); + recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1,recNoiseEnergy0HE1, 1, 1, "B"); + TH2F *recNoiseEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE2"); + TH2F *recNoiseEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + TH2F* recNoiseEnergyHE2 = (TH2F*)recNoiseEnergy1HE2->Clone("recNoiseEnergyHE2"); + recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2,recNoiseEnergy0HE2, 1, 1, "B"); + TH2F *recNoiseEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE3"); + TH2F *recNoiseEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + TH2F* recNoiseEnergyHE3 = (TH2F*)recNoiseEnergy1HE3->Clone("recNoiseEnergyHE3"); + recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3,recNoiseEnergy0HE3, 1, 1, "B"); + TH2F *recNoiseEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE4"); + TH2F *recNoiseEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + TH2F* recNoiseEnergyHE4 = (TH2F*)recNoiseEnergy1HE4->Clone("recNoiseEnergyHE4"); + recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4,recNoiseEnergy0HE4, 1, 1, "B"); + TH2F *recNoiseEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE5"); + TH2F *recNoiseEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + TH2F* recNoiseEnergyHE5 = (TH2F*)recNoiseEnergy1HE5->Clone("recNoiseEnergyHE5"); + recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5,recNoiseEnergy0HE5, 1, 1, "B"); + TH2F *recNoiseEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE6"); + TH2F *recNoiseEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + TH2F* recNoiseEnergyHE6 = (TH2F*)recNoiseEnergy1HE6->Clone("recNoiseEnergyHE6"); + recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6,recNoiseEnergy0HE6, 1, 1, "B"); + TH2F *recNoiseEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE7"); + TH2F *recNoiseEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + TH2F* recNoiseEnergyHE7 = (TH2F*)recNoiseEnergy1HE7->Clone("recNoiseEnergyHE7"); + recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7,recNoiseEnergy0HE7, 1, 1, "B"); + for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + //====================================================================== PHI normalization & put R into massive areconoisehe + //preparation for PHI normalization: + double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; + double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + areconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); + areconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); + areconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); + areconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); + areconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); + areconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); + + breconoisehe[0][jeta][jphi] = recNoiseEnergyHE1->GetBinContent(jeta+1,jphi+1); + breconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); + breconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); + breconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); + breconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); + breconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); + breconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); + + if(areconoisehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += areconoisehe[0][jeta][jphi];++nsumreconoiseHE0;} + if(areconoisehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += areconoisehe[1][jeta][jphi];++nsumreconoiseHE1;} + if(areconoisehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += areconoisehe[2][jeta][jphi];++nsumreconoiseHE2;} + if(areconoisehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += areconoisehe[3][jeta][jphi];++nsumreconoiseHE3;} + if(areconoisehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += areconoisehe[4][jeta][jphi];++nsumreconoiseHE4;} + if(areconoisehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += areconoisehe[5][jeta][jphi];++nsumreconoiseHE5;} + if(areconoisehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += areconoisehe[6][jeta][jphi];++nsumreconoiseHE6;} + }// phi + + // PHI normalization for DIF: + for(int jphi=0;jphi= + }//eta + //------------------------ 2D-eta/phi-plot: R, averaged over depthes + //====================================================================== + // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HE + //====================================================================== + c2x1->Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRreconoiseHE42D = new TH2F("GefzRreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHE42D0 = new TH2F("GefzRreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHE42DF = (TH2F*)GefzRreconoiseHE42D0->Clone("GefzRreconoiseHE42DF"); + for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHE42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzRreconoiseHE42DF->Divide(GefzRreconoiseHE42D,GefzRreconoiseHE42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHE42DF->SetYTitle(" #phi \b"); + GefzRreconoiseHE42DF->Draw("COLZ"); + + + c2x1->cd(2); + TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); + energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); + + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RreconoiseGeneralD2PhiSymmetryHE.png"); + c2x1->Clear(); + // clean-up + if (GefzRreconoiseHE42D) delete GefzRreconoiseHE42D; + if (GefzRreconoiseHE42D0) delete GefzRreconoiseHE42D0; + if (GefzRreconoiseHE42DF) delete GefzRreconoiseHE42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRreconoiseHE41D = new TH1F("GefzRreconoiseHE41D","", nphi, 0., 72. ); + TH1F* GefzRreconoiseHE41D0 = new TH1F("GefzRreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHE41DF = (TH1F*)GefzRreconoiseHE41D0->Clone("GefzRreconoiseHE41DF"); + for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHE41D0 ->Fill(jphi,1.); } + }}}} + GefzRreconoiseHE41DF->Divide(GefzRreconoiseHE41D,GefzRreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta + GefzRreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE41DF->SetMarkerStyle(20); GefzRreconoiseHE41DF->SetMarkerSize(1.4); GefzRreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHE41DF->SetXTitle("#phi \b"); GefzRreconoiseHE41DF->SetYTitle(" \b"); GefzRreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRreconoiseHE41DF->SetMarkerColor(4); GefzRreconoiseHE41DF->SetLineColor(4); // GefzRreconoiseHE41DF->SetMinimum(0.8); // GefzRreconoiseHE41DF->SetMaximum(1.000); + GefzRreconoiseHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RreconoiseGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (GefzRreconoiseHE41D) delete GefzRreconoiseHE41D; + if (GefzRreconoiseHE41D0) delete GefzRreconoiseHE41D0; + if (GefzRreconoiseHE41DF) delete GefzRreconoiseHE41DF; + + + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise1=1; + TH1F* h2CeffHEpositivedirectionReconoise1 = new TH1F("h2CeffHEpositivedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEpositivedirectionReconoise1 = "<SetMarkerColor(2);HEpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise1 == 1) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 2) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 3) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 4) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 5) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 6) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 7) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 8) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 == 9) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 ==10) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 ==11) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionReconoise1 ==12) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoise1->Draw("Error"); + kcountHEpositivedirectionReconoise1++; + if(kcountHEpositivedirectionReconoise1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 15 && jeta-41 <= 28 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise1) delete h2CeffHEpositivedirectionReconoise1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise2=1; + TH1F* h2CeffHEpositivedirectionReconoise2 = new TH1F("h2CeffHEpositivedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEpositivedirectionReconoise2 = "<SetMarkerColor(2);HEpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise2 == 1) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 2) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 3) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 4) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 5) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 6) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 7) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 8) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 == 9) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==10) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==11) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==12) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionReconoise2 ==13) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoise2->Draw("Error"); + kcountHEpositivedirectionReconoise2++; + if(kcountHEpositivedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise2) delete h2CeffHEpositivedirectionReconoise2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise3=1; + TH1F* h2CeffHEpositivedirectionReconoise3 = new TH1F("h2CeffHEpositivedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEpositivedirectionReconoise3 = "<SetMarkerColor(2);HEpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise3 == 1) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 2) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 3) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 4) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 5) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 6) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 7) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 8) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 == 9) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==10) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==11) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==12) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionReconoise3 ==13) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoise3->Draw("Error"); + kcountHEpositivedirectionReconoise3++; + if(kcountHEpositivedirectionReconoise3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise3) delete h2CeffHEpositivedirectionReconoise3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise4=1; + TH1F* h2CeffHEpositivedirectionReconoise4 = new TH1F("h2CeffHEpositivedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEpositivedirectionReconoise4 = "<SetMarkerColor(2);HEpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise4 == 1) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 2) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 3) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 4) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 5) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 6) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 7) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 8) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 == 9) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 ==10) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 ==11) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionReconoise4 ==12) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoise4->Draw("Error"); + kcountHEpositivedirectionReconoise4++; + if(kcountHEpositivedirectionReconoise4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise4) delete h2CeffHEpositivedirectionReconoise4; + //========================================================================================== 8 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise5=1; + TH1F* h2CeffHEpositivedirectionReconoise5 = new TH1F("h2CeffHEpositivedirectionReconoise5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise5 == 1) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 2) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 3) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 4) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 5) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 6) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 7) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 8) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 == 9) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 ==10) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionReconoise5 ==11) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoise5->Draw("Error"); + kcountHEpositivedirectionReconoise5++; + if(kcountHEpositivedirectionReconoise5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise5) delete h2CeffHEpositivedirectionReconoise5; + //========================================================================================== 9 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise6=1; + TH1F* h2CeffHEpositivedirectionReconoise6 = new TH1F("h2CeffHEpositivedirectionReconoise6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEpositivedirectionReconoise6 = "<SetMarkerColor(2);HEpositivedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise6 == 1) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 2) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 3) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 4) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 5) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 6) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 7) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 8) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 == 9) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionReconoise6 ==10) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoise6->Draw("Error"); + kcountHEpositivedirectionReconoise6++; + if(kcountHEpositivedirectionReconoise6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise6) delete h2CeffHEpositivedirectionReconoise6; + //========================================================================================== 10 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise7=1; + TH1F* h2CeffHEpositivedirectionReconoise7 = new TH1F("h2CeffHEpositivedirectionReconoise7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEpositivedirectionReconoise7 = "<SetMarkerColor(2);HEpositivedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoise7 == 1) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionReconoise7 == 2) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionReconoise7 == 3) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoise7->Draw("Error"); + kcountHEpositivedirectionReconoise7++; + if(kcountHEpositivedirectionReconoise7>3) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoise7) delete h2CeffHEpositivedirectionReconoise7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise1=1; + TH1F* h2CeffHEnegativedirectionReconoise1 = new TH1F("h2CeffHEnegativedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEnegativedirectionReconoise1 = "<SetMarkerColor(2);HEnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise1 == 1) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 2) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 3) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 4) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 5) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 6) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 7) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 8) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 == 9) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 ==10) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 ==11) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionReconoise1 ==12) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoise1->Draw("Error"); + kcountHEnegativedirectionReconoise1++; + if(kcountHEnegativedirectionReconoise1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise1) delete h2CeffHEnegativedirectionReconoise1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise2=1; + TH1F* h2CeffHEnegativedirectionReconoise2 = new TH1F("h2CeffHEnegativedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEnegativedirectionReconoise2 = "<SetMarkerColor(2);HEnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise2 == 1) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 2) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 3) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 4) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 5) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 6) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 7) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 8) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 == 9) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==10) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==11) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==12) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionReconoise2 ==13) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoise2->Draw("Error"); + kcountHEnegativedirectionReconoise2++; + if(kcountHEnegativedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise2) delete h2CeffHEnegativedirectionReconoise2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise3=1; + TH1F* h2CeffHEnegativedirectionReconoise3 = new TH1F("h2CeffHEnegativedirectionReconoise3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEnegativedirectionReconoise3 = "<SetMarkerColor(2);HEnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise3 == 1) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 2) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 3) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 4) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 5) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 6) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 7) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 8) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 == 9) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==10) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==11) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==12) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionReconoise3 ==13) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoise3->Draw("Error"); + kcountHEnegativedirectionReconoise3++; + if(kcountHEnegativedirectionReconoise3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise3) delete h2CeffHEnegativedirectionReconoise3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise4=1; + TH1F* h2CeffHEnegativedirectionReconoise4 = new TH1F("h2CeffHEnegativedirectionReconoise4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEnegativedirectionReconoise4 = "<SetMarkerColor(2);HEnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise4 == 1) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 2) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 3) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 4) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 5) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 6) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 7) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 8) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 == 9) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 ==10) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 ==11) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionReconoise4 ==12) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoise4->Draw("Error"); + kcountHEnegativedirectionReconoise4++; + if(kcountHEnegativedirectionReconoise4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise4) delete h2CeffHEnegativedirectionReconoise4; + //========================================================================================== 1118 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise5=1; + TH1F* h2CeffHEnegativedirectionReconoise5 = new TH1F("h2CeffHEnegativedirectionReconoise5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise5 == 1) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 2) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 3) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 4) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 5) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 6) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 7) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 8) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 == 9) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 ==10) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionReconoise5 ==11) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoise5->Draw("Error"); + kcountHEnegativedirectionReconoise5++; + if(kcountHEnegativedirectionReconoise5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise5) delete h2CeffHEnegativedirectionReconoise5; + //========================================================================================== 1119 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise6=1; + TH1F* h2CeffHEnegativedirectionReconoise6 = new TH1F("h2CeffHEnegativedirectionReconoise6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEnegativedirectionReconoise6 = "<SetMarkerColor(2);HEnegativedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise6 == 1) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 2) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 3) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 4) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 5) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 6) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 7) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 8) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 == 9) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionReconoise6 ==10) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoise6->Draw("Error"); + kcountHEnegativedirectionReconoise6++; + if(kcountHEnegativedirectionReconoise6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise6) delete h2CeffHEnegativedirectionReconoise6; + //========================================================================================== 11110 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise7=1; + TH1F* h2CeffHEnegativedirectionReconoise7 = new TH1F("h2CeffHEnegativedirectionReconoise7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEnegativedirectionReconoise7 = "<SetMarkerColor(2);HEnegativedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoise7 == 1) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionReconoise7 == 2) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionReconoise7 == 3) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoise7->Draw("Error"); + kcountHEnegativedirectionReconoise7++; + if(kcountHEnegativedirectionReconoise7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoise7) delete h2CeffHEnegativedirectionReconoise7; + + //====================================================================================================================== + //====================================================================================================================== + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //====================================================================================================================== + // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HE + //====================================================================================================================== + //====================================================================== + c2x1->Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzDIFreconoiseHE42D = new TH2F("GefzDIFreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHE42D0 = new TH2F("GefzDIFreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHE42DF = (TH2F*)GefzDIFreconoiseHE42D0->Clone("GefzDIFreconoiseHE42DF"); + for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzDIFreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHE42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzDIFreconoiseHE42DF->Divide(GefzDIFreconoiseHE42D,GefzDIFreconoiseHE42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHE42DF->SetYTitle(" #phi \b"); + GefzDIFreconoiseHE42DF->Draw("COLZ"); + + + //c2x1->cd(2); + //TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); + //energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); + + + + + ///////////////// + c2x1->Update(); + c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHE.png"); + c2x1->Clear(); + // clean-up + if (GefzDIFreconoiseHE42D) delete GefzDIFreconoiseHE42D; + if (GefzDIFreconoiseHE42D0) delete GefzDIFreconoiseHE42D0; + if (GefzDIFreconoiseHE42DF) delete GefzDIFreconoiseHE42DF; + //====================================================================== 1D plot: DIF vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: DIF vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzDIFreconoiseHE41D = new TH1F("GefzDIFreconoiseHE41D","", nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHE41D0 = new TH1F("GefzDIFreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHE41DF = (TH1F*)GefzDIFreconoiseHE41D0->Clone("GefzDIFreconoiseHE41DF"); + for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHE41D0 ->Fill(jphi,1.); } + }}}} + GefzDIFreconoiseHE41DF->Divide(GefzDIFreconoiseHE41D,GefzDIFreconoiseHE41D0, 1, 1, "B");// DIF averaged over depthes & eta + GefzDIFreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE41DF->SetMarkerStyle(20); GefzDIFreconoiseHE41DF->SetMarkerSize(1.4); GefzDIFreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHE41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHE41DF->SetYTitle(" \b"); GefzDIFreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzDIFreconoiseHE41DF->SetMarkerColor(4); GefzDIFreconoiseHE41DF->SetLineColor(4); // GefzDIFreconoiseHE41DF->SetMinimum(0.8); // GefzDIFreconoiseHE41DF->SetMaximum(1.000); + GefzDIFreconoiseHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (GefzDIFreconoiseHE41D) delete GefzDIFreconoiseHE41D; + if (GefzDIFreconoiseHE41D0) delete GefzDIFreconoiseHE41D0; + if (GefzDIFreconoiseHE41DF) delete GefzDIFreconoiseHE41DF; + + + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF1=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF1 == 1) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 2) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 3) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 4) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 5) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 6) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 7) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 8) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 == 9) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 ==10) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 ==11) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseDIF1 ==12) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF1++; + if(kcountHEpositivedirectionReconoiseDIF1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 15 && jeta-41 <= 28 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF1) delete h2CeffHEpositivedirectionReconoiseDIF1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF2=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF2 == 1) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 2) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 3) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 4) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 5) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 6) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 7) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 8) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 == 9) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==10) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==11) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==12) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseDIF2 ==13) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF2++; + if(kcountHEpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF2) delete h2CeffHEpositivedirectionReconoiseDIF2; + //========================================================================================== 6 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF3=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF3 == 1) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 2) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 3) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 4) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 5) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 6) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 7) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 8) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 == 9) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==10) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==11) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==12) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseDIF3 ==13) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF3++; + if(kcountHEpositivedirectionReconoiseDIF3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF3) delete h2CeffHEpositivedirectionReconoiseDIF3; + //========================================================================================== 7 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF4=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF4 == 1) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 2) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 3) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 4) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 5) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 6) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 7) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 8) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 == 9) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 ==10) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 ==11) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseDIF4 ==12) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF4++; + if(kcountHEpositivedirectionReconoiseDIF4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF4) delete h2CeffHEpositivedirectionReconoiseDIF4; + //========================================================================================== 8 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF5=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF5 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF5 == 1) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 2) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 3) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 4) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 5) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 6) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 7) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 8) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 == 9) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 ==10) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseDIF5 ==11) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseDIF5->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF5++; + if(kcountHEpositivedirectionReconoiseDIF5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF5) delete h2CeffHEpositivedirectionReconoiseDIF5; + //========================================================================================== 9 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF6=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF6 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEpositivedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF6 == 1) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 2) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 3) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 4) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 5) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 6) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 7) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 8) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 == 9) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseDIF6 ==10) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseDIF6->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF6++; + if(kcountHEpositivedirectionReconoiseDIF6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF6) delete h2CeffHEpositivedirectionReconoiseDIF6; + //========================================================================================== 10 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF7=1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF7 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEpositivedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseDIF7 == 1) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseDIF7 == 2) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseDIF7 == 3) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseDIF7->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF7++; + if(kcountHEpositivedirectionReconoiseDIF7>3) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseDIF7) delete h2CeffHEpositivedirectionReconoiseDIF7; + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //========================================================================================== 1114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF1=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHEnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF1 == 1) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 2) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 3) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 4) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 5) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 6) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 7) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 8) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 == 9) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 ==10) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 ==11) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseDIF1 ==12) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF1++; + if(kcountHEnegativedirectionReconoiseDIF1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF1) delete h2CeffHEnegativedirectionReconoiseDIF1; + + + //========================================================================================== 1115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF2=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHEnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF2 == 1) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 2) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 3) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 4) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 5) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 6) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 7) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 8) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 == 9) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==10) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==11) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==12) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseDIF2 ==13) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF2++; + if(kcountHEnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF2) delete h2CeffHEnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=3 + //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF3=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"666 kcountHEnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF3 == 1) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 2) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 3) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 4) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 5) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 6) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 7) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 8) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 == 9) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==10) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==11) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==12) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseDIF3 ==13) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF3++; + if(kcountHEnegativedirectionReconoiseDIF3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF3) delete h2CeffHEnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=4 + //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF4=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"777 kcountHEnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF4 == 1) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 2) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 3) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 4) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 5) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 6) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 7) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 8) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 == 9) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 ==10) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 ==11) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseDIF4 ==12) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF4++; + if(kcountHEnegativedirectionReconoiseDIF4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF4) delete h2CeffHEnegativedirectionReconoiseDIF4; + //========================================================================================== 1118 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=5 + //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF5=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF5 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF5 == 1) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 2) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 3) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 4) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 5) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 6) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 7) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 8) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 == 9) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 ==10) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseDIF5 ==11) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseDIF5->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF5++; + if(kcountHEnegativedirectionReconoiseDIF5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF5) delete h2CeffHEnegativedirectionReconoiseDIF5; + //========================================================================================== 1119 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=6 + //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF6=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF6 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"999 kcountHEnegativedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF6 == 1) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 2) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 3) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 4) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 5) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 6) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 7) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 8) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 == 9) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseDIF6 ==10) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseDIF6->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF6++; + if(kcountHEnegativedirectionReconoiseDIF6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF6) delete h2CeffHEnegativedirectionReconoiseDIF6; + //========================================================================================== 11110 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=7 + //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF7=1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF7 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1010 kcountHEnegativedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseDIF7 == 1) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseDIF7 == 2) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseDIF7 == 3) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseDIF7->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF7++; + if(kcountHEnegativedirectionReconoiseDIF7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -29 && jeta-41 <= -16) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseDIF7) delete h2CeffHEnegativedirectionReconoiseDIF7; + + //====================================================================================================================== + //====================================================================================================================== + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HE1"); + TH2F *reconoiseVariance0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + TH2F* reconoiseVarianceHE1 = (TH2F*)reconoiseVariance1HE1->Clone("reconoiseVarianceHE1"); + reconoiseVarianceHE1->Divide(reconoiseVariance1HE1,reconoiseVariance0HE1, 1, 1, "B"); + TH2F *reconoiseVariance1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE2"); + TH2F *reconoiseVariance0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + TH2F* reconoiseVarianceHE2 = (TH2F*)reconoiseVariance1HE2->Clone("reconoiseVarianceHE2"); + reconoiseVarianceHE2->Divide(reconoiseVariance1HE2,reconoiseVariance0HE2, 1, 1, "B"); + TH2F *reconoiseVariance1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE3"); + TH2F *reconoiseVariance0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + TH2F* reconoiseVarianceHE3 = (TH2F*)reconoiseVariance1HE3->Clone("reconoiseVarianceHE3"); + reconoiseVarianceHE3->Divide(reconoiseVariance1HE3,reconoiseVariance0HE3, 1, 1, "B"); + TH2F *reconoiseVariance1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE4"); + TH2F *reconoiseVariance0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + TH2F* reconoiseVarianceHE4 = (TH2F*)reconoiseVariance1HE4->Clone("reconoiseVarianceHE4"); + reconoiseVarianceHE4->Divide(reconoiseVariance1HE4,reconoiseVariance0HE4, 1, 1, "B"); + TH2F *reconoiseVariance1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE5"); + TH2F *reconoiseVariance0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + TH2F* reconoiseVarianceHE5 = (TH2F*)reconoiseVariance1HE5->Clone("reconoiseVarianceHE5"); + reconoiseVarianceHE5->Divide(reconoiseVariance1HE5,reconoiseVariance0HE5, 1, 1, "B"); + TH2F *reconoiseVariance1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE6"); + TH2F *reconoiseVariance0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + TH2F* reconoiseVarianceHE6 = (TH2F*)reconoiseVariance1HE6->Clone("reconoiseVarianceHE6"); + reconoiseVarianceHE6->Divide(reconoiseVariance1HE6,reconoiseVariance0HE6, 1, 1, "B"); + TH2F *reconoiseVariance1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE7"); + TH2F *reconoiseVariance0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + TH2F* reconoiseVarianceHE7 = (TH2F*)reconoiseVariance1HE7->Clone("reconoiseVarianceHE7"); + reconoiseVarianceHE7->Divide(reconoiseVariance1HE7,reconoiseVariance0HE7, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + //preparation for PHI normalization: + double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; + double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + reconoisevariancehe[1][jeta][jphi] = reconoiseVarianceHE2->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[2][jeta][jphi] = reconoiseVarianceHE3->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[3][jeta][jphi] = reconoiseVarianceHE4->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[4][jeta][jphi] = reconoiseVarianceHE5->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[5][jeta][jphi] = reconoiseVarianceHE6->GetBinContent(jeta+1,jphi+1); + reconoisevariancehe[6][jeta][jphi] = reconoiseVarianceHE7->GetBinContent(jeta+1,jphi+1); + if(reconoisevariancehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += reconoisevariancehe[0][jeta][jphi];++nsumreconoiseHE0;} + if(reconoisevariancehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += reconoisevariancehe[1][jeta][jphi];++nsumreconoiseHE1;} + if(reconoisevariancehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += reconoisevariancehe[2][jeta][jphi];++nsumreconoiseHE2;} + if(reconoisevariancehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += reconoisevariancehe[3][jeta][jphi];++nsumreconoiseHE3;} + if(reconoisevariancehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += reconoisevariancehe[4][jeta][jphi];++nsumreconoiseHE4;} + if(reconoisevariancehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += reconoisevariancehe[5][jeta][jphi];++nsumreconoiseHE5;} + if(reconoisevariancehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += reconoisevariancehe[6][jeta][jphi];++nsumreconoiseHE6;} + }// phi + // PHI normalization : + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDreconoiseHE42D = new TH2F("DefzDreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHE42D0 = new TH2F("DefzDreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHE42DF = (TH2F*)DefzDreconoiseHE42D0->Clone("DefzDreconoiseHE42DF"); + for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 + if(areconoisehe[i][jeta][jphi]>0.) {DefzDreconoiseHE42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHE42D0 ->Fill(kkk,jphi,1.); } + }}}} + DefzDreconoiseHE42DF->Divide(DefzDreconoiseHE42D,DefzDreconoiseHE42D0, 1, 1, "B");// average A + // DefzDreconoiseHE1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE42DF->SetMarkerStyle(20); DefzDreconoiseHE42DF->SetMarkerSize(0.4); DefzDreconoiseHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHE42DF->SetYTitle(" #phi \b"); DefzDreconoiseHE42DF->SetZTitle("_depth \b"); DefzDreconoiseHE42DF->SetMarkerColor(2); DefzDreconoiseHE42DF->SetLineColor(0); // DefzDreconoiseHE42DF->SetMaximum(1.000); // DefzDreconoiseHE42DF->SetMinimum(1.0); + DefzDreconoiseHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHE42D) delete DefzDreconoiseHE42D; + if (DefzDreconoiseHE42D0) delete DefzDreconoiseHE42D0; + if (DefzDreconoiseHE42DF) delete DefzDreconoiseHE42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthes & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDreconoiseHE41D = new TH1F("DefzDreconoiseHE41D","", nphi, 0., 72. ); + TH1F* DefzDreconoiseHE41D0 = new TH1F("DefzDreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* DefzDreconoiseHE41DF = (TH1F*)DefzDreconoiseHE41D0->Clone("DefzDreconoiseHE41DF"); + + for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + for (int i=0;i0.) {DefzDreconoiseHE41D ->Fill(jphi,ccc1); DefzDreconoiseHE41D0 ->Fill(jphi,1.); } + }}}} + // DefzDreconoiseHE41D->Sumw2();DefzDreconoiseHE41D0->Sumw2(); + + DefzDreconoiseHE41DF->Divide(DefzDreconoiseHE41D,DefzDreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta + DefzDreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE41DF->SetMarkerStyle(20); DefzDreconoiseHE41DF->SetMarkerSize(1.4); DefzDreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE41DF->SetXTitle("#phi \b"); DefzDreconoiseHE41DF->SetYTitle(" \b"); DefzDreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDreconoiseHE41DF->SetMarkerColor(4); DefzDreconoiseHE41DF->SetLineColor(4); // DefzDreconoiseHE41DF->SetMinimum(0.8); DefzDreconoiseHE41DF->SetMinimum(-0.015); + DefzDreconoiseHE41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DreconoiseGeneralD1PhiSymmetryHE.png"); + c1x1->Clear(); + // clean-up + if (DefzDreconoiseHE41D) delete DefzDreconoiseHE41D; + if (DefzDreconoiseHE41D0) delete DefzDreconoiseHE41D0; + if (DefzDreconoiseHE41DF) delete DefzDreconoiseHE41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD1=1; + TH1F* h2CeffHEpositivedirectionReconoiseD1 = new TH1F("h2CeffHEpositivedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD1 == 1) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 2) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 3) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 4) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 5) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 6) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 7) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 8) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 == 9) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 ==10) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 ==11) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if(kcountHEpositivedirectionReconoiseD1 ==12) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseD1->Draw("Error"); + kcountHEpositivedirectionReconoiseD1++; + if(kcountHEpositivedirectionReconoiseD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD1) delete h2CeffHEpositivedirectionReconoiseD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD2=1; + TH1F* h2CeffHEpositivedirectionReconoiseD2 = new TH1F("h2CeffHEpositivedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD2 == 1) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 2) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 3) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 4) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 5) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 6) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 7) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 8) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 == 9) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==10) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==11) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==12) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if(kcountHEpositivedirectionReconoiseD2 ==13) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseD2->Draw("Error"); + kcountHEpositivedirectionReconoiseD2++; + if(kcountHEpositivedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD2) delete h2CeffHEpositivedirectionReconoiseD2; + //========================================================================================== 16 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD3=1; + TH1F* h2CeffHEpositivedirectionReconoiseD3 = new TH1F("h2CeffHEpositivedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD3 == 1) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 2) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 3) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 4) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 5) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 6) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 7) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 8) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 == 9) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==10) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==11) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==12) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if(kcountHEpositivedirectionReconoiseD3 ==13) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseD3->Draw("Error"); + kcountHEpositivedirectionReconoiseD3++; + if(kcountHEpositivedirectionReconoiseD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD3) delete h2CeffHEpositivedirectionReconoiseD3; + //========================================================================================== 17 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD4=1; + TH1F* h2CeffHEpositivedirectionReconoiseD4 = new TH1F("h2CeffHEpositivedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD4 == 1) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 2) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 3) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 4) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 5) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 6) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 7) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 8) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 == 9) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 ==10) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 ==11) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if(kcountHEpositivedirectionReconoiseD4 ==12) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseD4->Draw("Error"); + kcountHEpositivedirectionReconoiseD4++; + if(kcountHEpositivedirectionReconoiseD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD4) delete h2CeffHEpositivedirectionReconoiseD4; + //========================================================================================== 18 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD5=1; + TH1F* h2CeffHEpositivedirectionReconoiseD5 = new TH1F("h2CeffHEpositivedirectionReconoiseD5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEpositivedirectionReconoiseD5 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD5 == 1) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 2) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 3) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 4) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 5) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 6) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 7) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 8) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 == 9) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 ==10) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if(kcountHEpositivedirectionReconoiseD5 ==11) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseD5->Draw("Error"); + kcountHEpositivedirectionReconoiseD5++; + if(kcountHEpositivedirectionReconoiseD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD5) delete h2CeffHEpositivedirectionReconoiseD5; + //========================================================================================== 19 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD6=1; + TH1F* h2CeffHEpositivedirectionReconoiseD6 = new TH1F("h2CeffHEpositivedirectionReconoiseD6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEpositivedirectionReconoiseD6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD6 == 1) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 2) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 3) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 4) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 5) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 6) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 7) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 8) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 == 9) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if(kcountHEpositivedirectionReconoiseD6 ==10) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseD6->Draw("Error"); + kcountHEpositivedirectionReconoiseD6++; + if(kcountHEpositivedirectionReconoiseD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD6) delete h2CeffHEpositivedirectionReconoiseD6; + //========================================================================================== 20 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD7=1; + TH1F* h2CeffHEpositivedirectionReconoiseD7 = new TH1F("h2CeffHEpositivedirectionReconoiseD7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEpositivedirectionReconoiseD7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEpositivedirectionReconoiseD7 == 1) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseD7 == 2) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if(kcountHEpositivedirectionReconoiseD7 == 3) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseD7->Draw("Error"); + kcountHEpositivedirectionReconoiseD7++; + if(kcountHEpositivedirectionReconoiseD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEpositivedirectionReconoiseD7) delete h2CeffHEpositivedirectionReconoiseD7; + + + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD1=1; + TH1F* h2CeffHEnegativedirectionReconoiseD1 = new TH1F("h2CeffHEnegativedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHEnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD1 == 1) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 2) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 3) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 4) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 5) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 6) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 7) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 8) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 == 9) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 ==10) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 ==11) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if(kcountHEnegativedirectionReconoiseD1 ==12) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseD1->Draw("Error"); + kcountHEnegativedirectionReconoiseD1++; + if(kcountHEnegativedirectionReconoiseD1>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD1) delete h2CeffHEnegativedirectionReconoiseD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD2=1; + TH1F* h2CeffHEnegativedirectionReconoiseD2 = new TH1F("h2CeffHEnegativedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHEnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD2 == 1) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 2) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 3) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 4) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 5) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 6) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 7) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 8) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 == 9) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==10) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==11) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==12) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if(kcountHEnegativedirectionReconoiseD2 ==13) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseD2->Draw("Error"); + kcountHEnegativedirectionReconoiseD2++; + if(kcountHEnegativedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD2) delete h2CeffHEnegativedirectionReconoiseD2; + //========================================================================================== 22222216 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=3 + //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD3=1; + TH1F* h2CeffHEnegativedirectionReconoiseD3 = new TH1F("h2CeffHEnegativedirectionReconoiseD3","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1616 kcountHEnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD3 == 1) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 2) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 3) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 4) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 5) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 6) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 7) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 8) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 == 9) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==10) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==11) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==12) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if(kcountHEnegativedirectionReconoiseD3 ==13) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseD3->Draw("Error"); + kcountHEnegativedirectionReconoiseD3++; + if(kcountHEnegativedirectionReconoiseD3>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD3) delete h2CeffHEnegativedirectionReconoiseD3; + //========================================================================================== 22222217 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=4 + //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD4=1; + TH1F* h2CeffHEnegativedirectionReconoiseD4 = new TH1F("h2CeffHEnegativedirectionReconoiseD4","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1717 kcountHEnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD4 == 1) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 2) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 3) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 4) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 5) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 6) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 7) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 8) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 == 9) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 ==10) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 ==11) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if(kcountHEnegativedirectionReconoiseD4 ==12) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseD4->Draw("Error"); + kcountHEnegativedirectionReconoiseD4++; + if(kcountHEnegativedirectionReconoiseD4>12) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD4) delete h2CeffHEnegativedirectionReconoiseD4; + //========================================================================================== 22222218 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=5 + //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD5=1; + TH1F* h2CeffHEnegativedirectionReconoiseD5 = new TH1F("h2CeffHEnegativedirectionReconoiseD5","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD5->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1818 kcountHEnegativedirectionReconoiseD5 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD5 == 1) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 2) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 3) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 4) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 5) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 6) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 7) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 8) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 == 9) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 ==10) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if(kcountHEnegativedirectionReconoiseD5 ==11) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseD5->Draw("Error"); + kcountHEnegativedirectionReconoiseD5++; + if(kcountHEnegativedirectionReconoiseD5>11) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD5) delete h2CeffHEnegativedirectionReconoiseD5; + //========================================================================================== 22222219 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=6 + //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD6=1; + TH1F* h2CeffHEnegativedirectionReconoiseD6 = new TH1F("h2CeffHEnegativedirectionReconoiseD6","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD6->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1919 kcountHEnegativedirectionReconoiseD6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD6 == 1) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 2) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 3) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 4) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 5) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 6) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 7) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 8) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 == 9) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if(kcountHEnegativedirectionReconoiseD6 ==10) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseD6->Draw("Error"); + kcountHEnegativedirectionReconoiseD6++; + if(kcountHEnegativedirectionReconoiseD6>10) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD6) delete h2CeffHEnegativedirectionReconoiseD6; + //========================================================================================== 22222220 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=7 + //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD7=1; + TH1F* h2CeffHEnegativedirectionReconoiseD7 = new TH1F("h2CeffHEnegativedirectionReconoiseD7","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD7->SetBinError(i,0.01); + } + }// for jphi + if(ccctest !=0.) { + //cout<<"2020 kcountHEnegativedirectionReconoiseD7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHEnegativedirectionReconoiseD7 == 1) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseD7 == 2) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if(kcountHEnegativedirectionReconoiseD7 == 3) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseD7->Draw("Error"); + kcountHEnegativedirectionReconoiseD7++; + if(kcountHEnegativedirectionReconoiseD7>3) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 < 0) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHEnegativedirectionReconoiseD7) delete h2CeffHEnegativedirectionReconoiseD7; + //===================================================================== END of Reconoise HE for phi-symmetry + //===================================================================== END of Reconoise HE for phi-symmetry + //===================================================================== END of Reconoise HE for phi-symmetry + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double areconoiseHF[ndepth][njeta][njphi]; + double breconoiseHF[ndepth][njeta][njphi]; + double reconoisevarianceHF[ndepth][njeta][njphi]; + + + TH2F *recNoiseEnergy1HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF1"); + TH2F *recNoiseEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + TH2F* recNoiseEnergyHF1 = (TH2F*)recNoiseEnergy1HF1->Clone("recNoiseEnergyHF1"); + recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1,recNoiseEnergy0HF1, 1, 1, "B"); + TH2F *recNoiseEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF2"); + TH2F *recNoiseEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + TH2F* recNoiseEnergyHF2 = (TH2F*)recNoiseEnergy1HF2->Clone("recNoiseEnergyHF2"); + recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2,recNoiseEnergy0HF2, 1, 1, "B"); + //====================================================================== PHI normalization & put R into massive areconoiseHF + for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + //preparation for PHI normalization: + double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + areconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); + breconoiseHF[0][jeta][jphi] = recNoiseEnergyHF1->GetBinContent(jeta+1,jphi+1); + breconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); + sumreconoiseHF0 += areconoiseHF[0][jeta][jphi];++nsumreconoiseHF0; + sumreconoiseHF1 += areconoiseHF[1][jeta][jphi];++nsumreconoiseHF1; + }// phi + + // PHI normalization for DIF: + for(int jphi=0;jphiClear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzRreconoiseHF42D = new TH2F("GefzRreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHF42D0 = new TH2F("GefzRreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHF42DF = (TH2F*)GefzRreconoiseHF42D0->Clone("GefzRreconoiseHF42DF"); + for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzRreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHF42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzRreconoiseHF42DF->Divide(GefzRreconoiseHF42D,GefzRreconoiseHF42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHF42DF->SetYTitle(" #phi \b"); + GefzRreconoiseHF42DF->Draw("COLZ"); + + + + c2x1->cd(2); + TH1F *energyhitNoise_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HF"); + energyhitNoise_HF ->SetMarkerStyle(20);energyhitNoise_HF ->SetMarkerSize(0.4);energyhitNoise_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HF ->SetXTitle("energyhitNoise_HF \b");energyhitNoise_HF ->SetMarkerColor(2);energyhitNoise_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HF ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("RreconoiseGeneralD2PhiSymmetryHF.png"); + c2x1->Clear(); + // clean-up + if (GefzRreconoiseHF42D) delete GefzRreconoiseHF42D; + if (GefzRreconoiseHF42D0) delete GefzRreconoiseHF42D0; + if (GefzRreconoiseHF42DF) delete GefzRreconoiseHF42DF; + //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzRreconoiseHF41D = new TH1F("GefzRreconoiseHF41D","", nphi, 0., 72. ); + TH1F* GefzRreconoiseHF41D0 = new TH1F("GefzRreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHF41DF = (TH1F*)GefzRreconoiseHF41D0->Clone("GefzRreconoiseHF41DF"); + for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHF41D0 ->Fill(jphi,1.); } + }}}} + GefzRreconoiseHF41DF->Divide(GefzRreconoiseHF41D,GefzRreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta + GefzRreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF41DF->SetMarkerStyle(20); GefzRreconoiseHF41DF->SetMarkerSize(1.4); GefzRreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHF41DF->SetXTitle("#phi \b"); GefzRreconoiseHF41DF->SetYTitle(" \b"); GefzRreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHF41DF->SetMarkerColor(4); GefzRreconoiseHF41DF->SetLineColor(4);// GefzRreconoiseHF41DF->SetMinimum(0.8); // GefzRreconoiseHF41DF->SetMaximum(1.000); + GefzRreconoiseHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("RreconoiseGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (GefzRreconoiseHF41D) delete GefzRreconoiseHF41D; + if (GefzRreconoiseHF41D0) delete GefzRreconoiseHF41D0; + if (GefzRreconoiseHF41DF) delete GefzRreconoiseHF41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoise1=1; + TH1F* h2CeffHFpositivedirectionReconoise1 = new TH1F("h2CeffHFpositivedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFpositivedirectionReconoise1 = "<SetMarkerColor(2);HFpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoise1 == 1) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 2) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 3) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 4) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 5) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 6) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 7) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 8) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 == 9) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==10) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==11) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==12) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionReconoise1 ==13) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoise1->Draw("Error"); + kcountHFpositivedirectionReconoise1++; + if(kcountHFpositivedirectionReconoise1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoise1) delete h2CeffHFpositivedirectionReconoise1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoise2=1; + TH1F* h2CeffHFpositivedirectionReconoise2 = new TH1F("h2CeffHFpositivedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFpositivedirectionReconoise2 = "<SetMarkerColor(2);HFpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoise2 == 1) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 2) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 3) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 4) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 5) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 6) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 7) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 8) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 == 9) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==10) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==11) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==12) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionReconoise2 ==13) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoise2->Draw("Error"); + kcountHFpositivedirectionReconoise2++; + if(kcountHFpositivedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoise2) delete h2CeffHFpositivedirectionReconoise2; + + //========================================================================================== 1111114 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=1 + //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoise1=1; + TH1F* h2CeffHFnegativedirectionReconoise1 = new TH1F("h2CeffHFnegativedirectionReconoise1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFnegativedirectionReconoise1 = "<SetMarkerColor(2);HFnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoise1 == 1) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 2) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 3) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 4) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 5) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 6) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 7) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 8) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 == 9) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==10) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==11) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==12) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionReconoise1 ==13) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoise1->Draw("Error"); + kcountHFnegativedirectionReconoise1++; + if(kcountHFnegativedirectionReconoise1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoise1) delete h2CeffHFnegativedirectionReconoise1; + + + //========================================================================================== 1111115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoise2=1; + TH1F* h2CeffHFnegativedirectionReconoise2 = new TH1F("h2CeffHFnegativedirectionReconoise2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFnegativedirectionReconoise2 = "<SetMarkerColor(2);HFnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoise2 == 1) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 2) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 3) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 4) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 5) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 6) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 7) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 8) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 == 9) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==10) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==11) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==12) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionReconoise2 ==13) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoise2->Draw("Error"); + kcountHFnegativedirectionReconoise2++; + if(kcountHFnegativedirectionReconoise2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoise2) delete h2CeffHFnegativedirectionReconoise2; + + //====================================================================================================================== + // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HF + //------------------------ 2D-eta/phi-plot: DIF, averaged over depthfs + //====================================================================== + //====================================================================== +// cout<<" DIF2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); + ///////////////// + c2x1->Divide(2,1); + c2x1->cd(1); + TH2F* GefzDIFreconoiseHF42D = new TH2F("GefzDIFreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHF42D0 = new TH2F("GefzDIFreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHF42DF = (TH2F*)GefzDIFreconoiseHF42D0->Clone("GefzDIFreconoiseHF42DF"); + for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 + if(ccc1!=0.) {GefzDIFreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHF42D0 ->Fill(kkk,jphi,1.); } + }}}} + GefzDIFreconoiseHF42DF->Divide(GefzDIFreconoiseHF42D,GefzDIFreconoiseHF42D0, 1, 1, "B");// average A + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHF42DF->SetYTitle(" #phi \b"); + GefzDIFreconoiseHF42DF->Draw("COLZ"); + + + + c2x1->cd(2); + // TH1F *energyhitNoiseCut_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoiseCut_HF"); + // energyhitNoiseCut_HF ->SetMarkerStyle(20);energyhitNoiseCut_HF ->SetMarkerSize(0.4);energyhitNoiseCut_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoiseCut_HF ->SetXTitle("energyhitNoiseCut_HF \b");energyhitNoiseCut_HF ->SetMarkerColor(2);energyhitNoiseCut_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoiseCut_HF ->Draw("Error"); + + + + ///////////////// + c2x1->Update(); + c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHF.png"); + c2x1->Clear(); + // clean-up + if (GefzDIFreconoiseHF42D) delete GefzDIFreconoiseHF42D; + if (GefzDIFreconoiseHF42D0) delete GefzDIFreconoiseHF42D0; + if (GefzDIFreconoiseHF42DF) delete GefzDIFreconoiseHF42DF; + //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* GefzDIFreconoiseHF41D = new TH1F("GefzDIFreconoiseHF41D","", nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHF41D0 = new TH1F("GefzDIFreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHF41DF = (TH1F*)GefzDIFreconoiseHF41D0->Clone("GefzDIFreconoiseHF41DF"); + for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHF41D0 ->Fill(jphi,1.); } + }}}} + GefzDIFreconoiseHF41DF->Divide(GefzDIFreconoiseHF41D,GefzDIFreconoiseHF41D0, 1, 1, "B");// DIF averaged over depthfs & eta + GefzDIFreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF41DF->SetMarkerStyle(20); GefzDIFreconoiseHF41DF->SetMarkerSize(1.4); GefzDIFreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHF41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHF41DF->SetYTitle(" \b"); GefzDIFreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHF41DF->SetMarkerColor(4); GefzDIFreconoiseHF41DF->SetLineColor(4);// GefzDIFreconoiseHF41DF->SetMinimum(0.8); // GefzDIFreconoiseHF41DF->SetMaximum(1.000); + GefzDIFreconoiseHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (GefzDIFreconoiseHF41D) delete GefzDIFreconoiseHF41D; + if (GefzDIFreconoiseHF41D0) delete GefzDIFreconoiseHF41D0; + if (GefzDIFreconoiseHF41DF) delete GefzDIFreconoiseHF41DF; + //========================================================================================== 4 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseDIF1=1; + TH1F* h2CeffHFpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseDIF1 == 1) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 2) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 3) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 4) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 5) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 6) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 7) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 8) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 == 9) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==10) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==11) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==12) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseDIF1 ==13) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF1++; + if(kcountHFpositivedirectionReconoiseDIF1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40 + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseDIF1) delete h2CeffHFpositivedirectionReconoiseDIF1; + + + //========================================================================================== 5 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseDIF2=1; + TH1F* h2CeffHFpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseDIF2 == 1) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 2) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 3) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 4) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 5) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 6) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 7) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 8) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 == 9) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==10) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==11) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==12) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseDIF2 ==13) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF2++; + if(kcountHFpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseDIF2) delete h2CeffHFpositivedirectionReconoiseDIF2; + + //========================================================================================== 1111114 + //====================================================================== + //======================================================================1D plot: DIF vs phi , different eta, depth=1 + //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseDIF1=1; + TH1F* h2CeffHFnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + // cout<<"444 kcountHFnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseDIF1 == 1) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 2) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 3) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 4) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 5) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 6) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 7) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 8) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 == 9) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==10) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==11) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==12) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseDIF1 ==13) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF1++; + if(kcountHFnegativedirectionReconoiseDIF1>13) break;// + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseDIF1) delete h2CeffHFnegativedirectionReconoiseDIF1; + + + //========================================================================================== 1111115 + //====================================================================== + //======================================================================1D plot: R vs phi , different eta, depth=2 + // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseDIF2=1; + TH1F* h2CeffHFnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"555 kcountHFnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseDIF2 == 1) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 2) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 3) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 4) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 5) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 6) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 7) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 8) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 == 9) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==10) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==11) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==12) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseDIF2 ==13) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF2++; + if(kcountHFnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseDIF2) delete h2CeffHFnegativedirectionReconoiseDIF2; + + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + //====================================================================================================================== + // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HF1"); + TH2F *reconoiseVariance0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + TH2F* reconoiseVarianceHF1 = (TH2F*)reconoiseVariance1HF1->Clone("reconoiseVarianceHF1"); + reconoiseVarianceHF1->Divide(reconoiseVariance1HF1,reconoiseVariance0HF1, 1, 1, "B"); + TH2F *reconoiseVariance1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HF2"); + TH2F *reconoiseVariance0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + TH2F* reconoiseVarianceHF2 = (TH2F*)reconoiseVariance1HF2->Clone("reconoiseVarianceHF2"); + reconoiseVarianceHF2->Divide(reconoiseVariance1HF2,reconoiseVariance0HF2, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + //preparation for PHI normalization: + double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; + for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); + reconoisevarianceHF[1][jeta][jphi] = reconoiseVarianceHF2->GetBinContent(jeta+1,jphi+1); + sumreconoiseHF0 += reconoisevarianceHF[0][jeta][jphi];++nsumreconoiseHF0; + sumreconoiseHF1 += reconoisevarianceHF[1][jeta][jphi];++nsumreconoiseHF1; + }// phi + // PHI normalization : + for(int jphi=0;jphiClear(); + ///////////////// + c1x0->Divide(1,1); + c1x0->cd(1); + TH2F* DefzDreconoiseHF42D = new TH2F("DefzDreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHF42D0 = new TH2F("DefzDreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* DefzDreconoiseHF42DF = (TH2F*)DefzDreconoiseHF42D0->Clone("DefzDreconoiseHF42DF"); + for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 + if(areconoiseHF[i][jeta][jphi]>0.) {DefzDreconoiseHF42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHF42D0 ->Fill(kkk,jphi,1.); } + }}}} + DefzDreconoiseHF42DF->Divide(DefzDreconoiseHF42D,DefzDreconoiseHF42D0, 1, 1, "B");// average A + // DefzDreconoiseHF1->Sumw2(); + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF42DF->SetMarkerStyle(20); DefzDreconoiseHF42DF->SetMarkerSize(0.4); DefzDreconoiseHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHF42DF->SetYTitle(" #phi \b"); DefzDreconoiseHF42DF->SetZTitle("_depth \b"); DefzDreconoiseHF42DF->SetMarkerColor(2); DefzDreconoiseHF42DF->SetLineColor(0); // DefzDreconoiseHF42DF->SetMaximum(1.000); // DefzDreconoiseHF42DF->SetMinimum(1.0); + DefzDreconoiseHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHF42D) delete DefzDreconoiseHF42D; + if (DefzDreconoiseHF42D0) delete DefzDreconoiseHF42D0; + if (DefzDreconoiseHF42DF) delete DefzDreconoiseHF42DF; + //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta + //====================================================================== + //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); + ///////////////// + c1x1->Divide(1,1); + c1x1->cd(1); + TH1F* DefzDreconoiseHF41D = new TH1F("DefzDreconoiseHF41D","", nphi, 0., 72. ); + TH1F* DefzDreconoiseHF41D0 = new TH1F("DefzDreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* DefzDreconoiseHF41DF = (TH1F*)DefzDreconoiseHF41D0->Clone("DefzDreconoiseHF41DF"); + + for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + for (int i=0;i0.) {DefzDreconoiseHF41D ->Fill(jphi,ccc1); DefzDreconoiseHF41D0 ->Fill(jphi,1.); } + }}}} + // DefzDreconoiseHF41D->Sumw2();DefzDreconoiseHF41D0->Sumw2(); + + DefzDreconoiseHF41DF->Divide(DefzDreconoiseHF41D,DefzDreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta + DefzDreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF41DF->SetMarkerStyle(20); DefzDreconoiseHF41DF->SetMarkerSize(1.4); DefzDreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF41DF->SetXTitle("#phi \b"); DefzDreconoiseHF41DF->SetYTitle(" \b"); DefzDreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHF41DF->SetMarkerColor(4); DefzDreconoiseHF41DF->SetLineColor(4);// DefzDreconoiseHF41DF->SetMinimum(0.8); DefzDreconoiseHF41DF->SetMinimum(-0.015); + DefzDreconoiseHF41DF->Draw("Error"); + ///////////////// + c1x1->Update(); + c1x1->Print("DreconoiseGeneralD1PhiSymmetryHF.png"); + c1x1->Clear(); + // clean-up + if (DefzDreconoiseHF41D) delete DefzDreconoiseHF41D; + if (DefzDreconoiseHF41D0) delete DefzDreconoiseHF41D0; + if (DefzDreconoiseHF41DF) delete DefzDreconoiseHF41DF; + //========================================================================================== 14 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseD1=1; + TH1F* h2CeffHFpositivedirectionReconoiseD1 = new TH1F("h2CeffHFpositivedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseD1 == 1) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 2) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 3) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 4) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 5) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 6) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 7) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 8) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 == 9) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==10) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==11) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==12) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if(kcountHFpositivedirectionReconoiseD1 ==13) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseD1->Draw("Error"); + kcountHFpositivedirectionReconoiseD1++; + if(kcountHFpositivedirectionReconoiseD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseD1) delete h2CeffHFpositivedirectionReconoiseD1; + //========================================================================================== 15 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseD2=1; + TH1F* h2CeffHFpositivedirectionReconoiseD2 = new TH1F("h2CeffHFpositivedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFpositivedirectionReconoiseD2 == 1) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 2) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 3) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 4) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 5) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 6) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 7) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 8) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 == 9) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==10) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==11) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==12) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if(kcountHFpositivedirectionReconoiseD2 ==13) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseD2->Draw("Error"); + kcountHFpositivedirectionReconoiseD2++; + if(kcountHFpositivedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= 28 && jeta-41 <= 40) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFpositivedirectionReconoiseD2) delete h2CeffHFpositivedirectionReconoiseD2; + //========================================================================================== 22222214 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=1 + //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); + ///////////////// + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseD1=1; + TH1F* h2CeffHFnegativedirectionReconoiseD1 = new TH1F("h2CeffHFnegativedirectionReconoiseD1","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1414 kcountHFnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseD1 == 1) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 2) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 3) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 4) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 5) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 6) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 7) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 8) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 == 9) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==10) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==11) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==12) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if(kcountHFnegativedirectionReconoiseD1 ==13) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseD1->Draw("Error"); + kcountHFnegativedirectionReconoiseD1++; + if(kcountHFnegativedirectionReconoiseD1>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseD1) delete h2CeffHFnegativedirectionReconoiseD1; + //========================================================================================== 22222215 + //====================================================================== + //======================================================================1D plot: D vs phi , different eta, depth=2 + //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); + c3x5->Divide(3,5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseD2=1; + TH1F* h2CeffHFnegativedirectionReconoiseD2 = new TH1F("h2CeffHFnegativedirectionReconoiseD2","", nphi, 0., 72. ); + + for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + }// for jphi + if(ccctest>0.) { + //cout<<"1515 kcountHFnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); + // gPad->SetLogy(); + if(kcountHFnegativedirectionReconoiseD2 == 1) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 2) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 3) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 4) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 5) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 6) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 7) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 8) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 == 9) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==10) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==11) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==12) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if(kcountHFnegativedirectionReconoiseD2 ==13) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionReconoiseD2->Draw("Error"); + kcountHFnegativedirectionReconoiseD2++; + if(kcountHFnegativedirectionReconoiseD2>13) break;// 4x6 = 24 + }//ccctest>0 + + }// for i + }//if(jeta-41 >= -41 && jeta-41 <= -29) + }//for jeta + ///////////////// + c3x5->Update(); + c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); + c3x5->Clear(); + // clean-up + if (h2CeffHFnegativedirectionReconoiseD2) delete h2CeffHFnegativedirectionReconoiseD2; + + //===================================================================== END of Reconoise HF for phi-symmetry + //===================================================================== END of Reconoise HF for phi-symmetry + //===================================================================== END of Reconoise HF for phi-symmetry + //============================================================================================================ END of Reconoise for phi-symmetry + //============================================================================================================ END of Reconoise for phi-symmetry + //============================================================================================================ END of Reconoise for phi-symmetry + + //==================================================================================================================================================== END for phi-symmetry + //==================================================================================================================================================== END for phi-symmetry + //==================================================================================================================================================== END for phi-symmetry + //==================================================================================================================================================== + + + + + +//====================================================================== +// Creating each test kind for each subdet html pages: + std::string raw_class, raw_class1, raw_class2, raw_class3; + int ind = 0; + + for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + ofstream htmlFileT,htmlFileC, htmlFileD,htmlFileP,htmlFileS,htmlFileM,htmlFileR,htmlFileN ; + if (sub==1) {htmlFileT.open("HB_Tile.html"); htmlFileC.open("HB_Calib.html");htmlFileD.open("HB_Drift.html");htmlFileP.open("HB_Pedestals.html");htmlFileS.open("HB_Shapes.html");htmlFileM.open("HB_PhiSymmetryDigi.html");htmlFileR.open("HB_PhiSymmetryRecoSignal.html");htmlFileN.open("HB_PhiSymmetryRecoNoise.html");} + if (sub==2) {htmlFileT.open("HE_Tile.html"); htmlFileC.open("HE_Calib.html");htmlFileD.open("HE_Drift.html");htmlFileP.open("HE_Pedestals.html");htmlFileS.open("HE_Shapes.html");htmlFileM.open("HE_PhiSymmetryDigi.html");htmlFileR.open("HE_PhiSymmetryRecoSignal.html");htmlFileN.open("HE_PhiSymmetryRecoNoise.html");} + if (sub==3) {htmlFileT.open("HO_Tile.html"); htmlFileC.open("HO_Calib.html");htmlFileD.open("HO_Drift.html");htmlFileP.open("HO_Pedestals.html");htmlFileS.open("HO_Shapes.html");} + if (sub==4) {htmlFileT.open("HF_Tile.html"); htmlFileC.open("HF_Calib.html");htmlFileD.open("HF_Drift.html");htmlFileP.open("HF_Pedestals.html");htmlFileS.open("HF_Shapes.html");htmlFileM.open("HF_PhiSymmetryDigi.html");htmlFileR.open("HF_PhiSymmetryRecoSignal.html");htmlFileN.open("HF_PhiSymmetryRecoNoise.html");} + +// Megatile channels + htmlFileT << ""<< std::endl; + htmlFileT << ""<< std::endl; + htmlFileT << ""<< std::endl; + htmlFileT << " Remote Monitoring Tool "<< std::endl; + htmlFileT << ""<< std::endl; + htmlFileT << ""<< std::endl; + + + if (sub==1) htmlFileT << "

Criteria for megatile channels for HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileT << "

Criteria for megatile channels for HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==3) htmlFileT << "

Criteria for megatile channels for HO, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileT << "

Criteria for megatile channels for HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileT << "
"<< std::endl; + +// Test Entries + + htmlFileT << "

0. Entries for each channel.

"<< std::endl; + htmlFileT << "

0.A. Entries in each channel for each depth.

"<< std::endl; + htmlFileT << "

Channel legend: color is rate of entries

"<< std::endl; + if (sub==1) htmlFileT << " " << std::endl; + if (sub==2) htmlFileT << " " << std::endl; + if (sub==3) htmlFileT << " " << std::endl; + if (sub==4) htmlFileT << " " << std::endl; + htmlFileT << "
"<< std::endl; + + +// Test Cm + htmlFileT << "

1. Cm criterion: CapID errors for each channel.

"<< std::endl; + htmlFileT << "

1.A. Rate of CapId failures in each channel for each depth.

"<< std::endl; + htmlFileT << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileT << " " << std::endl; + if (sub==2) htmlFileT << " " << std::endl; + if (sub==3) htmlFileT << " " << std::endl; + if (sub==4) htmlFileT << " " << std::endl; + htmlFileT << "
"<< std::endl; + +// Am + htmlFileT << "

2. Am criterion: ADC amplitude collected over all TSs(Full Amplitude) for each channel.

"<< std::endl; + htmlFileT << "

2.A. Full ADC amplitude distribution over all events, channels and depths.

"<< std::endl; + htmlFileT << "

Legend: Bins less "<< MIN_M[2][sub] <<" correpond to bad ADC amplitude

"<< std::endl; + if (sub==1) htmlFileT << " " << std::endl; + if (sub==2) htmlFileT << " " << std::endl; + if (sub==3) htmlFileT << " " << std::endl; + if (sub==4) htmlFileT << " " << std::endl; + htmlFileT << "
"<< std::endl; + htmlFileT << "

2.B. Rate of bad ADC amplitude (<"<"<< std::endl; + htmlFileT << "

Channel legend: white - good, other colours - bad.

"<< std::endl; + if (sub==1) htmlFileT << " " << std::endl; + if (sub==2) htmlFileT << " " << std::endl; + if (sub==3) htmlFileT << " " << std::endl; + if (sub==4) htmlFileT << " " << std::endl; + htmlFileT << "
"<< std::endl; + +// Test Wm + htmlFileT << "

3. Wm criterion: RMS (width) of ADC amplutude for each channel.

"<< std::endl; + htmlFileT << "

3.A. RMS distribution over all events, channel and depth.

"<< std::endl; + htmlFileT << "

Legend: Bins less "<< MIN_M[3][sub] <<" and more "<< MAX_M[3][sub] <<" correpond to bad RMS

"<< std::endl; + if (sub==1) htmlFileT << " " << std::endl; + if (sub==2) htmlFileT << " " << std::endl; + if (sub==3) htmlFileT << " " << std::endl; + if (sub==4) htmlFileT << " " << std::endl; + htmlFileT << "
"<< std::endl; + htmlFileT << "

3.B. Rate of bad RMS (<"<"<"<< std::endl; + htmlFileT << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileT << " " << std::endl; + if (sub==2) htmlFileT << " " << std::endl; + if (sub==3) htmlFileT << " " << std::endl; + if (sub==4) htmlFileT << " " << std::endl; + htmlFileT << "
"<< std::endl; + +// Rm + htmlFileT << "

4. Rm criterion: Ratio ADC value sum over four near maximum (-2, -1, max, +1) TS to ADC value sum over all TS for each channel.

"<< std::endl; + htmlFileT << "

4.A. Ratio distribution over all events, channels and depths.

"<< std::endl; + htmlFileT << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileT << " " << std::endl; + if (sub==2) htmlFileT << " " << std::endl; + if (sub==3) htmlFileT << " " << std::endl; + if (sub==4) htmlFileT << " " << std::endl; + htmlFileT << "
"<< std::endl; + htmlFileT << "

4.B. Rate of bad ratio (<"<"<"<< std::endl; + htmlFileT << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileT << " " << std::endl; + if (sub==2) htmlFileT << " " << std::endl; + if (sub==3) htmlFileT << " " << std::endl; + if (sub==4) htmlFileT << " " << std::endl; + htmlFileT << "
"<< std::endl; + +// TNm + htmlFileT << "

5. TNm criterion: Mean TS position for each channel.

"<< std::endl; + htmlFileT << "

5.A. TN position distribution over all events, channels and depths.

"<< std::endl; + htmlFileT << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileT << " " << std::endl; + if (sub==2) htmlFileT << " " << std::endl; + if (sub==3) htmlFileT << " " << std::endl; + if (sub==4) htmlFileT << " " << std::endl; + htmlFileT << "
"<< std::endl; + htmlFileT << "

5.B. Rate of bad TN position (<"<"<"<< std::endl; + htmlFileT << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileT << " " << std::endl; + if (sub==2) htmlFileT << " " << std::endl; + if (sub==3) htmlFileT << " " << std::endl; + if (sub==4) htmlFileT << " " << std::endl; + htmlFileT << "
"<< std::endl; + +// TXm + htmlFileT << "

6.TXm criterion: Maximum TS position for each channel.

"<< std::endl; + htmlFileT << "

6.A. TX position distribution over all events, channel and depth.

"<< std::endl; + htmlFileT << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileT << " " << std::endl; + if (sub==2) htmlFileT << " " << std::endl; + if (sub==3) htmlFileT << " " << std::endl; + if (sub==4) htmlFileT << " " << std::endl; + htmlFileT << "
"<< std::endl; + htmlFileT << "

6.B. Rate of bad TX position (<"<"<"<< std::endl; + htmlFileT << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileT << " " << std::endl; + if (sub==2) htmlFileT << " " << std::endl; + if (sub==3) htmlFileT << " " << std::endl; + if (sub==4) htmlFileT << " " << std::endl; + htmlFileT << "
"<< std::endl; + + + htmlFileT << " " << std::endl; + htmlFileT << " " << std::endl; + htmlFileT.close(); + +//Calibration channels + htmlFileC << ""<< std::endl; + htmlFileC << ""<< std::endl; + htmlFileC << ""<< std::endl; + htmlFileC << " Raw Data Analyser "<< std::endl; + htmlFileC << ""<< std::endl; + htmlFileC << ""<< std::endl; + + if (sub==1) htmlFileC << "

Criteria for calibration channels for HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileC << "

Criteria for calibration channels for HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==3) htmlFileC << "

Criteria for calibration channels for HO, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileC << "

Criteria for calibration channels for HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileC << "
"<< std::endl; + + +// Test Entries + + htmlFileC << "

0. Entries for each channel.

"<< std::endl; + htmlFileC << "

0.A. Entries in each channel for each depth.

"<< std::endl; + htmlFileC << "

Channel legend: color is rate of entries

"<< std::endl; + if (sub==1) htmlFileC << " " << std::endl; + if (sub==2) htmlFileC << " " << std::endl; + if (sub==3) htmlFileC << " " << std::endl; + if (sub==4) htmlFileC << " " << std::endl; + htmlFileC << "
"<< std::endl; + + +// Test Cc + htmlFileC << "

1. Cc criterion: CapID errors for each channel.

"<< std::endl; + htmlFileC << "

1.A. Rate of CapId failures in each channel for each depth.

"<< std::endl; + htmlFileC << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileC << " " << std::endl; + if (sub==2) htmlFileC << " " << std::endl; + if (sub==3) htmlFileC << " " << std::endl; + if (sub==4) htmlFileC << " " << std::endl; + htmlFileC << "
"<< std::endl; + +// Ac + htmlFileC << "

2. Ac criterion: ADC amplitude collected over all TSs(Full Amplitude) for each channel.

"<< std::endl; + htmlFileC << "

2.A. Full ADC amplitude distribution over all events, channels and depths.

"<< std::endl; + htmlFileC << "

Legend: Bins less "<< MIN_C[2][sub] <<" correpond to bad ADC amplitude

"<< std::endl; + if (sub==1) htmlFileC << " " << std::endl; + if (sub==2) htmlFileC << " " << std::endl; + if (sub==3) htmlFileC << " " << std::endl; + if (sub==4) htmlFileC << " " << std::endl; + htmlFileC << "
"<< std::endl; + htmlFileC << "

2.B. Rate of bad ADC amplitude (<"<"<< std::endl; + htmlFileC << "

Channel legend: white - good, other colours - bad.

"<< std::endl; + if (sub==1) htmlFileC << " " << std::endl; + if (sub==2) htmlFileC << " " << std::endl; + if (sub==3) htmlFileC << " " << std::endl; + if (sub==4) htmlFileC << " " << std::endl; + htmlFileC << "
"<< std::endl; + +// Test Wc + htmlFileC << "

3. Wc criterion: RMS (width) of ADC amplutude for each channel.

"<< std::endl; + htmlFileC << "

3.A. W distribution over all events, channel and depth.

"<< std::endl; + htmlFileC << "

Legend: Bins less "<< MIN_C[3][sub] <<" and more "<< MAX_C[3][sub] <<" correpond to bad RMS

"<< std::endl; + if (sub==1) htmlFileC << " " << std::endl; + if (sub==2) htmlFileC << " " << std::endl; + if (sub==3) htmlFileC << " " << std::endl; + if (sub==4) htmlFileC << " " << std::endl; + htmlFileC << "
"<< std::endl; + htmlFileC << "

3.B. Rate of bad W (<"<"<"<< std::endl; + htmlFileC << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileC << " " << std::endl; + if (sub==2) htmlFileC << " " << std::endl; + if (sub==3) htmlFileC << " " << std::endl; + if (sub==4) htmlFileC << " " << std::endl; + htmlFileC << "
"<< std::endl; + +// Rc + htmlFileC << "

4. Rc criterion: Ratio ADC value sum over five near maximum (-2, -1, max, +1, +2) TS to ADC value sum over all TS for each channel.

"<< std::endl; + htmlFileC << "

4.A. Ratio distribution over all events, channels and depths.

"<< std::endl; + htmlFileC << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileC << " " << std::endl; + if (sub==2) htmlFileC << " " << std::endl; + if (sub==3) htmlFileC << " " << std::endl; + if (sub==4) htmlFileC << " " << std::endl; + htmlFileC << "
"<< std::endl; + htmlFileC << "

4.B. Rate of bad Ratio (<"<"<"<< std::endl; + htmlFileC << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileC << " " << std::endl; + if (sub==2) htmlFileC << " " << std::endl; + if (sub==3) htmlFileC << " " << std::endl; + if (sub==4) htmlFileC << " " << std::endl; + htmlFileC << "
"<< std::endl; + +// TNc + htmlFileC << "

5. TNc criterion: Mean TS position for each channel.

"<< std::endl; + htmlFileC << "

5.A. TN position distribution over all events, channels and depths.

"<< std::endl; + htmlFileC << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileC << " " << std::endl; + if (sub==2) htmlFileC << " " << std::endl; + if (sub==3) htmlFileC << " " << std::endl; + if (sub==4) htmlFileC << " " << std::endl; + htmlFileC << "
"<< std::endl; + htmlFileC << "

5.B. Rate of bad TN position (<"<"<"<< std::endl; + htmlFileC << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileC << " " << std::endl; + if (sub==2) htmlFileC << " " << std::endl; + if (sub==3) htmlFileC << " " << std::endl; + if (sub==4) htmlFileC << " " << std::endl; + htmlFileC << "
"<< std::endl; + +// TXm + htmlFileC << "

6.TXc criterion: Maximum TS position for each channel.

"<< std::endl; + htmlFileC << "

6.A. TX position distribution over all events, channel and depth.

"<< std::endl; + htmlFileC << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileC << " " << std::endl; + if (sub==2) htmlFileC << " " << std::endl; + if (sub==3) htmlFileC << " " << std::endl; + if (sub==4) htmlFileC << " " << std::endl; + htmlFileC << "
"<< std::endl; + htmlFileC << "

6.B. Rate of bad TX position (<"<"<"<< std::endl; + htmlFileC << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileC << " " << std::endl; + if (sub==2) htmlFileC << " " << std::endl; + if (sub==3) htmlFileC << " " << std::endl; + if (sub==4) htmlFileC << " " << std::endl; + htmlFileC << "
"<< std::endl; + + htmlFileC << " " << std::endl; + htmlFileC << " " << std::endl; + htmlFileC.close(); + +//Response drift + htmlFileD << ""<< std::endl; + htmlFileD << ""<< std::endl; + htmlFileD << ""<< std::endl; + htmlFileD << " Remore Monitoring Tool "<< std::endl; + htmlFileD << ""<< std::endl; + htmlFileD << ""<< std::endl; + + if (sub==1) htmlFileD << "

Response drift for HB: Current RUN = "<< runnumber <<", Reference RUN = "<"<< std::endl; + if (sub==2) htmlFileD << "

Response drift for HE: Current RUN = "<< runnumber <<", Reference RUN = "<"<< std::endl; + if (sub==3) htmlFileD << "

Response drift for HO: Current RUN = "<< runnumber <<", Reference RUN = "<"<< std::endl; + if (sub==4) htmlFileD << "

Response drift for HF: Current RUN = "<< runnumber <<", Reference RUN = "<"<< std::endl; + htmlFileD << "
"<< std::endl; + +// test GS + htmlFileD << "

1. Gain Stability (GS)

"<< std::endl; + htmlFileD << "

1.A. Averaged channel response, collected over all TS, for Current run in each channel for each depth.

"<< std::endl; + htmlFileD << "

Channel legend: colour means cooresponding value of mean response.

"<< std::endl; + if (sub==1) htmlFileD << " " << std::endl; + if (sub==2) htmlFileD << " " << std::endl; + if (sub==3) htmlFileD << " " << std::endl; + if (sub==4) htmlFileD << " " << std::endl; + htmlFileD << "
"<< std::endl; + htmlFileD << "

1.B. Averaged channel response, collected over all TS, for Reference run in each channel for each depth.

"<< std::endl; + htmlFileD << "

Channel legend: colour means cooresponding value of mean response.

"<< std::endl; + if (sub==1) htmlFileD << " " << std::endl; + if (sub==2) htmlFileD << " " << std::endl; + if (sub==3) htmlFileD << " " << std::endl; + if (sub==4) htmlFileD << " " << std::endl; + htmlFileD << "
"<< std::endl; + htmlFileD << "

1.C. Relative difference between Current and Reference run distribution over all events, channels for each depth.

"<< std::endl; + htmlFileD << "

Legend: Bins less -"<"<< std::endl; + if (sub==1) htmlFileD << " " << std::endl; + if (sub==2) htmlFileD << " " << std::endl; + if (sub==3) htmlFileD << " " << std::endl; + if (sub==4) htmlFileD << " " << std::endl; + htmlFileD << "
"<< std::endl; + htmlFileD << "

1.D. Rate of bad relative difference (<-"<+"<"<< std::endl; + htmlFileD << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileD << " " << std::endl; + if (sub==2) htmlFileD << " " << std::endl; + if (sub==3) htmlFileD << " " << std::endl; + if (sub==4) htmlFileD << " " << std::endl; + htmlFileD << "
"<< std::endl; + + htmlFileD << " " << std::endl; + htmlFileD << " " << std::endl; + htmlFileD.close(); + +// Pedestals + htmlFileP << ""<< std::endl; + htmlFileP << ""<< std::endl; + htmlFileP << ""<< std::endl; + htmlFileP << " Remote Monitoring Tool "<< std::endl; + htmlFileP << ""<< std::endl; + htmlFileP << ""<< std::endl; + + + if (sub==1) htmlFileP << "

Pedestals for HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileP << "

Pedestals for HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==3) htmlFileP << "

Pedestals for HO, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileP << "

Pedestals for HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileP << "
"<< std::endl; + +// Pedestal: + htmlFileP << "

1.Pm criterion: Pedestals for each CapID .

"<< std::endl; + htmlFileP << "

1.A. Pedestal distribution over all events, channels for each CapID and all depths.

"<< std::endl; + htmlFileP << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileP << " " << std::endl; + if (sub==2) htmlFileP << " " << std::endl; + if (sub==3) htmlFileP << " " << std::endl; + if (sub==4) htmlFileP << " " << std::endl; + htmlFileP << "
"<< std::endl; + htmlFileP << "

1.B. Rate of channels at very low Pedestals at least in one CapID for each depth.

"<< std::endl; + htmlFileP << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileP << " " << std::endl; + if (sub==2) htmlFileP << " " << std::endl; + if (sub==3) htmlFileP << " " << std::endl; + if (sub==4) htmlFileP << " " << std::endl; + +// PedestalWidth: + htmlFileP << "

2.pWm criterion: Pedestal Widths for each CapID .

"<< std::endl; + htmlFileP << "

2.A. Pedestal Widths distribution over all events, channels for each CapID and all depths.

"<< std::endl; + htmlFileP << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileP << " " << std::endl; + if (sub==2) htmlFileP << " " << std::endl; + if (sub==3) htmlFileP << " " << std::endl; + if (sub==4) htmlFileP << " " << std::endl; + htmlFileP << "
"<< std::endl; + htmlFileP << "

2.B. Rate of channels at very low Pedestal Widths at least in one CapID for each depth.

"<< std::endl; + htmlFileP << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileP << " " << std::endl; + if (sub==2) htmlFileP << " " << std::endl; + if (sub==3) htmlFileP << " " << std::endl; + if (sub==4) htmlFileP << " " << std::endl; + +// Correlations of Pedestal(Width) and fullAmplitude: + htmlFileP << "

3.Pedestal and pedestalWidths vs Amplitude .

"<< std::endl; + htmlFileP << "

3.A. Correlation of Pedestal(pedestalWidths) and Amplitude over all channels and events .

"<< std::endl; + htmlFileP << "

Legend: colour - entries

"<< std::endl; + if(sub==1) htmlFileP<< "" <" <" <" <"<< std::endl; + htmlFileP.close(); + +// TSs Shapes: + + htmlFileS << ""<< std::endl; + htmlFileS << ""<< std::endl; + htmlFileS << ""<< std::endl; + htmlFileS << " Remote Monitoring Tool "<< std::endl; + htmlFileS << ""<< std::endl; + htmlFileS << ""<< std::endl; + + + if (sub==1) htmlFileS << "

ADC Shape for HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileS << "

ADC Shape for HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==3) htmlFileS << "

ADC Shape for HO, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileS << "

ADC Shape for HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileS << "
"<< std::endl; + + htmlFileS << "

1.Mean ADC Shape.

"<< std::endl; + htmlFileS << "

1.A. ADC shape averaged over all good channels, depth and events.

"<< std::endl; +// htmlFileS << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileS << " " << std::endl; + if (sub==2) htmlFileS << " " << std::endl; + if (sub==3) htmlFileS << " " << std::endl; + if (sub==4) htmlFileS << " " << std::endl; + htmlFileS << "
"<< std::endl; + htmlFileS << "

1.B. ADC shape averaged over all bad channels, depth and events. Bad channels are selected by 5 criteria: CapId, A, W, P, Pw

"<< std::endl; +// htmlFileS << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileS << " " << std::endl; + if (sub==2) htmlFileS << " " << std::endl; + if (sub==3) htmlFileS << " " << std::endl; + if (sub==4) htmlFileS << " " << std::endl; +/* + htmlFileS << "

2. ADC in Time Slice

"<< std::endl; + htmlFileS << "

2.A. ADC counts histogrammed over all channels, depth and events.

"<< std::endl; +// htmlFileS << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileS << " " << std::endl; + if (sub==2) htmlFileS << " " << std::endl; + if (sub==3) htmlFileS << " " << std::endl; + if (sub==4) htmlFileS << " " << std::endl; + htmlFileS << "
"<< std::endl; + htmlFileS << "

2.B. ADC counts histogrammed over all channels and events for each depth separately.

"<< std::endl; +// htmlFileS << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileS << " " << std::endl; + if (sub==2) htmlFileS << " " << std::endl; + if (sub==3) htmlFileS << " " << std::endl; + if (sub==4) htmlFileS << " " << std::endl; + + htmlFileS << "

3. ADC Sum in Time Slice

"<< std::endl; + htmlFileS << "

3.A. ADC Sum over all channels histogrammed over all events for each depth separately.

"<< std::endl; +// htmlFileS << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileS << " " << std::endl; + if (sub==2) htmlFileS << " " << std::endl; + if (sub==3) htmlFileS << " " << std::endl; + if (sub==4) htmlFileS << " " << std::endl; + + htmlFileS << "

3.B. ADC Sum over all channels histogrammed over all events for each depth separately.

"<< std::endl; +// htmlFileS << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileS << " " << std::endl; + if (sub==2) htmlFileS << " " << std::endl; + if (sub==3) htmlFileS << " " << std::endl; + if (sub==4) htmlFileS << " " << std::endl; + + htmlFileS << "

3.C. ADC Sum over all channels histogrammed over all events for each depth separately.

"<< std::endl; +// htmlFileS << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileS << " " << std::endl; + if (sub==2) htmlFileS << " " << std::endl; + if (sub==3) htmlFileS << " " << std::endl; + if (sub==4) htmlFileS << " " << std::endl; +*/ + htmlFileS.close(); + + /////////////////////////////////////////// + + + +//////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: + +///////////////////////////////////////////////////////////////////////////////////////////////////////// Digis + + htmlFileM << ""<< std::endl; + htmlFileM << ""<< std::endl; + htmlFileM << ""<< std::endl; + htmlFileM << " Remote Monitoring Tool "<< std::endl; + htmlFileM << ""<< std::endl; + htmlFileM << ""<< std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub==1) htmlFileM << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileM << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileM << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileM << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; +// htmlFileM << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileM << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileM << "

1C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

1D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

1E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

1F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + if (sub==2) htmlFileM << "

1G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + if (sub==2) htmlFileM << "

1H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + if (sub==2) htmlFileM << "

1I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileM << "

2: D(digivarianceSignalhe)

"<< std::endl; + htmlFileM << "

2A: eta/phi-plot: D(digivarianceSignalhe), averaged over depthes

"<< std::endl; +// htmlFileM << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

2B: D(digivarianceSignalhe) vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileM << "

Positive direction, D(digivarianceSignalhe)

"<< std::endl; + htmlFileM << "

2C: D(digivarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

2.D. D(digivarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

2E: D(digivarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

2F: D(digivarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + if (sub==2) htmlFileM << "

2G: D(digivarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + if (sub==2) htmlFileM << "

2H: D(digivarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + if (sub==2) htmlFileM << "

2I: D(digivarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileM << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileM << "

3C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

3D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

3E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

3F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + if (sub==2) htmlFileM << "

3G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + if (sub==2) htmlFileM << "

3H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + if (sub==2) htmlFileM << "

3I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileM << "

4: Negative direction, D(digivarianceSignalhe)

"<< std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileM << "

4C: D(digivarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

4.D. D(digivarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

4E: D(digivarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + htmlFileM << "

4F: D(digivarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileM << " " << std::endl; + if (sub==2) htmlFileM << " " << std::endl; + if (sub==4) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + if (sub==2) htmlFileM << "

4G: D(digivarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + if (sub==2) htmlFileM << "

4H: D(digivarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + + if (sub==2) htmlFileM << "

4I: D(digivarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileM << " " << std::endl; + htmlFileM << "
"<< std::endl; + /////////////////////////////////////////// + htmlFileM.close(); + /////////////////////////////////////////// end of Digi + // +////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: +////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: +////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + + htmlFileR << ""<< std::endl; + htmlFileR << ""<< std::endl; + htmlFileR << ""<< std::endl; + htmlFileR << " Remote Monitoring Tool "<< std::endl; + htmlFileR << ""<< std::endl; + htmlFileR << ""<< std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub==1) htmlFileR << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileR << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileR << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileR << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; +// htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileR << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileR << "

1C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

1D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

1E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

1F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

1G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

1H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

1I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

2: D(recosignalvarianceSignalhe)

"<< std::endl; + htmlFileR << "

2A: eta/phi-plot: D(recosignalvarianceSignalhe), averaged over depthes

"<< std::endl; +// htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

2B: D(recosignalvarianceSignalhe) vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileR << "

Positive direction, D(recosignalvarianceSignalhe)

"<< std::endl; + htmlFileR << "

2C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

2.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

2E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

2F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

2G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

2H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

2I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileR << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

3C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

3D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

3E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

3F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

3G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

3H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

3I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

4: Negative direction, D(recosignalvarianceSignalhe)

"<< std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

4C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + htmlFileR << "

4.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + if (sub==4) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

4E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileR << "

4F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileR << " " << std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

4G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

4H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + + if (sub==2) htmlFileR << "

4I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileR << " " << std::endl; + htmlFileR << "
"<< std::endl; + /////////////////////////////////////////// + htmlFileR.close(); + /////////////////////////////////////////// end of Recosignal + // +////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: +////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: +////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + + htmlFileN << ""<< std::endl; + htmlFileN << ""<< std::endl; + htmlFileN << ""<< std::endl; + htmlFileN << " Remote Monitoring Tool "<< std::endl; + htmlFileN << ""<< std::endl; + htmlFileN << ""<< std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub==1) htmlFileN << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileN << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileN << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileN << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; +// htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileN << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + htmlFileN << "

1C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

1D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

1E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

1F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

1G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

1H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

1I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

2: D(reconoisevarianceNoisehe)

"<< std::endl; + htmlFileN << "

2A: eta/phi-plot: D(reconoisevarianceNoisehe), averaged over depthes

"<< std::endl; +// htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

2B: D(reconoisevarianceNoisehe) vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileN << "

Positive direction, D(reconoisevarianceNoisehe)

"<< std::endl; + htmlFileN << "

2C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

2.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

2E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

2F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

2G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

2H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

2I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileN << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

3C: R vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

3D: R vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

3E: R vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

3F: R vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

3G: R vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

3H: R vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

3I: R vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

4: Negative direction, D(reconoisevarianceNoisehe)

"<< std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

4C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

4.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

4E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

4F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

4G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

4H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

4I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + /////////////////////////////////////////// + + + + /////////////////////////////////////////////// DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF + + if (sub==1) htmlFileN << "

Only for Noise RecHits these lines below, HB, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFileN << "

Only for Noise RecHits these lines below, HE, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFileN << "

Only for Noise RecHits these lines below, HF, RUN = "<< runnumber <<"

"<< std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5: DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; + htmlFileN << "

5A: eta/phi-plot: DIF, averaged over depthes

"<< std::endl; +// htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5B: DIF vs phi , averaged over depthes & eta

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// DIF PositiveDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Positive direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

1E: DIF vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// DIF NegativeDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Negative direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + if (sub==4) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

5E: DIF vs phi , different eta, Depth3

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==1) htmlFileN << " " << std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; +// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub==2) htmlFileN << " " << std::endl; + htmlFileN << "
"<< std::endl; + + + /////////////////////////////////////////// end of Reconoise + + // + // + htmlFileN.close(); + + /////////////////////////////////////////// end of Reconoise + /////////////////////////////////////////// end of Reconoise + + + + + + // + // + }// end sub //for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + + + +//====================================================================== + + std::cout<<"********"<"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << " Remote Monitoring Tool "<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + if (sub==1) htmlFile << "

HCAL BARREL, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==2) htmlFile << "

HCAL ENDCAP, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==3) htmlFile << "

HCAL OUTER, RUN = "<< runnumber <<"

"<< std::endl; + if (sub==4) htmlFile << "

HCAL FORWARD, RUN = "<< runnumber <<"

"<< std::endl; + htmlFile << "
"<< std::endl; + if (sub==1) htmlFile << "

1. Analysis results for HB

"<< std::endl; + if (sub==2) htmlFile << "

1. Analysis results for HE

"<< std::endl; + if (sub==3) htmlFile << "

1. Analysis results for HO

"<< std::endl; + if (sub==4) htmlFile << "

1. Analysis results for HF

"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + + + if (sub==1) { + + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; +*/ + + + + + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + + } + if (sub==2) { + + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + */ + + + + + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + + } + if (sub==3) { + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + */ + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + } + + + + if (sub==4) { + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + */ + + + + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + + } + + htmlFile << ""<< std::endl; + htmlFile << "
Megatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesPhi-symmetryDigiPhi-symmetryRecoSignalPhi-symmetryRecoNoiseMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesPhi-SymmetryDigiPhi-SymmetryRecoSignalPhi-SymmetryRecoNoiseMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesPhi-symmetryDigiPhi-symmetryRecoSignalPhi-symmetryRecoNoiseMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesPhi-symmetryDigiPhi-symmetryRecoSignalPhi-symmetryRecoNoiseMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesPhi-symmetryDigiPhi-symmetryRecoSignalPhi-symmetryRecoNoiseMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesPhi-symmetryDigiPhi-symmetryRecoSignalPhi-symmetryRecoNoise
"<< std::endl; + htmlFile << "
"<< std::endl; + + + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + } + +//====================================================================== + + + std::cout<<"********"<"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << " Remote Monitoring Tool "<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << "

Description of Remote Monitoring Tool criteria for bad channel selection

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- C means CAPID Errors assuming we inspect CAPID non-rotation,error & validation bits, and for this criterion - no need to apply any cuts to select bcs.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- A means full amplitude, collected over all time slices

"<< std::endl; + htmlFile << "

- R means ratio criterion where we define as a bad, the channels, for which the signal portion in 4 middle TSs(plus one, minus two around TS with maximal amplitude) is out of some range of reasonable values

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- W means width of shape distribution. Width is defined as square root from dispersion.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- TN means mean time position of adc signal.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- TX means TS number of maximum signal

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- m means megatile channels. For example Am means Amplitude criteria for megatile channels

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- c means calibration channels. For example Ac means Amplitude criteria for calibration channels

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- Pm means Pedestals.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << "

- pWm means pedestal Width.

"<< std::endl; + htmlFile << "
"<< std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + +//====================================================================== + + std::cout<<"********"<"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << " Remote Monitoring Tool "<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + + htmlFile << "

Remote Monitoring Tool, RUN = "<< runnumber <<".

"<< std::endl; + htmlFile << "
"<< std::endl; + + htmlFile << "

1. Analysis results for subdetectors

"<< std::endl; + htmlFile << ""<< std::endl; + htmlFile << ""<< std::endl; + + /* + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; +*/ + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + htmlFile << " "<< std::endl; + + htmlFile << ""<< std::endl; + htmlFile << "
HBHEHOHFHBHEHOHF
"<< std::endl; + htmlFile << "
"<< std::endl; + + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); +//====================================================================== + +//====================================================================== +// Close and delete all possible things: + hfile->Close(); +// hfile->Delete(); +// Exit Root + gSystem->Exit(0); +//====================================================================== + +} + + diff --git a/DPGAnalysis/HcalTools/macros/psm/compile.csh b/DPGAnalysis/HcalTools/macros/psm/compile.csh new file mode 100755 index 0000000000000..4f395b71f8583 --- /dev/null +++ b/DPGAnalysis/HcalTools/macros/psm/compile.csh @@ -0,0 +1,3 @@ +#!/bin/csh +c++ -std=c++1z ${1} -I ${ROOTSYS}/include -L ${ROOTSYS}/lib -lCore -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lTMVA -lMinuit -lXMLIO -lMLP -lTreePlayer -lz -lGui -pthread -lm -ldl +mv a.out ${1}.exe diff --git a/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAP.cc b/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAP.cc index a0e4f2e9ae213..daf8b0e86263f 100644 --- a/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAP.cc +++ b/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAP.cc @@ -32,6 +32,7 @@ using namespace std; // h_ADC_HBdepth1 // ok change Hist_ADC_HB_DS int main(int argc, char *argv[]) { + std::string dirnm = "Analyzer"; gROOT->Reset(); gROOT->SetStyle("Plain"); gStyle->SetOptStat(0); @@ -62,7 +63,16 @@ int main(int argc, char *argv[]) { refrunnumber += refname[i]; TFile *hfile = new TFile(fname, "READ"); + hfile->ls(); + TDirectory *dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str()); + TFile *hreffile = new TFile(refname, "READ"); + hreffile->ls(); + TDirectory *refdir = (TDirectory *)hreffile->FindObjectAny(dirnm.c_str()); + + // with TfileService implementation, change everywhere below: hreffile->Get to refdir->FindObjectAny + // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny + double MIN_M[7][5]; double MAX_M[7][5]; double MIN_C[7][5]; @@ -282,23 +292,23 @@ int main(int argc, char *argv[]) { TH1F *hist_SumADC0[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 TH1F *hist_SumADC1[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 - Map_SUB[1][1] = (TH2F *)hfile->Get("h_mapDepth1_HB"); - Map_SUB[1][2] = (TH2F *)hfile->Get("h_mapDepth2_HB"); - Map_SUB[2][1] = (TH2F *)hfile->Get("h_mapDepth1_HE"); - Map_SUB[2][2] = (TH2F *)hfile->Get("h_mapDepth2_HE"); - Map_SUB[2][3] = (TH2F *)hfile->Get("h_mapDepth3_HE"); - Map_SUB[3][4] = (TH2F *)hfile->Get("h_mapDepth4_HO"); - Map_SUB[4][1] = (TH2F *)hfile->Get("h_mapDepth1_HF"); - Map_SUB[4][2] = (TH2F *)hfile->Get("h_mapDepth2_HF"); - - Map_SUB[1][3] = (TH2F *)hfile->Get("h_mapDepth3_HB"); - Map_SUB[1][4] = (TH2F *)hfile->Get("h_mapDepth4_HB"); - Map_SUB[2][4] = (TH2F *)hfile->Get("h_mapDepth4_HE"); - Map_SUB[2][5] = (TH2F *)hfile->Get("h_mapDepth5_HE"); - Map_SUB[2][6] = (TH2F *)hfile->Get("h_mapDepth6_HE"); - Map_SUB[2][7] = (TH2F *)hfile->Get("h_mapDepth7_HE"); - Map_SUB[4][3] = (TH2F *)hfile->Get("h_mapDepth3_HF"); - Map_SUB[4][4] = (TH2F *)hfile->Get("h_mapDepth4_HF"); + Map_SUB[1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HB"); + Map_SUB[1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HB"); + Map_SUB[2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HE"); + Map_SUB[2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HE"); + Map_SUB[2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HE"); + Map_SUB[3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HO"); + Map_SUB[4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HF"); + Map_SUB[4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HF"); + + Map_SUB[1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HB"); + Map_SUB[1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HB"); + Map_SUB[2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HE"); + Map_SUB[2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5_HE"); + Map_SUB[2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6_HE"); + Map_SUB[2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7_HE"); + Map_SUB[4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HF"); + Map_SUB[4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HF"); //+++++++++++++++++++++++++++++ //Test 0 Entries @@ -388,23 +398,23 @@ int main(int argc, char *argv[]) { //Test 1 (Cm) Rate of Cap ID errors //+++++++++++++++++++++++++++++ - Map_Ampl[1][1][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HB"); - Map_Ampl[1][1][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HB"); - Map_Ampl[1][2][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HE"); - Map_Ampl[1][2][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HE"); - Map_Ampl[1][2][3] = (TH2F *)hfile->Get("h_mapDepth3Error_HE"); - Map_Ampl[1][3][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HO"); - Map_Ampl[1][4][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HF"); - Map_Ampl[1][4][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HF"); - - Map_Ampl[1][1][3] = (TH2F *)hfile->Get("h_mapDepth3Error_HB"); - Map_Ampl[1][1][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HB"); - Map_Ampl[1][2][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HE"); - Map_Ampl[1][2][5] = (TH2F *)hfile->Get("h_mapDepth5Error_HE"); - Map_Ampl[1][2][6] = (TH2F *)hfile->Get("h_mapDepth6Error_HE"); - Map_Ampl[1][2][7] = (TH2F *)hfile->Get("h_mapDepth7Error_HE"); - Map_Ampl[1][4][3] = (TH2F *)hfile->Get("h_mapDepth3Error_HF"); - Map_Ampl[1][4][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HF"); + Map_Ampl[1][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HB"); + Map_Ampl[1][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HB"); + Map_Ampl[1][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HE"); + Map_Ampl[1][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HE"); + Map_Ampl[1][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Error_HE"); + Map_Ampl[1][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HO"); + Map_Ampl[1][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HF"); + Map_Ampl[1][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HF"); + + Map_Ampl[1][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Error_HB"); + Map_Ampl[1][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HB"); + Map_Ampl[1][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HE"); + Map_Ampl[1][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5Error_HE"); + Map_Ampl[1][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6Error_HE"); + Map_Ampl[1][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7Error_HE"); + Map_Ampl[1][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Error_HF"); + Map_Ampl[1][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO // if (sub==1) cHB->Divide(2,1); @@ -491,136 +501,136 @@ int main(int argc, char *argv[]) { //Test 2 (Am) ADC amplitude //+++++++++++++++++++++++++++++ - Map_Ampl[2][1][1] = (TH2F *)hfile->Get("h_mapDepth1ADCAmpl225_HB"); - Map_Ampl[2][1][2] = (TH2F *)hfile->Get("h_mapDepth2ADCAmpl225_HB"); - Map_Ampl[2][2][1] = (TH2F *)hfile->Get("h_mapDepth1ADCAmpl225_HE"); - Map_Ampl[2][2][2] = (TH2F *)hfile->Get("h_mapDepth2ADCAmpl225_HE"); - Map_Ampl[2][2][3] = (TH2F *)hfile->Get("h_mapDepth3ADCAmpl225_HE"); - Map_Ampl[2][3][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HO"); - Map_Ampl[2][4][1] = (TH2F *)hfile->Get("h_mapDepth1ADCAmpl225_HF"); - Map_Ampl[2][4][2] = (TH2F *)hfile->Get("h_mapDepth2ADCAmpl225_HF"); - - Map_Ampl[2][1][3] = (TH2F *)hfile->Get("h_mapDepth3ADCAmpl225_HB"); - Map_Ampl[2][1][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HB"); - Map_Ampl[2][2][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HE"); - Map_Ampl[2][2][5] = (TH2F *)hfile->Get("h_mapDepth5ADCAmpl225_HE"); - Map_Ampl[2][2][6] = (TH2F *)hfile->Get("h_mapDepth6ADCAmpl225_HE"); - Map_Ampl[2][2][7] = (TH2F *)hfile->Get("h_mapDepth7ADCAmpl225_HE"); - Map_Ampl[2][4][3] = (TH2F *)hfile->Get("h_mapDepth3ADCAmpl225_HF"); - Map_Ampl[2][4][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HF"); - - HistAmpl[2][1] = (TH1F *)hfile->Get("h_ADCAmpl_HB"); - HistAmpl[2][2] = (TH1F *)hfile->Get("h_ADCAmpl_HE"); - HistAmpl[2][3] = (TH1F *)hfile->Get("h_ADCAmpl_HO"); - HistAmpl[2][4] = (TH1F *)hfile->Get("h_ADCAmpl_HF"); + Map_Ampl[2][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HB"); + Map_Ampl[2][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HB"); + Map_Ampl[2][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HE"); + Map_Ampl[2][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HE"); + Map_Ampl[2][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HE"); + Map_Ampl[2][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HO"); + Map_Ampl[2][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HF"); + Map_Ampl[2][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HF"); + + Map_Ampl[2][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HB"); + Map_Ampl[2][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HB"); + Map_Ampl[2][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HE"); + Map_Ampl[2][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5ADCAmpl225_HE"); + Map_Ampl[2][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6ADCAmpl225_HE"); + Map_Ampl[2][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7ADCAmpl225_HE"); + Map_Ampl[2][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HF"); + Map_Ampl[2][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HF"); + + HistAmpl[2][1] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HB"); + HistAmpl[2][2] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HE"); + HistAmpl[2][3] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HO"); + HistAmpl[2][4] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HF"); //+++++++++++++++++++++++++++++ //Test 3 (Wm) Rate of RMS //+++++++++++++++++++++++++++++ - Map_Ampl[3][1][1] = (TH2F *)hfile->Get("h_mapDepth1Amplitude225_HB"); - Map_Ampl[3][1][2] = (TH2F *)hfile->Get("h_mapDepth2Amplitude225_HB"); - Map_Ampl[3][2][1] = (TH2F *)hfile->Get("h_mapDepth1Amplitude225_HE"); - Map_Ampl[3][2][2] = (TH2F *)hfile->Get("h_mapDepth2Amplitude225_HE"); - Map_Ampl[3][2][3] = (TH2F *)hfile->Get("h_mapDepth3Amplitude225_HE"); - Map_Ampl[3][3][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HO"); - Map_Ampl[3][4][1] = (TH2F *)hfile->Get("h_mapDepth1Amplitude225_HF"); - Map_Ampl[3][4][2] = (TH2F *)hfile->Get("h_mapDepth2Amplitude225_HF"); - - Map_Ampl[3][1][3] = (TH2F *)hfile->Get("h_mapDepth3Amplitude225_HB"); - Map_Ampl[3][1][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HB"); - Map_Ampl[3][2][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HE"); - Map_Ampl[3][2][5] = (TH2F *)hfile->Get("h_mapDepth5Amplitude225_HE"); - Map_Ampl[3][2][6] = (TH2F *)hfile->Get("h_mapDepth6Amplitude225_HE"); - Map_Ampl[3][2][7] = (TH2F *)hfile->Get("h_mapDepth7Amplitude225_HE"); - Map_Ampl[3][4][3] = (TH2F *)hfile->Get("h_mapDepth3Amplitude225_HF"); - Map_Ampl[3][4][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HF"); - - HistAmpl[3][1] = (TH1F *)hfile->Get("h_Amplitude_HB"); - HistAmpl[3][2] = (TH1F *)hfile->Get("h_Amplitude_HE"); - HistAmpl[3][3] = (TH1F *)hfile->Get("h_Amplitude_HO"); - HistAmpl[3][4] = (TH1F *)hfile->Get("h_Amplitude_HF"); + Map_Ampl[3][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Amplitude225_HB"); + Map_Ampl[3][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Amplitude225_HB"); + Map_Ampl[3][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Amplitude225_HE"); + Map_Ampl[3][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Amplitude225_HE"); + Map_Ampl[3][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Amplitude225_HE"); + Map_Ampl[3][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HO"); + Map_Ampl[3][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Amplitude225_HF"); + Map_Ampl[3][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Amplitude225_HF"); + + Map_Ampl[3][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Amplitude225_HB"); + Map_Ampl[3][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HB"); + Map_Ampl[3][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HE"); + Map_Ampl[3][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5Amplitude225_HE"); + Map_Ampl[3][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6Amplitude225_HE"); + Map_Ampl[3][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7Amplitude225_HE"); + Map_Ampl[3][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Amplitude225_HF"); + Map_Ampl[3][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HF"); + + HistAmpl[3][1] = (TH1F *)dir->FindObjectAny("h_Amplitude_HB"); + HistAmpl[3][2] = (TH1F *)dir->FindObjectAny("h_Amplitude_HE"); + HistAmpl[3][3] = (TH1F *)dir->FindObjectAny("h_Amplitude_HO"); + HistAmpl[3][4] = (TH1F *)dir->FindObjectAny("h_Amplitude_HF"); //+++++++++++++++++++++++++++++ //Test 4 (Rm) Rate of ratio 4 near max TS/ All TS //+++++++++++++++++++++++++++++ - Map_Ampl[4][1][1] = (TH2F *)hfile->Get("h_mapDepth1Ampl047_HB"); - Map_Ampl[4][1][2] = (TH2F *)hfile->Get("h_mapDepth2Ampl047_HB"); - Map_Ampl[4][2][1] = (TH2F *)hfile->Get("h_mapDepth1Ampl047_HE"); - Map_Ampl[4][2][2] = (TH2F *)hfile->Get("h_mapDepth2Ampl047_HE"); - Map_Ampl[4][2][3] = (TH2F *)hfile->Get("h_mapDepth3Ampl047_HE"); - Map_Ampl[4][3][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HO"); - Map_Ampl[4][4][1] = (TH2F *)hfile->Get("h_mapDepth1Ampl047_HF"); - Map_Ampl[4][4][2] = (TH2F *)hfile->Get("h_mapDepth2Ampl047_HF"); - - Map_Ampl[4][1][3] = (TH2F *)hfile->Get("h_mapDepth3Ampl047_HB"); - Map_Ampl[4][1][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HB"); - Map_Ampl[4][2][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HE"); - Map_Ampl[4][2][5] = (TH2F *)hfile->Get("h_mapDepth5Ampl047_HE"); - Map_Ampl[4][2][6] = (TH2F *)hfile->Get("h_mapDepth6Ampl047_HE"); - Map_Ampl[4][2][7] = (TH2F *)hfile->Get("h_mapDepth7Ampl047_HE"); - Map_Ampl[4][4][3] = (TH2F *)hfile->Get("h_mapDepth3Ampl047_HF"); - Map_Ampl[4][4][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HF"); - - HistAmpl[4][1] = (TH1F *)hfile->Get("h_Ampl_HB"); - HistAmpl[4][2] = (TH1F *)hfile->Get("h_Ampl_HE"); - HistAmpl[4][3] = (TH1F *)hfile->Get("h_Ampl_HO"); - HistAmpl[4][4] = (TH1F *)hfile->Get("h_Ampl_HF"); + Map_Ampl[4][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Ampl047_HB"); + Map_Ampl[4][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Ampl047_HB"); + Map_Ampl[4][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Ampl047_HE"); + Map_Ampl[4][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Ampl047_HE"); + Map_Ampl[4][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Ampl047_HE"); + Map_Ampl[4][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HO"); + Map_Ampl[4][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Ampl047_HF"); + Map_Ampl[4][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Ampl047_HF"); + + Map_Ampl[4][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Ampl047_HB"); + Map_Ampl[4][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HB"); + Map_Ampl[4][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HE"); + Map_Ampl[4][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5Ampl047_HE"); + Map_Ampl[4][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6Ampl047_HE"); + Map_Ampl[4][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7Ampl047_HE"); + Map_Ampl[4][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Ampl047_HF"); + Map_Ampl[4][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HF"); + + HistAmpl[4][1] = (TH1F *)dir->FindObjectAny("h_Ampl_HB"); + HistAmpl[4][2] = (TH1F *)dir->FindObjectAny("h_Ampl_HE"); + HistAmpl[4][3] = (TH1F *)dir->FindObjectAny("h_Ampl_HO"); + HistAmpl[4][4] = (TH1F *)dir->FindObjectAny("h_Ampl_HF"); //+++++++++++++++++++++++++++++ //Test 5 (TNm) Mean position in 1-8 TS range //+++++++++++++++++++++++++++++ - Map_Ampl[5][1][1] = (TH2F *)hfile->Get("h_mapDepth1TSmeanA225_HB"); - Map_Ampl[5][1][2] = (TH2F *)hfile->Get("h_mapDepth2TSmeanA225_HB"); - Map_Ampl[5][2][1] = (TH2F *)hfile->Get("h_mapDepth1TSmeanA225_HE"); - Map_Ampl[5][2][2] = (TH2F *)hfile->Get("h_mapDepth2TSmeanA225_HE"); - Map_Ampl[5][2][3] = (TH2F *)hfile->Get("h_mapDepth3TSmeanA225_HE"); - Map_Ampl[5][3][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HO"); - Map_Ampl[5][4][1] = (TH2F *)hfile->Get("h_mapDepth1TSmeanA225_HF"); - Map_Ampl[5][4][2] = (TH2F *)hfile->Get("h_mapDepth2TSmeanA225_HF"); - - Map_Ampl[5][1][3] = (TH2F *)hfile->Get("h_mapDepth3TSmeanA225_HB"); - Map_Ampl[5][1][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HB"); - Map_Ampl[5][2][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HE"); - Map_Ampl[5][2][5] = (TH2F *)hfile->Get("h_mapDepth5TSmeanA225_HE"); - Map_Ampl[5][2][6] = (TH2F *)hfile->Get("h_mapDepth6TSmeanA225_HE"); - Map_Ampl[5][2][7] = (TH2F *)hfile->Get("h_mapDepth7TSmeanA225_HE"); - Map_Ampl[5][4][3] = (TH2F *)hfile->Get("h_mapDepth3TSmeanA225_HF"); - Map_Ampl[5][4][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HF"); - - HistAmpl[5][1] = (TH1F *)hfile->Get("h_TSmeanA_HB"); - HistAmpl[5][2] = (TH1F *)hfile->Get("h_TSmeanA_HE"); - HistAmpl[5][3] = (TH1F *)hfile->Get("h_TSmeanA_HO"); - HistAmpl[5][4] = (TH1F *)hfile->Get("h_TSmeanA_HF"); + Map_Ampl[5][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmeanA225_HB"); + Map_Ampl[5][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmeanA225_HB"); + Map_Ampl[5][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmeanA225_HE"); + Map_Ampl[5][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmeanA225_HE"); + Map_Ampl[5][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmeanA225_HE"); + Map_Ampl[5][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HO"); + Map_Ampl[5][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmeanA225_HF"); + Map_Ampl[5][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmeanA225_HF"); + + Map_Ampl[5][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmeanA225_HB"); + Map_Ampl[5][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HB"); + Map_Ampl[5][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HE"); + Map_Ampl[5][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5TSmeanA225_HE"); + Map_Ampl[5][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6TSmeanA225_HE"); + Map_Ampl[5][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7TSmeanA225_HE"); + Map_Ampl[5][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmeanA225_HF"); + Map_Ampl[5][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HF"); + + HistAmpl[5][1] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HB"); + HistAmpl[5][2] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HE"); + HistAmpl[5][3] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HO"); + HistAmpl[5][4] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HF"); //+++++++++++++++++++++++++++++ //Test 6 (TXm) Maximum position in 1-8 TS range //+++++++++++++++++++++++++++++ - Map_Ampl[6][1][1] = (TH2F *)hfile->Get("h_mapDepth1TSmaxA225_HB"); - Map_Ampl[6][1][2] = (TH2F *)hfile->Get("h_mapDepth2TSmaxA225_HB"); - Map_Ampl[6][2][1] = (TH2F *)hfile->Get("h_mapDepth1TSmaxA225_HE"); - Map_Ampl[6][2][2] = (TH2F *)hfile->Get("h_mapDepth2TSmaxA225_HE"); - Map_Ampl[6][2][3] = (TH2F *)hfile->Get("h_mapDepth3TSmaxA225_HE"); - Map_Ampl[6][3][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HO"); - Map_Ampl[6][4][1] = (TH2F *)hfile->Get("h_mapDepth1TSmaxA225_HF"); - Map_Ampl[6][4][2] = (TH2F *)hfile->Get("h_mapDepth2TSmaxA225_HF"); - - Map_Ampl[6][1][3] = (TH2F *)hfile->Get("h_mapDepth3TSmaxA225_HB"); - Map_Ampl[6][1][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HB"); - Map_Ampl[6][2][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HE"); - Map_Ampl[6][2][5] = (TH2F *)hfile->Get("h_mapDepth5TSmaxA225_HE"); - Map_Ampl[6][2][6] = (TH2F *)hfile->Get("h_mapDepth6TSmaxA225_HE"); - Map_Ampl[6][2][7] = (TH2F *)hfile->Get("h_mapDepth7TSmaxA225_HE"); - Map_Ampl[6][4][3] = (TH2F *)hfile->Get("h_mapDepth3TSmaxA225_HF"); - Map_Ampl[6][4][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HF"); - - HistAmpl[6][1] = (TH1F *)hfile->Get("h_TSmaxA_HB"); - HistAmpl[6][2] = (TH1F *)hfile->Get("h_TSmaxA_HE"); - HistAmpl[6][3] = (TH1F *)hfile->Get("h_TSmaxA_HO"); - HistAmpl[6][4] = (TH1F *)hfile->Get("h_TSmaxA_HF"); + Map_Ampl[6][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmaxA225_HB"); + Map_Ampl[6][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmaxA225_HB"); + Map_Ampl[6][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmaxA225_HE"); + Map_Ampl[6][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmaxA225_HE"); + Map_Ampl[6][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmaxA225_HE"); + Map_Ampl[6][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HO"); + Map_Ampl[6][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmaxA225_HF"); + Map_Ampl[6][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmaxA225_HF"); + + Map_Ampl[6][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmaxA225_HB"); + Map_Ampl[6][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HB"); + Map_Ampl[6][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HE"); + Map_Ampl[6][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5TSmaxA225_HE"); + Map_Ampl[6][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6TSmaxA225_HE"); + Map_Ampl[6][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7TSmaxA225_HE"); + Map_Ampl[6][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmaxA225_HF"); + Map_Ampl[6][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HF"); + + HistAmpl[6][1] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HB"); + HistAmpl[6][2] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HE"); + HistAmpl[6][3] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HO"); + HistAmpl[6][4] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HF"); for (int test = 2; test <= 6; test++) { //Test: 2-Am, 3-Wm, 4-Rm, 5-TNm, 6-TXm, for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO @@ -780,21 +790,21 @@ int main(int argc, char *argv[]) { cONE->Divide(3, 1); if (test == 2 && sub == 2) { cONE->cd(2); - TH1F *kjkjkhj2 = (TH1F *)hfile->Get("h_AmplitudeHEtest1"); + TH1F *kjkjkhj2 = (TH1F *)dir->FindObjectAny("h_AmplitudeHEtest1"); kjkjkhj2->Draw(""); kjkjkhj2->SetTitle("HE, All Depth: shunt1"); cONE->cd(3); - TH1F *kjkjkhj3 = (TH1F *)hfile->Get("h_AmplitudeHEtest6"); + TH1F *kjkjkhj3 = (TH1F *)dir->FindObjectAny("h_AmplitudeHEtest6"); kjkjkhj3->Draw(""); kjkjkhj3->SetTitle("HE, All Depth: shunt6"); } if (test == 2 && sub == 1) { cONE->cd(2); - TH1F *kjkjkhb2 = (TH1F *)hfile->Get("h_AmplitudeHBtest1"); + TH1F *kjkjkhb2 = (TH1F *)dir->FindObjectAny("h_AmplitudeHBtest1"); kjkjkhb2->Draw(""); kjkjkhb2->SetTitle("HB, All Depth: shunt1"); cONE->cd(3); - TH1F *kjkjkhb3 = (TH1F *)hfile->Get("h_AmplitudeHBtest6"); + TH1F *kjkjkhb3 = (TH1F *)dir->FindObjectAny("h_AmplitudeHBtest6"); kjkjkhb3->Draw(""); kjkjkhb3->SetTitle("HB, All Depth: shunt6"); } @@ -953,14 +963,14 @@ int main(int argc, char *argv[]) { TH2F *Map_Calib[5][5]; // 2d histogramm for subdet, depth - Map_Calib[1][1] = (TH2F *)hfile->Get("h_map_HB"); - Map_Calib[1][2] = (TH2F *)hfile->Get("h_map_HB"); - Map_Calib[2][1] = (TH2F *)hfile->Get("h_map_HE"); - Map_Calib[2][2] = (TH2F *)hfile->Get("h_map_HE"); - Map_Calib[2][3] = (TH2F *)hfile->Get("h_map_HE"); - Map_Calib[3][4] = (TH2F *)hfile->Get("h_map_HO"); - Map_Calib[4][1] = (TH2F *)hfile->Get("h_map_HF"); - Map_Calib[4][2] = (TH2F *)hfile->Get("h_map_HF"); + Map_Calib[1][1] = (TH2F *)dir->FindObjectAny("h_map_HB"); + Map_Calib[1][2] = (TH2F *)dir->FindObjectAny("h_map_HB"); + Map_Calib[2][1] = (TH2F *)dir->FindObjectAny("h_map_HE"); + Map_Calib[2][2] = (TH2F *)dir->FindObjectAny("h_map_HE"); + Map_Calib[2][3] = (TH2F *)dir->FindObjectAny("h_map_HE"); + Map_Calib[3][4] = (TH2F *)dir->FindObjectAny("h_map_HO"); + Map_Calib[4][1] = (TH2F *)dir->FindObjectAny("h_map_HF"); + Map_Calib[4][2] = (TH2F *)dir->FindObjectAny("h_map_HF"); //+++++++++++++++++++++++++++++ //Test 0 Entries @@ -1030,14 +1040,14 @@ int main(int argc, char *argv[]) { //Test 11 (Cc) Rate of Cap ID errors for calibration channels //+++++++++++++++++++++++++++++ - Map_Ampl[11][1][1] = (TH2F *)hfile->Get("h_mapCapCalib047_HB"); - Map_Ampl[11][1][2] = (TH2F *)hfile->Get("h_mapCapCalib047_HB"); - Map_Ampl[11][2][1] = (TH2F *)hfile->Get("h_mapCapCalib047_HE"); - Map_Ampl[11][2][2] = (TH2F *)hfile->Get("h_mapCapCalib047_HE"); - Map_Ampl[11][2][3] = (TH2F *)hfile->Get("h_mapCapCalib047_HE"); - Map_Ampl[11][3][4] = (TH2F *)hfile->Get("h_mapCapCalib047_HO"); - Map_Ampl[11][4][1] = (TH2F *)hfile->Get("h_mapCapCalib047_HF"); - Map_Ampl[11][4][2] = (TH2F *)hfile->Get("h_mapCapCalib047_HF"); + Map_Ampl[11][1][1] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HB"); + Map_Ampl[11][1][2] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HB"); + Map_Ampl[11][2][1] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HE"); + Map_Ampl[11][2][2] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HE"); + Map_Ampl[11][2][3] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HE"); + Map_Ampl[11][3][4] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HO"); + Map_Ampl[11][4][1] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HF"); + Map_Ampl[11][4][2] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO // if (sub==1) cHB->Divide(2,1); @@ -1103,91 +1113,91 @@ int main(int argc, char *argv[]) { //Test 12 (Ac) ADC amplitude for calibration chanels //+++++++++++++++++++++++++++++ - Map_Ampl[12][1][1] = (TH2F *)hfile->Get("h_mapADCCalib047_HB"); - Map_Ampl[12][1][2] = (TH2F *)hfile->Get("h_mapADCCalib047_HB"); - Map_Ampl[12][2][1] = (TH2F *)hfile->Get("h_mapADCCalib047_HE"); - Map_Ampl[12][2][2] = (TH2F *)hfile->Get("h_mapADCCalib047_HE"); - Map_Ampl[12][2][3] = (TH2F *)hfile->Get("h_mapADCCalib047_HE"); - Map_Ampl[12][3][4] = (TH2F *)hfile->Get("h_mapADCCalib047_HO"); - Map_Ampl[12][4][1] = (TH2F *)hfile->Get("h_mapADCCalib047_HF"); - Map_Ampl[12][4][2] = (TH2F *)hfile->Get("h_mapADCCalib047_HF"); + Map_Ampl[12][1][1] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HB"); + Map_Ampl[12][1][2] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HB"); + Map_Ampl[12][2][1] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HE"); + Map_Ampl[12][2][2] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HE"); + Map_Ampl[12][2][3] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HE"); + Map_Ampl[12][3][4] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HO"); + Map_Ampl[12][4][1] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HF"); + Map_Ampl[12][4][2] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HF"); - HistAmpl[12][1] = (TH1F *)hfile->Get("h_ADCCalib_HB"); - HistAmpl[12][2] = (TH1F *)hfile->Get("h_ADCCalib_HE"); - HistAmpl[12][3] = (TH1F *)hfile->Get("h_ADCCalib_HO"); - HistAmpl[12][4] = (TH1F *)hfile->Get("h_ADCCalib_HF"); + HistAmpl[12][1] = (TH1F *)dir->FindObjectAny("h_ADCCalib_HB"); + HistAmpl[12][2] = (TH1F *)dir->FindObjectAny("h_ADCCalib_HE"); + HistAmpl[12][3] = (TH1F *)dir->FindObjectAny("h_ADCCalib_HO"); + HistAmpl[12][4] = (TH1F *)dir->FindObjectAny("h_ADCCalib_HF"); //+++++++++++++++++++++++++++++ //Test 13 (Wc) Rate of RMS //+++++++++++++++++++++++++++++ - Map_Ampl[13][1][1] = (TH2F *)hfile->Get("h_mapWidthCalib047_HB"); - Map_Ampl[13][1][2] = (TH2F *)hfile->Get("h_mapWidthCalib047_HB"); - Map_Ampl[13][2][1] = (TH2F *)hfile->Get("h_mapWidthCalib047_HE"); - Map_Ampl[13][2][2] = (TH2F *)hfile->Get("h_mapWidthCalib047_HE"); - Map_Ampl[13][2][3] = (TH2F *)hfile->Get("h_mapWidthCalib047_HE"); - Map_Ampl[13][3][4] = (TH2F *)hfile->Get("h_mapWidthCalib047_HO"); - Map_Ampl[13][4][1] = (TH2F *)hfile->Get("h_mapWidthCalib047_HF"); - Map_Ampl[13][4][2] = (TH2F *)hfile->Get("h_mapWidthCalib047_HF"); + Map_Ampl[13][1][1] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HB"); + Map_Ampl[13][1][2] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HB"); + Map_Ampl[13][2][1] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HE"); + Map_Ampl[13][2][2] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HE"); + Map_Ampl[13][2][3] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HE"); + Map_Ampl[13][3][4] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HO"); + Map_Ampl[13][4][1] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HF"); + Map_Ampl[13][4][2] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HF"); - HistAmpl[13][1] = (TH1F *)hfile->Get("h_WidthCalib_HB"); - HistAmpl[13][2] = (TH1F *)hfile->Get("h_WidthCalib_HE"); - HistAmpl[13][3] = (TH1F *)hfile->Get("h_WidthCalib_HO"); - HistAmpl[13][4] = (TH1F *)hfile->Get("h_WidthCalib_HF"); + HistAmpl[13][1] = (TH1F *)dir->FindObjectAny("h_WidthCalib_HB"); + HistAmpl[13][2] = (TH1F *)dir->FindObjectAny("h_WidthCalib_HE"); + HistAmpl[13][3] = (TH1F *)dir->FindObjectAny("h_WidthCalib_HO"); + HistAmpl[13][4] = (TH1F *)dir->FindObjectAny("h_WidthCalib_HF"); //+++++++++++++++++++++++++++++ //Test 14 (Rc) Rate of ratio 4 near max TS/ All TS //+++++++++++++++++++++++++++++ - Map_Ampl[14][1][1] = (TH2F *)hfile->Get("h_mapRatioCalib047_HB"); - Map_Ampl[14][1][2] = (TH2F *)hfile->Get("h_mapRatioCalib047_HB"); - Map_Ampl[14][2][1] = (TH2F *)hfile->Get("h_mapRatioCalib047_HE"); - Map_Ampl[14][2][2] = (TH2F *)hfile->Get("h_mapRatioCalib047_HE"); - Map_Ampl[14][2][3] = (TH2F *)hfile->Get("h_mapRatioCalib047_HE"); - Map_Ampl[14][3][4] = (TH2F *)hfile->Get("h_mapRatioCalib047_HO"); - Map_Ampl[14][4][1] = (TH2F *)hfile->Get("h_mapRatioCalib047_HF"); - Map_Ampl[14][4][2] = (TH2F *)hfile->Get("h_mapRatioCalib047_HF"); + Map_Ampl[14][1][1] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HB"); + Map_Ampl[14][1][2] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HB"); + Map_Ampl[14][2][1] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HE"); + Map_Ampl[14][2][2] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HE"); + Map_Ampl[14][2][3] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HE"); + Map_Ampl[14][3][4] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HO"); + Map_Ampl[14][4][1] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HF"); + Map_Ampl[14][4][2] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HF"); - HistAmpl[14][1] = (TH1F *)hfile->Get("h_RatioCalib_HB"); - HistAmpl[14][2] = (TH1F *)hfile->Get("h_RatioCalib_HE"); - HistAmpl[14][3] = (TH1F *)hfile->Get("h_RatioCalib_HO"); - HistAmpl[14][4] = (TH1F *)hfile->Get("h_RatioCalib_HF"); + HistAmpl[14][1] = (TH1F *)dir->FindObjectAny("h_RatioCalib_HB"); + HistAmpl[14][2] = (TH1F *)dir->FindObjectAny("h_RatioCalib_HE"); + HistAmpl[14][3] = (TH1F *)dir->FindObjectAny("h_RatioCalib_HO"); + HistAmpl[14][4] = (TH1F *)dir->FindObjectAny("h_RatioCalib_HF"); //+++++++++++++++++++++++++++++ //Test 15 (TNc) Mean position in 1-8 TS range //+++++++++++++++++++++++++++++ - Map_Ampl[15][1][1] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HB"); - Map_Ampl[15][1][2] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HB"); - Map_Ampl[15][2][1] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HE"); - Map_Ampl[15][2][2] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HE"); - Map_Ampl[15][2][3] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HE"); - Map_Ampl[15][3][4] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HO"); - Map_Ampl[15][4][1] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HF"); - Map_Ampl[15][4][2] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HF"); + Map_Ampl[15][1][1] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HB"); + Map_Ampl[15][1][2] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HB"); + Map_Ampl[15][2][1] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); + Map_Ampl[15][2][2] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); + Map_Ampl[15][2][3] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); + Map_Ampl[15][3][4] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HO"); + Map_Ampl[15][4][1] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HF"); + Map_Ampl[15][4][2] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HF"); - HistAmpl[15][1] = (TH1F *)hfile->Get("h_TSmeanCalib_HB"); - HistAmpl[15][2] = (TH1F *)hfile->Get("h_TSmeanCalib_HE"); - HistAmpl[15][3] = (TH1F *)hfile->Get("h_TSmeanCalib_HO"); - HistAmpl[15][4] = (TH1F *)hfile->Get("h_TSmeanCalib_HF"); + HistAmpl[15][1] = (TH1F *)dir->FindObjectAny("h_TSmeanCalib_HB"); + HistAmpl[15][2] = (TH1F *)dir->FindObjectAny("h_TSmeanCalib_HE"); + HistAmpl[15][3] = (TH1F *)dir->FindObjectAny("h_TSmeanCalib_HO"); + HistAmpl[15][4] = (TH1F *)dir->FindObjectAny("h_TSmeanCalib_HF"); //+++++++++++++++++++++++++++++ //Test 16 (TXc) Maximum position in 1-8 TS range //+++++++++++++++++++++++++++++ - Map_Ampl[16][1][1] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HB"); - Map_Ampl[16][1][2] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HB"); - Map_Ampl[16][2][1] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HE"); - Map_Ampl[16][2][2] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HE"); - Map_Ampl[16][2][3] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HE"); - Map_Ampl[16][3][4] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HO"); - Map_Ampl[16][4][1] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HF"); - Map_Ampl[16][4][2] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HF"); + Map_Ampl[16][1][1] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HB"); + Map_Ampl[16][1][2] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HB"); + Map_Ampl[16][2][1] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); + Map_Ampl[16][2][2] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); + Map_Ampl[16][2][3] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); + Map_Ampl[16][3][4] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HO"); + Map_Ampl[16][4][1] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HF"); + Map_Ampl[16][4][2] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HF"); - HistAmpl[16][1] = (TH1F *)hfile->Get("h_TSmaxCalib_HB"); - HistAmpl[16][2] = (TH1F *)hfile->Get("h_TSmaxCalib_HE"); - HistAmpl[16][3] = (TH1F *)hfile->Get("h_TSmaxCalib_HO"); - HistAmpl[16][4] = (TH1F *)hfile->Get("h_TSmaxCalib_HF"); + HistAmpl[16][1] = (TH1F *)dir->FindObjectAny("h_TSmaxCalib_HB"); + HistAmpl[16][2] = (TH1F *)dir->FindObjectAny("h_TSmaxCalib_HE"); + HistAmpl[16][3] = (TH1F *)dir->FindObjectAny("h_TSmaxCalib_HO"); + HistAmpl[16][4] = (TH1F *)dir->FindObjectAny("h_TSmaxCalib_HF"); for (int test = 12; test <= 16; test++) { //Test: 2-Am, 3-Wm, 4-Rm, 5-TNm, 6-TXm, for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO @@ -1494,59 +1504,59 @@ int main(int argc, char *argv[]) { //Test 21 (GS) Amplitude drift //+++++++++++++++++++++++++++++ - Map_Ampl[21][1][1] = (TH2F *)hfile->Get("h_mapDepth1AmplE34_HB"); - Map_Ampl[21][1][2] = (TH2F *)hfile->Get("h_mapDepth2AmplE34_HB"); - Map_Ampl[21][1][3] = (TH2F *)hfile->Get("h_mapDepth3AmplE34_HB"); - Map_Ampl[21][1][4] = (TH2F *)hfile->Get("h_mapDepth4AmplE34_HB"); - Map_Ampl[21][2][1] = (TH2F *)hfile->Get("h_mapDepth1AmplE34_HE"); - Map_Ampl[21][2][2] = (TH2F *)hfile->Get("h_mapDepth2AmplE34_HE"); - Map_Ampl[21][2][3] = (TH2F *)hfile->Get("h_mapDepth3AmplE34_HE"); - Map_Ampl[21][2][4] = (TH2F *)hfile->Get("h_mapDepth4AmplE34_HE"); - Map_Ampl[21][2][5] = (TH2F *)hfile->Get("h_mapDepth5AmplE34_HE"); - Map_Ampl[21][2][6] = (TH2F *)hfile->Get("h_mapDepth6AmplE34_HE"); - Map_Ampl[21][2][7] = (TH2F *)hfile->Get("h_mapDepth7AmplE34_HE"); - Map_Ampl[21][3][4] = (TH2F *)hfile->Get("h_mapDepth4AmplE34_HO"); - Map_Ampl[21][4][1] = (TH2F *)hfile->Get("h_mapDepth1AmplE34_HF"); - Map_Ampl[21][4][2] = (TH2F *)hfile->Get("h_mapDepth2AmplE34_HF"); - Map_Ampl[21][4][3] = (TH2F *)hfile->Get("h_mapDepth3AmplE34_HF"); - Map_Ampl[21][4][4] = (TH2F *)hfile->Get("h_mapDepth4AmplE34_HF"); + Map_Ampl[21][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1AmplE34_HB"); + Map_Ampl[21][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2AmplE34_HB"); + Map_Ampl[21][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3AmplE34_HB"); + Map_Ampl[21][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4AmplE34_HB"); + Map_Ampl[21][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1AmplE34_HE"); + Map_Ampl[21][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2AmplE34_HE"); + Map_Ampl[21][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3AmplE34_HE"); + Map_Ampl[21][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4AmplE34_HE"); + Map_Ampl[21][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5AmplE34_HE"); + Map_Ampl[21][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6AmplE34_HE"); + Map_Ampl[21][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7AmplE34_HE"); + Map_Ampl[21][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4AmplE34_HO"); + Map_Ampl[21][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1AmplE34_HF"); + Map_Ampl[21][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2AmplE34_HF"); + Map_Ampl[21][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3AmplE34_HF"); + Map_Ampl[21][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4AmplE34_HF"); TH2F *Map_RefAmpl[5][ALLDEPTH]; // 2D histogramm for subdet, depth TH2F *Map_RefSUB[5][ALLDEPTH]; // 2d histogramm for subdet, depth - Map_RefAmpl[1][1] = (TH2F *)hreffile->Get("h_mapDepth1AmplE34_HB"); - Map_RefAmpl[1][2] = (TH2F *)hreffile->Get("h_mapDepth2AmplE34_HB"); - Map_RefAmpl[1][3] = (TH2F *)hreffile->Get("h_mapDepth3AmplE34_HB"); - Map_RefAmpl[1][4] = (TH2F *)hreffile->Get("h_mapDepth4AmplE34_HB"); - Map_RefAmpl[2][1] = (TH2F *)hreffile->Get("h_mapDepth1AmplE34_HE"); - Map_RefAmpl[2][2] = (TH2F *)hreffile->Get("h_mapDepth2AmplE34_HE"); - Map_RefAmpl[2][3] = (TH2F *)hreffile->Get("h_mapDepth3AmplE34_HE"); - Map_RefAmpl[2][4] = (TH2F *)hreffile->Get("h_mapDepth4AmplE34_HE"); - Map_RefAmpl[2][5] = (TH2F *)hreffile->Get("h_mapDepth5AmplE34_HE"); - Map_RefAmpl[2][6] = (TH2F *)hreffile->Get("h_mapDepth6AmplE34_HE"); - Map_RefAmpl[2][7] = (TH2F *)hreffile->Get("h_mapDepth7AmplE34_HE"); - Map_RefAmpl[3][4] = (TH2F *)hreffile->Get("h_mapDepth4AmplE34_HO"); - Map_RefAmpl[4][1] = (TH2F *)hreffile->Get("h_mapDepth1AmplE34_HF"); - Map_RefAmpl[4][2] = (TH2F *)hreffile->Get("h_mapDepth2AmplE34_HF"); - Map_RefAmpl[4][3] = (TH2F *)hreffile->Get("h_mapDepth3AmplE34_HF"); - Map_RefAmpl[4][4] = (TH2F *)hreffile->Get("h_mapDepth4AmplE34_HF"); - - Map_RefSUB[1][1] = (TH2F *)hreffile->Get("h_mapDepth1_HB"); - Map_RefSUB[1][2] = (TH2F *)hreffile->Get("h_mapDepth2_HB"); - Map_RefSUB[1][3] = (TH2F *)hreffile->Get("h_mapDepth3_HB"); - Map_RefSUB[1][4] = (TH2F *)hreffile->Get("h_mapDepth4_HB"); - Map_RefSUB[2][1] = (TH2F *)hreffile->Get("h_mapDepth1_HE"); - Map_RefSUB[2][2] = (TH2F *)hreffile->Get("h_mapDepth2_HE"); - Map_RefSUB[2][3] = (TH2F *)hreffile->Get("h_mapDepth3_HE"); - Map_RefSUB[2][4] = (TH2F *)hreffile->Get("h_mapDepth4_HE"); - Map_RefSUB[2][5] = (TH2F *)hreffile->Get("h_mapDepth5_HE"); - Map_RefSUB[2][6] = (TH2F *)hreffile->Get("h_mapDepth6_HE"); - Map_RefSUB[2][7] = (TH2F *)hreffile->Get("h_mapDepth7_HE"); - Map_RefSUB[3][4] = (TH2F *)hreffile->Get("h_mapDepth4_HO"); - Map_RefSUB[4][1] = (TH2F *)hreffile->Get("h_mapDepth1_HF"); - Map_RefSUB[4][2] = (TH2F *)hreffile->Get("h_mapDepth2_HF"); - Map_RefSUB[4][3] = (TH2F *)hreffile->Get("h_mapDepth3_HF"); - Map_RefSUB[4][4] = (TH2F *)hreffile->Get("h_mapDepth4_HF"); + Map_RefAmpl[1][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1AmplE34_HB"); + Map_RefAmpl[1][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2AmplE34_HB"); + Map_RefAmpl[1][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3AmplE34_HB"); + Map_RefAmpl[1][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4AmplE34_HB"); + Map_RefAmpl[2][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1AmplE34_HE"); + Map_RefAmpl[2][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2AmplE34_HE"); + Map_RefAmpl[2][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3AmplE34_HE"); + Map_RefAmpl[2][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4AmplE34_HE"); + Map_RefAmpl[2][5] = (TH2F *)refdir->FindObjectAny("h_mapDepth5AmplE34_HE"); + Map_RefAmpl[2][6] = (TH2F *)refdir->FindObjectAny("h_mapDepth6AmplE34_HE"); + Map_RefAmpl[2][7] = (TH2F *)refdir->FindObjectAny("h_mapDepth7AmplE34_HE"); + Map_RefAmpl[3][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4AmplE34_HO"); + Map_RefAmpl[4][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1AmplE34_HF"); + Map_RefAmpl[4][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2AmplE34_HF"); + Map_RefAmpl[4][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3AmplE34_HF"); + Map_RefAmpl[4][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4AmplE34_HF"); + + Map_RefSUB[1][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1_HB"); + Map_RefSUB[1][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2_HB"); + Map_RefSUB[1][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3_HB"); + Map_RefSUB[1][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4_HB"); + Map_RefSUB[2][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1_HE"); + Map_RefSUB[2][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2_HE"); + Map_RefSUB[2][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3_HE"); + Map_RefSUB[2][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4_HE"); + Map_RefSUB[2][5] = (TH2F *)refdir->FindObjectAny("h_mapDepth5_HE"); + Map_RefSUB[2][6] = (TH2F *)refdir->FindObjectAny("h_mapDepth6_HE"); + Map_RefSUB[2][7] = (TH2F *)refdir->FindObjectAny("h_mapDepth7_HE"); + Map_RefSUB[3][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4_HO"); + Map_RefSUB[4][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1_HF"); + Map_RefSUB[4][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2_HF"); + Map_RefSUB[4][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3_HF"); + Map_RefSUB[4][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4_HF"); HistAmplDepth[21][1][1] = new TH1F("diffAmpl_Depth1_HB", "", 100, -10., 10.); HistAmplDepth[21][1][2] = new TH1F("diffAmpl_Depth2_HB", "", 100, -10., 10.); @@ -1907,75 +1917,75 @@ int main(int argc, char *argv[]) { //Test 31, 32 Pedestal, pedestalWidths //++++++++++++++++++++++++++++++++++++ - Map_Ampl[31][1][1] = (TH2F *)hfile->Get("h_mapDepth1pedestal_HB"); - Map_Ampl[31][1][2] = (TH2F *)hfile->Get("h_mapDepth2pedestal_HB"); - Map_Ampl[31][1][3] = (TH2F *)hfile->Get("h_mapDepth3pedestal_HB"); - Map_Ampl[31][1][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HB"); - Map_Ampl[31][2][1] = (TH2F *)hfile->Get("h_mapDepth1pedestal_HE"); - Map_Ampl[31][2][2] = (TH2F *)hfile->Get("h_mapDepth2pedestal_HE"); - Map_Ampl[31][2][3] = (TH2F *)hfile->Get("h_mapDepth3pedestal_HE"); - Map_Ampl[31][2][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HE"); - Map_Ampl[31][2][5] = (TH2F *)hfile->Get("h_mapDepth5pedestal_HE"); - Map_Ampl[31][2][6] = (TH2F *)hfile->Get("h_mapDepth6pedestal_HE"); - Map_Ampl[31][2][7] = (TH2F *)hfile->Get("h_mapDepth7pedestal_HE"); - Map_Ampl[31][3][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HO"); - Map_Ampl[31][4][1] = (TH2F *)hfile->Get("h_mapDepth1pedestal_HF"); - Map_Ampl[31][4][2] = (TH2F *)hfile->Get("h_mapDepth2pedestal_HF"); - Map_Ampl[31][4][3] = (TH2F *)hfile->Get("h_mapDepth3pedestal_HF"); - Map_Ampl[31][4][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HF"); - - Map_Ampl[32][1][1] = (TH2F *)hfile->Get("h_mapDepth1pedestalw_HB"); - Map_Ampl[32][1][2] = (TH2F *)hfile->Get("h_mapDepth2pedestalw_HB"); - Map_Ampl[32][1][3] = (TH2F *)hfile->Get("h_mapDepth3pedestalw_HB"); - Map_Ampl[32][1][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HB"); - Map_Ampl[32][2][1] = (TH2F *)hfile->Get("h_mapDepth1pedestalw_HE"); - Map_Ampl[32][2][2] = (TH2F *)hfile->Get("h_mapDepth2pedestalw_HE"); - Map_Ampl[32][2][3] = (TH2F *)hfile->Get("h_mapDepth3pedestalw_HE"); - Map_Ampl[32][2][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HE"); - Map_Ampl[32][2][5] = (TH2F *)hfile->Get("h_mapDepth5pedestalw_HE"); - Map_Ampl[32][2][6] = (TH2F *)hfile->Get("h_mapDepth6pedestalw_HE"); - Map_Ampl[32][2][7] = (TH2F *)hfile->Get("h_mapDepth7pedestalw_HE"); - Map_Ampl[32][3][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HO"); - Map_Ampl[32][4][1] = (TH2F *)hfile->Get("h_mapDepth1pedestalw_HF"); - Map_Ampl[32][4][2] = (TH2F *)hfile->Get("h_mapDepth2pedestalw_HF"); - Map_Ampl[32][4][3] = (TH2F *)hfile->Get("h_mapDepth3pedestalw_HF"); - Map_Ampl[32][4][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HF"); - - HistPed[1][1][0] = (TH1F *)hfile->Get("h_pedestal0_HB"); - HistPed[1][1][1] = (TH1F *)hfile->Get("h_pedestal1_HB"); - HistPed[1][1][2] = (TH1F *)hfile->Get("h_pedestal2_HB"); - HistPed[1][1][3] = (TH1F *)hfile->Get("h_pedestal3_HB"); - HistPed[2][1][0] = (TH1F *)hfile->Get("h_pedestalw0_HB"); - HistPed[2][1][1] = (TH1F *)hfile->Get("h_pedestalw1_HB"); - HistPed[2][1][2] = (TH1F *)hfile->Get("h_pedestalw2_HB"); - HistPed[2][1][3] = (TH1F *)hfile->Get("h_pedestalw3_HB"); - - HistPed[1][2][0] = (TH1F *)hfile->Get("h_pedestal0_HE"); - HistPed[1][2][1] = (TH1F *)hfile->Get("h_pedestal1_HE"); - HistPed[1][2][2] = (TH1F *)hfile->Get("h_pedestal2_HE"); - HistPed[1][2][3] = (TH1F *)hfile->Get("h_pedestal3_HE"); - HistPed[2][2][0] = (TH1F *)hfile->Get("h_pedestalw0_HE"); - HistPed[2][2][1] = (TH1F *)hfile->Get("h_pedestalw1_HE"); - HistPed[2][2][2] = (TH1F *)hfile->Get("h_pedestalw2_HE"); - HistPed[2][2][3] = (TH1F *)hfile->Get("h_pedestalw3_HE"); - - HistPed[1][3][0] = (TH1F *)hfile->Get("h_pedestal0_HO"); - HistPed[1][3][1] = (TH1F *)hfile->Get("h_pedestal1_HO"); - HistPed[1][3][2] = (TH1F *)hfile->Get("h_pedestal2_HO"); - HistPed[1][3][3] = (TH1F *)hfile->Get("h_pedestal3_HO"); - HistPed[2][3][0] = (TH1F *)hfile->Get("h_pedestalw0_HO"); - HistPed[2][3][1] = (TH1F *)hfile->Get("h_pedestalw1_HO"); - HistPed[2][3][2] = (TH1F *)hfile->Get("h_pedestalw2_HO"); - HistPed[2][3][3] = (TH1F *)hfile->Get("h_pedestalw3_HO"); - - HistPed[1][4][0] = (TH1F *)hfile->Get("h_pedestal0_HF"); - HistPed[1][4][1] = (TH1F *)hfile->Get("h_pedestal1_HF"); - HistPed[1][4][2] = (TH1F *)hfile->Get("h_pedestal2_HF"); - HistPed[1][4][3] = (TH1F *)hfile->Get("h_pedestal3_HF"); - HistPed[2][4][0] = (TH1F *)hfile->Get("h_pedestalw0_HF"); - HistPed[2][4][1] = (TH1F *)hfile->Get("h_pedestalw1_HF"); - HistPed[2][4][2] = (TH1F *)hfile->Get("h_pedestalw2_HF"); - HistPed[2][4][3] = (TH1F *)hfile->Get("h_pedestalw3_HF"); + Map_Ampl[31][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestal_HB"); + Map_Ampl[31][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestal_HB"); + Map_Ampl[31][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestal_HB"); + Map_Ampl[31][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HB"); + Map_Ampl[31][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestal_HE"); + Map_Ampl[31][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestal_HE"); + Map_Ampl[31][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestal_HE"); + Map_Ampl[31][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HE"); + Map_Ampl[31][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5pedestal_HE"); + Map_Ampl[31][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6pedestal_HE"); + Map_Ampl[31][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7pedestal_HE"); + Map_Ampl[31][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HO"); + Map_Ampl[31][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestal_HF"); + Map_Ampl[31][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestal_HF"); + Map_Ampl[31][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestal_HF"); + Map_Ampl[31][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HF"); + + Map_Ampl[32][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestalw_HB"); + Map_Ampl[32][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestalw_HB"); + Map_Ampl[32][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestalw_HB"); + Map_Ampl[32][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HB"); + Map_Ampl[32][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestalw_HE"); + Map_Ampl[32][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestalw_HE"); + Map_Ampl[32][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestalw_HE"); + Map_Ampl[32][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HE"); + Map_Ampl[32][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5pedestalw_HE"); + Map_Ampl[32][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6pedestalw_HE"); + Map_Ampl[32][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7pedestalw_HE"); + Map_Ampl[32][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HO"); + Map_Ampl[32][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestalw_HF"); + Map_Ampl[32][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestalw_HF"); + Map_Ampl[32][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestalw_HF"); + Map_Ampl[32][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HF"); + + HistPed[1][1][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HB"); + HistPed[1][1][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HB"); + HistPed[1][1][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HB"); + HistPed[1][1][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HB"); + HistPed[2][1][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HB"); + HistPed[2][1][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HB"); + HistPed[2][1][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HB"); + HistPed[2][1][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HB"); + + HistPed[1][2][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HE"); + HistPed[1][2][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HE"); + HistPed[1][2][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HE"); + HistPed[1][2][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HE"); + HistPed[2][2][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HE"); + HistPed[2][2][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HE"); + HistPed[2][2][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HE"); + HistPed[2][2][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HE"); + + HistPed[1][3][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HO"); + HistPed[1][3][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HO"); + HistPed[1][3][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HO"); + HistPed[1][3][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HO"); + HistPed[2][3][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HO"); + HistPed[2][3][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HO"); + HistPed[2][3][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HO"); + HistPed[2][3][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HO"); + + HistPed[1][4][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HF"); + HistPed[1][4][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HF"); + HistPed[1][4][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HF"); + HistPed[1][4][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HF"); + HistPed[2][4][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HF"); + HistPed[2][4][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HF"); + HistPed[2][4][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HF"); + HistPed[2][4][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HF"); for (int test = 31; test <= 32; test++) { //Test: 31-Pedestals, 32-pedestal Widths, for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF @@ -2167,14 +2177,14 @@ int main(int argc, char *argv[]) { //++++++++++++++++++++++++++++++++++++ cPED->Clear(); - Map_Ped[1][1] = (TH2F *)hfile->Get("h2_pedvsampl_HB"); - Map_Ped[1][2] = (TH2F *)hfile->Get("h2_pedvsampl_HE"); - Map_Ped[1][3] = (TH2F *)hfile->Get("h2_pedvsampl_HO"); - Map_Ped[1][4] = (TH2F *)hfile->Get("h2_pedvsampl_HF"); - Map_Ped[2][1] = (TH2F *)hfile->Get("h2_pedwvsampl_HB"); - Map_Ped[2][2] = (TH2F *)hfile->Get("h2_pedwvsampl_HE"); - Map_Ped[2][3] = (TH2F *)hfile->Get("h2_pedwvsampl_HO"); - Map_Ped[2][4] = (TH2F *)hfile->Get("h2_pedwvsampl_HF"); + Map_Ped[1][1] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HB"); + Map_Ped[1][2] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HE"); + Map_Ped[1][3] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HO"); + Map_Ped[1][4] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HF"); + Map_Ped[2][1] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HB"); + Map_Ped[2][2] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HE"); + Map_Ped[2][3] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HO"); + Map_Ped[2][4] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF cPED->Divide(2, 1); for (int test = 1; test <= 2; test++) { @@ -2222,25 +2232,25 @@ int main(int argc, char *argv[]) { //++++++++++++++++++++++++++++++++++++ cONE->Clear(); - hist_GoodTSshape[1] = (TH1F *)hfile->Get("h_shape_good_channels_HB"); - hist_GoodTSshape[2] = (TH1F *)hfile->Get("h_shape_good_channels_HE"); - hist_GoodTSshape[3] = (TH1F *)hfile->Get("h_shape_good_channels_HO"); - hist_GoodTSshape[4] = (TH1F *)hfile->Get("h_shape_good_channels_HF"); - - hist_GoodTSshape0[1] = (TH1F *)hfile->Get("h_shape0_good_channels_HB"); - hist_GoodTSshape0[2] = (TH1F *)hfile->Get("h_shape0_good_channels_HE"); - hist_GoodTSshape0[3] = (TH1F *)hfile->Get("h_shape0_good_channels_HO"); - hist_GoodTSshape0[4] = (TH1F *)hfile->Get("h_shape0_good_channels_HF"); - - hist_BadTSshape[1] = (TH1F *)hfile->Get("h_shape_bad_channels_HB"); - hist_BadTSshape[2] = (TH1F *)hfile->Get("h_shape_bad_channels_HE"); - hist_BadTSshape[3] = (TH1F *)hfile->Get("h_shape_bad_channels_HO"); - hist_BadTSshape[4] = (TH1F *)hfile->Get("h_shape_bad_channels_HF"); - - hist_BadTSshape0[1] = (TH1F *)hfile->Get("h_shape0_bad_channels_HB"); - hist_BadTSshape0[2] = (TH1F *)hfile->Get("h_shape0_bad_channels_HE"); - hist_BadTSshape0[3] = (TH1F *)hfile->Get("h_shape0_bad_channels_HO"); - hist_BadTSshape0[4] = (TH1F *)hfile->Get("h_shape0_bad_channels_HF"); + hist_GoodTSshape[1] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HB"); + hist_GoodTSshape[2] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HE"); + hist_GoodTSshape[3] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HO"); + hist_GoodTSshape[4] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HF"); + + hist_GoodTSshape0[1] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HB"); + hist_GoodTSshape0[2] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HE"); + hist_GoodTSshape0[3] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HO"); + hist_GoodTSshape0[4] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HF"); + + hist_BadTSshape[1] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HB"); + hist_BadTSshape[2] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HE"); + hist_BadTSshape[3] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HO"); + hist_BadTSshape[4] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HF"); + + hist_BadTSshape0[1] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HB"); + hist_BadTSshape0[2] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HE"); + hist_BadTSshape0[3] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HO"); + hist_BadTSshape0[4] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HF"); cONE->cd(1); @@ -2313,25 +2323,25 @@ int main(int argc, char *argv[]) { //+++++++++++++++++++++++++++++ // Entries in different TSs: //+++++++++++++++++++++++++++++ - Map_SUBTS[1][1] = (TH2F *)hfile->Get("h_mapDepth1TS2_HB"); - Map_SUBTS[1][2] = (TH2F *)hfile->Get("h_mapDepth2TS2_HB"); - Map_SUBTS[1][3] = (TH2F *)hfile->Get("h_mapDepth3TS2_HB"); - Map_SUBTS[1][4] = (TH2F *)hfile->Get("h_mapDepth4TS2_HB"); - - Map_SUBTS[2][1] = (TH2F *)hfile->Get("h_mapDepth1TS2_HE"); - Map_SUBTS[2][2] = (TH2F *)hfile->Get("h_mapDepth2TS2_HE"); - Map_SUBTS[2][3] = (TH2F *)hfile->Get("h_mapDepth3TS2_HE"); - Map_SUBTS[2][4] = (TH2F *)hfile->Get("h_mapDepth4TS2_HE"); - Map_SUBTS[2][5] = (TH2F *)hfile->Get("h_mapDepth5TS2_HE"); - Map_SUBTS[2][6] = (TH2F *)hfile->Get("h_mapDepth6TS2_HE"); - Map_SUBTS[2][7] = (TH2F *)hfile->Get("h_mapDepth7TS2_HE"); - - Map_SUBTS[3][4] = (TH2F *)hfile->Get("h_mapDepth4TS012_HO"); - - Map_SUBTS[4][1] = (TH2F *)hfile->Get("h_mapDepth1TS1_HF"); - Map_SUBTS[4][2] = (TH2F *)hfile->Get("h_mapDepth2TS1_HF"); - Map_SUBTS[4][3] = (TH2F *)hfile->Get("h_mapDepth3TS1_HF"); - Map_SUBTS[4][4] = (TH2F *)hfile->Get("h_mapDepth4TS1_HF"); + Map_SUBTS[1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TS2_HB"); + Map_SUBTS[1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TS2_HB"); + Map_SUBTS[1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TS2_HB"); + Map_SUBTS[1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TS2_HB"); + + Map_SUBTS[2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TS2_HE"); + Map_SUBTS[2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TS2_HE"); + Map_SUBTS[2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TS2_HE"); + Map_SUBTS[2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TS2_HE"); + Map_SUBTS[2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5TS2_HE"); + Map_SUBTS[2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6TS2_HE"); + Map_SUBTS[2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7TS2_HE"); + + Map_SUBTS[3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TS012_HO"); + + Map_SUBTS[4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TS1_HF"); + Map_SUBTS[4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TS1_HF"); + Map_SUBTS[4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TS1_HF"); + Map_SUBTS[4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TS1_HF"); ////////////////////////////////////////////////////////////// for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO @@ -2424,20 +2434,20 @@ int main(int argc, char *argv[]) { std::cout<<" We are here to print ADC "<Get("h_ADC_HB"); - hist_ADC_All[2] = (TH1F*)hfile->Get("h_ADC_HE"); - hist_ADC_All[3] = (TH1F*)hfile->Get("h_ADC_HO"); - hist_ADC_All[4] = (TH1F*)hfile->Get("h_ADC_HF"); + hist_ADC_All[1] = (TH1F*)dir->FindObjectAny("h_ADC_HB"); + hist_ADC_All[2] = (TH1F*)dir->FindObjectAny("h_ADC_HE"); + hist_ADC_All[3] = (TH1F*)dir->FindObjectAny("h_ADC_HO"); + hist_ADC_All[4] = (TH1F*)dir->FindObjectAny("h_ADC_HF"); - hist_ADC_DS[1][1] = (TH1F*)hfile->Get("h_ADC_HBdepth1"); - hist_ADC_DS[1][2] = (TH1F*)hfile->Get("h_ADC_HBdepth2"); - hist_ADC_DS[2][1] = (TH1F*)hfile->Get("h_ADC_HEdepth1"); - hist_ADC_DS[2][2] = (TH1F*)hfile->Get("h_ADC_HEdepth2"); - hist_ADC_DS[2][3] = (TH1F*)hfile->Get("h_ADC_HEdepth3"); - hist_ADC_DS[3][4] = (TH1F*)hfile->Get("h_ADC_HOdepth4"); - hist_ADC_DS[4][1] = (TH1F*)hfile->Get("h_ADC_HFdepth1"); - hist_ADC_DS[4][2] = (TH1F*)hfile->Get("h_ADC_HFdepth2"); + hist_ADC_DS[1][1] = (TH1F*)dir->FindObjectAny("h_ADC_HBdepth1"); + hist_ADC_DS[1][2] = (TH1F*)dir->FindObjectAny("h_ADC_HBdepth2"); + hist_ADC_DS[2][1] = (TH1F*)dir->FindObjectAny("h_ADC_HEdepth1"); + hist_ADC_DS[2][2] = (TH1F*)dir->FindObjectAny("h_ADC_HEdepth2"); + hist_ADC_DS[2][3] = (TH1F*)dir->FindObjectAny("h_ADC_HEdepth3"); + hist_ADC_DS[3][4] = (TH1F*)dir->FindObjectAny("h_ADC_HOdepth4"); + hist_ADC_DS[4][1] = (TH1F*)dir->FindObjectAny("h_ADC_HFdepth1"); + hist_ADC_DS[4][2] = (TH1F*)dir->FindObjectAny("h_ADC_HFdepth2"); cONE->Clear(); @@ -2507,32 +2517,32 @@ std::cout<<" We are here to print ADC "<Get("h_sumamplitude_depth1_HB"); - hist_SumADC[1][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HB"); - hist_SumADC[2][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HE"); - hist_SumADC[2][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HE"); - hist_SumADC[2][3] = (TH1F*)hfile->Get("h_sumamplitude_depth3_HE"); - hist_SumADC[3][4] = (TH1F*)hfile->Get("h_sumamplitude_depth4_HO"); - hist_SumADC[4][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HF"); - hist_SumADC[4][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HF"); - - hist_SumADC0[1][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HB0"); - hist_SumADC0[1][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HB0"); - hist_SumADC0[2][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HE0"); - hist_SumADC0[2][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HE0"); - hist_SumADC0[2][3] = (TH1F*)hfile->Get("h_sumamplitude_depth3_HE0"); - hist_SumADC0[3][4] = (TH1F*)hfile->Get("h_sumamplitude_depth4_HO0"); - hist_SumADC0[4][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HF0"); - hist_SumADC0[4][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HF0"); - - hist_SumADC1[1][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HB1"); - hist_SumADC1[1][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HB1"); - hist_SumADC1[2][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HE1"); - hist_SumADC1[2][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HE1"); - hist_SumADC1[2][3] = (TH1F*)hfile->Get("h_sumamplitude_depth3_HE1"); - hist_SumADC1[3][4] = (TH1F*)hfile->Get("h_sumamplitude_depth4_HO1"); - hist_SumADC1[4][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HF1"); - hist_SumADC1[4][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HF1"); + hist_SumADC[1][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HB"); + hist_SumADC[1][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HB"); + hist_SumADC[2][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HE"); + hist_SumADC[2][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HE"); + hist_SumADC[2][3] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth3_HE"); + hist_SumADC[3][4] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth4_HO"); + hist_SumADC[4][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HF"); + hist_SumADC[4][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HF"); + + hist_SumADC0[1][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HB0"); + hist_SumADC0[1][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HB0"); + hist_SumADC0[2][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HE0"); + hist_SumADC0[2][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HE0"); + hist_SumADC0[2][3] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth3_HE0"); + hist_SumADC0[3][4] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth4_HO0"); + hist_SumADC0[4][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HF0"); + hist_SumADC0[4][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HF0"); + + hist_SumADC1[1][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HB1"); + hist_SumADC1[1][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HB1"); + hist_SumADC1[2][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HE1"); + hist_SumADC1[2][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HE1"); + hist_SumADC1[2][3] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth3_HE1"); + hist_SumADC1[3][4] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth4_HO1"); + hist_SumADC1[4][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HF1"); + hist_SumADC1[4][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HF1"); for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF if (sub==1) cHB->Divide(2,1); @@ -2690,20 +2700,20 @@ std::cout<<" We are here to print ADC "<Get("h_amplitudechannel1_HB1"); - TH2F *amplitudechannel0HB1 = (TH2F *)hfile->Get("h_amplitudechannel0_HB1"); + TH2F *amplitudechannel1HB1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HB1"); + TH2F *amplitudechannel0HB1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB1"); TH2F *amplitudechannelHB1 = (TH2F *)amplitudechannel1HB1->Clone("amplitudechannelHB1"); amplitudechannelHB1->Divide(amplitudechannel1HB1, amplitudechannel0HB1, 1, 1, "B"); - TH2F *amplitudechannel1HB2 = (TH2F *)hfile->Get("h_amplitudechannel1_HB2"); - TH2F *amplitudechannel0HB2 = (TH2F *)hfile->Get("h_amplitudechannel0_HB2"); + TH2F *amplitudechannel1HB2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HB2"); + TH2F *amplitudechannel0HB2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB2"); TH2F *amplitudechannelHB2 = (TH2F *)amplitudechannel1HB2->Clone("amplitudechannelHB2"); amplitudechannelHB2->Divide(amplitudechannel1HB2, amplitudechannel0HB2, 1, 1, "B"); - TH2F *amplitudechannel1HB3 = (TH2F *)hfile->Get("h_amplitudechannel1_HB3"); - TH2F *amplitudechannel0HB3 = (TH2F *)hfile->Get("h_amplitudechannel0_HB3"); + TH2F *amplitudechannel1HB3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HB3"); + TH2F *amplitudechannel0HB3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB3"); TH2F *amplitudechannelHB3 = (TH2F *)amplitudechannel1HB3->Clone("amplitudechannelHB3"); amplitudechannelHB3->Divide(amplitudechannel1HB3, amplitudechannel0HB3, 1, 1, "B"); - TH2F *amplitudechannel1HB4 = (TH2F *)hfile->Get("h_amplitudechannel1_HB4"); - TH2F *amplitudechannel0HB4 = (TH2F *)hfile->Get("h_amplitudechannel0_HB4"); + TH2F *amplitudechannel1HB4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HB4"); + TH2F *amplitudechannel0HB4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB4"); TH2F *amplitudechannelHB4 = (TH2F *)amplitudechannel1HB4->Clone("amplitudechannelHB4"); amplitudechannelHB4->Divide(amplitudechannel1HB4, amplitudechannel0HB4, 1, 1, "B"); for (int jeta = 0; jeta < njeta; jeta++) { @@ -3541,20 +3551,20 @@ std::cout<<" We are here to print ADC "<Get("h_amplitudechannel2_HB1"); - TH2F *digiVariance0HB1 = (TH2F *)hfile->Get("h_amplitudechannel0_HB1"); + TH2F *digiVariance1HB1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HB1"); + TH2F *digiVariance0HB1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB1"); TH2F *digiVarianceHB1 = (TH2F *)digiVariance1HB1->Clone("digiVarianceHB1"); digiVarianceHB1->Divide(digiVariance1HB1, digiVariance0HB1, 1, 1, "B"); - TH2F *digiVariance1HB2 = (TH2F *)hfile->Get("h_amplitudechannel2_HB2"); - TH2F *digiVariance0HB2 = (TH2F *)hfile->Get("h_amplitudechannel0_HB2"); + TH2F *digiVariance1HB2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HB2"); + TH2F *digiVariance0HB2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB2"); TH2F *digiVarianceHB2 = (TH2F *)digiVariance1HB2->Clone("digiVarianceHB2"); digiVarianceHB2->Divide(digiVariance1HB2, digiVariance0HB2, 1, 1, "B"); - TH2F *digiVariance1HB3 = (TH2F *)hfile->Get("h_amplitudechannel2_HB3"); - TH2F *digiVariance0HB3 = (TH2F *)hfile->Get("h_amplitudechannel0_HB3"); + TH2F *digiVariance1HB3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HB3"); + TH2F *digiVariance0HB3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB3"); TH2F *digiVarianceHB3 = (TH2F *)digiVariance1HB3->Clone("digiVarianceHB3"); digiVarianceHB3->Divide(digiVariance1HB3, digiVariance0HB3, 1, 1, "B"); - TH2F *digiVariance1HB4 = (TH2F *)hfile->Get("h_amplitudechannel2_HB4"); - TH2F *digiVariance0HB4 = (TH2F *)hfile->Get("h_amplitudechannel0_HB4"); + TH2F *digiVariance1HB4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HB4"); + TH2F *digiVariance0HB4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB4"); TH2F *digiVarianceHB4 = (TH2F *)digiVariance1HB4->Clone("digiVarianceHB4"); digiVarianceHB4->Divide(digiVariance1HB4, digiVariance0HB4, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_amplitudechannel1_HE1"); - TH2F *amplitudechannel0HE1 = (TH2F *)hfile->Get("h_amplitudechannel0_HE1"); + TH2F *amplitudechannel1HE1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HE1"); + TH2F *amplitudechannel0HE1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE1"); TH2F *amplitudechannelHE1 = (TH2F *)amplitudechannel1HE1->Clone("amplitudechannelHE1"); amplitudechannelHE1->Divide(amplitudechannel1HE1, amplitudechannel0HE1, 1, 1, "B"); - TH2F *amplitudechannel1HE2 = (TH2F *)hfile->Get("h_amplitudechannel1_HE2"); - TH2F *amplitudechannel0HE2 = (TH2F *)hfile->Get("h_amplitudechannel0_HE2"); + TH2F *amplitudechannel1HE2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HE2"); + TH2F *amplitudechannel0HE2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE2"); TH2F *amplitudechannelHE2 = (TH2F *)amplitudechannel1HE2->Clone("amplitudechannelHE2"); amplitudechannelHE2->Divide(amplitudechannel1HE2, amplitudechannel0HE2, 1, 1, "B"); - TH2F *amplitudechannel1HE3 = (TH2F *)hfile->Get("h_amplitudechannel1_HE3"); - TH2F *amplitudechannel0HE3 = (TH2F *)hfile->Get("h_amplitudechannel0_HE3"); + TH2F *amplitudechannel1HE3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HE3"); + TH2F *amplitudechannel0HE3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE3"); TH2F *amplitudechannelHE3 = (TH2F *)amplitudechannel1HE3->Clone("amplitudechannelHE3"); amplitudechannelHE3->Divide(amplitudechannel1HE3, amplitudechannel0HE3, 1, 1, "B"); - TH2F *amplitudechannel1HE4 = (TH2F *)hfile->Get("h_amplitudechannel1_HE4"); - TH2F *amplitudechannel0HE4 = (TH2F *)hfile->Get("h_amplitudechannel0_HE4"); + TH2F *amplitudechannel1HE4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HE4"); + TH2F *amplitudechannel0HE4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE4"); TH2F *amplitudechannelHE4 = (TH2F *)amplitudechannel1HE4->Clone("amplitudechannelHE4"); amplitudechannelHE4->Divide(amplitudechannel1HE4, amplitudechannel0HE4, 1, 1, "B"); - TH2F *amplitudechannel1HE5 = (TH2F *)hfile->Get("h_amplitudechannel1_HE5"); - TH2F *amplitudechannel0HE5 = (TH2F *)hfile->Get("h_amplitudechannel0_HE5"); + TH2F *amplitudechannel1HE5 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HE5"); + TH2F *amplitudechannel0HE5 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE5"); TH2F *amplitudechannelHE5 = (TH2F *)amplitudechannel1HE5->Clone("amplitudechannelHE5"); amplitudechannelHE5->Divide(amplitudechannel1HE5, amplitudechannel0HE5, 1, 1, "B"); - TH2F *amplitudechannel1HE6 = (TH2F *)hfile->Get("h_amplitudechannel1_HE6"); - TH2F *amplitudechannel0HE6 = (TH2F *)hfile->Get("h_amplitudechannel0_HE6"); + TH2F *amplitudechannel1HE6 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HE6"); + TH2F *amplitudechannel0HE6 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE6"); TH2F *amplitudechannelHE6 = (TH2F *)amplitudechannel1HE6->Clone("amplitudechannelHE6"); amplitudechannelHE6->Divide(amplitudechannel1HE6, amplitudechannel0HE6, 1, 1, "B"); - TH2F *amplitudechannel1HE7 = (TH2F *)hfile->Get("h_amplitudechannel1_HE7"); - TH2F *amplitudechannel0HE7 = (TH2F *)hfile->Get("h_amplitudechannel0_HE7"); + TH2F *amplitudechannel1HE7 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HE7"); + TH2F *amplitudechannel0HE7 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE7"); TH2F *amplitudechannelHE7 = (TH2F *)amplitudechannel1HE7->Clone("amplitudechannelHE7"); amplitudechannelHE7->Divide(amplitudechannel1HE7, amplitudechannel0HE7, 1, 1, "B"); for (int jeta = 0; jeta < njeta; jeta++) { @@ -5686,32 +5696,32 @@ std::cout<<" We are here to print ADC "<Get("h_amplitudechannel2_HE1"); - TH2F *digiVariance0HE1 = (TH2F *)hfile->Get("h_amplitudechannel0_HE1"); + TH2F *digiVariance1HE1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HE1"); + TH2F *digiVariance0HE1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE1"); TH2F *digiVarianceHE1 = (TH2F *)digiVariance1HE1->Clone("digiVarianceHE1"); digiVarianceHE1->Divide(digiVariance1HE1, digiVariance0HE1, 1, 1, "B"); - TH2F *digiVariance1HE2 = (TH2F *)hfile->Get("h_amplitudechannel2_HE2"); - TH2F *digiVariance0HE2 = (TH2F *)hfile->Get("h_amplitudechannel0_HE2"); + TH2F *digiVariance1HE2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HE2"); + TH2F *digiVariance0HE2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE2"); TH2F *digiVarianceHE2 = (TH2F *)digiVariance1HE2->Clone("digiVarianceHE2"); digiVarianceHE2->Divide(digiVariance1HE2, digiVariance0HE2, 1, 1, "B"); - TH2F *digiVariance1HE3 = (TH2F *)hfile->Get("h_amplitudechannel2_HE3"); - TH2F *digiVariance0HE3 = (TH2F *)hfile->Get("h_amplitudechannel0_HE3"); + TH2F *digiVariance1HE3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HE3"); + TH2F *digiVariance0HE3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE3"); TH2F *digiVarianceHE3 = (TH2F *)digiVariance1HE3->Clone("digiVarianceHE3"); digiVarianceHE3->Divide(digiVariance1HE3, digiVariance0HE3, 1, 1, "B"); - TH2F *digiVariance1HE4 = (TH2F *)hfile->Get("h_amplitudechannel2_HE4"); - TH2F *digiVariance0HE4 = (TH2F *)hfile->Get("h_amplitudechannel0_HE4"); + TH2F *digiVariance1HE4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HE4"); + TH2F *digiVariance0HE4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE4"); TH2F *digiVarianceHE4 = (TH2F *)digiVariance1HE4->Clone("digiVarianceHE4"); digiVarianceHE4->Divide(digiVariance1HE4, digiVariance0HE4, 1, 1, "B"); - TH2F *digiVariance1HE5 = (TH2F *)hfile->Get("h_amplitudechannel2_HE5"); - TH2F *digiVariance0HE5 = (TH2F *)hfile->Get("h_amplitudechannel0_HE5"); + TH2F *digiVariance1HE5 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HE5"); + TH2F *digiVariance0HE5 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE5"); TH2F *digiVarianceHE5 = (TH2F *)digiVariance1HE5->Clone("digiVarianceHE5"); digiVarianceHE5->Divide(digiVariance1HE5, digiVariance0HE5, 1, 1, "B"); - TH2F *digiVariance1HE6 = (TH2F *)hfile->Get("h_amplitudechannel2_HE6"); - TH2F *digiVariance0HE6 = (TH2F *)hfile->Get("h_amplitudechannel0_HE6"); + TH2F *digiVariance1HE6 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HE6"); + TH2F *digiVariance0HE6 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE6"); TH2F *digiVarianceHE6 = (TH2F *)digiVariance1HE6->Clone("digiVarianceHE6"); digiVarianceHE6->Divide(digiVariance1HE6, digiVariance0HE6, 1, 1, "B"); - TH2F *digiVariance1HE7 = (TH2F *)hfile->Get("h_amplitudechannel2_HE7"); - TH2F *digiVariance0HE7 = (TH2F *)hfile->Get("h_amplitudechannel0_HE7"); + TH2F *digiVariance1HE7 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HE7"); + TH2F *digiVariance0HE7 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE7"); TH2F *digiVarianceHE7 = (TH2F *)digiVariance1HE7->Clone("digiVarianceHE7"); digiVarianceHE7->Divide(digiVariance1HE7, digiVariance0HE7, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_amplitudechannel1_HF1"); - TH2F *amplitudechannel0HF1 = (TH2F *)hfile->Get("h_amplitudechannel0_HF1"); + TH2F *amplitudechannel1HF1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HF1"); + TH2F *amplitudechannel0HF1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF1"); TH2F *amplitudechannelHF1 = (TH2F *)amplitudechannel1HF1->Clone("amplitudechannelHF1"); amplitudechannelHF1->Divide(amplitudechannel1HF1, amplitudechannel0HF1, 1, 1, "B"); - TH2F *amplitudechannel1HF2 = (TH2F *)hfile->Get("h_amplitudechannel1_HF2"); - TH2F *amplitudechannel0HF2 = (TH2F *)hfile->Get("h_amplitudechannel0_HF2"); + TH2F *amplitudechannel1HF2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HF2"); + TH2F *amplitudechannel0HF2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF2"); TH2F *amplitudechannelHF2 = (TH2F *)amplitudechannel1HF2->Clone("amplitudechannelHF2"); amplitudechannelHF2->Divide(amplitudechannel1HF2, amplitudechannel0HF2, 1, 1, "B"); - TH2F *amplitudechannel1HF3 = (TH2F *)hfile->Get("h_amplitudechannel1_HF3"); - TH2F *amplitudechannel0HF3 = (TH2F *)hfile->Get("h_amplitudechannel0_HF3"); + TH2F *amplitudechannel1HF3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HF3"); + TH2F *amplitudechannel0HF3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF3"); TH2F *amplitudechannelHF3 = (TH2F *)amplitudechannel1HF3->Clone("amplitudechannelHF3"); amplitudechannelHF3->Divide(amplitudechannel1HF3, amplitudechannel0HF3, 1, 1, "B"); - TH2F *amplitudechannel1HF4 = (TH2F *)hfile->Get("h_amplitudechannel1_HF4"); - TH2F *amplitudechannel0HF4 = (TH2F *)hfile->Get("h_amplitudechannel0_HF4"); + TH2F *amplitudechannel1HF4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HF4"); + TH2F *amplitudechannel0HF4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF4"); TH2F *amplitudechannelHF4 = (TH2F *)amplitudechannel1HF4->Clone("amplitudechannelHF4"); amplitudechannelHF4->Divide(amplitudechannel1HF4, amplitudechannel0HF4, 1, 1, "B"); for (int jeta = 0; jeta < njeta; jeta++) { @@ -7775,20 +7785,20 @@ std::cout<<" We are here to print ADC "<Get("h_amplitudechannel2_HF1"); - TH2F *digiVariance0HF1 = (TH2F *)hfile->Get("h_amplitudechannel0_HF1"); + TH2F *digiVariance1HF1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HF1"); + TH2F *digiVariance0HF1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF1"); TH2F *digiVarianceHF1 = (TH2F *)digiVariance1HF1->Clone("digiVarianceHF1"); digiVarianceHF1->Divide(digiVariance1HF1, digiVariance0HF1, 1, 1, "B"); - TH2F *digiVariance1HF2 = (TH2F *)hfile->Get("h_amplitudechannel2_HF2"); - TH2F *digiVariance0HF2 = (TH2F *)hfile->Get("h_amplitudechannel0_HF2"); + TH2F *digiVariance1HF2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HF2"); + TH2F *digiVariance0HF2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF2"); TH2F *digiVarianceHF2 = (TH2F *)digiVariance1HF2->Clone("digiVarianceHF2"); digiVarianceHF2->Divide(digiVariance1HF2, digiVariance0HF2, 1, 1, "B"); - TH2F *digiVariance1HF3 = (TH2F *)hfile->Get("h_amplitudechannel2_HF3"); - TH2F *digiVariance0HF3 = (TH2F *)hfile->Get("h_amplitudechannel0_HF3"); + TH2F *digiVariance1HF3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HF3"); + TH2F *digiVariance0HF3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF3"); TH2F *digiVarianceHF3 = (TH2F *)digiVariance1HF3->Clone("digiVarianceHF3"); digiVarianceHF3->Divide(digiVariance1HF3, digiVariance0HF3, 1, 1, "B"); - TH2F *digiVariance1HF4 = (TH2F *)hfile->Get("h_amplitudechannel2_HF4"); - TH2F *digiVariance0HF4 = (TH2F *)hfile->Get("h_amplitudechannel0_HF4"); + TH2F *digiVariance1HF4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HF4"); + TH2F *digiVariance0HF4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF4"); TH2F *digiVarianceHF4 = (TH2F *)digiVariance1HF4->Clone("digiVarianceHF4"); digiVarianceHF4->Divide(digiVariance1HF4, digiVariance0HF4, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_recSignalEnergy1_HB1"); - TH2F *recSignalEnergy0HB1 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB1"); + TH2F *recSignalEnergy1HB1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HB1"); + TH2F *recSignalEnergy0HB1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB1"); TH2F *recSignalEnergyHB1 = (TH2F *)recSignalEnergy1HB1->Clone("recSignalEnergyHB1"); recSignalEnergyHB1->Divide(recSignalEnergy1HB1, recSignalEnergy0HB1, 1, 1, "B"); - TH2F *recSignalEnergy1HB2 = (TH2F *)hfile->Get("h_recSignalEnergy1_HB2"); - TH2F *recSignalEnergy0HB2 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB2"); + TH2F *recSignalEnergy1HB2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HB2"); + TH2F *recSignalEnergy0HB2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB2"); TH2F *recSignalEnergyHB2 = (TH2F *)recSignalEnergy1HB2->Clone("recSignalEnergyHB2"); recSignalEnergyHB2->Divide(recSignalEnergy1HB2, recSignalEnergy0HB2, 1, 1, "B"); - TH2F *recSignalEnergy1HB3 = (TH2F *)hfile->Get("h_recSignalEnergy1_HB3"); - TH2F *recSignalEnergy0HB3 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB3"); + TH2F *recSignalEnergy1HB3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HB3"); + TH2F *recSignalEnergy0HB3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB3"); TH2F *recSignalEnergyHB3 = (TH2F *)recSignalEnergy1HB3->Clone("recSignalEnergyHB3"); recSignalEnergyHB3->Divide(recSignalEnergy1HB3, recSignalEnergy0HB3, 1, 1, "B"); - TH2F *recSignalEnergy1HB4 = (TH2F *)hfile->Get("h_recSignalEnergy1_HB4"); - TH2F *recSignalEnergy0HB4 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB4"); + TH2F *recSignalEnergy1HB4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HB4"); + TH2F *recSignalEnergy0HB4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB4"); TH2F *recSignalEnergyHB4 = (TH2F *)recSignalEnergy1HB4->Clone("recSignalEnergyHB4"); recSignalEnergyHB4->Divide(recSignalEnergy1HB4, recSignalEnergy0HB4, 1, 1, "B"); for (int jeta = 0; jeta < njeta; jeta++) { @@ -8719,7 +8729,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitSignal_HB = (TH1F *)hfile->Get("h_energyhitSignal_HB"); + TH1F *energyhitSignal_HB = (TH1F *)dir->FindObjectAny("h_energyhitSignal_HB"); energyhitSignal_HB->SetMarkerStyle(20); energyhitSignal_HB->SetMarkerSize(0.4); energyhitSignal_HB->GetYaxis()->SetLabelSize(0.04); @@ -9484,20 +9494,20 @@ std::cout<<" We are here to print ADC "<Get("h_recSignalEnergy2_HB1"); - TH2F *recosignalVariance0HB1 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB1"); + TH2F *recosignalVariance1HB1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HB1"); + TH2F *recosignalVariance0HB1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB1"); TH2F *recosignalVarianceHB1 = (TH2F *)recosignalVariance1HB1->Clone("recosignalVarianceHB1"); recosignalVarianceHB1->Divide(recosignalVariance1HB1, recosignalVariance0HB1, 1, 1, "B"); - TH2F *recosignalVariance1HB2 = (TH2F *)hfile->Get("h_recSignalEnergy2_HB2"); - TH2F *recosignalVariance0HB2 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB2"); + TH2F *recosignalVariance1HB2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HB2"); + TH2F *recosignalVariance0HB2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB2"); TH2F *recosignalVarianceHB2 = (TH2F *)recosignalVariance1HB2->Clone("recosignalVarianceHB2"); recosignalVarianceHB2->Divide(recosignalVariance1HB2, recosignalVariance0HB2, 1, 1, "B"); - TH2F *recosignalVariance1HB3 = (TH2F *)hfile->Get("h_recSignalEnergy2_HB3"); - TH2F *recosignalVariance0HB3 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB3"); + TH2F *recosignalVariance1HB3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HB3"); + TH2F *recosignalVariance0HB3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB3"); TH2F *recosignalVarianceHB3 = (TH2F *)recosignalVariance1HB3->Clone("recosignalVarianceHB3"); recosignalVarianceHB3->Divide(recosignalVariance1HB3, recosignalVariance0HB3, 1, 1, "B"); - TH2F *recosignalVariance1HB4 = (TH2F *)hfile->Get("h_recSignalEnergy2_HB4"); - TH2F *recosignalVariance0HB4 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB4"); + TH2F *recosignalVariance1HB4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HB4"); + TH2F *recosignalVariance0HB4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB4"); TH2F *recosignalVarianceHB4 = (TH2F *)recosignalVariance1HB4->Clone("recosignalVarianceHB4"); recosignalVarianceHB4->Divide(recosignalVariance1HB4, recosignalVariance0HB4, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_recSignalEnergy1_HE1"); - TH2F *recSignalEnergy0HE1 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE1"); + TH2F *recSignalEnergy1HE1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE1"); + TH2F *recSignalEnergy0HE1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE1"); TH2F *recSignalEnergyHE1 = (TH2F *)recSignalEnergy1HE1->Clone("recSignalEnergyHE1"); recSignalEnergyHE1->Divide(recSignalEnergy1HE1, recSignalEnergy0HE1, 1, 1, "B"); - TH2F *recSignalEnergy1HE2 = (TH2F *)hfile->Get("h_recSignalEnergy1_HE2"); - TH2F *recSignalEnergy0HE2 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE2"); + TH2F *recSignalEnergy1HE2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE2"); + TH2F *recSignalEnergy0HE2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE2"); TH2F *recSignalEnergyHE2 = (TH2F *)recSignalEnergy1HE2->Clone("recSignalEnergyHE2"); recSignalEnergyHE2->Divide(recSignalEnergy1HE2, recSignalEnergy0HE2, 1, 1, "B"); - TH2F *recSignalEnergy1HE3 = (TH2F *)hfile->Get("h_recSignalEnergy1_HE3"); - TH2F *recSignalEnergy0HE3 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE3"); + TH2F *recSignalEnergy1HE3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE3"); + TH2F *recSignalEnergy0HE3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE3"); TH2F *recSignalEnergyHE3 = (TH2F *)recSignalEnergy1HE3->Clone("recSignalEnergyHE3"); recSignalEnergyHE3->Divide(recSignalEnergy1HE3, recSignalEnergy0HE3, 1, 1, "B"); - TH2F *recSignalEnergy1HE4 = (TH2F *)hfile->Get("h_recSignalEnergy1_HE4"); - TH2F *recSignalEnergy0HE4 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE4"); + TH2F *recSignalEnergy1HE4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE4"); + TH2F *recSignalEnergy0HE4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE4"); TH2F *recSignalEnergyHE4 = (TH2F *)recSignalEnergy1HE4->Clone("recSignalEnergyHE4"); recSignalEnergyHE4->Divide(recSignalEnergy1HE4, recSignalEnergy0HE4, 1, 1, "B"); - TH2F *recSignalEnergy1HE5 = (TH2F *)hfile->Get("h_recSignalEnergy1_HE5"); - TH2F *recSignalEnergy0HE5 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE5"); + TH2F *recSignalEnergy1HE5 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE5"); + TH2F *recSignalEnergy0HE5 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE5"); TH2F *recSignalEnergyHE5 = (TH2F *)recSignalEnergy1HE5->Clone("recSignalEnergyHE5"); recSignalEnergyHE5->Divide(recSignalEnergy1HE5, recSignalEnergy0HE5, 1, 1, "B"); - TH2F *recSignalEnergy1HE6 = (TH2F *)hfile->Get("h_recSignalEnergy1_HE6"); - TH2F *recSignalEnergy0HE6 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE6"); + TH2F *recSignalEnergy1HE6 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE6"); + TH2F *recSignalEnergy0HE6 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE6"); TH2F *recSignalEnergyHE6 = (TH2F *)recSignalEnergy1HE6->Clone("recSignalEnergyHE6"); recSignalEnergyHE6->Divide(recSignalEnergy1HE6, recSignalEnergy0HE6, 1, 1, "B"); - TH2F *recSignalEnergy1HE7 = (TH2F *)hfile->Get("h_recSignalEnergy1_HE7"); - TH2F *recSignalEnergy0HE7 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE7"); + TH2F *recSignalEnergy1HE7 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE7"); + TH2F *recSignalEnergy0HE7 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE7"); TH2F *recSignalEnergyHE7 = (TH2F *)recSignalEnergy1HE7->Clone("recSignalEnergyHE7"); recSignalEnergyHE7->Divide(recSignalEnergy1HE7, recSignalEnergy0HE7, 1, 1, "B"); for (int jeta = 0; jeta < njeta; jeta++) { @@ -10499,7 +10509,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitSignal_HE = (TH1F *)hfile->Get("h_energyhitSignal_HE"); + TH1F *energyhitSignal_HE = (TH1F *)dir->FindObjectAny("h_energyhitSignal_HE"); energyhitSignal_HE->SetMarkerStyle(20); energyhitSignal_HE->SetMarkerSize(0.4); energyhitSignal_HE->GetYaxis()->SetLabelSize(0.04); @@ -11638,32 +11648,32 @@ std::cout<<" We are here to print ADC "<Get("h_recSignalEnergy2_HE1"); - TH2F *recosignalVariance0HE1 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE1"); + TH2F *recosignalVariance1HE1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HE1"); + TH2F *recosignalVariance0HE1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE1"); TH2F *recosignalVarianceHE1 = (TH2F *)recosignalVariance1HE1->Clone("recosignalVarianceHE1"); recosignalVarianceHE1->Divide(recosignalVariance1HE1, recosignalVariance0HE1, 1, 1, "B"); - TH2F *recosignalVariance1HE2 = (TH2F *)hfile->Get("h_recSignalEnergy2_HE2"); - TH2F *recosignalVariance0HE2 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE2"); + TH2F *recosignalVariance1HE2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HE2"); + TH2F *recosignalVariance0HE2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE2"); TH2F *recosignalVarianceHE2 = (TH2F *)recosignalVariance1HE2->Clone("recosignalVarianceHE2"); recosignalVarianceHE2->Divide(recosignalVariance1HE2, recosignalVariance0HE2, 1, 1, "B"); - TH2F *recosignalVariance1HE3 = (TH2F *)hfile->Get("h_recSignalEnergy2_HE3"); - TH2F *recosignalVariance0HE3 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE3"); + TH2F *recosignalVariance1HE3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HE3"); + TH2F *recosignalVariance0HE3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE3"); TH2F *recosignalVarianceHE3 = (TH2F *)recosignalVariance1HE3->Clone("recosignalVarianceHE3"); recosignalVarianceHE3->Divide(recosignalVariance1HE3, recosignalVariance0HE3, 1, 1, "B"); - TH2F *recosignalVariance1HE4 = (TH2F *)hfile->Get("h_recSignalEnergy2_HE4"); - TH2F *recosignalVariance0HE4 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE4"); + TH2F *recosignalVariance1HE4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HE4"); + TH2F *recosignalVariance0HE4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE4"); TH2F *recosignalVarianceHE4 = (TH2F *)recosignalVariance1HE4->Clone("recosignalVarianceHE4"); recosignalVarianceHE4->Divide(recosignalVariance1HE4, recosignalVariance0HE4, 1, 1, "B"); - TH2F *recosignalVariance1HE5 = (TH2F *)hfile->Get("h_recSignalEnergy2_HE5"); - TH2F *recosignalVariance0HE5 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE5"); + TH2F *recosignalVariance1HE5 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HE5"); + TH2F *recosignalVariance0HE5 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE5"); TH2F *recosignalVarianceHE5 = (TH2F *)recosignalVariance1HE5->Clone("recosignalVarianceHE5"); recosignalVarianceHE5->Divide(recosignalVariance1HE5, recosignalVariance0HE5, 1, 1, "B"); - TH2F *recosignalVariance1HE6 = (TH2F *)hfile->Get("h_recSignalEnergy2_HE6"); - TH2F *recosignalVariance0HE6 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE6"); + TH2F *recosignalVariance1HE6 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HE6"); + TH2F *recosignalVariance0HE6 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE6"); TH2F *recosignalVarianceHE6 = (TH2F *)recosignalVariance1HE6->Clone("recosignalVarianceHE6"); recosignalVarianceHE6->Divide(recosignalVariance1HE6, recosignalVariance0HE6, 1, 1, "B"); - TH2F *recosignalVariance1HE7 = (TH2F *)hfile->Get("h_recSignalEnergy2_HE7"); - TH2F *recosignalVariance0HE7 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE7"); + TH2F *recosignalVariance1HE7 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HE7"); + TH2F *recosignalVariance0HE7 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE7"); TH2F *recosignalVarianceHE7 = (TH2F *)recosignalVariance1HE7->Clone("recosignalVarianceHE7"); recosignalVarianceHE7->Divide(recosignalVariance1HE7, recosignalVariance0HE7, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_recSignalEnergy1_HF1"); - TH2F *recSignalEnergy0HF1 = (TH2F *)hfile->Get("h_recSignalEnergy0_HF1"); + TH2F *recSignalEnergy1HF1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HF1"); + TH2F *recSignalEnergy0HF1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HF1"); TH2F *recSignalEnergyHF1 = (TH2F *)recSignalEnergy1HF1->Clone("recSignalEnergyHF1"); recSignalEnergyHF1->Divide(recSignalEnergy1HF1, recSignalEnergy0HF1, 1, 1, "B"); - TH2F *recSignalEnergy1HF2 = (TH2F *)hfile->Get("h_recSignalEnergy1_HF2"); - TH2F *recSignalEnergy0HF2 = (TH2F *)hfile->Get("h_recSignalEnergy0_HF2"); + TH2F *recSignalEnergy1HF2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HF2"); + TH2F *recSignalEnergy0HF2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HF2"); TH2F *recSignalEnergyHF2 = (TH2F *)recSignalEnergy1HF2->Clone("recSignalEnergyHF2"); recSignalEnergyHF2->Divide(recSignalEnergy1HF2, recSignalEnergy0HF2, 1, 1, "B"); // cout<<"222RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitSignal_HF = (TH1F *)hfile->Get("h_energyhitSignal_HF"); + TH1F *energyhitSignal_HF = (TH1F *)dir->FindObjectAny("h_energyhitSignal_HF"); energyhitSignal_HF->SetMarkerStyle(20); energyhitSignal_HF->SetMarkerSize(0.4); energyhitSignal_HF->GetYaxis()->SetLabelSize(0.04); @@ -13391,12 +13401,12 @@ std::cout<<" We are here to print ADC "<Get("h_recSignalEnergy2_HF1"); - TH2F *recosignalVariance0HF1 = (TH2F *)hfile->Get("h_recSignalEnergy0_HF1"); + TH2F *recosignalVariance1HF1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HF1"); + TH2F *recosignalVariance0HF1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HF1"); TH2F *recosignalVarianceHF1 = (TH2F *)recosignalVariance1HF1->Clone("recosignalVarianceHF1"); recosignalVarianceHF1->Divide(recosignalVariance1HF1, recosignalVariance0HF1, 1, 1, "B"); - TH2F *recosignalVariance1HF2 = (TH2F *)hfile->Get("h_recSignalEnergy2_HF2"); - TH2F *recosignalVariance0HF2 = (TH2F *)hfile->Get("h_recSignalEnergy0_HF2"); + TH2F *recosignalVariance1HF2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HF2"); + TH2F *recosignalVariance0HF2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HF2"); TH2F *recosignalVarianceHF2 = (TH2F *)recosignalVariance1HF2->Clone("recosignalVarianceHF2"); recosignalVarianceHF2->Divide(recosignalVariance1HF2, recosignalVariance0HF2, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_recNoiseEnergy1_HB1"); - TH2F *recNoiseEnergy0HB1 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB1"); + TH2F *recNoiseEnergy1HB1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HB1"); + TH2F *recNoiseEnergy0HB1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); TH2F *recNoiseEnergyHB1 = (TH2F *)recNoiseEnergy1HB1->Clone("recNoiseEnergyHB1"); recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1, recNoiseEnergy0HB1, 1, 1, "B"); - TH2F *recNoiseEnergy1HB2 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HB2"); - TH2F *recNoiseEnergy0HB2 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB2"); + TH2F *recNoiseEnergy1HB2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HB2"); + TH2F *recNoiseEnergy0HB2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); TH2F *recNoiseEnergyHB2 = (TH2F *)recNoiseEnergy1HB2->Clone("recNoiseEnergyHB2"); recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2, recNoiseEnergy0HB2, 1, 1, "B"); - TH2F *recNoiseEnergy1HB3 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HB3"); - TH2F *recNoiseEnergy0HB3 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB3"); + TH2F *recNoiseEnergy1HB3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HB3"); + TH2F *recNoiseEnergy0HB3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); TH2F *recNoiseEnergyHB3 = (TH2F *)recNoiseEnergy1HB3->Clone("recNoiseEnergyHB3"); recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3, recNoiseEnergy0HB3, 1, 1, "B"); - TH2F *recNoiseEnergy1HB4 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HB4"); - TH2F *recNoiseEnergy0HB4 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB4"); + TH2F *recNoiseEnergy1HB4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HB4"); + TH2F *recNoiseEnergy0HB4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); TH2F *recNoiseEnergyHB4 = (TH2F *)recNoiseEnergy1HB4->Clone("recNoiseEnergyHB4"); recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4, recNoiseEnergy0HB4, 1, 1, "B"); for (int jeta = 0; jeta < njeta; jeta++) { @@ -13992,7 +14002,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitNoise_HB = (TH1F *)hfile->Get("h_energyhitNoise_HB"); + TH1F *energyhitNoise_HB = (TH1F *)dir->FindObjectAny("h_energyhitNoise_HB"); energyhitNoise_HB->SetMarkerStyle(20); energyhitNoise_HB->SetMarkerSize(0.4); energyhitNoise_HB->GetYaxis()->SetLabelSize(0.04); @@ -14787,7 +14797,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); // c2x1->cd(2); - // TH1F *energyhitNoise_HB= (TH1F*)hfile->Get("h_energyhitNoise_HB"); + // TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); // energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); ///////////////// @@ -15546,20 +15556,20 @@ std::cout<<" We are here to print ADC "<Get("h_recNoiseEnergy2_HB1"); - TH2F *reconoiseVariance0HB1 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB1"); + TH2F *reconoiseVariance1HB1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HB1"); + TH2F *reconoiseVariance0HB1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); TH2F *reconoiseVarianceHB1 = (TH2F *)reconoiseVariance1HB1->Clone("reconoiseVarianceHB1"); reconoiseVarianceHB1->Divide(reconoiseVariance1HB1, reconoiseVariance0HB1, 1, 1, "B"); - TH2F *reconoiseVariance1HB2 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HB2"); - TH2F *reconoiseVariance0HB2 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB2"); + TH2F *reconoiseVariance1HB2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HB2"); + TH2F *reconoiseVariance0HB2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); TH2F *reconoiseVarianceHB2 = (TH2F *)reconoiseVariance1HB2->Clone("reconoiseVarianceHB2"); reconoiseVarianceHB2->Divide(reconoiseVariance1HB2, reconoiseVariance0HB2, 1, 1, "B"); - TH2F *reconoiseVariance1HB3 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HB3"); - TH2F *reconoiseVariance0HB3 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB3"); + TH2F *reconoiseVariance1HB3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HB3"); + TH2F *reconoiseVariance0HB3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); TH2F *reconoiseVarianceHB3 = (TH2F *)reconoiseVariance1HB3->Clone("reconoiseVarianceHB3"); reconoiseVarianceHB3->Divide(reconoiseVariance1HB3, reconoiseVariance0HB3, 1, 1, "B"); - TH2F *reconoiseVariance1HB4 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HB4"); - TH2F *reconoiseVariance0HB4 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB4"); + TH2F *reconoiseVariance1HB4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HB4"); + TH2F *reconoiseVariance0HB4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); TH2F *reconoiseVarianceHB4 = (TH2F *)reconoiseVariance1HB4->Clone("reconoiseVarianceHB4"); reconoiseVarianceHB4->Divide(reconoiseVariance1HB4, reconoiseVariance0HB4, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_recNoiseEnergy1_HE1"); - TH2F *recNoiseEnergy0HE1 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE1"); + TH2F *recNoiseEnergy1HE1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HE1"); + TH2F *recNoiseEnergy0HE1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); TH2F *recNoiseEnergyHE1 = (TH2F *)recNoiseEnergy1HE1->Clone("recNoiseEnergyHE1"); recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1, recNoiseEnergy0HE1, 1, 1, "B"); - TH2F *recNoiseEnergy1HE2 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HE2"); - TH2F *recNoiseEnergy0HE2 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE2"); + TH2F *recNoiseEnergy1HE2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HE2"); + TH2F *recNoiseEnergy0HE2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); TH2F *recNoiseEnergyHE2 = (TH2F *)recNoiseEnergy1HE2->Clone("recNoiseEnergyHE2"); recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2, recNoiseEnergy0HE2, 1, 1, "B"); - TH2F *recNoiseEnergy1HE3 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HE3"); - TH2F *recNoiseEnergy0HE3 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE3"); + TH2F *recNoiseEnergy1HE3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HE3"); + TH2F *recNoiseEnergy0HE3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); TH2F *recNoiseEnergyHE3 = (TH2F *)recNoiseEnergy1HE3->Clone("recNoiseEnergyHE3"); recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3, recNoiseEnergy0HE3, 1, 1, "B"); - TH2F *recNoiseEnergy1HE4 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HE4"); - TH2F *recNoiseEnergy0HE4 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE4"); + TH2F *recNoiseEnergy1HE4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HE4"); + TH2F *recNoiseEnergy0HE4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); TH2F *recNoiseEnergyHE4 = (TH2F *)recNoiseEnergy1HE4->Clone("recNoiseEnergyHE4"); recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4, recNoiseEnergy0HE4, 1, 1, "B"); - TH2F *recNoiseEnergy1HE5 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HE5"); - TH2F *recNoiseEnergy0HE5 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE5"); + TH2F *recNoiseEnergy1HE5 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HE5"); + TH2F *recNoiseEnergy0HE5 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); TH2F *recNoiseEnergyHE5 = (TH2F *)recNoiseEnergy1HE5->Clone("recNoiseEnergyHE5"); recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5, recNoiseEnergy0HE5, 1, 1, "B"); - TH2F *recNoiseEnergy1HE6 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HE6"); - TH2F *recNoiseEnergy0HE6 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE6"); + TH2F *recNoiseEnergy1HE6 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HE6"); + TH2F *recNoiseEnergy0HE6 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); TH2F *recNoiseEnergyHE6 = (TH2F *)recNoiseEnergy1HE6->Clone("recNoiseEnergyHE6"); recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6, recNoiseEnergy0HE6, 1, 1, "B"); - TH2F *recNoiseEnergy1HE7 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HE7"); - TH2F *recNoiseEnergy0HE7 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE7"); + TH2F *recNoiseEnergy1HE7 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HE7"); + TH2F *recNoiseEnergy0HE7 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); TH2F *recNoiseEnergyHE7 = (TH2F *)recNoiseEnergy1HE7->Clone("recNoiseEnergyHE7"); recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7, recNoiseEnergy0HE7, 1, 1, "B"); for (int jeta = 0; jeta < njeta; jeta++) { @@ -16599,7 +16609,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitNoise_HE = (TH1F *)hfile->Get("h_energyhitNoise_HE"); + TH1F *energyhitNoise_HE = (TH1F *)dir->FindObjectAny("h_energyhitNoise_HE"); energyhitNoise_HE->SetMarkerStyle(20); energyhitNoise_HE->SetMarkerSize(0.4); energyhitNoise_HE->GetYaxis()->SetLabelSize(0.04); @@ -17771,7 +17781,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); //c2x1->cd(2); - //TH1F *energyhitNoise_HE= (TH1F*)hfile->Get("h_energyhitNoise_HE"); + //TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); //energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); ///////////////// @@ -18909,32 +18919,32 @@ std::cout<<" We are here to print ADC "<Get("h_recNoiseEnergy2_HE1"); - TH2F *reconoiseVariance0HE1 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE1"); + TH2F *reconoiseVariance1HE1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HE1"); + TH2F *reconoiseVariance0HE1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); TH2F *reconoiseVarianceHE1 = (TH2F *)reconoiseVariance1HE1->Clone("reconoiseVarianceHE1"); reconoiseVarianceHE1->Divide(reconoiseVariance1HE1, reconoiseVariance0HE1, 1, 1, "B"); - TH2F *reconoiseVariance1HE2 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HE2"); - TH2F *reconoiseVariance0HE2 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE2"); + TH2F *reconoiseVariance1HE2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HE2"); + TH2F *reconoiseVariance0HE2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); TH2F *reconoiseVarianceHE2 = (TH2F *)reconoiseVariance1HE2->Clone("reconoiseVarianceHE2"); reconoiseVarianceHE2->Divide(reconoiseVariance1HE2, reconoiseVariance0HE2, 1, 1, "B"); - TH2F *reconoiseVariance1HE3 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HE3"); - TH2F *reconoiseVariance0HE3 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE3"); + TH2F *reconoiseVariance1HE3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HE3"); + TH2F *reconoiseVariance0HE3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); TH2F *reconoiseVarianceHE3 = (TH2F *)reconoiseVariance1HE3->Clone("reconoiseVarianceHE3"); reconoiseVarianceHE3->Divide(reconoiseVariance1HE3, reconoiseVariance0HE3, 1, 1, "B"); - TH2F *reconoiseVariance1HE4 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HE4"); - TH2F *reconoiseVariance0HE4 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE4"); + TH2F *reconoiseVariance1HE4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HE4"); + TH2F *reconoiseVariance0HE4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); TH2F *reconoiseVarianceHE4 = (TH2F *)reconoiseVariance1HE4->Clone("reconoiseVarianceHE4"); reconoiseVarianceHE4->Divide(reconoiseVariance1HE4, reconoiseVariance0HE4, 1, 1, "B"); - TH2F *reconoiseVariance1HE5 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HE5"); - TH2F *reconoiseVariance0HE5 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE5"); + TH2F *reconoiseVariance1HE5 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HE5"); + TH2F *reconoiseVariance0HE5 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); TH2F *reconoiseVarianceHE5 = (TH2F *)reconoiseVariance1HE5->Clone("reconoiseVarianceHE5"); reconoiseVarianceHE5->Divide(reconoiseVariance1HE5, reconoiseVariance0HE5, 1, 1, "B"); - TH2F *reconoiseVariance1HE6 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HE6"); - TH2F *reconoiseVariance0HE6 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE6"); + TH2F *reconoiseVariance1HE6 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HE6"); + TH2F *reconoiseVariance0HE6 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); TH2F *reconoiseVarianceHE6 = (TH2F *)reconoiseVariance1HE6->Clone("reconoiseVarianceHE6"); reconoiseVarianceHE6->Divide(reconoiseVariance1HE6, reconoiseVariance0HE6, 1, 1, "B"); - TH2F *reconoiseVariance1HE7 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HE7"); - TH2F *reconoiseVariance0HE7 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE7"); + TH2F *reconoiseVariance1HE7 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HE7"); + TH2F *reconoiseVariance0HE7 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); TH2F *reconoiseVarianceHE7 = (TH2F *)reconoiseVariance1HE7->Clone("reconoiseVarianceHE7"); reconoiseVarianceHE7->Divide(reconoiseVariance1HE7, reconoiseVariance0HE7, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_recNoiseEnergy1_HF1"); - TH2F *recNoiseEnergy0HF1 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HF1"); + TH2F *recNoiseEnergy1HF1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HF1"); + TH2F *recNoiseEnergy0HF1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); TH2F *recNoiseEnergyHF1 = (TH2F *)recNoiseEnergy1HF1->Clone("recNoiseEnergyHF1"); recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1, recNoiseEnergy0HF1, 1, 1, "B"); - TH2F *recNoiseEnergy1HF2 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HF2"); - TH2F *recNoiseEnergy0HF2 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HF2"); + TH2F *recNoiseEnergy1HF2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HF2"); + TH2F *recNoiseEnergy0HF2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); TH2F *recNoiseEnergyHF2 = (TH2F *)recNoiseEnergy1HF2->Clone("recNoiseEnergyHF2"); recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2, recNoiseEnergy0HF2, 1, 1, "B"); //====================================================================== PHI normalization & put R into massive areconoiseHF @@ -20285,7 +20295,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitNoise_HF = (TH1F *)hfile->Get("h_energyhitNoise_HF"); + TH1F *energyhitNoise_HF = (TH1F *)dir->FindObjectAny("h_energyhitNoise_HF"); energyhitNoise_HF->SetMarkerStyle(20); energyhitNoise_HF->SetMarkerSize(0.4); energyhitNoise_HF->GetYaxis()->SetLabelSize(0.04); @@ -20712,7 +20722,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); c2x1->cd(2); - // TH1F *energyhitNoiseCut_HF= (TH1F*)hfile->Get("h_energyhitNoiseCut_HF"); + // TH1F *energyhitNoiseCut_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoiseCut_HF"); // energyhitNoiseCut_HF ->SetMarkerStyle(20);energyhitNoiseCut_HF ->SetMarkerSize(0.4);energyhitNoiseCut_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoiseCut_HF ->SetXTitle("energyhitNoiseCut_HF \b");energyhitNoiseCut_HF ->SetMarkerColor(2);energyhitNoiseCut_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoiseCut_HF ->Draw("Error"); ///////////////// @@ -21106,12 +21116,12 @@ std::cout<<" We are here to print ADC "<Get("h_recNoiseEnergy2_HF1"); - TH2F *reconoiseVariance0HF1 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HF1"); + TH2F *reconoiseVariance1HF1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HF1"); + TH2F *reconoiseVariance0HF1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); TH2F *reconoiseVarianceHF1 = (TH2F *)reconoiseVariance1HF1->Clone("reconoiseVarianceHF1"); reconoiseVarianceHF1->Divide(reconoiseVariance1HF1, reconoiseVariance0HF1, 1, 1, "B"); - TH2F *reconoiseVariance1HF2 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HF2"); - TH2F *reconoiseVariance0HF2 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HF2"); + TH2F *reconoiseVariance1HF2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HF2"); + TH2F *reconoiseVariance0HF2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); TH2F *reconoiseVarianceHF2 = (TH2F *)reconoiseVariance1HF2->Clone("reconoiseVarianceHF2"); reconoiseVarianceHF2->Divide(reconoiseVariance1HF2, reconoiseVariance0HF2, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Divide(2, 2); cmain1->cd(1); - TH1F *JDBEYESJ0 = (TH1F *)hfile->Get("h_totalAmplitudeHBperEvent"); + TH1F *JDBEYESJ0 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHBperEvent"); JDBEYESJ0->SetStats(0); JDBEYESJ0->SetMarkerStyle(20); JDBEYESJ0->SetMarkerSize(0.8); @@ -21846,7 +21856,7 @@ std::cout<<" We are here to print ADC "<Draw("HIST same P0"); cmain1->cd(2); - TH1F *JDBEYESJ1 = (TH1F *)hfile->Get("h_totalAmplitudeHEperEvent"); + TH1F *JDBEYESJ1 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHEperEvent"); JDBEYESJ1->SetStats(0); JDBEYESJ1->SetMarkerStyle(20); JDBEYESJ1->SetMarkerSize(0.8); @@ -21860,7 +21870,7 @@ std::cout<<" We are here to print ADC "<Draw("HIST same P0"); cmain1->cd(3); - TH1F *JDBEYESJ2 = (TH1F *)hfile->Get("h_totalAmplitudeHFperEvent"); + TH1F *JDBEYESJ2 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHFperEvent"); JDBEYESJ2->SetStats(0); JDBEYESJ2->SetMarkerStyle(20); JDBEYESJ2->SetMarkerSize(0.8); @@ -21874,7 +21884,7 @@ std::cout<<" We are here to print ADC "<Draw("HIST same P0"); cmain1->cd(4); - TH1F *JDBEYESJ3 = (TH1F *)hfile->Get("h_totalAmplitudeHOperEvent"); + TH1F *JDBEYESJ3 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHOperEvent"); JDBEYESJ3->SetStats(0); JDBEYESJ3->SetMarkerStyle(20); JDBEYESJ3->SetMarkerSize(0.8); diff --git a/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAPTEST.cc b/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAPTEST.cc index 9dc1755b92c48..796823583df71 100644 --- a/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAPTEST.cc +++ b/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAPTEST.cc @@ -32,6 +32,7 @@ using namespace std; // h_ADC_HBdepth1 // ok change Hist_ADC_HB_DS int main(int argc, char *argv[]) { + std::string dirnm = "Analyzer"; gROOT->Reset(); gROOT->SetStyle("Plain"); gStyle->SetOptStat(0); @@ -62,7 +63,16 @@ int main(int argc, char *argv[]) { refrunnumber += refname[i]; TFile *hfile = new TFile(fname, "READ"); + hfile->ls(); + TDirectory *dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str()); TFile *hreffile = new TFile(refname, "READ"); + hreffile->ls(); + TDirectory *refdir = (TDirectory *)hreffile->FindObjectAny(dirnm.c_str()); + + // with TfileService implementation, change everywhere below: hreffile->Get to refdir->FindObjectAny + // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny + + double MIN_M[7][5]; double MAX_M[7][5]; double MIN_C[7][5]; @@ -282,23 +292,23 @@ int main(int argc, char *argv[]) { TH1F *hist_SumADC0[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 TH1F *hist_SumADC1[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 - Map_SUB[1][1] = (TH2F *)hfile->Get("h_mapDepth1_HB"); - Map_SUB[1][2] = (TH2F *)hfile->Get("h_mapDepth2_HB"); - Map_SUB[2][1] = (TH2F *)hfile->Get("h_mapDepth1_HE"); - Map_SUB[2][2] = (TH2F *)hfile->Get("h_mapDepth2_HE"); - Map_SUB[2][3] = (TH2F *)hfile->Get("h_mapDepth3_HE"); - Map_SUB[3][4] = (TH2F *)hfile->Get("h_mapDepth4_HO"); - Map_SUB[4][1] = (TH2F *)hfile->Get("h_mapDepth1_HF"); - Map_SUB[4][2] = (TH2F *)hfile->Get("h_mapDepth2_HF"); - - Map_SUB[1][3] = (TH2F *)hfile->Get("h_mapDepth3_HB"); - Map_SUB[1][4] = (TH2F *)hfile->Get("h_mapDepth4_HB"); - Map_SUB[2][4] = (TH2F *)hfile->Get("h_mapDepth4_HE"); - Map_SUB[2][5] = (TH2F *)hfile->Get("h_mapDepth5_HE"); - Map_SUB[2][6] = (TH2F *)hfile->Get("h_mapDepth6_HE"); - Map_SUB[2][7] = (TH2F *)hfile->Get("h_mapDepth7_HE"); - Map_SUB[4][3] = (TH2F *)hfile->Get("h_mapDepth3_HF"); - Map_SUB[4][4] = (TH2F *)hfile->Get("h_mapDepth4_HF"); + Map_SUB[1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HB"); + Map_SUB[1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HB"); + Map_SUB[2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HE"); + Map_SUB[2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HE"); + Map_SUB[2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HE"); + Map_SUB[3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HO"); + Map_SUB[4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HF"); + Map_SUB[4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HF"); + + Map_SUB[1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HB"); + Map_SUB[1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HB"); + Map_SUB[2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HE"); + Map_SUB[2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5_HE"); + Map_SUB[2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6_HE"); + Map_SUB[2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7_HE"); + Map_SUB[4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HF"); + Map_SUB[4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HF"); //+++++++++++++++++++++++++++++ //Test 0 Entries @@ -388,23 +398,23 @@ int main(int argc, char *argv[]) { //Test 1 (Cm) Rate of Cap ID errors //+++++++++++++++++++++++++++++ - Map_Ampl[1][1][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HB"); - Map_Ampl[1][1][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HB"); - Map_Ampl[1][2][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HE"); - Map_Ampl[1][2][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HE"); - Map_Ampl[1][2][3] = (TH2F *)hfile->Get("h_mapDepth3Error_HE"); - Map_Ampl[1][3][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HO"); - Map_Ampl[1][4][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HF"); - Map_Ampl[1][4][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HF"); - - Map_Ampl[1][1][3] = (TH2F *)hfile->Get("h_mapDepth3Error_HB"); - Map_Ampl[1][1][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HB"); - Map_Ampl[1][2][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HE"); - Map_Ampl[1][2][5] = (TH2F *)hfile->Get("h_mapDepth5Error_HE"); - Map_Ampl[1][2][6] = (TH2F *)hfile->Get("h_mapDepth6Error_HE"); - Map_Ampl[1][2][7] = (TH2F *)hfile->Get("h_mapDepth7Error_HE"); - Map_Ampl[1][4][3] = (TH2F *)hfile->Get("h_mapDepth3Error_HF"); - Map_Ampl[1][4][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HF"); + Map_Ampl[1][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HB"); + Map_Ampl[1][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HB"); + Map_Ampl[1][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HE"); + Map_Ampl[1][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HE"); + Map_Ampl[1][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Error_HE"); + Map_Ampl[1][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HO"); + Map_Ampl[1][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HF"); + Map_Ampl[1][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HF"); + + Map_Ampl[1][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Error_HB"); + Map_Ampl[1][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HB"); + Map_Ampl[1][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HE"); + Map_Ampl[1][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5Error_HE"); + Map_Ampl[1][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6Error_HE"); + Map_Ampl[1][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7Error_HE"); + Map_Ampl[1][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Error_HF"); + Map_Ampl[1][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO // if (sub==1) cHB->Divide(2,1); @@ -491,136 +501,136 @@ int main(int argc, char *argv[]) { //Test 2 (Am) ADC amplitude //+++++++++++++++++++++++++++++ - Map_Ampl[2][1][1] = (TH2F *)hfile->Get("h_mapDepth1ADCAmpl225_HB"); - Map_Ampl[2][1][2] = (TH2F *)hfile->Get("h_mapDepth2ADCAmpl225_HB"); - Map_Ampl[2][2][1] = (TH2F *)hfile->Get("h_mapDepth1ADCAmpl225_HE"); - Map_Ampl[2][2][2] = (TH2F *)hfile->Get("h_mapDepth2ADCAmpl225_HE"); - Map_Ampl[2][2][3] = (TH2F *)hfile->Get("h_mapDepth3ADCAmpl225_HE"); - Map_Ampl[2][3][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HO"); - Map_Ampl[2][4][1] = (TH2F *)hfile->Get("h_mapDepth1ADCAmpl225_HF"); - Map_Ampl[2][4][2] = (TH2F *)hfile->Get("h_mapDepth2ADCAmpl225_HF"); - - Map_Ampl[2][1][3] = (TH2F *)hfile->Get("h_mapDepth3ADCAmpl225_HB"); - Map_Ampl[2][1][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HB"); - Map_Ampl[2][2][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HE"); - Map_Ampl[2][2][5] = (TH2F *)hfile->Get("h_mapDepth5ADCAmpl225_HE"); - Map_Ampl[2][2][6] = (TH2F *)hfile->Get("h_mapDepth6ADCAmpl225_HE"); - Map_Ampl[2][2][7] = (TH2F *)hfile->Get("h_mapDepth7ADCAmpl225_HE"); - Map_Ampl[2][4][3] = (TH2F *)hfile->Get("h_mapDepth3ADCAmpl225_HF"); - Map_Ampl[2][4][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HF"); - - HistAmpl[2][1] = (TH1F *)hfile->Get("h_ADCAmpl_HB"); - HistAmpl[2][2] = (TH1F *)hfile->Get("h_ADCAmpl_HE"); - HistAmpl[2][3] = (TH1F *)hfile->Get("h_ADCAmpl_HO"); - HistAmpl[2][4] = (TH1F *)hfile->Get("h_ADCAmpl_HF"); + Map_Ampl[2][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HB"); + Map_Ampl[2][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HB"); + Map_Ampl[2][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HE"); + Map_Ampl[2][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HE"); + Map_Ampl[2][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HE"); + Map_Ampl[2][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HO"); + Map_Ampl[2][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HF"); + Map_Ampl[2][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HF"); + + Map_Ampl[2][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HB"); + Map_Ampl[2][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HB"); + Map_Ampl[2][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HE"); + Map_Ampl[2][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5ADCAmpl225_HE"); + Map_Ampl[2][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6ADCAmpl225_HE"); + Map_Ampl[2][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7ADCAmpl225_HE"); + Map_Ampl[2][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HF"); + Map_Ampl[2][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HF"); + + HistAmpl[2][1] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HB"); + HistAmpl[2][2] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HE"); + HistAmpl[2][3] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HO"); + HistAmpl[2][4] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HF"); //+++++++++++++++++++++++++++++ //Test 3 (Wm) Rate of RMS //+++++++++++++++++++++++++++++ - Map_Ampl[3][1][1] = (TH2F *)hfile->Get("h_mapDepth1Amplitude225_HB"); - Map_Ampl[3][1][2] = (TH2F *)hfile->Get("h_mapDepth2Amplitude225_HB"); - Map_Ampl[3][2][1] = (TH2F *)hfile->Get("h_mapDepth1Amplitude225_HE"); - Map_Ampl[3][2][2] = (TH2F *)hfile->Get("h_mapDepth2Amplitude225_HE"); - Map_Ampl[3][2][3] = (TH2F *)hfile->Get("h_mapDepth3Amplitude225_HE"); - Map_Ampl[3][3][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HO"); - Map_Ampl[3][4][1] = (TH2F *)hfile->Get("h_mapDepth1Amplitude225_HF"); - Map_Ampl[3][4][2] = (TH2F *)hfile->Get("h_mapDepth2Amplitude225_HF"); - - Map_Ampl[3][1][3] = (TH2F *)hfile->Get("h_mapDepth3Amplitude225_HB"); - Map_Ampl[3][1][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HB"); - Map_Ampl[3][2][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HE"); - Map_Ampl[3][2][5] = (TH2F *)hfile->Get("h_mapDepth5Amplitude225_HE"); - Map_Ampl[3][2][6] = (TH2F *)hfile->Get("h_mapDepth6Amplitude225_HE"); - Map_Ampl[3][2][7] = (TH2F *)hfile->Get("h_mapDepth7Amplitude225_HE"); - Map_Ampl[3][4][3] = (TH2F *)hfile->Get("h_mapDepth3Amplitude225_HF"); - Map_Ampl[3][4][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HF"); - - HistAmpl[3][1] = (TH1F *)hfile->Get("h_Amplitude_HB"); - HistAmpl[3][2] = (TH1F *)hfile->Get("h_Amplitude_HE"); - HistAmpl[3][3] = (TH1F *)hfile->Get("h_Amplitude_HO"); - HistAmpl[3][4] = (TH1F *)hfile->Get("h_Amplitude_HF"); + Map_Ampl[3][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Amplitude225_HB"); + Map_Ampl[3][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Amplitude225_HB"); + Map_Ampl[3][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Amplitude225_HE"); + Map_Ampl[3][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Amplitude225_HE"); + Map_Ampl[3][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Amplitude225_HE"); + Map_Ampl[3][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HO"); + Map_Ampl[3][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Amplitude225_HF"); + Map_Ampl[3][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Amplitude225_HF"); + + Map_Ampl[3][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Amplitude225_HB"); + Map_Ampl[3][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HB"); + Map_Ampl[3][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HE"); + Map_Ampl[3][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5Amplitude225_HE"); + Map_Ampl[3][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6Amplitude225_HE"); + Map_Ampl[3][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7Amplitude225_HE"); + Map_Ampl[3][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Amplitude225_HF"); + Map_Ampl[3][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HF"); + + HistAmpl[3][1] = (TH1F *)dir->FindObjectAny("h_Amplitude_HB"); + HistAmpl[3][2] = (TH1F *)dir->FindObjectAny("h_Amplitude_HE"); + HistAmpl[3][3] = (TH1F *)dir->FindObjectAny("h_Amplitude_HO"); + HistAmpl[3][4] = (TH1F *)dir->FindObjectAny("h_Amplitude_HF"); //+++++++++++++++++++++++++++++ //Test 4 (Rm) Rate of ratio 4 near max TS/ All TS //+++++++++++++++++++++++++++++ - Map_Ampl[4][1][1] = (TH2F *)hfile->Get("h_mapDepth1Ampl047_HB"); - Map_Ampl[4][1][2] = (TH2F *)hfile->Get("h_mapDepth2Ampl047_HB"); - Map_Ampl[4][2][1] = (TH2F *)hfile->Get("h_mapDepth1Ampl047_HE"); - Map_Ampl[4][2][2] = (TH2F *)hfile->Get("h_mapDepth2Ampl047_HE"); - Map_Ampl[4][2][3] = (TH2F *)hfile->Get("h_mapDepth3Ampl047_HE"); - Map_Ampl[4][3][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HO"); - Map_Ampl[4][4][1] = (TH2F *)hfile->Get("h_mapDepth1Ampl047_HF"); - Map_Ampl[4][4][2] = (TH2F *)hfile->Get("h_mapDepth2Ampl047_HF"); - - Map_Ampl[4][1][3] = (TH2F *)hfile->Get("h_mapDepth3Ampl047_HB"); - Map_Ampl[4][1][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HB"); - Map_Ampl[4][2][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HE"); - Map_Ampl[4][2][5] = (TH2F *)hfile->Get("h_mapDepth5Ampl047_HE"); - Map_Ampl[4][2][6] = (TH2F *)hfile->Get("h_mapDepth6Ampl047_HE"); - Map_Ampl[4][2][7] = (TH2F *)hfile->Get("h_mapDepth7Ampl047_HE"); - Map_Ampl[4][4][3] = (TH2F *)hfile->Get("h_mapDepth3Ampl047_HF"); - Map_Ampl[4][4][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HF"); - - HistAmpl[4][1] = (TH1F *)hfile->Get("h_Ampl_HB"); - HistAmpl[4][2] = (TH1F *)hfile->Get("h_Ampl_HE"); - HistAmpl[4][3] = (TH1F *)hfile->Get("h_Ampl_HO"); - HistAmpl[4][4] = (TH1F *)hfile->Get("h_Ampl_HF"); + Map_Ampl[4][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Ampl047_HB"); + Map_Ampl[4][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Ampl047_HB"); + Map_Ampl[4][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Ampl047_HE"); + Map_Ampl[4][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Ampl047_HE"); + Map_Ampl[4][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Ampl047_HE"); + Map_Ampl[4][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HO"); + Map_Ampl[4][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Ampl047_HF"); + Map_Ampl[4][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Ampl047_HF"); + + Map_Ampl[4][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Ampl047_HB"); + Map_Ampl[4][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HB"); + Map_Ampl[4][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HE"); + Map_Ampl[4][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5Ampl047_HE"); + Map_Ampl[4][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6Ampl047_HE"); + Map_Ampl[4][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7Ampl047_HE"); + Map_Ampl[4][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Ampl047_HF"); + Map_Ampl[4][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HF"); + + HistAmpl[4][1] = (TH1F *)dir->FindObjectAny("h_Ampl_HB"); + HistAmpl[4][2] = (TH1F *)dir->FindObjectAny("h_Ampl_HE"); + HistAmpl[4][3] = (TH1F *)dir->FindObjectAny("h_Ampl_HO"); + HistAmpl[4][4] = (TH1F *)dir->FindObjectAny("h_Ampl_HF"); //+++++++++++++++++++++++++++++ //Test 5 (TNm) Mean position in 1-8 TS range //+++++++++++++++++++++++++++++ - Map_Ampl[5][1][1] = (TH2F *)hfile->Get("h_mapDepth1TSmeanA225_HB"); - Map_Ampl[5][1][2] = (TH2F *)hfile->Get("h_mapDepth2TSmeanA225_HB"); - Map_Ampl[5][2][1] = (TH2F *)hfile->Get("h_mapDepth1TSmeanA225_HE"); - Map_Ampl[5][2][2] = (TH2F *)hfile->Get("h_mapDepth2TSmeanA225_HE"); - Map_Ampl[5][2][3] = (TH2F *)hfile->Get("h_mapDepth3TSmeanA225_HE"); - Map_Ampl[5][3][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HO"); - Map_Ampl[5][4][1] = (TH2F *)hfile->Get("h_mapDepth1TSmeanA225_HF"); - Map_Ampl[5][4][2] = (TH2F *)hfile->Get("h_mapDepth2TSmeanA225_HF"); - - Map_Ampl[5][1][3] = (TH2F *)hfile->Get("h_mapDepth3TSmeanA225_HB"); - Map_Ampl[5][1][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HB"); - Map_Ampl[5][2][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HE"); - Map_Ampl[5][2][5] = (TH2F *)hfile->Get("h_mapDepth5TSmeanA225_HE"); - Map_Ampl[5][2][6] = (TH2F *)hfile->Get("h_mapDepth6TSmeanA225_HE"); - Map_Ampl[5][2][7] = (TH2F *)hfile->Get("h_mapDepth7TSmeanA225_HE"); - Map_Ampl[5][4][3] = (TH2F *)hfile->Get("h_mapDepth3TSmeanA225_HF"); - Map_Ampl[5][4][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HF"); - - HistAmpl[5][1] = (TH1F *)hfile->Get("h_TSmeanA_HB"); - HistAmpl[5][2] = (TH1F *)hfile->Get("h_TSmeanA_HE"); - HistAmpl[5][3] = (TH1F *)hfile->Get("h_TSmeanA_HO"); - HistAmpl[5][4] = (TH1F *)hfile->Get("h_TSmeanA_HF"); + Map_Ampl[5][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmeanA225_HB"); + Map_Ampl[5][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmeanA225_HB"); + Map_Ampl[5][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmeanA225_HE"); + Map_Ampl[5][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmeanA225_HE"); + Map_Ampl[5][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmeanA225_HE"); + Map_Ampl[5][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HO"); + Map_Ampl[5][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmeanA225_HF"); + Map_Ampl[5][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmeanA225_HF"); + + Map_Ampl[5][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmeanA225_HB"); + Map_Ampl[5][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HB"); + Map_Ampl[5][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HE"); + Map_Ampl[5][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5TSmeanA225_HE"); + Map_Ampl[5][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6TSmeanA225_HE"); + Map_Ampl[5][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7TSmeanA225_HE"); + Map_Ampl[5][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmeanA225_HF"); + Map_Ampl[5][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HF"); + + HistAmpl[5][1] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HB"); + HistAmpl[5][2] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HE"); + HistAmpl[5][3] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HO"); + HistAmpl[5][4] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HF"); //+++++++++++++++++++++++++++++ //Test 6 (TXm) Maximum position in 1-8 TS range //+++++++++++++++++++++++++++++ - Map_Ampl[6][1][1] = (TH2F *)hfile->Get("h_mapDepth1TSmaxA225_HB"); - Map_Ampl[6][1][2] = (TH2F *)hfile->Get("h_mapDepth2TSmaxA225_HB"); - Map_Ampl[6][2][1] = (TH2F *)hfile->Get("h_mapDepth1TSmaxA225_HE"); - Map_Ampl[6][2][2] = (TH2F *)hfile->Get("h_mapDepth2TSmaxA225_HE"); - Map_Ampl[6][2][3] = (TH2F *)hfile->Get("h_mapDepth3TSmaxA225_HE"); - Map_Ampl[6][3][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HO"); - Map_Ampl[6][4][1] = (TH2F *)hfile->Get("h_mapDepth1TSmaxA225_HF"); - Map_Ampl[6][4][2] = (TH2F *)hfile->Get("h_mapDepth2TSmaxA225_HF"); - - Map_Ampl[6][1][3] = (TH2F *)hfile->Get("h_mapDepth3TSmaxA225_HB"); - Map_Ampl[6][1][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HB"); - Map_Ampl[6][2][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HE"); - Map_Ampl[6][2][5] = (TH2F *)hfile->Get("h_mapDepth5TSmaxA225_HE"); - Map_Ampl[6][2][6] = (TH2F *)hfile->Get("h_mapDepth6TSmaxA225_HE"); - Map_Ampl[6][2][7] = (TH2F *)hfile->Get("h_mapDepth7TSmaxA225_HE"); - Map_Ampl[6][4][3] = (TH2F *)hfile->Get("h_mapDepth3TSmaxA225_HF"); - Map_Ampl[6][4][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HF"); - - HistAmpl[6][1] = (TH1F *)hfile->Get("h_TSmaxA_HB"); - HistAmpl[6][2] = (TH1F *)hfile->Get("h_TSmaxA_HE"); - HistAmpl[6][3] = (TH1F *)hfile->Get("h_TSmaxA_HO"); - HistAmpl[6][4] = (TH1F *)hfile->Get("h_TSmaxA_HF"); + Map_Ampl[6][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmaxA225_HB"); + Map_Ampl[6][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmaxA225_HB"); + Map_Ampl[6][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmaxA225_HE"); + Map_Ampl[6][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmaxA225_HE"); + Map_Ampl[6][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmaxA225_HE"); + Map_Ampl[6][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HO"); + Map_Ampl[6][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmaxA225_HF"); + Map_Ampl[6][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmaxA225_HF"); + + Map_Ampl[6][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmaxA225_HB"); + Map_Ampl[6][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HB"); + Map_Ampl[6][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HE"); + Map_Ampl[6][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5TSmaxA225_HE"); + Map_Ampl[6][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6TSmaxA225_HE"); + Map_Ampl[6][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7TSmaxA225_HE"); + Map_Ampl[6][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmaxA225_HF"); + Map_Ampl[6][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HF"); + + HistAmpl[6][1] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HB"); + HistAmpl[6][2] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HE"); + HistAmpl[6][3] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HO"); + HistAmpl[6][4] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HF"); for (int test = 2; test <= 6; test++) { //Test: 2-Am, 3-Wm, 4-Rm, 5-TNm, 6-TXm, for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO @@ -780,21 +790,21 @@ int main(int argc, char *argv[]) { cONE->Divide(3, 1); if (test == 2 && sub == 2) { cONE->cd(2); - TH1F *kjkjkhj2 = (TH1F *)hfile->Get("h_AmplitudeHEtest1"); + TH1F *kjkjkhj2 = (TH1F *)dir->FindObjectAny("h_AmplitudeHEtest1"); kjkjkhj2->Draw(""); kjkjkhj2->SetTitle("HE, All Depth: shunt1"); cONE->cd(3); - TH1F *kjkjkhj3 = (TH1F *)hfile->Get("h_AmplitudeHEtest6"); + TH1F *kjkjkhj3 = (TH1F *)dir->FindObjectAny("h_AmplitudeHEtest6"); kjkjkhj3->Draw(""); kjkjkhj3->SetTitle("HE, All Depth: shunt6"); } if (test == 2 && sub == 1) { cONE->cd(2); - TH1F *kjkjkhb2 = (TH1F *)hfile->Get("h_AmplitudeHBtest1"); + TH1F *kjkjkhb2 = (TH1F *)dir->FindObjectAny("h_AmplitudeHBtest1"); kjkjkhb2->Draw(""); kjkjkhb2->SetTitle("HB, All Depth: shunt1"); cONE->cd(3); - TH1F *kjkjkhb3 = (TH1F *)hfile->Get("h_AmplitudeHBtest6"); + TH1F *kjkjkhb3 = (TH1F *)dir->FindObjectAny("h_AmplitudeHBtest6"); kjkjkhb3->Draw(""); kjkjkhb3->SetTitle("HB, All Depth: shunt6"); } @@ -953,14 +963,14 @@ int main(int argc, char *argv[]) { TH2F *Map_Calib[5][5]; // 2d histogramm for subdet, depth - Map_Calib[1][1] = (TH2F *)hfile->Get("h_map_HB"); - Map_Calib[1][2] = (TH2F *)hfile->Get("h_map_HB"); - Map_Calib[2][1] = (TH2F *)hfile->Get("h_map_HE"); - Map_Calib[2][2] = (TH2F *)hfile->Get("h_map_HE"); - Map_Calib[2][3] = (TH2F *)hfile->Get("h_map_HE"); - Map_Calib[3][4] = (TH2F *)hfile->Get("h_map_HO"); - Map_Calib[4][1] = (TH2F *)hfile->Get("h_map_HF"); - Map_Calib[4][2] = (TH2F *)hfile->Get("h_map_HF"); + Map_Calib[1][1] = (TH2F *)dir->FindObjectAny("h_map_HB"); + Map_Calib[1][2] = (TH2F *)dir->FindObjectAny("h_map_HB"); + Map_Calib[2][1] = (TH2F *)dir->FindObjectAny("h_map_HE"); + Map_Calib[2][2] = (TH2F *)dir->FindObjectAny("h_map_HE"); + Map_Calib[2][3] = (TH2F *)dir->FindObjectAny("h_map_HE"); + Map_Calib[3][4] = (TH2F *)dir->FindObjectAny("h_map_HO"); + Map_Calib[4][1] = (TH2F *)dir->FindObjectAny("h_map_HF"); + Map_Calib[4][2] = (TH2F *)dir->FindObjectAny("h_map_HF"); //+++++++++++++++++++++++++++++ //Test 0 Entries @@ -1030,14 +1040,14 @@ int main(int argc, char *argv[]) { //Test 11 (Cc) Rate of Cap ID errors for calibration channels //+++++++++++++++++++++++++++++ - Map_Ampl[11][1][1] = (TH2F *)hfile->Get("h_mapCapCalib047_HB"); - Map_Ampl[11][1][2] = (TH2F *)hfile->Get("h_mapCapCalib047_HB"); - Map_Ampl[11][2][1] = (TH2F *)hfile->Get("h_mapCapCalib047_HE"); - Map_Ampl[11][2][2] = (TH2F *)hfile->Get("h_mapCapCalib047_HE"); - Map_Ampl[11][2][3] = (TH2F *)hfile->Get("h_mapCapCalib047_HE"); - Map_Ampl[11][3][4] = (TH2F *)hfile->Get("h_mapCapCalib047_HO"); - Map_Ampl[11][4][1] = (TH2F *)hfile->Get("h_mapCapCalib047_HF"); - Map_Ampl[11][4][2] = (TH2F *)hfile->Get("h_mapCapCalib047_HF"); + Map_Ampl[11][1][1] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HB"); + Map_Ampl[11][1][2] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HB"); + Map_Ampl[11][2][1] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HE"); + Map_Ampl[11][2][2] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HE"); + Map_Ampl[11][2][3] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HE"); + Map_Ampl[11][3][4] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HO"); + Map_Ampl[11][4][1] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HF"); + Map_Ampl[11][4][2] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO // if (sub==1) cHB->Divide(2,1); @@ -1103,91 +1113,91 @@ int main(int argc, char *argv[]) { //Test 12 (Ac) ADC amplitude for calibration chanels //+++++++++++++++++++++++++++++ - Map_Ampl[12][1][1] = (TH2F *)hfile->Get("h_mapADCCalib047_HB"); - Map_Ampl[12][1][2] = (TH2F *)hfile->Get("h_mapADCCalib047_HB"); - Map_Ampl[12][2][1] = (TH2F *)hfile->Get("h_mapADCCalib047_HE"); - Map_Ampl[12][2][2] = (TH2F *)hfile->Get("h_mapADCCalib047_HE"); - Map_Ampl[12][2][3] = (TH2F *)hfile->Get("h_mapADCCalib047_HE"); - Map_Ampl[12][3][4] = (TH2F *)hfile->Get("h_mapADCCalib047_HO"); - Map_Ampl[12][4][1] = (TH2F *)hfile->Get("h_mapADCCalib047_HF"); - Map_Ampl[12][4][2] = (TH2F *)hfile->Get("h_mapADCCalib047_HF"); + Map_Ampl[12][1][1] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HB"); + Map_Ampl[12][1][2] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HB"); + Map_Ampl[12][2][1] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HE"); + Map_Ampl[12][2][2] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HE"); + Map_Ampl[12][2][3] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HE"); + Map_Ampl[12][3][4] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HO"); + Map_Ampl[12][4][1] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HF"); + Map_Ampl[12][4][2] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HF"); - HistAmpl[12][1] = (TH1F *)hfile->Get("h_ADCCalib_HB"); - HistAmpl[12][2] = (TH1F *)hfile->Get("h_ADCCalib_HE"); - HistAmpl[12][3] = (TH1F *)hfile->Get("h_ADCCalib_HO"); - HistAmpl[12][4] = (TH1F *)hfile->Get("h_ADCCalib_HF"); + HistAmpl[12][1] = (TH1F *)dir->FindObjectAny("h_ADCCalib_HB"); + HistAmpl[12][2] = (TH1F *)dir->FindObjectAny("h_ADCCalib_HE"); + HistAmpl[12][3] = (TH1F *)dir->FindObjectAny("h_ADCCalib_HO"); + HistAmpl[12][4] = (TH1F *)dir->FindObjectAny("h_ADCCalib_HF"); //+++++++++++++++++++++++++++++ //Test 13 (Wc) Rate of RMS //+++++++++++++++++++++++++++++ - Map_Ampl[13][1][1] = (TH2F *)hfile->Get("h_mapWidthCalib047_HB"); - Map_Ampl[13][1][2] = (TH2F *)hfile->Get("h_mapWidthCalib047_HB"); - Map_Ampl[13][2][1] = (TH2F *)hfile->Get("h_mapWidthCalib047_HE"); - Map_Ampl[13][2][2] = (TH2F *)hfile->Get("h_mapWidthCalib047_HE"); - Map_Ampl[13][2][3] = (TH2F *)hfile->Get("h_mapWidthCalib047_HE"); - Map_Ampl[13][3][4] = (TH2F *)hfile->Get("h_mapWidthCalib047_HO"); - Map_Ampl[13][4][1] = (TH2F *)hfile->Get("h_mapWidthCalib047_HF"); - Map_Ampl[13][4][2] = (TH2F *)hfile->Get("h_mapWidthCalib047_HF"); + Map_Ampl[13][1][1] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HB"); + Map_Ampl[13][1][2] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HB"); + Map_Ampl[13][2][1] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HE"); + Map_Ampl[13][2][2] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HE"); + Map_Ampl[13][2][3] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HE"); + Map_Ampl[13][3][4] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HO"); + Map_Ampl[13][4][1] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HF"); + Map_Ampl[13][4][2] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HF"); - HistAmpl[13][1] = (TH1F *)hfile->Get("h_WidthCalib_HB"); - HistAmpl[13][2] = (TH1F *)hfile->Get("h_WidthCalib_HE"); - HistAmpl[13][3] = (TH1F *)hfile->Get("h_WidthCalib_HO"); - HistAmpl[13][4] = (TH1F *)hfile->Get("h_WidthCalib_HF"); + HistAmpl[13][1] = (TH1F *)dir->FindObjectAny("h_WidthCalib_HB"); + HistAmpl[13][2] = (TH1F *)dir->FindObjectAny("h_WidthCalib_HE"); + HistAmpl[13][3] = (TH1F *)dir->FindObjectAny("h_WidthCalib_HO"); + HistAmpl[13][4] = (TH1F *)dir->FindObjectAny("h_WidthCalib_HF"); //+++++++++++++++++++++++++++++ //Test 14 (Rc) Rate of ratio 4 near max TS/ All TS //+++++++++++++++++++++++++++++ - Map_Ampl[14][1][1] = (TH2F *)hfile->Get("h_mapRatioCalib047_HB"); - Map_Ampl[14][1][2] = (TH2F *)hfile->Get("h_mapRatioCalib047_HB"); - Map_Ampl[14][2][1] = (TH2F *)hfile->Get("h_mapRatioCalib047_HE"); - Map_Ampl[14][2][2] = (TH2F *)hfile->Get("h_mapRatioCalib047_HE"); - Map_Ampl[14][2][3] = (TH2F *)hfile->Get("h_mapRatioCalib047_HE"); - Map_Ampl[14][3][4] = (TH2F *)hfile->Get("h_mapRatioCalib047_HO"); - Map_Ampl[14][4][1] = (TH2F *)hfile->Get("h_mapRatioCalib047_HF"); - Map_Ampl[14][4][2] = (TH2F *)hfile->Get("h_mapRatioCalib047_HF"); + Map_Ampl[14][1][1] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HB"); + Map_Ampl[14][1][2] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HB"); + Map_Ampl[14][2][1] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HE"); + Map_Ampl[14][2][2] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HE"); + Map_Ampl[14][2][3] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HE"); + Map_Ampl[14][3][4] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HO"); + Map_Ampl[14][4][1] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HF"); + Map_Ampl[14][4][2] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HF"); - HistAmpl[14][1] = (TH1F *)hfile->Get("h_RatioCalib_HB"); - HistAmpl[14][2] = (TH1F *)hfile->Get("h_RatioCalib_HE"); - HistAmpl[14][3] = (TH1F *)hfile->Get("h_RatioCalib_HO"); - HistAmpl[14][4] = (TH1F *)hfile->Get("h_RatioCalib_HF"); + HistAmpl[14][1] = (TH1F *)dir->FindObjectAny("h_RatioCalib_HB"); + HistAmpl[14][2] = (TH1F *)dir->FindObjectAny("h_RatioCalib_HE"); + HistAmpl[14][3] = (TH1F *)dir->FindObjectAny("h_RatioCalib_HO"); + HistAmpl[14][4] = (TH1F *)dir->FindObjectAny("h_RatioCalib_HF"); //+++++++++++++++++++++++++++++ //Test 15 (TNc) Mean position in 1-8 TS range //+++++++++++++++++++++++++++++ - Map_Ampl[15][1][1] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HB"); - Map_Ampl[15][1][2] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HB"); - Map_Ampl[15][2][1] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HE"); - Map_Ampl[15][2][2] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HE"); - Map_Ampl[15][2][3] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HE"); - Map_Ampl[15][3][4] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HO"); - Map_Ampl[15][4][1] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HF"); - Map_Ampl[15][4][2] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HF"); + Map_Ampl[15][1][1] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HB"); + Map_Ampl[15][1][2] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HB"); + Map_Ampl[15][2][1] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); + Map_Ampl[15][2][2] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); + Map_Ampl[15][2][3] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); + Map_Ampl[15][3][4] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HO"); + Map_Ampl[15][4][1] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HF"); + Map_Ampl[15][4][2] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HF"); - HistAmpl[15][1] = (TH1F *)hfile->Get("h_TSmeanCalib_HB"); - HistAmpl[15][2] = (TH1F *)hfile->Get("h_TSmeanCalib_HE"); - HistAmpl[15][3] = (TH1F *)hfile->Get("h_TSmeanCalib_HO"); - HistAmpl[15][4] = (TH1F *)hfile->Get("h_TSmeanCalib_HF"); + HistAmpl[15][1] = (TH1F *)dir->FindObjectAny("h_TSmeanCalib_HB"); + HistAmpl[15][2] = (TH1F *)dir->FindObjectAny("h_TSmeanCalib_HE"); + HistAmpl[15][3] = (TH1F *)dir->FindObjectAny("h_TSmeanCalib_HO"); + HistAmpl[15][4] = (TH1F *)dir->FindObjectAny("h_TSmeanCalib_HF"); //+++++++++++++++++++++++++++++ //Test 16 (TXc) Maximum position in 1-8 TS range //+++++++++++++++++++++++++++++ - Map_Ampl[16][1][1] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HB"); - Map_Ampl[16][1][2] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HB"); - Map_Ampl[16][2][1] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HE"); - Map_Ampl[16][2][2] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HE"); - Map_Ampl[16][2][3] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HE"); - Map_Ampl[16][3][4] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HO"); - Map_Ampl[16][4][1] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HF"); - Map_Ampl[16][4][2] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HF"); + Map_Ampl[16][1][1] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HB"); + Map_Ampl[16][1][2] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HB"); + Map_Ampl[16][2][1] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); + Map_Ampl[16][2][2] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); + Map_Ampl[16][2][3] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); + Map_Ampl[16][3][4] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HO"); + Map_Ampl[16][4][1] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HF"); + Map_Ampl[16][4][2] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HF"); - HistAmpl[16][1] = (TH1F *)hfile->Get("h_TSmaxCalib_HB"); - HistAmpl[16][2] = (TH1F *)hfile->Get("h_TSmaxCalib_HE"); - HistAmpl[16][3] = (TH1F *)hfile->Get("h_TSmaxCalib_HO"); - HistAmpl[16][4] = (TH1F *)hfile->Get("h_TSmaxCalib_HF"); + HistAmpl[16][1] = (TH1F *)dir->FindObjectAny("h_TSmaxCalib_HB"); + HistAmpl[16][2] = (TH1F *)dir->FindObjectAny("h_TSmaxCalib_HE"); + HistAmpl[16][3] = (TH1F *)dir->FindObjectAny("h_TSmaxCalib_HO"); + HistAmpl[16][4] = (TH1F *)dir->FindObjectAny("h_TSmaxCalib_HF"); for (int test = 12; test <= 16; test++) { //Test: 2-Am, 3-Wm, 4-Rm, 5-TNm, 6-TXm, for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO @@ -1494,59 +1504,59 @@ int main(int argc, char *argv[]) { //Test 21 (GS) Amplitude drift //+++++++++++++++++++++++++++++ - Map_Ampl[21][1][1] = (TH2F *)hfile->Get("h_mapDepth1AmplE34_HB"); - Map_Ampl[21][1][2] = (TH2F *)hfile->Get("h_mapDepth2AmplE34_HB"); - Map_Ampl[21][1][3] = (TH2F *)hfile->Get("h_mapDepth3AmplE34_HB"); - Map_Ampl[21][1][4] = (TH2F *)hfile->Get("h_mapDepth4AmplE34_HB"); - Map_Ampl[21][2][1] = (TH2F *)hfile->Get("h_mapDepth1AmplE34_HE"); - Map_Ampl[21][2][2] = (TH2F *)hfile->Get("h_mapDepth2AmplE34_HE"); - Map_Ampl[21][2][3] = (TH2F *)hfile->Get("h_mapDepth3AmplE34_HE"); - Map_Ampl[21][2][4] = (TH2F *)hfile->Get("h_mapDepth4AmplE34_HE"); - Map_Ampl[21][2][5] = (TH2F *)hfile->Get("h_mapDepth5AmplE34_HE"); - Map_Ampl[21][2][6] = (TH2F *)hfile->Get("h_mapDepth6AmplE34_HE"); - Map_Ampl[21][2][7] = (TH2F *)hfile->Get("h_mapDepth7AmplE34_HE"); - Map_Ampl[21][3][4] = (TH2F *)hfile->Get("h_mapDepth4AmplE34_HO"); - Map_Ampl[21][4][1] = (TH2F *)hfile->Get("h_mapDepth1AmplE34_HF"); - Map_Ampl[21][4][2] = (TH2F *)hfile->Get("h_mapDepth2AmplE34_HF"); - Map_Ampl[21][4][3] = (TH2F *)hfile->Get("h_mapDepth3AmplE34_HF"); - Map_Ampl[21][4][4] = (TH2F *)hfile->Get("h_mapDepth4AmplE34_HF"); + Map_Ampl[21][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1AmplE34_HB"); + Map_Ampl[21][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2AmplE34_HB"); + Map_Ampl[21][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3AmplE34_HB"); + Map_Ampl[21][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4AmplE34_HB"); + Map_Ampl[21][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1AmplE34_HE"); + Map_Ampl[21][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2AmplE34_HE"); + Map_Ampl[21][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3AmplE34_HE"); + Map_Ampl[21][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4AmplE34_HE"); + Map_Ampl[21][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5AmplE34_HE"); + Map_Ampl[21][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6AmplE34_HE"); + Map_Ampl[21][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7AmplE34_HE"); + Map_Ampl[21][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4AmplE34_HO"); + Map_Ampl[21][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1AmplE34_HF"); + Map_Ampl[21][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2AmplE34_HF"); + Map_Ampl[21][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3AmplE34_HF"); + Map_Ampl[21][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4AmplE34_HF"); TH2F *Map_RefAmpl[5][ALLDEPTH]; // 2D histogramm for subdet, depth TH2F *Map_RefSUB[5][ALLDEPTH]; // 2d histogramm for subdet, depth - Map_RefAmpl[1][1] = (TH2F *)hreffile->Get("h_mapDepth1AmplE34_HB"); - Map_RefAmpl[1][2] = (TH2F *)hreffile->Get("h_mapDepth2AmplE34_HB"); - Map_RefAmpl[1][3] = (TH2F *)hreffile->Get("h_mapDepth3AmplE34_HB"); - Map_RefAmpl[1][4] = (TH2F *)hreffile->Get("h_mapDepth4AmplE34_HB"); - Map_RefAmpl[2][1] = (TH2F *)hreffile->Get("h_mapDepth1AmplE34_HE"); - Map_RefAmpl[2][2] = (TH2F *)hreffile->Get("h_mapDepth2AmplE34_HE"); - Map_RefAmpl[2][3] = (TH2F *)hreffile->Get("h_mapDepth3AmplE34_HE"); - Map_RefAmpl[2][4] = (TH2F *)hreffile->Get("h_mapDepth4AmplE34_HE"); - Map_RefAmpl[2][5] = (TH2F *)hreffile->Get("h_mapDepth5AmplE34_HE"); - Map_RefAmpl[2][6] = (TH2F *)hreffile->Get("h_mapDepth6AmplE34_HE"); - Map_RefAmpl[2][7] = (TH2F *)hreffile->Get("h_mapDepth7AmplE34_HE"); - Map_RefAmpl[3][4] = (TH2F *)hreffile->Get("h_mapDepth4AmplE34_HO"); - Map_RefAmpl[4][1] = (TH2F *)hreffile->Get("h_mapDepth1AmplE34_HF"); - Map_RefAmpl[4][2] = (TH2F *)hreffile->Get("h_mapDepth2AmplE34_HF"); - Map_RefAmpl[4][3] = (TH2F *)hreffile->Get("h_mapDepth3AmplE34_HF"); - Map_RefAmpl[4][4] = (TH2F *)hreffile->Get("h_mapDepth4AmplE34_HF"); - - Map_RefSUB[1][1] = (TH2F *)hreffile->Get("h_mapDepth1_HB"); - Map_RefSUB[1][2] = (TH2F *)hreffile->Get("h_mapDepth2_HB"); - Map_RefSUB[1][3] = (TH2F *)hreffile->Get("h_mapDepth3_HB"); - Map_RefSUB[1][4] = (TH2F *)hreffile->Get("h_mapDepth4_HB"); - Map_RefSUB[2][1] = (TH2F *)hreffile->Get("h_mapDepth1_HE"); - Map_RefSUB[2][2] = (TH2F *)hreffile->Get("h_mapDepth2_HE"); - Map_RefSUB[2][3] = (TH2F *)hreffile->Get("h_mapDepth3_HE"); - Map_RefSUB[2][4] = (TH2F *)hreffile->Get("h_mapDepth4_HE"); - Map_RefSUB[2][5] = (TH2F *)hreffile->Get("h_mapDepth5_HE"); - Map_RefSUB[2][6] = (TH2F *)hreffile->Get("h_mapDepth6_HE"); - Map_RefSUB[2][7] = (TH2F *)hreffile->Get("h_mapDepth7_HE"); - Map_RefSUB[3][4] = (TH2F *)hreffile->Get("h_mapDepth4_HO"); - Map_RefSUB[4][1] = (TH2F *)hreffile->Get("h_mapDepth1_HF"); - Map_RefSUB[4][2] = (TH2F *)hreffile->Get("h_mapDepth2_HF"); - Map_RefSUB[4][3] = (TH2F *)hreffile->Get("h_mapDepth3_HF"); - Map_RefSUB[4][4] = (TH2F *)hreffile->Get("h_mapDepth4_HF"); + Map_RefAmpl[1][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1AmplE34_HB"); + Map_RefAmpl[1][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2AmplE34_HB"); + Map_RefAmpl[1][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3AmplE34_HB"); + Map_RefAmpl[1][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4AmplE34_HB"); + Map_RefAmpl[2][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1AmplE34_HE"); + Map_RefAmpl[2][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2AmplE34_HE"); + Map_RefAmpl[2][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3AmplE34_HE"); + Map_RefAmpl[2][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4AmplE34_HE"); + Map_RefAmpl[2][5] = (TH2F *)refdir->FindObjectAny("h_mapDepth5AmplE34_HE"); + Map_RefAmpl[2][6] = (TH2F *)refdir->FindObjectAny("h_mapDepth6AmplE34_HE"); + Map_RefAmpl[2][7] = (TH2F *)refdir->FindObjectAny("h_mapDepth7AmplE34_HE"); + Map_RefAmpl[3][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4AmplE34_HO"); + Map_RefAmpl[4][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1AmplE34_HF"); + Map_RefAmpl[4][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2AmplE34_HF"); + Map_RefAmpl[4][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3AmplE34_HF"); + Map_RefAmpl[4][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4AmplE34_HF"); + + Map_RefSUB[1][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1_HB"); + Map_RefSUB[1][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2_HB"); + Map_RefSUB[1][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3_HB"); + Map_RefSUB[1][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4_HB"); + Map_RefSUB[2][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1_HE"); + Map_RefSUB[2][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2_HE"); + Map_RefSUB[2][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3_HE"); + Map_RefSUB[2][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4_HE"); + Map_RefSUB[2][5] = (TH2F *)refdir->FindObjectAny("h_mapDepth5_HE"); + Map_RefSUB[2][6] = (TH2F *)refdir->FindObjectAny("h_mapDepth6_HE"); + Map_RefSUB[2][7] = (TH2F *)refdir->FindObjectAny("h_mapDepth7_HE"); + Map_RefSUB[3][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4_HO"); + Map_RefSUB[4][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1_HF"); + Map_RefSUB[4][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2_HF"); + Map_RefSUB[4][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3_HF"); + Map_RefSUB[4][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4_HF"); HistAmplDepth[21][1][1] = new TH1F("diffAmpl_Depth1_HB", "", 100, -10., 10.); HistAmplDepth[21][1][2] = new TH1F("diffAmpl_Depth2_HB", "", 100, -10., 10.); @@ -1907,75 +1917,75 @@ int main(int argc, char *argv[]) { //Test 31, 32 Pedestal, pedestalWidths //++++++++++++++++++++++++++++++++++++ - Map_Ampl[31][1][1] = (TH2F *)hfile->Get("h_mapDepth1pedestal_HB"); - Map_Ampl[31][1][2] = (TH2F *)hfile->Get("h_mapDepth2pedestal_HB"); - Map_Ampl[31][1][3] = (TH2F *)hfile->Get("h_mapDepth3pedestal_HB"); - Map_Ampl[31][1][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HB"); - Map_Ampl[31][2][1] = (TH2F *)hfile->Get("h_mapDepth1pedestal_HE"); - Map_Ampl[31][2][2] = (TH2F *)hfile->Get("h_mapDepth2pedestal_HE"); - Map_Ampl[31][2][3] = (TH2F *)hfile->Get("h_mapDepth3pedestal_HE"); - Map_Ampl[31][2][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HE"); - Map_Ampl[31][2][5] = (TH2F *)hfile->Get("h_mapDepth5pedestal_HE"); - Map_Ampl[31][2][6] = (TH2F *)hfile->Get("h_mapDepth6pedestal_HE"); - Map_Ampl[31][2][7] = (TH2F *)hfile->Get("h_mapDepth7pedestal_HE"); - Map_Ampl[31][3][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HO"); - Map_Ampl[31][4][1] = (TH2F *)hfile->Get("h_mapDepth1pedestal_HF"); - Map_Ampl[31][4][2] = (TH2F *)hfile->Get("h_mapDepth2pedestal_HF"); - Map_Ampl[31][4][3] = (TH2F *)hfile->Get("h_mapDepth3pedestal_HF"); - Map_Ampl[31][4][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HF"); - - Map_Ampl[32][1][1] = (TH2F *)hfile->Get("h_mapDepth1pedestalw_HB"); - Map_Ampl[32][1][2] = (TH2F *)hfile->Get("h_mapDepth2pedestalw_HB"); - Map_Ampl[32][1][3] = (TH2F *)hfile->Get("h_mapDepth3pedestalw_HB"); - Map_Ampl[32][1][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HB"); - Map_Ampl[32][2][1] = (TH2F *)hfile->Get("h_mapDepth1pedestalw_HE"); - Map_Ampl[32][2][2] = (TH2F *)hfile->Get("h_mapDepth2pedestalw_HE"); - Map_Ampl[32][2][3] = (TH2F *)hfile->Get("h_mapDepth3pedestalw_HE"); - Map_Ampl[32][2][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HE"); - Map_Ampl[32][2][5] = (TH2F *)hfile->Get("h_mapDepth5pedestalw_HE"); - Map_Ampl[32][2][6] = (TH2F *)hfile->Get("h_mapDepth6pedestalw_HE"); - Map_Ampl[32][2][7] = (TH2F *)hfile->Get("h_mapDepth7pedestalw_HE"); - Map_Ampl[32][3][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HO"); - Map_Ampl[32][4][1] = (TH2F *)hfile->Get("h_mapDepth1pedestalw_HF"); - Map_Ampl[32][4][2] = (TH2F *)hfile->Get("h_mapDepth2pedestalw_HF"); - Map_Ampl[32][4][3] = (TH2F *)hfile->Get("h_mapDepth3pedestalw_HF"); - Map_Ampl[32][4][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HF"); - - HistPed[1][1][0] = (TH1F *)hfile->Get("h_pedestal0_HB"); - HistPed[1][1][1] = (TH1F *)hfile->Get("h_pedestal1_HB"); - HistPed[1][1][2] = (TH1F *)hfile->Get("h_pedestal2_HB"); - HistPed[1][1][3] = (TH1F *)hfile->Get("h_pedestal3_HB"); - HistPed[2][1][0] = (TH1F *)hfile->Get("h_pedestalw0_HB"); - HistPed[2][1][1] = (TH1F *)hfile->Get("h_pedestalw1_HB"); - HistPed[2][1][2] = (TH1F *)hfile->Get("h_pedestalw2_HB"); - HistPed[2][1][3] = (TH1F *)hfile->Get("h_pedestalw3_HB"); - - HistPed[1][2][0] = (TH1F *)hfile->Get("h_pedestal0_HE"); - HistPed[1][2][1] = (TH1F *)hfile->Get("h_pedestal1_HE"); - HistPed[1][2][2] = (TH1F *)hfile->Get("h_pedestal2_HE"); - HistPed[1][2][3] = (TH1F *)hfile->Get("h_pedestal3_HE"); - HistPed[2][2][0] = (TH1F *)hfile->Get("h_pedestalw0_HE"); - HistPed[2][2][1] = (TH1F *)hfile->Get("h_pedestalw1_HE"); - HistPed[2][2][2] = (TH1F *)hfile->Get("h_pedestalw2_HE"); - HistPed[2][2][3] = (TH1F *)hfile->Get("h_pedestalw3_HE"); - - HistPed[1][3][0] = (TH1F *)hfile->Get("h_pedestal0_HO"); - HistPed[1][3][1] = (TH1F *)hfile->Get("h_pedestal1_HO"); - HistPed[1][3][2] = (TH1F *)hfile->Get("h_pedestal2_HO"); - HistPed[1][3][3] = (TH1F *)hfile->Get("h_pedestal3_HO"); - HistPed[2][3][0] = (TH1F *)hfile->Get("h_pedestalw0_HO"); - HistPed[2][3][1] = (TH1F *)hfile->Get("h_pedestalw1_HO"); - HistPed[2][3][2] = (TH1F *)hfile->Get("h_pedestalw2_HO"); - HistPed[2][3][3] = (TH1F *)hfile->Get("h_pedestalw3_HO"); - - HistPed[1][4][0] = (TH1F *)hfile->Get("h_pedestal0_HF"); - HistPed[1][4][1] = (TH1F *)hfile->Get("h_pedestal1_HF"); - HistPed[1][4][2] = (TH1F *)hfile->Get("h_pedestal2_HF"); - HistPed[1][4][3] = (TH1F *)hfile->Get("h_pedestal3_HF"); - HistPed[2][4][0] = (TH1F *)hfile->Get("h_pedestalw0_HF"); - HistPed[2][4][1] = (TH1F *)hfile->Get("h_pedestalw1_HF"); - HistPed[2][4][2] = (TH1F *)hfile->Get("h_pedestalw2_HF"); - HistPed[2][4][3] = (TH1F *)hfile->Get("h_pedestalw3_HF"); + Map_Ampl[31][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestal_HB"); + Map_Ampl[31][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestal_HB"); + Map_Ampl[31][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestal_HB"); + Map_Ampl[31][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HB"); + Map_Ampl[31][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestal_HE"); + Map_Ampl[31][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestal_HE"); + Map_Ampl[31][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestal_HE"); + Map_Ampl[31][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HE"); + Map_Ampl[31][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5pedestal_HE"); + Map_Ampl[31][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6pedestal_HE"); + Map_Ampl[31][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7pedestal_HE"); + Map_Ampl[31][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HO"); + Map_Ampl[31][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestal_HF"); + Map_Ampl[31][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestal_HF"); + Map_Ampl[31][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestal_HF"); + Map_Ampl[31][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HF"); + + Map_Ampl[32][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestalw_HB"); + Map_Ampl[32][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestalw_HB"); + Map_Ampl[32][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestalw_HB"); + Map_Ampl[32][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HB"); + Map_Ampl[32][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestalw_HE"); + Map_Ampl[32][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestalw_HE"); + Map_Ampl[32][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestalw_HE"); + Map_Ampl[32][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HE"); + Map_Ampl[32][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5pedestalw_HE"); + Map_Ampl[32][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6pedestalw_HE"); + Map_Ampl[32][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7pedestalw_HE"); + Map_Ampl[32][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HO"); + Map_Ampl[32][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestalw_HF"); + Map_Ampl[32][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestalw_HF"); + Map_Ampl[32][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestalw_HF"); + Map_Ampl[32][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HF"); + + HistPed[1][1][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HB"); + HistPed[1][1][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HB"); + HistPed[1][1][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HB"); + HistPed[1][1][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HB"); + HistPed[2][1][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HB"); + HistPed[2][1][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HB"); + HistPed[2][1][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HB"); + HistPed[2][1][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HB"); + + HistPed[1][2][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HE"); + HistPed[1][2][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HE"); + HistPed[1][2][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HE"); + HistPed[1][2][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HE"); + HistPed[2][2][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HE"); + HistPed[2][2][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HE"); + HistPed[2][2][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HE"); + HistPed[2][2][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HE"); + + HistPed[1][3][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HO"); + HistPed[1][3][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HO"); + HistPed[1][3][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HO"); + HistPed[1][3][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HO"); + HistPed[2][3][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HO"); + HistPed[2][3][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HO"); + HistPed[2][3][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HO"); + HistPed[2][3][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HO"); + + HistPed[1][4][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HF"); + HistPed[1][4][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HF"); + HistPed[1][4][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HF"); + HistPed[1][4][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HF"); + HistPed[2][4][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HF"); + HistPed[2][4][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HF"); + HistPed[2][4][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HF"); + HistPed[2][4][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HF"); for (int test = 31; test <= 32; test++) { //Test: 31-Pedestals, 32-pedestal Widths, for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF @@ -2167,14 +2177,14 @@ int main(int argc, char *argv[]) { //++++++++++++++++++++++++++++++++++++ cPED->Clear(); - Map_Ped[1][1] = (TH2F *)hfile->Get("h2_pedvsampl_HB"); - Map_Ped[1][2] = (TH2F *)hfile->Get("h2_pedvsampl_HE"); - Map_Ped[1][3] = (TH2F *)hfile->Get("h2_pedvsampl_HO"); - Map_Ped[1][4] = (TH2F *)hfile->Get("h2_pedvsampl_HF"); - Map_Ped[2][1] = (TH2F *)hfile->Get("h2_pedwvsampl_HB"); - Map_Ped[2][2] = (TH2F *)hfile->Get("h2_pedwvsampl_HE"); - Map_Ped[2][3] = (TH2F *)hfile->Get("h2_pedwvsampl_HO"); - Map_Ped[2][4] = (TH2F *)hfile->Get("h2_pedwvsampl_HF"); + Map_Ped[1][1] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HB"); + Map_Ped[1][2] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HE"); + Map_Ped[1][3] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HO"); + Map_Ped[1][4] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HF"); + Map_Ped[2][1] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HB"); + Map_Ped[2][2] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HE"); + Map_Ped[2][3] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HO"); + Map_Ped[2][4] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF cPED->Divide(2, 1); for (int test = 1; test <= 2; test++) { @@ -2222,25 +2232,25 @@ int main(int argc, char *argv[]) { //++++++++++++++++++++++++++++++++++++ cONE->Clear(); - hist_GoodTSshape[1] = (TH1F *)hfile->Get("h_shape_good_channels_HB"); - hist_GoodTSshape[2] = (TH1F *)hfile->Get("h_shape_good_channels_HE"); - hist_GoodTSshape[3] = (TH1F *)hfile->Get("h_shape_good_channels_HO"); - hist_GoodTSshape[4] = (TH1F *)hfile->Get("h_shape_good_channels_HF"); - - hist_GoodTSshape0[1] = (TH1F *)hfile->Get("h_shape0_good_channels_HB"); - hist_GoodTSshape0[2] = (TH1F *)hfile->Get("h_shape0_good_channels_HE"); - hist_GoodTSshape0[3] = (TH1F *)hfile->Get("h_shape0_good_channels_HO"); - hist_GoodTSshape0[4] = (TH1F *)hfile->Get("h_shape0_good_channels_HF"); - - hist_BadTSshape[1] = (TH1F *)hfile->Get("h_shape_bad_channels_HB"); - hist_BadTSshape[2] = (TH1F *)hfile->Get("h_shape_bad_channels_HE"); - hist_BadTSshape[3] = (TH1F *)hfile->Get("h_shape_bad_channels_HO"); - hist_BadTSshape[4] = (TH1F *)hfile->Get("h_shape_bad_channels_HF"); - - hist_BadTSshape0[1] = (TH1F *)hfile->Get("h_shape0_bad_channels_HB"); - hist_BadTSshape0[2] = (TH1F *)hfile->Get("h_shape0_bad_channels_HE"); - hist_BadTSshape0[3] = (TH1F *)hfile->Get("h_shape0_bad_channels_HO"); - hist_BadTSshape0[4] = (TH1F *)hfile->Get("h_shape0_bad_channels_HF"); + hist_GoodTSshape[1] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HB"); + hist_GoodTSshape[2] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HE"); + hist_GoodTSshape[3] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HO"); + hist_GoodTSshape[4] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HF"); + + hist_GoodTSshape0[1] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HB"); + hist_GoodTSshape0[2] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HE"); + hist_GoodTSshape0[3] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HO"); + hist_GoodTSshape0[4] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HF"); + + hist_BadTSshape[1] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HB"); + hist_BadTSshape[2] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HE"); + hist_BadTSshape[3] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HO"); + hist_BadTSshape[4] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HF"); + + hist_BadTSshape0[1] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HB"); + hist_BadTSshape0[2] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HE"); + hist_BadTSshape0[3] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HO"); + hist_BadTSshape0[4] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HF"); cONE->cd(1); @@ -2313,25 +2323,25 @@ int main(int argc, char *argv[]) { //+++++++++++++++++++++++++++++ // Entries in different TSs: //+++++++++++++++++++++++++++++ - Map_SUBTS[1][1] = (TH2F *)hfile->Get("h_mapDepth1TS2_HB"); - Map_SUBTS[1][2] = (TH2F *)hfile->Get("h_mapDepth2TS2_HB"); - Map_SUBTS[1][3] = (TH2F *)hfile->Get("h_mapDepth3TS2_HB"); - Map_SUBTS[1][4] = (TH2F *)hfile->Get("h_mapDepth4TS2_HB"); - - Map_SUBTS[2][1] = (TH2F *)hfile->Get("h_mapDepth1TS2_HE"); - Map_SUBTS[2][2] = (TH2F *)hfile->Get("h_mapDepth2TS2_HE"); - Map_SUBTS[2][3] = (TH2F *)hfile->Get("h_mapDepth3TS2_HE"); - Map_SUBTS[2][4] = (TH2F *)hfile->Get("h_mapDepth4TS2_HE"); - Map_SUBTS[2][5] = (TH2F *)hfile->Get("h_mapDepth5TS2_HE"); - Map_SUBTS[2][6] = (TH2F *)hfile->Get("h_mapDepth6TS2_HE"); - Map_SUBTS[2][7] = (TH2F *)hfile->Get("h_mapDepth7TS2_HE"); - - Map_SUBTS[3][4] = (TH2F *)hfile->Get("h_mapDepth4TS012_HO"); - - Map_SUBTS[4][1] = (TH2F *)hfile->Get("h_mapDepth1TS1_HF"); - Map_SUBTS[4][2] = (TH2F *)hfile->Get("h_mapDepth2TS1_HF"); - Map_SUBTS[4][3] = (TH2F *)hfile->Get("h_mapDepth3TS1_HF"); - Map_SUBTS[4][4] = (TH2F *)hfile->Get("h_mapDepth4TS1_HF"); + Map_SUBTS[1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TS2_HB"); + Map_SUBTS[1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TS2_HB"); + Map_SUBTS[1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TS2_HB"); + Map_SUBTS[1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TS2_HB"); + + Map_SUBTS[2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TS2_HE"); + Map_SUBTS[2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TS2_HE"); + Map_SUBTS[2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TS2_HE"); + Map_SUBTS[2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TS2_HE"); + Map_SUBTS[2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5TS2_HE"); + Map_SUBTS[2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6TS2_HE"); + Map_SUBTS[2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7TS2_HE"); + + Map_SUBTS[3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TS012_HO"); + + Map_SUBTS[4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TS1_HF"); + Map_SUBTS[4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TS1_HF"); + Map_SUBTS[4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TS1_HF"); + Map_SUBTS[4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TS1_HF"); ////////////////////////////////////////////////////////////// for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO @@ -2424,20 +2434,20 @@ int main(int argc, char *argv[]) { std::cout<<" We are here to print ADC "<Get("h_ADC_HB"); - hist_ADC_All[2] = (TH1F*)hfile->Get("h_ADC_HE"); - hist_ADC_All[3] = (TH1F*)hfile->Get("h_ADC_HO"); - hist_ADC_All[4] = (TH1F*)hfile->Get("h_ADC_HF"); + hist_ADC_All[1] = (TH1F*)dir->FindObjectAny("h_ADC_HB"); + hist_ADC_All[2] = (TH1F*)dir->FindObjectAny("h_ADC_HE"); + hist_ADC_All[3] = (TH1F*)dir->FindObjectAny("h_ADC_HO"); + hist_ADC_All[4] = (TH1F*)dir->FindObjectAny("h_ADC_HF"); - hist_ADC_DS[1][1] = (TH1F*)hfile->Get("h_ADC_HBdepth1"); - hist_ADC_DS[1][2] = (TH1F*)hfile->Get("h_ADC_HBdepth2"); - hist_ADC_DS[2][1] = (TH1F*)hfile->Get("h_ADC_HEdepth1"); - hist_ADC_DS[2][2] = (TH1F*)hfile->Get("h_ADC_HEdepth2"); - hist_ADC_DS[2][3] = (TH1F*)hfile->Get("h_ADC_HEdepth3"); - hist_ADC_DS[3][4] = (TH1F*)hfile->Get("h_ADC_HOdepth4"); - hist_ADC_DS[4][1] = (TH1F*)hfile->Get("h_ADC_HFdepth1"); - hist_ADC_DS[4][2] = (TH1F*)hfile->Get("h_ADC_HFdepth2"); + hist_ADC_DS[1][1] = (TH1F*)dir->FindObjectAny("h_ADC_HBdepth1"); + hist_ADC_DS[1][2] = (TH1F*)dir->FindObjectAny("h_ADC_HBdepth2"); + hist_ADC_DS[2][1] = (TH1F*)dir->FindObjectAny("h_ADC_HEdepth1"); + hist_ADC_DS[2][2] = (TH1F*)dir->FindObjectAny("h_ADC_HEdepth2"); + hist_ADC_DS[2][3] = (TH1F*)dir->FindObjectAny("h_ADC_HEdepth3"); + hist_ADC_DS[3][4] = (TH1F*)dir->FindObjectAny("h_ADC_HOdepth4"); + hist_ADC_DS[4][1] = (TH1F*)dir->FindObjectAny("h_ADC_HFdepth1"); + hist_ADC_DS[4][2] = (TH1F*)dir->FindObjectAny("h_ADC_HFdepth2"); cONE->Clear(); @@ -2507,32 +2517,32 @@ std::cout<<" We are here to print ADC "<Get("h_sumamplitude_depth1_HB"); - hist_SumADC[1][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HB"); - hist_SumADC[2][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HE"); - hist_SumADC[2][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HE"); - hist_SumADC[2][3] = (TH1F*)hfile->Get("h_sumamplitude_depth3_HE"); - hist_SumADC[3][4] = (TH1F*)hfile->Get("h_sumamplitude_depth4_HO"); - hist_SumADC[4][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HF"); - hist_SumADC[4][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HF"); - - hist_SumADC0[1][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HB0"); - hist_SumADC0[1][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HB0"); - hist_SumADC0[2][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HE0"); - hist_SumADC0[2][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HE0"); - hist_SumADC0[2][3] = (TH1F*)hfile->Get("h_sumamplitude_depth3_HE0"); - hist_SumADC0[3][4] = (TH1F*)hfile->Get("h_sumamplitude_depth4_HO0"); - hist_SumADC0[4][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HF0"); - hist_SumADC0[4][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HF0"); - - hist_SumADC1[1][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HB1"); - hist_SumADC1[1][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HB1"); - hist_SumADC1[2][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HE1"); - hist_SumADC1[2][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HE1"); - hist_SumADC1[2][3] = (TH1F*)hfile->Get("h_sumamplitude_depth3_HE1"); - hist_SumADC1[3][4] = (TH1F*)hfile->Get("h_sumamplitude_depth4_HO1"); - hist_SumADC1[4][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HF1"); - hist_SumADC1[4][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HF1"); + hist_SumADC[1][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HB"); + hist_SumADC[1][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HB"); + hist_SumADC[2][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HE"); + hist_SumADC[2][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HE"); + hist_SumADC[2][3] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth3_HE"); + hist_SumADC[3][4] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth4_HO"); + hist_SumADC[4][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HF"); + hist_SumADC[4][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HF"); + + hist_SumADC0[1][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HB0"); + hist_SumADC0[1][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HB0"); + hist_SumADC0[2][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HE0"); + hist_SumADC0[2][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HE0"); + hist_SumADC0[2][3] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth3_HE0"); + hist_SumADC0[3][4] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth4_HO0"); + hist_SumADC0[4][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HF0"); + hist_SumADC0[4][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HF0"); + + hist_SumADC1[1][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HB1"); + hist_SumADC1[1][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HB1"); + hist_SumADC1[2][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HE1"); + hist_SumADC1[2][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HE1"); + hist_SumADC1[2][3] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth3_HE1"); + hist_SumADC1[3][4] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth4_HO1"); + hist_SumADC1[4][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HF1"); + hist_SumADC1[4][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HF1"); for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF if (sub==1) cHB->Divide(2,1); @@ -2690,20 +2700,20 @@ std::cout<<" We are here to print ADC "<Get("h_amplitudechannel1_HB1"); - TH2F *amplitudechannel0HB1 = (TH2F *)hfile->Get("h_amplitudechannel0_HB1"); + TH2F *amplitudechannel1HB1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HB1"); + TH2F *amplitudechannel0HB1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB1"); TH2F *amplitudechannelHB1 = (TH2F *)amplitudechannel1HB1->Clone("amplitudechannelHB1"); amplitudechannelHB1->Divide(amplitudechannel1HB1, amplitudechannel0HB1, 1, 1, "B"); - TH2F *amplitudechannel1HB2 = (TH2F *)hfile->Get("h_amplitudechannel1_HB2"); - TH2F *amplitudechannel0HB2 = (TH2F *)hfile->Get("h_amplitudechannel0_HB2"); + TH2F *amplitudechannel1HB2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HB2"); + TH2F *amplitudechannel0HB2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB2"); TH2F *amplitudechannelHB2 = (TH2F *)amplitudechannel1HB2->Clone("amplitudechannelHB2"); amplitudechannelHB2->Divide(amplitudechannel1HB2, amplitudechannel0HB2, 1, 1, "B"); - TH2F *amplitudechannel1HB3 = (TH2F *)hfile->Get("h_amplitudechannel1_HB3"); - TH2F *amplitudechannel0HB3 = (TH2F *)hfile->Get("h_amplitudechannel0_HB3"); + TH2F *amplitudechannel1HB3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HB3"); + TH2F *amplitudechannel0HB3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB3"); TH2F *amplitudechannelHB3 = (TH2F *)amplitudechannel1HB3->Clone("amplitudechannelHB3"); amplitudechannelHB3->Divide(amplitudechannel1HB3, amplitudechannel0HB3, 1, 1, "B"); - TH2F *amplitudechannel1HB4 = (TH2F *)hfile->Get("h_amplitudechannel1_HB4"); - TH2F *amplitudechannel0HB4 = (TH2F *)hfile->Get("h_amplitudechannel0_HB4"); + TH2F *amplitudechannel1HB4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HB4"); + TH2F *amplitudechannel0HB4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB4"); TH2F *amplitudechannelHB4 = (TH2F *)amplitudechannel1HB4->Clone("amplitudechannelHB4"); amplitudechannelHB4->Divide(amplitudechannel1HB4, amplitudechannel0HB4, 1, 1, "B"); for (int jeta = 0; jeta < njeta; jeta++) { @@ -3541,20 +3551,20 @@ std::cout<<" We are here to print ADC "<Get("h_amplitudechannel2_HB1"); - TH2F *digiVariance0HB1 = (TH2F *)hfile->Get("h_amplitudechannel0_HB1"); + TH2F *digiVariance1HB1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HB1"); + TH2F *digiVariance0HB1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB1"); TH2F *digiVarianceHB1 = (TH2F *)digiVariance1HB1->Clone("digiVarianceHB1"); digiVarianceHB1->Divide(digiVariance1HB1, digiVariance0HB1, 1, 1, "B"); - TH2F *digiVariance1HB2 = (TH2F *)hfile->Get("h_amplitudechannel2_HB2"); - TH2F *digiVariance0HB2 = (TH2F *)hfile->Get("h_amplitudechannel0_HB2"); + TH2F *digiVariance1HB2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HB2"); + TH2F *digiVariance0HB2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB2"); TH2F *digiVarianceHB2 = (TH2F *)digiVariance1HB2->Clone("digiVarianceHB2"); digiVarianceHB2->Divide(digiVariance1HB2, digiVariance0HB2, 1, 1, "B"); - TH2F *digiVariance1HB3 = (TH2F *)hfile->Get("h_amplitudechannel2_HB3"); - TH2F *digiVariance0HB3 = (TH2F *)hfile->Get("h_amplitudechannel0_HB3"); + TH2F *digiVariance1HB3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HB3"); + TH2F *digiVariance0HB3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB3"); TH2F *digiVarianceHB3 = (TH2F *)digiVariance1HB3->Clone("digiVarianceHB3"); digiVarianceHB3->Divide(digiVariance1HB3, digiVariance0HB3, 1, 1, "B"); - TH2F *digiVariance1HB4 = (TH2F *)hfile->Get("h_amplitudechannel2_HB4"); - TH2F *digiVariance0HB4 = (TH2F *)hfile->Get("h_amplitudechannel0_HB4"); + TH2F *digiVariance1HB4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HB4"); + TH2F *digiVariance0HB4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HB4"); TH2F *digiVarianceHB4 = (TH2F *)digiVariance1HB4->Clone("digiVarianceHB4"); digiVarianceHB4->Divide(digiVariance1HB4, digiVariance0HB4, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_amplitudechannel1_HE1"); - TH2F *amplitudechannel0HE1 = (TH2F *)hfile->Get("h_amplitudechannel0_HE1"); + TH2F *amplitudechannel1HE1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HE1"); + TH2F *amplitudechannel0HE1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE1"); TH2F *amplitudechannelHE1 = (TH2F *)amplitudechannel1HE1->Clone("amplitudechannelHE1"); amplitudechannelHE1->Divide(amplitudechannel1HE1, amplitudechannel0HE1, 1, 1, "B"); - TH2F *amplitudechannel1HE2 = (TH2F *)hfile->Get("h_amplitudechannel1_HE2"); - TH2F *amplitudechannel0HE2 = (TH2F *)hfile->Get("h_amplitudechannel0_HE2"); + TH2F *amplitudechannel1HE2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HE2"); + TH2F *amplitudechannel0HE2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE2"); TH2F *amplitudechannelHE2 = (TH2F *)amplitudechannel1HE2->Clone("amplitudechannelHE2"); amplitudechannelHE2->Divide(amplitudechannel1HE2, amplitudechannel0HE2, 1, 1, "B"); - TH2F *amplitudechannel1HE3 = (TH2F *)hfile->Get("h_amplitudechannel1_HE3"); - TH2F *amplitudechannel0HE3 = (TH2F *)hfile->Get("h_amplitudechannel0_HE3"); + TH2F *amplitudechannel1HE3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HE3"); + TH2F *amplitudechannel0HE3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE3"); TH2F *amplitudechannelHE3 = (TH2F *)amplitudechannel1HE3->Clone("amplitudechannelHE3"); amplitudechannelHE3->Divide(amplitudechannel1HE3, amplitudechannel0HE3, 1, 1, "B"); - TH2F *amplitudechannel1HE4 = (TH2F *)hfile->Get("h_amplitudechannel1_HE4"); - TH2F *amplitudechannel0HE4 = (TH2F *)hfile->Get("h_amplitudechannel0_HE4"); + TH2F *amplitudechannel1HE4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HE4"); + TH2F *amplitudechannel0HE4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE4"); TH2F *amplitudechannelHE4 = (TH2F *)amplitudechannel1HE4->Clone("amplitudechannelHE4"); amplitudechannelHE4->Divide(amplitudechannel1HE4, amplitudechannel0HE4, 1, 1, "B"); - TH2F *amplitudechannel1HE5 = (TH2F *)hfile->Get("h_amplitudechannel1_HE5"); - TH2F *amplitudechannel0HE5 = (TH2F *)hfile->Get("h_amplitudechannel0_HE5"); + TH2F *amplitudechannel1HE5 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HE5"); + TH2F *amplitudechannel0HE5 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE5"); TH2F *amplitudechannelHE5 = (TH2F *)amplitudechannel1HE5->Clone("amplitudechannelHE5"); amplitudechannelHE5->Divide(amplitudechannel1HE5, amplitudechannel0HE5, 1, 1, "B"); - TH2F *amplitudechannel1HE6 = (TH2F *)hfile->Get("h_amplitudechannel1_HE6"); - TH2F *amplitudechannel0HE6 = (TH2F *)hfile->Get("h_amplitudechannel0_HE6"); + TH2F *amplitudechannel1HE6 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HE6"); + TH2F *amplitudechannel0HE6 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE6"); TH2F *amplitudechannelHE6 = (TH2F *)amplitudechannel1HE6->Clone("amplitudechannelHE6"); amplitudechannelHE6->Divide(amplitudechannel1HE6, amplitudechannel0HE6, 1, 1, "B"); - TH2F *amplitudechannel1HE7 = (TH2F *)hfile->Get("h_amplitudechannel1_HE7"); - TH2F *amplitudechannel0HE7 = (TH2F *)hfile->Get("h_amplitudechannel0_HE7"); + TH2F *amplitudechannel1HE7 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HE7"); + TH2F *amplitudechannel0HE7 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE7"); TH2F *amplitudechannelHE7 = (TH2F *)amplitudechannel1HE7->Clone("amplitudechannelHE7"); amplitudechannelHE7->Divide(amplitudechannel1HE7, amplitudechannel0HE7, 1, 1, "B"); for (int jeta = 0; jeta < njeta; jeta++) { @@ -5686,32 +5696,32 @@ std::cout<<" We are here to print ADC "<Get("h_amplitudechannel2_HE1"); - TH2F *digiVariance0HE1 = (TH2F *)hfile->Get("h_amplitudechannel0_HE1"); + TH2F *digiVariance1HE1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HE1"); + TH2F *digiVariance0HE1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE1"); TH2F *digiVarianceHE1 = (TH2F *)digiVariance1HE1->Clone("digiVarianceHE1"); digiVarianceHE1->Divide(digiVariance1HE1, digiVariance0HE1, 1, 1, "B"); - TH2F *digiVariance1HE2 = (TH2F *)hfile->Get("h_amplitudechannel2_HE2"); - TH2F *digiVariance0HE2 = (TH2F *)hfile->Get("h_amplitudechannel0_HE2"); + TH2F *digiVariance1HE2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HE2"); + TH2F *digiVariance0HE2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE2"); TH2F *digiVarianceHE2 = (TH2F *)digiVariance1HE2->Clone("digiVarianceHE2"); digiVarianceHE2->Divide(digiVariance1HE2, digiVariance0HE2, 1, 1, "B"); - TH2F *digiVariance1HE3 = (TH2F *)hfile->Get("h_amplitudechannel2_HE3"); - TH2F *digiVariance0HE3 = (TH2F *)hfile->Get("h_amplitudechannel0_HE3"); + TH2F *digiVariance1HE3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HE3"); + TH2F *digiVariance0HE3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE3"); TH2F *digiVarianceHE3 = (TH2F *)digiVariance1HE3->Clone("digiVarianceHE3"); digiVarianceHE3->Divide(digiVariance1HE3, digiVariance0HE3, 1, 1, "B"); - TH2F *digiVariance1HE4 = (TH2F *)hfile->Get("h_amplitudechannel2_HE4"); - TH2F *digiVariance0HE4 = (TH2F *)hfile->Get("h_amplitudechannel0_HE4"); + TH2F *digiVariance1HE4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HE4"); + TH2F *digiVariance0HE4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE4"); TH2F *digiVarianceHE4 = (TH2F *)digiVariance1HE4->Clone("digiVarianceHE4"); digiVarianceHE4->Divide(digiVariance1HE4, digiVariance0HE4, 1, 1, "B"); - TH2F *digiVariance1HE5 = (TH2F *)hfile->Get("h_amplitudechannel2_HE5"); - TH2F *digiVariance0HE5 = (TH2F *)hfile->Get("h_amplitudechannel0_HE5"); + TH2F *digiVariance1HE5 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HE5"); + TH2F *digiVariance0HE5 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE5"); TH2F *digiVarianceHE5 = (TH2F *)digiVariance1HE5->Clone("digiVarianceHE5"); digiVarianceHE5->Divide(digiVariance1HE5, digiVariance0HE5, 1, 1, "B"); - TH2F *digiVariance1HE6 = (TH2F *)hfile->Get("h_amplitudechannel2_HE6"); - TH2F *digiVariance0HE6 = (TH2F *)hfile->Get("h_amplitudechannel0_HE6"); + TH2F *digiVariance1HE6 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HE6"); + TH2F *digiVariance0HE6 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE6"); TH2F *digiVarianceHE6 = (TH2F *)digiVariance1HE6->Clone("digiVarianceHE6"); digiVarianceHE6->Divide(digiVariance1HE6, digiVariance0HE6, 1, 1, "B"); - TH2F *digiVariance1HE7 = (TH2F *)hfile->Get("h_amplitudechannel2_HE7"); - TH2F *digiVariance0HE7 = (TH2F *)hfile->Get("h_amplitudechannel0_HE7"); + TH2F *digiVariance1HE7 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HE7"); + TH2F *digiVariance0HE7 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HE7"); TH2F *digiVarianceHE7 = (TH2F *)digiVariance1HE7->Clone("digiVarianceHE7"); digiVarianceHE7->Divide(digiVariance1HE7, digiVariance0HE7, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_amplitudechannel1_HF1"); - TH2F *amplitudechannel0HF1 = (TH2F *)hfile->Get("h_amplitudechannel0_HF1"); + TH2F *amplitudechannel1HF1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HF1"); + TH2F *amplitudechannel0HF1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF1"); TH2F *amplitudechannelHF1 = (TH2F *)amplitudechannel1HF1->Clone("amplitudechannelHF1"); amplitudechannelHF1->Divide(amplitudechannel1HF1, amplitudechannel0HF1, 1, 1, "B"); - TH2F *amplitudechannel1HF2 = (TH2F *)hfile->Get("h_amplitudechannel1_HF2"); - TH2F *amplitudechannel0HF2 = (TH2F *)hfile->Get("h_amplitudechannel0_HF2"); + TH2F *amplitudechannel1HF2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HF2"); + TH2F *amplitudechannel0HF2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF2"); TH2F *amplitudechannelHF2 = (TH2F *)amplitudechannel1HF2->Clone("amplitudechannelHF2"); amplitudechannelHF2->Divide(amplitudechannel1HF2, amplitudechannel0HF2, 1, 1, "B"); - TH2F *amplitudechannel1HF3 = (TH2F *)hfile->Get("h_amplitudechannel1_HF3"); - TH2F *amplitudechannel0HF3 = (TH2F *)hfile->Get("h_amplitudechannel0_HF3"); + TH2F *amplitudechannel1HF3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HF3"); + TH2F *amplitudechannel0HF3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF3"); TH2F *amplitudechannelHF3 = (TH2F *)amplitudechannel1HF3->Clone("amplitudechannelHF3"); amplitudechannelHF3->Divide(amplitudechannel1HF3, amplitudechannel0HF3, 1, 1, "B"); - TH2F *amplitudechannel1HF4 = (TH2F *)hfile->Get("h_amplitudechannel1_HF4"); - TH2F *amplitudechannel0HF4 = (TH2F *)hfile->Get("h_amplitudechannel0_HF4"); + TH2F *amplitudechannel1HF4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel1_HF4"); + TH2F *amplitudechannel0HF4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF4"); TH2F *amplitudechannelHF4 = (TH2F *)amplitudechannel1HF4->Clone("amplitudechannelHF4"); amplitudechannelHF4->Divide(amplitudechannel1HF4, amplitudechannel0HF4, 1, 1, "B"); for (int jeta = 0; jeta < njeta; jeta++) { @@ -7775,20 +7785,20 @@ std::cout<<" We are here to print ADC "<Get("h_amplitudechannel2_HF1"); - TH2F *digiVariance0HF1 = (TH2F *)hfile->Get("h_amplitudechannel0_HF1"); + TH2F *digiVariance1HF1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HF1"); + TH2F *digiVariance0HF1 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF1"); TH2F *digiVarianceHF1 = (TH2F *)digiVariance1HF1->Clone("digiVarianceHF1"); digiVarianceHF1->Divide(digiVariance1HF1, digiVariance0HF1, 1, 1, "B"); - TH2F *digiVariance1HF2 = (TH2F *)hfile->Get("h_amplitudechannel2_HF2"); - TH2F *digiVariance0HF2 = (TH2F *)hfile->Get("h_amplitudechannel0_HF2"); + TH2F *digiVariance1HF2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HF2"); + TH2F *digiVariance0HF2 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF2"); TH2F *digiVarianceHF2 = (TH2F *)digiVariance1HF2->Clone("digiVarianceHF2"); digiVarianceHF2->Divide(digiVariance1HF2, digiVariance0HF2, 1, 1, "B"); - TH2F *digiVariance1HF3 = (TH2F *)hfile->Get("h_amplitudechannel2_HF3"); - TH2F *digiVariance0HF3 = (TH2F *)hfile->Get("h_amplitudechannel0_HF3"); + TH2F *digiVariance1HF3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HF3"); + TH2F *digiVariance0HF3 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF3"); TH2F *digiVarianceHF3 = (TH2F *)digiVariance1HF3->Clone("digiVarianceHF3"); digiVarianceHF3->Divide(digiVariance1HF3, digiVariance0HF3, 1, 1, "B"); - TH2F *digiVariance1HF4 = (TH2F *)hfile->Get("h_amplitudechannel2_HF4"); - TH2F *digiVariance0HF4 = (TH2F *)hfile->Get("h_amplitudechannel0_HF4"); + TH2F *digiVariance1HF4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel2_HF4"); + TH2F *digiVariance0HF4 = (TH2F *)dir->FindObjectAny("h_amplitudechannel0_HF4"); TH2F *digiVarianceHF4 = (TH2F *)digiVariance1HF4->Clone("digiVarianceHF4"); digiVarianceHF4->Divide(digiVariance1HF4, digiVariance0HF4, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_recSignalEnergy1_HB1"); - TH2F *recSignalEnergy0HB1 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB1"); + TH2F *recSignalEnergy1HB1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HB1"); + TH2F *recSignalEnergy0HB1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB1"); TH2F *recSignalEnergyHB1 = (TH2F *)recSignalEnergy1HB1->Clone("recSignalEnergyHB1"); recSignalEnergyHB1->Divide(recSignalEnergy1HB1, recSignalEnergy0HB1, 1, 1, "B"); - TH2F *recSignalEnergy1HB2 = (TH2F *)hfile->Get("h_recSignalEnergy1_HB2"); - TH2F *recSignalEnergy0HB2 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB2"); + TH2F *recSignalEnergy1HB2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HB2"); + TH2F *recSignalEnergy0HB2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB2"); TH2F *recSignalEnergyHB2 = (TH2F *)recSignalEnergy1HB2->Clone("recSignalEnergyHB2"); recSignalEnergyHB2->Divide(recSignalEnergy1HB2, recSignalEnergy0HB2, 1, 1, "B"); - TH2F *recSignalEnergy1HB3 = (TH2F *)hfile->Get("h_recSignalEnergy1_HB3"); - TH2F *recSignalEnergy0HB3 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB3"); + TH2F *recSignalEnergy1HB3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HB3"); + TH2F *recSignalEnergy0HB3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB3"); TH2F *recSignalEnergyHB3 = (TH2F *)recSignalEnergy1HB3->Clone("recSignalEnergyHB3"); recSignalEnergyHB3->Divide(recSignalEnergy1HB3, recSignalEnergy0HB3, 1, 1, "B"); - TH2F *recSignalEnergy1HB4 = (TH2F *)hfile->Get("h_recSignalEnergy1_HB4"); - TH2F *recSignalEnergy0HB4 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB4"); + TH2F *recSignalEnergy1HB4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HB4"); + TH2F *recSignalEnergy0HB4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB4"); TH2F *recSignalEnergyHB4 = (TH2F *)recSignalEnergy1HB4->Clone("recSignalEnergyHB4"); recSignalEnergyHB4->Divide(recSignalEnergy1HB4, recSignalEnergy0HB4, 1, 1, "B"); for (int jeta = 0; jeta < njeta; jeta++) { @@ -8719,7 +8729,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitSignal_HB = (TH1F *)hfile->Get("h_energyhitSignal_HB"); + TH1F *energyhitSignal_HB = (TH1F *)dir->FindObjectAny("h_energyhitSignal_HB"); energyhitSignal_HB->SetMarkerStyle(20); energyhitSignal_HB->SetMarkerSize(0.4); energyhitSignal_HB->GetYaxis()->SetLabelSize(0.04); @@ -9484,20 +9494,20 @@ std::cout<<" We are here to print ADC "<Get("h_recSignalEnergy2_HB1"); - TH2F *recosignalVariance0HB1 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB1"); + TH2F *recosignalVariance1HB1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HB1"); + TH2F *recosignalVariance0HB1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB1"); TH2F *recosignalVarianceHB1 = (TH2F *)recosignalVariance1HB1->Clone("recosignalVarianceHB1"); recosignalVarianceHB1->Divide(recosignalVariance1HB1, recosignalVariance0HB1, 1, 1, "B"); - TH2F *recosignalVariance1HB2 = (TH2F *)hfile->Get("h_recSignalEnergy2_HB2"); - TH2F *recosignalVariance0HB2 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB2"); + TH2F *recosignalVariance1HB2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HB2"); + TH2F *recosignalVariance0HB2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB2"); TH2F *recosignalVarianceHB2 = (TH2F *)recosignalVariance1HB2->Clone("recosignalVarianceHB2"); recosignalVarianceHB2->Divide(recosignalVariance1HB2, recosignalVariance0HB2, 1, 1, "B"); - TH2F *recosignalVariance1HB3 = (TH2F *)hfile->Get("h_recSignalEnergy2_HB3"); - TH2F *recosignalVariance0HB3 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB3"); + TH2F *recosignalVariance1HB3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HB3"); + TH2F *recosignalVariance0HB3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB3"); TH2F *recosignalVarianceHB3 = (TH2F *)recosignalVariance1HB3->Clone("recosignalVarianceHB3"); recosignalVarianceHB3->Divide(recosignalVariance1HB3, recosignalVariance0HB3, 1, 1, "B"); - TH2F *recosignalVariance1HB4 = (TH2F *)hfile->Get("h_recSignalEnergy2_HB4"); - TH2F *recosignalVariance0HB4 = (TH2F *)hfile->Get("h_recSignalEnergy0_HB4"); + TH2F *recosignalVariance1HB4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HB4"); + TH2F *recosignalVariance0HB4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HB4"); TH2F *recosignalVarianceHB4 = (TH2F *)recosignalVariance1HB4->Clone("recosignalVarianceHB4"); recosignalVarianceHB4->Divide(recosignalVariance1HB4, recosignalVariance0HB4, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_recSignalEnergy1_HE1"); - TH2F *recSignalEnergy0HE1 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE1"); + TH2F *recSignalEnergy1HE1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE1"); + TH2F *recSignalEnergy0HE1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE1"); TH2F *recSignalEnergyHE1 = (TH2F *)recSignalEnergy1HE1->Clone("recSignalEnergyHE1"); recSignalEnergyHE1->Divide(recSignalEnergy1HE1, recSignalEnergy0HE1, 1, 1, "B"); - TH2F *recSignalEnergy1HE2 = (TH2F *)hfile->Get("h_recSignalEnergy1_HE2"); - TH2F *recSignalEnergy0HE2 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE2"); + TH2F *recSignalEnergy1HE2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE2"); + TH2F *recSignalEnergy0HE2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE2"); TH2F *recSignalEnergyHE2 = (TH2F *)recSignalEnergy1HE2->Clone("recSignalEnergyHE2"); recSignalEnergyHE2->Divide(recSignalEnergy1HE2, recSignalEnergy0HE2, 1, 1, "B"); - TH2F *recSignalEnergy1HE3 = (TH2F *)hfile->Get("h_recSignalEnergy1_HE3"); - TH2F *recSignalEnergy0HE3 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE3"); + TH2F *recSignalEnergy1HE3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE3"); + TH2F *recSignalEnergy0HE3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE3"); TH2F *recSignalEnergyHE3 = (TH2F *)recSignalEnergy1HE3->Clone("recSignalEnergyHE3"); recSignalEnergyHE3->Divide(recSignalEnergy1HE3, recSignalEnergy0HE3, 1, 1, "B"); - TH2F *recSignalEnergy1HE4 = (TH2F *)hfile->Get("h_recSignalEnergy1_HE4"); - TH2F *recSignalEnergy0HE4 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE4"); + TH2F *recSignalEnergy1HE4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE4"); + TH2F *recSignalEnergy0HE4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE4"); TH2F *recSignalEnergyHE4 = (TH2F *)recSignalEnergy1HE4->Clone("recSignalEnergyHE4"); recSignalEnergyHE4->Divide(recSignalEnergy1HE4, recSignalEnergy0HE4, 1, 1, "B"); - TH2F *recSignalEnergy1HE5 = (TH2F *)hfile->Get("h_recSignalEnergy1_HE5"); - TH2F *recSignalEnergy0HE5 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE5"); + TH2F *recSignalEnergy1HE5 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE5"); + TH2F *recSignalEnergy0HE5 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE5"); TH2F *recSignalEnergyHE5 = (TH2F *)recSignalEnergy1HE5->Clone("recSignalEnergyHE5"); recSignalEnergyHE5->Divide(recSignalEnergy1HE5, recSignalEnergy0HE5, 1, 1, "B"); - TH2F *recSignalEnergy1HE6 = (TH2F *)hfile->Get("h_recSignalEnergy1_HE6"); - TH2F *recSignalEnergy0HE6 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE6"); + TH2F *recSignalEnergy1HE6 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE6"); + TH2F *recSignalEnergy0HE6 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE6"); TH2F *recSignalEnergyHE6 = (TH2F *)recSignalEnergy1HE6->Clone("recSignalEnergyHE6"); recSignalEnergyHE6->Divide(recSignalEnergy1HE6, recSignalEnergy0HE6, 1, 1, "B"); - TH2F *recSignalEnergy1HE7 = (TH2F *)hfile->Get("h_recSignalEnergy1_HE7"); - TH2F *recSignalEnergy0HE7 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE7"); + TH2F *recSignalEnergy1HE7 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE7"); + TH2F *recSignalEnergy0HE7 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE7"); TH2F *recSignalEnergyHE7 = (TH2F *)recSignalEnergy1HE7->Clone("recSignalEnergyHE7"); recSignalEnergyHE7->Divide(recSignalEnergy1HE7, recSignalEnergy0HE7, 1, 1, "B"); for (int jeta = 0; jeta < njeta; jeta++) { @@ -10499,7 +10509,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitSignal_HE = (TH1F *)hfile->Get("h_energyhitSignal_HE"); + TH1F *energyhitSignal_HE = (TH1F *)dir->FindObjectAny("h_energyhitSignal_HE"); energyhitSignal_HE->SetMarkerStyle(20); energyhitSignal_HE->SetMarkerSize(0.4); energyhitSignal_HE->GetYaxis()->SetLabelSize(0.04); @@ -11638,32 +11648,32 @@ std::cout<<" We are here to print ADC "<Get("h_recSignalEnergy2_HE1"); - TH2F *recosignalVariance0HE1 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE1"); + TH2F *recosignalVariance1HE1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HE1"); + TH2F *recosignalVariance0HE1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE1"); TH2F *recosignalVarianceHE1 = (TH2F *)recosignalVariance1HE1->Clone("recosignalVarianceHE1"); recosignalVarianceHE1->Divide(recosignalVariance1HE1, recosignalVariance0HE1, 1, 1, "B"); - TH2F *recosignalVariance1HE2 = (TH2F *)hfile->Get("h_recSignalEnergy2_HE2"); - TH2F *recosignalVariance0HE2 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE2"); + TH2F *recosignalVariance1HE2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HE2"); + TH2F *recosignalVariance0HE2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE2"); TH2F *recosignalVarianceHE2 = (TH2F *)recosignalVariance1HE2->Clone("recosignalVarianceHE2"); recosignalVarianceHE2->Divide(recosignalVariance1HE2, recosignalVariance0HE2, 1, 1, "B"); - TH2F *recosignalVariance1HE3 = (TH2F *)hfile->Get("h_recSignalEnergy2_HE3"); - TH2F *recosignalVariance0HE3 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE3"); + TH2F *recosignalVariance1HE3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HE3"); + TH2F *recosignalVariance0HE3 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE3"); TH2F *recosignalVarianceHE3 = (TH2F *)recosignalVariance1HE3->Clone("recosignalVarianceHE3"); recosignalVarianceHE3->Divide(recosignalVariance1HE3, recosignalVariance0HE3, 1, 1, "B"); - TH2F *recosignalVariance1HE4 = (TH2F *)hfile->Get("h_recSignalEnergy2_HE4"); - TH2F *recosignalVariance0HE4 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE4"); + TH2F *recosignalVariance1HE4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HE4"); + TH2F *recosignalVariance0HE4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE4"); TH2F *recosignalVarianceHE4 = (TH2F *)recosignalVariance1HE4->Clone("recosignalVarianceHE4"); recosignalVarianceHE4->Divide(recosignalVariance1HE4, recosignalVariance0HE4, 1, 1, "B"); - TH2F *recosignalVariance1HE5 = (TH2F *)hfile->Get("h_recSignalEnergy2_HE5"); - TH2F *recosignalVariance0HE5 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE5"); + TH2F *recosignalVariance1HE5 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HE5"); + TH2F *recosignalVariance0HE5 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE5"); TH2F *recosignalVarianceHE5 = (TH2F *)recosignalVariance1HE5->Clone("recosignalVarianceHE5"); recosignalVarianceHE5->Divide(recosignalVariance1HE5, recosignalVariance0HE5, 1, 1, "B"); - TH2F *recosignalVariance1HE6 = (TH2F *)hfile->Get("h_recSignalEnergy2_HE6"); - TH2F *recosignalVariance0HE6 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE6"); + TH2F *recosignalVariance1HE6 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HE6"); + TH2F *recosignalVariance0HE6 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE6"); TH2F *recosignalVarianceHE6 = (TH2F *)recosignalVariance1HE6->Clone("recosignalVarianceHE6"); recosignalVarianceHE6->Divide(recosignalVariance1HE6, recosignalVariance0HE6, 1, 1, "B"); - TH2F *recosignalVariance1HE7 = (TH2F *)hfile->Get("h_recSignalEnergy2_HE7"); - TH2F *recosignalVariance0HE7 = (TH2F *)hfile->Get("h_recSignalEnergy0_HE7"); + TH2F *recosignalVariance1HE7 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HE7"); + TH2F *recosignalVariance0HE7 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HE7"); TH2F *recosignalVarianceHE7 = (TH2F *)recosignalVariance1HE7->Clone("recosignalVarianceHE7"); recosignalVarianceHE7->Divide(recosignalVariance1HE7, recosignalVariance0HE7, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_recSignalEnergy1_HF1"); - TH2F *recSignalEnergy0HF1 = (TH2F *)hfile->Get("h_recSignalEnergy0_HF1"); + TH2F *recSignalEnergy1HF1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HF1"); + TH2F *recSignalEnergy0HF1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HF1"); TH2F *recSignalEnergyHF1 = (TH2F *)recSignalEnergy1HF1->Clone("recSignalEnergyHF1"); recSignalEnergyHF1->Divide(recSignalEnergy1HF1, recSignalEnergy0HF1, 1, 1, "B"); - TH2F *recSignalEnergy1HF2 = (TH2F *)hfile->Get("h_recSignalEnergy1_HF2"); - TH2F *recSignalEnergy0HF2 = (TH2F *)hfile->Get("h_recSignalEnergy0_HF2"); + TH2F *recSignalEnergy1HF2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HF2"); + TH2F *recSignalEnergy0HF2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HF2"); TH2F *recSignalEnergyHF2 = (TH2F *)recSignalEnergy1HF2->Clone("recSignalEnergyHF2"); recSignalEnergyHF2->Divide(recSignalEnergy1HF2, recSignalEnergy0HF2, 1, 1, "B"); // cout<<"222RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitSignal_HF = (TH1F *)hfile->Get("h_energyhitSignal_HF"); + TH1F *energyhitSignal_HF = (TH1F *)dir->FindObjectAny("h_energyhitSignal_HF"); energyhitSignal_HF->SetMarkerStyle(20); energyhitSignal_HF->SetMarkerSize(0.4); energyhitSignal_HF->GetYaxis()->SetLabelSize(0.04); @@ -13391,12 +13401,12 @@ std::cout<<" We are here to print ADC "<Get("h_recSignalEnergy2_HF1"); - TH2F *recosignalVariance0HF1 = (TH2F *)hfile->Get("h_recSignalEnergy0_HF1"); + TH2F *recosignalVariance1HF1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HF1"); + TH2F *recosignalVariance0HF1 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HF1"); TH2F *recosignalVarianceHF1 = (TH2F *)recosignalVariance1HF1->Clone("recosignalVarianceHF1"); recosignalVarianceHF1->Divide(recosignalVariance1HF1, recosignalVariance0HF1, 1, 1, "B"); - TH2F *recosignalVariance1HF2 = (TH2F *)hfile->Get("h_recSignalEnergy2_HF2"); - TH2F *recosignalVariance0HF2 = (TH2F *)hfile->Get("h_recSignalEnergy0_HF2"); + TH2F *recosignalVariance1HF2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy2_HF2"); + TH2F *recosignalVariance0HF2 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy0_HF2"); TH2F *recosignalVarianceHF2 = (TH2F *)recosignalVariance1HF2->Clone("recosignalVarianceHF2"); recosignalVarianceHF2->Divide(recosignalVariance1HF2, recosignalVariance0HF2, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_recNoiseEnergy1_HB1"); - TH2F *recNoiseEnergy0HB1 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB1"); + TH2F *recNoiseEnergy1HB1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HB1"); + TH2F *recNoiseEnergy0HB1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); TH2F *recNoiseEnergyHB1 = (TH2F *)recNoiseEnergy1HB1->Clone("recNoiseEnergyHB1"); recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1, recNoiseEnergy0HB1, 1, 1, "B"); - TH2F *recNoiseEnergy1HB2 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HB2"); - TH2F *recNoiseEnergy0HB2 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB2"); + TH2F *recNoiseEnergy1HB2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HB2"); + TH2F *recNoiseEnergy0HB2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); TH2F *recNoiseEnergyHB2 = (TH2F *)recNoiseEnergy1HB2->Clone("recNoiseEnergyHB2"); recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2, recNoiseEnergy0HB2, 1, 1, "B"); - TH2F *recNoiseEnergy1HB3 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HB3"); - TH2F *recNoiseEnergy0HB3 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB3"); + TH2F *recNoiseEnergy1HB3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HB3"); + TH2F *recNoiseEnergy0HB3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); TH2F *recNoiseEnergyHB3 = (TH2F *)recNoiseEnergy1HB3->Clone("recNoiseEnergyHB3"); recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3, recNoiseEnergy0HB3, 1, 1, "B"); - TH2F *recNoiseEnergy1HB4 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HB4"); - TH2F *recNoiseEnergy0HB4 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB4"); + TH2F *recNoiseEnergy1HB4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HB4"); + TH2F *recNoiseEnergy0HB4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); TH2F *recNoiseEnergyHB4 = (TH2F *)recNoiseEnergy1HB4->Clone("recNoiseEnergyHB4"); recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4, recNoiseEnergy0HB4, 1, 1, "B"); for (int jeta = 0; jeta < njeta; jeta++) { @@ -13992,7 +14002,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitNoise_HB = (TH1F *)hfile->Get("h_energyhitNoise_HB"); + TH1F *energyhitNoise_HB = (TH1F *)dir->FindObjectAny("h_energyhitNoise_HB"); energyhitNoise_HB->SetMarkerStyle(20); energyhitNoise_HB->SetMarkerSize(0.4); energyhitNoise_HB->GetYaxis()->SetLabelSize(0.04); @@ -14787,7 +14797,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); // c2x1->cd(2); - // TH1F *energyhitNoise_HB= (TH1F*)hfile->Get("h_energyhitNoise_HB"); + // TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); // energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); ///////////////// @@ -15546,20 +15556,20 @@ std::cout<<" We are here to print ADC "<Get("h_recNoiseEnergy2_HB1"); - TH2F *reconoiseVariance0HB1 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB1"); + TH2F *reconoiseVariance1HB1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HB1"); + TH2F *reconoiseVariance0HB1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); TH2F *reconoiseVarianceHB1 = (TH2F *)reconoiseVariance1HB1->Clone("reconoiseVarianceHB1"); reconoiseVarianceHB1->Divide(reconoiseVariance1HB1, reconoiseVariance0HB1, 1, 1, "B"); - TH2F *reconoiseVariance1HB2 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HB2"); - TH2F *reconoiseVariance0HB2 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB2"); + TH2F *reconoiseVariance1HB2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HB2"); + TH2F *reconoiseVariance0HB2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); TH2F *reconoiseVarianceHB2 = (TH2F *)reconoiseVariance1HB2->Clone("reconoiseVarianceHB2"); reconoiseVarianceHB2->Divide(reconoiseVariance1HB2, reconoiseVariance0HB2, 1, 1, "B"); - TH2F *reconoiseVariance1HB3 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HB3"); - TH2F *reconoiseVariance0HB3 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB3"); + TH2F *reconoiseVariance1HB3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HB3"); + TH2F *reconoiseVariance0HB3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); TH2F *reconoiseVarianceHB3 = (TH2F *)reconoiseVariance1HB3->Clone("reconoiseVarianceHB3"); reconoiseVarianceHB3->Divide(reconoiseVariance1HB3, reconoiseVariance0HB3, 1, 1, "B"); - TH2F *reconoiseVariance1HB4 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HB4"); - TH2F *reconoiseVariance0HB4 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HB4"); + TH2F *reconoiseVariance1HB4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HB4"); + TH2F *reconoiseVariance0HB4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); TH2F *reconoiseVarianceHB4 = (TH2F *)reconoiseVariance1HB4->Clone("reconoiseVarianceHB4"); reconoiseVarianceHB4->Divide(reconoiseVariance1HB4, reconoiseVariance0HB4, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_recNoiseEnergy1_HE1"); - TH2F *recNoiseEnergy0HE1 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE1"); + TH2F *recNoiseEnergy1HE1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HE1"); + TH2F *recNoiseEnergy0HE1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); TH2F *recNoiseEnergyHE1 = (TH2F *)recNoiseEnergy1HE1->Clone("recNoiseEnergyHE1"); recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1, recNoiseEnergy0HE1, 1, 1, "B"); - TH2F *recNoiseEnergy1HE2 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HE2"); - TH2F *recNoiseEnergy0HE2 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE2"); + TH2F *recNoiseEnergy1HE2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HE2"); + TH2F *recNoiseEnergy0HE2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); TH2F *recNoiseEnergyHE2 = (TH2F *)recNoiseEnergy1HE2->Clone("recNoiseEnergyHE2"); recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2, recNoiseEnergy0HE2, 1, 1, "B"); - TH2F *recNoiseEnergy1HE3 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HE3"); - TH2F *recNoiseEnergy0HE3 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE3"); + TH2F *recNoiseEnergy1HE3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HE3"); + TH2F *recNoiseEnergy0HE3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); TH2F *recNoiseEnergyHE3 = (TH2F *)recNoiseEnergy1HE3->Clone("recNoiseEnergyHE3"); recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3, recNoiseEnergy0HE3, 1, 1, "B"); - TH2F *recNoiseEnergy1HE4 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HE4"); - TH2F *recNoiseEnergy0HE4 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE4"); + TH2F *recNoiseEnergy1HE4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HE4"); + TH2F *recNoiseEnergy0HE4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); TH2F *recNoiseEnergyHE4 = (TH2F *)recNoiseEnergy1HE4->Clone("recNoiseEnergyHE4"); recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4, recNoiseEnergy0HE4, 1, 1, "B"); - TH2F *recNoiseEnergy1HE5 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HE5"); - TH2F *recNoiseEnergy0HE5 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE5"); + TH2F *recNoiseEnergy1HE5 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HE5"); + TH2F *recNoiseEnergy0HE5 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); TH2F *recNoiseEnergyHE5 = (TH2F *)recNoiseEnergy1HE5->Clone("recNoiseEnergyHE5"); recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5, recNoiseEnergy0HE5, 1, 1, "B"); - TH2F *recNoiseEnergy1HE6 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HE6"); - TH2F *recNoiseEnergy0HE6 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE6"); + TH2F *recNoiseEnergy1HE6 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HE6"); + TH2F *recNoiseEnergy0HE6 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); TH2F *recNoiseEnergyHE6 = (TH2F *)recNoiseEnergy1HE6->Clone("recNoiseEnergyHE6"); recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6, recNoiseEnergy0HE6, 1, 1, "B"); - TH2F *recNoiseEnergy1HE7 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HE7"); - TH2F *recNoiseEnergy0HE7 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE7"); + TH2F *recNoiseEnergy1HE7 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HE7"); + TH2F *recNoiseEnergy0HE7 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); TH2F *recNoiseEnergyHE7 = (TH2F *)recNoiseEnergy1HE7->Clone("recNoiseEnergyHE7"); recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7, recNoiseEnergy0HE7, 1, 1, "B"); for (int jeta = 0; jeta < njeta; jeta++) { @@ -16599,7 +16609,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitNoise_HE = (TH1F *)hfile->Get("h_energyhitNoise_HE"); + TH1F *energyhitNoise_HE = (TH1F *)dir->FindObjectAny("h_energyhitNoise_HE"); energyhitNoise_HE->SetMarkerStyle(20); energyhitNoise_HE->SetMarkerSize(0.4); energyhitNoise_HE->GetYaxis()->SetLabelSize(0.04); @@ -17771,7 +17781,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); //c2x1->cd(2); - //TH1F *energyhitNoise_HE= (TH1F*)hfile->Get("h_energyhitNoise_HE"); + //TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); //energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); ///////////////// @@ -18909,32 +18919,32 @@ std::cout<<" We are here to print ADC "<Get("h_recNoiseEnergy2_HE1"); - TH2F *reconoiseVariance0HE1 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE1"); + TH2F *reconoiseVariance1HE1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HE1"); + TH2F *reconoiseVariance0HE1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); TH2F *reconoiseVarianceHE1 = (TH2F *)reconoiseVariance1HE1->Clone("reconoiseVarianceHE1"); reconoiseVarianceHE1->Divide(reconoiseVariance1HE1, reconoiseVariance0HE1, 1, 1, "B"); - TH2F *reconoiseVariance1HE2 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HE2"); - TH2F *reconoiseVariance0HE2 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE2"); + TH2F *reconoiseVariance1HE2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HE2"); + TH2F *reconoiseVariance0HE2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); TH2F *reconoiseVarianceHE2 = (TH2F *)reconoiseVariance1HE2->Clone("reconoiseVarianceHE2"); reconoiseVarianceHE2->Divide(reconoiseVariance1HE2, reconoiseVariance0HE2, 1, 1, "B"); - TH2F *reconoiseVariance1HE3 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HE3"); - TH2F *reconoiseVariance0HE3 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE3"); + TH2F *reconoiseVariance1HE3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HE3"); + TH2F *reconoiseVariance0HE3 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); TH2F *reconoiseVarianceHE3 = (TH2F *)reconoiseVariance1HE3->Clone("reconoiseVarianceHE3"); reconoiseVarianceHE3->Divide(reconoiseVariance1HE3, reconoiseVariance0HE3, 1, 1, "B"); - TH2F *reconoiseVariance1HE4 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HE4"); - TH2F *reconoiseVariance0HE4 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE4"); + TH2F *reconoiseVariance1HE4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HE4"); + TH2F *reconoiseVariance0HE4 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); TH2F *reconoiseVarianceHE4 = (TH2F *)reconoiseVariance1HE4->Clone("reconoiseVarianceHE4"); reconoiseVarianceHE4->Divide(reconoiseVariance1HE4, reconoiseVariance0HE4, 1, 1, "B"); - TH2F *reconoiseVariance1HE5 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HE5"); - TH2F *reconoiseVariance0HE5 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE5"); + TH2F *reconoiseVariance1HE5 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HE5"); + TH2F *reconoiseVariance0HE5 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); TH2F *reconoiseVarianceHE5 = (TH2F *)reconoiseVariance1HE5->Clone("reconoiseVarianceHE5"); reconoiseVarianceHE5->Divide(reconoiseVariance1HE5, reconoiseVariance0HE5, 1, 1, "B"); - TH2F *reconoiseVariance1HE6 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HE6"); - TH2F *reconoiseVariance0HE6 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE6"); + TH2F *reconoiseVariance1HE6 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HE6"); + TH2F *reconoiseVariance0HE6 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); TH2F *reconoiseVarianceHE6 = (TH2F *)reconoiseVariance1HE6->Clone("reconoiseVarianceHE6"); reconoiseVarianceHE6->Divide(reconoiseVariance1HE6, reconoiseVariance0HE6, 1, 1, "B"); - TH2F *reconoiseVariance1HE7 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HE7"); - TH2F *reconoiseVariance0HE7 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HE7"); + TH2F *reconoiseVariance1HE7 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HE7"); + TH2F *reconoiseVariance0HE7 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); TH2F *reconoiseVarianceHE7 = (TH2F *)reconoiseVariance1HE7->Clone("reconoiseVarianceHE7"); reconoiseVarianceHE7->Divide(reconoiseVariance1HE7, reconoiseVariance0HE7, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Get("h_recNoiseEnergy1_HF1"); - TH2F *recNoiseEnergy0HF1 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HF1"); + TH2F *recNoiseEnergy1HF1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HF1"); + TH2F *recNoiseEnergy0HF1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); TH2F *recNoiseEnergyHF1 = (TH2F *)recNoiseEnergy1HF1->Clone("recNoiseEnergyHF1"); recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1, recNoiseEnergy0HF1, 1, 1, "B"); - TH2F *recNoiseEnergy1HF2 = (TH2F *)hfile->Get("h_recNoiseEnergy1_HF2"); - TH2F *recNoiseEnergy0HF2 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HF2"); + TH2F *recNoiseEnergy1HF2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy1_HF2"); + TH2F *recNoiseEnergy0HF2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); TH2F *recNoiseEnergyHF2 = (TH2F *)recNoiseEnergy1HF2->Clone("recNoiseEnergyHF2"); recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2, recNoiseEnergy0HF2, 1, 1, "B"); //====================================================================== PHI normalization & put R into massive areconoiseHF @@ -20285,7 +20295,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitNoise_HF = (TH1F *)hfile->Get("h_energyhitNoise_HF"); + TH1F *energyhitNoise_HF = (TH1F *)dir->FindObjectAny("h_energyhitNoise_HF"); energyhitNoise_HF->SetMarkerStyle(20); energyhitNoise_HF->SetMarkerSize(0.4); energyhitNoise_HF->GetYaxis()->SetLabelSize(0.04); @@ -20712,7 +20722,7 @@ std::cout<<" We are here to print ADC "<Draw("COLZ"); c2x1->cd(2); - // TH1F *energyhitNoiseCut_HF= (TH1F*)hfile->Get("h_energyhitNoiseCut_HF"); + // TH1F *energyhitNoiseCut_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoiseCut_HF"); // energyhitNoiseCut_HF ->SetMarkerStyle(20);energyhitNoiseCut_HF ->SetMarkerSize(0.4);energyhitNoiseCut_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoiseCut_HF ->SetXTitle("energyhitNoiseCut_HF \b");energyhitNoiseCut_HF ->SetMarkerColor(2);energyhitNoiseCut_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoiseCut_HF ->Draw("Error"); ///////////////// @@ -21106,12 +21116,12 @@ std::cout<<" We are here to print ADC "<Get("h_recNoiseEnergy2_HF1"); - TH2F *reconoiseVariance0HF1 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HF1"); + TH2F *reconoiseVariance1HF1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HF1"); + TH2F *reconoiseVariance0HF1 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); TH2F *reconoiseVarianceHF1 = (TH2F *)reconoiseVariance1HF1->Clone("reconoiseVarianceHF1"); reconoiseVarianceHF1->Divide(reconoiseVariance1HF1, reconoiseVariance0HF1, 1, 1, "B"); - TH2F *reconoiseVariance1HF2 = (TH2F *)hfile->Get("h_recNoiseEnergy2_HF2"); - TH2F *reconoiseVariance0HF2 = (TH2F *)hfile->Get("h_recNoiseEnergy0_HF2"); + TH2F *reconoiseVariance1HF2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy2_HF2"); + TH2F *reconoiseVariance0HF2 = (TH2F *)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); TH2F *reconoiseVarianceHF2 = (TH2F *)reconoiseVariance1HF2->Clone("reconoiseVarianceHF2"); reconoiseVarianceHF2->Divide(reconoiseVariance1HF2, reconoiseVariance0HF2, 1, 1, "B"); //cout<<" Vaiance: preparation DONE *****" <Divide(2, 2); cmain1->cd(1); - TH1F *JDBEYESJ0 = (TH1F *)hfile->Get("h_totalAmplitudeHBperEvent"); + TH1F *JDBEYESJ0 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHBperEvent"); JDBEYESJ0->SetStats(0); JDBEYESJ0->SetMarkerStyle(20); JDBEYESJ0->SetMarkerSize(0.8); @@ -21846,7 +21856,7 @@ std::cout<<" We are here to print ADC "<Draw("HIST same P0"); cmain1->cd(2); - TH1F *JDBEYESJ1 = (TH1F *)hfile->Get("h_totalAmplitudeHEperEvent"); + TH1F *JDBEYESJ1 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHEperEvent"); JDBEYESJ1->SetStats(0); JDBEYESJ1->SetMarkerStyle(20); JDBEYESJ1->SetMarkerSize(0.8); @@ -21860,7 +21870,7 @@ std::cout<<" We are here to print ADC "<Draw("HIST same P0"); cmain1->cd(3); - TH1F *JDBEYESJ2 = (TH1F *)hfile->Get("h_totalAmplitudeHFperEvent"); + TH1F *JDBEYESJ2 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHFperEvent"); JDBEYESJ2->SetStats(0); JDBEYESJ2->SetMarkerStyle(20); JDBEYESJ2->SetMarkerSize(0.8); @@ -21874,7 +21884,7 @@ std::cout<<" We are here to print ADC "<Draw("HIST same P0"); cmain1->cd(4); - TH1F *JDBEYESJ3 = (TH1F *)hfile->Get("h_totalAmplitudeHOperEvent"); + TH1F *JDBEYESJ3 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHOperEvent"); JDBEYESJ3->SetStats(0); JDBEYESJ3->SetMarkerStyle(20); JDBEYESJ3->SetMarkerSize(0.8); diff --git a/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAPnoPSM.cc b/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAPnoPSM.cc index 5a554265a465c..35e6d55a0b2fd 100644 --- a/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAPnoPSM.cc +++ b/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAPnoPSM.cc @@ -29,6 +29,7 @@ using namespace std; // h_ADC_HBdepth1 // ok change Hist_ADC_HB_DS int main(int argc, char *argv[]) { + std::string dirnm = "Analyzer"; gROOT->Reset(); gROOT->SetStyle("Plain"); gStyle->SetOptStat(0); @@ -59,7 +60,15 @@ int main(int argc, char *argv[]) { refrunnumber += refname[i]; TFile *hfile = new TFile(fname, "READ"); + hfile->ls(); + TDirectory *dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str()); TFile *hreffile = new TFile(refname, "READ"); + hreffile->ls(); + TDirectory *refdir = (TDirectory *)hreffile->FindObjectAny(dirnm.c_str()); + + // with TfileService implementation, change everywhere below: hreffile->Get to refdir->FindObjectAny + // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny + double MIN_M[7][5]; double MAX_M[7][5]; double MIN_C[7][5]; @@ -276,23 +285,23 @@ int main(int argc, char *argv[]) { TH1F *hist_SumADC0[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 TH1F *hist_SumADC1[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 - Map_SUB[1][1] = (TH2F *)hfile->Get("h_mapDepth1_HB"); - Map_SUB[1][2] = (TH2F *)hfile->Get("h_mapDepth2_HB"); - Map_SUB[2][1] = (TH2F *)hfile->Get("h_mapDepth1_HE"); - Map_SUB[2][2] = (TH2F *)hfile->Get("h_mapDepth2_HE"); - Map_SUB[2][3] = (TH2F *)hfile->Get("h_mapDepth3_HE"); - Map_SUB[3][4] = (TH2F *)hfile->Get("h_mapDepth4_HO"); - Map_SUB[4][1] = (TH2F *)hfile->Get("h_mapDepth1_HF"); - Map_SUB[4][2] = (TH2F *)hfile->Get("h_mapDepth2_HF"); - - Map_SUB[1][3] = (TH2F *)hfile->Get("h_mapDepth3_HB"); - Map_SUB[1][4] = (TH2F *)hfile->Get("h_mapDepth4_HB"); - Map_SUB[2][4] = (TH2F *)hfile->Get("h_mapDepth4_HE"); - Map_SUB[2][5] = (TH2F *)hfile->Get("h_mapDepth5_HE"); - Map_SUB[2][6] = (TH2F *)hfile->Get("h_mapDepth6_HE"); - Map_SUB[2][7] = (TH2F *)hfile->Get("h_mapDepth7_HE"); - Map_SUB[4][3] = (TH2F *)hfile->Get("h_mapDepth3_HF"); - Map_SUB[4][4] = (TH2F *)hfile->Get("h_mapDepth4_HF"); + Map_SUB[1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HB"); + Map_SUB[1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HB"); + Map_SUB[2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HE"); + Map_SUB[2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HE"); + Map_SUB[2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HE"); + Map_SUB[3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HO"); + Map_SUB[4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1_HF"); + Map_SUB[4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2_HF"); + + Map_SUB[1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HB"); + Map_SUB[1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HB"); + Map_SUB[2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HE"); + Map_SUB[2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5_HE"); + Map_SUB[2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6_HE"); + Map_SUB[2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7_HE"); + Map_SUB[4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3_HF"); + Map_SUB[4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4_HF"); //+++++++++++++++++++++++++++++ //Test 0 Entries @@ -382,23 +391,23 @@ int main(int argc, char *argv[]) { //Test 1 (Cm) Rate of Cap ID errors //+++++++++++++++++++++++++++++ - Map_Ampl[1][1][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HB"); - Map_Ampl[1][1][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HB"); - Map_Ampl[1][2][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HE"); - Map_Ampl[1][2][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HE"); - Map_Ampl[1][2][3] = (TH2F *)hfile->Get("h_mapDepth3Error_HE"); - Map_Ampl[1][3][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HO"); - Map_Ampl[1][4][1] = (TH2F *)hfile->Get("h_mapDepth1Error_HF"); - Map_Ampl[1][4][2] = (TH2F *)hfile->Get("h_mapDepth2Error_HF"); - - Map_Ampl[1][1][3] = (TH2F *)hfile->Get("h_mapDepth3Error_HB"); - Map_Ampl[1][1][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HB"); - Map_Ampl[1][2][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HE"); - Map_Ampl[1][2][5] = (TH2F *)hfile->Get("h_mapDepth5Error_HE"); - Map_Ampl[1][2][6] = (TH2F *)hfile->Get("h_mapDepth6Error_HE"); - Map_Ampl[1][2][7] = (TH2F *)hfile->Get("h_mapDepth7Error_HE"); - Map_Ampl[1][4][3] = (TH2F *)hfile->Get("h_mapDepth3Error_HF"); - Map_Ampl[1][4][4] = (TH2F *)hfile->Get("h_mapDepth4Error_HF"); + Map_Ampl[1][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HB"); + Map_Ampl[1][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HB"); + Map_Ampl[1][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HE"); + Map_Ampl[1][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HE"); + Map_Ampl[1][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Error_HE"); + Map_Ampl[1][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HO"); + Map_Ampl[1][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Error_HF"); + Map_Ampl[1][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Error_HF"); + + Map_Ampl[1][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Error_HB"); + Map_Ampl[1][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HB"); + Map_Ampl[1][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HE"); + Map_Ampl[1][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5Error_HE"); + Map_Ampl[1][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6Error_HE"); + Map_Ampl[1][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7Error_HE"); + Map_Ampl[1][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Error_HF"); + Map_Ampl[1][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Error_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO // if (sub==1) cHB->Divide(2,1); @@ -485,136 +494,136 @@ int main(int argc, char *argv[]) { //Test 2 (Am) ADC amplitude //+++++++++++++++++++++++++++++ - Map_Ampl[2][1][1] = (TH2F *)hfile->Get("h_mapDepth1ADCAmpl225_HB"); - Map_Ampl[2][1][2] = (TH2F *)hfile->Get("h_mapDepth2ADCAmpl225_HB"); - Map_Ampl[2][2][1] = (TH2F *)hfile->Get("h_mapDepth1ADCAmpl225_HE"); - Map_Ampl[2][2][2] = (TH2F *)hfile->Get("h_mapDepth2ADCAmpl225_HE"); - Map_Ampl[2][2][3] = (TH2F *)hfile->Get("h_mapDepth3ADCAmpl225_HE"); - Map_Ampl[2][3][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HO"); - Map_Ampl[2][4][1] = (TH2F *)hfile->Get("h_mapDepth1ADCAmpl225_HF"); - Map_Ampl[2][4][2] = (TH2F *)hfile->Get("h_mapDepth2ADCAmpl225_HF"); - - Map_Ampl[2][1][3] = (TH2F *)hfile->Get("h_mapDepth3ADCAmpl225_HB"); - Map_Ampl[2][1][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HB"); - Map_Ampl[2][2][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HE"); - Map_Ampl[2][2][5] = (TH2F *)hfile->Get("h_mapDepth5ADCAmpl225_HE"); - Map_Ampl[2][2][6] = (TH2F *)hfile->Get("h_mapDepth6ADCAmpl225_HE"); - Map_Ampl[2][2][7] = (TH2F *)hfile->Get("h_mapDepth7ADCAmpl225_HE"); - Map_Ampl[2][4][3] = (TH2F *)hfile->Get("h_mapDepth3ADCAmpl225_HF"); - Map_Ampl[2][4][4] = (TH2F *)hfile->Get("h_mapDepth4ADCAmpl225_HF"); - - HistAmpl[2][1] = (TH1F *)hfile->Get("h_ADCAmpl_HB"); - HistAmpl[2][2] = (TH1F *)hfile->Get("h_ADCAmpl_HE"); - HistAmpl[2][3] = (TH1F *)hfile->Get("h_ADCAmpl_HO"); - HistAmpl[2][4] = (TH1F *)hfile->Get("h_ADCAmpl_HF"); + Map_Ampl[2][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HB"); + Map_Ampl[2][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HB"); + Map_Ampl[2][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HE"); + Map_Ampl[2][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HE"); + Map_Ampl[2][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HE"); + Map_Ampl[2][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HO"); + Map_Ampl[2][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HF"); + Map_Ampl[2][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HF"); + + Map_Ampl[2][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HB"); + Map_Ampl[2][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HB"); + Map_Ampl[2][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HE"); + Map_Ampl[2][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5ADCAmpl225_HE"); + Map_Ampl[2][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6ADCAmpl225_HE"); + Map_Ampl[2][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7ADCAmpl225_HE"); + Map_Ampl[2][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HF"); + Map_Ampl[2][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HF"); + + HistAmpl[2][1] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HB"); + HistAmpl[2][2] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HE"); + HistAmpl[2][3] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HO"); + HistAmpl[2][4] = (TH1F *)dir->FindObjectAny("h_ADCAmpl_HF"); //+++++++++++++++++++++++++++++ //Test 3 (Wm) Rate of RMS //+++++++++++++++++++++++++++++ - Map_Ampl[3][1][1] = (TH2F *)hfile->Get("h_mapDepth1Amplitude225_HB"); - Map_Ampl[3][1][2] = (TH2F *)hfile->Get("h_mapDepth2Amplitude225_HB"); - Map_Ampl[3][2][1] = (TH2F *)hfile->Get("h_mapDepth1Amplitude225_HE"); - Map_Ampl[3][2][2] = (TH2F *)hfile->Get("h_mapDepth2Amplitude225_HE"); - Map_Ampl[3][2][3] = (TH2F *)hfile->Get("h_mapDepth3Amplitude225_HE"); - Map_Ampl[3][3][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HO"); - Map_Ampl[3][4][1] = (TH2F *)hfile->Get("h_mapDepth1Amplitude225_HF"); - Map_Ampl[3][4][2] = (TH2F *)hfile->Get("h_mapDepth2Amplitude225_HF"); - - Map_Ampl[3][1][3] = (TH2F *)hfile->Get("h_mapDepth3Amplitude225_HB"); - Map_Ampl[3][1][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HB"); - Map_Ampl[3][2][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HE"); - Map_Ampl[3][2][5] = (TH2F *)hfile->Get("h_mapDepth5Amplitude225_HE"); - Map_Ampl[3][2][6] = (TH2F *)hfile->Get("h_mapDepth6Amplitude225_HE"); - Map_Ampl[3][2][7] = (TH2F *)hfile->Get("h_mapDepth7Amplitude225_HE"); - Map_Ampl[3][4][3] = (TH2F *)hfile->Get("h_mapDepth3Amplitude225_HF"); - Map_Ampl[3][4][4] = (TH2F *)hfile->Get("h_mapDepth4Amplitude225_HF"); - - HistAmpl[3][1] = (TH1F *)hfile->Get("h_Amplitude_HB"); - HistAmpl[3][2] = (TH1F *)hfile->Get("h_Amplitude_HE"); - HistAmpl[3][3] = (TH1F *)hfile->Get("h_Amplitude_HO"); - HistAmpl[3][4] = (TH1F *)hfile->Get("h_Amplitude_HF"); + Map_Ampl[3][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Amplitude225_HB"); + Map_Ampl[3][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Amplitude225_HB"); + Map_Ampl[3][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Amplitude225_HE"); + Map_Ampl[3][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Amplitude225_HE"); + Map_Ampl[3][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Amplitude225_HE"); + Map_Ampl[3][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HO"); + Map_Ampl[3][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Amplitude225_HF"); + Map_Ampl[3][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Amplitude225_HF"); + + Map_Ampl[3][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Amplitude225_HB"); + Map_Ampl[3][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HB"); + Map_Ampl[3][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HE"); + Map_Ampl[3][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5Amplitude225_HE"); + Map_Ampl[3][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6Amplitude225_HE"); + Map_Ampl[3][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7Amplitude225_HE"); + Map_Ampl[3][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Amplitude225_HF"); + Map_Ampl[3][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Amplitude225_HF"); + + HistAmpl[3][1] = (TH1F *)dir->FindObjectAny("h_Amplitude_HB"); + HistAmpl[3][2] = (TH1F *)dir->FindObjectAny("h_Amplitude_HE"); + HistAmpl[3][3] = (TH1F *)dir->FindObjectAny("h_Amplitude_HO"); + HistAmpl[3][4] = (TH1F *)dir->FindObjectAny("h_Amplitude_HF"); //+++++++++++++++++++++++++++++ //Test 4 (Rm) Rate of ratio 4 near max TS/ All TS //+++++++++++++++++++++++++++++ - Map_Ampl[4][1][1] = (TH2F *)hfile->Get("h_mapDepth1Ampl047_HB"); - Map_Ampl[4][1][2] = (TH2F *)hfile->Get("h_mapDepth2Ampl047_HB"); - Map_Ampl[4][2][1] = (TH2F *)hfile->Get("h_mapDepth1Ampl047_HE"); - Map_Ampl[4][2][2] = (TH2F *)hfile->Get("h_mapDepth2Ampl047_HE"); - Map_Ampl[4][2][3] = (TH2F *)hfile->Get("h_mapDepth3Ampl047_HE"); - Map_Ampl[4][3][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HO"); - Map_Ampl[4][4][1] = (TH2F *)hfile->Get("h_mapDepth1Ampl047_HF"); - Map_Ampl[4][4][2] = (TH2F *)hfile->Get("h_mapDepth2Ampl047_HF"); - - Map_Ampl[4][1][3] = (TH2F *)hfile->Get("h_mapDepth3Ampl047_HB"); - Map_Ampl[4][1][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HB"); - Map_Ampl[4][2][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HE"); - Map_Ampl[4][2][5] = (TH2F *)hfile->Get("h_mapDepth5Ampl047_HE"); - Map_Ampl[4][2][6] = (TH2F *)hfile->Get("h_mapDepth6Ampl047_HE"); - Map_Ampl[4][2][7] = (TH2F *)hfile->Get("h_mapDepth7Ampl047_HE"); - Map_Ampl[4][4][3] = (TH2F *)hfile->Get("h_mapDepth3Ampl047_HF"); - Map_Ampl[4][4][4] = (TH2F *)hfile->Get("h_mapDepth4Ampl047_HF"); - - HistAmpl[4][1] = (TH1F *)hfile->Get("h_Ampl_HB"); - HistAmpl[4][2] = (TH1F *)hfile->Get("h_Ampl_HE"); - HistAmpl[4][3] = (TH1F *)hfile->Get("h_Ampl_HO"); - HistAmpl[4][4] = (TH1F *)hfile->Get("h_Ampl_HF"); + Map_Ampl[4][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Ampl047_HB"); + Map_Ampl[4][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Ampl047_HB"); + Map_Ampl[4][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Ampl047_HE"); + Map_Ampl[4][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Ampl047_HE"); + Map_Ampl[4][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Ampl047_HE"); + Map_Ampl[4][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HO"); + Map_Ampl[4][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1Ampl047_HF"); + Map_Ampl[4][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2Ampl047_HF"); + + Map_Ampl[4][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Ampl047_HB"); + Map_Ampl[4][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HB"); + Map_Ampl[4][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HE"); + Map_Ampl[4][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5Ampl047_HE"); + Map_Ampl[4][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6Ampl047_HE"); + Map_Ampl[4][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7Ampl047_HE"); + Map_Ampl[4][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3Ampl047_HF"); + Map_Ampl[4][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4Ampl047_HF"); + + HistAmpl[4][1] = (TH1F *)dir->FindObjectAny("h_Ampl_HB"); + HistAmpl[4][2] = (TH1F *)dir->FindObjectAny("h_Ampl_HE"); + HistAmpl[4][3] = (TH1F *)dir->FindObjectAny("h_Ampl_HO"); + HistAmpl[4][4] = (TH1F *)dir->FindObjectAny("h_Ampl_HF"); //+++++++++++++++++++++++++++++ //Test 5 (TNm) Mean position in 1-8 TS range //+++++++++++++++++++++++++++++ - Map_Ampl[5][1][1] = (TH2F *)hfile->Get("h_mapDepth1TSmeanA225_HB"); - Map_Ampl[5][1][2] = (TH2F *)hfile->Get("h_mapDepth2TSmeanA225_HB"); - Map_Ampl[5][2][1] = (TH2F *)hfile->Get("h_mapDepth1TSmeanA225_HE"); - Map_Ampl[5][2][2] = (TH2F *)hfile->Get("h_mapDepth2TSmeanA225_HE"); - Map_Ampl[5][2][3] = (TH2F *)hfile->Get("h_mapDepth3TSmeanA225_HE"); - Map_Ampl[5][3][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HO"); - Map_Ampl[5][4][1] = (TH2F *)hfile->Get("h_mapDepth1TSmeanA225_HF"); - Map_Ampl[5][4][2] = (TH2F *)hfile->Get("h_mapDepth2TSmeanA225_HF"); - - Map_Ampl[5][1][3] = (TH2F *)hfile->Get("h_mapDepth3TSmeanA225_HB"); - Map_Ampl[5][1][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HB"); - Map_Ampl[5][2][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HE"); - Map_Ampl[5][2][5] = (TH2F *)hfile->Get("h_mapDepth5TSmeanA225_HE"); - Map_Ampl[5][2][6] = (TH2F *)hfile->Get("h_mapDepth6TSmeanA225_HE"); - Map_Ampl[5][2][7] = (TH2F *)hfile->Get("h_mapDepth7TSmeanA225_HE"); - Map_Ampl[5][4][3] = (TH2F *)hfile->Get("h_mapDepth3TSmeanA225_HF"); - Map_Ampl[5][4][4] = (TH2F *)hfile->Get("h_mapDepth4TSmeanA225_HF"); - - HistAmpl[5][1] = (TH1F *)hfile->Get("h_TSmeanA_HB"); - HistAmpl[5][2] = (TH1F *)hfile->Get("h_TSmeanA_HE"); - HistAmpl[5][3] = (TH1F *)hfile->Get("h_TSmeanA_HO"); - HistAmpl[5][4] = (TH1F *)hfile->Get("h_TSmeanA_HF"); + Map_Ampl[5][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmeanA225_HB"); + Map_Ampl[5][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmeanA225_HB"); + Map_Ampl[5][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmeanA225_HE"); + Map_Ampl[5][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmeanA225_HE"); + Map_Ampl[5][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmeanA225_HE"); + Map_Ampl[5][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HO"); + Map_Ampl[5][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmeanA225_HF"); + Map_Ampl[5][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmeanA225_HF"); + + Map_Ampl[5][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmeanA225_HB"); + Map_Ampl[5][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HB"); + Map_Ampl[5][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HE"); + Map_Ampl[5][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5TSmeanA225_HE"); + Map_Ampl[5][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6TSmeanA225_HE"); + Map_Ampl[5][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7TSmeanA225_HE"); + Map_Ampl[5][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmeanA225_HF"); + Map_Ampl[5][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmeanA225_HF"); + + HistAmpl[5][1] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HB"); + HistAmpl[5][2] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HE"); + HistAmpl[5][3] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HO"); + HistAmpl[5][4] = (TH1F *)dir->FindObjectAny("h_TSmeanA_HF"); //+++++++++++++++++++++++++++++ //Test 6 (TXm) Maximum position in 1-8 TS range //+++++++++++++++++++++++++++++ - Map_Ampl[6][1][1] = (TH2F *)hfile->Get("h_mapDepth1TSmaxA225_HB"); - Map_Ampl[6][1][2] = (TH2F *)hfile->Get("h_mapDepth2TSmaxA225_HB"); - Map_Ampl[6][2][1] = (TH2F *)hfile->Get("h_mapDepth1TSmaxA225_HE"); - Map_Ampl[6][2][2] = (TH2F *)hfile->Get("h_mapDepth2TSmaxA225_HE"); - Map_Ampl[6][2][3] = (TH2F *)hfile->Get("h_mapDepth3TSmaxA225_HE"); - Map_Ampl[6][3][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HO"); - Map_Ampl[6][4][1] = (TH2F *)hfile->Get("h_mapDepth1TSmaxA225_HF"); - Map_Ampl[6][4][2] = (TH2F *)hfile->Get("h_mapDepth2TSmaxA225_HF"); - - Map_Ampl[6][1][3] = (TH2F *)hfile->Get("h_mapDepth3TSmaxA225_HB"); - Map_Ampl[6][1][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HB"); - Map_Ampl[6][2][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HE"); - Map_Ampl[6][2][5] = (TH2F *)hfile->Get("h_mapDepth5TSmaxA225_HE"); - Map_Ampl[6][2][6] = (TH2F *)hfile->Get("h_mapDepth6TSmaxA225_HE"); - Map_Ampl[6][2][7] = (TH2F *)hfile->Get("h_mapDepth7TSmaxA225_HE"); - Map_Ampl[6][4][3] = (TH2F *)hfile->Get("h_mapDepth3TSmaxA225_HF"); - Map_Ampl[6][4][4] = (TH2F *)hfile->Get("h_mapDepth4TSmaxA225_HF"); - - HistAmpl[6][1] = (TH1F *)hfile->Get("h_TSmaxA_HB"); - HistAmpl[6][2] = (TH1F *)hfile->Get("h_TSmaxA_HE"); - HistAmpl[6][3] = (TH1F *)hfile->Get("h_TSmaxA_HO"); - HistAmpl[6][4] = (TH1F *)hfile->Get("h_TSmaxA_HF"); + Map_Ampl[6][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmaxA225_HB"); + Map_Ampl[6][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmaxA225_HB"); + Map_Ampl[6][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmaxA225_HE"); + Map_Ampl[6][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmaxA225_HE"); + Map_Ampl[6][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmaxA225_HE"); + Map_Ampl[6][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HO"); + Map_Ampl[6][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1TSmaxA225_HF"); + Map_Ampl[6][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2TSmaxA225_HF"); + + Map_Ampl[6][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmaxA225_HB"); + Map_Ampl[6][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HB"); + Map_Ampl[6][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HE"); + Map_Ampl[6][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5TSmaxA225_HE"); + Map_Ampl[6][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6TSmaxA225_HE"); + Map_Ampl[6][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7TSmaxA225_HE"); + Map_Ampl[6][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3TSmaxA225_HF"); + Map_Ampl[6][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4TSmaxA225_HF"); + + HistAmpl[6][1] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HB"); + HistAmpl[6][2] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HE"); + HistAmpl[6][3] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HO"); + HistAmpl[6][4] = (TH1F *)dir->FindObjectAny("h_TSmaxA_HF"); for (int test = 2; test <= 6; test++) { //Test: 2-Am, 3-Wm, 4-Rm, 5-TNm, 6-TXm, for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO @@ -774,21 +783,21 @@ int main(int argc, char *argv[]) { cONE->Divide(3, 1); if (test == 2 && sub == 2) { cONE->cd(2); - TH1F *kjkjkhj2 = (TH1F *)hfile->Get("h_AmplitudeHEtest1"); + TH1F *kjkjkhj2 = (TH1F *)dir->FindObjectAny("h_AmplitudeHEtest1"); kjkjkhj2->Draw(""); kjkjkhj2->SetTitle("HE, All Depth: shunt1"); cONE->cd(3); - TH1F *kjkjkhj3 = (TH1F *)hfile->Get("h_AmplitudeHEtest6"); + TH1F *kjkjkhj3 = (TH1F *)dir->FindObjectAny("h_AmplitudeHEtest6"); kjkjkhj3->Draw(""); kjkjkhj3->SetTitle("HE, All Depth: shunt6"); } if (test == 2 && sub == 1) { cONE->cd(2); - TH1F *kjkjkhb2 = (TH1F *)hfile->Get("h_AmplitudeHBtest1"); + TH1F *kjkjkhb2 = (TH1F *)dir->FindObjectAny("h_AmplitudeHBtest1"); kjkjkhb2->Draw(""); kjkjkhb2->SetTitle("HB, All Depth: shunt1"); cONE->cd(3); - TH1F *kjkjkhb3 = (TH1F *)hfile->Get("h_AmplitudeHBtest6"); + TH1F *kjkjkhb3 = (TH1F *)dir->FindObjectAny("h_AmplitudeHBtest6"); kjkjkhb3->Draw(""); kjkjkhb3->SetTitle("HB, All Depth: shunt6"); } @@ -947,14 +956,14 @@ int main(int argc, char *argv[]) { TH2F *Map_Calib[5][5]; // 2d histogramm for subdet, depth - Map_Calib[1][1] = (TH2F *)hfile->Get("h_map_HB"); - Map_Calib[1][2] = (TH2F *)hfile->Get("h_map_HB"); - Map_Calib[2][1] = (TH2F *)hfile->Get("h_map_HE"); - Map_Calib[2][2] = (TH2F *)hfile->Get("h_map_HE"); - Map_Calib[2][3] = (TH2F *)hfile->Get("h_map_HE"); - Map_Calib[3][4] = (TH2F *)hfile->Get("h_map_HO"); - Map_Calib[4][1] = (TH2F *)hfile->Get("h_map_HF"); - Map_Calib[4][2] = (TH2F *)hfile->Get("h_map_HF"); + Map_Calib[1][1] = (TH2F *)dir->FindObjectAny("h_map_HB"); + Map_Calib[1][2] = (TH2F *)dir->FindObjectAny("h_map_HB"); + Map_Calib[2][1] = (TH2F *)dir->FindObjectAny("h_map_HE"); + Map_Calib[2][2] = (TH2F *)dir->FindObjectAny("h_map_HE"); + Map_Calib[2][3] = (TH2F *)dir->FindObjectAny("h_map_HE"); + Map_Calib[3][4] = (TH2F *)dir->FindObjectAny("h_map_HO"); + Map_Calib[4][1] = (TH2F *)dir->FindObjectAny("h_map_HF"); + Map_Calib[4][2] = (TH2F *)dir->FindObjectAny("h_map_HF"); //+++++++++++++++++++++++++++++ //Test 0 Entries @@ -1024,14 +1033,14 @@ int main(int argc, char *argv[]) { //Test 11 (Cc) Rate of Cap ID errors for calibration channels //+++++++++++++++++++++++++++++ - Map_Ampl[11][1][1] = (TH2F *)hfile->Get("h_mapCapCalib047_HB"); - Map_Ampl[11][1][2] = (TH2F *)hfile->Get("h_mapCapCalib047_HB"); - Map_Ampl[11][2][1] = (TH2F *)hfile->Get("h_mapCapCalib047_HE"); - Map_Ampl[11][2][2] = (TH2F *)hfile->Get("h_mapCapCalib047_HE"); - Map_Ampl[11][2][3] = (TH2F *)hfile->Get("h_mapCapCalib047_HE"); - Map_Ampl[11][3][4] = (TH2F *)hfile->Get("h_mapCapCalib047_HO"); - Map_Ampl[11][4][1] = (TH2F *)hfile->Get("h_mapCapCalib047_HF"); - Map_Ampl[11][4][2] = (TH2F *)hfile->Get("h_mapCapCalib047_HF"); + Map_Ampl[11][1][1] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HB"); + Map_Ampl[11][1][2] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HB"); + Map_Ampl[11][2][1] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HE"); + Map_Ampl[11][2][2] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HE"); + Map_Ampl[11][2][3] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HE"); + Map_Ampl[11][3][4] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HO"); + Map_Ampl[11][4][1] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HF"); + Map_Ampl[11][4][2] = (TH2F *)dir->FindObjectAny("h_mapCapCalib047_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO // if (sub==1) cHB->Divide(2,1); @@ -1097,91 +1106,91 @@ int main(int argc, char *argv[]) { //Test 12 (Ac) ADC amplitude for calibration chanels //+++++++++++++++++++++++++++++ - Map_Ampl[12][1][1] = (TH2F *)hfile->Get("h_mapADCCalib047_HB"); - Map_Ampl[12][1][2] = (TH2F *)hfile->Get("h_mapADCCalib047_HB"); - Map_Ampl[12][2][1] = (TH2F *)hfile->Get("h_mapADCCalib047_HE"); - Map_Ampl[12][2][2] = (TH2F *)hfile->Get("h_mapADCCalib047_HE"); - Map_Ampl[12][2][3] = (TH2F *)hfile->Get("h_mapADCCalib047_HE"); - Map_Ampl[12][3][4] = (TH2F *)hfile->Get("h_mapADCCalib047_HO"); - Map_Ampl[12][4][1] = (TH2F *)hfile->Get("h_mapADCCalib047_HF"); - Map_Ampl[12][4][2] = (TH2F *)hfile->Get("h_mapADCCalib047_HF"); + Map_Ampl[12][1][1] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HB"); + Map_Ampl[12][1][2] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HB"); + Map_Ampl[12][2][1] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HE"); + Map_Ampl[12][2][2] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HE"); + Map_Ampl[12][2][3] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HE"); + Map_Ampl[12][3][4] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HO"); + Map_Ampl[12][4][1] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HF"); + Map_Ampl[12][4][2] = (TH2F *)dir->FindObjectAny("h_mapADCCalib047_HF"); - HistAmpl[12][1] = (TH1F *)hfile->Get("h_ADCCalib_HB"); - HistAmpl[12][2] = (TH1F *)hfile->Get("h_ADCCalib_HE"); - HistAmpl[12][3] = (TH1F *)hfile->Get("h_ADCCalib_HO"); - HistAmpl[12][4] = (TH1F *)hfile->Get("h_ADCCalib_HF"); + HistAmpl[12][1] = (TH1F *)dir->FindObjectAny("h_ADCCalib_HB"); + HistAmpl[12][2] = (TH1F *)dir->FindObjectAny("h_ADCCalib_HE"); + HistAmpl[12][3] = (TH1F *)dir->FindObjectAny("h_ADCCalib_HO"); + HistAmpl[12][4] = (TH1F *)dir->FindObjectAny("h_ADCCalib_HF"); //+++++++++++++++++++++++++++++ //Test 13 (Wc) Rate of RMS //+++++++++++++++++++++++++++++ - Map_Ampl[13][1][1] = (TH2F *)hfile->Get("h_mapWidthCalib047_HB"); - Map_Ampl[13][1][2] = (TH2F *)hfile->Get("h_mapWidthCalib047_HB"); - Map_Ampl[13][2][1] = (TH2F *)hfile->Get("h_mapWidthCalib047_HE"); - Map_Ampl[13][2][2] = (TH2F *)hfile->Get("h_mapWidthCalib047_HE"); - Map_Ampl[13][2][3] = (TH2F *)hfile->Get("h_mapWidthCalib047_HE"); - Map_Ampl[13][3][4] = (TH2F *)hfile->Get("h_mapWidthCalib047_HO"); - Map_Ampl[13][4][1] = (TH2F *)hfile->Get("h_mapWidthCalib047_HF"); - Map_Ampl[13][4][2] = (TH2F *)hfile->Get("h_mapWidthCalib047_HF"); + Map_Ampl[13][1][1] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HB"); + Map_Ampl[13][1][2] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HB"); + Map_Ampl[13][2][1] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HE"); + Map_Ampl[13][2][2] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HE"); + Map_Ampl[13][2][3] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HE"); + Map_Ampl[13][3][4] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HO"); + Map_Ampl[13][4][1] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HF"); + Map_Ampl[13][4][2] = (TH2F *)dir->FindObjectAny("h_mapWidthCalib047_HF"); - HistAmpl[13][1] = (TH1F *)hfile->Get("h_WidthCalib_HB"); - HistAmpl[13][2] = (TH1F *)hfile->Get("h_WidthCalib_HE"); - HistAmpl[13][3] = (TH1F *)hfile->Get("h_WidthCalib_HO"); - HistAmpl[13][4] = (TH1F *)hfile->Get("h_WidthCalib_HF"); + HistAmpl[13][1] = (TH1F *)dir->FindObjectAny("h_WidthCalib_HB"); + HistAmpl[13][2] = (TH1F *)dir->FindObjectAny("h_WidthCalib_HE"); + HistAmpl[13][3] = (TH1F *)dir->FindObjectAny("h_WidthCalib_HO"); + HistAmpl[13][4] = (TH1F *)dir->FindObjectAny("h_WidthCalib_HF"); //+++++++++++++++++++++++++++++ //Test 14 (Rc) Rate of ratio 4 near max TS/ All TS //+++++++++++++++++++++++++++++ - Map_Ampl[14][1][1] = (TH2F *)hfile->Get("h_mapRatioCalib047_HB"); - Map_Ampl[14][1][2] = (TH2F *)hfile->Get("h_mapRatioCalib047_HB"); - Map_Ampl[14][2][1] = (TH2F *)hfile->Get("h_mapRatioCalib047_HE"); - Map_Ampl[14][2][2] = (TH2F *)hfile->Get("h_mapRatioCalib047_HE"); - Map_Ampl[14][2][3] = (TH2F *)hfile->Get("h_mapRatioCalib047_HE"); - Map_Ampl[14][3][4] = (TH2F *)hfile->Get("h_mapRatioCalib047_HO"); - Map_Ampl[14][4][1] = (TH2F *)hfile->Get("h_mapRatioCalib047_HF"); - Map_Ampl[14][4][2] = (TH2F *)hfile->Get("h_mapRatioCalib047_HF"); + Map_Ampl[14][1][1] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HB"); + Map_Ampl[14][1][2] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HB"); + Map_Ampl[14][2][1] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HE"); + Map_Ampl[14][2][2] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HE"); + Map_Ampl[14][2][3] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HE"); + Map_Ampl[14][3][4] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HO"); + Map_Ampl[14][4][1] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HF"); + Map_Ampl[14][4][2] = (TH2F *)dir->FindObjectAny("h_mapRatioCalib047_HF"); - HistAmpl[14][1] = (TH1F *)hfile->Get("h_RatioCalib_HB"); - HistAmpl[14][2] = (TH1F *)hfile->Get("h_RatioCalib_HE"); - HistAmpl[14][3] = (TH1F *)hfile->Get("h_RatioCalib_HO"); - HistAmpl[14][4] = (TH1F *)hfile->Get("h_RatioCalib_HF"); + HistAmpl[14][1] = (TH1F *)dir->FindObjectAny("h_RatioCalib_HB"); + HistAmpl[14][2] = (TH1F *)dir->FindObjectAny("h_RatioCalib_HE"); + HistAmpl[14][3] = (TH1F *)dir->FindObjectAny("h_RatioCalib_HO"); + HistAmpl[14][4] = (TH1F *)dir->FindObjectAny("h_RatioCalib_HF"); //+++++++++++++++++++++++++++++ //Test 15 (TNc) Mean position in 1-8 TS range //+++++++++++++++++++++++++++++ - Map_Ampl[15][1][1] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HB"); - Map_Ampl[15][1][2] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HB"); - Map_Ampl[15][2][1] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HE"); - Map_Ampl[15][2][2] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HE"); - Map_Ampl[15][2][3] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HE"); - Map_Ampl[15][3][4] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HO"); - Map_Ampl[15][4][1] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HF"); - Map_Ampl[15][4][2] = (TH2F *)hfile->Get("h_mapTSmeanCalib047_HF"); + Map_Ampl[15][1][1] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HB"); + Map_Ampl[15][1][2] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HB"); + Map_Ampl[15][2][1] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); + Map_Ampl[15][2][2] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); + Map_Ampl[15][2][3] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); + Map_Ampl[15][3][4] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HO"); + Map_Ampl[15][4][1] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HF"); + Map_Ampl[15][4][2] = (TH2F *)dir->FindObjectAny("h_mapTSmeanCalib047_HF"); - HistAmpl[15][1] = (TH1F *)hfile->Get("h_TSmeanCalib_HB"); - HistAmpl[15][2] = (TH1F *)hfile->Get("h_TSmeanCalib_HE"); - HistAmpl[15][3] = (TH1F *)hfile->Get("h_TSmeanCalib_HO"); - HistAmpl[15][4] = (TH1F *)hfile->Get("h_TSmeanCalib_HF"); + HistAmpl[15][1] = (TH1F *)dir->FindObjectAny("h_TSmeanCalib_HB"); + HistAmpl[15][2] = (TH1F *)dir->FindObjectAny("h_TSmeanCalib_HE"); + HistAmpl[15][3] = (TH1F *)dir->FindObjectAny("h_TSmeanCalib_HO"); + HistAmpl[15][4] = (TH1F *)dir->FindObjectAny("h_TSmeanCalib_HF"); //+++++++++++++++++++++++++++++ //Test 16 (TXc) Maximum position in 1-8 TS range //+++++++++++++++++++++++++++++ - Map_Ampl[16][1][1] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HB"); - Map_Ampl[16][1][2] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HB"); - Map_Ampl[16][2][1] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HE"); - Map_Ampl[16][2][2] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HE"); - Map_Ampl[16][2][3] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HE"); - Map_Ampl[16][3][4] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HO"); - Map_Ampl[16][4][1] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HF"); - Map_Ampl[16][4][2] = (TH2F *)hfile->Get("h_mapTSmaxCalib047_HF"); + Map_Ampl[16][1][1] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HB"); + Map_Ampl[16][1][2] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HB"); + Map_Ampl[16][2][1] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); + Map_Ampl[16][2][2] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); + Map_Ampl[16][2][3] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); + Map_Ampl[16][3][4] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HO"); + Map_Ampl[16][4][1] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HF"); + Map_Ampl[16][4][2] = (TH2F *)dir->FindObjectAny("h_mapTSmaxCalib047_HF"); - HistAmpl[16][1] = (TH1F *)hfile->Get("h_TSmaxCalib_HB"); - HistAmpl[16][2] = (TH1F *)hfile->Get("h_TSmaxCalib_HE"); - HistAmpl[16][3] = (TH1F *)hfile->Get("h_TSmaxCalib_HO"); - HistAmpl[16][4] = (TH1F *)hfile->Get("h_TSmaxCalib_HF"); + HistAmpl[16][1] = (TH1F *)dir->FindObjectAny("h_TSmaxCalib_HB"); + HistAmpl[16][2] = (TH1F *)dir->FindObjectAny("h_TSmaxCalib_HE"); + HistAmpl[16][3] = (TH1F *)dir->FindObjectAny("h_TSmaxCalib_HO"); + HistAmpl[16][4] = (TH1F *)dir->FindObjectAny("h_TSmaxCalib_HF"); for (int test = 12; test <= 16; test++) { //Test: 2-Am, 3-Wm, 4-Rm, 5-TNm, 6-TXm, for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO @@ -1488,59 +1497,59 @@ int main(int argc, char *argv[]) { //Test 21 (GS) Amplitude drift //+++++++++++++++++++++++++++++ - Map_Ampl[21][1][1] = (TH2F *)hfile->Get("h_mapDepth1AmplE34_HB"); - Map_Ampl[21][1][2] = (TH2F *)hfile->Get("h_mapDepth2AmplE34_HB"); - Map_Ampl[21][1][3] = (TH2F *)hfile->Get("h_mapDepth3AmplE34_HB"); - Map_Ampl[21][1][4] = (TH2F *)hfile->Get("h_mapDepth4AmplE34_HB"); - Map_Ampl[21][2][1] = (TH2F *)hfile->Get("h_mapDepth1AmplE34_HE"); - Map_Ampl[21][2][2] = (TH2F *)hfile->Get("h_mapDepth2AmplE34_HE"); - Map_Ampl[21][2][3] = (TH2F *)hfile->Get("h_mapDepth3AmplE34_HE"); - Map_Ampl[21][2][4] = (TH2F *)hfile->Get("h_mapDepth4AmplE34_HE"); - Map_Ampl[21][2][5] = (TH2F *)hfile->Get("h_mapDepth5AmplE34_HE"); - Map_Ampl[21][2][6] = (TH2F *)hfile->Get("h_mapDepth6AmplE34_HE"); - Map_Ampl[21][2][7] = (TH2F *)hfile->Get("h_mapDepth7AmplE34_HE"); - Map_Ampl[21][3][4] = (TH2F *)hfile->Get("h_mapDepth4AmplE34_HO"); - Map_Ampl[21][4][1] = (TH2F *)hfile->Get("h_mapDepth1AmplE34_HF"); - Map_Ampl[21][4][2] = (TH2F *)hfile->Get("h_mapDepth2AmplE34_HF"); - Map_Ampl[21][4][3] = (TH2F *)hfile->Get("h_mapDepth3AmplE34_HF"); - Map_Ampl[21][4][4] = (TH2F *)hfile->Get("h_mapDepth4AmplE34_HF"); + Map_Ampl[21][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1AmplE34_HB"); + Map_Ampl[21][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2AmplE34_HB"); + Map_Ampl[21][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3AmplE34_HB"); + Map_Ampl[21][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4AmplE34_HB"); + Map_Ampl[21][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1AmplE34_HE"); + Map_Ampl[21][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2AmplE34_HE"); + Map_Ampl[21][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3AmplE34_HE"); + Map_Ampl[21][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4AmplE34_HE"); + Map_Ampl[21][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5AmplE34_HE"); + Map_Ampl[21][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6AmplE34_HE"); + Map_Ampl[21][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7AmplE34_HE"); + Map_Ampl[21][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4AmplE34_HO"); + Map_Ampl[21][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1AmplE34_HF"); + Map_Ampl[21][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2AmplE34_HF"); + Map_Ampl[21][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3AmplE34_HF"); + Map_Ampl[21][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4AmplE34_HF"); TH2F *Map_RefAmpl[5][ALLDEPTH]; // 2D histogramm for subdet, depth TH2F *Map_RefSUB[5][ALLDEPTH]; // 2d histogramm for subdet, depth - Map_RefAmpl[1][1] = (TH2F *)hreffile->Get("h_mapDepth1AmplE34_HB"); - Map_RefAmpl[1][2] = (TH2F *)hreffile->Get("h_mapDepth2AmplE34_HB"); - Map_RefAmpl[1][3] = (TH2F *)hreffile->Get("h_mapDepth3AmplE34_HB"); - Map_RefAmpl[1][4] = (TH2F *)hreffile->Get("h_mapDepth4AmplE34_HB"); - Map_RefAmpl[2][1] = (TH2F *)hreffile->Get("h_mapDepth1AmplE34_HE"); - Map_RefAmpl[2][2] = (TH2F *)hreffile->Get("h_mapDepth2AmplE34_HE"); - Map_RefAmpl[2][3] = (TH2F *)hreffile->Get("h_mapDepth3AmplE34_HE"); - Map_RefAmpl[2][4] = (TH2F *)hreffile->Get("h_mapDepth4AmplE34_HE"); - Map_RefAmpl[2][5] = (TH2F *)hreffile->Get("h_mapDepth5AmplE34_HE"); - Map_RefAmpl[2][6] = (TH2F *)hreffile->Get("h_mapDepth6AmplE34_HE"); - Map_RefAmpl[2][7] = (TH2F *)hreffile->Get("h_mapDepth7AmplE34_HE"); - Map_RefAmpl[3][4] = (TH2F *)hreffile->Get("h_mapDepth4AmplE34_HO"); - Map_RefAmpl[4][1] = (TH2F *)hreffile->Get("h_mapDepth1AmplE34_HF"); - Map_RefAmpl[4][2] = (TH2F *)hreffile->Get("h_mapDepth2AmplE34_HF"); - Map_RefAmpl[4][3] = (TH2F *)hreffile->Get("h_mapDepth3AmplE34_HF"); - Map_RefAmpl[4][4] = (TH2F *)hreffile->Get("h_mapDepth4AmplE34_HF"); - - Map_RefSUB[1][1] = (TH2F *)hreffile->Get("h_mapDepth1_HB"); - Map_RefSUB[1][2] = (TH2F *)hreffile->Get("h_mapDepth2_HB"); - Map_RefSUB[1][3] = (TH2F *)hreffile->Get("h_mapDepth3_HB"); - Map_RefSUB[1][4] = (TH2F *)hreffile->Get("h_mapDepth4_HB"); - Map_RefSUB[2][1] = (TH2F *)hreffile->Get("h_mapDepth1_HE"); - Map_RefSUB[2][2] = (TH2F *)hreffile->Get("h_mapDepth2_HE"); - Map_RefSUB[2][3] = (TH2F *)hreffile->Get("h_mapDepth3_HE"); - Map_RefSUB[2][4] = (TH2F *)hreffile->Get("h_mapDepth4_HE"); - Map_RefSUB[2][5] = (TH2F *)hreffile->Get("h_mapDepth5_HE"); - Map_RefSUB[2][6] = (TH2F *)hreffile->Get("h_mapDepth6_HE"); - Map_RefSUB[2][7] = (TH2F *)hreffile->Get("h_mapDepth7_HE"); - Map_RefSUB[3][4] = (TH2F *)hreffile->Get("h_mapDepth4_HO"); - Map_RefSUB[4][1] = (TH2F *)hreffile->Get("h_mapDepth1_HF"); - Map_RefSUB[4][2] = (TH2F *)hreffile->Get("h_mapDepth2_HF"); - Map_RefSUB[4][3] = (TH2F *)hreffile->Get("h_mapDepth3_HF"); - Map_RefSUB[4][4] = (TH2F *)hreffile->Get("h_mapDepth4_HF"); + Map_RefAmpl[1][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1AmplE34_HB"); + Map_RefAmpl[1][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2AmplE34_HB"); + Map_RefAmpl[1][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3AmplE34_HB"); + Map_RefAmpl[1][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4AmplE34_HB"); + Map_RefAmpl[2][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1AmplE34_HE"); + Map_RefAmpl[2][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2AmplE34_HE"); + Map_RefAmpl[2][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3AmplE34_HE"); + Map_RefAmpl[2][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4AmplE34_HE"); + Map_RefAmpl[2][5] = (TH2F *)refdir->FindObjectAny("h_mapDepth5AmplE34_HE"); + Map_RefAmpl[2][6] = (TH2F *)refdir->FindObjectAny("h_mapDepth6AmplE34_HE"); + Map_RefAmpl[2][7] = (TH2F *)refdir->FindObjectAny("h_mapDepth7AmplE34_HE"); + Map_RefAmpl[3][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4AmplE34_HO"); + Map_RefAmpl[4][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1AmplE34_HF"); + Map_RefAmpl[4][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2AmplE34_HF"); + Map_RefAmpl[4][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3AmplE34_HF"); + Map_RefAmpl[4][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4AmplE34_HF"); + + Map_RefSUB[1][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1_HB"); + Map_RefSUB[1][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2_HB"); + Map_RefSUB[1][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3_HB"); + Map_RefSUB[1][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4_HB"); + Map_RefSUB[2][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1_HE"); + Map_RefSUB[2][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2_HE"); + Map_RefSUB[2][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3_HE"); + Map_RefSUB[2][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4_HE"); + Map_RefSUB[2][5] = (TH2F *)refdir->FindObjectAny("h_mapDepth5_HE"); + Map_RefSUB[2][6] = (TH2F *)refdir->FindObjectAny("h_mapDepth6_HE"); + Map_RefSUB[2][7] = (TH2F *)refdir->FindObjectAny("h_mapDepth7_HE"); + Map_RefSUB[3][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4_HO"); + Map_RefSUB[4][1] = (TH2F *)refdir->FindObjectAny("h_mapDepth1_HF"); + Map_RefSUB[4][2] = (TH2F *)refdir->FindObjectAny("h_mapDepth2_HF"); + Map_RefSUB[4][3] = (TH2F *)refdir->FindObjectAny("h_mapDepth3_HF"); + Map_RefSUB[4][4] = (TH2F *)refdir->FindObjectAny("h_mapDepth4_HF"); HistAmplDepth[21][1][1] = new TH1F("diffAmpl_Depth1_HB", "", 100, -10., 10.); HistAmplDepth[21][1][2] = new TH1F("diffAmpl_Depth2_HB", "", 100, -10., 10.); @@ -1901,75 +1910,75 @@ int main(int argc, char *argv[]) { //Test 31, 32 Pedestal, pedestalWidths //++++++++++++++++++++++++++++++++++++ - Map_Ampl[31][1][1] = (TH2F *)hfile->Get("h_mapDepth1pedestal_HB"); - Map_Ampl[31][1][2] = (TH2F *)hfile->Get("h_mapDepth2pedestal_HB"); - Map_Ampl[31][1][3] = (TH2F *)hfile->Get("h_mapDepth3pedestal_HB"); - Map_Ampl[31][1][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HB"); - Map_Ampl[31][2][1] = (TH2F *)hfile->Get("h_mapDepth1pedestal_HE"); - Map_Ampl[31][2][2] = (TH2F *)hfile->Get("h_mapDepth2pedestal_HE"); - Map_Ampl[31][2][3] = (TH2F *)hfile->Get("h_mapDepth3pedestal_HE"); - Map_Ampl[31][2][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HE"); - Map_Ampl[31][2][5] = (TH2F *)hfile->Get("h_mapDepth5pedestal_HE"); - Map_Ampl[31][2][6] = (TH2F *)hfile->Get("h_mapDepth6pedestal_HE"); - Map_Ampl[31][2][7] = (TH2F *)hfile->Get("h_mapDepth7pedestal_HE"); - Map_Ampl[31][3][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HO"); - Map_Ampl[31][4][1] = (TH2F *)hfile->Get("h_mapDepth1pedestal_HF"); - Map_Ampl[31][4][2] = (TH2F *)hfile->Get("h_mapDepth2pedestal_HF"); - Map_Ampl[31][4][3] = (TH2F *)hfile->Get("h_mapDepth3pedestal_HF"); - Map_Ampl[31][4][4] = (TH2F *)hfile->Get("h_mapDepth4pedestal_HF"); - - Map_Ampl[32][1][1] = (TH2F *)hfile->Get("h_mapDepth1pedestalw_HB"); - Map_Ampl[32][1][2] = (TH2F *)hfile->Get("h_mapDepth2pedestalw_HB"); - Map_Ampl[32][1][3] = (TH2F *)hfile->Get("h_mapDepth3pedestalw_HB"); - Map_Ampl[32][1][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HB"); - Map_Ampl[32][2][1] = (TH2F *)hfile->Get("h_mapDepth1pedestalw_HE"); - Map_Ampl[32][2][2] = (TH2F *)hfile->Get("h_mapDepth2pedestalw_HE"); - Map_Ampl[32][2][3] = (TH2F *)hfile->Get("h_mapDepth3pedestalw_HE"); - Map_Ampl[32][2][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HE"); - Map_Ampl[32][2][5] = (TH2F *)hfile->Get("h_mapDepth5pedestalw_HE"); - Map_Ampl[32][2][6] = (TH2F *)hfile->Get("h_mapDepth6pedestalw_HE"); - Map_Ampl[32][2][7] = (TH2F *)hfile->Get("h_mapDepth7pedestalw_HE"); - Map_Ampl[32][3][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HO"); - Map_Ampl[32][4][1] = (TH2F *)hfile->Get("h_mapDepth1pedestalw_HF"); - Map_Ampl[32][4][2] = (TH2F *)hfile->Get("h_mapDepth2pedestalw_HF"); - Map_Ampl[32][4][3] = (TH2F *)hfile->Get("h_mapDepth3pedestalw_HF"); - Map_Ampl[32][4][4] = (TH2F *)hfile->Get("h_mapDepth4pedestalw_HF"); - - HistPed[1][1][0] = (TH1F *)hfile->Get("h_pedestal0_HB"); - HistPed[1][1][1] = (TH1F *)hfile->Get("h_pedestal1_HB"); - HistPed[1][1][2] = (TH1F *)hfile->Get("h_pedestal2_HB"); - HistPed[1][1][3] = (TH1F *)hfile->Get("h_pedestal3_HB"); - HistPed[2][1][0] = (TH1F *)hfile->Get("h_pedestalw0_HB"); - HistPed[2][1][1] = (TH1F *)hfile->Get("h_pedestalw1_HB"); - HistPed[2][1][2] = (TH1F *)hfile->Get("h_pedestalw2_HB"); - HistPed[2][1][3] = (TH1F *)hfile->Get("h_pedestalw3_HB"); - - HistPed[1][2][0] = (TH1F *)hfile->Get("h_pedestal0_HE"); - HistPed[1][2][1] = (TH1F *)hfile->Get("h_pedestal1_HE"); - HistPed[1][2][2] = (TH1F *)hfile->Get("h_pedestal2_HE"); - HistPed[1][2][3] = (TH1F *)hfile->Get("h_pedestal3_HE"); - HistPed[2][2][0] = (TH1F *)hfile->Get("h_pedestalw0_HE"); - HistPed[2][2][1] = (TH1F *)hfile->Get("h_pedestalw1_HE"); - HistPed[2][2][2] = (TH1F *)hfile->Get("h_pedestalw2_HE"); - HistPed[2][2][3] = (TH1F *)hfile->Get("h_pedestalw3_HE"); - - HistPed[1][3][0] = (TH1F *)hfile->Get("h_pedestal0_HO"); - HistPed[1][3][1] = (TH1F *)hfile->Get("h_pedestal1_HO"); - HistPed[1][3][2] = (TH1F *)hfile->Get("h_pedestal2_HO"); - HistPed[1][3][3] = (TH1F *)hfile->Get("h_pedestal3_HO"); - HistPed[2][3][0] = (TH1F *)hfile->Get("h_pedestalw0_HO"); - HistPed[2][3][1] = (TH1F *)hfile->Get("h_pedestalw1_HO"); - HistPed[2][3][2] = (TH1F *)hfile->Get("h_pedestalw2_HO"); - HistPed[2][3][3] = (TH1F *)hfile->Get("h_pedestalw3_HO"); - - HistPed[1][4][0] = (TH1F *)hfile->Get("h_pedestal0_HF"); - HistPed[1][4][1] = (TH1F *)hfile->Get("h_pedestal1_HF"); - HistPed[1][4][2] = (TH1F *)hfile->Get("h_pedestal2_HF"); - HistPed[1][4][3] = (TH1F *)hfile->Get("h_pedestal3_HF"); - HistPed[2][4][0] = (TH1F *)hfile->Get("h_pedestalw0_HF"); - HistPed[2][4][1] = (TH1F *)hfile->Get("h_pedestalw1_HF"); - HistPed[2][4][2] = (TH1F *)hfile->Get("h_pedestalw2_HF"); - HistPed[2][4][3] = (TH1F *)hfile->Get("h_pedestalw3_HF"); + Map_Ampl[31][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestal_HB"); + Map_Ampl[31][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestal_HB"); + Map_Ampl[31][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestal_HB"); + Map_Ampl[31][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HB"); + Map_Ampl[31][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestal_HE"); + Map_Ampl[31][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestal_HE"); + Map_Ampl[31][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestal_HE"); + Map_Ampl[31][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HE"); + Map_Ampl[31][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5pedestal_HE"); + Map_Ampl[31][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6pedestal_HE"); + Map_Ampl[31][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7pedestal_HE"); + Map_Ampl[31][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HO"); + Map_Ampl[31][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestal_HF"); + Map_Ampl[31][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestal_HF"); + Map_Ampl[31][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestal_HF"); + Map_Ampl[31][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestal_HF"); + + Map_Ampl[32][1][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestalw_HB"); + Map_Ampl[32][1][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestalw_HB"); + Map_Ampl[32][1][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestalw_HB"); + Map_Ampl[32][1][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HB"); + Map_Ampl[32][2][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestalw_HE"); + Map_Ampl[32][2][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestalw_HE"); + Map_Ampl[32][2][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestalw_HE"); + Map_Ampl[32][2][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HE"); + Map_Ampl[32][2][5] = (TH2F *)dir->FindObjectAny("h_mapDepth5pedestalw_HE"); + Map_Ampl[32][2][6] = (TH2F *)dir->FindObjectAny("h_mapDepth6pedestalw_HE"); + Map_Ampl[32][2][7] = (TH2F *)dir->FindObjectAny("h_mapDepth7pedestalw_HE"); + Map_Ampl[32][3][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HO"); + Map_Ampl[32][4][1] = (TH2F *)dir->FindObjectAny("h_mapDepth1pedestalw_HF"); + Map_Ampl[32][4][2] = (TH2F *)dir->FindObjectAny("h_mapDepth2pedestalw_HF"); + Map_Ampl[32][4][3] = (TH2F *)dir->FindObjectAny("h_mapDepth3pedestalw_HF"); + Map_Ampl[32][4][4] = (TH2F *)dir->FindObjectAny("h_mapDepth4pedestalw_HF"); + + HistPed[1][1][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HB"); + HistPed[1][1][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HB"); + HistPed[1][1][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HB"); + HistPed[1][1][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HB"); + HistPed[2][1][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HB"); + HistPed[2][1][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HB"); + HistPed[2][1][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HB"); + HistPed[2][1][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HB"); + + HistPed[1][2][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HE"); + HistPed[1][2][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HE"); + HistPed[1][2][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HE"); + HistPed[1][2][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HE"); + HistPed[2][2][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HE"); + HistPed[2][2][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HE"); + HistPed[2][2][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HE"); + HistPed[2][2][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HE"); + + HistPed[1][3][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HO"); + HistPed[1][3][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HO"); + HistPed[1][3][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HO"); + HistPed[1][3][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HO"); + HistPed[2][3][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HO"); + HistPed[2][3][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HO"); + HistPed[2][3][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HO"); + HistPed[2][3][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HO"); + + HistPed[1][4][0] = (TH1F *)dir->FindObjectAny("h_pedestal0_HF"); + HistPed[1][4][1] = (TH1F *)dir->FindObjectAny("h_pedestal1_HF"); + HistPed[1][4][2] = (TH1F *)dir->FindObjectAny("h_pedestal2_HF"); + HistPed[1][4][3] = (TH1F *)dir->FindObjectAny("h_pedestal3_HF"); + HistPed[2][4][0] = (TH1F *)dir->FindObjectAny("h_pedestalw0_HF"); + HistPed[2][4][1] = (TH1F *)dir->FindObjectAny("h_pedestalw1_HF"); + HistPed[2][4][2] = (TH1F *)dir->FindObjectAny("h_pedestalw2_HF"); + HistPed[2][4][3] = (TH1F *)dir->FindObjectAny("h_pedestalw3_HF"); for (int test = 31; test <= 32; test++) { //Test: 31-Pedestals, 32-pedestal Widths, for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF @@ -2161,14 +2170,14 @@ int main(int argc, char *argv[]) { //++++++++++++++++++++++++++++++++++++ cPED->Clear(); - Map_Ped[1][1] = (TH2F *)hfile->Get("h2_pedvsampl_HB"); - Map_Ped[1][2] = (TH2F *)hfile->Get("h2_pedvsampl_HE"); - Map_Ped[1][3] = (TH2F *)hfile->Get("h2_pedvsampl_HO"); - Map_Ped[1][4] = (TH2F *)hfile->Get("h2_pedvsampl_HF"); - Map_Ped[2][1] = (TH2F *)hfile->Get("h2_pedwvsampl_HB"); - Map_Ped[2][2] = (TH2F *)hfile->Get("h2_pedwvsampl_HE"); - Map_Ped[2][3] = (TH2F *)hfile->Get("h2_pedwvsampl_HO"); - Map_Ped[2][4] = (TH2F *)hfile->Get("h2_pedwvsampl_HF"); + Map_Ped[1][1] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HB"); + Map_Ped[1][2] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HE"); + Map_Ped[1][3] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HO"); + Map_Ped[1][4] = (TH2F *)dir->FindObjectAny("h2_pedvsampl_HF"); + Map_Ped[2][1] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HB"); + Map_Ped[2][2] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HE"); + Map_Ped[2][3] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HO"); + Map_Ped[2][4] = (TH2F *)dir->FindObjectAny("h2_pedwvsampl_HF"); for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF cPED->Divide(2, 1); for (int test = 1; test <= 2; test++) { @@ -2216,25 +2225,25 @@ int main(int argc, char *argv[]) { //++++++++++++++++++++++++++++++++++++ cONE->Clear(); - hist_GoodTSshape[1] = (TH1F *)hfile->Get("h_shape_good_channels_HB"); - hist_GoodTSshape[2] = (TH1F *)hfile->Get("h_shape_good_channels_HE"); - hist_GoodTSshape[3] = (TH1F *)hfile->Get("h_shape_good_channels_HO"); - hist_GoodTSshape[4] = (TH1F *)hfile->Get("h_shape_good_channels_HF"); - - hist_GoodTSshape0[1] = (TH1F *)hfile->Get("h_shape0_good_channels_HB"); - hist_GoodTSshape0[2] = (TH1F *)hfile->Get("h_shape0_good_channels_HE"); - hist_GoodTSshape0[3] = (TH1F *)hfile->Get("h_shape0_good_channels_HO"); - hist_GoodTSshape0[4] = (TH1F *)hfile->Get("h_shape0_good_channels_HF"); - - hist_BadTSshape[1] = (TH1F *)hfile->Get("h_shape_bad_channels_HB"); - hist_BadTSshape[2] = (TH1F *)hfile->Get("h_shape_bad_channels_HE"); - hist_BadTSshape[3] = (TH1F *)hfile->Get("h_shape_bad_channels_HO"); - hist_BadTSshape[4] = (TH1F *)hfile->Get("h_shape_bad_channels_HF"); - - hist_BadTSshape0[1] = (TH1F *)hfile->Get("h_shape0_bad_channels_HB"); - hist_BadTSshape0[2] = (TH1F *)hfile->Get("h_shape0_bad_channels_HE"); - hist_BadTSshape0[3] = (TH1F *)hfile->Get("h_shape0_bad_channels_HO"); - hist_BadTSshape0[4] = (TH1F *)hfile->Get("h_shape0_bad_channels_HF"); + hist_GoodTSshape[1] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HB"); + hist_GoodTSshape[2] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HE"); + hist_GoodTSshape[3] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HO"); + hist_GoodTSshape[4] = (TH1F *)dir->FindObjectAny("h_shape_good_channels_HF"); + + hist_GoodTSshape0[1] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HB"); + hist_GoodTSshape0[2] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HE"); + hist_GoodTSshape0[3] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HO"); + hist_GoodTSshape0[4] = (TH1F *)dir->FindObjectAny("h_shape0_good_channels_HF"); + + hist_BadTSshape[1] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HB"); + hist_BadTSshape[2] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HE"); + hist_BadTSshape[3] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HO"); + hist_BadTSshape[4] = (TH1F *)dir->FindObjectAny("h_shape_bad_channels_HF"); + + hist_BadTSshape0[1] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HB"); + hist_BadTSshape0[2] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HE"); + hist_BadTSshape0[3] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HO"); + hist_BadTSshape0[4] = (TH1F *)dir->FindObjectAny("h_shape0_bad_channels_HF"); cONE->cd(1); @@ -2311,20 +2320,20 @@ int main(int argc, char *argv[]) { std::cout<<" We are here to print ADC "<Get("h_ADC_HB"); - hist_ADC_All[2] = (TH1F*)hfile->Get("h_ADC_HE"); - hist_ADC_All[3] = (TH1F*)hfile->Get("h_ADC_HO"); - hist_ADC_All[4] = (TH1F*)hfile->Get("h_ADC_HF"); + hist_ADC_All[1] = (TH1F*)dir->FindObjectAny("h_ADC_HB"); + hist_ADC_All[2] = (TH1F*)dir->FindObjectAny("h_ADC_HE"); + hist_ADC_All[3] = (TH1F*)dir->FindObjectAny("h_ADC_HO"); + hist_ADC_All[4] = (TH1F*)dir->FindObjectAny("h_ADC_HF"); - hist_ADC_DS[1][1] = (TH1F*)hfile->Get("h_ADC_HBdepth1"); - hist_ADC_DS[1][2] = (TH1F*)hfile->Get("h_ADC_HBdepth2"); - hist_ADC_DS[2][1] = (TH1F*)hfile->Get("h_ADC_HEdepth1"); - hist_ADC_DS[2][2] = (TH1F*)hfile->Get("h_ADC_HEdepth2"); - hist_ADC_DS[2][3] = (TH1F*)hfile->Get("h_ADC_HEdepth3"); - hist_ADC_DS[3][4] = (TH1F*)hfile->Get("h_ADC_HOdepth4"); - hist_ADC_DS[4][1] = (TH1F*)hfile->Get("h_ADC_HFdepth1"); - hist_ADC_DS[4][2] = (TH1F*)hfile->Get("h_ADC_HFdepth2"); + hist_ADC_DS[1][1] = (TH1F*)dir->FindObjectAny("h_ADC_HBdepth1"); + hist_ADC_DS[1][2] = (TH1F*)dir->FindObjectAny("h_ADC_HBdepth2"); + hist_ADC_DS[2][1] = (TH1F*)dir->FindObjectAny("h_ADC_HEdepth1"); + hist_ADC_DS[2][2] = (TH1F*)dir->FindObjectAny("h_ADC_HEdepth2"); + hist_ADC_DS[2][3] = (TH1F*)dir->FindObjectAny("h_ADC_HEdepth3"); + hist_ADC_DS[3][4] = (TH1F*)dir->FindObjectAny("h_ADC_HOdepth4"); + hist_ADC_DS[4][1] = (TH1F*)dir->FindObjectAny("h_ADC_HFdepth1"); + hist_ADC_DS[4][2] = (TH1F*)dir->FindObjectAny("h_ADC_HFdepth2"); cONE->Clear(); @@ -2394,32 +2403,32 @@ std::cout<<" We are here to print ADC "<Get("h_sumamplitude_depth1_HB"); - hist_SumADC[1][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HB"); - hist_SumADC[2][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HE"); - hist_SumADC[2][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HE"); - hist_SumADC[2][3] = (TH1F*)hfile->Get("h_sumamplitude_depth3_HE"); - hist_SumADC[3][4] = (TH1F*)hfile->Get("h_sumamplitude_depth4_HO"); - hist_SumADC[4][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HF"); - hist_SumADC[4][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HF"); - - hist_SumADC0[1][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HB0"); - hist_SumADC0[1][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HB0"); - hist_SumADC0[2][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HE0"); - hist_SumADC0[2][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HE0"); - hist_SumADC0[2][3] = (TH1F*)hfile->Get("h_sumamplitude_depth3_HE0"); - hist_SumADC0[3][4] = (TH1F*)hfile->Get("h_sumamplitude_depth4_HO0"); - hist_SumADC0[4][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HF0"); - hist_SumADC0[4][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HF0"); - - hist_SumADC1[1][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HB1"); - hist_SumADC1[1][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HB1"); - hist_SumADC1[2][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HE1"); - hist_SumADC1[2][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HE1"); - hist_SumADC1[2][3] = (TH1F*)hfile->Get("h_sumamplitude_depth3_HE1"); - hist_SumADC1[3][4] = (TH1F*)hfile->Get("h_sumamplitude_depth4_HO1"); - hist_SumADC1[4][1] = (TH1F*)hfile->Get("h_sumamplitude_depth1_HF1"); - hist_SumADC1[4][2] = (TH1F*)hfile->Get("h_sumamplitude_depth2_HF1"); + hist_SumADC[1][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HB"); + hist_SumADC[1][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HB"); + hist_SumADC[2][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HE"); + hist_SumADC[2][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HE"); + hist_SumADC[2][3] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth3_HE"); + hist_SumADC[3][4] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth4_HO"); + hist_SumADC[4][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HF"); + hist_SumADC[4][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HF"); + + hist_SumADC0[1][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HB0"); + hist_SumADC0[1][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HB0"); + hist_SumADC0[2][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HE0"); + hist_SumADC0[2][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HE0"); + hist_SumADC0[2][3] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth3_HE0"); + hist_SumADC0[3][4] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth4_HO0"); + hist_SumADC0[4][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HF0"); + hist_SumADC0[4][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HF0"); + + hist_SumADC1[1][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HB1"); + hist_SumADC1[1][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HB1"); + hist_SumADC1[2][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HE1"); + hist_SumADC1[2][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HE1"); + hist_SumADC1[2][3] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth3_HE1"); + hist_SumADC1[3][4] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth4_HO1"); + hist_SumADC1[4][1] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth1_HF1"); + hist_SumADC1[4][2] = (TH1F*)dir->FindObjectAny("h_sumamplitude_depth2_HF1"); for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF if (sub==1) cHB->Divide(2,1); @@ -2577,32 +2586,32 @@ std::cout<<" We are here to print ADC "<Get("h_maprphinorm_HE1"); - TH2F *maprphinorm0HE1 = (TH2F *)hfile->Get("h_maprphinorm0_HE1"); + TH2F *maprphinorm1HE1 = (TH2F *)dir->FindObjectAny("h_maprphinorm_HE1"); + TH2F *maprphinorm0HE1 = (TH2F *)dir->FindObjectAny("h_maprphinorm0_HE1"); TH2F *maprphinormHE1 = (TH2F *)maprphinorm1HE1->Clone("maprphinormHE1"); maprphinormHE1->Divide(maprphinorm1HE1, maprphinorm0HE1, 1, 1, "B"); - TH2F *maprphinorm1HE2 = (TH2F *)hfile->Get("h_maprphinorm_HE2"); - TH2F *maprphinorm0HE2 = (TH2F *)hfile->Get("h_maprphinorm0_HE2"); + TH2F *maprphinorm1HE2 = (TH2F *)dir->FindObjectAny("h_maprphinorm_HE2"); + TH2F *maprphinorm0HE2 = (TH2F *)dir->FindObjectAny("h_maprphinorm0_HE2"); TH2F *maprphinormHE2 = (TH2F *)maprphinorm1HE2->Clone("maprphinormHE2"); maprphinormHE2->Divide(maprphinorm1HE2, maprphinorm0HE2, 1, 1, "B"); - TH2F *maprphinorm1HE3 = (TH2F *)hfile->Get("h_maprphinorm_HE3"); - TH2F *maprphinorm0HE3 = (TH2F *)hfile->Get("h_maprphinorm0_HE3"); + TH2F *maprphinorm1HE3 = (TH2F *)dir->FindObjectAny("h_maprphinorm_HE3"); + TH2F *maprphinorm0HE3 = (TH2F *)dir->FindObjectAny("h_maprphinorm0_HE3"); TH2F *maprphinormHE3 = (TH2F *)maprphinorm1HE3->Clone("maprphinormHE3"); maprphinormHE3->Divide(maprphinorm1HE3, maprphinorm0HE3, 1, 1, "B"); - TH2F *maprphinorm1HE4 = (TH2F *)hfile->Get("h_maprphinorm_HE4"); - TH2F *maprphinorm0HE4 = (TH2F *)hfile->Get("h_maprphinorm0_HE4"); + TH2F *maprphinorm1HE4 = (TH2F *)dir->FindObjectAny("h_maprphinorm_HE4"); + TH2F *maprphinorm0HE4 = (TH2F *)dir->FindObjectAny("h_maprphinorm0_HE4"); TH2F *maprphinormHE4 = (TH2F *)maprphinorm1HE4->Clone("maprphinormHE4"); maprphinormHE4->Divide(maprphinorm1HE4, maprphinorm0HE4, 1, 1, "B"); - TH2F *maprphinorm1HE5 = (TH2F *)hfile->Get("h_maprphinorm_HE5"); - TH2F *maprphinorm0HE5 = (TH2F *)hfile->Get("h_maprphinorm0_HE5"); + TH2F *maprphinorm1HE5 = (TH2F *)dir->FindObjectAny("h_maprphinorm_HE5"); + TH2F *maprphinorm0HE5 = (TH2F *)dir->FindObjectAny("h_maprphinorm0_HE5"); TH2F *maprphinormHE5 = (TH2F *)maprphinorm1HE5->Clone("maprphinormHE5"); maprphinormHE5->Divide(maprphinorm1HE5, maprphinorm0HE5, 1, 1, "B"); - TH2F *maprphinorm1HE6 = (TH2F *)hfile->Get("h_maprphinorm_HE6"); - TH2F *maprphinorm0HE6 = (TH2F *)hfile->Get("h_maprphinorm0_HE6"); + TH2F *maprphinorm1HE6 = (TH2F *)dir->FindObjectAny("h_maprphinorm_HE6"); + TH2F *maprphinorm0HE6 = (TH2F *)dir->FindObjectAny("h_maprphinorm0_HE6"); TH2F *maprphinormHE6 = (TH2F *)maprphinorm1HE6->Clone("maprphinormHE6"); maprphinormHE6->Divide(maprphinorm1HE6, maprphinorm0HE6, 1, 1, "B"); - TH2F *maprphinorm1HE7 = (TH2F *)hfile->Get("h_maprphinorm_HE7"); - TH2F *maprphinorm0HE7 = (TH2F *)hfile->Get("h_maprphinorm0_HE7"); + TH2F *maprphinorm1HE7 = (TH2F *)dir->FindObjectAny("h_maprphinorm_HE7"); + TH2F *maprphinorm0HE7 = (TH2F *)dir->FindObjectAny("h_maprphinorm0_HE7"); TH2F *maprphinormHE7 = (TH2F *)maprphinorm1HE7->Clone("maprphinormHE7"); maprphinormHE7->Divide(maprphinorm1HE7, maprphinorm0HE7, 1, 1, "B"); //=========================== put R into massive alexhe @@ -3269,32 +3278,32 @@ std::cout<<" We are here to print ADC "<Get("h_maprphinorm2_HE1"); - TH2F *mapdphinorm0HE1 = (TH2F *)hfile->Get("h_maprphinorm0_HE1"); + TH2F *mapdphinorm1HE1 = (TH2F *)dir->FindObjectAny("h_maprphinorm2_HE1"); + TH2F *mapdphinorm0HE1 = (TH2F *)dir->FindObjectAny("h_maprphinorm0_HE1"); TH2F *mapdphinormHE1 = (TH2F *)mapdphinorm1HE1->Clone("mapdphinormHE1"); mapdphinormHE1->Divide(mapdphinorm1HE1, mapdphinorm0HE1, 1, 1, "B"); - TH2F *mapdphinorm1HE2 = (TH2F *)hfile->Get("h_maprphinorm2_HE2"); - TH2F *mapdphinorm0HE2 = (TH2F *)hfile->Get("h_maprphinorm0_HE2"); + TH2F *mapdphinorm1HE2 = (TH2F *)dir->FindObjectAny("h_maprphinorm2_HE2"); + TH2F *mapdphinorm0HE2 = (TH2F *)dir->FindObjectAny("h_maprphinorm0_HE2"); TH2F *mapdphinormHE2 = (TH2F *)mapdphinorm1HE2->Clone("mapdphinormHE2"); mapdphinormHE2->Divide(mapdphinorm1HE2, mapdphinorm0HE2, 1, 1, "B"); - TH2F *mapdphinorm1HE3 = (TH2F *)hfile->Get("h_maprphinorm2_HE3"); - TH2F *mapdphinorm0HE3 = (TH2F *)hfile->Get("h_maprphinorm0_HE3"); + TH2F *mapdphinorm1HE3 = (TH2F *)dir->FindObjectAny("h_maprphinorm2_HE3"); + TH2F *mapdphinorm0HE3 = (TH2F *)dir->FindObjectAny("h_maprphinorm0_HE3"); TH2F *mapdphinormHE3 = (TH2F *)mapdphinorm1HE3->Clone("mapdphinormHE3"); mapdphinormHE3->Divide(mapdphinorm1HE3, mapdphinorm0HE3, 1, 1, "B"); - TH2F *mapdphinorm1HE4 = (TH2F *)hfile->Get("h_maprphinorm2_HE4"); - TH2F *mapdphinorm0HE4 = (TH2F *)hfile->Get("h_maprphinorm0_HE4"); + TH2F *mapdphinorm1HE4 = (TH2F *)dir->FindObjectAny("h_maprphinorm2_HE4"); + TH2F *mapdphinorm0HE4 = (TH2F *)dir->FindObjectAny("h_maprphinorm0_HE4"); TH2F *mapdphinormHE4 = (TH2F *)mapdphinorm1HE4->Clone("mapdphinormHE4"); mapdphinormHE4->Divide(mapdphinorm1HE4, mapdphinorm0HE4, 1, 1, "B"); - TH2F *mapdphinorm1HE5 = (TH2F *)hfile->Get("h_maprphinorm2_HE5"); - TH2F *mapdphinorm0HE5 = (TH2F *)hfile->Get("h_maprphinorm0_HE5"); + TH2F *mapdphinorm1HE5 = (TH2F *)dir->FindObjectAny("h_maprphinorm2_HE5"); + TH2F *mapdphinorm0HE5 = (TH2F *)dir->FindObjectAny("h_maprphinorm0_HE5"); TH2F *mapdphinormHE5 = (TH2F *)mapdphinorm1HE5->Clone("mapdphinormHE5"); mapdphinormHE5->Divide(mapdphinorm1HE5, mapdphinorm0HE5, 1, 1, "B"); - TH2F *mapdphinorm1HE6 = (TH2F *)hfile->Get("h_maprphinorm2_HE6"); - TH2F *mapdphinorm0HE6 = (TH2F *)hfile->Get("h_maprphinorm0_HE6"); + TH2F *mapdphinorm1HE6 = (TH2F *)dir->FindObjectAny("h_maprphinorm2_HE6"); + TH2F *mapdphinorm0HE6 = (TH2F *)dir->FindObjectAny("h_maprphinorm0_HE6"); TH2F *mapdphinormHE6 = (TH2F *)mapdphinorm1HE6->Clone("mapdphinormHE6"); mapdphinormHE6->Divide(mapdphinorm1HE6, mapdphinorm0HE6, 1, 1, "B"); - TH2F *mapdphinorm1HE7 = (TH2F *)hfile->Get("h_maprphinorm2_HE7"); - TH2F *mapdphinorm0HE7 = (TH2F *)hfile->Get("h_maprphinorm0_HE7"); + TH2F *mapdphinorm1HE7 = (TH2F *)dir->FindObjectAny("h_maprphinorm2_HE7"); + TH2F *mapdphinorm0HE7 = (TH2F *)dir->FindObjectAny("h_maprphinorm0_HE7"); TH2F *mapdphinormHE7 = (TH2F *)mapdphinorm1HE7->Clone("mapdphinormHE7"); mapdphinormHE7->Divide(mapdphinorm1HE7, mapdphinorm0HE7, 1, 1, "B"); cout << " Vaiance: preparation DONE *****" << endl; @@ -4232,7 +4241,7 @@ std::cout<<" We are here to print ADC "<Divide(2, 2); cmain1->cd(1); - TH1F *JDBEYESJ0 = (TH1F *)hfile->Get("h_totalAmplitudeHBperEvent"); + TH1F *JDBEYESJ0 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHBperEvent"); JDBEYESJ0->SetStats(0); JDBEYESJ0->SetMarkerStyle(20); JDBEYESJ0->SetMarkerSize(0.8); @@ -4246,7 +4255,7 @@ std::cout<<" We are here to print ADC "<Draw("HIST same P0"); cmain1->cd(2); - TH1F *JDBEYESJ1 = (TH1F *)hfile->Get("h_totalAmplitudeHEperEvent"); + TH1F *JDBEYESJ1 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHEperEvent"); JDBEYESJ1->SetStats(0); JDBEYESJ1->SetMarkerStyle(20); JDBEYESJ1->SetMarkerSize(0.8); @@ -4260,7 +4269,7 @@ std::cout<<" We are here to print ADC "<Draw("HIST same P0"); cmain1->cd(3); - TH1F *JDBEYESJ2 = (TH1F *)hfile->Get("h_totalAmplitudeHFperEvent"); + TH1F *JDBEYESJ2 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHFperEvent"); JDBEYESJ2->SetStats(0); JDBEYESJ2->SetMarkerStyle(20); JDBEYESJ2->SetMarkerSize(0.8); @@ -4274,7 +4283,7 @@ std::cout<<" We are here to print ADC "<Draw("HIST same P0"); cmain1->cd(4); - TH1F *JDBEYESJ3 = (TH1F *)hfile->Get("h_totalAmplitudeHOperEvent"); + TH1F *JDBEYESJ3 = (TH1F *)dir->FindObjectAny("h_totalAmplitudeHOperEvent"); JDBEYESJ3->SetStats(0); JDBEYESJ3->SetMarkerStyle(20); JDBEYESJ3->SetMarkerSize(0.8); diff --git a/DPGAnalysis/HcalTools/plugins/CMTRawAnalyzer.cc b/DPGAnalysis/HcalTools/plugins/CMTRawAnalyzer.cc index aa2b3f526d319..6866936f52bb1 100644 --- a/DPGAnalysis/HcalTools/plugins/CMTRawAnalyzer.cc +++ b/DPGAnalysis/HcalTools/plugins/CMTRawAnalyzer.cc @@ -496,6 +496,7 @@ class CMTRawAnalyzer : public edm::one::EDAnalyzer("usePedestalSubtraction"); usecontinuousnumbering_ = iConfig.getUntrackedParameter("usecontinuousnumbering"); flagLaserRaddam_ = iConfig.getParameter("flagLaserRaddam"); + flagToUseDigiCollectionsORNot_ = iConfig.getParameter("flagToUseDigiCollectionsORNot"); flagIterativeMethodCalibrationGroupDigi_ = iConfig.getParameter("flagIterativeMethodCalibrationGroupDigi"); flagIterativeMethodCalibrationGroupReco_ = iConfig.getParameter("flagIterativeMethodCalibrationGroupReco"); flagfitshunt1pedorledlowintensity_ = iConfig.getParameter("flagfitshunt1pedorledlowintensity"); @@ -4170,6 +4172,9 @@ void CMTRawAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& iS /////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////// END of GENERAL NULLING //////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////////////// + + if (flagToUseDigiCollectionsORNot_ != 0 ) { + /////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////// START of DigiCollections running: /////////////////////////////////// //////////////////////////////////////////////////////////////////// if (flagupgradeqie1011_ != 2 && flagupgradeqie1011_ != 3 && flagupgradeqie1011_ != 6 && flagupgradeqie1011_ != 7 && @@ -4588,6 +4593,7 @@ void CMTRawAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& iS h_totalAmplitudeHO->Fill(totalAmplitudeHO); h_totalAmplitudeHOperEvent->Fill(float(eventcounter), totalAmplitudeHO); } //ho.isValid( + }// flagToUseDigiCollectionsORNot_ //////////////////////////////////// RecHits for phi-symmetry monitoring of calibration group: // AZ 04.11.2019 @@ -4630,12 +4636,12 @@ void CMTRawAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& iS //std::cout<make("h_amplitudechannel2_HF4", " ", neta, -41., 41., nphi, 0., bphi); // Reco - h_energyhitSignal_HB = fs_->make("h_energyhitSignal_HB", " ", npfit, 0., 0.); // - h_energyhitSignal_HE = fs_->make("h_energyhitSignal_HE", " ", npfit, 0., 0.); // - h_energyhitSignal_HF = fs_->make("h_energyhitSignal_HF", " ", npfit, 0., 0.); // - h_energyhitNoise_HB = fs_->make("h_energyhitNoise_HB", " ", npfit, 0., 0.); // - h_energyhitNoise_HE = fs_->make("h_energyhitNoise_HE", " ", npfit, 0., 0.); // - h_energyhitNoise_HF = fs_->make("h_energyhitNoise_HF", " ", npfit, 0., 0.); // - + h_energyhitSignal_HB = fs_->make("h_energyhitSignal_HB", " ", npfit, -0.22, 0.22); + h_energyhitSignal_HE = fs_->make("h_energyhitSignal_HE", " ", npfit, -0.22, 0.22); + h_energyhitSignal_HF = fs_->make("h_energyhitSignal_HF", " ", npfit, -6.6, 6.6); + h_energyhitNoise_HB = fs_->make("h_energyhitNoise_HB", " ", npfit, -0.22, 0.22); + h_energyhitNoise_HE = fs_->make("h_energyhitNoise_HE", " ", npfit, -0.22, 0.22); + h_energyhitNoise_HF = fs_->make("h_energyhitNoise_HF", " ", npfit, -4.4, 4.4); + //HB: h_recSignalEnergy0_HB1 = fs_->make("h_recSignalEnergy0_HB1", " ", neta, -41., 41., nphi, 0., bphi); h_recSignalEnergy1_HB1 = fs_->make("h_recSignalEnergy1_HB1", " ", neta, -41., 41., nphi, 0., bphi); @@ -7982,7 +7988,7 @@ void CMTRawAnalyzer::beginJob() { void CMTRawAnalyzer::fillDigiErrors(HBHEDigiCollection::const_iterator& digiItr) { CaloSamples toolOriginal; // TS // double tool[100]; - if (verbosity == -22) + if (verbosity < 0) std::cout << "************** in loop over Digis counter = " << nnnnnnhbhe << std::endl; HcalDetId cell(digiItr->id()); int mdepth = cell.depth(); diff --git a/DPGAnalysis/HcalTools/python/remoteMonitoring_LASER_era2018_cfg.py b/DPGAnalysis/HcalTools/python/remoteMonitoring_LASER_era2018_cfg.py index 3955e6f1ba34d..23f8b6c09b3f5 100644 --- a/DPGAnalysis/HcalTools/python/remoteMonitoring_LASER_era2018_cfg.py +++ b/DPGAnalysis/HcalTools/python/remoteMonitoring_LASER_era2018_cfg.py @@ -392,6 +392,8 @@ forallestimators_amplitude_bigger = cms.double(-100.), # # + # if 0 - do not use digis at all + flagToUseDigiCollectionsORNot = cms.int32(1), # #usecontinuousnumbering = cms.untracked.bool(False), usecontinuousnumbering = cms.untracked.bool(True), diff --git a/DPGAnalysis/HcalTools/python/remoteMonitoring_LASER_era2019_cfg.py b/DPGAnalysis/HcalTools/python/remoteMonitoring_LASER_era2019_cfg.py index cf9139421f9e6..710aaa6cc8ff3 100644 --- a/DPGAnalysis/HcalTools/python/remoteMonitoring_LASER_era2019_cfg.py +++ b/DPGAnalysis/HcalTools/python/remoteMonitoring_LASER_era2019_cfg.py @@ -393,6 +393,8 @@ forallestimators_amplitude_bigger = cms.double(-100.), # # + # if 0 - do not use digis at all + flagToUseDigiCollectionsORNot = cms.int32(1), # #usecontinuousnumbering = cms.untracked.bool(False), usecontinuousnumbering = cms.untracked.bool(True), diff --git a/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_IterMethod_cfg.py b/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_IterMethod_cfg.py index 59ce0e97f88ce..27a66584f09c2 100644 --- a/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_IterMethod_cfg.py +++ b/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_IterMethod_cfg.py @@ -318,6 +318,8 @@ forallestimators_amplitude_bigger = cms.double(-100.), # # + # if 0 - do not use digis at all + flagToUseDigiCollectionsORNot = cms.int32(1), # #usecontinuousnumbering = cms.untracked.bool(False), usecontinuousnumbering = cms.untracked.bool(True), diff --git a/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_era2018_cfg.py b/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_era2018_cfg.py index ccd4ad97579ec..5acd11e081308 100644 --- a/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_era2018_cfg.py +++ b/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_era2018_cfg.py @@ -390,6 +390,8 @@ forallestimators_amplitude_bigger = cms.double(-100.), # # + # if 0 - do not use digis at all + flagToUseDigiCollectionsORNot = cms.int32(1), # #usecontinuousnumbering = cms.untracked.bool(False), usecontinuousnumbering = cms.untracked.bool(True), diff --git a/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_era2019_cfg.py b/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_era2019_cfg.py index 05c0b94550893..25491c53beb5f 100644 --- a/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_era2019_cfg.py +++ b/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_era2019_cfg.py @@ -391,6 +391,8 @@ # forallestimators_amplitude_bigger = cms.double(10.), forallestimators_amplitude_bigger = cms.double(-100.), # + # if 0 - do not use digis at all + flagToUseDigiCollectionsORNot = cms.int32(1), # # #usecontinuousnumbering = cms.untracked.bool(False), diff --git a/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_era2021_cfg.py b/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_era2021_cfg.py index df391de6b31d8..0c2640f925777 100644 --- a/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_era2021_cfg.py +++ b/DPGAnalysis/HcalTools/python/remoteMonitoring_LED_era2021_cfg.py @@ -391,6 +391,8 @@ forallestimators_amplitude_bigger = cms.double(-100.), # # + # if 0 - do not use digis at all + flagToUseDigiCollectionsORNot = cms.int32(1), # #usecontinuousnumbering = cms.untracked.bool(False), usecontinuousnumbering = cms.untracked.bool(True), diff --git a/DPGAnalysis/HcalTools/python/remoteMonitoring_PEDESTAL_era2018_cfg.py b/DPGAnalysis/HcalTools/python/remoteMonitoring_PEDESTAL_era2018_cfg.py index aa0a7cf0d9796..e1a2300032427 100644 --- a/DPGAnalysis/HcalTools/python/remoteMonitoring_PEDESTAL_era2018_cfg.py +++ b/DPGAnalysis/HcalTools/python/remoteMonitoring_PEDESTAL_era2018_cfg.py @@ -393,6 +393,8 @@ forallestimators_amplitude_bigger = cms.double(-100.), # # + # if 0 - do not use digis at all + flagToUseDigiCollectionsORNot = cms.int32(1), # #usecontinuousnumbering = cms.untracked.bool(False), usecontinuousnumbering = cms.untracked.bool(True), diff --git a/DPGAnalysis/HcalTools/python/remoteMonitoring_PEDESTAL_era2019_cfg.py b/DPGAnalysis/HcalTools/python/remoteMonitoring_PEDESTAL_era2019_cfg.py index ec5c57e07ad5d..767d534c95231 100644 --- a/DPGAnalysis/HcalTools/python/remoteMonitoring_PEDESTAL_era2019_cfg.py +++ b/DPGAnalysis/HcalTools/python/remoteMonitoring_PEDESTAL_era2019_cfg.py @@ -396,6 +396,8 @@ #usecontinuousnumbering = cms.untracked.bool(False), usecontinuousnumbering = cms.untracked.bool(True), # + # if 0 - do not use digis at all + flagToUseDigiCollectionsORNot = cms.int32(1), # # hcalCalibDigiCollectionTag = cms.InputTag('hcalDigis'), diff --git a/DPGAnalysis/HcalTools/scripts/cmt/CMT_EOS.sh b/DPGAnalysis/HcalTools/scripts/cmt/CMT_EOS.sh index b0564ed77c9d2..9e2874f914c70 100755 --- a/DPGAnalysis/HcalTools/scripts/cmt/CMT_EOS.sh +++ b/DPGAnalysis/HcalTools/scripts/cmt/CMT_EOS.sh @@ -125,7 +125,7 @@ echo 'Run numbers for processing' echo "${runList}" echo -e "list complete\n" -#processing +echo 'processing' for i in ${runList} ; do runnumber=$i @@ -143,7 +143,8 @@ for i in ${runList} ; do # always copy root file from /eos !!! ## if [ ! -s Global_${runnumber}.root ] ; then ## xrdcp root://eoscms//eos/cms/$HistoDir/Global_$runnumber.root Global_$runnumber.root - xrdcp -f root://eoscms//eos/cms/$HistoDir/Global_$runnumber.root Global_$runnumber.root +# xrdcp -f root://eoscms//eos/cms/$HistoDir/Global_$runnumber.root Global_$runnumber.root +cp /eos/cms/$HistoDir/Global_$runnumber.root Global_$runnumber.root status="$?" if [ ! ${status} -eq 0 ] ; then echo "failed to get file Global_${runnumber}.root" @@ -151,7 +152,9 @@ for i in ${runList} ; do fi ## fi - #CMT processing + + echo 'CMT processing' + echo -e "\nRemoteMonitoringGLOBAL\n" >> ${logFile} ./../../macros/cmt/RemoteMonitoringGLOBAL.cc.exe Global_$runnumber.root 2>&1 | tee -a ${logFile} if [ ! $? -eq 0 ] ; then @@ -227,7 +230,7 @@ for i in ${runList} ; do rm *.html rm *.png rm -rf dir-CMT-GLOBAL_* - rm *.root +# rm *.root # #--------------- diff --git a/DPGAnalysis/HcalTools/scripts/cmt/GlobalRMT_EOS.sh b/DPGAnalysis/HcalTools/scripts/cmt/GlobalRMT_EOS.sh index cff539f64e3ed..7c0f92b4c907e 100755 --- a/DPGAnalysis/HcalTools/scripts/cmt/GlobalRMT_EOS.sh +++ b/DPGAnalysis/HcalTools/scripts/cmt/GlobalRMT_EOS.sh @@ -143,7 +143,9 @@ for i in ${runList} ; do # always copy root file from /eos !!! ## if [ ! -s Global_${runnumber}.root ] ; then ## xrdcp root://eoscms//eos/cms/$HistoDir/Global_$runnumber.root Global_$runnumber.root - xrdcp -f root://eoscms//eos/cms/$HistoDir/Global_$runnumber.root Global_$runnumber.root +# xrdcp -f root://eoscms//eos/cms/$HistoDir/Global_$runnumber.root Global_$runnumber.root +cp /eos/cms/$HistoDir/Global_$runnumber.root Global_$runnumber.root + status="$?" if [ ! ${status} -eq 0 ] ; then echo "failed to get file Global_${runnumber}.root" @@ -220,7 +222,7 @@ for i in ${runList} ; do rm *.html rm *.png rm -rf dir-GlobalRMT-GLOBAL_* - rm *.root +# rm *.root #fi done diff --git a/DPGAnalysis/HcalTools/scripts/cmt/Readme b/DPGAnalysis/HcalTools/scripts/cmt/Readme index dc972f2df9e1e..2e8386bec7964 100644 --- a/DPGAnalysis/HcalTools/scripts/cmt/Readme +++ b/DPGAnalysis/HcalTools/scripts/cmt/Readme @@ -1,4 +1,4 @@ ---------------------- For RUN3: Global runs of 2022,... +--------------------- For RUN3: Global runs of 2021,2022,... ====================================================== @@ -9,11 +9,11 @@ ssh lxplus cd your_working_dir -setenv SCRAM_ARCH slc7_amd64_gcc900 +setenv SCRAM_ARCH slc7_amd64_gcc10 -cmsrel CMSSW_12_2_0_pre1 +cmsrel CMSSW_12_3_0_pre4 -cd CMSSW_12_2_0_pre1/src +cd CMSSW_12_3_0_pre4/src cmsenv @@ -26,19 +26,33 @@ II. ----- Compilation of main code CMTRawAnalyzer.cc scram b -cd your_dir_CMSSW_12_2_0_pre1/src/DPGAnalysis/HcalTools/scripts/cmt +cd your_dir_CMSSW_12_3_0_pre4/src/DPGAnalysis/HcalTools/scripts/cmt ( this is initial_dir ) -III.------- Necessary corrections: +IIIa.------- Necessary corrections: ====================================== 1) correct file "file_lists.csh" for dataset used +on DAS site : https://cmsweb.cern.ch/das/ +issue the command: +(as example:) +dataset run=346512 +and see the dataset names containing RAW, NZS Hcal, like: +/HcalNZS/Commissioning2021-v1/RAW 2) correct file "runlist_run" to specify run list +IIIb.------- Possible corrections: +====================================== + + 1) see https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideFrontierConditions#HLT_reconstruction_Global_tags + +and specify in file " a.py.end " the HLT name in line "process.GlobalTag.globaltag ..." + + IVa. ------- Running interactively: ==================================== -setenv SCRAM_ARCH slc7_amd64_gcc900 +setenv SCRAM_ARCH slc7_amd64_gcc10 cmsenv voms-proxy-init -voms cms -rfc @@ -55,11 +69,11 @@ IVb. ------ Running using condor.jdl: - specify if necessary the lines in file run_condor.csh : -setenv SCRAM_ARCH slc7_amd64_gcc900 +setenv SCRAM_ARCH slc7_amd64_gcc10 -cmsrel CMSSW_12_2_0_pre1 +cmsrel CMSSW_12_3_0_pre4 -cd CMSSW_12_2_0_pre1/src +cd CMSSW_12_3_0_pre4/src - and line with eos-directory, where you are going to record the resulting root files: @@ -103,7 +117,7 @@ V. ------------------- Copying: all good root files to be copied into /initial_dir/longruns/. (example: -scp Global*.root /afs/cern.ch/work/z/zhokin/hcal/qq6/CMSSW_12_2_0_pre1/src/DPGAnalysis/HcalTools/scripts/cmt/longruns/. +scp Global*.root /afs/cern.ch/work/z/zhokin/hcal/qq8/CMSSW_12_3_0_pre4/src/DPGAnalysis/HcalTools/scripts/cmt/longruns/. ) check all root-files availability: @@ -130,12 +144,18 @@ eos ls -l /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/h VI. --- Three steps to provide visualization of new global-runs: ================================================================ + - correct in advance the file "index_zhokin.sh": +a) put last line number of CMT site; +b) check dataset name; +c) for printout:correct comments and type; + +1) ./index_zhokin.sh runlist_run -- correct file "index_toAddOnlyNewRuns_EOS.sh" for "dasgoclient.. dataset=..." and +[[[ (or absolet: try to correct file "index_toAddOnlyNewRuns_EOS.sh" for "dasgoclient.. dataset=..." and "k=" - number(!) of new-recorded global-runs and execute: ( for tests use also: index_toAddOnlyNewRunsCRAFT_EOS.sh , index_toAddOnlyNewRunsCosmics_EOS.sh runlist_test ) 1) ./index_toAddOnlyNewRuns_EOS.sh runlist_run -(use for craft test: ./index_toAddOnlyNewRunsCRAFT_EOS.sh runlist_test ) +(use for craft test: ./index_toAddOnlyNewRunsCRAFT_EOS.sh runlist_test ) ]]] eos cp OLDindex.html /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/OLDindex.html diff --git a/DPGAnalysis/HcalTools/scripts/cmt/a.py.beg b/DPGAnalysis/HcalTools/scripts/cmt/a.py.beg index c4dd3a1ab33c3..1b742b680e93d 100644 --- a/DPGAnalysis/HcalTools/scripts/cmt/a.py.beg +++ b/DPGAnalysis/HcalTools/scripts/cmt/a.py.beg @@ -1,33 +1,57 @@ # how to find input file: eos ls -latr /eos/cms/store/data/Run2018A/HcalNZS/RAW/v1/000/316/ #how to run: cmsRun remoteMonitoring_Global_PSM_test_cfg.py -#------------------------------------------------------------------------------------------- -import sys -import FWCore.ParameterSet.Config as cms -from Configuration.StandardSequences.Eras import eras -#process = cms.Process("TEST", eras.Run2_2018) -process = cms.Process("TEST", eras.Run3) -process.load("Configuration.StandardSequences.GeometryDB_cff") -process.load("CondCore.CondDB.CondDB_cfi") -process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi") -process.l1GtUnpack.DaqGtInputTag = 'source' #---------------------------------------------------------------------------- +# Auto generated configuration file +# using: +# Revision: 1.19 +# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v +# with command line options: RelVal -s ALCA:HcalCalMinBias --data --scenario=pp -n 100 --conditions auto:run3_data_prompt --datatier USER --customise=HLTrigger/Configuration/CustomConfigs.L1THLT --era Run3 --processName=USER --filein file:RelVal_RECO.root --fileout file:RelVal_ALCA.root --no_exec +import FWCore.ParameterSet.Config as cms + +from Configuration.Eras.Era_Run3_cff import Run3 + +process = cms.Process('USER',Run3) + +# import of standard configurations process.load('Configuration.StandardSequences.Services_cff') process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') process.load('FWCore.MessageService.MessageLogger_cfi') process.load('Configuration.EventContent.EventContent_cff') -process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff') -process.load('Configuration.StandardSequences.Reconstruction_Data_cff') -process.load('Configuration.StandardSequences.EndOfProcess_cff') process.load('Configuration.StandardSequences.GeometryRecoDB_cff') +process.load('Configuration.StandardSequences.MagneticField_cff') +#process.load('Configuration.StandardSequences.AlCaRecoStreams_cff') process.load('Configuration.StandardSequences.EndOfProcess_cff') +process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') + +#process = cms.Process("TEST", eras.Run2_2018) +#process = cms.Process("TEST", eras.Run3) +#process.load("Configuration.StandardSequences.GeometryDB_cff") +#process.load("CondCore.CondDB.CondDB_cfi") +#process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi") +#process.l1GtUnpack.DaqGtInputTag = 'source' +#---------------------------------------------------------------------------- +#process.load('Configuration.StandardSequences.Services_cff') +#process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') +#process.load('FWCore.MessageService.MessageLogger_cfi') +#process.load('Configuration.EventContent.EventContent_cff') +#process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff') +#process.load('Configuration.StandardSequences.Reconstruction_Data_cff') +#process.load('Configuration.StandardSequences.EndOfProcess_cff') +#process.load('Configuration.StandardSequences.GeometryRecoDB_cff') +#process.load('Configuration.StandardSequences.EndOfProcess_cff') #---------------------------------------------------------------------------- process.maxEvents = cms.untracked.PSet( -# input = cms.untracked.int32(1000) - input = cms.untracked.int32(-1) + input = cms.untracked.int32(-1), + output = cms.optional.untracked.allowed(cms.int32,cms.PSet) ) - +#process.maxEvents = cms.untracked.PSet( +## input = cms.untracked.int32(1000) +# input = cms.untracked.int32(-1) +#) +#---------------------------------------------------------------------------- #---------------------------------------------------------------------------- # Input source process.source = cms.Source("PoolSource", - skipBadFiles=cms.untracked.bool(True), +# skipBadFiles=cms.untracked.bool(True), + skipBadFiles=cms.untracked.bool(False), fileNames = cms.untracked.vstring( diff --git a/DPGAnalysis/HcalTools/scripts/cmt/a.py.end b/DPGAnalysis/HcalTools/scripts/cmt/a.py.end index abcff5cba118b..9fec060f23c6f 100644 --- a/DPGAnalysis/HcalTools/scripts/cmt/a.py.end +++ b/DPGAnalysis/HcalTools/scripts/cmt/a.py.end @@ -213,14 +213,14 @@ process.Analyzer = cms.EDAnalyzer("CMTRawAnalyzer", # flag for ask runs of LSs for RMT & CMT accordingly: #=0-runs, =1-LSs # keep for LED runs this flags =0 always - flagtoaskrunsorls = cms.int32(0), + flagtoaskrunsorls = cms.int32(1), # # flag for choice of criterion of bad channels: #=0-CapIdErr, =1-Ratio, =2-Width, =3-TSmax, =4-TSmean, =5-adcAmplitud # keep for CMT (global runs) this flags =0 always flagtodefinebadchannel = cms.int32(0), #how many bins you want on the plots:better to choice (#LS+1) - howmanybinsonplots = cms.int32(25), + howmanybinsonplots = cms.int32(2600), # # # ls - range for RBX study (and ??? perhaps for gain stability via abort gap): @@ -270,24 +270,24 @@ process.Analyzer = cms.EDAnalyzer("CMTRawAnalyzer", # nbadchannels3 = cms.int32(50), # #Verbosity = cms.untracked.int32(-79), - # cuts on Estimator1 to see LS dependences: - lsdep_estimator1_HBdepth1 = cms.double(2500.), - lsdep_estimator1_HBdepth2 = cms.double(2500.), - lsdep_estimator1_HBdepth3 = cms.double(2500.), - lsdep_estimator1_HBdepth4 = cms.double(2500.), - lsdep_estimator1_HEdepth1 = cms.double(2500.), - lsdep_estimator1_HEdepth2 = cms.double(2500.), - lsdep_estimator1_HEdepth3 = cms.double(2500.), - lsdep_estimator1_HEdepth4 = cms.double(2500.), - lsdep_estimator1_HEdepth5 = cms.double(2500.), - lsdep_estimator1_HEdepth6 = cms.double(2500.), - lsdep_estimator1_HEdepth7 = cms.double(2500.), - lsdep_estimator1_HFdepth1 = cms.double(2500.), - lsdep_estimator1_HFdepth2 = cms.double(2500.), - lsdep_estimator1_HFdepth3 = cms.double(2500.), - lsdep_estimator1_HFdepth4 = cms.double(2500.), - lsdep_estimator1_HOdepth4 = cms.double(2500.), - # cuts on Estimator2 to see LS dependences: + # cuts on Estimator1 to see LS dependences: default for normal pp - 2500 everywhere; + lsdep_estimator1_HBdepth1 = cms.double(1500.), + lsdep_estimator1_HBdepth2 = cms.double(1500.), + lsdep_estimator1_HBdepth3 = cms.double(1500.), + lsdep_estimator1_HBdepth4 = cms.double(1500.), + lsdep_estimator1_HEdepth1 = cms.double(1500.), + lsdep_estimator1_HEdepth2 = cms.double(1500.), + lsdep_estimator1_HEdepth3 = cms.double(1500.), + lsdep_estimator1_HEdepth4 = cms.double(1500.), + lsdep_estimator1_HEdepth5 = cms.double(1500.), + lsdep_estimator1_HEdepth6 = cms.double(1500.), + lsdep_estimator1_HEdepth7 = cms.double(1500.), + lsdep_estimator1_HFdepth1 = cms.double(140.), + lsdep_estimator1_HFdepth2 = cms.double(140.), + lsdep_estimator1_HFdepth3 = cms.double(140.), + lsdep_estimator1_HFdepth4 = cms.double(140.), + lsdep_estimator1_HOdepth4 = cms.double(180.), + # cuts on Estimator2 to see LS dependences: default 7. lsdep_estimator2_HBdepth1 = cms.double(7.), lsdep_estimator2_HBdepth2 = cms.double(7.), lsdep_estimator2_HEdepth1 = cms.double(7.), @@ -296,7 +296,7 @@ process.Analyzer = cms.EDAnalyzer("CMTRawAnalyzer", lsdep_estimator2_HFdepth1 = cms.double(7.), lsdep_estimator2_HFdepth2 = cms.double(7.), lsdep_estimator2_HOdepth4 = cms.double(7.), - # cuts on Estimator3 to see LS dependences: + # cuts on Estimator3 to see LS dependences: default 7. lsdep_estimator3_HBdepth1 = cms.double(7.), lsdep_estimator3_HBdepth2 = cms.double(7.), lsdep_estimator3_HEdepth1 = cms.double(7.), @@ -305,7 +305,7 @@ process.Analyzer = cms.EDAnalyzer("CMTRawAnalyzer", lsdep_estimator3_HFdepth1 = cms.double(7.), lsdep_estimator3_HFdepth2 = cms.double(7.), lsdep_estimator3_HOdepth4 = cms.double(7.), - # cuts on Estimator4 to see LS dependences: + # cuts on Estimator4 to see LS dependences: default 5. lsdep_estimator4_HBdepth1 = cms.double(5.), lsdep_estimator4_HBdepth2 = cms.double(5.), lsdep_estimator4_HEdepth1 = cms.double(5.), @@ -314,7 +314,7 @@ process.Analyzer = cms.EDAnalyzer("CMTRawAnalyzer", lsdep_estimator4_HFdepth1 = cms.double(5.), lsdep_estimator4_HFdepth2 = cms.double(5.), lsdep_estimator4_HOdepth4 = cms.double(5.), - # cuts on Estimator5 to see LS dependences: + # cuts on Estimator5 to see LS dependences: default 1.8 lsdep_estimator5_HBdepth1 = cms.double(1.8), lsdep_estimator5_HBdepth2 = cms.double(1.8), lsdep_estimator5_HEdepth1 = cms.double(1.8), @@ -345,9 +345,11 @@ process.Analyzer = cms.EDAnalyzer("CMTRawAnalyzer", # # # - #usecontinuousnumbering = cms.untracked.bool(False), - usecontinuousnumbering = cms.untracked.bool(True), + usecontinuousnumbering = cms.untracked.bool(False), + #usecontinuousnumbering = cms.untracked.bool(True), # + # if 0 - do not use digis at all + flagToUseDigiCollectionsORNot = cms.int32(1), # # hcalCalibDigiCollectionTag = cms.InputTag('hcalDigis'), @@ -454,7 +456,8 @@ from Configuration.AlCa.autoCond import autoCond #process.GlobalTag.globaltag = '104X_dataRun2_v1' #process.GlobalTag.globaltag = '105X_postLS2_design_v4' #process.GlobalTag.globaltag = '106X_dataRun3_HLT_v3' -process.GlobalTag.globaltag = '113X_dataRun3_HLT_v3' +#process.GlobalTag.globaltag = '113X_dataRun3_HLT_v3' +process.GlobalTag.globaltag = '120X_dataRun3_HLT_v3' ########################################################################### process.load('Configuration.StandardSequences.RawToDigi_Data_cff') #process.hcalDigis.FilterDataQuality = cms.bool(False) @@ -468,7 +471,7 @@ process.load('Configuration.StandardSequences.RawToDigi_Data_cff') # #InputLabel = cms.InputTag("rawDataCollector"), #) ########################################################################### -process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalMinBias_cff") +#process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalMinBias_cff") ########################################################################### # Schedule definition # pure CMT: @@ -479,9 +482,9 @@ process.p = cms.Path(process.hcalDigis*process.Analyzer) ############################################################################ # customisation of the process. # Automatic addition of the customisation function from HLTrigger.Configuration.CustomConfigs -from HLTrigger.Configuration.CustomConfigs import L1THLT +#from HLTrigger.Configuration.CustomConfigs import L1THLT #call to customisation function L1THLT imported from HLTrigger.Configuration.CustomConfigs -process = L1THLT(process) +#process = L1THLT(process) # End of customisation functions ############################################################################ ############################################################################ diff --git a/DPGAnalysis/HcalTools/scripts/cmt/condor.jdl b/DPGAnalysis/HcalTools/scripts/cmt/condor.jdl index 84f8862335978..68071e859df13 100755 --- a/DPGAnalysis/HcalTools/scripts/cmt/condor.jdl +++ b/DPGAnalysis/HcalTools/scripts/cmt/condor.jdl @@ -8,7 +8,9 @@ arguments = runlist_run $(ClusterID) $(ProcId) $(Proxy_path) Should_Transfer_Files = YES WhenToTransferOutput = ON_EXIT -Transfer_Input_Files = run_condor.csh,mkcfg_new120.csh,file_lists.csh,a.py.beg,a.py.end,runlist_run,/afs/cern.ch/work/z/zhokin/hcal/qq7/CMSSW_12_2_0_pre2/src/DPGAnalysis/HcalTools/plugins/CMTRawAnalyzer.cc,/afs/cern.ch/work/z/zhokin/hcal/qq7/CMSSW_12_2_0_pre2/src/DPGAnalysis/HcalTools/plugins/BuildFile.xml +Transfer_Input_Files = run_condor.csh,mkcfg_new120.csh,file_lists.csh,a.py.beg,a.py.end,runlist_run,/afs/cern.ch/work/z/zhokin/public/salavat8/CMSSW_12_3_0_pre4/src/DPGAnalysis/HcalTools/plugins/CMTRawAnalyzer.cc,/afs/cern.ch/work/z/zhokin/public/salavat8/CMSSW_12_3_0_pre4/src/DPGAnalysis/HcalTools/plugins/BuildFile.xml + + output = output/zhokin.$(ClusterId).$(ProcId).out error = error/zhokin.$(ClusterId).$(ProcId).err diff --git a/DPGAnalysis/HcalTools/scripts/cmt/file_lists.csh b/DPGAnalysis/HcalTools/scripts/cmt/file_lists.csh index fa167b42f2a9f..035cc6f05b7f7 100755 --- a/DPGAnalysis/HcalTools/scripts/cmt/file_lists.csh +++ b/DPGAnalysis/HcalTools/scripts/cmt/file_lists.csh @@ -19,8 +19,8 @@ echo ${i} #dasgoclient --query="file dataset=/HcalNZS/Commissioning2017-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} #dasgoclient --query="file dataset=/Cosmics/Commissioning2021-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} -dasgoclient --query="file dataset= /MinimumBias/Commissioning2021-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} -#dasgoclient --query="file dataset= /HcalNZS/Commissioning2021-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +#dasgoclient --query="file dataset= /MinimumBias/Commissioning2021-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +dasgoclient --query="file dataset= /HcalNZS/Commissioning2021-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} #dasgoclient --query="file dataset=/ZeroBias/Run2018A-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} #dasgoclient --query="file dataset=/ZeroBias/Run2018B-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} diff --git a/DPGAnalysis/HcalTools/scripts/cmt/index_zhokin.sh b/DPGAnalysis/HcalTools/scripts/cmt/index_zhokin.sh index 6c75b2314885b..269beafcf979d 100755 --- a/DPGAnalysis/HcalTools/scripts/cmt/index_zhokin.sh +++ b/DPGAnalysis/HcalTools/scripts/cmt/index_zhokin.sh @@ -3,61 +3,17 @@ WebDir='/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring' WebSite='https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring' HistoDir='/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/histos' -eos='/afs/cern.ch/project/eos/installation/0.3.15/bin/eos.select' - -# print usage info -if [[ "$1" == "" ]]; then - echo "Usage:" - echo " $0 file [comment] [-ignore-file] [-das-cache]" - echo " file -- a file with run numbers" - echo " comment -- add a comment line (instead of spaces use '_')" - echo " -ignore-file -- skips production of run html pages. Produces" - echo " only the global page. File name is not needed." - echo " -das-cache -- whether to save DAS information locally for a reuse" - echo - echo "example: ./GLOBAL.sh Run_List.txt" - exit 1 -fi + cmsenv 2>/dev/null if [ $? == 0 ] ; then eval `scramv1 runtime -sh` fi -temp_var=`ls ${eos}` -status="$?" -echo "using eos command <${temp_var}>" -if [ ! ${status} -eq 0 ] ; then - echo "failed to find eos command" - # exit 1 -fi +#echo "0" # Process arguments and set the flags fileName=$1 -comment=$2 -if [ ${#comment} -gt 0 ] && [ "${comment:0:1}" == "-" ] ; then comment=""; fi -ignoreFile=0 -debug=0 -dasCache=0 -DAS_DIR="d-DAS-info" - -for a in $@ ; do - if [ "$a" == "-ignore-file" ] ; then - echo " ** file will be ignored" - fileName="" - ignoreFile=1 - elif [ "$a" == "-das-cache" ] ; then - echo " ** DAS cache ${DAS_DIR} enabled" - dasCache=1 - if [ ! -d ${DAS_DIR} ] ; then mkdir ${DAS_DIR}; fi - else - temp_var=${a/-debug/} - if [ ${#a} -gt ${#temp_var} ] ; then - debug=${temp_var} - echo " ** debug detected (debug=${debug})" - fi - fi -done # Obtain the runList from a file, if needed runList="" @@ -104,70 +60,21 @@ else fi fi -comment=`echo ${comment} | sed sk\_k\ kg` -if [ ${#comment} -gt 0 ] ; then - echo "comment \"${comment}\" will be added to the pages" -fi - -if [ ${debug} -eq 3 ] ; then exit; fi - - -echo echo echo echo 'Numbers of NEW runs for processing' echo "${runList}" echo -e "runList complete\n" -#processing skipped - - -# # # # # # # # # # # # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ##### -# Create global web page -# - -echo "Get list of runss in ${HistoDir}" -#eos ls $HistoDir | grep root | awk '{print $5}' | awk -F / '{print $10}' > rtmp -#cat rtmp | awk -F _ '{print $2}' | awk -F . '{print $1}' > _runlist_ - -histoFiles=`${eos} ls $HistoDir | grep root | awk -F '_' '{print $2}' | awk -F '.' '{print $1}'` -echo -e '\n\nRun numbers on EOS:' -runListEOSall=`echo $histoFiles | tee _runlistEOSall_` -echo "Got `wc -w <<< "${runListEOSall}"` runs from HistDir ${HistoDir}" - echo -e '\n\nRun numbers:' runListEOS=`echo $runList | tee _runlist_` echo "${runListEOS}" echo -e "Full runList for EOS complete\n" - - - -### use to clarify full list of runs: -#echo "Get OLD list of runs in ${HistoDir}" -#echo -e '\n\nRun numbers to be on EOS:' -#runListEOS=`echo $histoFiles ` -#echo "${runListEOS}" -#echo -e "OLD list complete\n" - - -############# making table - -# skip/comment header: -## print header to index.html -#if [ ${#comment} -eq 0 ] ; then -# echo `cat header_GLOBAL_EOS.txt` > index_draft.html -#else -# echo `head -n -1 header_GLOBAL_EOS.txt` > index_draft.html -# echo -e "Comment\n\n" \ -# >> index_draft.html -#fi - # copy index.html from EOS: echo 'next message is Fine: ' rm index.html -#cmsStage $WebDir/CMT/index.html index.html eoscp $WebDir/CMT/index.html index.html cp index.html OLDindex.html @@ -180,10 +87,7 @@ cat index.html | head -n -1 > index_draft.html #let "k = k + 1" #done - - -k=3 - +k=47 ########################################## type by hands number of new runs k=k-number: @@ -206,7 +110,8 @@ echo 'RUN number = '$runnumber # extract the date of file dasInfo=${DAS_DIR}/das_${runnumber}.txt got=0 -if [ ${dasCache} -eq 1 ] ; then +#echo "1" +if [[ ${dasCache} == "1" ]] ; then rm -f tmp if [ -s ${dasInfo} ] ; then cp ${dasInfo} tmp @@ -215,94 +120,54 @@ if [ ${dasCache} -eq 1 ] ; then echo "no ${dasInfo} found. Will use dasgoclient" fi fi +#echo "2" if [ ${got} -eq 0 ] ; then -##### old: 1 2 3 4 5 6 7 8 -## ./das_client.py --query="run=${i} | grep run.beam_e,run.bfield,run.nlumis,run.lhcFill,run.delivered_lumi,run.duration,run.start_time,run.end_time" --limit=0 > tmp -###### AZ used now: 1 2 3 4 5 6 7 8 9 10 11 12 -dasgoclient --query="run=${i} | grep run.lhcEnergy ,run.bfield ,run.lsCount ,run.lhcFill , run.lsRanges , run.runClassName ,run.startTime ,run.stopTime " > tmp -# for test: -#dasgoclient --query="run=${i} | grep run.aaa ,run.lhcEnergy ,run.bfield ,run.lsCount,run.lhcFill , run.lsRanges , run.runClassName ,run.startTime ,run.stopTime , run.runCreated ,run.modified " > tmp - -# if [ ${dasCache} -eq 1 ] ; then cp tmp ${dasInfo}; fi +#echo "3" +#echo "runnumber:" +#dasgoclient --query="file dataset=/HcalNZS/Run2018D-v1/RAW run=${i} | grep file.size, file.nevents, file.modification_time " > tmp +#dasgoclient --query="file dataset=/Cosmics/Commissioning2021-v1/RAW run=${i} | grep file.size, file.nevents, file.modification_time " > tmp +dasgoclient --query="file dataset=/HcalNZS/Commissioning2021-v1/RAW run=${i} | grep file.size, file.nevents, file.modification_time " > tmp +#echo "${runnumber}" fi - -##### AZ used now: -# delete last lines of copied tmp file -cat tmp | head -n -1 > ztmp -rm tmp -#cat ztmp - -###### AZ used now: -date=`cat ztmp | awk '{print $7" "$8" "$9}'` -date_end=`cat ztmp | awk '{print $10" "$11" "$12}'` -#old: -#date=`cat ztmp | awk '{print $7" "$8}'` -#date_end=`cat ztmp | awk '{print $9" "$10}'` -E=`cat ztmp | awk '{print $1}'` -B=`cat ztmp | awk '{print $2}'` -nL=`cat ztmp | awk '{print $3}'` -Fill=`cat ztmp | awk '{print $4}'` -dLumi=`cat ztmp | awk '{print $5}'` -D=`cat ztmp | awk '{print $6}'` - -###### AZ used now: -rm ztmp - -#echo 'ver 1' -#${eos} ls $HistoDir/Global_$i.root -#echo 'ver 2' -#${eos} ls -l $HistoDir/Global_$i.root -#old Date_obr=`${eos} ls -l $HistoDir/Global_$i.root | awk '{print $3" "$4}'` - -fileinfo=`${eos} ls -l $HistoDir/Global_$i.root` -Date_obr=`echo ${fileinfo} | awk '{print $6" "$7" "$8}'` -#echo "Date_obr=$Date_obr" - -# extract run type, data, time and number of events -type='Cosmic' -commentariy='' +timetmp=`cat tmp | head -n 1 | awk '{print $3}'` +############################################################################################################ printout: +#type='Cosmics' +type='HcalNZS' +timetmp2=`date -d @${timetmp} +%Y-%m-%d:%H-%M-%S` +sizetmp=`cat tmp | head -n 1 | awk '{print $1}'` +neventstmp=`cat tmp | head -n 1 | awk '{print $2}'` +#commentariy='CRUZET2021' +#commentariy='CRAFT2021' +commentariy='Commissioning2021' #cat runs_info +echo 'RUN Type = '$type +echo ${sizetmp} ${neventstmp} ${timetmp2} +echo 'RUN Comment = '$commentariy + +#echo "4" -# for j in $(cat runs_info); do -# echo $j -# k= `echo $j | awk '{print $1}'` -# if [[ "$runnumber" == "$k" ]] ; then -# type= `echo $i | awk '{print $2}'` -# commentariy=`echo $i | awk '{print $3}'` -# fi -# done - -#echo 'RUN Type = '$type -echo 'RUN Start Date = '$date -echo 'RUN Duration = '$D -echo 'RUN End Date = '$date_end -echo 'RUN Energy = '$E -echo 'RUN Magnet field = '$B -echo 'RUN LS number = '$nL -echo 'RUN LHC Fill = '$Fill -echo 'RUN Delivered Luminosity = '$dLumi -echo 'RUN Date processing = '$Date_obr -#echo 'RUN Comment = '$commentariy #adding entry to list of file index_draft.html let "raw = (k % 2) + 2" echo ''>> index_draft.html echo ''$k''>> index_draft.html echo ''$runnumber''>> index_draft.html -#echo ''>> index_draft.html -echo ''>> index_draft.html -echo ''>> index_draft.html -echo ''>> index_draft.html -echo ''>> index_draft.html -echo ''>> index_draft.html +echo ''$type''>> index_draft.html +echo ''$timetmp2''>> index_draft.html +echo ''$sizetmp''>> index_draft.html +echo ''$neventstmp''>> index_draft.html echo 'CMT_'$runnumber''>> index_draft.html echo 'RMT_'$runnumber''>> index_draft.html -echo ' T'>> index_draft.html -echo ' GeV'>> index_draft.html -#echo ' /nb'>> index_draft.html -echo ''$Date_obr''>> index_draft.html +echo ''$commentariy''>> index_draft.html + + +rm tmp +#echo "5" + +############################################################################################################ record index_draft.html + if [ ${#comment} -gt 0 ] ; then #echo "runList=${runList}, check ${runnumber}" temp_var=${runList/${runnumber}/} @@ -316,6 +181,7 @@ prev=$i #fi done +#echo "6" # print footer to index.html @@ -323,32 +189,32 @@ echo `cat footer.txt`>> index_draft.html status=0 -if [ ${debug} -gt 0 ] ; then +if [[ ${debug} == "1" ]] ; then echo "debug=${debug}. No upload to eos" status=-1 else ### echo "Commented by me: eoscp index_draft.html $WebDir/CMT/index.html No upload to eos" # eoscp OLDindex.html $WebDir/CMT/OLDindex.html # eoscp index_draft.html $WebDir/CMT/index.html - - status="$?" # rm index_draft.html fi +#echo "7" # delete temp files -if [ ${debug} -eq 0 ] ; then +if [[ ${debug} == "0" ]] ; then # rm -f *.root rm -f _runlist_ rm -f _runlistEOSall_ fi +#echo "8" # check eos-upload exit code if [[ "${status}" == "0" ]]; then echo "Successfully uploaded!" else - echo "ERROR: Uploading failed" + echo "ERROR: Auto-uploading failed: do it by hands !!!" exit 1 fi diff --git a/DPGAnalysis/HcalTools/scripts/cmt/run_condor.csh b/DPGAnalysis/HcalTools/scripts/cmt/run_condor.csh index d5d7ba8b37bdd..ee614f99c5c5e 100755 --- a/DPGAnalysis/HcalTools/scripts/cmt/run_condor.csh +++ b/DPGAnalysis/HcalTools/scripts/cmt/run_condor.csh @@ -10,9 +10,9 @@ echo "myStart: set dir pwd" set m=`pwd` cd ${m} -setenv SCRAM_ARCH slc7_amd64_gcc900 -cmsrel CMSSW_12_2_0_pre1 -cd CMSSW_12_2_0_pre1/src +setenv SCRAM_ARCH slc7_amd64_gcc10 +cmsrel CMSSW_12_3_0_pre4 +cd CMSSW_12_3_0_pre4/src mkdir DPGAnalysis cd DPGAnalysis diff --git a/DPGAnalysis/HcalTools/scripts/cmt/runlist_1 b/DPGAnalysis/HcalTools/scripts/cmt/runlist_1 index 998622f4f3b87..63f244ffb5631 100644 --- a/DPGAnalysis/HcalTools/scripts/cmt/runlist_1 +++ b/DPGAnalysis/HcalTools/scripts/cmt/runlist_1 @@ -1 +1,5 @@ -321177 +346235 346236 346237 346238 346246 346247 346300 346301 346302 346304 +346306 346307 346373 346380 346383 346384 346386 346387 346388 346389 +346394 346395 346396 346398 346445 346446 346447 346448 346449 346450 +346452 346453 346455 346483 346486 346488 346490 346494 346508 346509 +346511 346512 \ No newline at end of file diff --git a/DPGAnalysis/HcalTools/scripts/cmt/runlist_run b/DPGAnalysis/HcalTools/scripts/cmt/runlist_run index 497bce249515e..1129ce8fb0088 100644 --- a/DPGAnalysis/HcalTools/scripts/cmt/runlist_run +++ b/DPGAnalysis/HcalTools/scripts/cmt/runlist_run @@ -1 +1,6 @@ -346235 346236 346237 346238 346246 346247 346299 346300 346301 346302 346304 346305 346306 346307 346373 346374 346375 346377 346378 346379 346380 346381 346382 346383 346384 346385 346386 346387 346388 346389 346394 346395 346396 346398 346445 346446 346447 346448 346449 346450 346452 346453 346455 346483 346486 346488 346490 346494 346506 346507 346508 346509 346510 346511 346512 +346235 346236 346237 346238 346246 346247 346299 346300 346301 346302 +346304 346305 346306 346307 346373 346374 346375 346377 346378 346379 +346380 346381 346382 346383 346384 346385 346386 346387 346388 346389 +346394 346395 346396 346398 346445 346446 346447 346448 346449 346450 +346452 346453 346455 346483 346486 346488 346490 346494 346506 346507 +346508 346509 346510 346511 346512 diff --git a/DPGAnalysis/HcalTools/scripts/psm/ALCARECOPSM_EOS.sh b/DPGAnalysis/HcalTools/scripts/psm/ALCARECOPSM_EOS.sh new file mode 100755 index 0000000000000..389cdb0fb9dd5 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/ALCARECOPSM_EOS.sh @@ -0,0 +1,251 @@ +#!/bin/bash + +WebDir='/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring' +WebSite='https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring' +HistoDir='/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/ALCARECOPSM/histos' +eos='/afs/cern.ch/project/eos/installation/0.3.15/bin/eos.select' + +# print usage info +if [[ "$1" == "" ]]; then + echo "Usage:" + echo " $0 file [comment] [-ignore-file] [-das-cache]" + echo " file -- a file with run numbers" + echo " comment -- add a comment line (instead of spaces use '_')" + echo " -ignore-file -- skips production of run html pages. Produces" + echo " only the ALCARECO page. File name is not needed." + echo " -das-cache -- whether to save DAS information locally for a reuse" + echo + echo "example: ./ALCARECO.sh Run_List.txt" + exit 1 +fi + +cmsenv 2>/dev/null +if [ $? == 0 ] ; then + eval `scramv1 runtime -sh` +fi +temp_var=`ls ${eos}` +status="$?" +echo "using eos command <${temp_var}>" +if [ ! ${status} -eq 0 ] ; then + echo "failed to find eos command" + # exit 1 +fi + + +# create log directory +LOG_DIR="dir-Logs" +if [ ! -d ${LOG_DIR} ] ; then mkdir ${LOG_DIR}; fi +rm -f ${LOG_DIR}/* + + +# Process arguments and set the flags +fileName=$1 +comment=$2 +if [ ${#comment} -gt 0 ] && [ "${comment:0:1}" == "-" ] ; then comment=""; fi +ignoreFile=0 +debug=0 +dasCache=0 +DAS_DIR="d-DAS-info" + +for a in $@ ; do + if [ "$a" == "-ignore-file" ] ; then + echo " ** file will be ignored" + fileName="" + ignoreFile=1 + elif [ "$a" == "-das-cache" ] ; then + echo " ** DAS cache ${DAS_DIR} enabled" + dasCache=1 + if [ ! -d ${DAS_DIR} ] ; then mkdir ${DAS_DIR}; fi + else + temp_var=${a/-debug/} + if [ ${#a} -gt ${#temp_var} ] ; then + debug=${temp_var} + echo " ** debug detected (debug=${debug})" + fi + fi +done + +# Obtain the runList from a file, if needed +runList="" +if [ ${#fileName} -gt 0 ] ; then + if [ -s ${fileName} ] ; then + runList=`cat ${fileName}` + else + echo "<${fileName}> does not seem to be a valid file" + exit 2 + fi +else + if [ ${ignoreFile} -eq 0 ] ; then + echo " ! no file provided" + fi + echo " ! will produce only html page" +fi + + +# Check the runList and correct the correctables +# Replace ',' and ';' by empty spaces +runList=`echo "${runList}" | sed 'sk,k\ kg' | sed 'sk;k\ kg'` +ok=1 +for r in ${runList} ; do + if [ ! ${#r} -eq 6 ] ; then + echo "run numbers are expected to be of length 6. Check <$r>" + ok=0 + fi + debug_loc=0 + if [ "$r" -eq "$r" ] 2>/dev/null ; then + if [ ${debug_loc} -eq 1 ] ; then echo "run variable <$r> is a number (ok)"; fi + else + echo "error: run variable <$r> is not an integer number" + ok=0 + fi +done + +echo "Tested `wc -w <<< "${runList}"` runs from file ${fileName}" +if [ ${ok} -eq 0 ] ; then + echo "errors in the file ${fileName} with run numbers" + exit 3 +else + if [ ${#fileName} -gt 0 ] ; then + echo "run numbers in ${fileName} verified ok" + fi +fi + +comment=`echo ${comment} | sed sk\_k\ kg` +if [ ${#comment} -gt 0 ] ; then + echo "comment \"${comment}\" will be added to the pages" +fi + +if [ ${debug} -eq 3 ] ; then exit; fi + + +echo +echo +echo +echo 'Run numbers for processing' +echo "${runList}" +echo -e "list complete\n" + +#processing + +for i in ${runList} ; do + runnumber=$i + + logFile="${LOG_DIR}/log_${runnumber}.out" + rm -f ${logFile} + +# if [[ "$runnumber" > 233890 ]] ; then + echo + echo + echo + echo "Run for processing $runnumber" + echo "always copy root file from /eos !!!" + echo "file=root://eoscms//cms/$HistoDir/Global_$runnumber.root" +# always copy root file from /eos !!! +## if [ ! -s Global_${runnumber}.root ] ; then +## xrdcp root://eoscms//eos/cms/$HistoDir/Global_$runnumber.root Global_$runnumber.root + xrdcp -f root://eoscms//eos/cms/$HistoDir/Global_$runnumber.root Global_$runnumber.root + status="$?" + if [ ! ${status} -eq 0 ] ; then + echo "failed to get file Global_${runnumber}.root" + exit 2 + fi +## fi + + #ALCARECOPSM processing + echo -e "\nRemoteMonitoringPSM\n" >> ${logFile} +# ./../../macros/psm/RemoteMonitoringPSM.cc.exe Global_$runnumber.root 2>&1 | tee -a ${logFile} +# ./../../macros/psm/RemoteMonitoringALCARECOPSM.cc.exe Global_$runnumber.root Global_$runnumber.root Global 2>&1 | tee -a ${logFile} + ./../../macros/psm/RemoteMonitoringALCARECOPSM.cc.exe Global_$runnumber.root Global_$runnumber.root 2>&1 | tee -a ${logFile} + + if [ ! $? -eq 0 ] ; then + echo "ALCARECOPSM processing failed" + exit 2 + fi + +## if [ ! -s HELP.html ] ; then +## echo "GLOBAL failure was not detected. HELP.html is missing" +## exit 2 +## fi + + + local_WebDir=dir-ALCARECOPSM-GLOBAL_${runnumber} + rm -rf ${local_WebDir} + if [ ! -d ${local_WebDir} ] ; then mkdir ${local_WebDir}; fi + for j in $(ls -r *.html); do + cat $j | sed 's#cms-cpt-software.web.cern.ch\/cms-cpt-software\/General\/Validation\/SVSuite#cms-conddb.cern.ch\/eosweb\/hcal#g' \ + > ${local_WebDir}/$j + done + cp *.png ${local_WebDir} +## cp HELP.html ${local_WebDir} + + + +#-----------------------------------------------------------------------------------------copying: + + +#---------------111 +# first variant: + mkdir $WebDir/ALCARECOPSM/GLOBAL_$runnumber + cp *.png $WebDir/ALCARECOPSM/GLOBAL_$runnumber/. + cp *.html $WebDir/ALCARECOPSM/GLOBAL_$runnumber/. + echo "cp png and html file done" + + +#---------------222 wrong, create dir GLOBAL_$runnumber and inside, the dir local_WebDir +# more simple second variant: +#scp -r ${local_WebDir} $WebDir/ALCARECOPSM/GLOBAL_$runnumber +#echo "cp -r for dir with png and html file done" + + +#---------------old +# instead old variant: + +# files=`cd ${local_WebDir}; ls` + ###echo "ALCARECOPSM files=${files}" +# if [ ${debug} -eq 0 ] ; then +# eos mkdir -p $WebDir/ALCARECOPSM/GLOBAL_$runnumber +# if [ ! $? -eq 0 ] ; then +# echo "ALCARECOPSM eos mkdir failed" +# exit 2 +# fi +# for f in ${files} ; do +# echo "eoscp ${local_WebDir}/${f} $WebDir/ALCARECOPSM/GLOBAL_$runnumber/${f}" +# eos cp ${local_WebDir}/${f} $WebDir/ALCARECOPSM/GLOBAL_$runnumber/${f} +# if [ ! $? -eq 0 ] ; then +# echo "ALCARECOPSM eoscp failed for ${f}" +#### exit 2 +# fi +# done +# else + ## debuging +# echo "debugging: files are not copied to EOS" +# fi +# +#--------------- +# +# removing: +# +# +# + rm *.html + rm *.png +# rm -rf dir-ALCARECOPSM-GLOBAL_* +# rm *.root +# + +#--------------- + +#fi + +done + +if [ ${debug} -eq 2 ] ; then + echo "debug=2 skipping web page creation" + exit 2 +fi +#--------------- + + + +echo "ALCARECOPSM script done" +#--------------- diff --git a/DPGAnalysis/HcalTools/scripts/psm/GlobalPSM_EOS.sh b/DPGAnalysis/HcalTools/scripts/psm/GlobalPSM_EOS.sh new file mode 100755 index 0000000000000..ed988cf32d9c7 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/GlobalPSM_EOS.sh @@ -0,0 +1,250 @@ +#!/bin/bash + +WebDir='/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring' +WebSite='https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring' +HistoDir='/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/GlobalPSM/histos' +eos='/afs/cern.ch/project/eos/installation/0.3.15/bin/eos.select' + +# print usage info +if [[ "$1" == "" ]]; then + echo "Usage:" + echo " $0 file [comment] [-ignore-file] [-das-cache]" + echo " file -- a file with run numbers" + echo " comment -- add a comment line (instead of spaces use '_')" + echo " -ignore-file -- skips production of run html pages. Produces" + echo " only the global page. File name is not needed." + echo " -das-cache -- whether to save DAS information locally for a reuse" + echo + echo "example: ./GLOBAL.sh Run_List.txt" + exit 1 +fi + +cmsenv 2>/dev/null +if [ $? == 0 ] ; then + eval `scramv1 runtime -sh` +fi +temp_var=`ls ${eos}` +status="$?" +echo "using eos command <${temp_var}>" +if [ ! ${status} -eq 0 ] ; then + echo "failed to find eos command" + # exit 1 +fi + + +# create log directory +LOG_DIR="dir-Logs" +if [ ! -d ${LOG_DIR} ] ; then mkdir ${LOG_DIR}; fi +rm -f ${LOG_DIR}/* + + +# Process arguments and set the flags +fileName=$1 +comment=$2 +if [ ${#comment} -gt 0 ] && [ "${comment:0:1}" == "-" ] ; then comment=""; fi +ignoreFile=0 +debug=0 +dasCache=0 +DAS_DIR="d-DAS-info" + +for a in $@ ; do + if [ "$a" == "-ignore-file" ] ; then + echo " ** file will be ignored" + fileName="" + ignoreFile=1 + elif [ "$a" == "-das-cache" ] ; then + echo " ** DAS cache ${DAS_DIR} enabled" + dasCache=1 + if [ ! -d ${DAS_DIR} ] ; then mkdir ${DAS_DIR}; fi + else + temp_var=${a/-debug/} + if [ ${#a} -gt ${#temp_var} ] ; then + debug=${temp_var} + echo " ** debug detected (debug=${debug})" + fi + fi +done + +# Obtain the runList from a file, if needed +runList="" +if [ ${#fileName} -gt 0 ] ; then + if [ -s ${fileName} ] ; then + runList=`cat ${fileName}` + else + echo "<${fileName}> does not seem to be a valid file" + exit 2 + fi +else + if [ ${ignoreFile} -eq 0 ] ; then + echo " ! no file provided" + fi + echo " ! will produce only the global html page" +fi + + +# Check the runList and correct the correctables +# Replace ',' and ';' by empty spaces +runList=`echo "${runList}" | sed 'sk,k\ kg' | sed 'sk;k\ kg'` +ok=1 +for r in ${runList} ; do + if [ ! ${#r} -eq 6 ] ; then + echo "run numbers are expected to be of length 6. Check <$r>" + ok=0 + fi + debug_loc=0 + if [ "$r" -eq "$r" ] 2>/dev/null ; then + if [ ${debug_loc} -eq 1 ] ; then echo "run variable <$r> is a number (ok)"; fi + else + echo "error: run variable <$r> is not an integer number" + ok=0 + fi +done + +echo "Tested `wc -w <<< "${runList}"` runs from file ${fileName}" +if [ ${ok} -eq 0 ] ; then + echo "errors in the file ${fileName} with run numbers" + exit 3 +else + if [ ${#fileName} -gt 0 ] ; then + echo "run numbers in ${fileName} verified ok" + fi +fi + +comment=`echo ${comment} | sed sk\_k\ kg` +if [ ${#comment} -gt 0 ] ; then + echo "comment \"${comment}\" will be added to the pages" +fi + +if [ ${debug} -eq 3 ] ; then exit; fi + + +echo +echo +echo +echo 'Run numbers for processing' +echo "${runList}" +echo -e "list complete\n" + +#processing + +for i in ${runList} ; do + runnumber=$i + + logFile="${LOG_DIR}/log_${runnumber}.out" + rm -f ${logFile} + +# if [[ "$runnumber" > 233890 ]] ; then + echo + echo + echo + echo "Run for processing $runnumber" + echo "always copy root file from /eos !!!" + echo "file=root://eoscms//cms/$HistoDir/Global_$runnumber.root" +# always copy root file from /eos !!! +## if [ ! -s Global_${runnumber}.root ] ; then +## xrdcp root://eoscms//eos/cms/$HistoDir/Global_$runnumber.root Global_$runnumber.root + xrdcp -f root://eoscms//eos/cms/$HistoDir/Global_$runnumber.root Global_$runnumber.root + status="$?" + if [ ! ${status} -eq 0 ] ; then + echo "failed to get file Global_${runnumber}.root" + exit 2 + fi +## fi + + #GlobalPSM processing + echo -e "\nRemoteMonitoringPSM\n" >> ${logFile} +# ./../../macros/psm/RemoteMonitoringPSM.cc.exe Global_$runnumber.root 2>&1 | tee -a ${logFile} + ./../../macros/psm/RemoteMonitoringPSM.cc.exe Global_$runnumber.root Global_$runnumber.root Global 2>&1 | tee -a ${logFile} + + if [ ! $? -eq 0 ] ; then + echo "PSM processing failed" + exit 2 + fi + +## if [ ! -s HELP.html ] ; then +## echo "GLOBAL failure was not detected. HELP.html is missing" +## exit 2 +## fi + + + local_WebDir=dir-GlobalPSM-GLOBAL_${runnumber} + rm -rf ${local_WebDir} + if [ ! -d ${local_WebDir} ] ; then mkdir ${local_WebDir}; fi + for j in $(ls -r *.html); do + cat $j | sed 's#cms-cpt-software.web.cern.ch\/cms-cpt-software\/General\/Validation\/SVSuite#cms-conddb.cern.ch\/eosweb\/hcal#g' \ + > ${local_WebDir}/$j + done + cp *.png ${local_WebDir} +## cp HELP.html ${local_WebDir} + + + +#-----------------------------------------------------------------------------------------copying: + + +#---------------111 +# first variant: + mkdir $WebDir/GlobalPSM/GLOBAL_$runnumber + cp *.png $WebDir/GlobalPSM/GLOBAL_$runnumber/. + cp *.html $WebDir/GlobalPSM/GLOBAL_$runnumber/. + echo "cp png and html file done" + + +#---------------222 wrong, create dir GLOBAL_$runnumber and inside, the dir local_WebDir +# more simple second variant: +#scp -r ${local_WebDir} $WebDir/GlobalPSM/GLOBAL_$runnumber +#echo "cp -r for dir with png and html file done" + + +#---------------old +# instead old variant: + +# files=`cd ${local_WebDir}; ls` + ###echo "GlobalPSM files=${files}" +# if [ ${debug} -eq 0 ] ; then +# eos mkdir -p $WebDir/GlobalPSM/GLOBAL_$runnumber +# if [ ! $? -eq 0 ] ; then +# echo "GlobalPSM eos mkdir failed" +# exit 2 +# fi +# for f in ${files} ; do +# echo "eoscp ${local_WebDir}/${f} $WebDir/GlobalPSM/GLOBAL_$runnumber/${f}" +# eos cp ${local_WebDir}/${f} $WebDir/GlobalPSM/GLOBAL_$runnumber/${f} +# if [ ! $? -eq 0 ] ; then +# echo "GlobalPSM eoscp failed for ${f}" +#### exit 2 +# fi +# done +# else + ## debuging +# echo "debugging: files are not copied to EOS" +# fi +# +#--------------- +# +# removing: +# +# +# + rm *.html + rm *.png +# rm -rf dir-GlobalPSM-GLOBAL_* +# rm *.root +# + +#--------------- + +#fi + +done + +if [ ${debug} -eq 2 ] ; then + echo "debug=2 skipping web page creation" + exit 2 +fi +#--------------- + + + +echo "GlobalPSM script done" +#--------------- diff --git a/DPGAnalysis/HcalTools/scripts/psm/IMPSM_EOS.sh b/DPGAnalysis/HcalTools/scripts/psm/IMPSM_EOS.sh new file mode 100755 index 0000000000000..c3bd4d1070723 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/IMPSM_EOS.sh @@ -0,0 +1,251 @@ +#!/bin/bash + +WebDir='/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring' +WebSite='https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring' +HistoDir='/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/IMPSM/histos' +eos='/afs/cern.ch/project/eos/installation/0.3.15/bin/eos.select' + +# print usage info +if [[ "$1" == "" ]]; then + echo "Usage:" + echo " $0 file [comment] [-ignore-file] [-das-cache]" + echo " file -- a file with run numbers" + echo " comment -- add a comment line (instead of spaces use '_')" + echo " -ignore-file -- skips production of run html pages. Produces" + echo " only the ALCARECO page. File name is not needed." + echo " -das-cache -- whether to save DAS information locally for a reuse" + echo + echo "example: ./ALCARECO.sh Run_List.txt" + exit 1 +fi + +cmsenv 2>/dev/null +if [ $? == 0 ] ; then + eval `scramv1 runtime -sh` +fi +temp_var=`ls ${eos}` +status="$?" +echo "using eos command <${temp_var}>" +if [ ! ${status} -eq 0 ] ; then + echo "failed to find eos command" + # exit 1 +fi + + +# create log directory +LOG_DIR="dir-Logs" +if [ ! -d ${LOG_DIR} ] ; then mkdir ${LOG_DIR}; fi +rm -f ${LOG_DIR}/* + + +# Process arguments and set the flags +fileName=$1 +comment=$2 +if [ ${#comment} -gt 0 ] && [ "${comment:0:1}" == "-" ] ; then comment=""; fi +ignoreFile=0 +debug=0 +dasCache=0 +DAS_DIR="d-DAS-info" + +for a in $@ ; do + if [ "$a" == "-ignore-file" ] ; then + echo " ** file will be ignored" + fileName="" + ignoreFile=1 + elif [ "$a" == "-das-cache" ] ; then + echo " ** DAS cache ${DAS_DIR} enabled" + dasCache=1 + if [ ! -d ${DAS_DIR} ] ; then mkdir ${DAS_DIR}; fi + else + temp_var=${a/-debug/} + if [ ${#a} -gt ${#temp_var} ] ; then + debug=${temp_var} + echo " ** debug detected (debug=${debug})" + fi + fi +done + +# Obtain the runList from a file, if needed +runList="" +if [ ${#fileName} -gt 0 ] ; then + if [ -s ${fileName} ] ; then + runList=`cat ${fileName}` + else + echo "<${fileName}> does not seem to be a valid file" + exit 2 + fi +else + if [ ${ignoreFile} -eq 0 ] ; then + echo " ! no file provided" + fi + echo " ! will produce only html page" +fi + + +# Check the runList and correct the correctables +# Replace ',' and ';' by empty spaces +runList=`echo "${runList}" | sed 'sk,k\ kg' | sed 'sk;k\ kg'` +ok=1 +for r in ${runList} ; do + if [ ! ${#r} -eq 6 ] ; then + echo "run numbers are expected to be of length 6. Check <$r>" + ok=0 + fi + debug_loc=0 + if [ "$r" -eq "$r" ] 2>/dev/null ; then + if [ ${debug_loc} -eq 1 ] ; then echo "run variable <$r> is a number (ok)"; fi + else + echo "error: run variable <$r> is not an integer number" + ok=0 + fi +done + +echo "Tested `wc -w <<< "${runList}"` runs from file ${fileName}" +if [ ${ok} -eq 0 ] ; then + echo "errors in the file ${fileName} with run numbers" + exit 3 +else + if [ ${#fileName} -gt 0 ] ; then + echo "run numbers in ${fileName} verified ok" + fi +fi + +comment=`echo ${comment} | sed sk\_k\ kg` +if [ ${#comment} -gt 0 ] ; then + echo "comment \"${comment}\" will be added to the pages" +fi + +if [ ${debug} -eq 3 ] ; then exit; fi + + +echo +echo +echo +echo 'Run numbers for processing' +echo "${runList}" +echo -e "list complete\n" + +#processing + +for i in ${runList} ; do + runnumber=$i + + logFile="${LOG_DIR}/log_${runnumber}.out" + rm -f ${logFile} + +# if [[ "$runnumber" > 233890 ]] ; then + echo + echo + echo + echo "Run for processing $runnumber" + echo "always copy root file from /eos !!!" + echo "file=root://eoscms//cms/$HistoDir/Global_$runnumber.root" +# always copy root file from /eos !!! +## if [ ! -s Global_${runnumber}.root ] ; then +## xrdcp root://eoscms//eos/cms/$HistoDir/Global_$runnumber.root Global_$runnumber.root + xrdcp -f root://eoscms//eos/cms/$HistoDir/Global_$runnumber.root Global_$runnumber.root + status="$?" + if [ ! ${status} -eq 0 ] ; then + echo "failed to get file Global_${runnumber}.root" + exit 2 + fi +## fi + + #IMPSM processing + echo -e "\nRemoteMonitoringPSM\n" >> ${logFile} +# ./../../macros/psm/RemoteMonitoringPSM.cc.exe Global_$runnumber.root 2>&1 | tee -a ${logFile} +# ./../../macros/psm/RemoteMonitoringALCARECOPSM.cc.exe Global_$runnumber.root Global_$runnumber.root Global 2>&1 | tee -a ${logFile} + ./../../macros/psm/RemoteMonitoringIMPSM.cc.exe Global_$runnumber.root Global_$runnumber.root 2>&1 | tee -a ${logFile} + + if [ ! $? -eq 0 ] ; then + echo "IMPSM processing failed" + exit 2 + fi + +## if [ ! -s HELP.html ] ; then +## echo "GLOBAL failure was not detected. HELP.html is missing" +## exit 2 +## fi + + + local_WebDir=dir-IMPSM-GLOBAL_${runnumber} + rm -rf ${local_WebDir} + if [ ! -d ${local_WebDir} ] ; then mkdir ${local_WebDir}; fi + for j in $(ls -r *.html); do + cat $j | sed 's#cms-cpt-software.web.cern.ch\/cms-cpt-software\/General\/Validation\/SVSuite#cms-conddb.cern.ch\/eosweb\/hcal#g' \ + > ${local_WebDir}/$j + done + cp *.png ${local_WebDir} +## cp HELP.html ${local_WebDir} + + + +#-----------------------------------------------------------------------------------------copying: + + +#---------------111 +# first variant: + mkdir $WebDir/IMPSM/GLOBAL_$runnumber + cp *.png $WebDir/IMPSM/GLOBAL_$runnumber/. + cp *.html $WebDir/IMPSM/GLOBAL_$runnumber/. + echo "cp png and html file done" + + +#---------------222 wrong, create dir GLOBAL_$runnumber and inside, the dir local_WebDir +# more simple second variant: +#scp -r ${local_WebDir} $WebDir/IMPSM/GLOBAL_$runnumber +#echo "cp -r for dir with png and html file done" + + +#---------------old +# instead old variant: + +# files=`cd ${local_WebDir}; ls` + ###echo "IMPSM files=${files}" +# if [ ${debug} -eq 0 ] ; then +# eos mkdir -p $WebDir/IMPSM/GLOBAL_$runnumber +# if [ ! $? -eq 0 ] ; then +# echo "IMPSM eos mkdir failed" +# exit 2 +# fi +# for f in ${files} ; do +# echo "eoscp ${local_WebDir}/${f} $WebDir/IMPSM/GLOBAL_$runnumber/${f}" +# eos cp ${local_WebDir}/${f} $WebDir/IMPSM/GLOBAL_$runnumber/${f} +# if [ ! $? -eq 0 ] ; then +# echo "IMPSM eoscp failed for ${f}" +#### exit 2 +# fi +# done +# else + ## debuging +# echo "debugging: files are not copied to EOS" +# fi +# +#--------------- +# +# removing: +# +# +# + rm *.html + rm *.png +# rm -rf dir-IMPSM-GLOBAL_* +# rm *.root +# + +#--------------- + +#fi + +done + +if [ ${debug} -eq 2 ] ; then + echo "debug=2 skipping web page creation" + exit 2 +fi +#--------------- + + + +echo "IMPSM script done" +#--------------- diff --git a/DPGAnalysis/HcalTools/scripts/psm/PSM_Global_2018_cfg.py b/DPGAnalysis/HcalTools/scripts/psm/PSM_Global_2018_cfg.py new file mode 100644 index 0000000000000..b4b932f6b36e2 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/PSM_Global_2018_cfg.py @@ -0,0 +1,629 @@ +#eoscms ls -l /eos/cms/store/group/dpg_hcal/comm_hcal/USC/run327785/USC_327785.root +# choose run in /store/group/dpg_hcal/comm_hcal/USC/ +#how to run: cmsRun remoteMonitoring_LED_eraTEST2019_cfg.py 331370 /store/group/dpg_hcal/comm_hcal/USC/ /afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/RDMScript/CMSSW_10_6_5/src/WORK +#how to run: cmsRun remoteMonitoring_Global_PSM_test_cfg.py + +import sys +import FWCore.ParameterSet.Config as cms +from Configuration.StandardSequences.Eras import eras +process = cms.Process("TEST", eras.Run2_2018) +#process = cms.Process("TEST", eras.Run3) +process.load("Configuration.StandardSequences.GeometryDB_cff") +process.load("CondCore.CondDB.CondDB_cfi") +process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi") +process.l1GtUnpack.DaqGtInputTag = 'source' +# from RelValAlCaPedestal_cfg_2018.py +process.load('Configuration.StandardSequences.Services_cff') +process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') +process.load('FWCore.MessageService.MessageLogger_cfi') +process.load('Configuration.EventContent.EventContent_cff') +process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff') +process.load('Configuration.StandardSequences.Reconstruction_Data_cff') +process.load('Configuration.StandardSequences.EndOfProcess_cff') +#process.load('RecoLocalCalo.Configuration.hcalLocalReco_cff') +process.load('Configuration.StandardSequences.GeometryRecoDB_cff') +process.load('Configuration.StandardSequences.EndOfProcess_cff') + +##runnumber = sys.argv[2][4:-5] +#runnumber = sys.argv[2] +#rundir = sys.argv[3] +#histodir = sys.argv[4] + +#print 'RUN = '+runnumber +#print 'Input file = '+rundir+'/run'+runnumber+'/USC_'+runnumber+'.root' +##print 'Input file = '+rundir+'/USC_'+runnumber+'.root' +#print 'Output file = '+histodir+'/LED_'+runnumber+'.root' + +process.maxEvents = cms.untracked.PSet( +# input = cms.untracked.int32(10000) + input = cms.untracked.int32(-1) + ) + + +# eos ls -latr /eos/cms/store/data/Run2018A/HcalNZS/RAW/v1/000/316/ +# eos ls -latr /eos/cms/store/data/Run2018A/HcalNZS/RAW/v1/000/316/982/00000/ +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring( +'/store/data/Run2018A/HcalNZS/RAW/v1/000/316/982/00000/228C54E3-EB61-E811-ACB3-FA163E2EA36F.root' +# 'file:/afs/cern.ch/work/z/zhokin/hcal/toc1/CMSSW_10_6_5_patch1/src/WORK/my.root' + ), + secondaryFileNames = cms.untracked.vstring() + ) +process.options = cms.untracked.PSet( +# SkipEvent = cms.untracked.vstring('ProductNotFound') +) + + +#process.source = cms.Source("HcalTBSource", +# skipBadFiles=cms.untracked.bool(True), +# firstLuminosityBlockForEachRun = cms.untracked.VLuminosityBlockID([]), +# firstRun = cms.untracked.uint32(316982), +# fileNames = cms.untracked.vstring( +#'/store/data/Run2018A/HcalNZS/RAW/v1/000/316/982/00000/228C54E3-EB61-E811-ACB3-FA163E2EA36F.root' +# ), +# secondaryFileNames = cms.untracked.vstring() +# ) +#process.options = cms.untracked.PSet( +#) + + +# eoscp /eos/cms/store/data/Run2018D/SingleMuon/ALCARECO/HcalCalHBHEMuonFilter-PromptReco-v2/000/325/172/00000/90635E6F-32C1-BF4E-A6F9-B84E85723051.root my.root +#eos ls -latr /eos/cms/store/data/Run2018D/SingleMuon/ALCARECO/HcalCalHBHEMuonFilter-PromptReco-v2/000/325/172/00000/ +#eos ls -latr /eos/cms/store/data/Run2018E/ZeroBias/RAW/v1/000/325/700/00000/0439205E-54D1-3249-98C1-064D418F374F.root +# eoscp /eos/cms/store/data/Run2018E/ZeroBias/RAW/v1/000/325/700/00000/0439205E-54D1-3249-98C1-064D418F374F.root my.root +# eos ls -latr /eos/cms/store/data/Run2018A/HcalNZS/RAW/v1/000/316/982/00000/228C54E3-EB61-E811-ACB3-FA163E2EA36F.root + +# Production Info +#process.configurationMetadata = cms.untracked.PSet( +# annotation = cms.untracked.string('Reconstruction.py nevts:10'), +# name = cms.untracked.string('Applications'), +# version = cms.untracked.string('$Revision: 1.19 $') +#) +###########################################################################################################3 +process.Analyzer = cms.EDAnalyzer("CMTRawAnalyzer", + # + Verbosity = cms.untracked.int32(0), + #Verbosity = cms.untracked.int32(-9062), + #Verbosity = cms.untracked.int32(-9063), + #Verbosity = cms.untracked.int32(-9064), + #Verbosity = cms.untracked.int32(-9065), + #Verbosity = cms.untracked.int32(-84), + #Verbosity = cms.untracked.int32(-91), + #Verbosity = cms.untracked.int32(-92), + # + MapCreation = cms.untracked.int32(1), + # + recordNtuples = cms.untracked.bool(False), + #recordNtuples = cms.untracked.bool(True), + maxNeventsInNtuple = cms.int32(1), + # + #recordHistoes = cms.untracked.bool(False), + recordHistoes = cms.untracked.bool(True), + # + ##scripts: zRunRatio34.C, zRunNbadchan.C + studyRunDependenceHist = cms.untracked.bool(True), + #studyRunDependenceHist = cms.untracked.bool(False), + # + ##scripts: zerrors.C + studyCapIDErrorsHist = cms.untracked.bool(True), + #studyCapIDErrorsHist = cms.untracked.bool(False), + # + ##scripts: zrms.C + studyRMSshapeHist = cms.untracked.bool(True), + #studyRMSshapeHist = cms.untracked.bool(False), + # + ##scripts: zratio34.C + studyRatioShapeHist = cms.untracked.bool(True), + #studyRatioShapeHist = cms.untracked.bool(False), + # + ##scripts: zadcamplitude.C + studyADCAmplHist = cms.untracked.bool(True), + #studyADCAmplHist = cms.untracked.bool(False), + # + ##scripts: ztsmean.C + studyTSmeanShapeHist = cms.untracked.bool(True), + #studyTSmeanShapeHist = cms.untracked.bool(False), + # + ##scripts: ztsmaxa.C + studyTSmaxShapeHist = cms.untracked.bool(True), + #studyTSmaxShapeHist = cms.untracked.bool(False), + # + ##scripts: zcalib....C + studyCalibCellsHist = cms.untracked.bool(True), + #studyCalibCellsHist = cms.untracked.bool(False), + # + ##scripts: zdifampl.C + studyDiffAmplHist = cms.untracked.bool(True), + #studyDiffAmplHist = cms.untracked.bool(False), + # + ##scripts: zadcamplitude.C + studyPedestalsHist = cms.untracked.bool(True), + #studyPedestalsHist = cms.untracked.bool(False), + # + ##scripts: zamplpedcorr.C + studyPedestalCorrelations = cms.untracked.bool(True), + #studyPedestalsHist = cms.untracked.bool(False), + # + # + ##DigiCollectionLabel = cms.untracked.InputTag("hcalDigis"), + #Verbosity = cms.untracked.int32(-54), + #Verbosity = cms.untracked.int32(-22), + #Verbosity = cms.untracked.int32(-11), + #Verbosity = cms.untracked.int32(-12), + #Verbosity = cms.untracked.int32(-13), + #Verbosity = cms.untracked.int32(-51), + #Verbosity = cms.untracked.int32(-24), + #Verbosity = cms.untracked.int32(-244), + #Verbosity = cms.untracked.int32(-233), + # + # + # Normal channels: + # + # -53 for BAD HBHEHF channels from study on shape Ratio + #Verbosity = cms.untracked.int32(-53), + ratioHBMin = cms.double(0.70), + ratioHBMax = cms.double(0.94), + ratioHEMin = cms.double(0.60), + ratioHEMax = cms.double(0.95), + ratioHFMin = cms.double(0.45), + ratioHFMax = cms.double(1.02), + ratioHOMin = cms.double(0.40), + ratioHOMax = cms.double(1.04), + # -54 for BAD HBHEHF channels from study on RMS of shapes + #Verbosity = cms.untracked.int32(-54), + rmsHBMin = cms.double(0.7), + rmsHBMax = cms.double(2.5), + rmsHEMin = cms.double(0.7), + rmsHEMax = cms.double(2.2), + rmsHFMin = cms.double(0.1), + rmsHFMax = cms.double(2.6), + rmsHOMin = cms.double(0.1), + rmsHOMax = cms.double(2.8), + # -55 for BAD HBHEHF channels from study on TSmean of shapes + #Verbosity = cms.untracked.int32(-55), + TSmeanHBMin = cms.double(2.5), + TSmeanHBMax = cms.double(5.5), + TSmeanHEMin = cms.double(1.0), + TSmeanHEMax = cms.double(5.2), + TSmeanHFMin = cms.double(1.0), + TSmeanHFMax = cms.double(4.2), + TSmeanHOMin = cms.double(1.0), + TSmeanHOMax = cms.double(4.8), + # -55 for BAD HBHEHF channels from study on TSmax of shapes + #Verbosity = cms.untracked.int32(-55), + TSpeakHBMin = cms.double(2.2), + TSpeakHBMax = cms.double(5.5), + TSpeakHEMin = cms.double(1.5), + TSpeakHEMax = cms.double(6.5), + TSpeakHFMin = cms.double(0.5), + TSpeakHFMax = cms.double(4.5), + TSpeakHOMin = cms.double(0.5), + TSpeakHOMax = cms.double(7.5), + # -56 for BAD HBHEHOHF channels from study on ADC Amplitude + #Verbosity = cms.untracked.int32(-56), + ADCAmplHBMin = cms.double(10000.), + ADCAmplHBMax = cms.double(300000.), + ADCAmplHEMin = cms.double(20000.), + ADCAmplHEMax = cms.double(300000.), + ADCAmplHFMin = cms.double(50.), + ADCAmplHFMax = cms.double(9000.), + ADCAmplHOMin = cms.double(50.), + ADCAmplHOMax = cms.double(9000.), + # + # to see channels w/ PedestalSigma < cut + #Verbosity = cms.untracked.int32(-57), + pedestalwHBMax = cms.double(0.1), + pedestalwHEMax = cms.double(0.1), + pedestalwHFMax = cms.double(0.4), + pedestalwHOMax = cms.double(0.1), + # + # to see channels for pedestal < cut + pedestalHBMax = cms.double(0.1), + pedestalHEMax = cms.double(0.6), + pedestalHFMax = cms.double(0.8), + pedestalHOMax = cms.double(0.1), + # + # + # CALIBRATION channels: + # + # for BAD HBHEHOHF CALIBRATION channels from study on ADC amplitude + # cuts for Laser runs: + #calibrADCHBMin = cms.double(15.0), + #calibrADCHEMin = cms.double(15.0), + #calibrADCHOMin = cms.double(15.0), + #calibrADCHFMin = cms.double(15.0), + # cuts for LED runs: + calibrADCHBMin = cms.double(1000.), + calibrADCHBMax = cms.double(100000000.), + calibrADCHEMin = cms.double(1000.), + calibrADCHEMax = cms.double(100000000.), + calibrADCHOMin = cms.double(1000.), + calibrADCHOMax = cms.double(100000000.), + calibrADCHFMin = cms.double(100.), + calibrADCHFMax = cms.double(100000000.), + + # for BAD HBHEHOHF CALIBRATION channels from study on shape Ratio + calibrRatioHBMin = cms.double(0.76), + calibrRatioHBMax = cms.double(0.94), + calibrRatioHEMin = cms.double(0.76), + calibrRatioHEMax = cms.double(0.94), + calibrRatioHOMin = cms.double(0.85), + calibrRatioHOMax = cms.double(0.99), + calibrRatioHFMin = cms.double(0.5), + calibrRatioHFMax = cms.double(0.8), + # for BAD HBHEHOHF CALIBRATION channels from study on TSmax + calibrTSmaxHBMin = cms.double(1.50), + calibrTSmaxHBMax = cms.double(2.50), + calibrTSmaxHEMin = cms.double(1.50), + calibrTSmaxHEMax = cms.double(2.50), + calibrTSmaxHOMin = cms.double(1.50), + calibrTSmaxHOMax = cms.double(2.50), + calibrTSmaxHFMin = cms.double(3.50), + calibrTSmaxHFMax = cms.double(4.50), + # for BAD HBHEHOHF CALIBRATION channels from study on TSmean + calibrTSmeanHBMin = cms.double(2.40), + calibrTSmeanHBMax = cms.double(3.70), + calibrTSmeanHEMin = cms.double(2.40), + calibrTSmeanHEMax = cms.double(3.70), + calibrTSmeanHOMin = cms.double(1.50), + calibrTSmeanHOMax = cms.double(2.70), + calibrTSmeanHFMin = cms.double(3.50), + calibrTSmeanHFMax = cms.double(4.50), + # for BAD HBHEHOHF CALIBRATION channels from study on Width + calibrWidthHBMin = cms.double(1.30), + calibrWidthHBMax = cms.double(1.90), + calibrWidthHEMin = cms.double(1.30), + calibrWidthHEMax = cms.double(1.90), + calibrWidthHOMin = cms.double(0.70), + calibrWidthHOMax = cms.double(1.65), + calibrWidthHFMin = cms.double(0.30), + calibrWidthHFMax = cms.double(1.50), + # + # Special task of run or LS quality: + # + # flag for ask runs of LSs for RMT & CMT accordingly: + #=0-runs, =1-LSs + # keep for LED runs this flags =0 always + flagtoaskrunsorls = cms.int32(0), + # + # flag for choice of criterion of bad channels: + #=0-CapIdErr, =1-Ratio, =2-Width, =3-TSmax, =4-TSmean, =5-adcAmplitud + # keep for CMT (global runs) this flags =0 always + flagtodefinebadchannel = cms.int32(0), + #how many bins you want on the plots:better to choice (#LS+1) + howmanybinsonplots = cms.int32(25), + # + # ls - range for RBX study (and ??? perhaps for gain stability via abort gap): + lsmin = cms.int32(1), + #lsmax = cms.int32(620), + lsmax = cms.int32(2600), + # + flagabortgaprejected = cms.int32(1), + bcnrejectedlow = cms.int32(3446), + bcnrejectedhigh= cms.int32(3564), + # + # flag cpu time reducing + #=0-all plots, =1-optimized number of plots (for Global runs) + flagcpuoptimization = cms.int32(0), + # + # flag for ask type of Normalization for CMT estimators: + #=0-normalizationOn#evOfLS; =1-averageVariable-normalizationOn#entriesInLS; + flagestimatornormalization = cms.int32(1), + # + # + # cuts on Nbadchannels to see LS dependences: + # Verbosity = cms.untracked.int32(-77), + # to select abnormal events,for which Nbcs > this limits + lsdep_cut1_peak_HBdepth1 = cms.int32(20), + lsdep_cut1_peak_HBdepth2 = cms.int32(7), + lsdep_cut1_peak_HEdepth1 = cms.int32(16), + lsdep_cut1_peak_HEdepth2 = cms.int32(13), + lsdep_cut1_peak_HEdepth3 = cms.int32(4), + lsdep_cut1_peak_HFdepth1 = cms.int32(10), + lsdep_cut1_peak_HFdepth2 = cms.int32(5), + lsdep_cut1_peak_HOdepth4 = cms.int32(45), + # to select events with Nbcs > this limits + lsdep_cut3_max_HBdepth1 = cms.int32(19), + lsdep_cut3_max_HBdepth2 = cms.int32(6), + lsdep_cut3_max_HEdepth1 = cms.int32(15), + lsdep_cut3_max_HEdepth2 = cms.int32(12), + lsdep_cut3_max_HEdepth3 = cms.int32(3), + lsdep_cut3_max_HFdepth1 = cms.int32(9), + lsdep_cut3_max_HFdepth2 = cms.int32(4), + lsdep_cut3_max_HOdepth4 = cms.int32(40), + # + # + #old was for runs: + # nbadchannels1 = cms.int32(7), + # nbadchannels2 = cms.int32(12), + # nbadchannels3 = cms.int32(50), + # + #Verbosity = cms.untracked.int32(-79), + # cuts on Estimator1 to see LS dependences: + lsdep_estimator1_HBdepth1 = cms.double(2500.), + lsdep_estimator1_HBdepth2 = cms.double(2500.), + lsdep_estimator1_HBdepth3 = cms.double(2500.), + lsdep_estimator1_HBdepth4 = cms.double(2500.), + lsdep_estimator1_HEdepth1 = cms.double(2500.), + lsdep_estimator1_HEdepth2 = cms.double(2500.), + lsdep_estimator1_HEdepth3 = cms.double(2500.), + lsdep_estimator1_HEdepth4 = cms.double(2500.), + lsdep_estimator1_HEdepth5 = cms.double(2500.), + lsdep_estimator1_HEdepth6 = cms.double(2500.), + lsdep_estimator1_HEdepth7 = cms.double(2500.), + lsdep_estimator1_HFdepth1 = cms.double(2500.), + lsdep_estimator1_HFdepth2 = cms.double(2500.), + lsdep_estimator1_HFdepth3 = cms.double(2500.), + lsdep_estimator1_HFdepth4 = cms.double(2500.), + lsdep_estimator1_HOdepth4 = cms.double(2500.), + # cuts on Estimator2 to see LS dependences: + lsdep_estimator2_HBdepth1 = cms.double(7.), + lsdep_estimator2_HBdepth2 = cms.double(7.), + lsdep_estimator2_HEdepth1 = cms.double(7.), + lsdep_estimator2_HEdepth2 = cms.double(7.), + lsdep_estimator2_HEdepth3 = cms.double(7.), + lsdep_estimator2_HFdepth1 = cms.double(7.), + lsdep_estimator2_HFdepth2 = cms.double(7.), + lsdep_estimator2_HOdepth4 = cms.double(7.), + # cuts on Estimator3 to see LS dependences: + lsdep_estimator3_HBdepth1 = cms.double(7.), + lsdep_estimator3_HBdepth2 = cms.double(7.), + lsdep_estimator3_HEdepth1 = cms.double(7.), + lsdep_estimator3_HEdepth2 = cms.double(7.), + lsdep_estimator3_HEdepth3 = cms.double(7.), + lsdep_estimator3_HFdepth1 = cms.double(7.), + lsdep_estimator3_HFdepth2 = cms.double(7.), + lsdep_estimator3_HOdepth4 = cms.double(7.), + # cuts on Estimator4 to see LS dependences: + lsdep_estimator4_HBdepth1 = cms.double(5.), + lsdep_estimator4_HBdepth2 = cms.double(5.), + lsdep_estimator4_HEdepth1 = cms.double(5.), + lsdep_estimator4_HEdepth2 = cms.double(5.), + lsdep_estimator4_HEdepth3 = cms.double(5.), + lsdep_estimator4_HFdepth1 = cms.double(5.), + lsdep_estimator4_HFdepth2 = cms.double(5.), + lsdep_estimator4_HOdepth4 = cms.double(5.), + # cuts on Estimator5 to see LS dependences: + lsdep_estimator5_HBdepth1 = cms.double(1.8), + lsdep_estimator5_HBdepth2 = cms.double(1.8), + lsdep_estimator5_HEdepth1 = cms.double(1.8), + lsdep_estimator5_HEdepth2 = cms.double(1.8), + lsdep_estimator5_HEdepth3 = cms.double(1.8), + lsdep_estimator5_HFdepth1 = cms.double(1.8), + lsdep_estimator5_HFdepth2 = cms.double(1.8), + lsdep_estimator5_HOdepth4 = cms.double(1.8), + # + # + #Verbosity = cms.untracked.int32(-81), + #Verbosity = cms.untracked.int32(-82), + #Verbosity = cms.untracked.int32(-83), + # + # use ADC amplitude: + useADCmassive = cms.untracked.bool(True), + useADCfC = cms.untracked.bool(False), + useADCcounts = cms.untracked.bool(False), + # + # Pedestals in fC + #usePedestalSubtraction = cms.untracked.bool(True), + usePedestalSubtraction = cms.untracked.bool(False), + # + # for possible ignoring of channels w/o signal, apply same cut for + # HBHEHFHO on Amplitude, usable for all Estimators 1,2,3,4,5: + # forallestimators_amplitude_bigger = cms.double(10.), + forallestimators_amplitude_bigger = cms.double(-100.), + # + # + # + #usecontinuousnumbering = cms.untracked.bool(False), + usecontinuousnumbering = cms.untracked.bool(True), + # + # + # + hcalCalibDigiCollectionTag = cms.InputTag('hcalDigis'), + hbheDigiCollectionTag = cms.InputTag('hcalDigis'), + hoDigiCollectionTag = cms.InputTag('hcalDigis'), + hfDigiCollectionTag = cms.InputTag('hcalDigis'), + # + # + # + # + #for upgrade: --------------------------------------------------------- + hbheQIE11DigiCollectionTag = cms.InputTag('hcalDigis'), + hbheQIE10DigiCollectionTag = cms.InputTag('hcalDigis'), + # flag to use either only old QIE8 digiCollections or only new QIE10,11 digiCollections + #=0-all digiCollections(default for normal running), =1-only old QIE8 digiCollections, + #=2-only new QIE1011 digiCollections, =3-only new QIE1011 digiCollections w/o new high depthes + #=4-2016fall, =5-2016fall w/o new high depthes, =6-2017bebin, =7-2017bebin w/o new high depthes in HEonly + #=8--2017bebin w/o new high depthes, =9-all digiCollections w/o new high depthes + # flag HBHE8 HBHE11 HF8 HF10 comments: + # 0 + + + + all + # 1 + - + - old + # 2 - + - + new + # 3 - + - + new w/o high depthes + # 4 + - + + 2016fall + # 5 + - + + 2016fall w/o high depthes + # 6 + + - + 2017 && 2018 && 2021 + # 7 + + - + 2017begin w/o high depthes in HEonly + # 8 + + - + 2017begin w/o high depthes + # 9 + + + + all w/o high depthes + # 10 + - - + 2017 w/o HEP17 + # + flagupgradeqie1011 = cms.int32(6), + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + # flaguseshunt = 1 or 6 (6 is default for global runs) + flaguseshunt = cms.int32(6), + # flagsipmcorrection: != 0 yes,apply; = 0 do not use; + flagsipmcorrection = cms.int32(1), + #end upgrade: --------------------------------------------------------- end upgrade + # + # + # for local LASER runs ONLY!!! to be > 0 (,else = 0) + flagLaserRaddam = cms.int32(0), + # for gaussian fit for local shunt1 (Gsel0) led low-intensity or ped ONLY!!! to be > 0 (,else = 0) + flagfitshunt1pedorledlowintensity = cms.int32(0), + # + splashesUpperLimit = cms.int32(10000), + # + # + # for use in IterativeMethod of CalibrationGroup!!! to be > 1 (,else = 0) + flagIterativeMethodCalibrationGroupDigi = cms.int32(1), + # + # for use in IterativeMethod of CalibrationGroup!!! to be > 1 (,else = 0) + flagIterativeMethodCalibrationGroupReco = cms.int32(1), + # + hbheInputSignalTag = cms.InputTag('hbherecoMBNZS'), + hbheInputNoiseTag = cms.InputTag('hbherecoNoise'), + hfInputSignalTag = cms.InputTag('hfrecoMBNZS'), + hfInputNoiseTag = cms.InputTag('hfrecoNoise'), + # + # + # + # + # + # + #HistOutFile = cms.untracked.string('LED_331370.root'), + #HistOutFile = cms.untracked.string(histodir+'/LED_'+runnumber+'.root'), + #HistOutFile = cms.untracked.string('Global_325172_1.root'), + #HistOutFile = cms.untracked.string('Global_316982.root'), + HistOutFile = cms.untracked.string('Global.root'), + MAPOutFile = cms.untracked.string('LogEleMapdb.h') + # + ##OutputFilePath = cms.string('/tmp/zhokin/'), + ##OutputFileExt = cms.string(''), + # + ) +########################################################################### +# Other statements +process.hcal_db_producer = cms.ESProducer("HcalDbProducer", + dump = cms.untracked.vstring(''), + file = cms.untracked.string('') +) +process.es_hardcode = cms.ESSource("HcalHardcodeCalibrations", + toGet = cms.untracked.vstring('QIEShape', + 'QIEData', + 'ChannelQuality', + 'HcalQIEData', + 'Pedestals', + 'PedestalWidths', + 'Gains', + 'GainWidths', + 'ZSThresholds', + 'RespCorrs') +) + +## Jula's recipe for too many files +#process.options = cms.untracked.PSet( +# wantSummary = cms.untracked.bool(False), +# Rethrow = cms.untracked.vstring("ProductNotFound"), # make this exception fatal +# fileMode = cms.untracked.string('NOMERGE') # no ordering needed, but calls endRun/beginRun etc. at file boundaries +#) + +######################################################################################## Global Tags for 2018 data taking : +# use twiki site to specify HLT reconstruction Global tags: +# https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideFrontierConditions +# +# 100X_dataRun2_HLT_v2 for CMSSW_10_0_3 onwards CRUZET 2018 update of 0T templates for SiPixels +# 100X_dataRun2_HLT_v1 for CMSSW_10_0_0 onwards MWGRs 2018 first HLT GT for 2018 +# +# +############################################################################ GlobalTag :1+ good as 5 +#from Configuration.AlCa.GlobalTag_condDBv2 import GlobalTag +#process.GlobalTag = GlobalTag(process.GlobalTag, '100X_dataRun2_HLT_v2', '') + +#from Configuration.AlCa.GlobalTag_condDBv2 import GlobalTag +#process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data_FULL', '') + + +#from Configuration.AlCa.GlobalTag_condDBv2 import GlobalTag +#process.GlobalTag = GlobalTag(process.GlobalTag, '101X_dataRun2_HLT_v7', '') + +# 2019 Ultra Legacy 2017 +#process.GlobalTag.globaltag = '106X_dataRun2_trackerAlignment2017_v1' +# 2019 Ultra Legacy 2018 test TkAl +#process.GlobalTag.globaltag = '106X_dataRun2_v17' +# 2019 Ultra Legacy 2018 +#process.GlobalTag.globaltag = '106X_dataRun2_newTkAl_v18' +# 2019 Ultra Legacy 2016 +#process.GlobalTag.globaltag = '106X_dataRun2_UL2016TkAl_v24' +#process.GlobalTag.globaltag = '105X_dataRun2_v8' + +process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") +from Configuration.AlCa.autoCond import autoCond +process.GlobalTag.globaltag = '104X_dataRun2_v1' +#process.GlobalTag.globaltag = '105X_postLS2_design_v4' +#process.GlobalTag.globaltag = '106X_dataRun3_HLT_v3' + + +############################################################################ +# V.EPSHTEIN: +#process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") +#process.GlobalTag.globaltag = '100X_dataRun2_Prompt_Candidate_2018_01_31_16_01_36' +### +#process.hcal_db_producer = cms.ESProducer("HcalDbProducer", +# dump = cms.untracked.vstring(''), +# file = cms.untracked.string('') +#) +# +#process.hcalDigis= cms.EDProducer("HcalRawToDigi", +# FilterDataQuality = cms.bool(True), +# HcalFirstFED = cms.untracked.int32(700), +# InputLabel = cms.InputTag("source"), +# UnpackCalib = cms.untracked.bool(True), +# FEDs = cms.untracked.vint32(1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117), +#) +### +############################################################################ +process.load('Configuration.StandardSequences.RawToDigi_Data_cff') +#process.hcalDigis.FilterDataQuality = cms.bool(False) +#process.hcalDigis.InputLabel = cms.InputTag("source") +############################################################################ +#process.hcalDigis= cms.EDProducer("HcalRawToDigi", +# FilterDataQuality = cms.bool(True), +# FilterDataQuality = cms.bool(False), +# HcalFirstFED = cms.untracked.int32(700), +# InputLabel = cms.InputTag("source"), + #InputLabel = cms.InputTag("rawDataCollector"), +#) +#process.hcalDigis.FilterDataQuality = cms.bool(False) +#process.hcalDigis.InputLabel = cms.InputTag("source") +############################################################################ +##process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalPedestal_cff") +##process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalPedestalLocal_cff") +process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalMinBias_cff") +#process.load("ALCARECOHcalCalPedestalLocal_cff") +############################################################################ +#process.p = cms.Path(process.hcalDigis*process.Analyzer) +#process.p = cms.Path(process.seqALCARECOHcalCalMinBiasDigiNoHLT*process.seqALCARECOHcalCalMinBias*process.minbiasana) + +process.p = cms.Path(process.hcalDigis*process.seqALCARECOHcalCalMinBiasDigiNoHLT*process.seqALCARECOHcalCalMinBias*process.Analyzer) +#process.p = cms.Path(process.seqALCARECOHcalCalMinBiasDigiNoHLT*process.seqALCARECOHcalCalMinBias*process.Analyzer) + +#process.p = cms.Path(process.hcalDigis*process.seqALCARECOHcalCalMinBiasDigi*process.seqALCARECOHcalCalMinBias*process.Analyzer) + +#process.p = cms.Path(process.seqALCARECOHcalCalMinBiasDigi*process.seqALCARECOHcalCalMinBias*process.Analyzer) + +#process.p = cms.Path(process.seqALCARECOHcalCalMinBiasDigiNoHLT*process.seqALCARECOHcalCalMinBias*process.Analyzer) + +# see /afs/cern.ch/work/z/zhokin/public/CMSSW_10_4_0_patch1/src/Calibration/HcalAlCaRecoProducers/python/ALCARECOHcalCalMinBias_cff.py +############################################################################ +# customisation of the process. + +# Automatic addition of the customisation function from HLTrigger.Configuration.CustomConfigs +from HLTrigger.Configuration.CustomConfigs import L1THLT + +#call to customisation function L1THLT imported from HLTrigger.Configuration.CustomConfigs +process = L1THLT(process) + +# End of customisation functions + +############################################################################ +process.MessageLogger = cms.Service("MessageLogger", + categories = cms.untracked.vstring(''), + destinations = cms.untracked.vstring('cout'), + debugModules = cms.untracked.vstring('*'), + cout = cms.untracked.PSet( + threshold = cms.untracked.string('WARNING'), + WARNING = cms.untracked.PSet(limit = cms.untracked.int32(0)) + ) + ) +############################################################################ diff --git a/DPGAnalysis/HcalTools/scripts/psm/PSM_TEST.sh b/DPGAnalysis/HcalTools/scripts/psm/PSM_TEST.sh new file mode 100755 index 0000000000000..a29b3efce4c8b --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/PSM_TEST.sh @@ -0,0 +1,73 @@ +#!/bin/bash + + + +# Process arguments and set the flags +fileName=$1 + +# Obtain the runList from a file, if needed +runList="" +if [ ${#fileName} -gt 0 ] ; then + if [ -s ${fileName} ] ; then + runList=`cat ${fileName}` + else + echo "<${fileName}> does not seem to be a valid file" + exit 2 + fi +else + if [ ${ignoreFile} -eq 0 ] ; then + echo " ! no file provided" + fi + echo " ! will produce only the global html page" +fi + +# create log directory +LOG_DIR="dir-Logs" +if [ ! -d ${LOG_DIR} ] ; then mkdir ${LOG_DIR}; fi +rm -f ${LOG_DIR}/* + +#processing + +for i in ${runList} ; do + runnumber=$i + + logFile="${LOG_DIR}/log_${runnumber}.out" + rm -f ${logFile} + + #GlobalPSM processing + echo -e "\nRemoteMonitoringPSM\n" >> ${logFile} + ./../../macros/psm/RemoteMonitoringPSM.cc.exe GlobalPSM_$runnumber.root 2>&1 | tee -a ${logFile} + if [ ! $? -eq 0 ] ; then + echo "PSM processing failed" + exit 2 + fi + + local_WebDir=dir-CMT-GLOBAL_${runnumber} + rm -rf ${local_WebDir} + if [ ! -d ${local_WebDir} ] ; then mkdir ${local_WebDir}; fi + for j in $(ls -r *.html); do + cat $j | sed 's#cms-cpt-software.web.cern.ch\/cms-cpt-software\/General\/Validation\/SVSuite#cms-conddb.cern.ch\/eosweb\/hcal#g' \ + > ${local_WebDir}/$j + done + mv *.png ${local_WebDir} + mv *.html ${local_WebDir} +## cp HELP.html ${local_WebDir} +# removing: +# +# +# + rm *.html + rm *.png +# rm -rf dir-CMT-GLOBAL_* +# rm *.root +# +done + +#--------------- + +#fi + + + +echo "CMT script done" +#--------------- diff --git a/DPGAnalysis/HcalTools/scripts/psm/_runlist_ b/DPGAnalysis/HcalTools/scripts/psm/_runlist_ new file mode 100644 index 0000000000000..bfd6f284ae59b --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/_runlist_ @@ -0,0 +1 @@ +346235 346236 346237 346238 346246 346247 346300 346301 346302 346304 346306 346307 346373 346380 346383 346384 346386 346387 346388 346389 346394 346395 346396 346398 346445 346446 346447 346448 346449 346450 346452 346453 346455 346483 346486 346488 346490 346494 346508 346509 346511 346512 diff --git a/DPGAnalysis/HcalTools/scripts/psm/a.py.beg b/DPGAnalysis/HcalTools/scripts/psm/a.py.beg new file mode 100644 index 0000000000000..373553b128411 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/a.py.beg @@ -0,0 +1,40 @@ +# how to find input file: eos ls -latr /eos/cms/store/data/Run2018A/HcalNZS/RAW/v1/000/316/ +#how to run: cmsRun remoteMonitoring_Global_PSM_test_cfg.py +#---------------------------------------------------------------------------- +# Auto generated configuration file +# using: +# Revision: 1.19 +# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v +# with command line options: RelVal -s ALCA:HcalCalMinBias --data --scenario=pp -n 100 --conditions auto:run3_data_prompt --datatier USER --customise=HLTrigger/Configuration/CustomConfigs.L1THLT --era Run3 --processName=USER --filein file:RelVal_RECO.root --fileout file:RelVal_ALCA.root --no_exec + +import sys +import FWCore.ParameterSet.Config as cms + +from Configuration.Eras.Era_Run3_cff import Run3 +process = cms.Process('USER',Run3) + +# import of standard configurations +process.load('Configuration.StandardSequences.Services_cff') +process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') +process.load('FWCore.MessageService.MessageLogger_cfi') +process.load('Configuration.EventContent.EventContent_cff') +process.load('Configuration.StandardSequences.GeometryRecoDB_cff') +process.load('Configuration.StandardSequences.MagneticField_cff') +process.load('Configuration.StandardSequences.EndOfProcess_cff') +process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') +process.load("CondCore.CondDB.CondDB_cfi") +process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi") +process.l1GtUnpack.DaqGtInputTag = 'source' +process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff') +process.load('Configuration.StandardSequences.Reconstruction_Data_cff') +#---------------------------------------------------------------------------- +process.maxEvents = cms.untracked.PSet( +# input = cms.untracked.int32(100), + input = cms.untracked.int32(-1), + output = cms.optional.untracked.allowed(cms.int32,cms.PSet) +) +#---------------------------------------------------------------------------- +# Input source +process.source = cms.Source("PoolSource", + skipBadFiles=cms.untracked.bool(True), + fileNames = cms.untracked.vstring( diff --git a/DPGAnalysis/HcalTools/scripts/psm/a.py.end b/DPGAnalysis/HcalTools/scripts/psm/a.py.end new file mode 100644 index 0000000000000..f04801ea9c419 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/a.py.end @@ -0,0 +1,506 @@ + ), +# lumisToProcess = cms.untracked.VLuminosityBlockRange( +# '346490:17', +# '346490:413' +# ), + secondaryFileNames = cms.untracked.vstring() +) + +process.options = cms.untracked.PSet( +# SkipEvent = cms.untracked.vstring('ProductNotFound') +) + +# Production Info +process.configurationMetadata = cms.untracked.PSet( + annotation = cms.untracked.string('Reconstruction.py nevts:10'), + name = cms.untracked.string('Applications'), + version = cms.untracked.string('$Revision: 1.19 $') +) +###########################################################################################################3 +process.Analyzer = cms.EDAnalyzer("CMTRawAnalyzer", + # + Verbosity = cms.untracked.int32(0), + #Verbosity = cms.untracked.int32(-9504), + #Verbosity = cms.untracked.int32(-91), + #Verbosity = cms.untracked.int32(-92), + # + MapCreation = cms.untracked.int32(1), + # + recordNtuples = cms.untracked.bool(False), + #recordNtuples = cms.untracked.bool(True), + maxNeventsInNtuple = cms.int32(1), + # + #recordHistoes = cms.untracked.bool(False), + recordHistoes = cms.untracked.bool(True), + # + ##scripts: zRunRatio34.C, zRunNbadchan.C + studyRunDependenceHist = cms.untracked.bool(True), + #studyRunDependenceHist = cms.untracked.bool(False), + # + ##scripts: zerrors.C + studyCapIDErrorsHist = cms.untracked.bool(True), + #studyCapIDErrorsHist = cms.untracked.bool(False), + # + ##scripts: zrms.C + studyRMSshapeHist = cms.untracked.bool(True), + #studyRMSshapeHist = cms.untracked.bool(False), + # + ##scripts: zratio34.C + studyRatioShapeHist = cms.untracked.bool(True), + #studyRatioShapeHist = cms.untracked.bool(False), + # + ##scripts: zadcamplitude.C + studyADCAmplHist = cms.untracked.bool(True), + #studyADCAmplHist = cms.untracked.bool(False), + # + ##scripts: ztsmean.C + studyTSmeanShapeHist = cms.untracked.bool(True), + #studyTSmeanShapeHist = cms.untracked.bool(False), + # + ##scripts: ztsmaxa.C + studyTSmaxShapeHist = cms.untracked.bool(True), + #studyTSmaxShapeHist = cms.untracked.bool(False), + # + ##scripts: zcalib....C + studyCalibCellsHist = cms.untracked.bool(True), + #studyCalibCellsHist = cms.untracked.bool(False), + # + ##scripts: zdifampl.C + studyDiffAmplHist = cms.untracked.bool(True), + #studyDiffAmplHist = cms.untracked.bool(False), + # + ##scripts: zadcamplitude.C + studyPedestalsHist = cms.untracked.bool(True), + #studyPedestalsHist = cms.untracked.bool(False), + # + ##scripts: zamplpedcorr.C + studyPedestalCorrelations = cms.untracked.bool(True), + #studyPedestalsHist = cms.untracked.bool(False), + # + # + ##DigiCollectionLabel = cms.untracked.InputTag("hcalDigis"), + #Verbosity = cms.untracked.int32(-54), + #Verbosity = cms.untracked.int32(-22), + #Verbosity = cms.untracked.int32(-11), + #Verbosity = cms.untracked.int32(-12), + #Verbosity = cms.untracked.int32(-13), + #Verbosity = cms.untracked.int32(-51), + #Verbosity = cms.untracked.int32(-24), + #Verbosity = cms.untracked.int32(-244), + #Verbosity = cms.untracked.int32(-233), + # + # + # Normal channels: + # + # -53 for BAD HBHEHF channels from study on shape Ratio + #Verbosity = cms.untracked.int32(-53), + ratioHBMin = cms.double(0.70), + ratioHBMax = cms.double(0.94), + ratioHEMin = cms.double(0.60), + ratioHEMax = cms.double(0.95), + ratioHFMin = cms.double(0.45), + ratioHFMax = cms.double(1.02), + ratioHOMin = cms.double(0.40), + ratioHOMax = cms.double(1.04), + # -54 for BAD HBHEHF channels from study on RMS of shapes + #Verbosity = cms.untracked.int32(-54), + rmsHBMin = cms.double(0.7), + rmsHBMax = cms.double(2.5), + rmsHEMin = cms.double(0.7), + rmsHEMax = cms.double(2.2), + rmsHFMin = cms.double(0.1), + rmsHFMax = cms.double(2.6), + rmsHOMin = cms.double(0.1), + rmsHOMax = cms.double(2.8), + # -55 for BAD HBHEHF channels from study on TSmean of shapes + #Verbosity = cms.untracked.int32(-55), + TSmeanHBMin = cms.double(2.5), + TSmeanHBMax = cms.double(5.5), + TSmeanHEMin = cms.double(1.0), + TSmeanHEMax = cms.double(5.2), + TSmeanHFMin = cms.double(1.0), + TSmeanHFMax = cms.double(4.2), + TSmeanHOMin = cms.double(1.0), + TSmeanHOMax = cms.double(4.8), + # -55 for BAD HBHEHF channels from study on TSmax of shapes + #Verbosity = cms.untracked.int32(-55), + TSpeakHBMin = cms.double(2.2), + TSpeakHBMax = cms.double(5.5), + TSpeakHEMin = cms.double(1.5), + TSpeakHEMax = cms.double(6.5), + TSpeakHFMin = cms.double(0.5), + TSpeakHFMax = cms.double(4.5), + TSpeakHOMin = cms.double(0.5), + TSpeakHOMax = cms.double(7.5), + # -56 for BAD HBHEHOHF channels from study on ADC Amplitude + #Verbosity = cms.untracked.int32(-56), + ADCAmplHBMin = cms.double(10000.), + ADCAmplHBMax = cms.double(300000.), + ADCAmplHEMin = cms.double(20000.), + ADCAmplHEMax = cms.double(300000.), + ADCAmplHFMin = cms.double(50.), + ADCAmplHFMax = cms.double(9000.), + ADCAmplHOMin = cms.double(50.), + ADCAmplHOMax = cms.double(9000.), + # + # to see channels w/ PedestalSigma < cut + #Verbosity = cms.untracked.int32(-57), + pedestalwHBMax = cms.double(0.1), + pedestalwHEMax = cms.double(0.1), + pedestalwHFMax = cms.double(0.4), + pedestalwHOMax = cms.double(0.1), + # + # to see channels for pedestal < cut + pedestalHBMax = cms.double(0.1), + pedestalHEMax = cms.double(0.6), + pedestalHFMax = cms.double(0.8), + pedestalHOMax = cms.double(0.1), + # + # + # CALIBRATION channels: + # + # for BAD HBHEHOHF CALIBRATION channels from study on ADC amplitude + # cuts for Laser runs: + #calibrADCHBMin = cms.double(15.0), + #calibrADCHEMin = cms.double(15.0), + #calibrADCHOMin = cms.double(15.0), + #calibrADCHFMin = cms.double(15.0), + # cuts for LED runs: + calibrADCHBMin = cms.double(1000.), + calibrADCHBMax = cms.double(100000000.), + calibrADCHEMin = cms.double(1000.), + calibrADCHEMax = cms.double(100000000.), + calibrADCHOMin = cms.double(1000.), + calibrADCHOMax = cms.double(100000000.), + calibrADCHFMin = cms.double(100.), + calibrADCHFMax = cms.double(100000000.), + + # for BAD HBHEHOHF CALIBRATION channels from study on shape Ratio + calibrRatioHBMin = cms.double(0.76), + calibrRatioHBMax = cms.double(0.94), + calibrRatioHEMin = cms.double(0.76), + calibrRatioHEMax = cms.double(0.94), + calibrRatioHOMin = cms.double(0.85), + calibrRatioHOMax = cms.double(0.99), + calibrRatioHFMin = cms.double(0.5), + calibrRatioHFMax = cms.double(0.8), + # for BAD HBHEHOHF CALIBRATION channels from study on TSmax + calibrTSmaxHBMin = cms.double(1.50), + calibrTSmaxHBMax = cms.double(2.50), + calibrTSmaxHEMin = cms.double(1.50), + calibrTSmaxHEMax = cms.double(2.50), + calibrTSmaxHOMin = cms.double(1.50), + calibrTSmaxHOMax = cms.double(2.50), + calibrTSmaxHFMin = cms.double(3.50), + calibrTSmaxHFMax = cms.double(4.50), + # for BAD HBHEHOHF CALIBRATION channels from study on TSmean + calibrTSmeanHBMin = cms.double(2.40), + calibrTSmeanHBMax = cms.double(3.70), + calibrTSmeanHEMin = cms.double(2.40), + calibrTSmeanHEMax = cms.double(3.70), + calibrTSmeanHOMin = cms.double(1.50), + calibrTSmeanHOMax = cms.double(2.70), + calibrTSmeanHFMin = cms.double(3.50), + calibrTSmeanHFMax = cms.double(4.50), + # for BAD HBHEHOHF CALIBRATION channels from study on Width + calibrWidthHBMin = cms.double(1.30), + calibrWidthHBMax = cms.double(1.90), + calibrWidthHEMin = cms.double(1.30), + calibrWidthHEMax = cms.double(1.90), + calibrWidthHOMin = cms.double(0.70), + calibrWidthHOMax = cms.double(1.65), + calibrWidthHFMin = cms.double(0.30), + calibrWidthHFMax = cms.double(1.50), + # + # Special task of run or LS quality: + # + # flag for ask runs of LSs for RMT & CMT accordingly: + #=0-runs, =1-LSs + # keep for LED runs this flags =0 always + flagtoaskrunsorls = cms.int32(0), + # + # flag for choice of criterion of bad channels: + #=0-CapIdErr, =1-Ratio, =2-Width, =3-TSmax, =4-TSmean, =5-adcAmplitud + # keep for CMT (global runs) this flags =0 always + flagtodefinebadchannel = cms.int32(0), + #how many bins you want on the plots:better to choice (#LS+1) + howmanybinsonplots = cms.int32(25), + # + # + # ls - range for RBX study (and ??? perhaps for gain stability via abort gap): + lsmin = cms.int32(1), + #lsmax = cms.int32(620), + lsmax = cms.int32(2600), + # + # + flagabortgaprejected = cms.int32(1), + bcnrejectedlow = cms.int32(3446), + bcnrejectedhigh= cms.int32(3564), + # + # flag cpu time reducing + #=0-all plots, =1-optimized number of plots (for Global runs) + flagcpuoptimization = cms.int32(0), + # + # flag for ask type of Normalization for CMT estimators: + #=0-normalizationOn#evOfLS; =1-averageVariable-normalizationOn#entriesInLS; + flagestimatornormalization = cms.int32(1), + # + # + # cuts on Nbadchannels to see LS dependences: + # Verbosity = cms.untracked.int32(-77), + # to select abnormal events,for which Nbcs > this limits + lsdep_cut1_peak_HBdepth1 = cms.int32(20), + lsdep_cut1_peak_HBdepth2 = cms.int32(7), + lsdep_cut1_peak_HEdepth1 = cms.int32(16), + lsdep_cut1_peak_HEdepth2 = cms.int32(13), + lsdep_cut1_peak_HEdepth3 = cms.int32(4), + lsdep_cut1_peak_HFdepth1 = cms.int32(10), + lsdep_cut1_peak_HFdepth2 = cms.int32(5), + lsdep_cut1_peak_HOdepth4 = cms.int32(45), + # to select events with Nbcs > this limits + lsdep_cut3_max_HBdepth1 = cms.int32(19), + lsdep_cut3_max_HBdepth2 = cms.int32(6), + lsdep_cut3_max_HEdepth1 = cms.int32(15), + lsdep_cut3_max_HEdepth2 = cms.int32(12), + lsdep_cut3_max_HEdepth3 = cms.int32(3), + lsdep_cut3_max_HFdepth1 = cms.int32(9), + lsdep_cut3_max_HFdepth2 = cms.int32(4), + lsdep_cut3_max_HOdepth4 = cms.int32(40), + # + # + #old was for runs: + # nbadchannels1 = cms.int32(7), + # nbadchannels2 = cms.int32(12), + # nbadchannels3 = cms.int32(50), + # + #Verbosity = cms.untracked.int32(-79), + # cuts on Estimator1 to see LS dependences: + lsdep_estimator1_HBdepth1 = cms.double(2500.), + lsdep_estimator1_HBdepth2 = cms.double(2500.), + lsdep_estimator1_HBdepth3 = cms.double(2500.), + lsdep_estimator1_HBdepth4 = cms.double(2500.), + lsdep_estimator1_HEdepth1 = cms.double(2500.), + lsdep_estimator1_HEdepth2 = cms.double(2500.), + lsdep_estimator1_HEdepth3 = cms.double(2500.), + lsdep_estimator1_HEdepth4 = cms.double(2500.), + lsdep_estimator1_HEdepth5 = cms.double(2500.), + lsdep_estimator1_HEdepth6 = cms.double(2500.), + lsdep_estimator1_HEdepth7 = cms.double(2500.), + lsdep_estimator1_HFdepth1 = cms.double(2500.), + lsdep_estimator1_HFdepth2 = cms.double(2500.), + lsdep_estimator1_HFdepth3 = cms.double(2500.), + lsdep_estimator1_HFdepth4 = cms.double(2500.), + lsdep_estimator1_HOdepth4 = cms.double(2500.), + # cuts on Estimator2 to see LS dependences: + lsdep_estimator2_HBdepth1 = cms.double(7.), + lsdep_estimator2_HBdepth2 = cms.double(7.), + lsdep_estimator2_HEdepth1 = cms.double(7.), + lsdep_estimator2_HEdepth2 = cms.double(7.), + lsdep_estimator2_HEdepth3 = cms.double(7.), + lsdep_estimator2_HFdepth1 = cms.double(7.), + lsdep_estimator2_HFdepth2 = cms.double(7.), + lsdep_estimator2_HOdepth4 = cms.double(7.), + # cuts on Estimator3 to see LS dependences: + lsdep_estimator3_HBdepth1 = cms.double(7.), + lsdep_estimator3_HBdepth2 = cms.double(7.), + lsdep_estimator3_HEdepth1 = cms.double(7.), + lsdep_estimator3_HEdepth2 = cms.double(7.), + lsdep_estimator3_HEdepth3 = cms.double(7.), + lsdep_estimator3_HFdepth1 = cms.double(7.), + lsdep_estimator3_HFdepth2 = cms.double(7.), + lsdep_estimator3_HOdepth4 = cms.double(7.), + # cuts on Estimator4 to see LS dependences: + lsdep_estimator4_HBdepth1 = cms.double(5.), + lsdep_estimator4_HBdepth2 = cms.double(5.), + lsdep_estimator4_HEdepth1 = cms.double(5.), + lsdep_estimator4_HEdepth2 = cms.double(5.), + lsdep_estimator4_HEdepth3 = cms.double(5.), + lsdep_estimator4_HFdepth1 = cms.double(5.), + lsdep_estimator4_HFdepth2 = cms.double(5.), + lsdep_estimator4_HOdepth4 = cms.double(5.), + # cuts on Estimator5 to see LS dependences: + lsdep_estimator5_HBdepth1 = cms.double(1.8), + lsdep_estimator5_HBdepth2 = cms.double(1.8), + lsdep_estimator5_HEdepth1 = cms.double(1.8), + lsdep_estimator5_HEdepth2 = cms.double(1.8), + lsdep_estimator5_HEdepth3 = cms.double(1.8), + lsdep_estimator5_HFdepth1 = cms.double(1.8), + lsdep_estimator5_HFdepth2 = cms.double(1.8), + lsdep_estimator5_HOdepth4 = cms.double(1.8), + # + # + #Verbosity = cms.untracked.int32(-81), + #Verbosity = cms.untracked.int32(-82), + #Verbosity = cms.untracked.int32(-83), + # + # use ADC amplitude: + useADCmassive = cms.untracked.bool(True), + useADCfC = cms.untracked.bool(False), + useADCcounts = cms.untracked.bool(False), + # + # Pedestals in fC + #usePedestalSubtraction = cms.untracked.bool(True), + usePedestalSubtraction = cms.untracked.bool(False), + # + # for possible ignoring of channels w/o signal, apply same cut for + # HBHEHFHO on Amplitude, usable for all Estimators 1,2,3,4,5: + # forallestimators_amplitude_bigger = cms.double(10.), + forallestimators_amplitude_bigger = cms.double(-100.), + # + # + # + #usecontinuousnumbering = cms.untracked.bool(False), + usecontinuousnumbering = cms.untracked.bool(True), + # + # + # if 0 - do not use digis at all + flagToUseDigiCollectionsORNot = cms.int32(1), + # + hcalCalibDigiCollectionTag = cms.InputTag('hcalDigis'), + hbheDigiCollectionTag = cms.InputTag('hcalDigis'), + hoDigiCollectionTag = cms.InputTag('hcalDigis'), + hfDigiCollectionTag = cms.InputTag('hcalDigis'), + # + # + # + # + #for upgrade: --------------------------------------------------------- + hbheQIE11DigiCollectionTag = cms.InputTag('hcalDigis'), + hbheQIE10DigiCollectionTag = cms.InputTag('hcalDigis'), + # flag to use either only old QIE8 digiCollections or only new QIE10,11 digiCollections + #=0-all digiCollections(default for normal running), =1-only old QIE8 digiCollections, + #=2-only new QIE1011 digiCollections, =3-only new QIE1011 digiCollections w/o new high depthes + #=4-2016fall, =5-2016fall w/o new high depthes, =6-2017bebin, =7-2017bebin w/o new high depthes in HEonly + #=8--2017bebin w/o new high depthes, =9-all digiCollections w/o new high depthes + # flag HBHE8 HBHE11 HF8 HF10 comments: + # 0 + + + + all + # 1 + - + - old + # 2 - + - + new + # 3 - + - + new w/o high depthes + # 4 + - + + 2016fall + # 5 + - + + 2016fall w/o high depthes + # 6 + + - + 2017 && 2018 && 2021 + # 7 + + - + 2017begin w/o high depthes in HEonly + # 8 + + - + 2017begin w/o high depthes + # 9 + + + + all w/o high depthes + # 10 + - - + 2017 w/o HEP17 + # + flagupgradeqie1011 = cms.int32(6), + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + #end upgrade: --------------------------------------------------------- end upgrade + # flaguseshunt = 1 or 6 (6 is default for global runs) + flaguseshunt = cms.int32(6), + # flagsipmcorrection: != 0 yes,apply; = 0 do not use; + flagsipmcorrection = cms.int32(1), + # + # + # for local LASER runs ONLY!!! to be > 0 (,else = 0) + flagLaserRaddam = cms.int32(0), + # for gaussian fit for local shunt1 (Gsel0) led low-intensity or ped ONLY!!! to be > 0 (,else = 0) + flagfitshunt1pedorledlowintensity = cms.int32(0), + # + # for PSM use 2 next flags as 1 + # for use in IterativeMethod of CalibrationGroup!!! to be > 1 (,else = 0) + flagIterativeMethodCalibrationGroupDigi = cms.int32(1), + # + # for use in IterativeMethod of CalibrationGroup!!! to be > 1 (,else = 0) + flagIterativeMethodCalibrationGroupReco = cms.int32(1), + # + hbheInputSignalTag = cms.InputTag('hbherecoMBNZS'), + hbheInputNoiseTag = cms.InputTag('hbherecoNoise'), + hfInputSignalTag = cms.InputTag('hfrecoMBNZS'), + hfInputNoiseTag = cms.InputTag('hfrecoNoise'), + # + # + # + splashesUpperLimit = cms.int32(10000), + # + # + # + #HistOutFile = cms.untracked.string(histodir+'/LED_'+runnumber+'.root'), + #HistOutFile = cms.untracked.string('Global.root'), + # + #MAPOutFile = cms.untracked.string('LogEleMapdb.h') + # + ##OutputFilePath = cms.string('/tmp/zhokin/'), + ##OutputFileExt = cms.string(''), + # + ) +########################################################################### +process.TFileService = cms.Service("TFileService", + fileName = cms.string("Global.root") + ,closeFileFast = cms.untracked.bool(True) + ) + +########################################################################### +# Other statements +process.hcal_db_producer = cms.ESProducer("HcalDbProducer", + dump = cms.untracked.vstring(''), + file = cms.untracked.string('') +) +process.es_hardcode = cms.ESSource("HcalHardcodeCalibrations", + toGet = cms.untracked.vstring('QIEShape', + 'QIEData', + 'ChannelQuality', + 'HcalQIEData', + 'Pedestals', + 'PedestalWidths', + 'Gains', + 'GainWidths', + 'ZSThresholds', + 'RespCorrs') +) +############################################################################ GlobalTag : +#process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') +#from Configuration.AlCa.GlobalTag import GlobalTag +#process.GlobalTag = GlobalTag(process.GlobalTag, '101X_dataRun2_HLT_v7', '') +# +process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") +from Configuration.AlCa.autoCond import autoCond +#process.GlobalTag.globaltag = '104X_dataRun2_v1' +#process.GlobalTag.globaltag = '105X_postLS2_design_v4' +#process.GlobalTag.globaltag = '106X_dataRun3_HLT_v3' +#process.GlobalTag.globaltag = '113X_dataRun3_HLT_v3' +process.GlobalTag.globaltag = '120X_dataRun3_HLT_v3' +########################################################################### +process.load('Configuration.StandardSequences.RawToDigi_Data_cff') +#process.hcalDigis.FilterDataQuality = cms.bool(False) +#process.hcalDigis.InputLabel = cms.InputTag("source") +########################################################################### +#process.hcalDigis= cms.EDProducer("HcalRawToDigi", +## FilterDataQuality = cms.bool(True), +# FilterDataQuality = cms.bool(False), +# HcalFirstFED = cms.untracked.int32(700), +# InputLabel = cms.InputTag("source"), +# #InputLabel = cms.InputTag("rawDataCollector"), +#) +########################################################################### +#process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalPedestalLocal_cff") +process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalMinBias_cff") +#process.load("ALCARECOHcalCalPedestalLocal_cff") +##process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalPedestal_cff") +########################################################################### +# Schedule definition for PSM: ALCARECOHcalCalPedestalLocal_cff.py -start from digi; recoCollection on fly; +process.p = cms.Path(process.hcalDigis*process.seqALCARECOHcalCalMinBiasDigiNoHLT*process.seqALCARECOHcalCalMinBias*process.Analyzer) +#process.p = cms.Path(process.Analyzer) +# see /afs/cern.ch/work/z/zhokin/public/CMSSW_10_4_0_patch1/src/Calibration/HcalAlCaRecoProducers/python/ALCARECOHcalCalMinBias_cff.py +############################################################################ +# customisation of the process. +# Automatic addition of the customisation function from HLTrigger.Configuration.CustomConfigs +#from HLTrigger.Configuration.CustomConfigs import L1THLT +#call to customisation function L1THLT imported from HLTrigger.Configuration.CustomConfigs +#process = L1THLT(process) +# End of customisation functions +############################################################################ +############################################################################ +############################################################################ +process.MessageLogger = cms.Service("MessageLogger", + categories = cms.untracked.vstring(''), + destinations = cms.untracked.vstring('cout'), + debugModules = cms.untracked.vstring('*'), + cout = cms.untracked.PSet( + threshold = cms.untracked.string('WARNING'), + WARNING = cms.untracked.PSet(limit = cms.untracked.int32(0)) + ) + ) +############################################################################ diff --git a/DPGAnalysis/HcalTools/scripts/psm/aALCARECO.py.beg b/DPGAnalysis/HcalTools/scripts/psm/aALCARECO.py.beg new file mode 100644 index 0000000000000..373553b128411 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/aALCARECO.py.beg @@ -0,0 +1,40 @@ +# how to find input file: eos ls -latr /eos/cms/store/data/Run2018A/HcalNZS/RAW/v1/000/316/ +#how to run: cmsRun remoteMonitoring_Global_PSM_test_cfg.py +#---------------------------------------------------------------------------- +# Auto generated configuration file +# using: +# Revision: 1.19 +# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v +# with command line options: RelVal -s ALCA:HcalCalMinBias --data --scenario=pp -n 100 --conditions auto:run3_data_prompt --datatier USER --customise=HLTrigger/Configuration/CustomConfigs.L1THLT --era Run3 --processName=USER --filein file:RelVal_RECO.root --fileout file:RelVal_ALCA.root --no_exec + +import sys +import FWCore.ParameterSet.Config as cms + +from Configuration.Eras.Era_Run3_cff import Run3 +process = cms.Process('USER',Run3) + +# import of standard configurations +process.load('Configuration.StandardSequences.Services_cff') +process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') +process.load('FWCore.MessageService.MessageLogger_cfi') +process.load('Configuration.EventContent.EventContent_cff') +process.load('Configuration.StandardSequences.GeometryRecoDB_cff') +process.load('Configuration.StandardSequences.MagneticField_cff') +process.load('Configuration.StandardSequences.EndOfProcess_cff') +process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') +process.load("CondCore.CondDB.CondDB_cfi") +process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi") +process.l1GtUnpack.DaqGtInputTag = 'source' +process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff') +process.load('Configuration.StandardSequences.Reconstruction_Data_cff') +#---------------------------------------------------------------------------- +process.maxEvents = cms.untracked.PSet( +# input = cms.untracked.int32(100), + input = cms.untracked.int32(-1), + output = cms.optional.untracked.allowed(cms.int32,cms.PSet) +) +#---------------------------------------------------------------------------- +# Input source +process.source = cms.Source("PoolSource", + skipBadFiles=cms.untracked.bool(True), + fileNames = cms.untracked.vstring( diff --git a/DPGAnalysis/HcalTools/scripts/psm/aALCARECO.py.end b/DPGAnalysis/HcalTools/scripts/psm/aALCARECO.py.end new file mode 100644 index 0000000000000..ab5cccc2adce9 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/aALCARECO.py.end @@ -0,0 +1,507 @@ + ), +# lumisToProcess = cms.untracked.VLuminosityBlockRange( +# '346490:17', +# '346490:413' +# ), + secondaryFileNames = cms.untracked.vstring() +) + +process.options = cms.untracked.PSet( +# SkipEvent = cms.untracked.vstring('ProductNotFound') +) + +# Production Info +process.configurationMetadata = cms.untracked.PSet( + annotation = cms.untracked.string('Reconstruction.py nevts:10'), + name = cms.untracked.string('Applications'), + version = cms.untracked.string('$Revision: 1.19 $') +) +###########################################################################################################3 +process.Analyzer = cms.EDAnalyzer("CMTRawAnalyzer", + # + Verbosity = cms.untracked.int32(0), + #Verbosity = cms.untracked.int32(-9504), + #Verbosity = cms.untracked.int32(-91), + #Verbosity = cms.untracked.int32(-92), + # + MapCreation = cms.untracked.int32(1), + # + recordNtuples = cms.untracked.bool(False), + #recordNtuples = cms.untracked.bool(True), + maxNeventsInNtuple = cms.int32(1), + # + #recordHistoes = cms.untracked.bool(False), + recordHistoes = cms.untracked.bool(True), + # + ##scripts: zRunRatio34.C, zRunNbadchan.C + studyRunDependenceHist = cms.untracked.bool(True), + #studyRunDependenceHist = cms.untracked.bool(False), + # + ##scripts: zerrors.C + studyCapIDErrorsHist = cms.untracked.bool(True), + #studyCapIDErrorsHist = cms.untracked.bool(False), + # + ##scripts: zrms.C + studyRMSshapeHist = cms.untracked.bool(True), + #studyRMSshapeHist = cms.untracked.bool(False), + # + ##scripts: zratio34.C + studyRatioShapeHist = cms.untracked.bool(True), + #studyRatioShapeHist = cms.untracked.bool(False), + # + ##scripts: zadcamplitude.C + studyADCAmplHist = cms.untracked.bool(True), + #studyADCAmplHist = cms.untracked.bool(False), + # + ##scripts: ztsmean.C + studyTSmeanShapeHist = cms.untracked.bool(True), + #studyTSmeanShapeHist = cms.untracked.bool(False), + # + ##scripts: ztsmaxa.C + studyTSmaxShapeHist = cms.untracked.bool(True), + #studyTSmaxShapeHist = cms.untracked.bool(False), + # + ##scripts: zcalib....C + studyCalibCellsHist = cms.untracked.bool(True), + #studyCalibCellsHist = cms.untracked.bool(False), + # + ##scripts: zdifampl.C + studyDiffAmplHist = cms.untracked.bool(True), + #studyDiffAmplHist = cms.untracked.bool(False), + # + ##scripts: zadcamplitude.C + studyPedestalsHist = cms.untracked.bool(True), + #studyPedestalsHist = cms.untracked.bool(False), + # + ##scripts: zamplpedcorr.C + studyPedestalCorrelations = cms.untracked.bool(True), + #studyPedestalsHist = cms.untracked.bool(False), + # + # + ##DigiCollectionLabel = cms.untracked.InputTag("hcalDigis"), + #Verbosity = cms.untracked.int32(-54), + #Verbosity = cms.untracked.int32(-22), + #Verbosity = cms.untracked.int32(-11), + #Verbosity = cms.untracked.int32(-12), + #Verbosity = cms.untracked.int32(-13), + #Verbosity = cms.untracked.int32(-51), + #Verbosity = cms.untracked.int32(-24), + #Verbosity = cms.untracked.int32(-244), + #Verbosity = cms.untracked.int32(-233), + # + # + # Normal channels: + # + # -53 for BAD HBHEHF channels from study on shape Ratio + #Verbosity = cms.untracked.int32(-53), + ratioHBMin = cms.double(0.70), + ratioHBMax = cms.double(0.94), + ratioHEMin = cms.double(0.60), + ratioHEMax = cms.double(0.95), + ratioHFMin = cms.double(0.45), + ratioHFMax = cms.double(1.02), + ratioHOMin = cms.double(0.40), + ratioHOMax = cms.double(1.04), + # -54 for BAD HBHEHF channels from study on RMS of shapes + #Verbosity = cms.untracked.int32(-54), + rmsHBMin = cms.double(0.7), + rmsHBMax = cms.double(2.5), + rmsHEMin = cms.double(0.7), + rmsHEMax = cms.double(2.2), + rmsHFMin = cms.double(0.1), + rmsHFMax = cms.double(2.6), + rmsHOMin = cms.double(0.1), + rmsHOMax = cms.double(2.8), + # -55 for BAD HBHEHF channels from study on TSmean of shapes + #Verbosity = cms.untracked.int32(-55), + TSmeanHBMin = cms.double(2.5), + TSmeanHBMax = cms.double(5.5), + TSmeanHEMin = cms.double(1.0), + TSmeanHEMax = cms.double(5.2), + TSmeanHFMin = cms.double(1.0), + TSmeanHFMax = cms.double(4.2), + TSmeanHOMin = cms.double(1.0), + TSmeanHOMax = cms.double(4.8), + # -55 for BAD HBHEHF channels from study on TSmax of shapes + #Verbosity = cms.untracked.int32(-55), + TSpeakHBMin = cms.double(2.2), + TSpeakHBMax = cms.double(5.5), + TSpeakHEMin = cms.double(1.5), + TSpeakHEMax = cms.double(6.5), + TSpeakHFMin = cms.double(0.5), + TSpeakHFMax = cms.double(4.5), + TSpeakHOMin = cms.double(0.5), + TSpeakHOMax = cms.double(7.5), + # -56 for BAD HBHEHOHF channels from study on ADC Amplitude + #Verbosity = cms.untracked.int32(-56), + ADCAmplHBMin = cms.double(10000.), + ADCAmplHBMax = cms.double(300000.), + ADCAmplHEMin = cms.double(20000.), + ADCAmplHEMax = cms.double(300000.), + ADCAmplHFMin = cms.double(50.), + ADCAmplHFMax = cms.double(9000.), + ADCAmplHOMin = cms.double(50.), + ADCAmplHOMax = cms.double(9000.), + # + # to see channels w/ PedestalSigma < cut + #Verbosity = cms.untracked.int32(-57), + pedestalwHBMax = cms.double(0.1), + pedestalwHEMax = cms.double(0.1), + pedestalwHFMax = cms.double(0.4), + pedestalwHOMax = cms.double(0.1), + # + # to see channels for pedestal < cut + pedestalHBMax = cms.double(0.1), + pedestalHEMax = cms.double(0.6), + pedestalHFMax = cms.double(0.8), + pedestalHOMax = cms.double(0.1), + # + # + # CALIBRATION channels: + # + # for BAD HBHEHOHF CALIBRATION channels from study on ADC amplitude + # cuts for Laser runs: + #calibrADCHBMin = cms.double(15.0), + #calibrADCHEMin = cms.double(15.0), + #calibrADCHOMin = cms.double(15.0), + #calibrADCHFMin = cms.double(15.0), + # cuts for LED runs: + calibrADCHBMin = cms.double(1000.), + calibrADCHBMax = cms.double(100000000.), + calibrADCHEMin = cms.double(1000.), + calibrADCHEMax = cms.double(100000000.), + calibrADCHOMin = cms.double(1000.), + calibrADCHOMax = cms.double(100000000.), + calibrADCHFMin = cms.double(100.), + calibrADCHFMax = cms.double(100000000.), + + # for BAD HBHEHOHF CALIBRATION channels from study on shape Ratio + calibrRatioHBMin = cms.double(0.76), + calibrRatioHBMax = cms.double(0.94), + calibrRatioHEMin = cms.double(0.76), + calibrRatioHEMax = cms.double(0.94), + calibrRatioHOMin = cms.double(0.85), + calibrRatioHOMax = cms.double(0.99), + calibrRatioHFMin = cms.double(0.5), + calibrRatioHFMax = cms.double(0.8), + # for BAD HBHEHOHF CALIBRATION channels from study on TSmax + calibrTSmaxHBMin = cms.double(1.50), + calibrTSmaxHBMax = cms.double(2.50), + calibrTSmaxHEMin = cms.double(1.50), + calibrTSmaxHEMax = cms.double(2.50), + calibrTSmaxHOMin = cms.double(1.50), + calibrTSmaxHOMax = cms.double(2.50), + calibrTSmaxHFMin = cms.double(3.50), + calibrTSmaxHFMax = cms.double(4.50), + # for BAD HBHEHOHF CALIBRATION channels from study on TSmean + calibrTSmeanHBMin = cms.double(2.40), + calibrTSmeanHBMax = cms.double(3.70), + calibrTSmeanHEMin = cms.double(2.40), + calibrTSmeanHEMax = cms.double(3.70), + calibrTSmeanHOMin = cms.double(1.50), + calibrTSmeanHOMax = cms.double(2.70), + calibrTSmeanHFMin = cms.double(3.50), + calibrTSmeanHFMax = cms.double(4.50), + # for BAD HBHEHOHF CALIBRATION channels from study on Width + calibrWidthHBMin = cms.double(1.30), + calibrWidthHBMax = cms.double(1.90), + calibrWidthHEMin = cms.double(1.30), + calibrWidthHEMax = cms.double(1.90), + calibrWidthHOMin = cms.double(0.70), + calibrWidthHOMax = cms.double(1.65), + calibrWidthHFMin = cms.double(0.30), + calibrWidthHFMax = cms.double(1.50), + # + # Special task of run or LS quality: + # + # flag for ask runs of LSs for RMT & CMT accordingly: + #=0-runs, =1-LSs + # keep for LED runs this flags =0 always + flagtoaskrunsorls = cms.int32(0), + # + # flag for choice of criterion of bad channels: + #=0-CapIdErr, =1-Ratio, =2-Width, =3-TSmax, =4-TSmean, =5-adcAmplitud + # keep for CMT (global runs) this flags =0 always + flagtodefinebadchannel = cms.int32(0), + #how many bins you want on the plots:better to choice (#LS+1) + howmanybinsonplots = cms.int32(25), + # + # + # ls - range for RBX study (and ??? perhaps for gain stability via abort gap): + lsmin = cms.int32(1), + #lsmax = cms.int32(620), + lsmax = cms.int32(2600), + # + # + flagabortgaprejected = cms.int32(1), + bcnrejectedlow = cms.int32(3446), + bcnrejectedhigh= cms.int32(3564), + # + # flag cpu time reducing + #=0-all plots, =1-optimized number of plots (for Global runs) + flagcpuoptimization = cms.int32(0), + # + # flag for ask type of Normalization for CMT estimators: + #=0-normalizationOn#evOfLS; =1-averageVariable-normalizationOn#entriesInLS; + flagestimatornormalization = cms.int32(1), + # + # + # cuts on Nbadchannels to see LS dependences: + # Verbosity = cms.untracked.int32(-77), + # to select abnormal events,for which Nbcs > this limits + lsdep_cut1_peak_HBdepth1 = cms.int32(20), + lsdep_cut1_peak_HBdepth2 = cms.int32(7), + lsdep_cut1_peak_HEdepth1 = cms.int32(16), + lsdep_cut1_peak_HEdepth2 = cms.int32(13), + lsdep_cut1_peak_HEdepth3 = cms.int32(4), + lsdep_cut1_peak_HFdepth1 = cms.int32(10), + lsdep_cut1_peak_HFdepth2 = cms.int32(5), + lsdep_cut1_peak_HOdepth4 = cms.int32(45), + # to select events with Nbcs > this limits + lsdep_cut3_max_HBdepth1 = cms.int32(19), + lsdep_cut3_max_HBdepth2 = cms.int32(6), + lsdep_cut3_max_HEdepth1 = cms.int32(15), + lsdep_cut3_max_HEdepth2 = cms.int32(12), + lsdep_cut3_max_HEdepth3 = cms.int32(3), + lsdep_cut3_max_HFdepth1 = cms.int32(9), + lsdep_cut3_max_HFdepth2 = cms.int32(4), + lsdep_cut3_max_HOdepth4 = cms.int32(40), + # + # + #old was for runs: + # nbadchannels1 = cms.int32(7), + # nbadchannels2 = cms.int32(12), + # nbadchannels3 = cms.int32(50), + # + #Verbosity = cms.untracked.int32(-79), + # cuts on Estimator1 to see LS dependences: + lsdep_estimator1_HBdepth1 = cms.double(2500.), + lsdep_estimator1_HBdepth2 = cms.double(2500.), + lsdep_estimator1_HBdepth3 = cms.double(2500.), + lsdep_estimator1_HBdepth4 = cms.double(2500.), + lsdep_estimator1_HEdepth1 = cms.double(2500.), + lsdep_estimator1_HEdepth2 = cms.double(2500.), + lsdep_estimator1_HEdepth3 = cms.double(2500.), + lsdep_estimator1_HEdepth4 = cms.double(2500.), + lsdep_estimator1_HEdepth5 = cms.double(2500.), + lsdep_estimator1_HEdepth6 = cms.double(2500.), + lsdep_estimator1_HEdepth7 = cms.double(2500.), + lsdep_estimator1_HFdepth1 = cms.double(2500.), + lsdep_estimator1_HFdepth2 = cms.double(2500.), + lsdep_estimator1_HFdepth3 = cms.double(2500.), + lsdep_estimator1_HFdepth4 = cms.double(2500.), + lsdep_estimator1_HOdepth4 = cms.double(2500.), + # cuts on Estimator2 to see LS dependences: + lsdep_estimator2_HBdepth1 = cms.double(7.), + lsdep_estimator2_HBdepth2 = cms.double(7.), + lsdep_estimator2_HEdepth1 = cms.double(7.), + lsdep_estimator2_HEdepth2 = cms.double(7.), + lsdep_estimator2_HEdepth3 = cms.double(7.), + lsdep_estimator2_HFdepth1 = cms.double(7.), + lsdep_estimator2_HFdepth2 = cms.double(7.), + lsdep_estimator2_HOdepth4 = cms.double(7.), + # cuts on Estimator3 to see LS dependences: + lsdep_estimator3_HBdepth1 = cms.double(7.), + lsdep_estimator3_HBdepth2 = cms.double(7.), + lsdep_estimator3_HEdepth1 = cms.double(7.), + lsdep_estimator3_HEdepth2 = cms.double(7.), + lsdep_estimator3_HEdepth3 = cms.double(7.), + lsdep_estimator3_HFdepth1 = cms.double(7.), + lsdep_estimator3_HFdepth2 = cms.double(7.), + lsdep_estimator3_HOdepth4 = cms.double(7.), + # cuts on Estimator4 to see LS dependences: + lsdep_estimator4_HBdepth1 = cms.double(5.), + lsdep_estimator4_HBdepth2 = cms.double(5.), + lsdep_estimator4_HEdepth1 = cms.double(5.), + lsdep_estimator4_HEdepth2 = cms.double(5.), + lsdep_estimator4_HEdepth3 = cms.double(5.), + lsdep_estimator4_HFdepth1 = cms.double(5.), + lsdep_estimator4_HFdepth2 = cms.double(5.), + lsdep_estimator4_HOdepth4 = cms.double(5.), + # cuts on Estimator5 to see LS dependences: + lsdep_estimator5_HBdepth1 = cms.double(1.8), + lsdep_estimator5_HBdepth2 = cms.double(1.8), + lsdep_estimator5_HEdepth1 = cms.double(1.8), + lsdep_estimator5_HEdepth2 = cms.double(1.8), + lsdep_estimator5_HEdepth3 = cms.double(1.8), + lsdep_estimator5_HFdepth1 = cms.double(1.8), + lsdep_estimator5_HFdepth2 = cms.double(1.8), + lsdep_estimator5_HOdepth4 = cms.double(1.8), + # + # + #Verbosity = cms.untracked.int32(-81), + #Verbosity = cms.untracked.int32(-82), + #Verbosity = cms.untracked.int32(-83), + # + # use ADC amplitude: + useADCmassive = cms.untracked.bool(True), + useADCfC = cms.untracked.bool(False), + useADCcounts = cms.untracked.bool(False), + # + # Pedestals in fC + #usePedestalSubtraction = cms.untracked.bool(True), + usePedestalSubtraction = cms.untracked.bool(False), + # + # for possible ignoring of channels w/o signal, apply same cut for + # HBHEHFHO on Amplitude, usable for all Estimators 1,2,3,4,5: + # forallestimators_amplitude_bigger = cms.double(10.), + forallestimators_amplitude_bigger = cms.double(-100.), + # + # + # + #usecontinuousnumbering = cms.untracked.bool(False), + usecontinuousnumbering = cms.untracked.bool(True), + # + # + # if 0 - do not use digis at all + flagToUseDigiCollectionsORNot = cms.int32(0), + # + hcalCalibDigiCollectionTag = cms.InputTag('hcalDigis'), + hbheDigiCollectionTag = cms.InputTag('hcalDigis'), + hoDigiCollectionTag = cms.InputTag('hcalDigis'), + hfDigiCollectionTag = cms.InputTag('hcalDigis'), + # + # + # + # + #for upgrade: --------------------------------------------------------- + hbheQIE11DigiCollectionTag = cms.InputTag('hcalDigis'), + hbheQIE10DigiCollectionTag = cms.InputTag('hcalDigis'), + # flag to use either only old QIE8 digiCollections or only new QIE10,11 digiCollections + #=0-all digiCollections(default for normal running), =1-only old QIE8 digiCollections, + #=2-only new QIE1011 digiCollections, =3-only new QIE1011 digiCollections w/o new high depthes + #=4-2016fall, =5-2016fall w/o new high depthes, =6-2017bebin, =7-2017bebin w/o new high depthes in HEonly + #=8--2017bebin w/o new high depthes, =9-all digiCollections w/o new high depthes + # flag HBHE8 HBHE11 HF8 HF10 comments: + # 0 + + + + all + # 1 + - + - old + # 2 - + - + new + # 3 - + - + new w/o high depthes + # 4 + - + + 2016fall + # 5 + - + + 2016fall w/o high depthes + # 6 + + - + 2017 && 2018 && 2021 + # 7 + + - + 2017begin w/o high depthes in HEonly + # 8 + + - + 2017begin w/o high depthes + # 9 + + + + all w/o high depthes + # 10 + - - + 2017 w/o HEP17 + # + flagupgradeqie1011 = cms.int32(6), + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + #end upgrade: --------------------------------------------------------- end upgrade + # flaguseshunt = 1 or 6 (6 is default for global runs) + flaguseshunt = cms.int32(6), + # flagsipmcorrection: != 0 yes,apply; = 0 do not use; + flagsipmcorrection = cms.int32(1), + # + # + # for local LASER runs ONLY!!! to be > 0 (,else = 0) + flagLaserRaddam = cms.int32(0), + # for gaussian fit for local shunt1 (Gsel0) led low-intensity or ped ONLY!!! to be > 0 (,else = 0) + flagfitshunt1pedorledlowintensity = cms.int32(0), + # + # for PSM use 2 next flags as 1 + # for use in IterativeMethod of CalibrationGroup!!! to be > 1 (,else = 0) + flagIterativeMethodCalibrationGroupDigi = cms.int32(0), + # + # for use in IterativeMethod of CalibrationGroup!!! to be > 1 (,else = 0) + flagIterativeMethodCalibrationGroupReco = cms.int32(1), + # + hbheInputSignalTag = cms.InputTag('hbherecoMBNZS'), + hbheInputNoiseTag = cms.InputTag('hbherecoNoise'), + hfInputSignalTag = cms.InputTag('hfrecoMBNZS'), + hfInputNoiseTag = cms.InputTag('hfrecoNoise'), + # + # + # + splashesUpperLimit = cms.int32(10000), + # + # + # + #HistOutFile = cms.untracked.string(histodir+'/LED_'+runnumber+'.root'), + #HistOutFile = cms.untracked.string('Global.root'), + # + #MAPOutFile = cms.untracked.string('LogEleMapdb.h') + # + ##OutputFilePath = cms.string('/tmp/zhokin/'), + ##OutputFileExt = cms.string(''), + # + ) +########################################################################### +process.TFileService = cms.Service("TFileService", + fileName = cms.string("Global.root") + ,closeFileFast = cms.untracked.bool(True) + ) + +########################################################################### +# Other statements +process.hcal_db_producer = cms.ESProducer("HcalDbProducer", + dump = cms.untracked.vstring(''), + file = cms.untracked.string('') +) +process.es_hardcode = cms.ESSource("HcalHardcodeCalibrations", + toGet = cms.untracked.vstring('QIEShape', + 'QIEData', + 'ChannelQuality', + 'HcalQIEData', + 'Pedestals', + 'PedestalWidths', + 'Gains', + 'GainWidths', + 'ZSThresholds', + 'RespCorrs') +) +############################################################################ GlobalTag : +#process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') +#from Configuration.AlCa.GlobalTag import GlobalTag +#process.GlobalTag = GlobalTag(process.GlobalTag, '101X_dataRun2_HLT_v7', '') +# +process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") +from Configuration.AlCa.autoCond import autoCond +#process.GlobalTag.globaltag = '104X_dataRun2_v1' +#process.GlobalTag.globaltag = '105X_postLS2_design_v4' +#process.GlobalTag.globaltag = '106X_dataRun3_HLT_v3' +#process.GlobalTag.globaltag = '113X_dataRun3_HLT_v3' +process.GlobalTag.globaltag = '120X_dataRun3_HLT_v3' +########################################################################### +#process.load('Configuration.StandardSequences.RawToDigi_Data_cff') +#process.hcalDigis.FilterDataQuality = cms.bool(False) +#process.hcalDigis.InputLabel = cms.InputTag("source") +########################################################################### +#process.hcalDigis= cms.EDProducer("HcalRawToDigi", +## FilterDataQuality = cms.bool(True), +# FilterDataQuality = cms.bool(False), +# HcalFirstFED = cms.untracked.int32(700), +# InputLabel = cms.InputTag("source"), +# #InputLabel = cms.InputTag("rawDataCollector"), +#) +########################################################################### +#process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalPedestalLocal_cff") +#process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalMinBias_cff") +#process.load("ALCARECOHcalCalPedestalLocal_cff") +##process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalPedestal_cff") +########################################################################### +# Schedule definition for PSM: ALCARECOHcalCalPedestalLocal_cff.py -start from digi; recoCollection on fly; +#process.p = cms.Path(process.hcalDigis*process.seqALCARECOHcalCalMinBiasDigiNoHLT*process.seqALCARECOHcalCalMinBias*process.Analyzer) +process.p = cms.Path(process.Analyzer) +#process.p = cms.Path(process.Analyzer) +# see /afs/cern.ch/work/z/zhokin/public/CMSSW_10_4_0_patch1/src/Calibration/HcalAlCaRecoProducers/python/ALCARECOHcalCalMinBias_cff.py +############################################################################ +# customisation of the process. +# Automatic addition of the customisation function from HLTrigger.Configuration.CustomConfigs +#from HLTrigger.Configuration.CustomConfigs import L1THLT +#call to customisation function L1THLT imported from HLTrigger.Configuration.CustomConfigs +#process = L1THLT(process) +# End of customisation functions +############################################################################ +############################################################################ +############################################################################ +process.MessageLogger = cms.Service("MessageLogger", + categories = cms.untracked.vstring(''), + destinations = cms.untracked.vstring('cout'), + debugModules = cms.untracked.vstring('*'), + cout = cms.untracked.PSet( + threshold = cms.untracked.string('WARNING'), + WARNING = cms.untracked.PSet(limit = cms.untracked.int32(0)) + ) + ) +############################################################################ diff --git a/DPGAnalysis/HcalTools/scripts/psm/checkoutput120.csh b/DPGAnalysis/HcalTools/scripts/psm/checkoutput120.csh new file mode 100755 index 0000000000000..f73d315d311fa --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/checkoutput120.csh @@ -0,0 +1,40 @@ +#!/bin/csh +#### +#### ./checkoutput120.csh python_dir output_dir_with_roots +#### OUTPUT file: missed_run_parts + +ls ${1} > check_${1} + +set runold=1 +set count=0 +rm -rf OUTPUT_${1} +mkdir OUTPUT_${1} + +foreach i (`cat check_${1}`) +set run=`echo ${i} | awk -F _ '{print $2}'` +if( ${run} != ${runold} ) then +set count=0 +set runold=${run} +touch OUTPUT_${1}/inputfile_${run} +@ count = ${count} + "1" +echo ${run}"_"${count} >> OUTPUT_${1}/inputfile_${run} +else +@ count = ${count} + "1" +echo ${run}"_"${count} >> OUTPUT_${1}/inputfile_${run} +endif +end +rm missed_run_parts +touch missed_run_parts +foreach i (`ls OUTPUT_${1}`) +foreach j (`cat OUTPUT_${1}/${i}`) +set m=`echo ${j} | awk -F _ '{print $1}'` +set n=`echo ${j} | awk -F _ '{print $2}'` +echo ${i} "${j}" ${m} ${n} +ls ${2}/Global_${m}_${n}.root +if( ${status} != 0 ) then +echo "Reco_"${j}"_cfg.py" >> missed_run_parts +endif +end +end +rm check_${1} + diff --git a/DPGAnalysis/HcalTools/scripts/psm/cp_runs_fromeos_into_longruns.csh b/DPGAnalysis/HcalTools/scripts/psm/cp_runs_fromeos_into_longruns.csh new file mode 100755 index 0000000000000..d3b8e6ebd3ca1 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/cp_runs_fromeos_into_longruns.csh @@ -0,0 +1,16 @@ +#!/bin/tcsh + +set DIR=${1} +set LIST=${2} +set DIROUT=${3} +echo ${DIR} +echo ${LIST} +echo ${DIROUT} + +foreach i (`cat ${LIST}`) +set NRUN=${i} +echo ${NRUN} +echo " start copying" ${NRUN} +eoscp ${DIR}/${NRUN}/HcalNZS/crab_*_*/*_*/0000/Global_${NRUN}_*.root ${DIROUT}/. +@ i = ${i} + "1" +end diff --git a/DPGAnalysis/HcalTools/scripts/psm/cp_runs_fromeos_into_longruns.sh b/DPGAnalysis/HcalTools/scripts/psm/cp_runs_fromeos_into_longruns.sh new file mode 100755 index 0000000000000..d0967830a21ad --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/cp_runs_fromeos_into_longruns.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +DirRootFiles='/eos/cms/store/user/zhokin/PSM/HcalNZS/2018' + +echo $DirRootFiles +fileName=$1 +echo $fileName +DIROUT=$2 +echo $DIROUT + +# Obtain the runList from a file, if needed +#runList="" +runList=`cat ${fileName}` +for i in ${runList} ; do +NRUN=$i +echo $NRUN + +list=`ls $DirRootFiles/$NRUN/HcalNZS/crab_*_*/*_*/0000/Global_*.root` +echo $list +echo " start hadd " +hadd Global_$NRUN.root $list + + +echo " start copying" +mv Global_$NRUN.root $DIROUT/. + +done + diff --git a/DPGAnalysis/HcalTools/scripts/psm/crab_NZS2018C_1.py b/DPGAnalysis/HcalTools/scripts/psm/crab_NZS2018C_1.py new file mode 100644 index 0000000000000..ff49202c4bdce --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/crab_NZS2018C_1.py @@ -0,0 +1,53 @@ +from WMCore.Configuration import Configuration +config = Configuration() +# +config.section_('General') +config.General.transferOutputs = True +config.General.transferLogs = True +# +config.section_('JobType') +config.JobType.psetName = 'PSM_Global_2018_cfg.py' +config.JobType.pluginName = 'Analysis' +config.JobType.numCores = 4 +config.JobType.outputFiles = ['Global.root'] +# +config.section_('Data') +#config.Data.userInputFiles=['/store/data/Run2017E/AlCaLumiPixels/ALCARECO/AlCaPCCRandom-PromptReco-v1/000/303/832/00000/E6B8ACA4-95A4-E711-9AA2-02163E014793.root'] +#config.Data.inputDataset = '/ZeroBias/Run2018C-v1/RAW' +config.Data.inputDataset = '/HcalNZS/Run2018C-v1/RAW' +# main /HcalNZS/Run2018C-v1/RAW +# /MinimumBias/Run2018C-v1/RAW +# /ZeroBias/Run2018C-v1/RAW +#config.Data.inputDBS = 'global' +# +config.Data.unitsPerJob = 50 +#config.Data.totalUnits = -1 +# +config.Data.splitting = 'LumiBased' +#config.Data.splitting = 'FileBased' +# +#Example: '12345,99900-99910' +#config.Data.runRange = '272012,272021,272022' +#config.Data.runRange = '316590-320386' +#config.Data.runRange = '316590,316615,316667,316702,316717' +#config.Data.runRange = '320002,320006,320010,320011,320012' +#Run2018C: +#319337 319347 319449 319486 319528 319625 319678 319756 319853 319910 +#319950 319991 320011 320038 320064 +config.Data.runRange = '319337' +config.Data.ignoreLocality = True +#config.Data.ignoreLocality = False +config.Data.lumiMask = 'https://cms-service-dqm.web.cern.ch/cms-service-dqm/CAF/certification/Collisions18/13TeV/PromptReco/Cert_314472-325175_13TeV_PromptReco_Collisions18_JSON.txt' +config.Data.outLFNDirBase= '/store/user/zhokin/PSM/HcalNZS/2018/319337/' +#config.Data.outLFNDirBase= '/store/user/kodolova/HCALPHISYM/2018/LEGACY/RUNC' +#config.Data.publication = False +#config.Data.publishDbsUrl = 'test' +#config.Data.outputDatasetTag = 'zzzzzzhokinTESTs' +# +#useParent = True +# +config.section_('Site') +#config.Site.storageSite = 'T3_US_FNALLPC' +config.Site.storageSite = 'T2_CH_CERN' +config.Site.whitelist = ['T2_CH_CERN'] + diff --git a/DPGAnalysis/HcalTools/scripts/psm/file_ALCARECO.csh b/DPGAnalysis/HcalTools/scripts/psm/file_ALCARECO.csh new file mode 100755 index 0000000000000..9dda760f0a320 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/file_ALCARECO.csh @@ -0,0 +1,25 @@ +#!/bin/tcsh +rm TXT_${1}/* +if (${1} == "") then +echo "No input run list. Please use command: ./file_ALCARECO.csh runsets" +exit +endif + +echo " *************** myStart file_list *************** " + + +foreach i (`cat $1`) +echo ${i} +## +## +## dasgoclient --query="file dataset=/HcalNZS/Commissioning2021-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +## +## /HcalNZS/Commissioning2021-HcalCalMinBias-PromptReco-v1/ALCARECO +## +## /MinimumBias*/Commissioning2021-HcalCalIterativePhiSym-PromptReco-v1/ALCARECO +## +dasgoclient --query="file dataset=/HcalNZS/Commissioning2021-HcalCalMinBias-PromptReco-v1/ALCARECO run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +## +end +echo "DONE: file_ALCARECO.csh" +## diff --git a/DPGAnalysis/HcalTools/scripts/psm/file_IMPSM.csh b/DPGAnalysis/HcalTools/scripts/psm/file_IMPSM.csh new file mode 100755 index 0000000000000..4269400e6edb2 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/file_IMPSM.csh @@ -0,0 +1,26 @@ +#!/bin/tcsh +rm TXT_${1}/* +if (${1} == "") then +echo "No input run list. Please use command: ./file_ALCARECO.csh runsets" +exit +endif + +echo " *************** myStart file_list *************** " + + +foreach i (`cat $1`) +echo ${i} +## +##dasgoclient --query="file dataset=/HcalNZS/Commissioning2021-HcalCalMinBias-PromptReco-v1/ALCARECO run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} + +## dasgoclient --query="file dataset=/HcalNZS/Commissioning2021-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +## +## /HcalNZS/Commissioning2021-HcalCalMinBias-PromptReco-v1/ALCARECO +## +## /MinimumBias*/Commissioning2021-HcalCalIterativePhiSym-PromptReco-v1/ALCARECO +## +dasgoclient --query="file dataset=/MinimumBias3/Commissioning2021-HcalCalIterativePhiSym-PromptReco-v1/ALCARECO run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +## +end +echo "DONE: file_ALCARECO.csh" +## diff --git a/DPGAnalysis/HcalTools/scripts/psm/file_lists.csh b/DPGAnalysis/HcalTools/scripts/psm/file_lists.csh new file mode 100755 index 0000000000000..7f71418da99bc --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/file_lists.csh @@ -0,0 +1,72 @@ +#!/bin/tcsh +rm TXT_${1}/* +if (${1} == "") then +echo "No input run list. Please use command: ./file_lists.csh runsets" +exit +endif + +echo " *************** myStart file_list *************** " + + +foreach i (`cat $1`) +echo ${i} +## +## +#dasgoclient --query="file dataset=/Cosmics/Commissioning2018-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +#dasgoclient --query="file dataset=/MinimumBias/Commissioning2018-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +#dasgoclient --query="file dataset=/HcalNZS/Commissioning2017-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +#dasgoclient --query="file dataset=/Cosmics/Run2017C-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +#dasgoclient --query="file dataset=/ZeroBias/Run2018A-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +## +## HcalNZS /Commissioning2021 HcalNZS +#dasgoclient --query="file dataset=/HcalNZS/Commissioning2021-HcalCalMinBias-PromptReco-v1/ALCARECO run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} + + +dasgoclient --query="file dataset=/HcalNZS/Commissioning2021-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} + +## HcalNZS 1 +#dasgoclient --query="file dataset=/HcalNZS/Run2018D-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +# runlist11:316636 316982 316991 DONE +#dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +# runlist12:321612 DONE +#dasgoclient --query="file dataset=/HcalNZS/Run2018D-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} + +## MinimumBias 2 +# runlist21:316931 316937 316979 316987 DONE +#dasgoclient --query="file dataset=/MinimumBias/Run2018A-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +# runlist22:318172 319235 DONE +#dasgoclient --query="file dataset=/MinimumBias/Run2018B-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +# runlist23:321612 321668 DONE +#dasgoclient --query="file dataset=/MinimumBias/Run2018D-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} + +## ZeroBias 3 +# runlist31:316580 316944 316972 316991 DONE +#dasgoclient --query="file dataset=/ZeroBias/Run2018A-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +# runlist32:317480 317508 317567 317592 319177 319300 DONE +#dasgoclient --query="file dataset=/ZeroBias/Run2018B-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +# runlist33:321457 321612 321750 323841 323958 324020 DONE +#dasgoclient --query="file dataset=/ZeroBias/Run2018D-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +# runlist34:325283 325338 325396 325418 325458 325476 325553 325644 325700 DONE +#dasgoclient --query="file dataset=/ZeroBias/Run2018E-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} + + + +# this dataset only! for ions: +#dasgoclient --query="file dataset=/HIHcalNZS/HIRun2018A-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +# games with dedicated abort gap dataset : +#dasgoclient --query="file dataset=/TestEnablesEcalHcal/Run2018D-Express-v1/RAW run=${i}" --limit=0 | sed "s/\/store/\'\/store/g" | sed "s/root/root\',/g"> TXT_${1}/run_${i} +# +## available on eos according runlist_all (and run 316982 had plots already) +# Global_316636.root Global_316931.root Global_316944.root Global_316972.root Global_316987.root Global_317480.root Global_317508.root Global_317592.root Global_318172.root Global_319177.root +# Global_319235.root Global_319300.root Global_321457.root Global_321612.root Global_323841.root Global_323958.root Global_324020.root Global_325283.root Global_325338.root Global_325396.root +# Global_325418.root Global_325476.root +# + + + +## + +end + +echo "DONE: file_list.csh" +## diff --git a/DPGAnalysis/HcalTools/scripts/psm/findtime.csh b/DPGAnalysis/HcalTools/scripts/psm/findtime.csh new file mode 100755 index 0000000000000..d5d38e77b68df --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/findtime.csh @@ -0,0 +1,8 @@ +#!/bin/tcsh +set time=`dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep file.name, file.size, file.date" | awk '{print $3}' | awk -F , '{for ( k=1 ; k <= NF ; k++ ) {print $k"\n"}}' | grep last_modification_date | awk -F : '{print $2}'` + + +set nevents=`dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep file.name, file.size, file.date" | awk '{print $3}' | awk -F , '{for ( k=1 ; k <= NF ; k++ ) {print $k"\n"}}' | grep nevents | awk -F : '{print $2}'` + +echo ${time} ${nevents} + diff --git a/DPGAnalysis/HcalTools/scripts/psm/glu_runs_fromfile.csh b/DPGAnalysis/HcalTools/scripts/psm/glu_runs_fromfile.csh new file mode 100755 index 0000000000000..f5173fdff36a7 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/glu_runs_fromfile.csh @@ -0,0 +1,13 @@ +#!/bin/tcsh + +set DIR=${1} +set LIST=${2} + +foreach i (`cat ${LIST}`) +set NRUN=${i} +set list=`ls ${DIR}/Global_${NRUN}_*.root` +echo ${list} +hadd Global_${NRUN}.root ${list} +@ i = ${i} + "1" +end + diff --git a/DPGAnalysis/HcalTools/scripts/psm/glu_runs_oneos.csh b/DPGAnalysis/HcalTools/scripts/psm/glu_runs_oneos.csh new file mode 100755 index 0000000000000..748b72acd3bf1 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/glu_runs_oneos.csh @@ -0,0 +1,17 @@ +#!/bin/tcsh + +set DIR=${1} +set LIST=${2} +echo ${DIR} +echo ${LIST} + +foreach i (`cat ${LIST}`) +set NRUN=${i} +echo ${NRUN} +set list=`ls ${DIR}/${NRUN}/HcalNZS/crab_*_*/*_*/0000/Global_${NRUN}_*.root` +echo ${list} +echo " start hadd " +hadd Global_${NRUN}.root ${list} +@ i = ${i} + "1" +end + diff --git a/DPGAnalysis/HcalTools/scripts/psm/index_toAddOnlyNewRuns_EOS.sh b/DPGAnalysis/HcalTools/scripts/psm/index_toAddOnlyNewRuns_EOS.sh new file mode 100755 index 0000000000000..6cba8beac4382 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/index_toAddOnlyNewRuns_EOS.sh @@ -0,0 +1,223 @@ +#!/bin/bash + +WebDir='/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring' +WebSite='https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring' +##HistoDir='/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/GlobalPSM/histos' +##HistoDir='/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/ALCARECOPSM/histos' +##HistoDir='/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/IMPSM/histos' + + +cmsenv 2>/dev/null +if [[ $? == 0 ]] ; then + eval `scramv1 runtime -sh` +fi + + +# Process arguments and set the flags +fileName=$1 + +# Obtain the runList from a file, if needed +runList="" +if [ ${#fileName} -gt 0 ] ; then + if [ -s ${fileName} ] ; then + runList=`cat ${fileName}` + else + echo "<${fileName}> does not seem to be a valid file" + exit 2 + fi +else + if [ ${ignoreFile} -eq 0 ] ; then + echo " ! no file provided" + fi + echo " ! will produce only html page" +fi + + +# Check the runList and correct the correctables +# Replace ',' and ';' by empty spaces +runList=`echo "${runList}" | sed 'sk,k\ kg' | sed 'sk;k\ kg'` +ok=1 +for r in ${runList} ; do + if [ ! ${#r} -eq 6 ] ; then + echo "run numbers are expected to be of length 6. Check <$r>" + ok=0 + fi + debug_loc=0 + if [ "$r" -eq "$r" ] 2>/dev/null ; then + if [ ${debug_loc} -eq 1 ] ; then echo "run variable <$r> is a number (ok)"; fi + else + echo "error: run variable <$r> is not an integer number" + ok=0 + fi +done + +echo "Tested `wc -w <<< "${runList}"` runs from file ${fileName}" +if [ ${ok} -eq 0 ] ; then + echo "errors in the file ${fileName} with run numbers" + exit 3 +else + if [ ${#fileName} -gt 0 ] ; then + echo "run numbers in ${fileName} verified ok" + fi +fi + +echo +echo +echo 'Numbers of NEW runs for processing' +echo "${runList}" +echo -e "runList complete\n" + +echo -e '\n\nRun numbers:' +runListEOS=`echo $runList | tee _runlist_` +echo "${runListEOS}" +echo -e "Full runList for EOS complete\n" + + +# copy index.html from EOS: +echo 'next message is Fine: ' +rm index.html +#eoscp $WebDir/GlobalPSM/index.html index.html +#eoscp $WebDir/ALCARECOPSM/index.html index.html +eoscp $WebDir/IMPSM/index.html index.html +cp index.html OLDindex.html + +# delete last line of copied index_draft.html which close the table +cat index.html | head -n -1 > index_draft.html + +#extract run numbers for correct continuation +#k=0 +#for i in ${runListEOSall} ; do +#let "k = k + 1" +#done + +#k=34 +#k=42 +k=0 + +########################################## type by hands number of new runs k=k-number: +#let "k = k - 1" +echo ' =>> k in old list = '$k + +for i in ${runListEOS} ; do + +#runnumber=$(echo $i | sed -e 's/[^0-9]*//g') +#runnumber=$(echo $i | awk -F 'run' '{print $2}'| awk -F '.' '{print $1}') +runnumber=${i} +#if [[ "$runnumber" > 243400 ]] ; then +let "k = k + 1" +echo +echo ' =>> new k in loop = '$k +echo +echo +echo 'RUN number = '$runnumber + +# extract the date of file +dasInfo=${DAS_DIR}/das_${runnumber}.txt +got=0 +if [ ${dasCache} -eq 1 ] ; then + rm -f tmp + if [ -s ${dasInfo} ] ; then + cp ${dasInfo} tmp + got=1 + else + echo "no ${dasInfo} found. Will use dasgoclient" + fi +fi + +if [ ${got} -eq 0 ] ; then +#dasgoclient --query="file dataset=/HcalNZS/Run2018D-v1/RAW run=${i} | grep file.size, file.nevents, file.modification_time " > tmp +#dasgoclient --query="file dataset=/HcalNZS/Commissioning2021-v1/RAW run=${i} | grep file.size, file.nevents, file.modification_time " > tmp +#dasgoclient --query="file dataset=/HcalNZS/Commissioning2021-HcalCalMinBias-PromptReco-v1/ALCARECO run=${i} | grep file.size, file.nevents, file.modification_time " > tmp +dasgoclient --query="file dataset=/MinimumBias3/Commissioning2021-HcalCalIterativePhiSym-PromptReco-v1/ALCARECO run=${i} | grep file.size, file.nevents, file.modification_time " > tmp + +fi + +timetmp=`cat tmp | head -n 1 | awk '{print $3}'` +############################################################################################################ +#type='ZeroBias' +#type='HcalNZS' +type='MinimumBias1' +timetmp2=`date -d @${timetmp} +%Y-%m-%d:%H-%M-%S` +sizetmp=`cat tmp | head -n 1 | awk '{print $1}'` +neventstmp=`cat tmp | head -n 1 | awk '{print $2}'` +commentariy='2021ALCARECO' +#cat runs_info +echo 'RUN Type = '$type +echo ${sizetmp} ${neventstmp} ${timetmp2} +echo 'RUN Comment = '$commentariy + + + +#adding entry to list of file index_draft.html +let "raw = (k % 2) + 2" +echo ''>> index_draft.html +echo ''$k''>> index_draft.html +echo ''$runnumber''>> index_draft.html +echo ''$type''>> index_draft.html +echo ''$timetmp2''>> index_draft.html +echo ''$sizetmp''>> index_draft.html +echo ''$neventstmp''>> index_draft.html +#echo 'GlobalPSM_'$runnumber''>> index_draft.html +#echo 'ALCARECOPSM_'$runnumber''>> index_draft.html +echo 'IMPSM_'$runnumber''>> index_draft.html +echo ''$commentariy''>> index_draft.html + + +rm tmp + +############################################################################################################ record index_draft.html + +if [ ${#comment} -gt 0 ] ; then + #echo "runList=${runList}, check ${runnumber}" + temp_var=${runList/${runnumber}/} + if [ ${#temp_var} -lt ${#runList} ] ; then + echo "adding a commentary for this run" + echo "${comment}" >> index_draft.html + fi +fi +echo ''>> index_draft.html +prev=$i + +#fi +done + + +# print footer to index.html +echo `cat footer.txt`>> index_draft.html + + +status=0 +if [ ${debug} -gt 0 ] ; then + echo "debug=${debug}. No upload to eos" + status=-1 +else +### echo "Commented by me: eoscp index_draft.html $WebDir/GlobalPSM/index.html No upload to eos" +# eoscp OLDindex.html $WebDir/GlobalPSM/OLDindex.html +# eoscp index_draft.html $WebDir/GlobalPSM/index.html + +### echo "Commented by me: eoscp index_draft.html $WebDir/ALCARECOPSM/index.html No upload to eos" +# eoscp OLDindex.html $WebDir/ALCARECOPSM/OLDindex.html +# eoscp index_draft.html $WebDir/ALCARECOPSM/index.html + + + status="$?" +# rm index_draft.html +fi + +# delete temp files + +if [ ${debug} -eq 0 ] ; then +# rm -f *.root + rm -f _runlist_ + rm -f _runlistEOSall_ +fi + +# check eos-upload exit code +if [[ "${status}" == "0" ]]; then + echo "Successfully uploaded!" +else + echo "ERROR: Uploading failed" + exit 1 +fi + +echo "index script done" diff --git a/DPGAnalysis/HcalTools/scripts/psm/index_toAddOnlyNewRuns_EOS.shOLD b/DPGAnalysis/HcalTools/scripts/psm/index_toAddOnlyNewRuns_EOS.shOLD new file mode 100755 index 0000000000000..cf72fe02911ce --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/index_toAddOnlyNewRuns_EOS.shOLD @@ -0,0 +1,349 @@ +#!/bin/bash + +WebDir='/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring' +WebSite='https://cms-conddb-dev.cern.ch/eosweb/hcal/HcalRemoteMonitoring' +HistoDir='/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/histos' +eos='/afs/cern.ch/project/eos/installation/0.3.15/bin/eos.select' + +# print usage info +if [[ "$1" == "" ]]; then + echo "Usage:" + echo " $0 file [comment] [-ignore-file] [-das-cache]" + echo " file -- a file with run numbers" + echo " comment -- add a comment line (instead of spaces use '_')" + echo " -ignore-file -- skips production of run html pages. Produces" + echo " only the global page. File name is not needed." + echo " -das-cache -- whether to save DAS information locally for a reuse" + echo + echo "example: ./GLOBAL.sh Run_List.txt" + exit 1 +fi + +cmsenv 2>/dev/null +if [ $? == 0 ] ; then + eval `scramv1 runtime -sh` +fi +temp_var=`ls ${eos}` +status="$?" +echo "using eos command <${temp_var}>" +if [ ! ${status} -eq 0 ] ; then + echo "failed to find eos command" + # exit 1 +fi + + +# Process arguments and set the flags +fileName=$1 +comment=$2 +if [ ${#comment} -gt 0 ] && [ "${comment:0:1}" == "-" ] ; then comment=""; fi +ignoreFile=0 +debug=0 +dasCache=0 +DAS_DIR="d-DAS-info" + +for a in $@ ; do + if [ "$a" == "-ignore-file" ] ; then + echo " ** file will be ignored" + fileName="" + ignoreFile=1 + elif [ "$a" == "-das-cache" ] ; then + echo " ** DAS cache ${DAS_DIR} enabled" + dasCache=1 + if [ ! -d ${DAS_DIR} ] ; then mkdir ${DAS_DIR}; fi + else + temp_var=${a/-debug/} + if [ ${#a} -gt ${#temp_var} ] ; then + debug=${temp_var} + echo " ** debug detected (debug=${debug})" + fi + fi +done + +# Obtain the runList from a file, if needed +runList="" +if [ ${#fileName} -gt 0 ] ; then + if [ -s ${fileName} ] ; then + runList=`cat ${fileName}` + else + echo "<${fileName}> does not seem to be a valid file" + exit 2 + fi +else + if [ ${ignoreFile} -eq 0 ] ; then + echo " ! no file provided" + fi + echo " ! will produce only the global html page" +fi + + +# Check the runList and correct the correctables +# Replace ',' and ';' by empty spaces +runList=`echo "${runList}" | sed 'sk,k\ kg' | sed 'sk;k\ kg'` +ok=1 +for r in ${runList} ; do + if [ ! ${#r} -eq 6 ] ; then + echo "run numbers are expected to be of length 6. Check <$r>" + ok=0 + fi + debug_loc=0 + if [ "$r" -eq "$r" ] 2>/dev/null ; then + if [ ${debug_loc} -eq 1 ] ; then echo "run variable <$r> is a number (ok)"; fi + else + echo "error: run variable <$r> is not an integer number" + ok=0 + fi +done + +echo "Tested `wc -w <<< "${runList}"` runs from file ${fileName}" +if [ ${ok} -eq 0 ] ; then + echo "errors in the file ${fileName} with run numbers" + exit 3 +else + if [ ${#fileName} -gt 0 ] ; then + echo "run numbers in ${fileName} verified ok" + fi +fi + +comment=`echo ${comment} | sed sk\_k\ kg` +if [ ${#comment} -gt 0 ] ; then + echo "comment \"${comment}\" will be added to the pages" +fi + +if [ ${debug} -eq 3 ] ; then exit; fi + + +echo +echo +echo +echo 'Numbers of NEW runs for processing' +echo "${runList}" +echo -e "runList complete\n" + +#processing skipped + + +# # # # # # # # # # # # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ##### +# Create global web page +# + +echo "Get list of runss in ${HistoDir}" +#eos ls $HistoDir | grep root | awk '{print $5}' | awk -F / '{print $10}' > rtmp +#cat rtmp | awk -F _ '{print $2}' | awk -F . '{print $1}' > _runlist_ + +histoFiles=`${eos} ls $HistoDir | grep root | awk -F '_' '{print $2}' | awk -F '.' '{print $1}'` +echo -e '\n\nRun numbers on EOS:' +runListEOSall=`echo $histoFiles | tee _runlistEOSall_` +echo "Got `wc -w <<< "${runListEOSall}"` runs from HistDir ${HistoDir}" + +echo -e '\n\nRun numbers:' +runListEOS=`echo $runList | tee _runlist_` +echo "${runListEOS}" +echo -e "Full runList for EOS complete\n" + + + + + +### use to clarify full list of runs: +#echo "Get OLD list of runs in ${HistoDir}" +#echo -e '\n\nRun numbers to be on EOS:' +#runListEOS=`echo $histoFiles ` +#echo "${runListEOS}" +#echo -e "OLD list complete\n" + + +############# making table + +# skip/comment header: +## print header to index.html +#if [ ${#comment} -eq 0 ] ; then +# echo `cat header_GLOBAL_EOS.txt` > index_draft.html +#else +# echo `head -n -1 header_GLOBAL_EOS.txt` > index_draft.html +# echo -e "Comment\n\n" \ +# >> index_draft.html +#fi + +# copy index.html from EOS: +echo 'next message is Fine: ' +rm index.html +#cmsStage $WebDir/CMT/index.html index.html +eoscp $WebDir/CMT/index.html index.html +cp index.html OLDindex.html + +# delete last line of copied index_draft.html which close the table +cat index.html | head -n -1 > index_draft.html + +#extract run numbers for correct continuation +#k=0 +#for i in ${runListEOSall} ; do +#let "k = k + 1" +#done +k=2014 +########################################## type by hands number of new runs k=k-number: +#let "k = k - 1" +echo ' ================>>> k in old list = '$k + +for i in ${runListEOS} ; do + +#runnumber=$(echo $i | sed -e 's/[^0-9]*//g') +#runnumber=$(echo $i | awk -F 'run' '{print $2}'| awk -F '.' '{print $1}') +runnumber=${i} +#if [[ "$runnumber" > 243400 ]] ; then +let "k = k + 1" +echo +echo ' ================>>> new k in loop = '$k +echo +echo +echo 'RUN number = '$runnumber + +# extract the date of file +dasInfo=${DAS_DIR}/das_${runnumber}.txt +got=0 +if [ ${dasCache} -eq 1 ] ; then + rm -f tmp + if [ -s ${dasInfo} ] ; then + cp ${dasInfo} tmp + got=1 + else + echo "no ${dasInfo} found. Will use dasgoclient" + fi +fi + +if [ ${got} -eq 0 ] ; then +##### old: 1 2 3 4 5 6 7 8 +## ./das_client.py --query="run=${i} | grep run.beam_e,run.bfield,run.nlumis,run.lhcFill,run.delivered_lumi,run.duration,run.start_time,run.end_time" --limit=0 > tmp +###### AZ used now: 1 2 3 4 5 6 7 8 9 10 11 12 +dasgoclient --query="run=${i} | grep run.lhcEnergy ,run.bfield ,run.lsCount ,run.lhcFill , run.lsRanges , run.runClassName ,run.startTime ,run.stopTime " > tmp +# for test: +#dasgoclient --query="run=${i} | grep run.aaa ,run.lhcEnergy ,run.bfield ,run.lsCount,run.lhcFill , run.lsRanges , run.runClassName ,run.startTime ,run.stopTime , run.runCreated ,run.modified " > tmp + +# if [ ${dasCache} -eq 1 ] ; then cp tmp ${dasInfo}; fi +fi + + +##### AZ used now: +# delete last lines of copied tmp file +cat tmp | head -n -1 > ztmp +rm tmp +#cat ztmp + +###### AZ used now: +date=`cat ztmp | awk '{print $7" "$8" "$9}'` +date_end=`cat ztmp | awk '{print $10" "$11" "$12}'` +#old: +#date=`cat ztmp | awk '{print $7" "$8}'` +#date_end=`cat ztmp | awk '{print $9" "$10}'` +E=`cat ztmp | awk '{print $1}'` +B=`cat ztmp | awk '{print $2}'` +nL=`cat ztmp | awk '{print $3}'` +Fill=`cat ztmp | awk '{print $4}'` +dLumi=`cat ztmp | awk '{print $5}'` +D=`cat ztmp | awk '{print $6}'` + +###### AZ used now: +rm ztmp + +#echo 'ver 1' +#${eos} ls $HistoDir/Global_$i.root +#echo 'ver 2' +#${eos} ls -l $HistoDir/Global_$i.root +#old Date_obr=`${eos} ls -l $HistoDir/Global_$i.root | awk '{print $3" "$4}'` + +fileinfo=`${eos} ls -l $HistoDir/Global_$i.root` +Date_obr=`echo ${fileinfo} | awk '{print $6" "$7" "$8}'` +#echo "Date_obr=$Date_obr" + +# extract run type, data, time and number of events +type='Cosmic' +commentariy='' +#cat runs_info + +# for j in $(cat runs_info); do +# echo $j +# k= `echo $j | awk '{print $1}'` +# if [[ "$runnumber" == "$k" ]] ; then +# type= `echo $i | awk '{print $2}'` +# commentariy=`echo $i | awk '{print $3}'` +# fi +# done + +#echo 'RUN Type = '$type +echo 'RUN Start Date = '$date +echo 'RUN Duration = '$D +echo 'RUN End Date = '$date_end +echo 'RUN Energy = '$E +echo 'RUN Magnet field = '$B +echo 'RUN LS number = '$nL +echo 'RUN LHC Fill = '$Fill +echo 'RUN Delivered Luminosity = '$dLumi +echo 'RUN Date processing = '$Date_obr +#echo 'RUN Comment = '$commentariy + +#adding entry to list of file index_draft.html +let "raw = (k % 2) + 2" +echo ''>> index_draft.html +echo ''$k''>> index_draft.html +echo ''$runnumber''>> index_draft.html +#echo ''$type''>> index_draft.html +echo ''$nL''>> index_draft.html +echo ''$Fill''>> index_draft.html +echo ''$date''>> index_draft.html +echo ''$D''>> index_draft.html +echo ''$date_end''>> index_draft.html +echo 'CMT_'$runnumber''>> index_draft.html +echo 'RMT_'$runnumber''>> index_draft.html +echo ''$B' T'>> index_draft.html +echo ''$E' GeV'>> index_draft.html +#echo ''$dLumi' /nb'>> index_draft.html +echo ''$Date_obr''>> index_draft.html +if [ ${#comment} -gt 0 ] ; then + #echo "runList=${runList}, check ${runnumber}" + temp_var=${runList/${runnumber}/} + if [ ${#temp_var} -lt ${#runList} ] ; then + echo "adding a commentary for this run" + echo "${comment}" >> index_draft.html + fi +fi +echo ''>> index_draft.html +prev=$i + +#fi +done + + +# print footer to index.html +echo `cat footer.txt`>> index_draft.html + + +status=0 +if [ ${debug} -gt 0 ] ; then + echo "debug=${debug}. No upload to eos" + status=-1 +else +### echo "Commented by me: eoscp index_draft.html $WebDir/CMT/index.html No upload to eos" +# eoscp OLDindex.html $WebDir/CMT/OLDindex.html +# eoscp index_draft.html $WebDir/CMT/index.html + + + status="$?" +# rm index_draft.html +fi + +# delete temp files + +if [ ${debug} -eq 0 ] ; then +# rm -f *.root + rm -f _runlist_ + rm -f _runlistEOSall_ +fi + +# check eos-upload exit code +if [[ "${status}" == "0" ]]; then + echo "Successfully uploaded!" +else + echo "ERROR: Uploading failed" + exit 1 +fi + +echo "index script done" diff --git a/DPGAnalysis/HcalTools/scripts/psm/mkcfg_new120.csh b/DPGAnalysis/HcalTools/scripts/psm/mkcfg_new120.csh new file mode 100755 index 0000000000000..758fc948a9e11 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/mkcfg_new120.csh @@ -0,0 +1,45 @@ +#!/bin/csh +echo "myStart mkcfg_new120.csh" +set j=1 +rm -rf PYTHON_${1} +rm -rf TXT_${1} +mkdir PYTHON_${1} +mkdir TXT_${1} + +./file_lists.csh ${1} + +foreach jj (`cat ${1}`) + +set kk=1 +cat a.py.beg > PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +set nn=0 + +foreach i (`cat TXT_${1}/run_${jj}`) +@ nn = ${nn} + "1" +echo "nn= ${nn} , i= ${i}, kk= ${kk}" + +#if( ${nn} < "120" ) then +#if( ${nn} < "50" ) then +#if( ${nn} < "30" ) then +if( ${nn} < "3" ) then + +echo "${i}" >> PYTHON_${1}/Reco_${jj}_${kk}_cfg.py + +else +echo "${i}" >> PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +cat a.py.end | sed s/Global.root/Global\_${jj}_${kk}.root/g >> PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +@ kk = ${kk} + "1" +cat a.py.beg > PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +set nn=0 +endif + +end + +if( ${nn} != "0" ) cat a.py.end | sed s/Global.root/Global\_${jj}_${kk}.root/g >> PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +@ j = ${j} + "1" + +end + +echo "DONE: mkcfg_new120.csh" + +###### diff --git a/DPGAnalysis/HcalTools/scripts/psm/mkcfg_newALCARECO.csh b/DPGAnalysis/HcalTools/scripts/psm/mkcfg_newALCARECO.csh new file mode 100755 index 0000000000000..f138b507b1d7c --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/mkcfg_newALCARECO.csh @@ -0,0 +1,45 @@ +#!/bin/csh +echo "myStart mkcfg_newALCARECO.csh" +set j=1 +rm -rf PYTHON_${1} +rm -rf TXT_${1} +mkdir PYTHON_${1} +mkdir TXT_${1} + +./file_ALCARECO.csh ${1} + +foreach jj (`cat ${1}`) + +set kk=1 +cat aALCARECO.py.beg > PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +set nn=0 + +foreach i (`cat TXT_${1}/run_${jj}`) +@ nn = ${nn} + "1" +echo "nn= ${nn} , i= ${i}, kk= ${kk}" + +#if( ${nn} < "120" ) then +#if( ${nn} < "50" ) then +#if( ${nn} < "30" ) then +if( ${nn} < "3" ) then + +echo "${i}" >> PYTHON_${1}/Reco_${jj}_${kk}_cfg.py + +else +echo "${i}" >> PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +cat aALCARECO.py.end | sed s/Global.root/Global\_${jj}_${kk}.root/g >> PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +@ kk = ${kk} + "1" +cat aALCARECO.py.beg > PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +set nn=0 +endif + +end + +if( ${nn} != "0" ) cat aALCARECO.py.end | sed s/Global.root/Global\_${jj}_${kk}.root/g >> PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +@ j = ${j} + "1" + +end + +echo "DONE: mkcfg_newALCARECO.csh" + +###### diff --git a/DPGAnalysis/HcalTools/scripts/psm/mkcfg_newIMPSM.csh b/DPGAnalysis/HcalTools/scripts/psm/mkcfg_newIMPSM.csh new file mode 100755 index 0000000000000..d6eed6bb83b6a --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/mkcfg_newIMPSM.csh @@ -0,0 +1,45 @@ +#!/bin/csh +echo "myStart mkcfg_newIMPSM.csh" +set j=1 +rm -rf PYTHON_${1} +rm -rf TXT_${1} +mkdir PYTHON_${1} +mkdir TXT_${1} + +./file_IMPSM.csh ${1} + +foreach jj (`cat ${1}`) + +set kk=1 +cat aALCARECO.py.beg > PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +set nn=0 + +foreach i (`cat TXT_${1}/run_${jj}`) +@ nn = ${nn} + "1" +echo "nn= ${nn} , i= ${i}, kk= ${kk}" + +#if( ${nn} < "120" ) then +#if( ${nn} < "50" ) then +#if( ${nn} < "30" ) then +if( ${nn} < "3" ) then + +echo "${i}" >> PYTHON_${1}/Reco_${jj}_${kk}_cfg.py + +else +echo "${i}" >> PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +cat aALCARECO.py.end | sed s/Global.root/Global\_${jj}_${kk}.root/g >> PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +@ kk = ${kk} + "1" +cat aALCARECO.py.beg > PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +set nn=0 +endif + +end + +if( ${nn} != "0" ) cat aALCARECO.py.end | sed s/Global.root/Global\_${jj}_${kk}.root/g >> PYTHON_${1}/Reco_${jj}_${kk}_cfg.py +@ j = ${j} + "1" + +end + +echo "DONE: mkcfg_newIMPSM.csh" + +###### diff --git a/DPGAnalysis/HcalTools/scripts/psm/readme b/DPGAnalysis/HcalTools/scripts/psm/readme new file mode 100644 index 0000000000000..5e1a57384c8ba --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/readme @@ -0,0 +1,272 @@ +!!!!!!!!!!!!!! + + +!!!!!!!!!!!!!! +Changes were made to add option to use also only ALCARECO collection: + # if = 0 -> do not use digis at all + flagToUseDigiCollectionsORNot = cms.int32(1), + +!!!!!!!!!!!!!! +Warning: before use, correct everywhere below the letters: + ...qq8/CMSSW_12_3_0_pre4... for needed dirs. + +!!!!!!!!!!!!!! +setenv SCRAM_ARCH slc7_amd64_gcc10 +cmsrel CMSSW_12_3_0_pre4 +cd CMSSW_12_3_0_pre4/src +cmsenv +git cms-addpkg DPGAnalysis/HcalTools + +git cms-addpkg Calibration/HcalAlCaRecoProducers +git cms-addpkg Calibration/HcalCalibAlgos +scram b + + +!!!!!!!!!!!!!! +I.SELECTION OF RUNS FOR EACH ERA +============================== + +1. fill into files (ztmpHcalNZS_A,...E...HI) all list of runs for each + dataset era (...Run2018A-v1,..E....HI..) using commands: +dasgoclient --query="run dataset=/HcalNZS/Run2018A-v1/RAW" --limit=0 > ztmpHcalNZS_A +or for ALCARECO collection: +dasgoclient --query="run dataset=/HcalNZS/Commissioning2021-HcalCalMinBias-PromptReco-v1/ALCARECO" --limit=0 > ztmpHcalNZS_ALCARECO +dasgoclient --query="run dataset=/MinimumBias/Commissioning2021-HcalCalIterativePhiSym-PromptReco-v1/ALCARECO" --limit=0 > ztmpHcalMB_ALCARECO +dasgoclient --query="run dataset=/MinimumBias0/Commissioning2021-HcalCalIterativePhiSym-PromptReco-v1/ALCARECO" --limit=0 > ztmpHcalMB0_ALCARECO +dasgoclient --query="run dataset=/MinimumBias1/Commissioning2021-HcalCalIterativePhiSym-PromptReco-v1/ALCARECO" --limit=0 > ztmpHcalMB1_ALCARECO +dasgoclient --query="run dataset=/MinimumBias2/Commissioning2021-HcalCalIterativePhiSym-PromptReco-v1/ALCARECO" --limit=0 > ztmpHcalMB2_ALCARECO + +2. specify in file rundate.sh the line with ...dataset=... +and correct the line: +mv index_selection.html index_selectionA(B...).html + +and use obtained txt file ztmpHcalNZS_A(B...) +and execute one of the commands: + +./rundate.sh ztmpHcalNZS_ALCARECO > ztmpNZSALCARECO + +./rundate.sh ztmpHcalNZS_A > ztmpA +./rundate.sh ztmpHcalNZS_B > ztmpB +./rundate.sh ztmpHcalNZS_C > ztmpC +./rundate.sh ztmpHcalNZS_D > ztmpD +./rundate.sh ztmpHcalNZS_E > ztmpE +./rundate.sh ztmpHcalNZS_HI > ztmpHI + +(file index_selectionA(B...).html is created ) + +3. use file index_selectionA(B...).html to select runs +of needed size and only 1 run per day(last one), +with comparison with +https://cms-service-dqm.web.cern.ch/cms-service-dqm/CAF/certification/Collisions18 +/13TeV/PromptReco/Cert_314472-325175_13TeV_PromptReco_Collisions18_JSON.txt + +, create txt files: + runtime_runA(B...) + runlist_runA(B...) + + +II. running of main cc-kode (creation of root files) +=================================================== +1) interactively +(w/o config.Data.lumiMask = +'https://cms-service-dqm.web.cern.ch/cms-service-dqm/CAF/certification/Collisions18 +/13TeV/PromptReco/Cert_314472-325175_13TeV_PromptReco_Collisions18_JSON.txt' +) +- necessary corrections: +1. correct file "file_lists.csh" or "file_ALCARECO.csh" or "file_IMPSM.csh" for dataset used +2. correct file "runlist_runA(B...)" to specify run list +- running: +./mkcfg_new120.csh runlist_runA(B...) +./mkcfg_newALCARECO.csh runlist_2ALCARECO + +- see, how many py-files in PYTHON_runlist_run dir.. +- run ~ 15 jobs per PC: 1-15, 15-30, ...nn1- NN using commands: +./run_interactive.csh runlist_run nn1 NN + +2) using crab: +see https://cms-service-dqm.web.cern.ch/cms-service-dqm/CAF/certification/Collisions18/13TeV/PromptReco/ +- correct: PSM_Global_2018_cfg.py +- for each run correct and use scripts: +crab_NZS2018C_1(2...).py +- running: +source /cvmfs/cms.cern.ch/crab3/crab.csh +source /cvmfs/cms.cern.ch/crab3/crab_standalone.csh +setenv SCRAM_ARCH slc7_amd64_gcc10 +cmsenv + +crab submit -c crab_NZS2018C_1(2...).py + +to check(kill) use: +crab status +crab status -d ./crab_20200212_101405 +crab tasks +crab tasks --days +crab kill -d ./crab_20200212_101405 + +III. copy and merge root files +============================== +1) from eos, merge pices of root files into one big run-root file in your_dir on afs: +(using script cp_runs_fromeos_into_longruns.sh ) + ./cp_runs_fromeos_into_longruns.sh runlist_runA /afs/cern.ch/work/z/zhokin/hcal/qq8/CMSSW_12_3_0_pre4/src/DPGAnalysis/HcalTools/scripts/psm/longruns + ./cp_runs_fromeos_into_longruns.sh runlist_runB /afs/cern.ch/work/z/zhokin/hcal/qq8/CMSSW_12_3_0_pre4/src/DPGAnalysis/HcalTools/scripts/psm/longruns + ./cp_runs_fromeos_into_longruns.sh runlist_runC /afs/cern.ch/work/z/zhokin/hcal/qq8/CMSSW_12_3_0_pre4/src/DPGAnalysis/HcalTools/scripts/psm/longruns + (input dir is /eos/cms/store/user/zhokin/PSM/HcalNZS/2018 ; see: ll /eos/cms/store/user/zhokin/PSM/HcalNZS/ ) + +[1.1 (DOESN'T WORK YET) in principle, you can use merging directly within eos dir. +For that, use script glu_runs_oneos.csh directly from eos: +cd /eos/cms/store/user/zhokin/PSM/HcalNZS +./glu_runs_oneos.csh /eos/cms/store/user/zhokin/PSM/HcalNZS/2018 runlist_eostest1 +] + +2) in use of interactive running use the next : +cd /afs/cern.ch/work/z/zhokin/hcal/qq8/CMSSW_12_3_0_pre4/src/DPGAnalysis/HcalTools/scripts/psm +2.1 check all root-files availability: +cd /afs/cern.ch/work/z/zhokin/hcal/qq8/CMSSW_12_3_0_pre4/src/DPGAnalysis/HcalTools/scripts/psm +./checkoutput120.csh PYTHON_runlist_run longruns + +2.2 merging run-root-piecies into one big run-root file: +cd /afs/cern.ch/work/z/zhokin/hcal/qq8/CMSSW_12_3_0_pre4/src/DPGAnalysis/HcalTools/scripts/psm +(crashed jobs to be re-runned interactively and copied into dir longruns ) +./glu_runs_fromfile.csh longruns runlist_run + +3) copy into /eos: +cd /afs/cern.ch/work/z/zhokin/hcal/qq8/CMSSW_12_3_0_pre4/src/DPGAnalysis/HcalTools/scripts/psm +copy all files Global_"run".root from your_dir into eos: +cp Global_*.root /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/GlobalPSM/histos/. +cp Global_*.root /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/ALCARECOPSM/histos/. +or each run only:: +eos cp /your_dir/Global_345821.root /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/GlobalPSM/histos +check: +eos ls -l /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/GlobalPSM/histos/ + +IV. visulization on GlobalPSM sajt +================================== +-- to visualize table for each new run, use script: +-- fill table on GlobalPSM sajt: add new runs +https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalPSM + - correct file index_toAddOnlyNewRuns_EOS.sh for "dasgoclient.. dataset=..." and "k=" + and then use scripts: +./index_toAddOnlyNewRuns_EOS.sh runlist_runA +./index_toAddOnlyNewRuns_EOS.sh runlist_runB +./index_toAddOnlyNewRuns_EOS.sh runlist_runC +./index_toAddOnlyNewRuns_EOS.sh runlist_runD + +./index_toAddOnlyNewRuns_EOS.sh runlist_1ALCARECO +./index_toAddOnlyNewRuns_EOS.sh runlist_2ALCARECO + +At that, check index_draft.html and if everything is ok, copy it: +cp index_draft.html /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/GlobalPSM/index.html +cp index_draft.html /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/ALCARECOPSM/index.html +cp index_draft.html /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/IMPSM/index.html + + +-- to visualize PSM-plots for each new run, use script: + -------------------------------------------------- +cd macros/psm +./compile.csh RemoteMonitoringPSM.cc +./compile.csh RemoteMonitoringALCARECOPSM.cc +./compile.csh RemoteMonitoringIMPSM.cc +./compile.csh RemoteMonitoringIMPSMTEST.cc + +cd scripts/psm +./GlobalPSM_EOS.sh runlist_all + +./ALCARECOPSM_EOS.sh runlist_1ALCARECO +./ALCARECOPSM_EOS.sh runlist_2ALCARECO +./IMPSM_EOS.sh runlist_1IMPSM + +(during this running, for each run, new dirs like GLOBAL_runnumber +will be created in dir. +/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/GlobalPSM +or +/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/ALCARECOPSM +or +/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/IMPSM + +) + +V. helpfull sites and dirs +================== +1) Phi-Symmetry Monitoring(PSM) Tool for IMALCARECO RUNs: +https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/IMPSM/ + +2) Phi-Symmetry Monitoring(PSM) Tool for ALCARECO RUNs +https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/ALCARECOPSM + +3) Phi-Symmetry Monitoring(PSM) Tool for Global RUNs +https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalPSM/ + +==== example of IMPSM for Natalii (Iterative Method) +cd /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/ +mkdir IMPSM +======= + + ls -latr /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/ + +drwxr-xr-x. 2 kodolova zh 4096 Mar 13 2020 AMT +drwxr-xr-x. 2 kodolova zh 4096 Sep 28 16:21 RMT +drwxr-xr-x. 2 kodolova zh 4096 Nov 23 09:02 CMT +drwxr-xr-x. 2 51962 zh 4096 Nov 23 09:33 GlobalRMT +drwxr-xr-x. 2 zhokin zh 4096 Dec 3 13:07 GlobalPSM +drwxr-xr-x. 2 zhokin zh 4096 Dec 6 14:31 ALCARECOPSM +drwxr-xr-x. 2 zhokin zh 4096 Dec 7 10:41 IMPSM +====== +sites: +----- +https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT + +https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/CMT +https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT + +https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalPSM +https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/ALCARECOPSM +https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/IMPSM + +https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/AMT + + +VI. tests: +========== +cd macros/psm +cp /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/IMPSM/histos/Global_346512.root . +./compile.csh RemoteMonitoringIMPSMTEST.cc +./RemoteMonitoringIMPSMTEST.cc.exe Global_346512.root Global_346512.root Global + +local: +firefox MAP.html +gnome-open RBX-HO-3plots.png +grep RBX-HB-3plotsmore *.html +ll HB_ADCampl.html + + +================================== +================================== +================================== +================================== +================================== +VII. use of AMT scripts +===================== +-- use macro zGlobalamtTimeDependenciesPhiSymmetryHE.cc + in dir + cd /afs/cern.ch/work/z/zhokin/hcal/qq8/CMSSW_12_3_0_pre4/src/DPGAnalysis/HcalTools/macros/amt + - create dirs. +zamtPhiSymmetryHElin +zamtPhiSymmetryHElog + + - ./compile.csh zGlobalamtTimeDependenciesPhiSymmetryHE.cc + - ./zGlobalamtTimeDependenciesPhiSymmetryHE.cc.exe + +cd zamtPhiSymmetryHElog +gnome-open *.png + +-- visualization: + - correct files in dir: +/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/AMT/index.html +and mainly here: +/afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/AMTweb + + -see site: + +https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/AMT + +https://cms-cpt-software.web.cern.ch/cms-cpt-software/General/Validation/SVSuite/HcalRemoteMonitoring/AMT/HE.html diff --git a/DPGAnalysis/HcalTools/scripts/psm/readmeDEF b/DPGAnalysis/HcalTools/scripts/psm/readmeDEF new file mode 100644 index 0000000000000..3fa70ef13720c --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/readmeDEF @@ -0,0 +1,150 @@ +!!!!!!!!!!!!!! + + +!!!!!!!!!!!!!! + + + +Warning: before use correct everywhere below the letters: +...qq7/CMSSW_12_2_0_pre2... for needed dirs. + + + +!!!!!!!!!!!!!! + + + +I.SELECTION OF RUNS FOR EACH ERA +============================== + +1. fill into files (ztmpHcalNZS_A,...E...HI) all list of runs for each + dataset era (...Run2018A-v1,..E....HI..) using commands: + +dasgoclient --query="run dataset=/HcalNZS/Run2018A-v1/RAW" --limit=0 > ztmpHcalNZS_A +dasgoclient --query="run dataset=/HcalNZS/Run2018B-v1/RAW" --limit=0 > ztmpHcalNZS_B +dasgoclient --query="run dataset=/HcalNZS/Run2018C-v1/RAW" --limit=0 > ztmpHcalNZS_C +dasgoclient --query="run dataset=/HcalNZS/Run2018D-v1/RAW" --limit=0 > ztmpHcalNZS_D +dasgoclient --query="run dataset=/HcalNZS/Run2018E-v1/RAW" --limit=0 > ztmpHcalNZS_E +dasgoclient --query="run dataset=/HIHcalNZS/HIRun2018A-v1/RAW" --limit=0 > ztmpHcalNZS_HI + +2. specify in file rundate.sh the line with ...dataset=... +and correct the line: +mv index_selection.html index_selectionA(B...).html + +and use obtained txt file ztmpHcalNZS_A(B...) +and execute one of the commands: + +./rundate.sh ztmpHcalNZS_A > ztmpA +./rundate.sh ztmpHcalNZS_B > ztmpB +./rundate.sh ztmpHcalNZS_C > ztmpC +./rundate.sh ztmpHcalNZS_D > ztmpD +./rundate.sh ztmpHcalNZS_E > ztmpE +./rundate.sh ztmpHcalNZS_HI > ztmpHI + +(file index_selectionA(B...).html is created ) + +3. use file index_selectionA(B...).html to select runs +of needed size and only 1 run per day(last one), +with comparison with +https://cms-service-dqm.web.cern.ch/cms-service-dqm/CAF/certification/Collisions18 +/13TeV/PromptReco/Cert_314472-325175_13TeV_PromptReco_Collisions18_JSON.txt + +, create txt files: + runtime_runA(B...) + runlist_runA(B...) + + +II. running of main cc-kode (creation of root files) +=================================================== +1) interactively +(w/o config.Data.lumiMask = +'https://cms-service-dqm.web.cern.ch/cms-service-dqm/CAF/certification/Collisions18 +/13TeV/PromptReco/Cert_314472-325175_13TeV_PromptReco_Collisions18_JSON.txt' +) +- necessary corrections: +1. correct file "file_lists.csh" for dataset used +2. correct file "runlist_runA(B...)" to specify run list +- running: +./mkcfg_new120.csh runlist_runA(B...) +- see, how many py-files in PYTHON_runlist_run dir.. +- run ~ 15 jobs per PC: 1-15, 15-30, ...nn1- NN using commands: +./run_interactive.csh runlist_run nn1 NN + +2) using crab: +see https://cms-service-dqm.web.cern.ch/cms-service-dqm/CAF/certification/Collisions18/13TeV/PromptReco/ +- correct: PSM_Global_2018_cfg.py +- for each run correct and use scripts: +crab_NZS2018C_1(2...).py +- running: +source /cvmfs/cms.cern.ch/crab3/crab.csh +source /cvmfs/cms.cern.ch/crab3/crab_standalone.csh +setenv SCRAM_ARCH slc7_amd64_gcc900 +cmsenv + +crab submit -c crab_NZS2018C_1(2...).py + +to check(kill) use: +crab status +crab status -d ./crab_20200212_101405 +crab tasks +crab tasks --days +crab kill -d ./crab_20200212_101405 + +III. visulization on GlobalPSM sajt +================================== +-- (using script cp_runs_fromeos_into_longruns.sh ) + - merge pices of root files into one big run-root file: + + ./cp_runs_fromeos_into_longruns.sh runlist_runA /afs/cern.ch/work/z/zhokin/hcal/qq7/CMSSW_12_2_0_pre2/src/DPGAnalysis/HcalTools/scripts/psm/longruns + ./cp_runs_fromeos_into_longruns.sh runlist_runB /afs/cern.ch/work/z/zhokin/hcal/qq7/CMSSW_12_2_0_pre2/src/DPGAnalysis/HcalTools/scripts/psm/longruns + ./cp_runs_fromeos_into_longruns.sh runlist_runC /afs/cern.ch/work/z/zhokin/hcal/qq7/CMSSW_12_2_0_pre2/src/DPGAnalysis/HcalTools/scripts/psm/longruns + (input dir is /eos/cms/store/user/zhokin/PSM/HcalNZS/2018 ; + see: ll /eos/cms/store/user/zhokin/PSM/HcalNZS/ ) + +-- for each run, put root files into dir./eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/GlobalPSM/histos : + cp /afs/cern.ch/work/z/zhokin/hcal/qq7/CMSSW_12_2_0_pre2/src/DPGAnalysis/HcalTools/scripts/psm/longruns/* /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/GlobalPSM/histos/. + +-- fill table on GlobalPSM sajt: add new runs +https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalPSM + - correct file index_toAddOnlyNewRuns_EOS.sh for "dasgoclient.. dataset=..." and "k=" + and then use scripts: +./index_toAddOnlyNewRuns_EOS.sh runlist_runA +./index_toAddOnlyNewRuns_EOS.sh runlist_runB +./index_toAddOnlyNewRuns_EOS.sh runlist_runC +./index_toAddOnlyNewRuns_EOS.sh runlist_runD + +At that, check index_draft.html and if everything is ok, copy it: +cp index_draft.html /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/GlobalPSM/index.html + +-- to visualize PSM-plots for each new run, use script: +./GlobalPSM_EOS.sh runlist_all +(during this running, for each run, new dirs like GLOBAL_runnumber +will be created in dir. +/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/GlobalPSM ) + +IV. use of AMT scripts +===================== +-- use macro zGlobalamtTimeDependenciesPhiSymmetryHE.cc + in dir + cd /afs/cern.ch/work/z/zhokin/hcal/qq7/CMSSW_12_2_0_pre2/src/DPGAnalysis/HcalTools/macros/amt + - create dirs. +zamtPhiSymmetryHElin +zamtPhiSymmetryHElog + + - ./compile.csh zGlobalamtTimeDependenciesPhiSymmetryHE.cc + - ./zGlobalamtTimeDependenciesPhiSymmetryHE.cc.exe + +cd zamtPhiSymmetryHElog +gnome-open *.png + +-- visualization: + - correct files in dir: +/eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/AMT/index.html +and mainly here: +/afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/AMTweb + + -see site: + +https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/AMT + +https://cms-cpt-software.web.cern.ch/cms-cpt-software/General/Validation/SVSuite/HcalRemoteMonitoring/AMT/HE.html diff --git a/DPGAnalysis/HcalTools/scripts/psm/run_interactive.csh b/DPGAnalysis/HcalTools/scripts/psm/run_interactive.csh new file mode 100755 index 0000000000000..14ea7328eb71a --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/run_interactive.csh @@ -0,0 +1,45 @@ +#!/bin/csh +############################################################################### +############### +# to create dir. with py files, use: ./mkcfg_new120.csh runlist_run +# and then, if PYTHON_runlist_run exist, and there NN py-files, use: +# ./run_interactive.csh runlist_run 1 NN +# from main dir. +# razbivaya po ~ 15 jobs per PC, 1-15, 15-30, ... NN +#set nn1=1 +#set nn2=3 +set nn1=${2} +set nn2=${3} +#set nn1=38 +#set nn2=40 +echo ${nn1} ${nn2} +echo "Start..." +############### +#./mkcfg_new120.csh ${1} +#ls PYTHON_${1}/*py +############### +################################################################ loop: +set nn=0 +if( ${status} == "0" ) then +foreach i (`ls PYTHON_${1}`) + +set j=`echo ${i} | awk -F _ '{print $2}'` +set k=`echo ${i} | awk -F _ '{print $3}'` + + +@ nn = ${nn} + "1" +#echo ${i} ${j} ${k} ${1} ${nn} +#echo ${k} ${nn} + +if( ${nn} >= ${nn1} && ${nn} <= ${nn2} ) then +#if( ${k} >= ${nn1} && ${k} <= ${nn2} ) then +echo ${nn} ${k} +cmsRun PYTHON_${1}/Reco_${j}_${k}_cfg.py > CMTLOG/log_${j}_${k} & +endif + +################################################################ +end +else +##echo "Problem: No jobs are created: check PYTHON_${1} directory: Notify developpers" +endif + diff --git a/DPGAnalysis/HcalTools/scripts/psm/rundate.sh b/DPGAnalysis/HcalTools/scripts/psm/rundate.sh new file mode 100755 index 0000000000000..f37f54701fb1e --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/rundate.sh @@ -0,0 +1,129 @@ +#!/bin/bash + +rm index_selection.html + +echo "11111111111111" +runList=`cat ${1}` +#echo "${runList}" + +echo "22222222222" + +# Check the runList and correct the correctables +# Replace ',' and ';' by empty spaces +runList=`echo "${runList}" | sed 'sk,k\ kg' | sed 'sk;k\ kg'` +ok=1 +for r in ${runList} ; do + if [ ! ${#r} -eq 6 ] ; then + echo "run numbers are expected to be of length 6. Check <$r>" + ok=0 + fi + debug_loc=0 + if [ "$r" -eq "$r" ] 2>/dev/null ; then + if [ ${debug_loc} -eq 1 ] ; then echo "run variable <$r> is a number (ok)"; fi + else + echo "error: run variable <$r> is not an integer number" + ok=0 + fi +done +echo "333" + +#echo "Tested `wc -w <<< "${runList}"` runs from file ${fileName}" +if [ ${ok} -eq 0 ] ; then + echo "errors in the file ${fileName} with run numbers" + exit 3 +else + if [ ${#fileName} -gt 0 ] ; then + echo "run numbers in ${fileName} verified ok" + fi +fi +echo "444" +echo "555" + +#echo 'Numbers of NEW runs for processing' +#echo "${runList}" +#echo -e "runList complete\n" + +#processing skipped +echo "6" + + +# # # # # # # # # # # # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ### # # ##### + +#echo -e '\n\nRun numbers:' +runListEOS=`echo $runList | tee _runlist_` + +echo "7" + + +#echo "${runListEOS}" +#echo -e "Full runList for EOS complete\n" + + + +echo "8" + + + + +######################################################################################################### +for i in ${runListEOS} ; do + +runnumber=${i} +#if [[ "$runnumber" > 243400 ]] ; then +#dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=${i} | grep file.size, file.nevents, file.modification_time " > tmp +#dasgoclient --query="file dataset=/HcalNZS/Run2018B-v1/RAW run=${i} | grep file.size, file.nevents, file.modification_time " > tmp +#dasgoclient --query="file dataset=/HcalNZS/Run2018C-v1/RAW run=${i} | grep file.size, file.nevents, file.modification_time " > tmp +# +#dasgoclient --query="file dataset=/HcalNZS/Run2018D-v1/RAW run=${i} | grep file.size, file.nevents, file.modification_time " > tmp +# +echo "runnumber:" +dasgoclient --query="file dataset=/HcalNZS/Commissioning2021-HcalCalMinBias-PromptReco-v1/ALCARECO run=${i} | grep file.size, file.nevents, file.modification_time " > tmp + +echo "${runnumber}" + + +# +#dasgoclient --query="file dataset=/HcalNZS/Run2018E-v1/RAW run=${i} | grep file.size, file.nevents, file.modification_time " > tmp +#dasgoclient --query="run dataset=/HIHcalNZS/HIRun2018A-v1/RAW run=${i} | grep file.size, file.nevents, file.modification_time " > tmp +timetmp=`cat tmp | awk '{print $3}'` +############################################################################################################ +type='NZS' +timetmp2=`date -d @${timetmp} +%Y-%m-%d:%H-%M-%S` +sizetmp=`cat tmp | awk '{print $1}'` +neventstmp=`cat tmp | awk '{print $2}'` +commentariy='Com21-ALCARECO' +##cat runs_info +#echo 'RUN Type = '$type +#echo ${sizetmp} ${neventstmp} ${timetmp2} +#echo 'RUN Comment = '$commentariy +# +# +# +#adding entry to list of file index_selection.html +let "raw = (k % 2) + 2" +echo ''>> index_selection.html +echo ''$k''>> index_selection.html +echo ''$runnumber''>> index_selection.html +echo ''$type''>> index_selection.html +echo ''$timetmp2''>> index_selection.html +echo ''$sizetmp''>> index_selection.html +echo ''$neventstmp''>> index_selection.html +echo ''$commentariy''>> index_selection.html + +done + +echo "9" + +mv index_selection.html index_selectionNZS_ALCARECO.html +#mv index_selection.html index_selectionA.html +#mv index_selection.html index_selectionB.html +#mv index_selection.html index_selectionC.html +#mv index_selection.html index_selectionD.html +#mv index_selection.html index_selectionE.html +#mv index_selection.html index_selectionHI.html +############################################################################################################ +rm tmp +rm \_runlist\_ + + +echo " done" diff --git a/DPGAnalysis/HcalTools/scripts/psm/runlist_1 b/DPGAnalysis/HcalTools/scripts/psm/runlist_1 new file mode 100644 index 0000000000000..63f244ffb5631 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/runlist_1 @@ -0,0 +1,5 @@ +346235 346236 346237 346238 346246 346247 346300 346301 346302 346304 +346306 346307 346373 346380 346383 346384 346386 346387 346388 346389 +346394 346395 346396 346398 346445 346446 346447 346448 346449 346450 +346452 346453 346455 346483 346486 346488 346490 346494 346508 346509 +346511 346512 \ No newline at end of file diff --git a/DPGAnalysis/HcalTools/scripts/psm/runlist_1ALCARECO b/DPGAnalysis/HcalTools/scripts/psm/runlist_1ALCARECO new file mode 100644 index 0000000000000..63f244ffb5631 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/runlist_1ALCARECO @@ -0,0 +1,5 @@ +346235 346236 346237 346238 346246 346247 346300 346301 346302 346304 +346306 346307 346373 346380 346383 346384 346386 346387 346388 346389 +346394 346395 346396 346398 346445 346446 346447 346448 346449 346450 +346452 346453 346455 346483 346486 346488 346490 346494 346508 346509 +346511 346512 \ No newline at end of file diff --git a/DPGAnalysis/HcalTools/scripts/psm/runlist_1IMPSM b/DPGAnalysis/HcalTools/scripts/psm/runlist_1IMPSM new file mode 100644 index 0000000000000..63f244ffb5631 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/runlist_1IMPSM @@ -0,0 +1,5 @@ +346235 346236 346237 346238 346246 346247 346300 346301 346302 346304 +346306 346307 346373 346380 346383 346384 346386 346387 346388 346389 +346394 346395 346396 346398 346445 346446 346447 346448 346449 346450 +346452 346453 346455 346483 346486 346488 346490 346494 346508 346509 +346511 346512 \ No newline at end of file diff --git a/DPGAnalysis/HcalTools/scripts/psm/runlist_2 b/DPGAnalysis/HcalTools/scripts/psm/runlist_2 new file mode 100644 index 0000000000000..472cbc22c7b66 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/runlist_2 @@ -0,0 +1 @@ +346511 \ No newline at end of file diff --git a/DPGAnalysis/HcalTools/scripts/psm/runlist_2021 b/DPGAnalysis/HcalTools/scripts/psm/runlist_2021 new file mode 100644 index 0000000000000..1129ce8fb0088 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/runlist_2021 @@ -0,0 +1,6 @@ +346235 346236 346237 346238 346246 346247 346299 346300 346301 346302 +346304 346305 346306 346307 346373 346374 346375 346377 346378 346379 +346380 346381 346382 346383 346384 346385 346386 346387 346388 346389 +346394 346395 346396 346398 346445 346446 346447 346448 346449 346450 +346452 346453 346455 346483 346486 346488 346490 346494 346506 346507 +346508 346509 346510 346511 346512 diff --git a/DPGAnalysis/HcalTools/scripts/psm/runlist_2ALCARECO b/DPGAnalysis/HcalTools/scripts/psm/runlist_2ALCARECO new file mode 100644 index 0000000000000..472cbc22c7b66 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/runlist_2ALCARECO @@ -0,0 +1 @@ +346511 \ No newline at end of file diff --git a/DPGAnalysis/HcalTools/scripts/psm/runlist_2IMPSM b/DPGAnalysis/HcalTools/scripts/psm/runlist_2IMPSM new file mode 100644 index 0000000000000..472cbc22c7b66 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/runlist_2IMPSM @@ -0,0 +1 @@ +346511 \ No newline at end of file diff --git a/DPGAnalysis/HcalTools/scripts/psm/runlist_3 b/DPGAnalysis/HcalTools/scripts/psm/runlist_3 new file mode 100644 index 0000000000000..75fe6f57b64a3 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/runlist_3 @@ -0,0 +1 @@ +346300 \ No newline at end of file diff --git a/DPGAnalysis/HcalTools/scripts/psm/runlist_all b/DPGAnalysis/HcalTools/scripts/psm/runlist_all new file mode 100644 index 0000000000000..9dc8c5e9a1e6a --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/runlist_all @@ -0,0 +1,16 @@ +316700 316876 317080 317182 317279 317297 317340 317383 317392 317488 +317527 317591 317626 317649 317663 317696 318828 318877 319077 319337 +319347 319449 319486 319528 319625 319678 319756 319853 319910 319950 +319991 320011 320038 320064 + + + + + + + + + + + + diff --git a/DPGAnalysis/HcalTools/scripts/psm/runlist_run b/DPGAnalysis/HcalTools/scripts/psm/runlist_run new file mode 100644 index 0000000000000..cef1892221120 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/runlist_run @@ -0,0 +1 @@ +346511 diff --git a/DPGAnalysis/HcalTools/scripts/psm/runlist_runC b/DPGAnalysis/HcalTools/scripts/psm/runlist_runC new file mode 100644 index 0000000000000..5756c47dd45b3 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/runlist_runC @@ -0,0 +1,19 @@ +319337 319347 319449 319486 319528 319625 319678 319756 319853 319910 +319950 319991 320011 320038 320064 + + + + + + + + + + + + + + + + + diff --git a/DPGAnalysis/HcalTools/scripts/psm/runlist_testC b/DPGAnalysis/HcalTools/scripts/psm/runlist_testC new file mode 100644 index 0000000000000..96807638a3d69 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/runlist_testC @@ -0,0 +1,18 @@ +319337 319347 + + + + + + + + + + + + + + + + + diff --git a/DPGAnalysis/HcalTools/scripts/psm/runtime_runC b/DPGAnalysis/HcalTools/scripts/psm/runtime_runC new file mode 100644 index 0000000000000..245f9cba74e60 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/runtime_runC @@ -0,0 +1,39 @@ + +319337 319347 319449 319486 319528 319625 319678 319756 319853 319910 +319950 319991 320011 320038 320064 + +319337 2018-07-08 +319347 2018-07-09 +319449 2018-07-10 +319486 2018-07-12 +319528 2018-07-13 +319625 2018-07-15 +319678 2018-07-16 +319756 2018-07-17 +319853 2018-07-18 +319910 2018-07-19 +319950 2018-07-20 +319991 2018-07-21 +320011 2018-07-22 +320038 2018-07-23 +320064 2018-07-24 + + + +{"315257": [[1, 88], [91, 92]], "315259": [[1, 172]], "315264": [[32, 261]], "315265": [[4, 58]], "315267": [[1, 244]], "315270": [[1, 633]], "315322": [[23, 118], [122, 1354]], "315339": [[37, 654]], "315357": [[44, 732], [736, 770], [780, 831]], "315361": [[40, 619]], "315363": [[1, 35], [37, 47], [49, 67], [69, 80], [82, 90]], "315366": [[10, 61], [67, 750]], "315420": [[28, 920], [924, 942], [954, 1748]], "315488": [[42, 843]], "315489": [[1, 653], [672, 709]], "315490": [[1, 24]], "315506": [[13, 100]], "315510": [[1, 345]], "315512": [[1, 1122]], "315543": [[55, 171]], "315555": [[22, 97]], "315556": [[1, 26]], "315557": [[1, 279]], "315640": [[46, 87]], "315641": [[1, 4]], "315642": [[1, 92]], "315644": [[1, 184]], "315645": [[1, 40], [47, 390], [395, 565], [567, 594]], "315646": [[1, 1033]], "315647": [[1, 58]], "315648": [[1, 110]], "315689": [[24, 1127], [1180, 1186]], "315690": [[10, 654]], "315702": [[38, 113]], "315703": [[1, 545]], "315704": [[1, 61]], "315705": [[1, 700]], "315713": [[35, 359], [374, 385], [400, 1123]], "315721": [[33, 50], [56, 626]], "315741": [[34, 92]], "315764": [[37, 309]], "315770": [[39, 332]], "315784": [[29, 33], [40, 156], [158, 161]], "315785": [[1, 198], [201, 305]], "315786": [[1, 72]], "315790": [[1, 716], [718, 922]], "315800": [[41, 621]], "315801": [[1, 344]], "315840": [[33, 1154]], "315973": [[39, 240], [262, 914]], "315974": [[1, 71]], "316058": [[42, 405]], "316059": [[1, 321], [323, 567]], "316060": [[1, 935]], "316061": [[1, 23], [194, 206]], "316062": [[1, 4]], "316082": [[37, 407]], "316110": [[1, 210]], "316111": [[1, 48]], "316113": [[1, 64]], "316114": [[1, 777], [779, 1562]], "316153": [[1, 770]], "316186": [[38, 81]], "316187": [[1, 1091], [1093, 1100], [1207, 2077]], "316199": [[33, 1197]], "316200": [[1, 10]], "316201": [[1, 498]], "316202": [[1, 403]], "316216": [[25, 466]], "316217": [[1, 264]], "316218": [[1, 1008]], "316219": [[1, 283]], "316239": [[38, 626]], "316240": [[1, 1224]], "316241": [[1, 325]], "316271": [[36, 121]], "316361": [[22, 124], [126, 131], [133, 135], [137, 137], [139, 142], [144, 145], [147, 147], [149, 159], [161, 174], [176, 178], [180, 189], [191, 197], [199, 208], [210, 223]], "316362": [[1, 208], [210, 212], [214, 225], [227, 242], [244, 269], [271, 319], [332, 392], [394, 395], [397, 402], [404, 404], [406, 410], [412, 412], [414, 418], [420, 428], [430, 450]], "316363": [[1, 39], [41, 49]], "316377": [[19, 19], [21, 40]], "316378": [[1, 29]], "316379": [[1, 70]], "316380": [[1, 708], [714, 1213]], "316455": [[36, 71]], "316457": [[1, 1454]], "316469": [[17, 444]], "316470": [[1, 322]], "316472": [[76, 333]], "316505": [[44, 205], [207, 921], [923, 1364]], "316569": [[20, 703], [742, 1945]], "316590": [[17, 526]], "316613": [[49, 241]], "316615": [[1, 338]], "316666": [[1, 981]], "316667": [[1, 197]], "316700": [[46, 346], [388, 397]], "316701": [[1, 479]], "316702": [[1, 388]], "316715": [[33, 45]], "316716": [[1, 181]], "316717": [[1, 192]], "316718": [[1, 311]], "316719": [[1, 91], [100, 144]], "316720": [[1, 182]], "316721": [[1, 15]], "316722": [[1, 751]], "316723": [[1, 64]], "316758": [[11, 1609]], "316766": [[51, 1920], [1922, 2199]], "316876": [[34, 38], [40, 644]], "316877": [[1, 164], [171, 401]], "316879": [[1, 156]], "316928": [[40, 188]], "316985": [[33, 503]], "316993": [[44, 254]], "316994": [[1, 14]], "316995": [[1, 623]], "317080": [[41, 66]], "317087": [[43, 177], [213, 222], [257, 852]], "317089": [[1, 1003]], "317182": [[47, 63], [65, 1424]], "317212": [[36, 175]], "317213": [[1, 375]], "317279": [[43, 508]], "317291": [[34, 824]], "317292": [[1, 330]], "317297": [[1, 283], [347, 760]], "317319": [[44, 182]], "317320": [[1, 326], [333, 411], [413, 1827]], "317338": [[66, 107]], "317339": [[1, 163]], "317340": [[1, 418]], "317382": [[58, 128]], "317383": [[1, 58]], "317391": [[39, 46]], "317392": [[1, 1116], [1119, 1900]], "317435": [[1, 1397]], "317438": [[1, 68], [71, 309]], "317475": [[33, 89], [105, 115]], "317478": [[1, 23]], "317484": [[1, 448], [467, 514], [519, 545]], "317488": [[1, 844]], "317527": [[41, 1487]], "317591": [[43, 334]], "317626": [[40, 2045]], "317640": [[29, 829]], "317641": [[1, 1390]], "317648": [[45, 139]], "317649": [[1, 621]], "317650": [[1, 1304]], "317661": [[35, 1256]], "317663": [[1, 858]], "317683": [[83, 402]], "317696": [[38, 682]], "318828": [[54, 123]], "318872": [[16, 287]], "318874": [[1, 320]], "318876": [[1, 161]], "318877": [[1, 615]], "319077": [[52, 92]], "319337": [[48, 2240]], "319347": [[40, 690]], "319348": [[1, 37]], "319349": [[1, 148]], "319449": [[35, 559], [562, 734]], "319450": [[1, 287], [290, 683]], "319456": [[138, 346]], "319459": [[1, 78]], "319486": [[38, 103]], "319503": [[1, 317]], "319524": [[36, 1459]], "319526": [[1, 282]], "319528": [[1, 259]], "319579": [[41, 3168]], "319625": [[17, 206]], "319639": [[31, 1509]], "319656": [[51, 310]], "319657": [[1, 167]], "319658": [[1, 225]], "319659": [[1, 87]], "319678": [[36, 294]], "319687": [[46, 90]], "319697": [[47, 482], [490, 490]], "319698": [[1, 312]], "319756": [[44, 1966]], "319840": [[41, 388]], "319841": [[1, 167]], "319847": [[49, 51]], "319848": [[1, 53]], "319849": [[1, 492]], "319851": [[1, 4]], "319853": [[1, 40], [47, 262]], "319854": [[1, 225]], "319908": [[1, 40], [43, 53]], "319909": [[1, 7]], "319910": [[1, 983]], "319912": [[1, 59]], "319913": [[1, 56]], "319914": [[1, 32]], "319915": [[1, 416]], "319941": [[43, 298]], "319942": [[1, 50]], "319950": [[38, 205]], "319991": [[46, 882]], "319992": [[1, 264]], "319993": [[1, 955]], "320002": [[52, 192]], "320006": [[1, 34], [36, 341]], "320010": [[1, 330]], "320011": [[1, 302]], "320012": [[1, 99]], "320023": [[17, 292]], "320024": [[1, 410]], "320025": [[1, 113]], "320026": [[1, 204]], "320038": [[43, 663]], "320039": [[1, 30]], "320040": [[1, 737]], "320059": [[1, 105]], "320060": [[1, 42]], "320061": [[1, 49]], "320062": [[1, 21]], "320063": [[1, 64]], "320064": [[1, 200]], "320065": [[1, 920]], "320673": [[35, 901]], "320674": [[1, 599]], "320688": [[49, 531]], "320712": [[39, 242]], "320757": [[51, 382]], "320804": [[46, 1274]], "320807": [[1, 7]], "320809": [[1, 716]], "320821": [[41, 221]], "320822": [[1, 523]], "320823": [[1, 360]], "320824": [[1, 1051]], "320838": [[93, 357]], "320840": [[1, 471]], "320841": [[1, 205]], "320853": [[41, 369]], "320854": [[1, 125]], "320855": [[1, 565]], "320856": [[1, 159]], "320857": [[1, 272]], "320858": [[1, 230]], "320859": [[1, 40]], "320887": [[49, 321]], "320888": [[1, 26]], "320916": [[2, 25]], "320917": [[1, 1926]], "320920": [[1, 178]], "320933": [[40, 214]], "320934": [[1, 831]], "320936": [[1, 407]], "320941": [[1, 93]], "320980": [[44, 142]], "320995": [[26, 214]], "320996": [[1, 380]], "321004": [[39, 188]], "321005": [[1, 61]], "321006": [[1, 162]], "321007": [[1, 831]], "321009": [[1, 85]], "321010": [[1, 342]], "321011": [[1, 213]], "321012": [[1, 35], [190, 201]], "321051": [[58, 1179]], "321055": [[1, 302], [304, 326], [328, 340], [368, 759]], "321067": [[39, 225], [232, 639]], "321068": [[1, 715]], "321069": [[1, 313]], "321119": [[45, 214]], "321121": [[1, 47]], "321122": [[1, 395]], "321124": [[1, 819]], "321126": [[1, 493]], "321134": [[33, 70]], "321138": [[1, 741]], "321140": [[1, 798]], "321149": [[35, 1424], [1426, 1476], [1478, 1553], [1558, 1576], [1578, 1588], [1591, 1743]], "321165": [[1, 8]], "321166": [[1, 10]], "321167": [[1, 141], [143, 143], [145, 510], [512, 552], [554, 691], [693, 923]], "321177": [[38, 74], [77, 214], [216, 232], [234, 247], [249, 321], [323, 365], [367, 455]], "321178": [[5, 78]], "321218": [[49, 962]], "321219": [[1, 934]], "321221": [[1, 40]], "321230": [[41, 124]], "321231": [[1, 59]], "321232": [[1, 30]], "321233": [[1, 727]], "321262": [[1, 4]], "321283": [[48, 357]], "321294": [[1, 62]], "321295": [[1, 307], [309, 316], [318, 384], [390, 394], [396, 604], [606, 616], [619, 646], [649, 690], [693, 754]], "321296": [[1, 24], [34, 41], [44, 67]], "321305": [[20, 2600], [2605, 2651]], "321311": [[1, 10]], "321312": [[1, 768]], "321313": [[1, 408]], "321393": [[1, 127], [134, 148]], "321396": [[1, 1475]], "321397": [[1, 365]], "321414": [[31, 1283]], "321415": [[1, 804]], "321431": [[30, 189]], "321432": [[1, 47]], "321433": [[1, 125]], "321434": [[1, 642]], "321436": [[1, 710]], "321457": [[43, 451], [453, 1888]], "321461": [[1, 149]], "321475": [[50, 518], [526, 2084]], "321710": [[1, 57]], "321712": [[1, 2], [16, 54], [57, 115], [117, 263]], "321730": [[2, 257], [259, 291]], "321732": [[1, 127], [129, 181], [185, 189], [192, 245], [248, 252], [254, 373], [375, 381], [386, 386], [389, 392], [395, 424], [426, 432], [434, 448], [450, 452], [454, 459], [467, 586], [589, 680], [682, 686], [689, 903], [905, 973], [975, 1448]], "321735": [[1, 146]], "321755": [[33, 361], [363, 470], [472, 473], [475, 487], [489, 729]], "321758": [[1, 47], [49, 75], [77, 121], [128, 130], [146, 148], [151, 155], [161, 165], [168, 189]], "321760": [[1, 171], [175, 205], [207, 238], [240, 258], [260, 420], [422, 520], [526, 586], [588, 593], [598, 602], [604, 607], [613, 716], [719, 721], [727, 788], [794, 818], [822, 824], [828, 830], [834, 836], [840, 841], [845, 855]], "321773": [[11, 14], [25, 35], [39, 52], [54, 79]], "321774": [[1, 12], [14, 52], [54, 119]], "321775": [[1, 12], [14, 14]], "321776": [[1, 12], [15, 19], [30, 45]], "321777": [[1, 81], [83, 169], [174, 176], [192, 207]], "321778": [[8, 150]], "321780": [[1, 332], [336, 338], [342, 346], [351, 357], [359, 360], [362, 371], [374, 383], [392, 412], [414, 420], [422, 493], [496, 499], [502, 503], [505, 508], [517, 518]], "321781": [[6, 37], [53, 56], [58, 66], [69, 69], [77, 180], [186, 209], [212, 265], [269, 274], [276, 290], [293, 312], [316, 410], [412, 427]], "321813": [[32, 352]], "321815": [[1, 23]], "321817": [[1, 536]], "321818": [[1, 690]], "321820": [[1, 214]], "321831": [[25, 781]], "321832": [[1, 389], [403, 510]], "321833": [[1, 407]], "321834": [[1, 333]], "321879": [[39, 47], [50, 52], [55, 68], [71, 73], [77, 89], [93, 95], [99, 111], [114, 116], [120, 132], [136, 138], [141, 154], [157, 159], [163, 175], [178, 181], [185, 197], [200, 202], [207, 218], [222, 356]], "321880": [[1, 41], [44, 132]], "321887": [[54, 948]], "321908": [[43, 472]], "321909": [[1, 208], [210, 1654]], "321917": [[4, 156], [164, 808]], "321919": [[1, 6]], "321933": [[43, 232], [235, 326]], "321960": [[18, 47]], "321961": [[1, 354]], "321973": [[37, 746], [748, 968], [972, 1253]], "321975": [[1, 866]], "321988": [[45, 996], [1106, 1486]], "321990": [[1, 471]], "322013": [[14, 22]], "322014": [[1, 17]], "322022": [[42, 185], [201, 1805]], "322040": [[32, 70]], "322057": [[38, 58]], "322068": [[51, 724]], "322079": [[39, 200], [216, 393], [409, 428]], "322106": [[48, 871]], "322113": [[48, 159]], "322118": [[1, 516], [530, 874]], "322179": [[43, 820], [823, 1783]], "322201": [[39, 266]], "322204": [[1, 280], [282, 301], [303, 331], [337, 1143]], "322222": [[1, 526]], "322252": [[42, 1586]], "322317": [[48, 101]], "322319": [[1, 163]], "322322": [[1, 170], [267, 1205]], "322324": [[1, 416]], "322332": [[37, 1055]], "322348": [[40, 1505]], "322355": [[36, 137]], "322356": [[1, 779]], "322381": [[45, 577]], "322407": [[46, 582]], "322430": [[46, 501]], "322431": [[59, 1166]], "322480": [[60, 408]], "322492": [[1, 1386]], "322510": [[37, 45]], "322599": [[43, 294]], "322602": [[1, 69], [72, 72]], "322603": [[1, 10]], "322605": [[1, 280]], "322617": [[1, 601]], "322625": [[41, 484], [492, 1167]], "322633": [[1, 249]], "323414": [[1, 46]], "323423": [[1, 136]], "323470": [[38, 172], [176, 218], [223, 266]], "323471": [[1, 238]], "323472": [[1, 64]], "323473": [[1, 227]], "323474": [[1, 355]], "323475": [[1, 77]], "323487": [[42, 177], [184, 498]], "323488": [[1, 514], [555, 734], [738, 793]], "323492": [[1, 33]], "323493": [[1, 144]], "323495": [[1, 187]], "323524": [[25, 561]], "323525": [[1, 91], [97, 1126]], "323526": [[1, 248], [253, 466]], "323693": [[38, 151]], "323696": [[1, 257]], "323702": [[1, 808]], "323725": [[18, 346]], "323726": [[1, 60]], "323727": [[1, 83], [88, 677], [682, 813], [819, 822], [826, 987]], "323755": [[27, 815], [818, 823], [826, 826], [828, 830], [833, 861], [864, 964]], "323775": [[38, 81], [84, 171]], "323778": [[1, 934]], "323790": [[45, 948]], "323794": [[1, 68]], "323841": [[46, 510]], "323857": [[1, 357]], "323940": [[49, 1567]], "323954": [[1, 77]], "323976": [[31, 85]], "323978": [[1, 73]], "323980": [[1, 202]], "323983": [[1, 188]], "323997": [[1, 498]], "324021": [[44, 819]], "324022": [[1, 554]], "324077": [[54, 710], [712, 753]], "324201": [[20, 834], [837, 1385]], "324202": [[1, 240]], "324205": [[1, 163]], "324206": [[1, 149]], "324207": [[1, 34]], "324209": [[1, 142]], "324237": [[33, 236]], "324245": [[23, 1681]], "324293": [[39, 1440], [1442, 2176], [2178, 2342]], "324315": [[1, 200], [203, 204]], "324318": [[1, 332]], "324420": [[1, 625]], "324729": [[1, 193]], "324747": [[63, 1139]], "324764": [[1, 150]], "324765": [[1, 481]], "324769": [[1, 328]], "324772": [[1, 165]], "324785": [[77, 664]], "324791": [[1, 1217]], "324835": [[40, 230], [302, 369]], "324840": [[1, 96]], "324841": [[1, 1347]], "324846": [[1, 151], [154, 517]], "324878": [[62, 111], [113, 175], [180, 1800]], "324897": [[30, 170]], "324970": [[1, 425], [428, 598], [606, 632], [634, 1529], [1532, 2195]], "324980": [[39, 917], [919, 954], [956, 968], [1005, 1042], [1044, 2340]], "324997": [[29, 150]], "324998": [[1, 368]], "324999": [[1, 14]], "325000": [[1, 371]], "325001": [[1, 105], [108, 171], [173, 595]], "325022": [[45, 1594]], "325057": [[42, 383]], "325097": [[40, 96]], "325098": [[1, 8]], "325099": [[1, 394]], "325100": [[1, 254]], "325101": [[1, 462], [464, 485]], "325110": [[1, 21]], "325117": [[1, 533]], "325159": [[48, 266]], "325168": [[1, 21]], "325169": [[1, 23]], "325170": [[1, 692], [694, 1205]], "325172": [[1, 267], [269, 485]]} + + + + + + + + + + + + + + + + diff --git a/DPGAnalysis/HcalTools/scripts/psm/test.csh b/DPGAnalysis/HcalTools/scripts/psm/test.csh new file mode 100755 index 0000000000000..3ab8e720a2c13 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/test.csh @@ -0,0 +1,91 @@ +#!/bin/tcsh + +set time=`dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep file.name, file.size, file.date" | awk '{print $3}' | awk -F , '{for ( k=1 ; k <= NF ; k++ ) {print $k"\n"}}' | grep last_modification_date | awk -F : '{print $2}'` + +set nevents=`dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep file.name, file.size, file.date" | awk '{print $3}' | awk -F , '{for ( k=1 ; k <= NF ; k++ ) {print $k"\n"}}' | grep nevents | awk -F : '{print $2}'` + +set size=`dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep file.name, file.size, file.date" | awk '{print $3}' | awk -F , '{for ( k=1 ; k <= NF ; k++ ) {print $k"\n"}}' | grep size | awk -F : '{print $2}'` + +set time1=`date -d @${time}` + +set time2=`date -d @${time} +%Y-%m-%d:%H-%M-%S` + + +echo ${time} ${nevents} + +echo ${time1} + +echo ${time2} + +echo ${time} ${nevents} ${size} + +dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep file.size, file.nevents, file.modification_time " > tmp + + echo "111" +cat tmp +set sizetmp=`cat tmp | awk '{print $1}'` +set neventstmp=`cat tmp | awk '{print $2}'` +set timetmp=`cat tmp | awk '{print $3}'` +set timetmp2=`date -d @${timetmp} +%Y-%m-%d:%H-%M-%S` + echo "final:run=316636" +echo ${sizetmp} ${neventstmp} ${timetmp2} + echo "222" +set nls=`dasgoclient --query="summary dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep summary.nfiles, summary.nlumis, summary.nevents" | awk '{print $3}' | awk -F , '{for ( k=1 ; k <= NF ; k++ ) {print $k"\n"}}' | grep nlumis | awk -F : '{print $2}'` + + + echo "start:run=316700" +dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316700 | grep file.size, file.nevents, file.modification_time " > tmp +cat tmp + echo "333" +set sizetmp=`cat tmp | awk '{print $1}'` +sizetmp=`echo "${sizetmp}" | sed 'sk,k\ kg' | sed 'sk;k\ kg'` +set neventstmp=`cat tmp | awk '{print $2}'` +neventstmp=`echo "${neventstmp}" | sed 'sk,k\ kg' | sed 'sk;k\ kg'` +set timetmp=`cat tmp | awk '{print $3}'` +timetmp=`echo "${timetmp}" | sed 'sk,k\ kg' | sed 'sk;k\ kg'` + echo "444" +set timetmp2=`date -d @${timetmp} +%Y-%m-%d:%H-%M-%S` + echo "final:run=316700" +echo ${sizetmp} ${neventstmp} ${timetmp2} +#echo ${sizetmp} ${neventstmp} + + echo "555" +#set nls=`dasgoclient --query="summary dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep summary.nfiles, summary.nlumis, summary.nevents" | awk '{print $3}' | awk -F , '{for ( k=1 ; k <= NF ; k++ ) {print $k"\n"}}' | grep nlumis | awk -F : '{print $2}'` +#echo ${nls} + +# echo "for starting:" +#runList=`cat ${sizetmp}` +#for i in ${runList} ; do +#sizetmp=`echo "${sizetmp}" | sed 'sk,k\ kg' | sed 'sk;k\ kg'` +#for i in ${runList} ; do +#NRUN=$i +#echo $NRUN +#done + + + echo "final END" + + + + + + + + + + + + +#dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep file.size, file.nevents, file.modification_time" +#6991615 63 1527727485 + + +#dasgoclient --query="summary dataset=/HcalNZS/Run2018A-v1/RAW run=316636 |grep summary.nlumis, summary.nevents" +#19 63 + +#date -d @1527727485 +#Thu May 31 02:44:45 CEST 2018 + +#date -d @1527727485 +%Y-%m-%d:%H-%M-%S +#2018-05-31:02-44-45 + diff --git a/DPGAnalysis/HcalTools/scripts/psm/test.sh b/DPGAnalysis/HcalTools/scripts/psm/test.sh new file mode 100755 index 0000000000000..e8c320575a144 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/test.sh @@ -0,0 +1,109 @@ +#!/bin/tcsh +#!/bin/bash + +set time=`dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep file.name, file.size, file.date" | awk '{print $3}' | awk -F , '{for ( k=1 ; k <= NF ; k++ ) {print $k"\n"}}' | grep last_modification_date | awk -F : '{print $2}'` + +set nevents=`dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep file.name, file.size, file.date" | awk '{print $3}' | awk -F , '{for ( k=1 ; k <= NF ; k++ ) {print $k"\n"}}' | grep nevents | awk -F : '{print $2}'` + +set size=`dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep file.name, file.size, file.date" | awk '{print $3}' | awk -F , '{for ( k=1 ; k <= NF ; k++ ) {print $k"\n"}}' | grep size | awk -F : '{print $2}'` + +set time1=`date -d @${time}` + +set time2=`date -d @${time} +%Y-%m-%d:%H-%M-%S` + + +echo ${time} ${nevents} + +echo ${time1} + +echo ${time2} + +echo ${time} ${nevents} ${size} + +dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep file.size, file.nevents, file.modification_time " > tmp + + echo "111" +cat tmp +set sizetmp=`cat tmp | awk '{print $1}'` +set neventstmp=`cat tmp | awk '{print $2}'` +set timetmp=`cat tmp | awk '{print $3}'` +set timetmp2=`date -d @${timetmp} +%Y-%m-%d:%H-%M-%S` + echo "final:run=316636" +echo ${sizetmp} ${neventstmp} ${timetmp2} + echo "222" +set nls=`dasgoclient --query="summary dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep summary.nfiles, summary.nlumis, summary.nevents" | awk '{print $3}' | awk -F , '{for ( k=1 ; k <= NF ; k++ ) {print $k"\n"}}' | grep nlumis | awk -F : '{print $2}'` + + + echo "start:run=316700" + + +set time=`dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316700 | grep file.name, file.size, file.date" | awk '{print $3}' | awk -F , '{for ( k=1 ; k <= NF ; k++ ) {print $k"\n"}}' | grep last_modification_date | awk -F : '{print $2}'` + + +set nevents=`dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316700 | grep file.name, file.size, file.date" | awk '{print $3}' | awk -F , '{for ( k=1 ; k <= NF ; k++ ) {print $k"\n"}}' | grep nevents | awk -F : '{print $2}'` + +echo ${time} ${nevents} + + + + + echo "222222222222222222222222222222222222 start:run=316700" + + + + +dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316700 | grep file.size, file.nevents, file.modification_time " > tmp +cat tmp | head -n 1 + echo "333" +set sizetmp=`cat tmp | head -n 1 | awk '{print $1}'` + + echo "444" +set neventstmp=`cat tmp | head -n 1 | awk '{print $2}'` + + echo "555" +set timetmp=`cat tmp | head -n 1 | awk '{print $3}'` + + + echo "666" +set timetmp2=`date -d @${timetmp} +%Y-%m-%d:%H-%M-%S` + echo "final:run=316700" +echo ${sizetmp} ${neventstmp} ${timetmp2} +#echo ${sizetmp} ${neventstmp} + + echo "777" +#set nls=`dasgoclient --query="summary dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep summary.nfiles, summary.nlumis, summary.nevents" | awk '{print $3}' | awk -F , '{for ( k=1 ; k <= NF ; k++ ) {print $k"\n"}}' | grep nlumis | awk -F : '{print $2}'` +#echo ${nls} + +# echo "for starting:" +#for i in `cat tmp`; do +#NRUN=$i +#echo $NRUN +#done + + + echo "final END" + + + + + + + + + + + + +#dasgoclient --query="file dataset=/HcalNZS/Run2018A-v1/RAW run=316636 | grep file.size, file.nevents, file.modification_time" +#6991615 63 1527727485 + + +#dasgoclient --query="summary dataset=/HcalNZS/Run2018A-v1/RAW run=316636 |grep summary.nlumis, summary.nevents" +#19 63 + +#date -d @1527727485 +#Thu May 31 02:44:45 CEST 2018 + +#date -d @1527727485 +%Y-%m-%d:%H-%M-%S +#2018-05-31:02-44-45 + diff --git a/DPGAnalysis/HcalTools/scripts/psm/ztmpC b/DPGAnalysis/HcalTools/scripts/psm/ztmpC new file mode 100644 index 0000000000000..575423823ea56 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/ztmpC @@ -0,0 +1 @@ + done diff --git a/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB0_ALCARECO b/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB0_ALCARECO new file mode 100644 index 0000000000000..7caa8b2c23826 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB0_ALCARECO @@ -0,0 +1,55 @@ +346235 +346236 +346237 +346238 +346246 +346247 +346298 +346299 +346300 +346301 +346302 +346304 +346305 +346306 +346307 +346338 +346373 +346374 +346375 +346378 +346379 +346380 +346386 +346388 +346389 +346394 +346395 +346396 +346398 +346443 +346445 +346446 +346447 +346448 +346449 +346450 +346452 +346453 +346455 +346483 +346484 +346485 +346486 +346487 +346488 +346490 +346494 +346506 +346507 +346508 +346509 +346510 +346511 +346512 +346936 diff --git a/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB1_ALCARECO b/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB1_ALCARECO new file mode 100644 index 0000000000000..8ac444522b4eb --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB1_ALCARECO @@ -0,0 +1,54 @@ +346235 +346236 +346237 +346238 +346246 +346247 +346298 +346299 +346300 +346301 +346302 +346304 +346305 +346306 +346307 +346338 +346373 +346374 +346375 +346377 +346379 +346383 +346384 +346387 +346394 +346395 +346396 +346398 +346443 +346445 +346446 +346447 +346448 +346449 +346450 +346452 +346453 +346455 +346483 +346484 +346485 +346486 +346487 +346488 +346490 +346494 +346506 +346507 +346508 +346509 +346510 +346511 +346512 +346936 diff --git a/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB2_ALCARECO b/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB2_ALCARECO new file mode 100644 index 0000000000000..61d1e760fc55b --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB2_ALCARECO @@ -0,0 +1,57 @@ +346235 +346236 +346237 +346238 +346246 +346247 +346298 +346299 +346300 +346301 +346302 +346304 +346305 +346306 +346307 +346338 +346373 +346374 +346375 +346377 +346378 +346379 +346381 +346383 +346384 +346386 +346388 +346394 +346395 +346396 +346398 +346443 +346445 +346446 +346447 +346448 +346449 +346450 +346452 +346453 +346455 +346483 +346484 +346485 +346486 +346487 +346488 +346490 +346494 +346506 +346507 +346508 +346509 +346510 +346511 +346512 +346936 diff --git a/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB_ALCARECO b/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB_ALCARECO new file mode 100644 index 0000000000000..170bfec58d131 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalMB_ALCARECO @@ -0,0 +1,119 @@ +346235 +346236 +346237 +346238 +346246 +346247 +346254 +346261 +346271 +346272 +346275 +346283 +346284 +346286 +346287 +346288 +346295 +346298 +346299 +346300 +346301 +346302 +346304 +346305 +346306 +346307 +346309 +346314 +346316 +346322 +346323 +346325 +346326 +346331 +346334 +346338 +346340 +346352 +346356 +346360 +346363 +346365 +346366 +346368 +346373 +346374 +346375 +346377 +346378 +346379 +346380 +346381 +346382 +346383 +346384 +346385 +346386 +346387 +346388 +346389 +346390 +346394 +346395 +346396 +346398 +346403 +346404 +346406 +346408 +346412 +346416 +346420 +346422 +346429 +346431 +346432 +346433 +346434 +346437 +346438 +346441 +346442 +346443 +346445 +346446 +346447 +346448 +346449 +346450 +346452 +346453 +346455 +346461 +346477 +346478 +346480 +346483 +346484 +346485 +346486 +346487 +346488 +346489 +346490 +346491 +346494 +346495 +346496 +346497 +346501 +346503 +346505 +346506 +346507 +346508 +346509 +346510 +346511 +346512 diff --git a/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalNZS_ALCARECO b/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalNZS_ALCARECO new file mode 100644 index 0000000000000..170bfec58d131 --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalNZS_ALCARECO @@ -0,0 +1,119 @@ +346235 +346236 +346237 +346238 +346246 +346247 +346254 +346261 +346271 +346272 +346275 +346283 +346284 +346286 +346287 +346288 +346295 +346298 +346299 +346300 +346301 +346302 +346304 +346305 +346306 +346307 +346309 +346314 +346316 +346322 +346323 +346325 +346326 +346331 +346334 +346338 +346340 +346352 +346356 +346360 +346363 +346365 +346366 +346368 +346373 +346374 +346375 +346377 +346378 +346379 +346380 +346381 +346382 +346383 +346384 +346385 +346386 +346387 +346388 +346389 +346390 +346394 +346395 +346396 +346398 +346403 +346404 +346406 +346408 +346412 +346416 +346420 +346422 +346429 +346431 +346432 +346433 +346434 +346437 +346438 +346441 +346442 +346443 +346445 +346446 +346447 +346448 +346449 +346450 +346452 +346453 +346455 +346461 +346477 +346478 +346480 +346483 +346484 +346485 +346486 +346487 +346488 +346489 +346490 +346491 +346494 +346495 +346496 +346497 +346501 +346503 +346505 +346506 +346507 +346508 +346509 +346510 +346511 +346512 diff --git a/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalNZS_C b/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalNZS_C new file mode 100644 index 0000000000000..94eaf356d58ae --- /dev/null +++ b/DPGAnalysis/HcalTools/scripts/psm/ztmpHcalNZS_C @@ -0,0 +1,444 @@ +319313 +319319 +319320 +319325 +319327 +319329 +319330 +319332 +319333 +319334 +319335 +319337 +319338 +319339 +319341 +319343 +319344 +319345 +319347 +319348 +319349 +319351 +319352 +319353 +319359 +319361 +319364 +319366 +319368 +319371 +319372 +319373 +319374 +319375 +319376 +319377 +319379 +319380 +319385 +319391 +319413 +319415 +319433 +319434 +319435 +319437 +319442 +319444 +319447 +319449 +319450 +319452 +319456 +319459 +319473 +319474 +319476 +319477 +319478 +319480 +319481 +319482 +319483 +319484 +319486 +319503 +319506 +319507 +319508 +319509 +319513 +319516 +319518 +319521 +319523 +319524 +319525 +319526 +319528 +319530 +319532 +319533 +319536 +319538 +319543 +319544 +319546 +319547 +319548 +319549 +319561 +319562 +319563 +319565 +319566 +319569 +319570 +319571 +319572 +319573 +319575 +319576 +319577 +319578 +319579 +319590 +319591 +319592 +319593 +319594 +319595 +319596 +319597 +319606 +319609 +319615 +319616 +319617 +319620 +319621 +319622 +319623 +319625 +319627 +319629 +319633 +319634 +319635 +319636 +319637 +319639 +319645 +319647 +319649 +319650 +319651 +319654 +319656 +319657 +319658 +319659 +319661 +319663 +319666 +319667 +319670 +319672 +319675 +319678 +319680 +319682 +319683 +319685 +319686 +319687 +319688 +319689 +319690 +319692 +319693 +319695 +319696 +319697 +319698 +319699 +319705 +319709 +319712 +319716 +319718 +319721 +319722 +319724 +319727 +319728 +319735 +319736 +319742 +319743 +319746 +319749 +319751 +319752 +319754 +319755 +319756 +319758 +319759 +319760 +319761 +319763 +319765 +319766 +319768 +319769 +319770 +319772 +319777 +319783 +319787 +319790 +319794 +319798 +319800 +319809 +319811 +319812 +319813 +319814 +319815 +319816 +319818 +319822 +319823 +319826 +319827 +319829 +319830 +319831 +319833 +319835 +319838 +319840 +319841 +319842 +319844 +319847 +319848 +319849 +319851 +319852 +319853 +319854 +319856 +319858 +319860 +319861 +319862 +319864 +319867 +319869 +319870 +319875 +319876 +319878 +319879 +319880 +319881 +319882 +319885 +319886 +319888 +319889 +319890 +319896 +319897 +319898 +319901 +319902 +319903 +319904 +319907 +319908 +319909 +319910 +319912 +319913 +319914 +319915 +319916 +319918 +319924 +319926 +319927 +319928 +319929 +319932 +319933 +319934 +319935 +319937 +319938 +319940 +319941 +319942 +319943 +319945 +319946 +319948 +319950 +319951 +319953 +319955 +319958 +319959 +319961 +319967 +319968 +319973 +319975 +319978 +319981 +319982 +319983 +319986 +319987 +319989 +319990 +319991 +319992 +319993 +319995 +319998 +320000 +320001 +320002 +320006 +320007 +320008 +320009 +320010 +320011 +320012 +320014 +320015 +320016 +320018 +320019 +320021 +320022 +320023 +320024 +320025 +320026 +320028 +320031 +320032 +320033 +320035 +320036 +320038 +320039 +320040 +320041 +320042 +320045 +320046 +320049 +320051 +320053 +320055 +320057 +320058 +320059 +320060 +320061 +320062 +320063 +320064 +320065 +320068 +320069 +320074 +320075 +320076 +320077 +320090 +320094 +320097 +320100 +320102 +320112 +320116 +320122 +320127 +320129 +320136 +320137 +320141 +320142 +320149 +320170 +320180 +320183 +320184 +320185 +320186 +320189 +320190 +320191 +320192 +320194 +320195 +320198 +320200 +320207 +320237 +320239 +320247 +320249 +320253 +320255 +320258 +320260 +320266 +320268 +320272 +320273 +320276 +320277 +320283 +320285 +320286 +320294 +320297 +320306 +320311 +320313 +320314 +320316 +320317 +320321 +320323 +320325 +320326 +320328 +320332 +320334 +320336 +320337 +320338 +320340 +320342 +320344 +320347 +320354 +320361 +320366 +320369 +320380 +320381 +320382 +320383 +320393 diff --git a/DPGAnalysis/HcalTools/test/readme b/DPGAnalysis/HcalTools/test/readme index fe337bb8015cd..ca1c857ad0f78 100644 --- a/DPGAnalysis/HcalTools/test/readme +++ b/DPGAnalysis/HcalTools/test/readme @@ -5,7 +5,7 @@ # for Run2: # with GT: 104X_dataRun2_v1 # how to run: cmsRun remoteMonitoring_LED_eraTEST2019_cfg.py 320117 /store/group/dpg_hcal/comm_hcal/USC/ /your_working_dir -# cmsRun remoteMonitoring_LED_eraTEST2019_cfg.py 320117 /store/group/dpg_hcal/comm_hcal/USC//afs/cern.ch/work/z/zhokin/public/ & +# cmsRun remoteMonitoring_LED_eraTEST2019_cfg.py 320117 /store/group/dpg_hcal/comm_hcal/USC/ /afs/cern.ch/work/z/zhokin/public/ & # # with GT: 106X_dataRun3_HLT_v3 #how to run: cmsRun remoteMonitoring_LED_eraTEST2019_cfg.py 331370 /store/group/dpg_hcal/comm_hcal/USC/ /your_working_dir diff --git a/DPGAnalysis/HcalTools/test/remoteMonitoring_LEDReco_eraTEST2021_cfg.py b/DPGAnalysis/HcalTools/test/remoteMonitoring_LEDReco_eraTEST2021_cfg.py new file mode 100644 index 0000000000000..965ce9d688ff8 --- /dev/null +++ b/DPGAnalysis/HcalTools/test/remoteMonitoring_LEDReco_eraTEST2021_cfg.py @@ -0,0 +1,582 @@ +#eoscms ls -l /eos/cms/store/group/dpg_hcal/comm_hcal/USC/run327785/USC_327785.root +# choose run in /store/group/dpg_hcal/comm_hcal/USC/ +#how to run: cmsRun remoteMonitoring_LED_era2019_cfg.py 331370 /store/group/dpg_hcal/comm_hcal/USC/ /afs/cern.ch/work/z/zhokin/hcal/voc2/CMSSW_11_1_0_pre3/src/DPGAnalysis/HcalTools/scripts/rmt +# cmsRun remoteMonitoring_LEDReco_eraTEST2021_cfg.py 339246 /store/group/dpg_hcal/comm_hcal/USC/ /afs/cern.ch/work/z/zhokin/public/ & +# cmsRun remoteMonitoring_LED_eraTEST2021_cfg.py 339246 /store/group/dpg_hcal/comm_hcal/USC/ ~/qq7/test/ & + + +import sys +import FWCore.ParameterSet.Config as cms +from Configuration.StandardSequences.Eras import eras +#process = cms.Process("TEST", eras.Run2_2018) + +process = cms.Process("TEST", eras.Run3) +process.load("Configuration.StandardSequences.GeometryDB_cff") +process.load("CondCore.CondDB.CondDB_cfi") +process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi") +process.l1GtUnpack.DaqGtInputTag = 'source' +# from RelValAlCaPedestal_cfg_2018.py +process.load('Configuration.StandardSequences.Services_cff') +process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') +process.load('FWCore.MessageService.MessageLogger_cfi') +process.load('Configuration.EventContent.EventContent_cff') +process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff') +process.load('Configuration.StandardSequences.Reconstruction_Data_cff') +process.load('Configuration.StandardSequences.EndOfProcess_cff') +#process.load('RecoLocalCalo.Configuration.hcalLocalReco_cff') +process.load('Configuration.StandardSequences.GeometryRecoDB_cff') +process.load('Configuration.StandardSequences.EndOfProcess_cff') + +process.maxEvents = cms.untracked.PSet( +# input = cms.untracked.int32(100) + input = cms.untracked.int32(-1) + ) + +process.source = cms.Source("PoolSource", + skipBadFiles=cms.untracked.bool(True), +# firstLuminosityBlockForEachRun = cms.untracked.VLuminosityBlockID([]), +# firstRun = cms.untracked.uint32(331370), + fileNames = cms.untracked.vstring( +'/store/data/Commissioning2021/HcalNZS/RAW/v1/000/346/511/00000/f0bffccf-78f2-4a10-88bc-3fc17bd1ee37.root' +), + secondaryFileNames = cms.untracked.vstring() + ) + +process.Analyzer = cms.EDAnalyzer("CMTRawAnalyzer", + # + Verbosity = cms.untracked.int32(0), + #Verbosity = cms.untracked.int32(-9062), + #Verbosity = cms.untracked.int32(-9063), + #Verbosity = cms.untracked.int32(-9064), + #Verbosity = cms.untracked.int32(-9065), + #Verbosity = cms.untracked.int32(-84), + #Verbosity = cms.untracked.int32(-91), + #Verbosity = cms.untracked.int32(-92), + # + MapCreation = cms.untracked.int32(1), + # + recordNtuples = cms.untracked.bool(False), + #recordNtuples = cms.untracked.bool(True), + maxNeventsInNtuple = cms.int32(1), + # + #recordHistoes = cms.untracked.bool(False), + recordHistoes = cms.untracked.bool(True), + # + ##scripts: zRunRatio34.C, zRunNbadchan.C + studyRunDependenceHist = cms.untracked.bool(True), + #studyRunDependenceHist = cms.untracked.bool(False), + # + ##scripts: zerrors.C + studyCapIDErrorsHist = cms.untracked.bool(True), + #studyCapIDErrorsHist = cms.untracked.bool(False), + # + ##scripts: zrms.C + studyRMSshapeHist = cms.untracked.bool(True), + #studyRMSshapeHist = cms.untracked.bool(False), + # + ##scripts: zratio34.C + studyRatioShapeHist = cms.untracked.bool(True), + #studyRatioShapeHist = cms.untracked.bool(False), + # + ##scripts: zadcamplitude.C + studyADCAmplHist = cms.untracked.bool(True), + #studyADCAmplHist = cms.untracked.bool(False), + # + ##scripts: ztsmean.C + studyTSmeanShapeHist = cms.untracked.bool(True), + #studyTSmeanShapeHist = cms.untracked.bool(False), + # + ##scripts: ztsmaxa.C + studyTSmaxShapeHist = cms.untracked.bool(True), + #studyTSmaxShapeHist = cms.untracked.bool(False), + # + ##scripts: zcalib....C + studyCalibCellsHist = cms.untracked.bool(True), + #studyCalibCellsHist = cms.untracked.bool(False), + # + ##scripts: zdifampl.C + studyDiffAmplHist = cms.untracked.bool(True), + #studyDiffAmplHist = cms.untracked.bool(False), + # + ##scripts: zadcamplitude.C + studyPedestalsHist = cms.untracked.bool(True), + #studyPedestalsHist = cms.untracked.bool(False), + # + ##scripts: zamplpedcorr.C + studyPedestalCorrelations = cms.untracked.bool(True), + #studyPedestalsHist = cms.untracked.bool(False), + # + # + ##DigiCollectionLabel = cms.untracked.InputTag("hcalDigis"), + #Verbosity = cms.untracked.int32(-54), + #Verbosity = cms.untracked.int32(-22), + #Verbosity = cms.untracked.int32(-11), + #Verbosity = cms.untracked.int32(-12), + #Verbosity = cms.untracked.int32(-13), + #Verbosity = cms.untracked.int32(-51), + #Verbosity = cms.untracked.int32(-24), + #Verbosity = cms.untracked.int32(-244), + #Verbosity = cms.untracked.int32(-233), + # + # + # Normal channels: + # + # -53 for BAD HBHEHF channels from study on shape Ratio + #Verbosity = cms.untracked.int32(-53), + ratioHBMin = cms.double(0.70), + ratioHBMax = cms.double(0.94), + ratioHEMin = cms.double(0.60), + ratioHEMax = cms.double(0.95), + ratioHFMin = cms.double(0.45), + ratioHFMax = cms.double(1.02), + ratioHOMin = cms.double(0.40), + ratioHOMax = cms.double(1.04), + # -54 for BAD HBHEHF channels from study on RMS of shapes + #Verbosity = cms.untracked.int32(-54), + rmsHBMin = cms.double(0.7), + rmsHBMax = cms.double(2.5), + rmsHEMin = cms.double(0.7), + rmsHEMax = cms.double(2.2), + rmsHFMin = cms.double(0.1), + rmsHFMax = cms.double(2.6), + rmsHOMin = cms.double(0.1), + rmsHOMax = cms.double(2.8), + # -55 for BAD HBHEHF channels from study on TSmean of shapes + #Verbosity = cms.untracked.int32(-55), + TSmeanHBMin = cms.double(2.5), + TSmeanHBMax = cms.double(5.5), + TSmeanHEMin = cms.double(1.0), + TSmeanHEMax = cms.double(5.2), + TSmeanHFMin = cms.double(1.0), + TSmeanHFMax = cms.double(4.2), + TSmeanHOMin = cms.double(1.0), + TSmeanHOMax = cms.double(4.8), + # -55 for BAD HBHEHF channels from study on TSmax of shapes + #Verbosity = cms.untracked.int32(-55), + TSpeakHBMin = cms.double(2.2), + TSpeakHBMax = cms.double(5.5), + TSpeakHEMin = cms.double(1.5), + TSpeakHEMax = cms.double(6.5), + TSpeakHFMin = cms.double(0.5), + TSpeakHFMax = cms.double(4.5), + TSpeakHOMin = cms.double(0.5), + TSpeakHOMax = cms.double(7.5), + # -56 for BAD HBHEHOHF channels from study on ADC Amplitude + #Verbosity = cms.untracked.int32(-56), + ADCAmplHBMin = cms.double(10000.), + ADCAmplHBMax = cms.double(300000.), + ADCAmplHEMin = cms.double(20000.), + ADCAmplHEMax = cms.double(300000.), + ADCAmplHFMin = cms.double(50.), + ADCAmplHFMax = cms.double(9000.), + ADCAmplHOMin = cms.double(50.), + ADCAmplHOMax = cms.double(9000.), + # + # to see channels w/ PedestalSigma < cut + #Verbosity = cms.untracked.int32(-57), + pedestalwHBMax = cms.double(0.1), + pedestalwHEMax = cms.double(0.1), + pedestalwHFMax = cms.double(0.4), + pedestalwHOMax = cms.double(0.1), + # + # to see channels for pedestal < cut + pedestalHBMax = cms.double(0.1), + pedestalHEMax = cms.double(0.6), + pedestalHFMax = cms.double(0.8), + pedestalHOMax = cms.double(0.1), + # + # + # CALIBRATION channels: + # + # for BAD HBHEHOHF CALIBRATION channels from study on ADC amplitude + # cuts for Laser runs: + #calibrADCHBMin = cms.double(15.0), + #calibrADCHEMin = cms.double(15.0), + #calibrADCHOMin = cms.double(15.0), + #calibrADCHFMin = cms.double(15.0), + # cuts for LED runs: + calibrADCHBMin = cms.double(1000.), + calibrADCHBMax = cms.double(100000000.), + calibrADCHEMin = cms.double(1000.), + calibrADCHEMax = cms.double(100000000.), + calibrADCHOMin = cms.double(1000.), + calibrADCHOMax = cms.double(100000000.), + calibrADCHFMin = cms.double(100.), + calibrADCHFMax = cms.double(100000000.), + + # for BAD HBHEHOHF CALIBRATION channels from study on shape Ratio + calibrRatioHBMin = cms.double(0.76), + calibrRatioHBMax = cms.double(0.94), + calibrRatioHEMin = cms.double(0.76), + calibrRatioHEMax = cms.double(0.94), + calibrRatioHOMin = cms.double(0.85), + calibrRatioHOMax = cms.double(0.99), + calibrRatioHFMin = cms.double(0.5), + calibrRatioHFMax = cms.double(0.8), + # for BAD HBHEHOHF CALIBRATION channels from study on TSmax + calibrTSmaxHBMin = cms.double(1.50), + calibrTSmaxHBMax = cms.double(2.50), + calibrTSmaxHEMin = cms.double(1.50), + calibrTSmaxHEMax = cms.double(2.50), + calibrTSmaxHOMin = cms.double(1.50), + calibrTSmaxHOMax = cms.double(2.50), + calibrTSmaxHFMin = cms.double(3.50), + calibrTSmaxHFMax = cms.double(4.50), + # for BAD HBHEHOHF CALIBRATION channels from study on TSmean + calibrTSmeanHBMin = cms.double(2.40), + calibrTSmeanHBMax = cms.double(3.70), + calibrTSmeanHEMin = cms.double(2.40), + calibrTSmeanHEMax = cms.double(3.70), + calibrTSmeanHOMin = cms.double(1.50), + calibrTSmeanHOMax = cms.double(2.70), + calibrTSmeanHFMin = cms.double(3.50), + calibrTSmeanHFMax = cms.double(4.50), + # for BAD HBHEHOHF CALIBRATION channels from study on Width + calibrWidthHBMin = cms.double(1.30), + calibrWidthHBMax = cms.double(1.90), + calibrWidthHEMin = cms.double(1.30), + calibrWidthHEMax = cms.double(1.90), + calibrWidthHOMin = cms.double(0.70), + calibrWidthHOMax = cms.double(1.65), + calibrWidthHFMin = cms.double(0.30), + calibrWidthHFMax = cms.double(1.50), + # + # Special task of run or LS quality: + # + # flag for ask runs of LSs for RMT & CMT accordingly: + #=0-runs, =1-LSs + # keep for LED runs this flags =0 always + flagtoaskrunsorls = cms.int32(0), + # + # flag for choice of criterion of bad channels: + #=0-CapIdErr, =1-Ratio, =2-Width, =3-TSmax, =4-TSmean, =5-adcAmplitud + # keep for CMT (global runs) this flags =0 always + flagtodefinebadchannel = cms.int32(0), + #how many bins you want on the plots:better to choice (#LS+1) + howmanybinsonplots = cms.int32(25), + # + # ls - range for RBX study (and ??? perhaps for gain stability via abort gap): + lsmin = cms.int32(1), + #lsmax = cms.int32(620), + lsmax = cms.int32(2600), + # + flagabortgaprejected = cms.int32(1), + bcnrejectedlow = cms.int32(3446), + bcnrejectedhigh= cms.int32(3564), + # + # flag cpu time reducing + #=0-all plots, =1-optimized number of plots (for Global runs) + flagcpuoptimization = cms.int32(0), + # + # flag for ask type of Normalization for CMT estimators: + #=0-normalizationOn#evOfLS; =1-averageVariable-normalizationOn#entriesInLS; + flagestimatornormalization = cms.int32(1), + # + # + # cuts on Nbadchannels to see LS dependences: + # Verbosity = cms.untracked.int32(-77), + # to select abnormal events,for which Nbcs > this limits + lsdep_cut1_peak_HBdepth1 = cms.int32(20), + lsdep_cut1_peak_HBdepth2 = cms.int32(7), + lsdep_cut1_peak_HEdepth1 = cms.int32(16), + lsdep_cut1_peak_HEdepth2 = cms.int32(13), + lsdep_cut1_peak_HEdepth3 = cms.int32(4), + lsdep_cut1_peak_HFdepth1 = cms.int32(10), + lsdep_cut1_peak_HFdepth2 = cms.int32(5), + lsdep_cut1_peak_HOdepth4 = cms.int32(45), + # to select events with Nbcs > this limits + lsdep_cut3_max_HBdepth1 = cms.int32(19), + lsdep_cut3_max_HBdepth2 = cms.int32(6), + lsdep_cut3_max_HEdepth1 = cms.int32(15), + lsdep_cut3_max_HEdepth2 = cms.int32(12), + lsdep_cut3_max_HEdepth3 = cms.int32(3), + lsdep_cut3_max_HFdepth1 = cms.int32(9), + lsdep_cut3_max_HFdepth2 = cms.int32(4), + lsdep_cut3_max_HOdepth4 = cms.int32(40), + # + # + #old was for runs: + # nbadchannels1 = cms.int32(7), + # nbadchannels2 = cms.int32(12), + # nbadchannels3 = cms.int32(50), + # + #Verbosity = cms.untracked.int32(-79), + # cuts on Estimator1 to see LS dependences: + lsdep_estimator1_HBdepth1 = cms.double(2500.), + lsdep_estimator1_HBdepth2 = cms.double(2500.), + lsdep_estimator1_HBdepth3 = cms.double(2500.), + lsdep_estimator1_HBdepth4 = cms.double(2500.), + lsdep_estimator1_HEdepth1 = cms.double(2500.), + lsdep_estimator1_HEdepth2 = cms.double(2500.), + lsdep_estimator1_HEdepth3 = cms.double(2500.), + lsdep_estimator1_HEdepth4 = cms.double(2500.), + lsdep_estimator1_HEdepth5 = cms.double(2500.), + lsdep_estimator1_HEdepth6 = cms.double(2500.), + lsdep_estimator1_HEdepth7 = cms.double(2500.), + lsdep_estimator1_HFdepth1 = cms.double(2500.), + lsdep_estimator1_HFdepth2 = cms.double(2500.), + lsdep_estimator1_HFdepth3 = cms.double(2500.), + lsdep_estimator1_HFdepth4 = cms.double(2500.), + lsdep_estimator1_HOdepth4 = cms.double(2500.), + # cuts on Estimator2 to see LS dependences: + lsdep_estimator2_HBdepth1 = cms.double(7.), + lsdep_estimator2_HBdepth2 = cms.double(7.), + lsdep_estimator2_HEdepth1 = cms.double(7.), + lsdep_estimator2_HEdepth2 = cms.double(7.), + lsdep_estimator2_HEdepth3 = cms.double(7.), + lsdep_estimator2_HFdepth1 = cms.double(7.), + lsdep_estimator2_HFdepth2 = cms.double(7.), + lsdep_estimator2_HOdepth4 = cms.double(7.), + # cuts on Estimator3 to see LS dependences: + lsdep_estimator3_HBdepth1 = cms.double(7.), + lsdep_estimator3_HBdepth2 = cms.double(7.), + lsdep_estimator3_HEdepth1 = cms.double(7.), + lsdep_estimator3_HEdepth2 = cms.double(7.), + lsdep_estimator3_HEdepth3 = cms.double(7.), + lsdep_estimator3_HFdepth1 = cms.double(7.), + lsdep_estimator3_HFdepth2 = cms.double(7.), + lsdep_estimator3_HOdepth4 = cms.double(7.), + # cuts on Estimator4 to see LS dependences: + lsdep_estimator4_HBdepth1 = cms.double(5.), + lsdep_estimator4_HBdepth2 = cms.double(5.), + lsdep_estimator4_HEdepth1 = cms.double(5.), + lsdep_estimator4_HEdepth2 = cms.double(5.), + lsdep_estimator4_HEdepth3 = cms.double(5.), + lsdep_estimator4_HFdepth1 = cms.double(5.), + lsdep_estimator4_HFdepth2 = cms.double(5.), + lsdep_estimator4_HOdepth4 = cms.double(5.), + # cuts on Estimator5 to see LS dependences: + lsdep_estimator5_HBdepth1 = cms.double(1.8), + lsdep_estimator5_HBdepth2 = cms.double(1.8), + lsdep_estimator5_HEdepth1 = cms.double(1.8), + lsdep_estimator5_HEdepth2 = cms.double(1.8), + lsdep_estimator5_HEdepth3 = cms.double(1.8), + lsdep_estimator5_HFdepth1 = cms.double(1.8), + lsdep_estimator5_HFdepth2 = cms.double(1.8), + lsdep_estimator5_HOdepth4 = cms.double(1.8), + # + # + #Verbosity = cms.untracked.int32(-81), + #Verbosity = cms.untracked.int32(-82), + #Verbosity = cms.untracked.int32(-83), + # + # use ADC amplitude: + useADCmassive = cms.untracked.bool(True), + useADCfC = cms.untracked.bool(False), + useADCcounts = cms.untracked.bool(False), + # + # Pedestals in fC + #usePedestalSubtraction = cms.untracked.bool(True), + usePedestalSubtraction = cms.untracked.bool(False), + # + # for possible ignoring of channels w/o signal, apply same cut for + # HBHEHFHO on Amplitude, usable for all Estimators 1,2,3,4,5: + # forallestimators_amplitude_bigger = cms.double(10.), + forallestimators_amplitude_bigger = cms.double(-100.), + # + # + # + #usecontinuousnumbering = cms.untracked.bool(False), + usecontinuousnumbering = cms.untracked.bool(True), + # + # + # + hcalCalibDigiCollectionTag = cms.InputTag('hcalDigis'), + hbheDigiCollectionTag = cms.InputTag('hcalDigis'), + hoDigiCollectionTag = cms.InputTag('hcalDigis'), + hfDigiCollectionTag = cms.InputTag('hcalDigis'), + # + # + # + # + #for upgrade: --------------------------------------------------------- + hbheQIE11DigiCollectionTag = cms.InputTag('hcalDigis'), + hbheQIE10DigiCollectionTag = cms.InputTag('hcalDigis'), + # flag to use either only old QIE8 digiCollections or only new QIE10,11 digiCollections + #=0-all digiCollections(default for normal running), =1-only old QIE8 digiCollections, + #=2-only new QIE1011 digiCollections, =3-only new QIE1011 digiCollections w/o new high depthes + #=4-2016fall, =5-2016fall w/o new high depthes, =6-2017bebin, =7-2017bebin w/o new high depthes in HEonly + #=8--2017bebin w/o new high depthes, =9-all digiCollections w/o new high depthes + # flag HBHE8 HBHE11 HF8 HF10 comments: + # 0 + + + + all + # 1 + - + - old + # 2 - + - + new + # 3 - + - + new w/o high depthes + # 4 + - + + 2016fall + # 5 + - + + 2016fall w/o high depthes + # 6 + + - + 2017 && 2018 && 2021 + # 7 + + - + 2017begin w/o high depthes in HEonly + # 8 + + - + 2017begin w/o high depthes + # 9 + + + + all w/o high depthes + # 10 + - - + 2017 w/o HEP17 + # + flagupgradeqie1011 = cms.int32(6), + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + # flaguseshunt = 1 or 6 (6 is default for global runs) + flaguseshunt = cms.int32(6), + # flagsipmcorrection: != 0 yes,apply; = 0 do not use; + flagsipmcorrection = cms.int32(1), + #end upgrade: --------------------------------------------------------- end upgrade + # + # + # for local LASER runs ONLY!!! to be > 0 (,else = 0) + flagLaserRaddam = cms.int32(0), + # for gaussian fit for local shunt1 (Gsel0) led low-intensity or ped ONLY!!! to be > 0 (,else = 0) + flagfitshunt1pedorledlowintensity = cms.int32(0), + # + splashesUpperLimit = cms.int32(10000), + # + # + # for use in IterativeMethod of CalibrationGroup!!! to be > 1 (,else = 0) + flagIterativeMethodCalibrationGroupDigi = cms.int32(1), + # + # for use in IterativeMethod of CalibrationGroup!!! to be > 1 (,else = 0) + flagIterativeMethodCalibrationGroupReco = cms.int32(1), + # + hbheInputSignalTag = cms.InputTag('hbherecoMBNZS'), + hbheInputNoiseTag = cms.InputTag('hbherecoNoise'), + hfInputSignalTag = cms.InputTag('hfrecoMBNZS'), + hfInputNoiseTag = cms.InputTag('hfrecoNoise'), + # + # + # + # + # + # + #HistOutFile = cms.untracked.string('LED_331370.root'), + #HistOutFile = cms.untracked.string(histodir+'/LED_'+runnumber+'.root'), + #MAPOutFile = cms.untracked.string('LogEleMapdb.h') + # + ##OutputFilePath = cms.string('/tmp/zhokin/'), + ##OutputFileExt = cms.string(''), + # + ) +########################################################################### +process.TFileService = cms.Service("TFileService", + fileName = cms.string("Global_346511_1.root") + ,closeFileFast = cms.untracked.bool(True) + ) +########################################################################### + + +process.hcal_db_producer = cms.ESProducer("HcalDbProducer", + dump = cms.untracked.vstring(''), + file = cms.untracked.string('') +) +process.es_hardcode = cms.ESSource("HcalHardcodeCalibrations", + toGet = cms.untracked.vstring('QIEShape', + 'QIEData', + 'ChannelQuality', + 'HcalQIEData', + 'Pedestals', + 'PedestalWidths', + 'Gains', + 'GainWidths', + 'ZSThresholds', + 'RespCorrs') +) + +## Jula's recipe for too many files +#process.options = cms.untracked.PSet( +# wantSummary = cms.untracked.bool(False), +# Rethrow = cms.untracked.vstring("ProductNotFound"), # make this exception fatal +# fileMode = cms.untracked.string('NOMERGE') # no ordering needed, but calls endRun/beginRun etc. at file boundaries +#) + +######################################################################################## Global Tags for 2018 data taking : +# use twiki site to specify HLT reconstruction Global tags: +# https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideFrontierConditions +# +# 100X_dataRun2_HLT_v2 for CMSSW_10_0_3 onwards CRUZET 2018 update of 0T templates for SiPixels +# 100X_dataRun2_HLT_v1 for CMSSW_10_0_0 onwards MWGRs 2018 first HLT GT for 2018 +# +# +############################################################################ GlobalTag :1+ good as 5 +#from Configuration.AlCa.GlobalTag_condDBv2 import GlobalTag +#process.GlobalTag = GlobalTag(process.GlobalTag, '100X_dataRun2_HLT_v2', '') + +#from Configuration.AlCa.GlobalTag_condDBv2 import GlobalTag +#process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data_FULL', '') + + +#from Configuration.AlCa.GlobalTag_condDBv2 import GlobalTag +#process.GlobalTag = GlobalTag(process.GlobalTag, '101X_dataRun2_HLT_v7', '') + +# 2019 Ultra Legacy 2017 +#process.GlobalTag.globaltag = '106X_dataRun2_trackerAlignment2017_v1' +# 2019 Ultra Legacy 2018 test TkAl +#process.GlobalTag.globaltag = '106X_dataRun2_v17' +# 2019 Ultra Legacy 2018 +#process.GlobalTag.globaltag = '106X_dataRun2_newTkAl_v18' +# 2019 Ultra Legacy 2016 +#process.GlobalTag.globaltag = '106X_dataRun2_UL2016TkAl_v24' +#process.GlobalTag.globaltag = '105X_dataRun2_v8' + +process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") +from Configuration.AlCa.autoCond import autoCond +#process.GlobalTag.globaltag = '104X_dataRun2_v1' +#process.GlobalTag.globaltag = '105X_postLS2_design_v4' +#process.GlobalTag.globaltag = '113X_dataRun3_HLT_v3' +process.GlobalTag.globaltag = '120X_dataRun3_HLT_v3' + +############################################################################ +# V.EPSHTEIN: +#process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") +#process.GlobalTag.globaltag = '100X_dataRun2_Prompt_Candidate_2018_01_31_16_01_36' +### +#process.hcal_db_producer = cms.ESProducer("HcalDbProducer", +# dump = cms.untracked.vstring(''), +# file = cms.untracked.string('') +#) +# +#process.hcalDigis= cms.EDProducer("HcalRawToDigi", +# FilterDataQuality = cms.bool(True), +# HcalFirstFED = cms.untracked.int32(700), +# InputLabel = cms.InputTag("source"), +# UnpackCalib = cms.untracked.bool(True), +# FEDs = cms.untracked.vint32(1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117), +#) +### +############################################################################ +process.load('Configuration.StandardSequences.RawToDigi_Data_cff') +#process.hcalDigis.FilterDataQuality = cms.bool(False) +#process.hcalDigis.InputLabel = cms.InputTag("source") +############################################################################ +#process.hcalDigis= cms.EDProducer("HcalRawToDigi", +## FilterDataQuality = cms.bool(True), +# FilterDataQuality = cms.bool(False), +# HcalFirstFED = cms.untracked.int32(700), +# InputLabel = cms.InputTag("source"), +# #InputLabel = cms.InputTag("rawDataCollector"), +#) +#process.hcalDigis.FilterDataQuality = cms.bool(False) +#process.hcalDigis.InputLabel = cms.InputTag("source") +############################################################################ +# Schedule definition for PSM: +#process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalPedestal_cff") +#process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalPedestalLocal_cff") +process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalMinBias_cff") + +##process.load("ALCARECOHcalCalPedestalLocal_cff") +############################################################################ +# for ALCARECO: +#process.p = cms.Path(process.seqALCARECOHcalCalMinBiasDigiNoHLT*process.seqALCARECOHcalCalMinBias*process.Analyzer) +# for RAW: +process.p = cms.Path(process.hcalDigis*process.seqALCARECOHcalCalMinBiasDigiNoHLT*process.seqALCARECOHcalCalMinBias*process.Analyzer) +###### see /afs/cern.ch/work/z/zhokin/public/CMSSW_10_4_0_patch1/src/Calibration/HcalAlCaRecoProducers/python/ALCARECOHcalCalMinBias_cff.py + +#process.p = cms.Path(process.hcalDigis*process.Analyzer) +############################################################################ +process.MessageLogger = cms.Service("MessageLogger", + categories = cms.untracked.vstring(''), + destinations = cms.untracked.vstring('cout'), + debugModules = cms.untracked.vstring('*'), + cout = cms.untracked.PSet( + threshold = cms.untracked.string('WARNING'), + WARNING = cms.untracked.PSet(limit = cms.untracked.int32(0)) + ) + ) +############################################################################ + + + diff --git a/DPGAnalysis/HcalTools/test/remoteMonitoring_LED_eraTEST2019_cfg.py b/DPGAnalysis/HcalTools/test/remoteMonitoring_LED_eraTEST2019_cfg.py index 0e9f8855a3615..c81aee1d0ff2b 100644 --- a/DPGAnalysis/HcalTools/test/remoteMonitoring_LED_eraTEST2019_cfg.py +++ b/DPGAnalysis/HcalTools/test/remoteMonitoring_LED_eraTEST2019_cfg.py @@ -315,6 +315,16 @@ #usecontinuousnumbering = cms.untracked.bool(False), usecontinuousnumbering = cms.untracked.bool(True), # + # + # + # + # if 0 - do not use digis at all + flagToUseDigiCollectionsORNot = cms.int32(1), + # + # + # + # + # hcalCalibDigiCollectionTag = cms.InputTag('hcalDigis'), hbheDigiCollectionTag = cms.InputTag('hcalDigis'), hoDigiCollectionTag = cms.InputTag('hcalDigis'), @@ -381,11 +391,12 @@ ##OutputFileExt = cms.string(''), # ) - +################################################################################################## process.hcal_db_producer = cms.ESProducer("HcalDbProducer", dump = cms.untracked.vstring(''), file = cms.untracked.string('') ) +################################################################################################## process.es_hardcode = cms.ESSource("HcalHardcodeCalibrations", toGet = cms.untracked.vstring('QIEShape', 'QIEData', @@ -398,7 +409,7 @@ 'ZSThresholds', 'RespCorrs') ) - +################################################################################################## process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") from Configuration.AlCa.autoCond import autoCond # 2018: @@ -406,22 +417,27 @@ ######process.GlobalTag.globaltag = '105X_postLS2_design_v4' # 2019: #process.GlobalTag.globaltag = '106X_dataRun3_HLT_v3' - +################################################################################################## process.load('Configuration.StandardSequences.RawToDigi_Data_cff') process.hcalDigis.FilterDataQuality = cms.bool(False) process.hcalDigis.InputLabel = cms.InputTag("source") -process.hcalDigis= cms.EDProducer("HcalRawToDigi", -# FilterDataQuality = cms.bool(True), - FilterDataQuality = cms.bool(False), - HcalFirstFED = cms.untracked.int32(700), - InputLabel = cms.InputTag("source"), +############################################################################ +#process.hcalDigis= cms.EDProducer("HcalRawToDigi", +# FilterDataQuality = cms.bool(False), +# HcalFirstFED = cms.untracked.int32(700), +# InputLabel = cms.InputTag("source"), +#) +process.load('EventFilter.HcalRawToDigi.hcalRawToDigi_cfi') +process.hcalDigis= process.hcalRawToDigi.clone( + FilterDataQuality = False, + InputLabel = "source", #InputLabel = cms.InputTag("rawDataCollector"), ) - +################################################################################################## #process.load("Calibration.HcalAlCaRecoProducers.ALCARECOHcalCalPedestalLocal_cff") process.p = cms.Path(process.hcalDigis*process.Analyzer) #process.p = cms.Path(process.hcalDigis*process.seqALCARECOHcalCalMinBiasDigiNoHLT*process.seqALCARECOHcalCalMinBias*process.Analyzer) - +################################################################################################## process.MessageLogger = cms.Service("MessageLogger", categories = cms.untracked.vstring(''), destinations = cms.untracked.vstring('cout'), @@ -431,6 +447,8 @@ WARNING = cms.untracked.PSet(limit = cms.untracked.int32(0)) ) ) +################################################################################################## + From 09ec01d0acb4ebf36d4fd83c99ac116761428eaa Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 27 Feb 2022 21:30:42 +0100 Subject: [PATCH 2/2] psm dirs added for global runs treatment with code-format --- .../macros/cmt/RemoteMonitoringGLOBAL.cc | 18 +- .../macros/cmt/RemoteMonitoringMAP_Global.cc | 2 +- .../HcalTools/macros/cmt/zadcampltest.cc | 8 +- .../HcalTools/macros/cmt/zlumiadcampltest.cc | 61 +- .../macros/psm/RemoteMonitoringALCARECOPSM.cc | 20455 ++++++---- .../macros/psm/RemoteMonitoringIMPSM.cc | 20455 ++++++---- .../macros/psm/RemoteMonitoringIMPSMTEST.cc | 20459 ++++++---- .../macros/psm/RemoteMonitoringPSM.cc | 33691 +++++++++------- .../macros/rmt/RemoteMonitoringMAPTEST.cc | 1 - .../HcalTools/plugins/CMTRawAnalyzer.cc | 799 +- 10 files changed, 56995 insertions(+), 38954 deletions(-) diff --git a/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringGLOBAL.cc b/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringGLOBAL.cc index 0e95629694fb2..e222626509a17 100644 --- a/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringGLOBAL.cc +++ b/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringGLOBAL.cc @@ -67,12 +67,12 @@ int main(int argc, char *argv[]) { {0., 0., 0., 0., 1., 0., 0., 0.}, {0., 1., 1., 0., 0., 0., 0., 0.}}, //CapID 0,HB,HE,HO,HF // {{0.,0.,0.,0.,0.,0.,0.,0.}, {0.,35.,35.,0.,0.,0.,0.,0.}, {0.,100.,140.,150.,0.,0.,0.,0.}, {0.,0.,0.,0.,100.,0.,0.,0.}, {0.,170.,110.,170.,110.,0.,0.,0.} }, //Amplitude 0,HB,HE,HO,HF -// -// {{0., 0., 0., 0., 0., 0., 0., 0.}, -// {0., 10., 10., 10., 10., 0., 0., 0.}, -// {0., 10., 10., 10., 10., 10., 10., 10.}, -// {0., 0., 0., 0., 10., 0., 0., 0.}, -// {0., 10., 10., 10., 10., 0., 0., 0.}}, //Amplitude 0,HB,HE,HO,HF + // + // {{0., 0., 0., 0., 0., 0., 0., 0.}, + // {0., 10., 10., 10., 10., 0., 0., 0.}, + // {0., 10., 10., 10., 10., 10., 10., 10.}, + // {0., 0., 0., 0., 10., 0., 0., 0.}, + // {0., 10., 10., 10., 10., 0., 0., 0.}}, //Amplitude 0,HB,HE,HO,HF {{0., 0., 0., 0., 0., 0., 0., 0.}, {0., 3500., 3500., 3500., 3500., 0., 0., 0.}, {0., 12000., 4500., 3500., 3500., 4000., 4500., 5500.}, @@ -131,7 +131,7 @@ int main(int argc, char *argv[]) { //====================================================================== // Prepare histograms and plot them to .png files -// TCanvas *cHB = new TCanvas("cHB", "cHB", 200, 10, 700, 900); + // TCanvas *cHB = new TCanvas("cHB", "cHB", 200, 10, 700, 900); TCanvas *cHB = new TCanvas("cHB", "cHB", 1000, 500); TCanvas *cHE = new TCanvas("cHE", "cHE", 1500, 500); TCanvas *cONE = new TCanvas("cONE", "cONE", 500, 500); @@ -180,7 +180,7 @@ int main(int argc, char *argv[]) { LumLum->SetMarkerColor(4); LumLum->SetLineColor(0); LumLum->SetMinimum(0.8); - LumLum->GetXaxis()->SetRangeUser(0, MaxLumDanila+5.); + LumLum->GetXaxis()->SetRangeUser(0, MaxLumDanila + 5.); LumLum->Draw("Error"); cHB->cd(2); @@ -208,7 +208,7 @@ int main(int argc, char *argv[]) { LumiEv->SetMarkerColor(4); LumiEv->SetLineColor(0); // LumiEv->SetMinimum(0.8); - LumiEv->GetXaxis()->SetRangeUser(0, MaxLum+5.); + LumiEv->GetXaxis()->SetRangeUser(0, MaxLum + 5.); LumiEv->Draw("Error"); cHB->Print("LumiEvent.png"); diff --git a/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringMAP_Global.cc b/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringMAP_Global.cc index 7d90191c7ad97..9513cf2af883c 100644 --- a/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringMAP_Global.cc +++ b/DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringMAP_Global.cc @@ -3,7 +3,7 @@ //root -b -q -l 'RemoteMonitoringMAP.C+("/afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/RDMweb/histos/LED_214513.root","/afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/RDMweb/histos/LED_214512.root")' //root -b -q -l 'RemoteMonitoringMAP.C+(" /afs/cern.ch/work/d/dtlisov/private/Monitoring/histos/LED_211659.root","/afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/RDMweb/histos/LED_214512.root")' // -// +// // #include "LogEleMapdb.h" diff --git a/DPGAnalysis/HcalTools/macros/cmt/zadcampltest.cc b/DPGAnalysis/HcalTools/macros/cmt/zadcampltest.cc index f0e58e3867441..4dc6d40b1e6c9 100644 --- a/DPGAnalysis/HcalTools/macros/cmt/zadcampltest.cc +++ b/DPGAnalysis/HcalTools/macros/cmt/zadcampltest.cc @@ -150,11 +150,11 @@ int main(int argc, char *argv[]) { // TFile *hfile1= new TFile("LED_284352.root", "READ"); // TFile *hfile1= new TFile("LEDtest.root", "READ"); -// TFile *hfile1 = new TFile("Global_346445.root", "READ"); + // TFile *hfile1 = new TFile("Global_346445.root", "READ"); TFile *hfile1 = new TFile("Global_346300.root", "READ"); -// TH1D *hist1(nullptr); -// hist1 = (TH1D *)dir->FindObjectAny("h_mapDepth1_HE"); + // TH1D *hist1(nullptr); + // hist1 = (TH1D *)dir->FindObjectAny("h_mapDepth1_HE"); // TFile *hfile2= new TFile("LED_284902.root", "READ"); // TFile *hfile2= new TFile("LED_284499.root", "READ"); @@ -182,7 +182,7 @@ int main(int argc, char *argv[]) { c1->Divide(2, 4); c1->cd(1); -// TH2F *Zzzdepth1hef1 = (TH2F *)hfile1->Get("h_mapDepth1_HE"); + // TH2F *Zzzdepth1hef1 = (TH2F *)hfile1->Get("h_mapDepth1_HE"); TH2F *Zzzdepth1hef1 = (TH2F *)dir->FindObjectAny("h_mapDepth1_HE"); gPad->SetGridy(); gPad->SetGridx(); diff --git a/DPGAnalysis/HcalTools/macros/cmt/zlumiadcampltest.cc b/DPGAnalysis/HcalTools/macros/cmt/zlumiadcampltest.cc index d1de67c43255b..fdcd16932cf91 100644 --- a/DPGAnalysis/HcalTools/macros/cmt/zlumiadcampltest.cc +++ b/DPGAnalysis/HcalTools/macros/cmt/zlumiadcampltest.cc @@ -151,11 +151,11 @@ int main(int argc, char *argv[]) { // TFile *hfile1= new TFile("LED_284352.root", "READ"); // TFile *hfile1= new TFile("LEDtest.root", "READ"); -// TFile *hfile1 = new TFile("Global_346445.root", "READ"); + // TFile *hfile1 = new TFile("Global_346445.root", "READ"); TFile *hfile1 = new TFile("Global_346511.root", "READ"); -// TH1D *hist1(nullptr); -// hist1 = (TH1D *)dir->FindObjectAny("h_mapDepth1_HE"); + // TH1D *hist1(nullptr); + // hist1 = (TH1D *)dir->FindObjectAny("h_mapDepth1_HE"); // TFile *hfile2= new TFile("LED_284902.root", "READ"); // TFile *hfile2= new TFile("LED_284499.root", "READ"); @@ -169,7 +169,7 @@ int main(int argc, char *argv[]) { // -// TCanvas *c1 = new TCanvas("c1", "Hcal4test", 200, 10, 700, 900); + // TCanvas *c1 = new TCanvas("c1", "Hcal4test", 200, 10, 700, 900); TCanvas *c1 = new TCanvas("c1", "Hcal4test", 1000, 500); hfile1->ls(); @@ -190,8 +190,8 @@ int main(int argc, char *argv[]) { TH1F *LumLum = (TH1F *)dir->FindObjectAny("h_lsnumber_per_eachLS"); int MaxLumDanila = LumLum->GetBinContent(LumLum->GetMaximumBin()); // old variant of Danila cout << " MaxLumDanila= " << MaxLumDanila << endl; -// gPad->SetGridy(); -// gPad->SetGridx(); + // gPad->SetGridy(); + // gPad->SetGridx(); LumLum->SetMarkerStyle(21); LumLum->SetMarkerSize(0.8); LumLum->GetYaxis()->SetLabelSize(0.04); @@ -201,7 +201,7 @@ int main(int argc, char *argv[]) { LumLum->SetMarkerColor(4); LumLum->SetLineColor(0); LumLum->SetMinimum(0.8); - LumLum->GetXaxis()->SetRangeUser(0, MaxLumDanila+5.); + LumLum->GetXaxis()->SetRangeUser(0, MaxLumDanila + 5.); LumLum->Draw("Error"); c1->cd(2); @@ -215,8 +215,8 @@ int main(int argc, char *argv[]) { } cout << " Nev in bin of MaxLum = " << MaxLum0 << " MaxLum= " << MaxLum << endl; -// gPad->SetGridy(); -// gPad->SetGridx(); + // gPad->SetGridy(); + // gPad->SetGridx(); gPad->SetLogy(); // gPad->SetLogx(); LumiEv->GetYaxis()->SetLabelSize(0.04); @@ -228,15 +228,12 @@ int main(int argc, char *argv[]) { LumiEv->SetMarkerColor(4); LumiEv->SetLineColor(0); LumiEv->SetMinimum(0.8); - LumiEv->GetXaxis()->SetRangeUser(0, MaxLum+5.); + LumiEv->GetXaxis()->SetRangeUser(0, MaxLum + 5.); LumiEv->Draw("Error"); - - c1->Update(); -// cHB->Print("LumiEvent.png"); -// cHB->Clear(); - + // cHB->Print("LumiEvent.png"); + // cHB->Clear(); //========================================================================================== 2 //====================================================================== @@ -244,14 +241,13 @@ int main(int argc, char *argv[]) { //================ //====================================================================== -// h_lsnumber_per_eachLS->Fill(float(lscounter), float(lumi)); -// h_nevents_per_eachLS->Fill(float(lscounter), float(nevcounter)); // -// h_nls_per_run->Fill(float(lscounterrun)); -// h_nevents_per_eachRealLS->Fill(float(lscounterM1), float(nevcounter)); // -// h_nevents_per_LS->Fill(float(nevcounter)); -// h_nevents_per_LSzoom->Fill(float(nevcounter)); -// h_nls_per_run10->Fill(float(lscounterrun10)); - + // h_lsnumber_per_eachLS->Fill(float(lscounter), float(lumi)); + // h_nevents_per_eachLS->Fill(float(lscounter), float(nevcounter)); // + // h_nls_per_run->Fill(float(lscounterrun)); + // h_nevents_per_eachRealLS->Fill(float(lscounterM1), float(nevcounter)); // + // h_nevents_per_LS->Fill(float(nevcounter)); + // h_nevents_per_LSzoom->Fill(float(nevcounter)); + // h_nls_per_run10->Fill(float(lscounterrun10)); c1->Clear(); c1->Divide(2, 4); @@ -260,8 +256,8 @@ int main(int argc, char *argv[]) { TH1F *MilMil = (TH1F *)dir->FindObjectAny("h_lsnumber_per_eachLS"); int MaxMilDanila = MilMil->GetBinContent(MilMil->GetMaximumBin()); // old variant of Danila cout << " MaxMilDanila= " << MaxMilDanila << endl; -// gPad->SetGridy(); -// gPad->SetGridx(); + // gPad->SetGridy(); + // gPad->SetGridx(); MilMil->GetYaxis()->SetLabelSize(0.04); MilMil->SetTitle("Cont. number per LS \b"); MilMil->SetXTitle("Cont.number \b"); @@ -285,8 +281,8 @@ int main(int argc, char *argv[]) { } cout << " MaxMil0= " << MaxMil0 << " MaxMil= " << MaxMil << endl; -// gPad->SetGridy(); -// gPad->SetGridx(); + // gPad->SetGridy(); + // gPad->SetGridx(); gPad->SetLogy(); // gPad->SetLogx(); MiliEv->GetYaxis()->SetLabelSize(0.04); @@ -312,9 +308,9 @@ int main(int argc, char *argv[]) { } cout << "nls_per_run = " << MaxGir0 << " Maxnls_per_run= " << MaxGir << endl; -// gPad->SetGridy(); -// gPad->SetGridx(); -// gPad->SetLogy(); + // gPad->SetGridy(); + // gPad->SetGridx(); + // gPad->SetLogy(); // gPad->SetLogx(); GiriEv->GetYaxis()->SetLabelSize(0.04); GiriEv->SetTitle("Number of LS per run"); @@ -339,8 +335,8 @@ int main(int argc, char *argv[]) { } cout << " MaxSum0= " << MaxSum0 << " MaxSum= " << MaxSum << endl; - gPad->SetGridy(); - gPad->SetGridx(); + gPad->SetGridy(); + gPad->SetGridx(); gPad->SetLogy(); // gPad->SetLogx(); SumiEv->GetYaxis()->SetLabelSize(0.04); @@ -424,7 +420,6 @@ int main(int argc, char *argv[]) { LediEv->GetXaxis()->SetRangeUser(0, MaxLed); LediEv->Draw("Error"); - c1->Update(); //====================================================================== diff --git a/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringALCARECOPSM.cc b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringALCARECOPSM.cc index 372ad89c74771..e0567b4426e6d 100644 --- a/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringALCARECOPSM.cc +++ b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringALCARECOPSM.cc @@ -1,9 +1,8 @@ // How to run: ./RemoteMonitoringALCARECOPSM.cc.exe root_file1 root_file_ref Global // // -// // - +// #include "LogEleMapdb.h" @@ -25,3868 +24,5334 @@ #include "TGraph.h" using namespace std; -int -main(int argc, char *argv[]){ +int main(int argc, char* argv[]) { std::string dirnm = "Analyzer"; gROOT->Reset(); gROOT->SetStyle("Plain"); gStyle->SetOptStat(0); gStyle->SetOptTitle(1); // ok change - if(argc<3) return 1; + if (argc < 3) + return 1; char fname[300]; char refname[300]; char runtypeC[300]; - sprintf(fname,"%s",argv[1]); - sprintf(refname,"%s",argv[2]); - sprintf(runtypeC,"%s",argv[3]); + sprintf(fname, "%s", argv[1]); + sprintf(refname, "%s", argv[2]); + sprintf(runtypeC, "%s", argv[3]); // std::cout<ls(); - TDirectory *dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str()); - + TDirectory* dir = (TDirectory*)hfile->FindObjectAny(dirnm.c_str()); + // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny - + //====================================================================== // Prepare histograms and plot them to .png files - + // Phi-symmetry for Calibration Group: - - TCanvas *c1x0 = new TCanvas("c1x0","c1x0",300,10,800,700); - - TCanvas *c1x1 = new TCanvas("c1x1","c1x1",100,10,600,700); - - TCanvas *c2x1 = new TCanvas("c2x1","c2x1",200,300,1600,800); - - TCanvas *c3x5 = new TCanvas("c3x5","c3x5",1000,1500); + + TCanvas* c1x0 = new TCanvas("c1x0", "c1x0", 300, 10, 800, 700); + + TCanvas* c1x1 = new TCanvas("c1x1", "c1x1", 100, 10, 600, 700); + + TCanvas* c2x1 = new TCanvas("c2x1", "c2x1", 200, 300, 1600, 800); + + TCanvas* c3x5 = new TCanvas("c3x5", "c3x5", 1000, 1500); // - - - char *str = (char*)alloca(10000); - + + char* str = (char*)alloca(10000); + // before upgrade 2017: // depth: HB depth1,2; HE depth1,2,3; HO depth4; HF depth1,2 // 5 depthes: 0(empty), 1,2,3,4 - + // upgrade 2017: // depth: HB depth1,2; HE depth1,2,3,4,5,6,7; HO depth4; HF depth1,2,3,4 // 8 depthes: 0(empty), 1,2,3,4,5,6,7 - + // upgrade 2021: // depth: HB depth1,2,3,4; HE depth1,2,3,4,5,6,7; HO depth4; HF depth1,2,3,4 // 10 depthes: 0(empty), 1,2,3,4,5,6,7,8,9 - + // Int_t ALLDEPTH = 5; // Int_t ALLDEPTH = 8; Int_t ALLDEPTH = 10; - - int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet - // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet - // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet - int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + + int k_min[5] = {0, 1, 1, 4, 1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + int k_max[5] = {0, 4, 7, 4, 4}; // maximum depth for each subdet /////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - const int nsub = 4; const int neta = 82; const int nphi = 72; - int njeta = neta; int njphi = nphi; - //const int ndepth = 7; + + const int nsub = 4; + const int neta = 82; + const int nphi = 72; + int njeta = neta; + int njphi = nphi; + //const int ndepth = 7; int ndepth; ///////////// ///////////// ////////////////////////// ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: ///////////// ///////////// ////////////////////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: ///////////// ///////////// ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: - - - - - ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start - ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start - ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 4; - double arecosignalHB[ndepth][njeta][njphi]; - double recosignalvarianceHB[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double arecosignalHB[ndepth][njeta][njphi]; + double recosignalvarianceHB[ndepth][njeta][njphi]; // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HB recSignalEnergy - TH2F *recSignalEnergy1HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB1"); - TH2F *recSignalEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + TH2F* recSignalEnergy1HB1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB1"); + TH2F* recSignalEnergy0HB1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); TH2F* recSignalEnergyHB1 = (TH2F*)recSignalEnergy1HB1->Clone("recSignalEnergyHB1"); - recSignalEnergyHB1->Divide(recSignalEnergy1HB1,recSignalEnergy0HB1, 1, 1, "B"); - TH2F *recSignalEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB2"); - TH2F *recSignalEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + recSignalEnergyHB1->Divide(recSignalEnergy1HB1, recSignalEnergy0HB1, 1, 1, "B"); + TH2F* recSignalEnergy1HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB2"); + TH2F* recSignalEnergy0HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); TH2F* recSignalEnergyHB2 = (TH2F*)recSignalEnergy1HB2->Clone("recSignalEnergyHB2"); - recSignalEnergyHB2->Divide(recSignalEnergy1HB2,recSignalEnergy0HB2, 1, 1, "B"); - TH2F *recSignalEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB3"); - TH2F *recSignalEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + recSignalEnergyHB2->Divide(recSignalEnergy1HB2, recSignalEnergy0HB2, 1, 1, "B"); + TH2F* recSignalEnergy1HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB3"); + TH2F* recSignalEnergy0HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); TH2F* recSignalEnergyHB3 = (TH2F*)recSignalEnergy1HB3->Clone("recSignalEnergyHB3"); - recSignalEnergyHB3->Divide(recSignalEnergy1HB3,recSignalEnergy0HB3, 1, 1, "B"); - TH2F *recSignalEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB4"); - TH2F *recSignalEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + recSignalEnergyHB3->Divide(recSignalEnergy1HB3, recSignalEnergy0HB3, 1, 1, "B"); + TH2F* recSignalEnergy1HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB4"); + TH2F* recSignalEnergy0HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); TH2F* recSignalEnergyHB4 = (TH2F*)recSignalEnergy1HB4->Clone("recSignalEnergyHB4"); - recSignalEnergyHB4->Divide(recSignalEnergy1HB4,recSignalEnergy0HB4, 1, 1, "B"); - for(int jeta=0;jetaDivide(recSignalEnergy1HB4, recSignalEnergy0HB4, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { //====================================================================== PHI normalization & put R into massive arecosignalHB //preparation for PHI normalization: - double sumrecosignalHB0=0;int nsumrecosignalHB0=0;double sumrecosignalHB1=0;int nsumrecosignalHB1=0;double sumrecosignalHB2=0;int nsumrecosignalHB2=0;double sumrecosignalHB3=0;int nsumrecosignalHB3=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - arecosignalHB[1][jeta][jphi] = recSignalEnergyHB2->GetBinContent(jeta+1,jphi+1); - arecosignalHB[2][jeta][jphi] = recSignalEnergyHB3->GetBinContent(jeta+1,jphi+1); - arecosignalHB[3][jeta][jphi] = recSignalEnergyHB4->GetBinContent(jeta+1,jphi+1); - if(arecosignalHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += arecosignalHB[0][jeta][jphi];++nsumrecosignalHB0;} - if(arecosignalHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += arecosignalHB[1][jeta][jphi];++nsumrecosignalHB1;} - if(arecosignalHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += arecosignalHB[2][jeta][jphi];++nsumrecosignalHB2;} - if(arecosignalHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += arecosignalHB[3][jeta][jphi];++nsumrecosignalHB3;} - }// phi + double sumrecosignalHB0 = 0; + int nsumrecosignalHB0 = 0; + double sumrecosignalHB1 = 0; + int nsumrecosignalHB1 = 0; + double sumrecosignalHB2 = 0; + int nsumrecosignalHB2 = 0; + double sumrecosignalHB3 = 0; + int nsumrecosignalHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + arecosignalHB[0][jeta][jphi] = recSignalEnergyHB1->GetBinContent(jeta + 1, jphi + 1); + arecosignalHB[1][jeta][jphi] = recSignalEnergyHB2->GetBinContent(jeta + 1, jphi + 1); + arecosignalHB[2][jeta][jphi] = recSignalEnergyHB3->GetBinContent(jeta + 1, jphi + 1); + arecosignalHB[3][jeta][jphi] = recSignalEnergyHB4->GetBinContent(jeta + 1, jphi + 1); + if (arecosignalHB[0][jeta][jphi] > 0.) { + sumrecosignalHB0 += arecosignalHB[0][jeta][jphi]; + ++nsumrecosignalHB0; + } + if (arecosignalHB[1][jeta][jphi] > 0.) { + sumrecosignalHB1 += arecosignalHB[1][jeta][jphi]; + ++nsumrecosignalHB1; + } + if (arecosignalHB[2][jeta][jphi] > 0.) { + sumrecosignalHB2 += arecosignalHB[2][jeta][jphi]; + ++nsumrecosignalHB2; + } + if (arecosignalHB[3][jeta][jphi] > 0.) { + sumrecosignalHB3 += arecosignalHB[3][jeta][jphi]; + ++nsumrecosignalHB3; + } + } // phi // PHI normalization: - for(int jphi=0;jphi 0.) arecosignalHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; - if(arecosignalHB[1][jeta][jphi] > 0.) arecosignalHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; - if(arecosignalHB[2][jeta][jphi] > 0.) arecosignalHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; - if(arecosignalHB[3][jeta][jphi] > 0.) arecosignalHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; - }// phi - }//eta + for (int jphi = 0; jphi < njphi; jphi++) { + if (arecosignalHB[0][jeta][jphi] > 0.) + arecosignalHB[0][jeta][jphi] /= (sumrecosignalHB0 / nsumrecosignalHB0); + if (arecosignalHB[1][jeta][jphi] > 0.) + arecosignalHB[1][jeta][jphi] /= (sumrecosignalHB1 / nsumrecosignalHB1); + if (arecosignalHB[2][jeta][jphi] > 0.) + arecosignalHB[2][jeta][jphi] /= (sumrecosignalHB2 / nsumrecosignalHB2); + if (arecosignalHB[3][jeta][jphi] > 0.) + arecosignalHB[3][jeta][jphi] /= (sumrecosignalHB3 / nsumrecosignalHB3); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthfs //====================================================================== //====================================================================== //cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRrecosignalHB42D = new TH2F("GefzRrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRrecosignalHB42D0 = new TH2F("GefzRrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHB42D = new TH2F("GefzRrecosignalHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRrecosignalHB42D0 = new TH2F("GefzRrecosignalHB42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRrecosignalHB42DF = (TH2F*)GefzRrecosignalHB42D0->Clone("GefzRrecosignalHB42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRrecosignalHB42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHB42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRrecosignalHB42DF->Divide(GefzRrecosignalHB42D,GefzRrecosignalHB42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHB42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHB42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRrecosignalHB42D->Fill(kkk, jphi, ccc1); + GefzRrecosignalHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRrecosignalHB42DF->Divide(GefzRrecosignalHB42D, GefzRrecosignalHB42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB42DF->SetXTitle("_depth #eta \b"); + GefzRrecosignalHB42DF->SetYTitle(" #phi \b"); GefzRrecosignalHB42DF->Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitSignal_HB= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HB"); - energyhitSignal_HB ->SetMarkerStyle(20);energyhitSignal_HB ->SetMarkerSize(0.4);energyhitSignal_HB ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HB ->SetXTitle("energyhitSignal_HB \b");energyhitSignal_HB ->SetMarkerColor(2);energyhitSignal_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HB ->Draw("Error"); + TH1F* energyhitSignal_HB = (TH1F*)dir->FindObjectAny("h_energyhitSignal_HB"); + energyhitSignal_HB->SetMarkerStyle(20); + energyhitSignal_HB->SetMarkerSize(0.4); + energyhitSignal_HB->GetYaxis()->SetLabelSize(0.04); + energyhitSignal_HB->SetXTitle("energyhitSignal_HB \b"); + energyhitSignal_HB->SetMarkerColor(2); + energyhitSignal_HB->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitSignal_HB->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RrecosignalGeneralD2PhiSymmetryHB.png"); c2x1->Clear(); // clean-up - if (GefzRrecosignalHB42D) delete GefzRrecosignalHB42D; - if (GefzRrecosignalHB42D0) delete GefzRrecosignalHB42D0; - if (GefzRrecosignalHB42DF) delete GefzRrecosignalHB42DF; + if (GefzRrecosignalHB42D) + delete GefzRrecosignalHB42D; + if (GefzRrecosignalHB42D0) + delete GefzRrecosignalHB42D0; + if (GefzRrecosignalHB42DF) + delete GefzRrecosignalHB42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRrecosignalHB41D = new TH1F("GefzRrecosignalHB41D","", nphi, 0., 72. ); - TH1F* GefzRrecosignalHB41D0 = new TH1F("GefzRrecosignalHB41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHB41D = new TH1F("GefzRrecosignalHB41D", "", nphi, 0., 72.); + TH1F* GefzRrecosignalHB41D0 = new TH1F("GefzRrecosignalHB41D0", "", nphi, 0., 72.); TH1F* GefzRrecosignalHB41DF = (TH1F*)GefzRrecosignalHB41D0->Clone("GefzRrecosignalHB41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHB41D0 ->Fill(jphi,1.); } - }}} - GefzRrecosignalHB41DF->Divide(GefzRrecosignalHB41D,GefzRrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRrecosignalHB41D->Fill(jphi, ccc1); + GefzRrecosignalHB41D0->Fill(jphi, 1.); + } + } + } + } + GefzRrecosignalHB41DF->Divide( + GefzRrecosignalHB41D, GefzRrecosignalHB41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRrecosignalHB41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHB41DF->SetMarkerStyle(20); GefzRrecosignalHB41DF->SetMarkerSize(1.4); GefzRrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHB41DF->SetXTitle("#phi \b"); GefzRrecosignalHB41DF->SetYTitle(" \b"); GefzRrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHB41DF->SetMarkerColor(4); GefzRrecosignalHB41DF->SetLineColor(4);// GefzRrecosignalHB41DF->SetMinimum(0.8); // GefzRrecosignalHB41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB41DF->SetMarkerStyle(20); + GefzRrecosignalHB41DF->SetMarkerSize(1.4); + GefzRrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); + GefzRrecosignalHB41DF->SetXTitle("#phi \b"); + GefzRrecosignalHB41DF->SetYTitle(" \b"); + GefzRrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRrecosignalHB41DF->SetMarkerColor(4); + GefzRrecosignalHB41DF->SetLineColor( + 4); // GefzRrecosignalHB41DF->SetMinimum(0.8); // GefzRrecosignalHB41DF->SetMaximum(1.000); GefzRrecosignalHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RrecosignalGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (GefzRrecosignalHB41D) delete GefzRrecosignalHB41D; - if (GefzRrecosignalHB41D0) delete GefzRrecosignalHB41D0; - if (GefzRrecosignalHB41DF) delete GefzRrecosignalHB41DF; - //========================================================================================== 4 + if (GefzRrecosignalHB41D) + delete GefzRrecosignalHB41D; + if (GefzRrecosignalHB41D0) + delete GefzRrecosignalHB41D0; + if (GefzRrecosignalHB41DF) + delete GefzRrecosignalHB41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionRecosignal1=1; - TH1F* h2CeffHBpositivedirectionRecosignal1 = new TH1F("h2CeffHBpositivedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBpositivedirectionRecosignal1 = "<SetMarkerColor(2);HBpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal1 == 1) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 2) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 3) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 4) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 5) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 6) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 7) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 8) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 9) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==10) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==11) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==12) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==13) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==14) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==15) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==16) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionRecosignal1->Draw("Error"); - kcountHBpositivedirectionRecosignal1++; - if(kcountHBpositivedirectionRecosignal1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBpositivedirectionRecosignal1 = (TH1F*)h2CeffHBpositivedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBpositivedirectionRecosignal1 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal1 == 1) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 2) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 3) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 4) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 5) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 6) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 7) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 8) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 9) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 10) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 11) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 12) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 13) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 14) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 15) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 16) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignal1->Draw("Error"); + kcountHBpositivedirectionRecosignal1++; + if (kcountHBpositivedirectionRecosignal1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal1) delete h2CeffHBpositivedirectionRecosignal1; - + if (h2CeffHBpositivedirectionRecosignal1) + delete h2CeffHBpositivedirectionRecosignal1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignal2=1; - TH1F* h2CeffHBpositivedirectionRecosignal2 = new TH1F("h2CeffHBpositivedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBpositivedirectionRecosignal2 = "<SetMarkerColor(2);HBpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal2 == 1) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 2) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 3) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 4) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 5) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 6) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 7) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 8) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 9) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==10) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==11) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==12) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==13) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==14) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==15) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==16) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionRecosignal2->Draw("Error"); - kcountHBpositivedirectionRecosignal2++; - if(kcountHBpositivedirectionRecosignal2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal2 = 1; + TH1F* h2CeffHBpositivedirectionRecosignal2 = new TH1F("h2CeffHBpositivedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBpositivedirectionRecosignal2 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal2 == 1) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 2) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 3) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 4) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 5) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 6) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 7) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 8) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 9) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 10) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 11) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 12) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 13) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 14) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 15) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 16) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignal2->Draw("Error"); + kcountHBpositivedirectionRecosignal2++; + if (kcountHBpositivedirectionRecosignal2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal2) delete h2CeffHBpositivedirectionRecosignal2; - //========================================================================================== 6 + if (h2CeffHBpositivedirectionRecosignal2) + delete h2CeffHBpositivedirectionRecosignal2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignal3=1; - TH1F* h2CeffHBpositivedirectionRecosignal3 = new TH1F("h2CeffHBpositivedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBpositivedirectionRecosignal3 = "<SetMarkerColor(2);HBpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal3 == 1) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 2) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 3) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 4) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 5) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 6) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 7) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 8) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 9) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==10) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==11) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==12) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==13) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==14) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==15) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==16) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionRecosignal3->Draw("Error"); - kcountHBpositivedirectionRecosignal3++; - if(kcountHBpositivedirectionRecosignal3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal3 = 1; + TH1F* h2CeffHBpositivedirectionRecosignal3 = new TH1F("h2CeffHBpositivedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBpositivedirectionRecosignal3 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal3 == 1) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 2) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 3) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 4) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 5) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 6) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 7) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 8) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 9) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 10) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 11) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 12) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 13) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 14) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 15) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 16) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignal3->Draw("Error"); + kcountHBpositivedirectionRecosignal3++; + if (kcountHBpositivedirectionRecosignal3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal3) delete h2CeffHBpositivedirectionRecosignal3; - //========================================================================================== 7 + if (h2CeffHBpositivedirectionRecosignal3) + delete h2CeffHBpositivedirectionRecosignal3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignal4=1; - TH1F* h2CeffHBpositivedirectionRecosignal4 = new TH1F("h2CeffHBpositivedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBpositivedirectionRecosignal4 = "<SetMarkerColor(2);HBpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal4 == 1) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 2) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 3) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 4) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 5) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 6) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 7) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 8) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 9) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==10) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==11) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==12) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==13) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==14) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==15) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==16) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionRecosignal4->Draw("Error"); - kcountHBpositivedirectionRecosignal4++; - if(kcountHBpositivedirectionRecosignal4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal4 = 1; + TH1F* h2CeffHBpositivedirectionRecosignal4 = new TH1F("h2CeffHBpositivedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBpositivedirectionRecosignal4 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal4 == 1) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 2) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 3) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 4) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 5) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 6) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 7) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 8) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 9) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 10) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 11) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 12) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 13) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 14) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 15) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 16) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignal4->Draw("Error"); + kcountHBpositivedirectionRecosignal4++; + if (kcountHBpositivedirectionRecosignal4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal4) delete h2CeffHBpositivedirectionRecosignal4; + if (h2CeffHBpositivedirectionRecosignal4) + delete h2CeffHBpositivedirectionRecosignal4; - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionRecosignal1=1; - TH1F* h2CeffHBnegativedirectionRecosignal1 = new TH1F("h2CeffHBnegativedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBnegativedirectionRecosignal1 = "<SetMarkerColor(2);HBnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal1 == 1) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 2) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 3) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 4) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 5) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 6) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 7) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 8) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 9) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==10) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==11) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==12) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==13) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==14) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==15) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==16) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionRecosignal1->Draw("Error"); - kcountHBnegativedirectionRecosignal1++; - if(kcountHBnegativedirectionRecosignal1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBnegativedirectionRecosignal1 = (TH1F*)h2CeffHBnegativedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBnegativedirectionRecosignal1 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal1 == 1) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 2) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 3) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 4) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 5) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 6) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 7) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 8) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 9) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 10) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 11) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 12) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 13) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 14) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 15) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 16) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignal1->Draw("Error"); + kcountHBnegativedirectionRecosignal1++; + if (kcountHBnegativedirectionRecosignal1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal1) delete h2CeffHBnegativedirectionRecosignal1; - + if (h2CeffHBnegativedirectionRecosignal1) + delete h2CeffHBnegativedirectionRecosignal1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignal2=1; - TH1F* h2CeffHBnegativedirectionRecosignal2 = new TH1F("h2CeffHBnegativedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBnegativedirectionRecosignal2 = "<SetMarkerColor(2);HBnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal2 == 1) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 2) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 3) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 4) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 5) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 6) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 7) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 8) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 9) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==10) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==11) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==12) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==13) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==14) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==15) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==16) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); - HBnegativedirectionRecosignal2->Draw("Error"); - kcountHBnegativedirectionRecosignal2++; - if(kcountHBnegativedirectionRecosignal2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal2 = 1; + TH1F* h2CeffHBnegativedirectionRecosignal2 = new TH1F("h2CeffHBnegativedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBnegativedirectionRecosignal2 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal2 == 1) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 2) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 3) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 4) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 5) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 6) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 7) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 8) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 9) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 10) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 11) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 12) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 13) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 14) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 15) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 16) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionRecosignal2->Draw("Error"); + kcountHBnegativedirectionRecosignal2++; + if (kcountHBnegativedirectionRecosignal2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal2) delete h2CeffHBnegativedirectionRecosignal2; - //========================================================================================== 1116 + if (h2CeffHBnegativedirectionRecosignal2) + delete h2CeffHBnegativedirectionRecosignal2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignal3=1; - TH1F* h2CeffHBnegativedirectionRecosignal3 = new TH1F("h2CeffHBnegativedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBnegativedirectionRecosignal3 = "<SetMarkerColor(2);HBnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal3 == 1) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 2) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 3) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 4) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 5) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 6) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 7) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 8) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 9) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==10) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==11) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==12) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==13) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==14) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==15) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==16) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); - - HBnegativedirectionRecosignal3->Draw("Error"); - kcountHBnegativedirectionRecosignal3++; - if(kcountHBnegativedirectionRecosignal3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal3 = 1; + TH1F* h2CeffHBnegativedirectionRecosignal3 = new TH1F("h2CeffHBnegativedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBnegativedirectionRecosignal3 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal3 == 1) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 2) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 3) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 4) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 5) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 6) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 7) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 8) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 9) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 10) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 11) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 12) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 13) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 14) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 15) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 16) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionRecosignal3->Draw("Error"); + kcountHBnegativedirectionRecosignal3++; + if (kcountHBnegativedirectionRecosignal3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal3) delete h2CeffHBnegativedirectionRecosignal3; - //========================================================================================== 1117 + if (h2CeffHBnegativedirectionRecosignal3) + delete h2CeffHBnegativedirectionRecosignal3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignal4=1; - TH1F* h2CeffHBnegativedirectionRecosignal4 = new TH1F("h2CeffHBnegativedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBnegativedirectionRecosignal4 = "<SetMarkerColor(2);HBnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal4 == 1) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 2) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 3) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 4) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 5) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 6) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 7) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 8) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 9) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==10) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==11) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==12) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==13) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==14) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==15) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==16) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); - HBnegativedirectionRecosignal4->Draw("Error"); - kcountHBnegativedirectionRecosignal4++; - if(kcountHBnegativedirectionRecosignal4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal4 = 1; + TH1F* h2CeffHBnegativedirectionRecosignal4 = new TH1F("h2CeffHBnegativedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBnegativedirectionRecosignal4 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal4 == 1) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 2) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 3) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 4) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 5) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 6) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 7) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 8) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 9) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 10) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 11) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 12) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 13) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 14) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 15) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 16) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionRecosignal4->Draw("Error"); + kcountHBnegativedirectionRecosignal4++; + if (kcountHBnegativedirectionRecosignal4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal4) delete h2CeffHBnegativedirectionRecosignal4; + if (h2CeffHBnegativedirectionRecosignal4) + delete h2CeffHBnegativedirectionRecosignal4; //====================================================================================================================== //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HB1"); - TH2F *recosignalVariance0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HB1"); + TH2F* recosignalVariance0HB1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); TH2F* recosignalVarianceHB1 = (TH2F*)recosignalVariance1HB1->Clone("recosignalVarianceHB1"); - recosignalVarianceHB1->Divide(recosignalVariance1HB1,recosignalVariance0HB1, 1, 1, "B"); - TH2F *recosignalVariance1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB2"); - TH2F *recosignalVariance0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + recosignalVarianceHB1->Divide(recosignalVariance1HB1, recosignalVariance0HB1, 1, 1, "B"); + TH2F* recosignalVariance1HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB2"); + TH2F* recosignalVariance0HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); TH2F* recosignalVarianceHB2 = (TH2F*)recosignalVariance1HB2->Clone("recosignalVarianceHB2"); - recosignalVarianceHB2->Divide(recosignalVariance1HB2,recosignalVariance0HB2, 1, 1, "B"); - TH2F *recosignalVariance1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB3"); - TH2F *recosignalVariance0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + recosignalVarianceHB2->Divide(recosignalVariance1HB2, recosignalVariance0HB2, 1, 1, "B"); + TH2F* recosignalVariance1HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB3"); + TH2F* recosignalVariance0HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); TH2F* recosignalVarianceHB3 = (TH2F*)recosignalVariance1HB3->Clone("recosignalVarianceHB3"); - recosignalVarianceHB3->Divide(recosignalVariance1HB3,recosignalVariance0HB3, 1, 1, "B"); - TH2F *recosignalVariance1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB4"); - TH2F *recosignalVariance0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + recosignalVarianceHB3->Divide(recosignalVariance1HB3, recosignalVariance0HB3, 1, 1, "B"); + TH2F* recosignalVariance1HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB4"); + TH2F* recosignalVariance0HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); TH2F* recosignalVarianceHB4 = (TH2F*)recosignalVariance1HB4->Clone("recosignalVarianceHB4"); - recosignalVarianceHB4->Divide(recosignalVariance1HB4,recosignalVariance0HB4, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHB - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - recosignalvarianceHB[1][jeta][jphi] = recosignalVarianceHB2->GetBinContent(jeta+1,jphi+1); - recosignalvarianceHB[2][jeta][jphi] = recosignalVarianceHB3->GetBinContent(jeta+1,jphi+1); - recosignalvarianceHB[3][jeta][jphi] = recosignalVarianceHB4->GetBinContent(jeta+1,jphi+1); - if(recosignalvarianceHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += recosignalvarianceHB[0][jeta][jphi];++nsumrecosignalHB0;} - if(recosignalvarianceHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += recosignalvarianceHB[1][jeta][jphi];++nsumrecosignalHB1;} - if(recosignalvarianceHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += recosignalvarianceHB[2][jeta][jphi];++nsumrecosignalHB2;} - if(recosignalvarianceHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += recosignalvarianceHB[3][jeta][jphi];++nsumrecosignalHB3;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) recosignalvarianceHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; - if(recosignalvarianceHB[1][jeta][jphi] > 0.) recosignalvarianceHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; - if(recosignalvarianceHB[2][jeta][jphi] > 0.) recosignalvarianceHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; - if(recosignalvarianceHB[3][jeta][jphi] > 0.) recosignalvarianceHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; - }// phi - // recosignalvarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive recosignalvarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumrecosignalHB0 = 0; + int nsumrecosignalHB0 = 0; + double sumrecosignalHB1 = 0; + int nsumrecosignalHB1 = 0; + double sumrecosignalHB2 = 0; + int nsumrecosignalHB2 = 0; + double sumrecosignalHB3 = 0; + int nsumrecosignalHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + recosignalvarianceHB[0][jeta][jphi] = recosignalVarianceHB1->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHB[1][jeta][jphi] = recosignalVarianceHB2->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHB[2][jeta][jphi] = recosignalVarianceHB3->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHB[3][jeta][jphi] = recosignalVarianceHB4->GetBinContent(jeta + 1, jphi + 1); + if (recosignalvarianceHB[0][jeta][jphi] > 0.) { + sumrecosignalHB0 += recosignalvarianceHB[0][jeta][jphi]; + ++nsumrecosignalHB0; + } + if (recosignalvarianceHB[1][jeta][jphi] > 0.) { + sumrecosignalHB1 += recosignalvarianceHB[1][jeta][jphi]; + ++nsumrecosignalHB1; + } + if (recosignalvarianceHB[2][jeta][jphi] > 0.) { + sumrecosignalHB2 += recosignalvarianceHB[2][jeta][jphi]; + ++nsumrecosignalHB2; + } + if (recosignalvarianceHB[3][jeta][jphi] > 0.) { + sumrecosignalHB3 += recosignalvarianceHB[3][jeta][jphi]; + ++nsumrecosignalHB3; } - //cout<<" Vaiance: DONE*****" < 0.) + recosignalvarianceHB[0][jeta][jphi] /= (sumrecosignalHB0 / nsumrecosignalHB0); + if (recosignalvarianceHB[1][jeta][jphi] > 0.) + recosignalvarianceHB[1][jeta][jphi] /= (sumrecosignalHB1 / nsumrecosignalHB1); + if (recosignalvarianceHB[2][jeta][jphi] > 0.) + recosignalvarianceHB[2][jeta][jphi] /= (sumrecosignalHB2 / nsumrecosignalHB2); + if (recosignalvarianceHB[3][jeta][jphi] > 0.) + recosignalvarianceHB[3][jeta][jphi] /= (sumrecosignalHB3 / nsumrecosignalHB3); + } // phi + // recosignalvarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDrecosignalHB42D = new TH2F("DefzDrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHB42D0 = new TH2F("DefzDrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHB42DF = (TH2F*)DefzDrecosignalHB42D0->Clone("DefzDrecosignalHB42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(arecosignalHB[i][jeta][jphi]>0.) {DefzDrecosignalHB42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHB42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDrecosignalHB42DF->Divide(DefzDrecosignalHB42D,DefzDrecosignalHB42D0, 1, 1, "B");// average A - // DefzDrecosignalHB1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHB42DF->SetMarkerStyle(20); DefzDrecosignalHB42DF->SetMarkerSize(0.4); DefzDrecosignalHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHB42DF->SetYTitle(" #phi \b"); DefzDrecosignalHB42DF->SetZTitle("_depth \b"); DefzDrecosignalHB42DF->SetMarkerColor(2); DefzDrecosignalHB42DF->SetLineColor(0); // DefzDrecosignalHB42DF->SetMaximum(1.000); // DefzDrecosignalHB42DF->SetMinimum(1.0); - DefzDrecosignalHB42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DrecosignalGeneralD2PhiSymmetryHB.png"); - c1x0->Clear(); - // clean-up - if (DefzDrecosignalHB42D) delete DefzDrecosignalHB42D; - if (DefzDrecosignalHB42D0) delete DefzDrecosignalHB42D0; - if (DefzDrecosignalHB42DF) delete DefzDrecosignalHB42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDrecosignalHB42D = new TH2F("DefzDrecosignalHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHB42D0 = new TH2F("DefzDrecosignalHB42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHB42DF = (TH2F*)DefzDrecosignalHB42D0->Clone("DefzDrecosignalHB42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (arecosignalHB[i][jeta][jphi] > 0.) { + DefzDrecosignalHB42D->Fill(kkk, jphi, ccc1); + DefzDrecosignalHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDrecosignalHB42DF->Divide(DefzDrecosignalHB42D, DefzDrecosignalHB42D0, 1, 1, "B"); // average A + // DefzDrecosignalHB1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB42DF->SetMarkerStyle(20); + DefzDrecosignalHB42DF->SetMarkerSize(0.4); + DefzDrecosignalHB42DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHB42DF->SetXTitle("_depth #eta \b"); + DefzDrecosignalHB42DF->SetYTitle(" #phi \b"); + DefzDrecosignalHB42DF->SetZTitle("_depth \b"); + DefzDrecosignalHB42DF->SetMarkerColor(2); + DefzDrecosignalHB42DF->SetLineColor( + 0); // DefzDrecosignalHB42DF->SetMaximum(1.000); // DefzDrecosignalHB42DF->SetMinimum(1.0); + DefzDrecosignalHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHB42D) + delete DefzDrecosignalHB42D; + if (DefzDrecosignalHB42D0) + delete DefzDrecosignalHB42D0; + if (DefzDrecosignalHB42DF) + delete DefzDrecosignalHB42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDrecosignalHB41D = new TH1F("DefzDrecosignalHB41D","", nphi, 0., 72. ); - TH1F* DefzDrecosignalHB41D0 = new TH1F("DefzDrecosignalHB41D0","",nphi, 0., 72. ); - TH1F* DefzDrecosignalHB41DF = (TH1F*)DefzDrecosignalHB41D0->Clone("DefzDrecosignalHB41DF"); - - for (int jphi=0;jphi0.) {DefzDrecosignalHB41D ->Fill(jphi,ccc1); DefzDrecosignalHB41D0 ->Fill(jphi,1.); } - }}} - // DefzDrecosignalHB41D->Sumw2();DefzDrecosignalHB41D0->Sumw2(); - - DefzDrecosignalHB41DF->Divide(DefzDrecosignalHB41D,DefzDrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDrecosignalHB41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHB41DF->SetMarkerStyle(20); DefzDrecosignalHB41DF->SetMarkerSize(1.4); DefzDrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB41DF->SetXTitle("#phi \b"); DefzDrecosignalHB41DF->SetYTitle(" \b"); DefzDrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHB41DF->SetMarkerColor(4); DefzDrecosignalHB41DF->SetLineColor(4);// DefzDrecosignalHB41DF->SetMinimum(0.8); DefzDrecosignalHB41DF->SetMinimum(-0.015); - DefzDrecosignalHB41DF->Draw("Error"); + TH1F* DefzDrecosignalHB41D = new TH1F("DefzDrecosignalHB41D", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHB41D0 = new TH1F("DefzDrecosignalHB41D0", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHB41DF = (TH1F*)DefzDrecosignalHB41D0->Clone("DefzDrecosignalHB41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + DefzDrecosignalHB41D->Fill(jphi, ccc1); + DefzDrecosignalHB41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDrecosignalHB41D->Sumw2();DefzDrecosignalHB41D0->Sumw2(); + + DefzDrecosignalHB41DF->Divide( + DefzDrecosignalHB41D, DefzDrecosignalHB41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDrecosignalHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB41DF->SetMarkerStyle(20); + DefzDrecosignalHB41DF->SetMarkerSize(1.4); + DefzDrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHB41DF->SetXTitle("#phi \b"); + DefzDrecosignalHB41DF->SetYTitle(" \b"); + DefzDrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDrecosignalHB41DF->SetMarkerColor(4); + DefzDrecosignalHB41DF->SetLineColor( + 4); // DefzDrecosignalHB41DF->SetMinimum(0.8); DefzDrecosignalHB41DF->SetMinimum(-0.015); + DefzDrecosignalHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DrecosignalGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (DefzDrecosignalHB41D) delete DefzDrecosignalHB41D; - if (DefzDrecosignalHB41D0) delete DefzDrecosignalHB41D0; - if (DefzDrecosignalHB41DF) delete DefzDrecosignalHB41DF; + if (DefzDrecosignalHB41D) + delete DefzDrecosignalHB41D; + if (DefzDrecosignalHB41D0) + delete DefzDrecosignalHB41D0; + if (DefzDrecosignalHB41DF) + delete DefzDrecosignalHB41DF; - //========================================================================================== 14 + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD1=1; - TH1F* h2CeffHBpositivedirectionRecosignalD1 = new TH1F("h2CeffHBpositivedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD1 == 1) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 2) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 3) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 4) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 5) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 6) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 7) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 8) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 9) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==10) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==11) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==12) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==13) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==14) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==15) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==16) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionRecosignalD1->Draw("Error"); - kcountHBpositivedirectionRecosignalD1++; - if(kcountHBpositivedirectionRecosignalD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD1 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD1 = new TH1F("h2CeffHBpositivedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBpositivedirectionRecosignalD1 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD1 == 1) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 2) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 3) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 4) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 5) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 6) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 7) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 8) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 9) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 10) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 11) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 12) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 13) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 14) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 15) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 16) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignalD1->Draw("Error"); + kcountHBpositivedirectionRecosignalD1++; + if (kcountHBpositivedirectionRecosignalD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD1) delete h2CeffHBpositivedirectionRecosignalD1; - //========================================================================================== 15 + if (h2CeffHBpositivedirectionRecosignalD1) + delete h2CeffHBpositivedirectionRecosignalD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD2=1; - TH1F* h2CeffHBpositivedirectionRecosignalD2 = new TH1F("h2CeffHBpositivedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD2 == 1) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 2) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 3) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 4) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 5) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 6) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 7) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 8) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 9) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==10) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==11) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==12) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==13) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==14) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==15) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==16) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionRecosignalD2->Draw("Error"); - kcountHBpositivedirectionRecosignalD2++; - if(kcountHBpositivedirectionRecosignalD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD2 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD2 = new TH1F("h2CeffHBpositivedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBpositivedirectionRecosignalD2 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD2 == 1) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 2) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 3) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 4) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 5) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 6) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 7) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 8) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 9) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 10) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 11) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 12) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 13) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 14) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 15) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 16) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignalD2->Draw("Error"); + kcountHBpositivedirectionRecosignalD2++; + if (kcountHBpositivedirectionRecosignalD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD2) delete h2CeffHBpositivedirectionRecosignalD2; - //========================================================================================== 16 + if (h2CeffHBpositivedirectionRecosignalD2) + delete h2CeffHBpositivedirectionRecosignalD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD3=1; - TH1F* h2CeffHBpositivedirectionRecosignalD3 = new TH1F("h2CeffHBpositivedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD3 == 1) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 2) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 3) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 4) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 5) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 6) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 7) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 8) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 9) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==10) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==11) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==12) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==13) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==14) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==15) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==16) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionRecosignalD3->Draw("Error"); - kcountHBpositivedirectionRecosignalD3++; - if(kcountHBpositivedirectionRecosignalD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD3 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD3 = new TH1F("h2CeffHBpositivedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBpositivedirectionRecosignalD3 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD3 == 1) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 2) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 3) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 4) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 5) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 6) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 7) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 8) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 9) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 10) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 11) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 12) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 13) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 14) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 15) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 16) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignalD3->Draw("Error"); + kcountHBpositivedirectionRecosignalD3++; + if (kcountHBpositivedirectionRecosignalD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD3) delete h2CeffHBpositivedirectionRecosignalD3; - //========================================================================================== 17 + if (h2CeffHBpositivedirectionRecosignalD3) + delete h2CeffHBpositivedirectionRecosignalD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD4=1; - TH1F* h2CeffHBpositivedirectionRecosignalD4 = new TH1F("h2CeffHBpositivedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD4 == 1) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 2) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 3) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 4) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 5) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 6) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 7) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 8) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 9) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==10) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==11) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==12) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==13) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==14) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==15) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==16) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionRecosignalD4->Draw("Error"); - kcountHBpositivedirectionRecosignalD4++; - if(kcountHBpositivedirectionRecosignalD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD4 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD4 = new TH1F("h2CeffHBpositivedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBpositivedirectionRecosignalD4 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD4 == 1) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 2) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 3) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 4) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 5) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 6) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 7) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 8) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 9) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 10) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 11) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 12) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 13) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 14) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 15) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 16) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignalD4->Draw("Error"); + kcountHBpositivedirectionRecosignalD4++; + if (kcountHBpositivedirectionRecosignalD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD4) delete h2CeffHBpositivedirectionRecosignalD4; + if (h2CeffHBpositivedirectionRecosignalD4) + delete h2CeffHBpositivedirectionRecosignalD4; - - //========================================================================================== 22214 + //========================================================================================== 22214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD1=1; - TH1F* h2CeffHBnegativedirectionRecosignalD1 = new TH1F("h2CeffHBnegativedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD1 == 1) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 2) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 3) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 4) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 5) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 6) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 7) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 8) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 9) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==10) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==11) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==12) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==13) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==14) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==15) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==16) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionRecosignalD1->Draw("Error"); - kcountHBnegativedirectionRecosignalD1++; - if(kcountHBnegativedirectionRecosignalD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD1 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD1 = new TH1F("h2CeffHBnegativedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBnegativedirectionRecosignalD1 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD1 == 1) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 2) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 3) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 4) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 5) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 6) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 7) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 8) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 9) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 10) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 11) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 12) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 13) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 14) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 15) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 16) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignalD1->Draw("Error"); + kcountHBnegativedirectionRecosignalD1++; + if (kcountHBnegativedirectionRecosignalD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD1) delete h2CeffHBnegativedirectionRecosignalD1; - //========================================================================================== 22215 + if (h2CeffHBnegativedirectionRecosignalD1) + delete h2CeffHBnegativedirectionRecosignalD1; + //========================================================================================== 22215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD2=1; - TH1F* h2CeffHBnegativedirectionRecosignalD2 = new TH1F("h2CeffHBnegativedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD2 == 1) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 2) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 3) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 4) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 5) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 6) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 7) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 8) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-9 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 9) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-8 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==10) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-7 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==11) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-6 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==12) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-5 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==13) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-4 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==14) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-3 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==15) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-2 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==16) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-1 ; depth = 2 \b"); - HBnegativedirectionRecosignalD2->Draw("Error"); - kcountHBnegativedirectionRecosignalD2++; - if(kcountHBnegativedirectionRecosignalD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD2 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD2 = new TH1F("h2CeffHBnegativedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBnegativedirectionRecosignalD2 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD2 == 1) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 2) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 3) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 4) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 5) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 6) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 7) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 8) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-9 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 9) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-8 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 10) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-7 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 11) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-6 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 12) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-5 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 13) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-4 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 14) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-3 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 15) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-2 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 16) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-1 ; depth = 2 \b"); + HBnegativedirectionRecosignalD2->Draw("Error"); + kcountHBnegativedirectionRecosignalD2++; + if (kcountHBnegativedirectionRecosignalD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD2) delete h2CeffHBnegativedirectionRecosignalD2; - //========================================================================================== 22216 + if (h2CeffHBnegativedirectionRecosignalD2) + delete h2CeffHBnegativedirectionRecosignalD2; + //========================================================================================== 22216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD3=1; - TH1F* h2CeffHBnegativedirectionRecosignalD3 = new TH1F("h2CeffHBnegativedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD3 == 1) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 2) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 3) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 4) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 5) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 6) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 7) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 8) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-9 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 9) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-8 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==10) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-7 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==11) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-6 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==12) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-5 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==13) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-4 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==14) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-3 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==15) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-2 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==16) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-1 ; depth = 3 \b"); - HBnegativedirectionRecosignalD3->Draw("Error"); - kcountHBnegativedirectionRecosignalD3++; - if(kcountHBnegativedirectionRecosignalD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD3 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD3 = new TH1F("h2CeffHBnegativedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBnegativedirectionRecosignalD3 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD3 == 1) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 2) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 3) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 4) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 5) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 6) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 7) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 8) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-9 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 9) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-8 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 10) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-7 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 11) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-6 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 12) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-5 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 13) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-4 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 14) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-3 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 15) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-2 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 16) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-1 ; depth = 3 \b"); + HBnegativedirectionRecosignalD3->Draw("Error"); + kcountHBnegativedirectionRecosignalD3++; + if (kcountHBnegativedirectionRecosignalD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD3) delete h2CeffHBnegativedirectionRecosignalD3; + if (h2CeffHBnegativedirectionRecosignalD3) + delete h2CeffHBnegativedirectionRecosignalD3; //========================================================================================== 22217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD4=1; - TH1F* h2CeffHBnegativedirectionRecosignalD4 = new TH1F("h2CeffHBnegativedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD4 == 1) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 2) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 3) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 4) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 5) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 6) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 7) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 8) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-9 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 9) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-8 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==10) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-7 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==11) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-6 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==12) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-5 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==13) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-4 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==14) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-3 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==15) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-2 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==16) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-1 ; depth = 4 \b"); - HBnegativedirectionRecosignalD4->Draw("Error"); - kcountHBnegativedirectionRecosignalD4++; - if(kcountHBnegativedirectionRecosignalD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD4 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD4 = new TH1F("h2CeffHBnegativedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBnegativedirectionRecosignalD4 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD4 == 1) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 2) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 3) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 4) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 5) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 6) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 7) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 8) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-9 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 9) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-8 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 10) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-7 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 11) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-6 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 12) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-5 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 13) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-4 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 14) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-3 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 15) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-2 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 16) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-1 ; depth = 4 \b"); + HBnegativedirectionRecosignalD4->Draw("Error"); + kcountHBnegativedirectionRecosignalD4++; + if (kcountHBnegativedirectionRecosignalD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD4) delete h2CeffHBnegativedirectionRecosignalD4; - - - + if (h2CeffHBnegativedirectionRecosignalD4) + delete h2CeffHBnegativedirectionRecosignalD4; //===================================================================== END of Recosignal HB for phi-symmetry //===================================================================== END of Recosignal HB for phi-symmetry //===================================================================== END of Recosignal HB for phi-symmetry - - - - - - //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[3]; - ndepth = 7; - // const int ndepth = 7; - double arecosignalhe[ndepth][njeta][njphi]; - double recosignalvariancehe[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double arecosignalhe[ndepth][njeta][njphi]; + double recosignalvariancehe[ndepth][njeta][njphi]; // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HE - TH2F *recSignalEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE1"); - TH2F *recSignalEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + TH2F* recSignalEnergy1HE1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE1"); + TH2F* recSignalEnergy0HE1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); TH2F* recSignalEnergyHE1 = (TH2F*)recSignalEnergy1HE1->Clone("recSignalEnergyHE1"); - recSignalEnergyHE1->Divide(recSignalEnergy1HE1,recSignalEnergy0HE1, 1, 1, "B"); - TH2F *recSignalEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE2"); - TH2F *recSignalEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + recSignalEnergyHE1->Divide(recSignalEnergy1HE1, recSignalEnergy0HE1, 1, 1, "B"); + TH2F* recSignalEnergy1HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE2"); + TH2F* recSignalEnergy0HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); TH2F* recSignalEnergyHE2 = (TH2F*)recSignalEnergy1HE2->Clone("recSignalEnergyHE2"); - recSignalEnergyHE2->Divide(recSignalEnergy1HE2,recSignalEnergy0HE2, 1, 1, "B"); - TH2F *recSignalEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE3"); - TH2F *recSignalEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + recSignalEnergyHE2->Divide(recSignalEnergy1HE2, recSignalEnergy0HE2, 1, 1, "B"); + TH2F* recSignalEnergy1HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE3"); + TH2F* recSignalEnergy0HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); TH2F* recSignalEnergyHE3 = (TH2F*)recSignalEnergy1HE3->Clone("recSignalEnergyHE3"); - recSignalEnergyHE3->Divide(recSignalEnergy1HE3,recSignalEnergy0HE3, 1, 1, "B"); - TH2F *recSignalEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE4"); - TH2F *recSignalEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + recSignalEnergyHE3->Divide(recSignalEnergy1HE3, recSignalEnergy0HE3, 1, 1, "B"); + TH2F* recSignalEnergy1HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE4"); + TH2F* recSignalEnergy0HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); TH2F* recSignalEnergyHE4 = (TH2F*)recSignalEnergy1HE4->Clone("recSignalEnergyHE4"); - recSignalEnergyHE4->Divide(recSignalEnergy1HE4,recSignalEnergy0HE4, 1, 1, "B"); - TH2F *recSignalEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE5"); - TH2F *recSignalEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + recSignalEnergyHE4->Divide(recSignalEnergy1HE4, recSignalEnergy0HE4, 1, 1, "B"); + TH2F* recSignalEnergy1HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE5"); + TH2F* recSignalEnergy0HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); TH2F* recSignalEnergyHE5 = (TH2F*)recSignalEnergy1HE5->Clone("recSignalEnergyHE5"); - recSignalEnergyHE5->Divide(recSignalEnergy1HE5,recSignalEnergy0HE5, 1, 1, "B"); - TH2F *recSignalEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE6"); - TH2F *recSignalEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + recSignalEnergyHE5->Divide(recSignalEnergy1HE5, recSignalEnergy0HE5, 1, 1, "B"); + TH2F* recSignalEnergy1HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE6"); + TH2F* recSignalEnergy0HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); TH2F* recSignalEnergyHE6 = (TH2F*)recSignalEnergy1HE6->Clone("recSignalEnergyHE6"); - recSignalEnergyHE6->Divide(recSignalEnergy1HE6,recSignalEnergy0HE6, 1, 1, "B"); - TH2F *recSignalEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE7"); - TH2F *recSignalEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + recSignalEnergyHE6->Divide(recSignalEnergy1HE6, recSignalEnergy0HE6, 1, 1, "B"); + TH2F* recSignalEnergy1HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE7"); + TH2F* recSignalEnergy0HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); TH2F* recSignalEnergyHE7 = (TH2F*)recSignalEnergy1HE7->Clone("recSignalEnergyHE7"); - recSignalEnergyHE7->Divide(recSignalEnergy1HE7,recSignalEnergy0HE7, 1, 1, "B"); - for(int jeta=0;jetaDivide(recSignalEnergy1HE7, recSignalEnergy0HE7, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { //====================================================================== PHI normalization & put R into massive arecosignalhe - //preparation for PHI normalization: - double sumrecosignalHE0=0;int nsumrecosignalHE0=0;double sumrecosignalHE1=0;int nsumrecosignalHE1=0;double sumrecosignalHE2=0;int nsumrecosignalHE2=0;double sumrecosignalHE3=0;int nsumrecosignalHE3=0; - double sumrecosignalHE4=0;int nsumrecosignalHE4=0;double sumrecosignalHE5=0;int nsumrecosignalHE5=0;double sumrecosignalHE6=0;int nsumrecosignalHE6=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - arecosignalhe[1][jeta][jphi] = recSignalEnergyHE2->GetBinContent(jeta+1,jphi+1); - arecosignalhe[2][jeta][jphi] = recSignalEnergyHE3->GetBinContent(jeta+1,jphi+1); - arecosignalhe[3][jeta][jphi] = recSignalEnergyHE4->GetBinContent(jeta+1,jphi+1); - arecosignalhe[4][jeta][jphi] = recSignalEnergyHE5->GetBinContent(jeta+1,jphi+1); - arecosignalhe[5][jeta][jphi] = recSignalEnergyHE6->GetBinContent(jeta+1,jphi+1); - arecosignalhe[6][jeta][jphi] = recSignalEnergyHE7->GetBinContent(jeta+1,jphi+1); - if(arecosignalhe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += arecosignalhe[0][jeta][jphi];++nsumrecosignalHE0;} - if(arecosignalhe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += arecosignalhe[1][jeta][jphi];++nsumrecosignalHE1;} - if(arecosignalhe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += arecosignalhe[2][jeta][jphi];++nsumrecosignalHE2;} - if(arecosignalhe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += arecosignalhe[3][jeta][jphi];++nsumrecosignalHE3;} - if(arecosignalhe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += arecosignalhe[4][jeta][jphi];++nsumrecosignalHE4;} - if(arecosignalhe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += arecosignalhe[5][jeta][jphi];++nsumrecosignalHE5;} - if(arecosignalhe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += arecosignalhe[6][jeta][jphi];++nsumrecosignalHE6;} - }// phi - // PHI normalization: - for(int jphi=0;jphi 0.) arecosignalhe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; - if(arecosignalhe[1][jeta][jphi] > 0.) arecosignalhe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; - if(arecosignalhe[2][jeta][jphi] > 0.) arecosignalhe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; - if(arecosignalhe[3][jeta][jphi] > 0.) arecosignalhe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; - if(arecosignalhe[4][jeta][jphi] > 0.) arecosignalhe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; - if(arecosignalhe[5][jeta][jphi] > 0.) arecosignalhe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; - if(arecosignalhe[6][jeta][jphi] > 0.) arecosignalhe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; - }// phi - }//eta + //preparation for PHI normalization: + double sumrecosignalHE0 = 0; + int nsumrecosignalHE0 = 0; + double sumrecosignalHE1 = 0; + int nsumrecosignalHE1 = 0; + double sumrecosignalHE2 = 0; + int nsumrecosignalHE2 = 0; + double sumrecosignalHE3 = 0; + int nsumrecosignalHE3 = 0; + double sumrecosignalHE4 = 0; + int nsumrecosignalHE4 = 0; + double sumrecosignalHE5 = 0; + int nsumrecosignalHE5 = 0; + double sumrecosignalHE6 = 0; + int nsumrecosignalHE6 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + arecosignalhe[0][jeta][jphi] = recSignalEnergyHE1->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[1][jeta][jphi] = recSignalEnergyHE2->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[2][jeta][jphi] = recSignalEnergyHE3->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[3][jeta][jphi] = recSignalEnergyHE4->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[4][jeta][jphi] = recSignalEnergyHE5->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[5][jeta][jphi] = recSignalEnergyHE6->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[6][jeta][jphi] = recSignalEnergyHE7->GetBinContent(jeta + 1, jphi + 1); + if (arecosignalhe[0][jeta][jphi] > 0.) { + sumrecosignalHE0 += arecosignalhe[0][jeta][jphi]; + ++nsumrecosignalHE0; + } + if (arecosignalhe[1][jeta][jphi] > 0.) { + sumrecosignalHE1 += arecosignalhe[1][jeta][jphi]; + ++nsumrecosignalHE1; + } + if (arecosignalhe[2][jeta][jphi] > 0.) { + sumrecosignalHE2 += arecosignalhe[2][jeta][jphi]; + ++nsumrecosignalHE2; + } + if (arecosignalhe[3][jeta][jphi] > 0.) { + sumrecosignalHE3 += arecosignalhe[3][jeta][jphi]; + ++nsumrecosignalHE3; + } + if (arecosignalhe[4][jeta][jphi] > 0.) { + sumrecosignalHE4 += arecosignalhe[4][jeta][jphi]; + ++nsumrecosignalHE4; + } + if (arecosignalhe[5][jeta][jphi] > 0.) { + sumrecosignalHE5 += arecosignalhe[5][jeta][jphi]; + ++nsumrecosignalHE5; + } + if (arecosignalhe[6][jeta][jphi] > 0.) { + sumrecosignalHE6 += arecosignalhe[6][jeta][jphi]; + ++nsumrecosignalHE6; + } + } // phi + // PHI normalization: + for (int jphi = 0; jphi < njphi; jphi++) { + if (arecosignalhe[0][jeta][jphi] > 0.) + arecosignalhe[0][jeta][jphi] /= (sumrecosignalHE0 / nsumrecosignalHE0); + if (arecosignalhe[1][jeta][jphi] > 0.) + arecosignalhe[1][jeta][jphi] /= (sumrecosignalHE1 / nsumrecosignalHE1); + if (arecosignalhe[2][jeta][jphi] > 0.) + arecosignalhe[2][jeta][jphi] /= (sumrecosignalHE2 / nsumrecosignalHE2); + if (arecosignalhe[3][jeta][jphi] > 0.) + arecosignalhe[3][jeta][jphi] /= (sumrecosignalHE3 / nsumrecosignalHE3); + if (arecosignalhe[4][jeta][jphi] > 0.) + arecosignalhe[4][jeta][jphi] /= (sumrecosignalHE4 / nsumrecosignalHE4); + if (arecosignalhe[5][jeta][jphi] > 0.) + arecosignalhe[5][jeta][jphi] /= (sumrecosignalHE5 / nsumrecosignalHE5); + if (arecosignalhe[6][jeta][jphi] > 0.) + arecosignalhe[6][jeta][jphi] /= (sumrecosignalHE6 / nsumrecosignalHE6); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthes //====================================================================== //====================================================================== //cout<<" R2D-eta/phi-plot: R, averaged over depthes *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRrecosignalHE42D = new TH2F("GefzRrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRrecosignalHE42D0 = new TH2F("GefzRrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHE42D = new TH2F("GefzRrecosignalHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRrecosignalHE42D0 = new TH2F("GefzRrecosignalHE42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRrecosignalHE42DF = (TH2F*)GefzRrecosignalHE42D0->Clone("GefzRrecosignalHE42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRrecosignalHE42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHE42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRrecosignalHE42DF->Divide(GefzRrecosignalHE42D,GefzRrecosignalHE42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHE42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHE42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRrecosignalHE42D->Fill(kkk, jphi, ccc1); + GefzRrecosignalHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRrecosignalHE42DF->Divide(GefzRrecosignalHE42D, GefzRrecosignalHE42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE42DF->SetXTitle("_depth #eta \b"); + GefzRrecosignalHE42DF->SetYTitle(" #phi \b"); GefzRrecosignalHE42DF->Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitSignal_HE= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HE"); - energyhitSignal_HE ->SetMarkerStyle(20);energyhitSignal_HE ->SetMarkerSize(0.4);energyhitSignal_HE ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HE ->SetXTitle("energyhitSignal_HE \b");energyhitSignal_HE ->SetMarkerColor(2);energyhitSignal_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HE ->Draw("Error"); - - + TH1F* energyhitSignal_HE = (TH1F*)dir->FindObjectAny("h_energyhitSignal_HE"); + energyhitSignal_HE->SetMarkerStyle(20); + energyhitSignal_HE->SetMarkerSize(0.4); + energyhitSignal_HE->GetYaxis()->SetLabelSize(0.04); + energyhitSignal_HE->SetXTitle("energyhitSignal_HE \b"); + energyhitSignal_HE->SetMarkerColor(2); + energyhitSignal_HE->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitSignal_HE->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RrecosignalGeneralD2PhiSymmetryHE.png"); c2x1->Clear(); // clean-up - if (GefzRrecosignalHE42D) delete GefzRrecosignalHE42D; - if (GefzRrecosignalHE42D0) delete GefzRrecosignalHE42D0; - if (GefzRrecosignalHE42DF) delete GefzRrecosignalHE42DF; + if (GefzRrecosignalHE42D) + delete GefzRrecosignalHE42D; + if (GefzRrecosignalHE42D0) + delete GefzRrecosignalHE42D0; + if (GefzRrecosignalHE42DF) + delete GefzRrecosignalHE42DF; //====================================================================== 1D plot: R vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRrecosignalHE41D = new TH1F("GefzRrecosignalHE41D","", nphi, 0., 72. ); - TH1F* GefzRrecosignalHE41D0 = new TH1F("GefzRrecosignalHE41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHE41D = new TH1F("GefzRrecosignalHE41D", "", nphi, 0., 72.); + TH1F* GefzRrecosignalHE41D0 = new TH1F("GefzRrecosignalHE41D0", "", nphi, 0., 72.); TH1F* GefzRrecosignalHE41DF = (TH1F*)GefzRrecosignalHE41D0->Clone("GefzRrecosignalHE41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHE41D0 ->Fill(jphi,1.); } - }}} - GefzRrecosignalHE41DF->Divide(GefzRrecosignalHE41D,GefzRrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRrecosignalHE41D->Fill(jphi, ccc1); + GefzRrecosignalHE41D0->Fill(jphi, 1.); + } + } + } + } + GefzRrecosignalHE41DF->Divide( + GefzRrecosignalHE41D, GefzRrecosignalHE41D0, 1, 1, "B"); // R averaged over depthes & eta GefzRrecosignalHE41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHE41DF->SetMarkerStyle(20); GefzRrecosignalHE41DF->SetMarkerSize(1.4); GefzRrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHE41DF->SetXTitle("#phi \b"); GefzRrecosignalHE41DF->SetYTitle(" \b"); GefzRrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRrecosignalHE41DF->SetMarkerColor(4); GefzRrecosignalHE41DF->SetLineColor(4);// GefzRrecosignalHE41DF->SetMinimum(0.8); // GefzRrecosignalHE41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE41DF->SetMarkerStyle(20); + GefzRrecosignalHE41DF->SetMarkerSize(1.4); + GefzRrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); + GefzRrecosignalHE41DF->SetXTitle("#phi \b"); + GefzRrecosignalHE41DF->SetYTitle(" \b"); + GefzRrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); + GefzRrecosignalHE41DF->SetMarkerColor(4); + GefzRrecosignalHE41DF->SetLineColor( + 4); // GefzRrecosignalHE41DF->SetMinimum(0.8); // GefzRrecosignalHE41DF->SetMaximum(1.000); GefzRrecosignalHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RrecosignalGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (GefzRrecosignalHE41D) delete GefzRrecosignalHE41D; - if (GefzRrecosignalHE41D0) delete GefzRrecosignalHE41D0; - if (GefzRrecosignalHE41DF) delete GefzRrecosignalHE41DF; - + if (GefzRrecosignalHE41D) + delete GefzRrecosignalHE41D; + if (GefzRrecosignalHE41D0) + delete GefzRrecosignalHE41D0; + if (GefzRrecosignalHE41DF) + delete GefzRrecosignalHE41DF; - //========================================================================================== 4 + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignal1=1; - TH1F* h2CeffHEpositivedirectionRecosignal1 = new TH1F("h2CeffHEpositivedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEpositivedirectionRecosignal1 = "<SetMarkerColor(2);HEpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal1 == 1) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 2) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 3) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 4) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 5) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 6) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 7) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 8) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 9) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 ==10) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 ==11) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 ==12) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionRecosignal1->Draw("Error"); - kcountHEpositivedirectionRecosignal1++; - if(kcountHEpositivedirectionRecosignal1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEpositivedirectionRecosignal1 = (TH1F*)h2CeffHEpositivedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEpositivedirectionRecosignal1 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal1 == 1) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 2) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 3) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 4) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 5) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 6) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 7) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 8) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 9) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 10) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 11) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 12) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignal1->Draw("Error"); + kcountHEpositivedirectionRecosignal1++; + if (kcountHEpositivedirectionRecosignal1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal1) delete h2CeffHEpositivedirectionRecosignal1; - + if (h2CeffHEpositivedirectionRecosignal1) + delete h2CeffHEpositivedirectionRecosignal1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal2=1; - TH1F* h2CeffHEpositivedirectionRecosignal2 = new TH1F("h2CeffHEpositivedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEpositivedirectionRecosignal2 = "<SetMarkerColor(2);HEpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal2 == 1) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 2) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 3) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 4) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 5) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 6) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 7) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 8) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 9) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==10) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==11) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==12) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==13) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionRecosignal2->Draw("Error"); - kcountHEpositivedirectionRecosignal2++; - if(kcountHEpositivedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal2 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal2 = new TH1F("h2CeffHEpositivedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEpositivedirectionRecosignal2 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal2 == 1) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 2) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 3) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 4) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 5) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 6) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 7) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 8) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 9) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 10) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 11) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 12) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 13) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignal2->Draw("Error"); + kcountHEpositivedirectionRecosignal2++; + if (kcountHEpositivedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal2) delete h2CeffHEpositivedirectionRecosignal2; - //========================================================================================== 6 + if (h2CeffHEpositivedirectionRecosignal2) + delete h2CeffHEpositivedirectionRecosignal2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal3=1; - TH1F* h2CeffHEpositivedirectionRecosignal3 = new TH1F("h2CeffHEpositivedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEpositivedirectionRecosignal3 = "<SetMarkerColor(2);HEpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal3 == 1) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 2) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 3) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 4) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 5) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 6) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 7) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 8) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 9) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==10) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==11) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==12) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==13) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionRecosignal3->Draw("Error"); - kcountHEpositivedirectionRecosignal3++; - if(kcountHEpositivedirectionRecosignal3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal3 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal3 = new TH1F("h2CeffHEpositivedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEpositivedirectionRecosignal3 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal3 == 1) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 2) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 3) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 4) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 5) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 6) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 7) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 8) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 9) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 10) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 11) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 12) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 13) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignal3->Draw("Error"); + kcountHEpositivedirectionRecosignal3++; + if (kcountHEpositivedirectionRecosignal3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal3) delete h2CeffHEpositivedirectionRecosignal3; - //========================================================================================== 7 + if (h2CeffHEpositivedirectionRecosignal3) + delete h2CeffHEpositivedirectionRecosignal3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal4=1; - TH1F* h2CeffHEpositivedirectionRecosignal4 = new TH1F("h2CeffHEpositivedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEpositivedirectionRecosignal4 = "<SetMarkerColor(2);HEpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal4 == 1) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 2) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 3) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 4) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 5) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 6) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 7) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 8) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 9) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 ==10) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 ==11) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 ==12) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionRecosignal4->Draw("Error"); - kcountHEpositivedirectionRecosignal4++; - if(kcountHEpositivedirectionRecosignal4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal4 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal4 = new TH1F("h2CeffHEpositivedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEpositivedirectionRecosignal4 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal4 == 1) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 2) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 3) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 4) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 5) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 6) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 7) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 8) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 9) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 10) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 11) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 12) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignal4->Draw("Error"); + kcountHEpositivedirectionRecosignal4++; + if (kcountHEpositivedirectionRecosignal4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal4) delete h2CeffHEpositivedirectionRecosignal4; - //========================================================================================== 8 + if (h2CeffHEpositivedirectionRecosignal4) + delete h2CeffHEpositivedirectionRecosignal4; + //========================================================================================== 8 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal5=1; - TH1F* h2CeffHEpositivedirectionRecosignal5 = new TH1F("h2CeffHEpositivedirectionRecosignal5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal5 == 1) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 2) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 3) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 4) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 5) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 6) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 7) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 8) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 9) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 ==10) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 ==11) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionRecosignal5->Draw("Error"); - kcountHEpositivedirectionRecosignal5++; - if(kcountHEpositivedirectionRecosignal5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal5 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal5 = new TH1F("h2CeffHEpositivedirectionRecosignal5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEpositivedirectionRecosignal5 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal5 == 1) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 2) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 3) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 4) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 5) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 6) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 7) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 8) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 9) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 10) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 11) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignal5->Draw("Error"); + kcountHEpositivedirectionRecosignal5++; + if (kcountHEpositivedirectionRecosignal5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal5) delete h2CeffHEpositivedirectionRecosignal5; - //========================================================================================== 9 + if (h2CeffHEpositivedirectionRecosignal5) + delete h2CeffHEpositivedirectionRecosignal5; + //========================================================================================== 9 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal6=1; - TH1F* h2CeffHEpositivedirectionRecosignal6 = new TH1F("h2CeffHEpositivedirectionRecosignal6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEpositivedirectionRecosignal6 = "<SetMarkerColor(2);HEpositivedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal6 == 1) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 2) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 3) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 4) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 5) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 6) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 7) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 8) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 9) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 ==10) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionRecosignal6->Draw("Error"); - kcountHEpositivedirectionRecosignal6++; - if(kcountHEpositivedirectionRecosignal6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal6 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal6 = new TH1F("h2CeffHEpositivedirectionRecosignal6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEpositivedirectionRecosignal6 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal6 == 1) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 2) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 3) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 4) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 5) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 6) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 7) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 8) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 9) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 10) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignal6->Draw("Error"); + kcountHEpositivedirectionRecosignal6++; + if (kcountHEpositivedirectionRecosignal6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal6) delete h2CeffHEpositivedirectionRecosignal6; - //========================================================================================== 10 + if (h2CeffHEpositivedirectionRecosignal6) + delete h2CeffHEpositivedirectionRecosignal6; + //========================================================================================== 10 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal7=1; - TH1F* h2CeffHEpositivedirectionRecosignal7 = new TH1F("h2CeffHEpositivedirectionRecosignal7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEpositivedirectionRecosignal7 = "<SetMarkerColor(2);HEpositivedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal7 == 1) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignal7 == 2) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignal7 == 3) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionRecosignal7->Draw("Error"); - kcountHEpositivedirectionRecosignal7++; - if(kcountHEpositivedirectionRecosignal7>3) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal7 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal7 = new TH1F("h2CeffHEpositivedirectionRecosignal7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEpositivedirectionRecosignal7 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal7 == 1) + HEpositivedirectionRecosignal7->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignal7 == 2) + HEpositivedirectionRecosignal7->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignal7 == 3) + HEpositivedirectionRecosignal7->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignal7->Draw("Error"); + kcountHEpositivedirectionRecosignal7++; + if (kcountHEpositivedirectionRecosignal7 > 3) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal7) delete h2CeffHEpositivedirectionRecosignal7; + if (h2CeffHEpositivedirectionRecosignal7) + delete h2CeffHEpositivedirectionRecosignal7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignal1=1; - TH1F* h2CeffHEnegativedirectionRecosignal1 = new TH1F("h2CeffHEnegativedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEnegativedirectionRecosignal1 = "<SetMarkerColor(2);HEnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal1 == 1) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 2) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 3) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 4) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 5) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 6) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 7) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 8) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 9) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 ==10) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 ==11) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 ==12) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionRecosignal1->Draw("Error"); - kcountHEnegativedirectionRecosignal1++; - if(kcountHEnegativedirectionRecosignal1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEnegativedirectionRecosignal1 = (TH1F*)h2CeffHEnegativedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEnegativedirectionRecosignal1 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal1 == 1) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 2) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 3) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 4) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 5) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 6) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 7) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 8) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 9) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 10) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 11) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 12) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignal1->Draw("Error"); + kcountHEnegativedirectionRecosignal1++; + if (kcountHEnegativedirectionRecosignal1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal1) delete h2CeffHEnegativedirectionRecosignal1; - + if (h2CeffHEnegativedirectionRecosignal1) + delete h2CeffHEnegativedirectionRecosignal1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal2=1; - TH1F* h2CeffHEnegativedirectionRecosignal2 = new TH1F("h2CeffHEnegativedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEnegativedirectionRecosignal2 = "<SetMarkerColor(2);HEnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal2 == 1) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 2) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 3) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 4) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 5) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 6) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 7) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 8) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 9) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==10) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==11) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==12) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==13) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionRecosignal2->Draw("Error"); - kcountHEnegativedirectionRecosignal2++; - if(kcountHEnegativedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal2 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal2 = new TH1F("h2CeffHEnegativedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEnegativedirectionRecosignal2 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal2 == 1) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 2) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 3) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 4) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 5) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 6) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 7) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 8) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 9) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 10) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 11) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 12) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 13) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignal2->Draw("Error"); + kcountHEnegativedirectionRecosignal2++; + if (kcountHEnegativedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal2) delete h2CeffHEnegativedirectionRecosignal2; - //========================================================================================== 1116 + if (h2CeffHEnegativedirectionRecosignal2) + delete h2CeffHEnegativedirectionRecosignal2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal3=1; - TH1F* h2CeffHEnegativedirectionRecosignal3 = new TH1F("h2CeffHEnegativedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEnegativedirectionRecosignal3 = "<SetMarkerColor(2);HEnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal3 == 1) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 2) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 3) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 4) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 5) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 6) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 7) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 8) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 9) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==10) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==11) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==12) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==13) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionRecosignal3->Draw("Error"); - kcountHEnegativedirectionRecosignal3++; - if(kcountHEnegativedirectionRecosignal3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal3 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal3 = new TH1F("h2CeffHEnegativedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEnegativedirectionRecosignal3 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal3 == 1) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 2) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 3) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 4) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 5) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 6) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 7) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 8) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 9) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 10) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 11) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 12) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 13) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignal3->Draw("Error"); + kcountHEnegativedirectionRecosignal3++; + if (kcountHEnegativedirectionRecosignal3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal3) delete h2CeffHEnegativedirectionRecosignal3; - //========================================================================================== 1117 + if (h2CeffHEnegativedirectionRecosignal3) + delete h2CeffHEnegativedirectionRecosignal3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal4=1; - TH1F* h2CeffHEnegativedirectionRecosignal4 = new TH1F("h2CeffHEnegativedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEnegativedirectionRecosignal4 = "<SetMarkerColor(2);HEnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal4 == 1) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 2) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 3) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 4) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 5) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 6) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 7) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 8) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 9) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 ==10) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 ==11) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 ==12) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionRecosignal4->Draw("Error"); - kcountHEnegativedirectionRecosignal4++; - if(kcountHEnegativedirectionRecosignal4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal4 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal4 = new TH1F("h2CeffHEnegativedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEnegativedirectionRecosignal4 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal4 == 1) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 2) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 3) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 4) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 5) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 6) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 7) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 8) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 9) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 10) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 11) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 12) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignal4->Draw("Error"); + kcountHEnegativedirectionRecosignal4++; + if (kcountHEnegativedirectionRecosignal4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal4) delete h2CeffHEnegativedirectionRecosignal4; - //========================================================================================== 1118 + if (h2CeffHEnegativedirectionRecosignal4) + delete h2CeffHEnegativedirectionRecosignal4; + //========================================================================================== 1118 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal5=1; - TH1F* h2CeffHEnegativedirectionRecosignal5 = new TH1F("h2CeffHEnegativedirectionRecosignal5","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal5 == 1) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 2) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 3) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 4) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 5) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 6) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 7) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 8) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 9) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 ==10) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 ==11) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionRecosignal5->Draw("Error"); - kcountHEnegativedirectionRecosignal5++; - if(kcountHEnegativedirectionRecosignal5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal5 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal5 = new TH1F("h2CeffHEnegativedirectionRecosignal5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEnegativedirectionRecosignal5 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal5 == 1) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 2) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 3) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 4) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 5) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 6) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 7) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 8) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 9) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 10) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 11) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignal5->Draw("Error"); + kcountHEnegativedirectionRecosignal5++; + if (kcountHEnegativedirectionRecosignal5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal5) delete h2CeffHEnegativedirectionRecosignal5; - //========================================================================================== 1119 + if (h2CeffHEnegativedirectionRecosignal5) + delete h2CeffHEnegativedirectionRecosignal5; + //========================================================================================== 1119 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal6=1; - TH1F* h2CeffHEnegativedirectionRecosignal6 = new TH1F("h2CeffHEnegativedirectionRecosignal6","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEnegativedirectionRecosignal6 = "<SetMarkerColor(2);HEnegativedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal6 == 1) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 2) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 3) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 4) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 5) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 6) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 7) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 8) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 9) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 ==10) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionRecosignal6->Draw("Error"); - kcountHEnegativedirectionRecosignal6++; - if(kcountHEnegativedirectionRecosignal6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal6 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal6 = new TH1F("h2CeffHEnegativedirectionRecosignal6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEnegativedirectionRecosignal6 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal6 == 1) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 2) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 3) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 4) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 5) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 6) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 7) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 8) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 9) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 10) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignal6->Draw("Error"); + kcountHEnegativedirectionRecosignal6++; + if (kcountHEnegativedirectionRecosignal6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal6) delete h2CeffHEnegativedirectionRecosignal6; - //========================================================================================== 11110 + if (h2CeffHEnegativedirectionRecosignal6) + delete h2CeffHEnegativedirectionRecosignal6; + //========================================================================================== 11110 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal7=1; - TH1F* h2CeffHEnegativedirectionRecosignal7 = new TH1F("h2CeffHEnegativedirectionRecosignal7","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEnegativedirectionRecosignal7 = "<SetMarkerColor(2);HEnegativedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal7 == 1) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignal7 == 2) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignal7 == 3) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionRecosignal7->Draw("Error"); - kcountHEnegativedirectionRecosignal7++; - if(kcountHEnegativedirectionRecosignal7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal7 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal7 = new TH1F("h2CeffHEnegativedirectionRecosignal7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEnegativedirectionRecosignal7 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal7 == 1) + HEnegativedirectionRecosignal7->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignal7 == 2) + HEnegativedirectionRecosignal7->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignal7 == 3) + HEnegativedirectionRecosignal7->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignal7->Draw("Error"); + kcountHEnegativedirectionRecosignal7++; + if (kcountHEnegativedirectionRecosignal7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal7) delete h2CeffHEnegativedirectionRecosignal7; + if (h2CeffHEnegativedirectionRecosignal7) + delete h2CeffHEnegativedirectionRecosignal7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HE1"); - TH2F *recosignalVariance0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HE1"); + TH2F* recosignalVariance0HE1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); TH2F* recosignalVarianceHE1 = (TH2F*)recosignalVariance1HE1->Clone("recosignalVarianceHE1"); - recosignalVarianceHE1->Divide(recosignalVariance1HE1,recosignalVariance0HE1, 1, 1, "B"); - TH2F *recosignalVariance1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE2"); - TH2F *recosignalVariance0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + recosignalVarianceHE1->Divide(recosignalVariance1HE1, recosignalVariance0HE1, 1, 1, "B"); + TH2F* recosignalVariance1HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE2"); + TH2F* recosignalVariance0HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); TH2F* recosignalVarianceHE2 = (TH2F*)recosignalVariance1HE2->Clone("recosignalVarianceHE2"); - recosignalVarianceHE2->Divide(recosignalVariance1HE2,recosignalVariance0HE2, 1, 1, "B"); - TH2F *recosignalVariance1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE3"); - TH2F *recosignalVariance0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + recosignalVarianceHE2->Divide(recosignalVariance1HE2, recosignalVariance0HE2, 1, 1, "B"); + TH2F* recosignalVariance1HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE3"); + TH2F* recosignalVariance0HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); TH2F* recosignalVarianceHE3 = (TH2F*)recosignalVariance1HE3->Clone("recosignalVarianceHE3"); - recosignalVarianceHE3->Divide(recosignalVariance1HE3,recosignalVariance0HE3, 1, 1, "B"); - TH2F *recosignalVariance1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE4"); - TH2F *recosignalVariance0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + recosignalVarianceHE3->Divide(recosignalVariance1HE3, recosignalVariance0HE3, 1, 1, "B"); + TH2F* recosignalVariance1HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE4"); + TH2F* recosignalVariance0HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); TH2F* recosignalVarianceHE4 = (TH2F*)recosignalVariance1HE4->Clone("recosignalVarianceHE4"); - recosignalVarianceHE4->Divide(recosignalVariance1HE4,recosignalVariance0HE4, 1, 1, "B"); - TH2F *recosignalVariance1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE5"); - TH2F *recosignalVariance0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + recosignalVarianceHE4->Divide(recosignalVariance1HE4, recosignalVariance0HE4, 1, 1, "B"); + TH2F* recosignalVariance1HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE5"); + TH2F* recosignalVariance0HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); TH2F* recosignalVarianceHE5 = (TH2F*)recosignalVariance1HE5->Clone("recosignalVarianceHE5"); - recosignalVarianceHE5->Divide(recosignalVariance1HE5,recosignalVariance0HE5, 1, 1, "B"); - TH2F *recosignalVariance1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE6"); - TH2F *recosignalVariance0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + recosignalVarianceHE5->Divide(recosignalVariance1HE5, recosignalVariance0HE5, 1, 1, "B"); + TH2F* recosignalVariance1HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE6"); + TH2F* recosignalVariance0HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); TH2F* recosignalVarianceHE6 = (TH2F*)recosignalVariance1HE6->Clone("recosignalVarianceHE6"); - recosignalVarianceHE6->Divide(recosignalVariance1HE6,recosignalVariance0HE6, 1, 1, "B"); - TH2F *recosignalVariance1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE7"); - TH2F *recosignalVariance0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + recosignalVarianceHE6->Divide(recosignalVariance1HE6, recosignalVariance0HE6, 1, 1, "B"); + TH2F* recosignalVariance1HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE7"); + TH2F* recosignalVariance0HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); TH2F* recosignalVarianceHE7 = (TH2F*)recosignalVariance1HE7->Clone("recosignalVarianceHE7"); - recosignalVarianceHE7->Divide(recosignalVariance1HE7,recosignalVariance0HE7, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvariancehe - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - recosignalvariancehe[1][jeta][jphi] = recosignalVarianceHE2->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[2][jeta][jphi] = recosignalVarianceHE3->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[3][jeta][jphi] = recosignalVarianceHE4->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[4][jeta][jphi] = recosignalVarianceHE5->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[5][jeta][jphi] = recosignalVarianceHE6->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[6][jeta][jphi] = recosignalVarianceHE7->GetBinContent(jeta+1,jphi+1); - if(recosignalvariancehe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += recosignalvariancehe[0][jeta][jphi];++nsumrecosignalHE0;} - if(recosignalvariancehe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += recosignalvariancehe[1][jeta][jphi];++nsumrecosignalHE1;} - if(recosignalvariancehe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += recosignalvariancehe[2][jeta][jphi];++nsumrecosignalHE2;} - if(recosignalvariancehe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += recosignalvariancehe[3][jeta][jphi];++nsumrecosignalHE3;} - if(recosignalvariancehe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += recosignalvariancehe[4][jeta][jphi];++nsumrecosignalHE4;} - if(recosignalvariancehe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += recosignalvariancehe[5][jeta][jphi];++nsumrecosignalHE5;} - if(recosignalvariancehe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += recosignalvariancehe[6][jeta][jphi];++nsumrecosignalHE6;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) recosignalvariancehe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; - if(recosignalvariancehe[1][jeta][jphi] > 0.) recosignalvariancehe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; - if(recosignalvariancehe[2][jeta][jphi] > 0.) recosignalvariancehe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; - if(recosignalvariancehe[3][jeta][jphi] > 0.) recosignalvariancehe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; - if(recosignalvariancehe[4][jeta][jphi] > 0.) recosignalvariancehe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; - if(recosignalvariancehe[5][jeta][jphi] > 0.) recosignalvariancehe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; - if(recosignalvariancehe[6][jeta][jphi] > 0.) recosignalvariancehe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; - }// phi - // recosignalvariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive recosignalvariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumrecosignalHE0 = 0; + int nsumrecosignalHE0 = 0; + double sumrecosignalHE1 = 0; + int nsumrecosignalHE1 = 0; + double sumrecosignalHE2 = 0; + int nsumrecosignalHE2 = 0; + double sumrecosignalHE3 = 0; + int nsumrecosignalHE3 = 0; + double sumrecosignalHE4 = 0; + int nsumrecosignalHE4 = 0; + double sumrecosignalHE5 = 0; + int nsumrecosignalHE5 = 0; + double sumrecosignalHE6 = 0; + int nsumrecosignalHE6 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + recosignalvariancehe[0][jeta][jphi] = recosignalVarianceHE1->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[1][jeta][jphi] = recosignalVarianceHE2->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[2][jeta][jphi] = recosignalVarianceHE3->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[3][jeta][jphi] = recosignalVarianceHE4->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[4][jeta][jphi] = recosignalVarianceHE5->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[5][jeta][jphi] = recosignalVarianceHE6->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[6][jeta][jphi] = recosignalVarianceHE7->GetBinContent(jeta + 1, jphi + 1); + if (recosignalvariancehe[0][jeta][jphi] > 0.) { + sumrecosignalHE0 += recosignalvariancehe[0][jeta][jphi]; + ++nsumrecosignalHE0; + } + if (recosignalvariancehe[1][jeta][jphi] > 0.) { + sumrecosignalHE1 += recosignalvariancehe[1][jeta][jphi]; + ++nsumrecosignalHE1; + } + if (recosignalvariancehe[2][jeta][jphi] > 0.) { + sumrecosignalHE2 += recosignalvariancehe[2][jeta][jphi]; + ++nsumrecosignalHE2; + } + if (recosignalvariancehe[3][jeta][jphi] > 0.) { + sumrecosignalHE3 += recosignalvariancehe[3][jeta][jphi]; + ++nsumrecosignalHE3; } - //cout<<" Vaiance: DONE*****" < 0.) { + sumrecosignalHE4 += recosignalvariancehe[4][jeta][jphi]; + ++nsumrecosignalHE4; + } + if (recosignalvariancehe[5][jeta][jphi] > 0.) { + sumrecosignalHE5 += recosignalvariancehe[5][jeta][jphi]; + ++nsumrecosignalHE5; + } + if (recosignalvariancehe[6][jeta][jphi] > 0.) { + sumrecosignalHE6 += recosignalvariancehe[6][jeta][jphi]; + ++nsumrecosignalHE6; + } + } // phi + // PHI normalization : + for (int jphi = 0; jphi < njphi; jphi++) { + if (recosignalvariancehe[0][jeta][jphi] > 0.) + recosignalvariancehe[0][jeta][jphi] /= (sumrecosignalHE0 / nsumrecosignalHE0); + if (recosignalvariancehe[1][jeta][jphi] > 0.) + recosignalvariancehe[1][jeta][jphi] /= (sumrecosignalHE1 / nsumrecosignalHE1); + if (recosignalvariancehe[2][jeta][jphi] > 0.) + recosignalvariancehe[2][jeta][jphi] /= (sumrecosignalHE2 / nsumrecosignalHE2); + if (recosignalvariancehe[3][jeta][jphi] > 0.) + recosignalvariancehe[3][jeta][jphi] /= (sumrecosignalHE3 / nsumrecosignalHE3); + if (recosignalvariancehe[4][jeta][jphi] > 0.) + recosignalvariancehe[4][jeta][jphi] /= (sumrecosignalHE4 / nsumrecosignalHE4); + if (recosignalvariancehe[5][jeta][jphi] > 0.) + recosignalvariancehe[5][jeta][jphi] /= (sumrecosignalHE5 / nsumrecosignalHE5); + if (recosignalvariancehe[6][jeta][jphi] > 0.) + recosignalvariancehe[6][jeta][jphi] /= (sumrecosignalHE6 / nsumrecosignalHE6); + } // phi + // recosignalvariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDrecosignalHE42D = new TH2F("DefzDrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHE42D0 = new TH2F("DefzDrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHE42DF = (TH2F*)DefzDrecosignalHE42D0->Clone("DefzDrecosignalHE42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(arecosignalhe[i][jeta][jphi]>0.) {DefzDrecosignalHE42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHE42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDrecosignalHE42DF->Divide(DefzDrecosignalHE42D,DefzDrecosignalHE42D0, 1, 1, "B");// average A - // DefzDrecosignalHE1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHE42DF->SetMarkerStyle(20); DefzDrecosignalHE42DF->SetMarkerSize(0.4); DefzDrecosignalHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHE42DF->SetYTitle(" #phi \b"); DefzDrecosignalHE42DF->SetZTitle("_depth \b"); DefzDrecosignalHE42DF->SetMarkerColor(2); DefzDrecosignalHE42DF->SetLineColor(0); // DefzDrecosignalHE42DF->SetMaximum(1.000); // DefzDrecosignalHE42DF->SetMinimum(1.0); - DefzDrecosignalHE42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DrecosignalGeneralD2PhiSymmetryHE.png"); - c1x0->Clear(); - // clean-up - if (DefzDrecosignalHE42D) delete DefzDrecosignalHE42D; - if (DefzDrecosignalHE42D0) delete DefzDrecosignalHE42D0; - if (DefzDrecosignalHE42DF) delete DefzDrecosignalHE42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthes *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDrecosignalHE42D = new TH2F("DefzDrecosignalHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHE42D0 = new TH2F("DefzDrecosignalHE42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHE42DF = (TH2F*)DefzDrecosignalHE42D0->Clone("DefzDrecosignalHE42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (arecosignalhe[i][jeta][jphi] > 0.) { + DefzDrecosignalHE42D->Fill(kkk, jphi, ccc1); + DefzDrecosignalHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDrecosignalHE42DF->Divide(DefzDrecosignalHE42D, DefzDrecosignalHE42D0, 1, 1, "B"); // average A + // DefzDrecosignalHE1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE42DF->SetMarkerStyle(20); + DefzDrecosignalHE42DF->SetMarkerSize(0.4); + DefzDrecosignalHE42DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHE42DF->SetXTitle("_depth #eta \b"); + DefzDrecosignalHE42DF->SetYTitle(" #phi \b"); + DefzDrecosignalHE42DF->SetZTitle("_depth \b"); + DefzDrecosignalHE42DF->SetMarkerColor(2); + DefzDrecosignalHE42DF->SetLineColor( + 0); // DefzDrecosignalHE42DF->SetMaximum(1.000); // DefzDrecosignalHE42DF->SetMinimum(1.0); + DefzDrecosignalHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHE42D) + delete DefzDrecosignalHE42D; + if (DefzDrecosignalHE42D0) + delete DefzDrecosignalHE42D0; + if (DefzDrecosignalHE42DF) + delete DefzDrecosignalHE42DF; //====================================================================== 1D plot: D vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDrecosignalHE41D = new TH1F("DefzDrecosignalHE41D","", nphi, 0., 72. ); - TH1F* DefzDrecosignalHE41D0 = new TH1F("DefzDrecosignalHE41D0","",nphi, 0., 72. ); - TH1F* DefzDrecosignalHE41DF = (TH1F*)DefzDrecosignalHE41D0->Clone("DefzDrecosignalHE41DF"); - - for (int jphi=0;jphi0.) {DefzDrecosignalHE41D ->Fill(jphi,ccc1); DefzDrecosignalHE41D0 ->Fill(jphi,1.); } - }}} - // DefzDrecosignalHE41D->Sumw2();DefzDrecosignalHE41D0->Sumw2(); - - DefzDrecosignalHE41DF->Divide(DefzDrecosignalHE41D,DefzDrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta - DefzDrecosignalHE41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHE41DF->SetMarkerStyle(20); DefzDrecosignalHE41DF->SetMarkerSize(1.4); DefzDrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE41DF->SetXTitle("#phi \b"); DefzDrecosignalHE41DF->SetYTitle(" \b"); DefzDrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDrecosignalHE41DF->SetMarkerColor(4); DefzDrecosignalHE41DF->SetLineColor(4); // DefzDrecosignalHE41DF->SetMinimum(0.8); DefzDrecosignalHE41DF->SetMinimum(-0.015); - DefzDrecosignalHE41DF->Draw("Error"); + TH1F* DefzDrecosignalHE41D = new TH1F("DefzDrecosignalHE41D", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHE41D0 = new TH1F("DefzDrecosignalHE41D0", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHE41DF = (TH1F*)DefzDrecosignalHE41D0->Clone("DefzDrecosignalHE41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + DefzDrecosignalHE41D->Fill(jphi, ccc1); + DefzDrecosignalHE41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDrecosignalHE41D->Sumw2();DefzDrecosignalHE41D0->Sumw2(); + + DefzDrecosignalHE41DF->Divide( + DefzDrecosignalHE41D, DefzDrecosignalHE41D0, 1, 1, "B"); // R averaged over depthes & eta + DefzDrecosignalHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE41DF->SetMarkerStyle(20); + DefzDrecosignalHE41DF->SetMarkerSize(1.4); + DefzDrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHE41DF->SetXTitle("#phi \b"); + DefzDrecosignalHE41DF->SetYTitle(" \b"); + DefzDrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); + DefzDrecosignalHE41DF->SetMarkerColor(4); + DefzDrecosignalHE41DF->SetLineColor( + 4); // DefzDrecosignalHE41DF->SetMinimum(0.8); DefzDrecosignalHE41DF->SetMinimum(-0.015); + DefzDrecosignalHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DrecosignalGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (DefzDrecosignalHE41D) delete DefzDrecosignalHE41D; - if (DefzDrecosignalHE41D0) delete DefzDrecosignalHE41D0; - if (DefzDrecosignalHE41DF) delete DefzDrecosignalHE41DF; - //========================================================================================== 14 + if (DefzDrecosignalHE41D) + delete DefzDrecosignalHE41D; + if (DefzDrecosignalHE41D0) + delete DefzDrecosignalHE41D0; + if (DefzDrecosignalHE41DF) + delete DefzDrecosignalHE41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD1=1; - TH1F* h2CeffHEpositivedirectionRecosignalD1 = new TH1F("h2CeffHEpositivedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD1 == 1) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 2) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 3) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 4) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 5) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 6) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 7) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 8) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 9) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 ==10) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 ==11) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 ==12) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionRecosignalD1->Draw("Error"); - kcountHEpositivedirectionRecosignalD1++; - if(kcountHEpositivedirectionRecosignalD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD1 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD1 = new TH1F("h2CeffHEpositivedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEpositivedirectionRecosignalD1 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD1 == 1) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 2) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 3) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 4) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 5) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 6) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 7) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 8) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 9) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 10) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 11) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 12) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignalD1->Draw("Error"); + kcountHEpositivedirectionRecosignalD1++; + if (kcountHEpositivedirectionRecosignalD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD1) delete h2CeffHEpositivedirectionRecosignalD1; - //========================================================================================== 15 + if (h2CeffHEpositivedirectionRecosignalD1) + delete h2CeffHEpositivedirectionRecosignalD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD2=1; - TH1F* h2CeffHEpositivedirectionRecosignalD2 = new TH1F("h2CeffHEpositivedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD2 == 1) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 2) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 3) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 4) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 5) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 6) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 7) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 8) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 9) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==10) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==11) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==12) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==13) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionRecosignalD2->Draw("Error"); - kcountHEpositivedirectionRecosignalD2++; - if(kcountHEpositivedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD2 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD2 = new TH1F("h2CeffHEpositivedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEpositivedirectionRecosignalD2 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD2 == 1) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 2) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 3) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 4) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 5) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 6) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 7) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 8) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 9) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 10) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 11) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 12) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 13) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignalD2->Draw("Error"); + kcountHEpositivedirectionRecosignalD2++; + if (kcountHEpositivedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD2) delete h2CeffHEpositivedirectionRecosignalD2; - //========================================================================================== 16 + if (h2CeffHEpositivedirectionRecosignalD2) + delete h2CeffHEpositivedirectionRecosignalD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD3=1; - TH1F* h2CeffHEpositivedirectionRecosignalD3 = new TH1F("h2CeffHEpositivedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD3 == 1) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 2) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 3) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 4) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 5) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 6) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 7) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 8) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 9) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==10) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==11) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==12) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==13) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionRecosignalD3->Draw("Error"); - kcountHEpositivedirectionRecosignalD3++; - if(kcountHEpositivedirectionRecosignalD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD3 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD3 = new TH1F("h2CeffHEpositivedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEpositivedirectionRecosignalD3 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD3 == 1) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 2) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 3) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 4) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 5) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 6) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 7) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 8) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 9) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 10) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 11) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 12) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 13) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignalD3->Draw("Error"); + kcountHEpositivedirectionRecosignalD3++; + if (kcountHEpositivedirectionRecosignalD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD3) delete h2CeffHEpositivedirectionRecosignalD3; - //========================================================================================== 17 + if (h2CeffHEpositivedirectionRecosignalD3) + delete h2CeffHEpositivedirectionRecosignalD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD4=1; - TH1F* h2CeffHEpositivedirectionRecosignalD4 = new TH1F("h2CeffHEpositivedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD4 == 1) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 2) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 3) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 4) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 5) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 6) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 7) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 8) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 9) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 ==10) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 ==11) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 ==12) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionRecosignalD4->Draw("Error"); - kcountHEpositivedirectionRecosignalD4++; - if(kcountHEpositivedirectionRecosignalD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD4 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD4 = new TH1F("h2CeffHEpositivedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEpositivedirectionRecosignalD4 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD4 == 1) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 2) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 3) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 4) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 5) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 6) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 7) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 8) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 9) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 10) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 11) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 12) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignalD4->Draw("Error"); + kcountHEpositivedirectionRecosignalD4++; + if (kcountHEpositivedirectionRecosignalD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD4) delete h2CeffHEpositivedirectionRecosignalD4; - //========================================================================================== 18 + if (h2CeffHEpositivedirectionRecosignalD4) + delete h2CeffHEpositivedirectionRecosignalD4; + //========================================================================================== 18 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD5=1; - TH1F* h2CeffHEpositivedirectionRecosignalD5 = new TH1F("h2CeffHEpositivedirectionRecosignalD5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEpositivedirectionRecosignalD5 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD5 == 1) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 2) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 3) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 4) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 5) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 6) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 7) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 8) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 9) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 ==10) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 ==11) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionRecosignalD5->Draw("Error"); - kcountHEpositivedirectionRecosignalD5++; - if(kcountHEpositivedirectionRecosignalD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD5 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD5 = new TH1F("h2CeffHEpositivedirectionRecosignalD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD5->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEpositivedirectionRecosignalD5 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD5 == 1) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 2) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 3) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 4) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 5) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 6) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 7) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 8) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 9) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 10) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 11) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignalD5->Draw("Error"); + kcountHEpositivedirectionRecosignalD5++; + if (kcountHEpositivedirectionRecosignalD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD5) delete h2CeffHEpositivedirectionRecosignalD5; - //========================================================================================== 19 + if (h2CeffHEpositivedirectionRecosignalD5) + delete h2CeffHEpositivedirectionRecosignalD5; + //========================================================================================== 19 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD6=1; - TH1F* h2CeffHEpositivedirectionRecosignalD6 = new TH1F("h2CeffHEpositivedirectionRecosignalD6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEpositivedirectionRecosignalD6 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD6 == 1) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 2) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 3) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 4) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 5) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 6) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 7) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 8) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 9) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 ==10) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionRecosignalD6->Draw("Error"); - kcountHEpositivedirectionRecosignalD6++; - if(kcountHEpositivedirectionRecosignalD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD6 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD6 = new TH1F("h2CeffHEpositivedirectionRecosignalD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEpositivedirectionRecosignalD6 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD6 == 1) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 2) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 3) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 4) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 5) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 6) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 7) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 8) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 9) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 10) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignalD6->Draw("Error"); + kcountHEpositivedirectionRecosignalD6++; + if (kcountHEpositivedirectionRecosignalD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD6) delete h2CeffHEpositivedirectionRecosignalD6; - //========================================================================================== 20 + if (h2CeffHEpositivedirectionRecosignalD6) + delete h2CeffHEpositivedirectionRecosignalD6; + //========================================================================================== 20 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD7=1; - TH1F* h2CeffHEpositivedirectionRecosignalD7 = new TH1F("h2CeffHEpositivedirectionRecosignalD7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEpositivedirectionRecosignalD7 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD7 == 1) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignalD7 == 2) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignalD7 == 3) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionRecosignalD7->Draw("Error"); - kcountHEpositivedirectionRecosignalD7++; - if(kcountHEpositivedirectionRecosignalD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD7 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD7 = new TH1F("h2CeffHEpositivedirectionRecosignalD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEpositivedirectionRecosignalD7 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD7 == 1) + HEpositivedirectionRecosignalD7->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignalD7 == 2) + HEpositivedirectionRecosignalD7->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignalD7 == 3) + HEpositivedirectionRecosignalD7->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignalD7->Draw("Error"); + kcountHEpositivedirectionRecosignalD7++; + if (kcountHEpositivedirectionRecosignalD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD7) delete h2CeffHEpositivedirectionRecosignalD7; - + if (h2CeffHEpositivedirectionRecosignalD7) + delete h2CeffHEpositivedirectionRecosignalD7; - //========================================================================================== 22222214 + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD1=1; - TH1F* h2CeffHEnegativedirectionRecosignalD1 = new TH1F("h2CeffHEnegativedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD1 == 1) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 2) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 3) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 4) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 5) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 6) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 7) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 8) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 9) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 ==10) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 ==11) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 ==12) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionRecosignalD1->Draw("Error"); - kcountHEnegativedirectionRecosignalD1++; - if(kcountHEnegativedirectionRecosignalD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD1 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD1 = new TH1F("h2CeffHEnegativedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEnegativedirectionRecosignalD1 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD1 == 1) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 2) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 3) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 4) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 5) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 6) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 7) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 8) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 9) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 10) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 11) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 12) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignalD1->Draw("Error"); + kcountHEnegativedirectionRecosignalD1++; + if (kcountHEnegativedirectionRecosignalD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD1) delete h2CeffHEnegativedirectionRecosignalD1; - //========================================================================================== 22222215 + if (h2CeffHEnegativedirectionRecosignalD1) + delete h2CeffHEnegativedirectionRecosignalD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD2=1; - TH1F* h2CeffHEnegativedirectionRecosignalD2 = new TH1F("h2CeffHEnegativedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD2 == 1) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 2) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 3) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 4) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 5) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 6) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 7) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 8) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 9) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==10) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==11) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==12) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==13) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionRecosignalD2->Draw("Error"); - kcountHEnegativedirectionRecosignalD2++; - if(kcountHEnegativedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD2 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD2 = new TH1F("h2CeffHEnegativedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEnegativedirectionRecosignalD2 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD2 == 1) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 2) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 3) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 4) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 5) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 6) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 7) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 8) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 9) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 10) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 11) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 12) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 13) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignalD2->Draw("Error"); + kcountHEnegativedirectionRecosignalD2++; + if (kcountHEnegativedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD2) delete h2CeffHEnegativedirectionRecosignalD2; - //========================================================================================== 22222216 + if (h2CeffHEnegativedirectionRecosignalD2) + delete h2CeffHEnegativedirectionRecosignalD2; + //========================================================================================== 22222216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD3=1; - TH1F* h2CeffHEnegativedirectionRecosignalD3 = new TH1F("h2CeffHEnegativedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD3 == 1) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 2) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 3) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 4) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 5) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 6) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 7) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 8) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 9) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==10) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==11) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==12) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==13) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionRecosignalD3->Draw("Error"); - kcountHEnegativedirectionRecosignalD3++; - if(kcountHEnegativedirectionRecosignalD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD3 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD3 = new TH1F("h2CeffHEnegativedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEnegativedirectionRecosignalD3 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD3 == 1) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 2) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 3) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 4) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 5) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 6) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 7) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 8) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 9) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 10) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 11) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 12) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 13) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignalD3->Draw("Error"); + kcountHEnegativedirectionRecosignalD3++; + if (kcountHEnegativedirectionRecosignalD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD3) delete h2CeffHEnegativedirectionRecosignalD3; - //========================================================================================== 22222217 + if (h2CeffHEnegativedirectionRecosignalD3) + delete h2CeffHEnegativedirectionRecosignalD3; + //========================================================================================== 22222217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD4=1; - TH1F* h2CeffHEnegativedirectionRecosignalD4 = new TH1F("h2CeffHEnegativedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD4 == 1) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 2) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 3) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 4) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 5) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 6) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 7) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 8) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 9) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 ==10) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 ==11) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 ==12) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionRecosignalD4->Draw("Error"); - kcountHEnegativedirectionRecosignalD4++; - if(kcountHEnegativedirectionRecosignalD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD4 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD4 = new TH1F("h2CeffHEnegativedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEnegativedirectionRecosignalD4 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD4 == 1) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 2) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 3) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 4) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 5) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 6) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 7) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 8) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 9) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 10) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 11) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 12) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignalD4->Draw("Error"); + kcountHEnegativedirectionRecosignalD4++; + if (kcountHEnegativedirectionRecosignalD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD4) delete h2CeffHEnegativedirectionRecosignalD4; - //========================================================================================== 22222218 + if (h2CeffHEnegativedirectionRecosignalD4) + delete h2CeffHEnegativedirectionRecosignalD4; + //========================================================================================== 22222218 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD5=1; - TH1F* h2CeffHEnegativedirectionRecosignalD5 = new TH1F("h2CeffHEnegativedirectionRecosignalD5","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEnegativedirectionRecosignalD5 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD5 == 1) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 2) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 3) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 4) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 5) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 6) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 7) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 8) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 9) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 ==10) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 ==11) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionRecosignalD5->Draw("Error"); - kcountHEnegativedirectionRecosignalD5++; - if(kcountHEnegativedirectionRecosignalD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD5 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD5 = new TH1F("h2CeffHEnegativedirectionRecosignalD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD5->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEnegativedirectionRecosignalD5 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD5 == 1) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 2) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 3) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 4) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 5) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 6) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 7) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 8) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 9) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 10) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 11) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignalD5->Draw("Error"); + kcountHEnegativedirectionRecosignalD5++; + if (kcountHEnegativedirectionRecosignalD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD5) delete h2CeffHEnegativedirectionRecosignalD5; - //========================================================================================== 22222219 + if (h2CeffHEnegativedirectionRecosignalD5) + delete h2CeffHEnegativedirectionRecosignalD5; + //========================================================================================== 22222219 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD6=1; - TH1F* h2CeffHEnegativedirectionRecosignalD6 = new TH1F("h2CeffHEnegativedirectionRecosignalD6","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEnegativedirectionRecosignalD6 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD6 == 1) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 2) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 3) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 4) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 5) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 6) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 7) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 8) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 9) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 ==10) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionRecosignalD6->Draw("Error"); - kcountHEnegativedirectionRecosignalD6++; - if(kcountHEnegativedirectionRecosignalD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD6 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD6 = new TH1F("h2CeffHEnegativedirectionRecosignalD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEnegativedirectionRecosignalD6 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD6 == 1) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 2) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 3) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 4) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 5) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 6) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 7) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 8) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 9) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 10) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignalD6->Draw("Error"); + kcountHEnegativedirectionRecosignalD6++; + if (kcountHEnegativedirectionRecosignalD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD6) delete h2CeffHEnegativedirectionRecosignalD6; - //========================================================================================== 22222220 + if (h2CeffHEnegativedirectionRecosignalD6) + delete h2CeffHEnegativedirectionRecosignalD6; + //========================================================================================== 22222220 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD7=1; - TH1F* h2CeffHEnegativedirectionRecosignalD7 = new TH1F("h2CeffHEnegativedirectionRecosignalD7","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEnegativedirectionRecosignalD7 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD7 == 1) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignalD7 == 2) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignalD7 == 3) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionRecosignalD7->Draw("Error"); - kcountHEnegativedirectionRecosignalD7++; - if(kcountHEnegativedirectionRecosignalD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD7 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD7 = new TH1F("h2CeffHEnegativedirectionRecosignalD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEnegativedirectionRecosignalD7 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD7 == 1) + HEnegativedirectionRecosignalD7->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignalD7 == 2) + HEnegativedirectionRecosignalD7->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignalD7 == 3) + HEnegativedirectionRecosignalD7->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignalD7->Draw("Error"); + kcountHEnegativedirectionRecosignalD7++; + if (kcountHEnegativedirectionRecosignalD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD7) delete h2CeffHEnegativedirectionRecosignalD7; + if (h2CeffHEnegativedirectionRecosignalD7) + delete h2CeffHEnegativedirectionRecosignalD7; //===================================================================== END of Recosignal HE for phi-symmetry //===================================================================== END of Recosignal HE for phi-symmetry //===================================================================== END of Recosignal HE for phi-symmetry //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 2; - double arecosignalHF[ndepth][njeta][njphi]; - double recosignalvarianceHF[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double arecosignalHF[ndepth][njeta][njphi]; + double recosignalvarianceHF[ndepth][njeta][njphi]; //cout<<"111RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <FindObjectAny("h_recSignalEnergy1_HF1"); - TH2F *recSignalEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + TH2F* recSignalEnergy1HF1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF1"); + TH2F* recSignalEnergy0HF1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); TH2F* recSignalEnergyHF1 = (TH2F*)recSignalEnergy1HF1->Clone("recSignalEnergyHF1"); - recSignalEnergyHF1->Divide(recSignalEnergy1HF1,recSignalEnergy0HF1, 1, 1, "B"); - TH2F *recSignalEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF2"); - TH2F *recSignalEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + recSignalEnergyHF1->Divide(recSignalEnergy1HF1, recSignalEnergy0HF1, 1, 1, "B"); + TH2F* recSignalEnergy1HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF2"); + TH2F* recSignalEnergy0HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); TH2F* recSignalEnergyHF2 = (TH2F*)recSignalEnergy1HF2->Clone("recSignalEnergyHF2"); - recSignalEnergyHF2->Divide(recSignalEnergy1HF2,recSignalEnergy0HF2, 1, 1, "B"); -// cout<<"222RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <GetBinContent(jeta+1,jphi+1); - arecosignalHF[1][jeta][jphi] = recSignalEnergyHF2->GetBinContent(jeta+1,jphi+1); - if(arecosignalHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += arecosignalHF[0][jeta][jphi];++nsumrecosignalHF0;} - if(arecosignalHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += arecosignalHF[1][jeta][jphi];++nsumrecosignalHF1;} - }// phi - // PHI normalization: - for(int jphi=0;jphi 0.) arecosignalHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; - if(arecosignalHF[1][jeta][jphi] > 0.) arecosignalHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; - }// phi - }//eta + recSignalEnergyHF2->Divide(recSignalEnergy1HF2, recSignalEnergy0HF2, 1, 1, "B"); + // cout<<"222RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <GetBinContent(jeta + 1, jphi + 1); + arecosignalHF[1][jeta][jphi] = recSignalEnergyHF2->GetBinContent(jeta + 1, jphi + 1); + if (arecosignalHF[0][jeta][jphi] > 0.) { + sumrecosignalHF0 += arecosignalHF[0][jeta][jphi]; + ++nsumrecosignalHF0; + } + if (arecosignalHF[1][jeta][jphi] > 0.) { + sumrecosignalHF1 += arecosignalHF[1][jeta][jphi]; + ++nsumrecosignalHF1; + } + } // phi + // PHI normalization: + for (int jphi = 0; jphi < njphi; jphi++) { + if (arecosignalHF[0][jeta][jphi] > 0.) + arecosignalHF[0][jeta][jphi] /= (sumrecosignalHF0 / nsumrecosignalHF0); + if (arecosignalHF[1][jeta][jphi] > 0.) + arecosignalHF[1][jeta][jphi] /= (sumrecosignalHF1 / nsumrecosignalHF1); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthfs //====================================================================== //====================================================================== -// cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRrecosignalHF42D = new TH2F("GefzRrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRrecosignalHF42D0 = new TH2F("GefzRrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHF42D = new TH2F("GefzRrecosignalHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRrecosignalHF42D0 = new TH2F("GefzRrecosignalHF42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRrecosignalHF42DF = (TH2F*)GefzRrecosignalHF42D0->Clone("GefzRrecosignalHF42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRrecosignalHF42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHF42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRrecosignalHF42DF->Divide(GefzRrecosignalHF42D,GefzRrecosignalHF42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHF42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHF42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRrecosignalHF42D->Fill(kkk, jphi, ccc1); + GefzRrecosignalHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRrecosignalHF42DF->Divide(GefzRrecosignalHF42D, GefzRrecosignalHF42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF42DF->SetXTitle("_depth #eta \b"); + GefzRrecosignalHF42DF->SetYTitle(" #phi \b"); GefzRrecosignalHF42DF->Draw("COLZ"); - c2x1->cd(2); - TH1F *energyhitSignal_HF= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HF"); - energyhitSignal_HF ->SetMarkerStyle(20);energyhitSignal_HF ->SetMarkerSize(0.4);energyhitSignal_HF ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HF ->SetXTitle("energyhitSignal_HF \b");energyhitSignal_HF ->SetMarkerColor(2);energyhitSignal_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HF ->Draw("Error"); - - + TH1F* energyhitSignal_HF = (TH1F*)dir->FindObjectAny("h_energyhitSignal_HF"); + energyhitSignal_HF->SetMarkerStyle(20); + energyhitSignal_HF->SetMarkerSize(0.4); + energyhitSignal_HF->GetYaxis()->SetLabelSize(0.04); + energyhitSignal_HF->SetXTitle("energyhitSignal_HF \b"); + energyhitSignal_HF->SetMarkerColor(2); + energyhitSignal_HF->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitSignal_HF->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RrecosignalGeneralD2PhiSymmetryHF.png"); c2x1->Clear(); // clean-up - if (GefzRrecosignalHF42D) delete GefzRrecosignalHF42D; - if (GefzRrecosignalHF42D0) delete GefzRrecosignalHF42D0; - if (GefzRrecosignalHF42DF) delete GefzRrecosignalHF42DF; + if (GefzRrecosignalHF42D) + delete GefzRrecosignalHF42D; + if (GefzRrecosignalHF42D0) + delete GefzRrecosignalHF42D0; + if (GefzRrecosignalHF42DF) + delete GefzRrecosignalHF42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRrecosignalHF41D = new TH1F("GefzRrecosignalHF41D","", nphi, 0., 72. ); - TH1F* GefzRrecosignalHF41D0 = new TH1F("GefzRrecosignalHF41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHF41D = new TH1F("GefzRrecosignalHF41D", "", nphi, 0., 72.); + TH1F* GefzRrecosignalHF41D0 = new TH1F("GefzRrecosignalHF41D0", "", nphi, 0., 72.); TH1F* GefzRrecosignalHF41DF = (TH1F*)GefzRrecosignalHF41D0->Clone("GefzRrecosignalHF41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHF41D0 ->Fill(jphi,1.); } - }}} - GefzRrecosignalHF41DF->Divide(GefzRrecosignalHF41D,GefzRrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRrecosignalHF41D->Fill(jphi, ccc1); + GefzRrecosignalHF41D0->Fill(jphi, 1.); + } + } + } + } + GefzRrecosignalHF41DF->Divide( + GefzRrecosignalHF41D, GefzRrecosignalHF41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRrecosignalHF41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHF41DF->SetMarkerStyle(20); GefzRrecosignalHF41DF->SetMarkerSize(1.4); GefzRrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHF41DF->SetXTitle("#phi \b"); GefzRrecosignalHF41DF->SetYTitle(" \b"); GefzRrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHF41DF->SetMarkerColor(4); GefzRrecosignalHF41DF->SetLineColor(4);// GefzRrecosignalHF41DF->SetMinimum(0.8); // GefzRrecosignalHF41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF41DF->SetMarkerStyle(20); + GefzRrecosignalHF41DF->SetMarkerSize(1.4); + GefzRrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); + GefzRrecosignalHF41DF->SetXTitle("#phi \b"); + GefzRrecosignalHF41DF->SetYTitle(" \b"); + GefzRrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRrecosignalHF41DF->SetMarkerColor(4); + GefzRrecosignalHF41DF->SetLineColor( + 4); // GefzRrecosignalHF41DF->SetMinimum(0.8); // GefzRrecosignalHF41DF->SetMaximum(1.000); GefzRrecosignalHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RrecosignalGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (GefzRrecosignalHF41D) delete GefzRrecosignalHF41D; - if (GefzRrecosignalHF41D0) delete GefzRrecosignalHF41D0; - if (GefzRrecosignalHF41DF) delete GefzRrecosignalHF41DF; - //========================================================================================== 4 + if (GefzRrecosignalHF41D) + delete GefzRrecosignalHF41D; + if (GefzRrecosignalHF41D0) + delete GefzRrecosignalHF41D0; + if (GefzRrecosignalHF41DF) + delete GefzRrecosignalHF41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionRecosignal1=1; - TH1F* h2CeffHFpositivedirectionRecosignal1 = new TH1F("h2CeffHFpositivedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFpositivedirectionRecosignal1 = "<SetMarkerColor(2);HFpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignal1 == 1) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 2) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 3) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 4) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 5) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 6) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 7) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 8) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 9) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==10) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==11) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==12) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==13) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionRecosignal1->Draw("Error"); - kcountHFpositivedirectionRecosignal1++; - if(kcountHFpositivedirectionRecosignal1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFpositivedirectionRecosignal1 = (TH1F*)h2CeffHFpositivedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFpositivedirectionRecosignal1 = "<SetMarkerColor(2); + HFpositivedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignal1 == 1) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 2) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 3) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 4) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 5) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 6) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 7) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 8) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 9) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 10) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 11) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 12) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 13) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignal1->Draw("Error"); + kcountHFpositivedirectionRecosignal1++; + if (kcountHFpositivedirectionRecosignal1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignal1) delete h2CeffHFpositivedirectionRecosignal1; - + if (h2CeffHFpositivedirectionRecosignal1) + delete h2CeffHFpositivedirectionRecosignal1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionRecosignal2=1; - TH1F* h2CeffHFpositivedirectionRecosignal2 = new TH1F("h2CeffHFpositivedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFpositivedirectionRecosignal2 = "<SetMarkerColor(2);HFpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignal2 == 1) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 2) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 3) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 4) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 5) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 6) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 7) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 8) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 9) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==10) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==11) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==12) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==13) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionRecosignal2->Draw("Error"); - kcountHFpositivedirectionRecosignal2++; - if(kcountHFpositivedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignal2 = 1; + TH1F* h2CeffHFpositivedirectionRecosignal2 = new TH1F("h2CeffHFpositivedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFpositivedirectionRecosignal2 = "<SetMarkerColor(2); + HFpositivedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignal2 == 1) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 2) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 3) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 4) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 5) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 6) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 7) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 8) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 9) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 10) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 11) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 12) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 13) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignal2->Draw("Error"); + kcountHFpositivedirectionRecosignal2++; + if (kcountHFpositivedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignal2) delete h2CeffHFpositivedirectionRecosignal2; + if (h2CeffHFpositivedirectionRecosignal2) + delete h2CeffHFpositivedirectionRecosignal2; - //========================================================================================== 1111114 + //========================================================================================== 1111114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionRecosignal1=1; - TH1F* h2CeffHFnegativedirectionRecosignal1 = new TH1F("h2CeffHFnegativedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFnegativedirectionRecosignal1 = "<SetMarkerColor(2);HFnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignal1 == 1) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 2) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 3) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 4) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 5) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 6) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 7) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 8) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 9) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==10) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==11) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==12) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==13) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionRecosignal1->Draw("Error"); - kcountHFnegativedirectionRecosignal1++; - if(kcountHFnegativedirectionRecosignal1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFnegativedirectionRecosignal1 = (TH1F*)h2CeffHFnegativedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFnegativedirectionRecosignal1 = "<SetMarkerColor(2); + HFnegativedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignal1 == 1) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 2) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 3) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 4) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 5) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 6) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 7) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 8) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 9) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 10) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 11) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 12) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 13) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignal1->Draw("Error"); + kcountHFnegativedirectionRecosignal1++; + if (kcountHFnegativedirectionRecosignal1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignal1) delete h2CeffHFnegativedirectionRecosignal1; - + if (h2CeffHFnegativedirectionRecosignal1) + delete h2CeffHFnegativedirectionRecosignal1; - //========================================================================================== 1111115 + //========================================================================================== 1111115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionRecosignal2=1; - TH1F* h2CeffHFnegativedirectionRecosignal2 = new TH1F("h2CeffHFnegativedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFnegativedirectionRecosignal2 = "<SetMarkerColor(2);HFnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignal2 == 1) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 2) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 3) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 4) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 5) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 6) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 7) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 8) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 9) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==10) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==11) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==12) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==13) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); - HFnegativedirectionRecosignal2->Draw("Error"); - kcountHFnegativedirectionRecosignal2++; - if(kcountHFnegativedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignal2 = 1; + TH1F* h2CeffHFnegativedirectionRecosignal2 = new TH1F("h2CeffHFnegativedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFnegativedirectionRecosignal2 = "<SetMarkerColor(2); + HFnegativedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignal2 == 1) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 2) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 3) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 4) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 5) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 6) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 7) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 8) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 9) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 10) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 11) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 12) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 13) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionRecosignal2->Draw("Error"); + kcountHFnegativedirectionRecosignal2++; + if (kcountHFnegativedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignal2) delete h2CeffHFnegativedirectionRecosignal2; + if (h2CeffHFnegativedirectionRecosignal2) + delete h2CeffHFnegativedirectionRecosignal2; //====================================================================================================================== //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HF1"); - TH2F *recosignalVariance0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HF1"); + TH2F* recosignalVariance0HF1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); TH2F* recosignalVarianceHF1 = (TH2F*)recosignalVariance1HF1->Clone("recosignalVarianceHF1"); - recosignalVarianceHF1->Divide(recosignalVariance1HF1,recosignalVariance0HF1, 1, 1, "B"); - TH2F *recosignalVariance1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HF2"); - TH2F *recosignalVariance0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + recosignalVarianceHF1->Divide(recosignalVariance1HF1, recosignalVariance0HF1, 1, 1, "B"); + TH2F* recosignalVariance1HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HF2"); + TH2F* recosignalVariance0HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); TH2F* recosignalVarianceHF2 = (TH2F*)recosignalVariance1HF2->Clone("recosignalVarianceHF2"); - recosignalVarianceHF2->Divide(recosignalVariance1HF2,recosignalVariance0HF2, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHF - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - recosignalvarianceHF[1][jeta][jphi] = recosignalVarianceHF2->GetBinContent(jeta+1,jphi+1); - if(recosignalvarianceHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += recosignalvarianceHF[0][jeta][jphi];++nsumrecosignalHF0;} - if(recosignalvarianceHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += recosignalvarianceHF[1][jeta][jphi];++nsumrecosignalHF1;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) recosignalvarianceHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; - if(recosignalvarianceHF[1][jeta][jphi] > 0.) recosignalvarianceHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; - }// phi - // recosignalvarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive recosignalvarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumrecosignalHF0 = 0; + int nsumrecosignalHF0 = 0; + double sumrecosignalHF1 = 0; + int nsumrecosignalHF1 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + recosignalvarianceHF[0][jeta][jphi] = recosignalVarianceHF1->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHF[1][jeta][jphi] = recosignalVarianceHF2->GetBinContent(jeta + 1, jphi + 1); + if (recosignalvarianceHF[0][jeta][jphi] > 0.) { + sumrecosignalHF0 += recosignalvarianceHF[0][jeta][jphi]; + ++nsumrecosignalHF0; } - //cout<<" Vaiance: DONE*****" < 0.) { + sumrecosignalHF1 += recosignalvarianceHF[1][jeta][jphi]; + ++nsumrecosignalHF1; + } + } // phi + // PHI normalization : + for (int jphi = 0; jphi < njphi; jphi++) { + if (recosignalvarianceHF[0][jeta][jphi] > 0.) + recosignalvarianceHF[0][jeta][jphi] /= (sumrecosignalHF0 / nsumrecosignalHF0); + if (recosignalvarianceHF[1][jeta][jphi] > 0.) + recosignalvarianceHF[1][jeta][jphi] /= (sumrecosignalHF1 / nsumrecosignalHF1); + } // phi + // recosignalvarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDrecosignalHF42D = new TH2F("DefzDrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHF42D0 = new TH2F("DefzDrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHF42DF = (TH2F*)DefzDrecosignalHF42D0->Clone("DefzDrecosignalHF42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(arecosignalHF[i][jeta][jphi]>0.) {DefzDrecosignalHF42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHF42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDrecosignalHF42DF->Divide(DefzDrecosignalHF42D,DefzDrecosignalHF42D0, 1, 1, "B");// average A - // DefzDrecosignalHF1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHF42DF->SetMarkerStyle(20); DefzDrecosignalHF42DF->SetMarkerSize(0.4); DefzDrecosignalHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHF42DF->SetYTitle(" #phi \b"); DefzDrecosignalHF42DF->SetZTitle("_depth \b"); DefzDrecosignalHF42DF->SetMarkerColor(2); DefzDrecosignalHF42DF->SetLineColor(0); // DefzDrecosignalHF42DF->SetMaximum(1.000); // DefzDrecosignalHF42DF->SetMinimum(1.0); - DefzDrecosignalHF42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DrecosignalGeneralD2PhiSymmetryHF.png"); - c1x0->Clear(); - // clean-up - if (DefzDrecosignalHF42D) delete DefzDrecosignalHF42D; - if (DefzDrecosignalHF42D0) delete DefzDrecosignalHF42D0; - if (DefzDrecosignalHF42DF) delete DefzDrecosignalHF42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDrecosignalHF42D = new TH2F("DefzDrecosignalHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHF42D0 = new TH2F("DefzDrecosignalHF42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHF42DF = (TH2F*)DefzDrecosignalHF42D0->Clone("DefzDrecosignalHF42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (arecosignalHF[i][jeta][jphi] > 0.) { + DefzDrecosignalHF42D->Fill(kkk, jphi, ccc1); + DefzDrecosignalHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDrecosignalHF42DF->Divide(DefzDrecosignalHF42D, DefzDrecosignalHF42D0, 1, 1, "B"); // average A + // DefzDrecosignalHF1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF42DF->SetMarkerStyle(20); + DefzDrecosignalHF42DF->SetMarkerSize(0.4); + DefzDrecosignalHF42DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHF42DF->SetXTitle("_depth #eta \b"); + DefzDrecosignalHF42DF->SetYTitle(" #phi \b"); + DefzDrecosignalHF42DF->SetZTitle("_depth \b"); + DefzDrecosignalHF42DF->SetMarkerColor(2); + DefzDrecosignalHF42DF->SetLineColor( + 0); // DefzDrecosignalHF42DF->SetMaximum(1.000); // DefzDrecosignalHF42DF->SetMinimum(1.0); + DefzDrecosignalHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHF42D) + delete DefzDrecosignalHF42D; + if (DefzDrecosignalHF42D0) + delete DefzDrecosignalHF42D0; + if (DefzDrecosignalHF42DF) + delete DefzDrecosignalHF42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDrecosignalHF41D = new TH1F("DefzDrecosignalHF41D","", nphi, 0., 72. ); - TH1F* DefzDrecosignalHF41D0 = new TH1F("DefzDrecosignalHF41D0","",nphi, 0., 72. ); - TH1F* DefzDrecosignalHF41DF = (TH1F*)DefzDrecosignalHF41D0->Clone("DefzDrecosignalHF41DF"); - - for (int jphi=0;jphi0.) {DefzDrecosignalHF41D ->Fill(jphi,ccc1); DefzDrecosignalHF41D0 ->Fill(jphi,1.); } - }}} - // DefzDrecosignalHF41D->Sumw2();DefzDrecosignalHF41D0->Sumw2(); - - DefzDrecosignalHF41DF->Divide(DefzDrecosignalHF41D,DefzDrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDrecosignalHF41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHF41DF->SetMarkerStyle(20); DefzDrecosignalHF41DF->SetMarkerSize(1.4); DefzDrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF41DF->SetXTitle("#phi \b"); DefzDrecosignalHF41DF->SetYTitle(" \b"); DefzDrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHF41DF->SetMarkerColor(4); DefzDrecosignalHF41DF->SetLineColor(4);// DefzDrecosignalHF41DF->SetMinimum(0.8); DefzDrecosignalHF41DF->SetMinimum(-0.015); - DefzDrecosignalHF41DF->Draw("Error"); + TH1F* DefzDrecosignalHF41D = new TH1F("DefzDrecosignalHF41D", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHF41D0 = new TH1F("DefzDrecosignalHF41D0", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHF41DF = (TH1F*)DefzDrecosignalHF41D0->Clone("DefzDrecosignalHF41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + DefzDrecosignalHF41D->Fill(jphi, ccc1); + DefzDrecosignalHF41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDrecosignalHF41D->Sumw2();DefzDrecosignalHF41D0->Sumw2(); + + DefzDrecosignalHF41DF->Divide( + DefzDrecosignalHF41D, DefzDrecosignalHF41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDrecosignalHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF41DF->SetMarkerStyle(20); + DefzDrecosignalHF41DF->SetMarkerSize(1.4); + DefzDrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHF41DF->SetXTitle("#phi \b"); + DefzDrecosignalHF41DF->SetYTitle(" \b"); + DefzDrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDrecosignalHF41DF->SetMarkerColor(4); + DefzDrecosignalHF41DF->SetLineColor( + 4); // DefzDrecosignalHF41DF->SetMinimum(0.8); DefzDrecosignalHF41DF->SetMinimum(-0.015); + DefzDrecosignalHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DrecosignalGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (DefzDrecosignalHF41D) delete DefzDrecosignalHF41D; - if (DefzDrecosignalHF41D0) delete DefzDrecosignalHF41D0; - if (DefzDrecosignalHF41DF) delete DefzDrecosignalHF41DF; - //========================================================================================== 14 + if (DefzDrecosignalHF41D) + delete DefzDrecosignalHF41D; + if (DefzDrecosignalHF41D0) + delete DefzDrecosignalHF41D0; + if (DefzDrecosignalHF41DF) + delete DefzDrecosignalHF41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionRecosignalD1=1; - TH1F* h2CeffHFpositivedirectionRecosignalD1 = new TH1F("h2CeffHFpositivedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignalD1 == 1) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 2) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 3) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 4) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 5) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 6) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 7) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 8) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 9) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==10) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==11) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==12) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==13) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionRecosignalD1->Draw("Error"); - kcountHFpositivedirectionRecosignalD1++; - if(kcountHFpositivedirectionRecosignalD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignalD1 = 1; + TH1F* h2CeffHFpositivedirectionRecosignalD1 = new TH1F("h2CeffHFpositivedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFpositivedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFpositivedirectionRecosignalD1 = "<SetMarkerColor(2); + HFpositivedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignalD1 == 1) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 2) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 3) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 4) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 5) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 6) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 7) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 8) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 9) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 10) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 11) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 12) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 13) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignalD1->Draw("Error"); + kcountHFpositivedirectionRecosignalD1++; + if (kcountHFpositivedirectionRecosignalD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignalD1) delete h2CeffHFpositivedirectionRecosignalD1; - //========================================================================================== 15 + if (h2CeffHFpositivedirectionRecosignalD1) + delete h2CeffHFpositivedirectionRecosignalD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionRecosignalD2=1; - TH1F* h2CeffHFpositivedirectionRecosignalD2 = new TH1F("h2CeffHFpositivedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignalD2 == 1) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 2) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 3) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 4) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 5) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 6) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 7) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 8) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 9) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==10) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==11) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==12) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==13) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionRecosignalD2->Draw("Error"); - kcountHFpositivedirectionRecosignalD2++; - if(kcountHFpositivedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignalD2 = 1; + TH1F* h2CeffHFpositivedirectionRecosignalD2 = new TH1F("h2CeffHFpositivedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFpositivedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFpositivedirectionRecosignalD2 = "<SetMarkerColor(2); + HFpositivedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignalD2 == 1) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 2) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 3) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 4) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 5) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 6) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 7) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 8) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 9) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 10) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 11) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 12) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 13) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignalD2->Draw("Error"); + kcountHFpositivedirectionRecosignalD2++; + if (kcountHFpositivedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignalD2) delete h2CeffHFpositivedirectionRecosignalD2; - //========================================================================================== 22222214 + if (h2CeffHFpositivedirectionRecosignalD2) + delete h2CeffHFpositivedirectionRecosignalD2; + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionRecosignalD1=1; - TH1F* h2CeffHFnegativedirectionRecosignalD1 = new TH1F("h2CeffHFnegativedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignalD1 == 1) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 2) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 3) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 4) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 5) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 6) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 7) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 8) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 9) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==10) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==11) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==12) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==13) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionRecosignalD1->Draw("Error"); - kcountHFnegativedirectionRecosignalD1++; - if(kcountHFnegativedirectionRecosignalD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignalD1 = 1; + TH1F* h2CeffHFnegativedirectionRecosignalD1 = new TH1F("h2CeffHFnegativedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFnegativedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFnegativedirectionRecosignalD1 = "<SetMarkerColor(2); + HFnegativedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignalD1 == 1) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 2) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 3) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 4) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 5) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 6) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 7) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 8) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 9) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 10) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 11) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 12) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 13) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignalD1->Draw("Error"); + kcountHFnegativedirectionRecosignalD1++; + if (kcountHFnegativedirectionRecosignalD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignalD1) delete h2CeffHFnegativedirectionRecosignalD1; - //========================================================================================== 22222215 + if (h2CeffHFnegativedirectionRecosignalD1) + delete h2CeffHFnegativedirectionRecosignalD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionRecosignalD2=1; - TH1F* h2CeffHFnegativedirectionRecosignalD2 = new TH1F("h2CeffHFnegativedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignalD2 == 1) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 2) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 3) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 4) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 5) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 6) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 7) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 8) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 9) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==10) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==11) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==12) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==13) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); - HFnegativedirectionRecosignalD2->Draw("Error"); - kcountHFnegativedirectionRecosignalD2++; - if(kcountHFnegativedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignalD2 = 1; + TH1F* h2CeffHFnegativedirectionRecosignalD2 = new TH1F("h2CeffHFnegativedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFnegativedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFnegativedirectionRecosignalD2 = "<SetMarkerColor(2); + HFnegativedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignalD2 == 1) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 2) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 3) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 4) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 5) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 6) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 7) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 8) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 9) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 10) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 11) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 12) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 13) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionRecosignalD2->Draw("Error"); + kcountHFnegativedirectionRecosignalD2++; + if (kcountHFnegativedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignalD2) delete h2CeffHFnegativedirectionRecosignalD2; + if (h2CeffHFnegativedirectionRecosignalD2) + delete h2CeffHFnegativedirectionRecosignalD2; //===================================================================== END of Recosignal HF for phi-symmetry //===================================================================== END of Recosignal HF for phi-symmetry @@ -3895,620 +5360,890 @@ main(int argc, char *argv[]){ //============================================================================================================ END of Recosignal for phi-symmetry //============================================================================================================ END of Recosignal for phi-symmetry -////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start -////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start -////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start + ////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start + ////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start + ////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 4; - double areconoiseHB[ndepth][njeta][njphi]; - double breconoiseHB[ndepth][njeta][njphi]; - double reconoisevarianceHB[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double areconoiseHB[ndepth][njeta][njphi]; + double breconoiseHB[ndepth][njeta][njphi]; + double reconoisevarianceHB[ndepth][njeta][njphi]; // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HB recNoiseEnergy - TH2F *recNoiseEnergy1HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB1"); - TH2F *recNoiseEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + TH2F* recNoiseEnergy1HB1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB1"); + TH2F* recNoiseEnergy0HB1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); TH2F* recNoiseEnergyHB1 = (TH2F*)recNoiseEnergy1HB1->Clone("recNoiseEnergyHB1"); - recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1,recNoiseEnergy0HB1, 1, 1, "B"); - TH2F *recNoiseEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB2"); - TH2F *recNoiseEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1, recNoiseEnergy0HB1, 1, 1, "B"); + TH2F* recNoiseEnergy1HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB2"); + TH2F* recNoiseEnergy0HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); TH2F* recNoiseEnergyHB2 = (TH2F*)recNoiseEnergy1HB2->Clone("recNoiseEnergyHB2"); - recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2,recNoiseEnergy0HB2, 1, 1, "B"); - TH2F *recNoiseEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB3"); - TH2F *recNoiseEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2, recNoiseEnergy0HB2, 1, 1, "B"); + TH2F* recNoiseEnergy1HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB3"); + TH2F* recNoiseEnergy0HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); TH2F* recNoiseEnergyHB3 = (TH2F*)recNoiseEnergy1HB3->Clone("recNoiseEnergyHB3"); - recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3,recNoiseEnergy0HB3, 1, 1, "B"); - TH2F *recNoiseEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB4"); - TH2F *recNoiseEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3, recNoiseEnergy0HB3, 1, 1, "B"); + TH2F* recNoiseEnergy1HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB4"); + TH2F* recNoiseEnergy0HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); TH2F* recNoiseEnergyHB4 = (TH2F*)recNoiseEnergy1HB4->Clone("recNoiseEnergyHB4"); - recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4,recNoiseEnergy0HB4, 1, 1, "B"); - for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4, recNoiseEnergy0HB4, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { //====================================================================== PHI normalization & put R into massive areconoiseHB //preparation for PHI normalization: - double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - areconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); - areconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); - areconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); - breconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta+1,jphi+1); - breconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); - breconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); - breconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); - if(areconoiseHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += areconoiseHB[0][jeta][jphi];++nsumreconoiseHB0;} - if(areconoiseHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += areconoiseHB[1][jeta][jphi];++nsumreconoiseHB1;} - if(areconoiseHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += areconoiseHB[2][jeta][jphi];++nsumreconoiseHB2;} - if(areconoiseHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += areconoiseHB[3][jeta][jphi];++nsumreconoiseHB3;} - }// phi + double sumreconoiseHB0 = 0; + int nsumreconoiseHB0 = 0; + double sumreconoiseHB1 = 0; + int nsumreconoiseHB1 = 0; + double sumreconoiseHB2 = 0; + int nsumreconoiseHB2 = 0; + double sumreconoiseHB3 = 0; + int nsumreconoiseHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + areconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta + 1, jphi + 1); + areconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta + 1, jphi + 1); + areconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta + 1, jphi + 1); + areconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta + 1, jphi + 1); + if (areconoiseHB[0][jeta][jphi] != 0.) { + sumreconoiseHB0 += areconoiseHB[0][jeta][jphi]; + ++nsumreconoiseHB0; + } + if (areconoiseHB[1][jeta][jphi] != 0.) { + sumreconoiseHB1 += areconoiseHB[1][jeta][jphi]; + ++nsumreconoiseHB1; + } + if (areconoiseHB[2][jeta][jphi] != 0.) { + sumreconoiseHB2 += areconoiseHB[2][jeta][jphi]; + ++nsumreconoiseHB2; + } + if (areconoiseHB[3][jeta][jphi] != 0.) { + sumreconoiseHB3 += areconoiseHB[3][jeta][jphi]; + ++nsumreconoiseHB3; + } + } // phi // PHI normalization: DIF - for(int jphi=0;jphiClear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRreconoiseHB42D = new TH2F("GefzRreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRreconoiseHB42D0 = new TH2F("GefzRreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHB42D = new TH2F("GefzRreconoiseHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRreconoiseHB42D0 = new TH2F("GefzRreconoiseHB42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRreconoiseHB42DF = (TH2F*)GefzRreconoiseHB42D0->Clone("GefzRreconoiseHB42DF"); - for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHB42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzRreconoiseHB42DF->Divide(GefzRreconoiseHB42D,GefzRreconoiseHB42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHB42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRreconoiseHB42D->Fill(kkk, jphi, ccc1); + GefzRreconoiseHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzRreconoiseHB42DF->Divide(GefzRreconoiseHB42D, GefzRreconoiseHB42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB42DF->SetXTitle("_depth #eta \b"); + GefzRreconoiseHB42DF->SetYTitle(" #phi \b"); GefzRreconoiseHB42DF->Draw("COLZ"); - c2x1->cd(2); - TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); - energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); - - + TH1F* energyhitNoise_HB = (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); + energyhitNoise_HB->SetMarkerStyle(20); + energyhitNoise_HB->SetMarkerSize(0.4); + energyhitNoise_HB->GetYaxis()->SetLabelSize(0.04); + energyhitNoise_HB->SetXTitle("energyhitNoise_HB \b"); + energyhitNoise_HB->SetMarkerColor(2); + energyhitNoise_HB->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitNoise_HB->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RreconoiseGeneralD2PhiSymmetryHB.png"); c2x1->Clear(); // clean-up - if (GefzRreconoiseHB42D) delete GefzRreconoiseHB42D; - if (GefzRreconoiseHB42D0) delete GefzRreconoiseHB42D0; - if (GefzRreconoiseHB42DF) delete GefzRreconoiseHB42DF; + if (GefzRreconoiseHB42D) + delete GefzRreconoiseHB42D; + if (GefzRreconoiseHB42D0) + delete GefzRreconoiseHB42D0; + if (GefzRreconoiseHB42DF) + delete GefzRreconoiseHB42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRreconoiseHB41D = new TH1F("GefzRreconoiseHB41D","", nphi, 0., 72. ); - TH1F* GefzRreconoiseHB41D0 = new TH1F("GefzRreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHB41D = new TH1F("GefzRreconoiseHB41D", "", nphi, 0., 72.); + TH1F* GefzRreconoiseHB41D0 = new TH1F("GefzRreconoiseHB41D0", "", nphi, 0., 72.); TH1F* GefzRreconoiseHB41DF = (TH1F*)GefzRreconoiseHB41D0->Clone("GefzRreconoiseHB41DF"); - for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHB41D0 ->Fill(jphi,1.); } - }}}} - GefzRreconoiseHB41DF->Divide(GefzRreconoiseHB41D,GefzRreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRreconoiseHB41D->Fill(jphi, ccc1); + GefzRreconoiseHB41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzRreconoiseHB41DF->Divide(GefzRreconoiseHB41D, GefzRreconoiseHB41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRreconoiseHB41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHB41DF->SetMarkerStyle(20); GefzRreconoiseHB41DF->SetMarkerSize(1.4); GefzRreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHB41DF->SetXTitle("#phi \b"); GefzRreconoiseHB41DF->SetYTitle(" \b"); GefzRreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHB41DF->SetMarkerColor(4); GefzRreconoiseHB41DF->SetLineColor(4);//GefzRreconoiseHB41DF->SetMinimum(0.8); // GefzRreconoiseHB41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB41DF->SetMarkerStyle(20); + GefzRreconoiseHB41DF->SetMarkerSize(1.4); + GefzRreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); + GefzRreconoiseHB41DF->SetXTitle("#phi \b"); + GefzRreconoiseHB41DF->SetYTitle(" \b"); + GefzRreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRreconoiseHB41DF->SetMarkerColor(4); + GefzRreconoiseHB41DF->SetLineColor( + 4); //GefzRreconoiseHB41DF->SetMinimum(0.8); // GefzRreconoiseHB41DF->SetMaximum(1.000); GefzRreconoiseHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RreconoiseGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (GefzRreconoiseHB41D) delete GefzRreconoiseHB41D; - if (GefzRreconoiseHB41D0) delete GefzRreconoiseHB41D0; - if (GefzRreconoiseHB41DF) delete GefzRreconoiseHB41DF; - //========================================================================================== 4 + if (GefzRreconoiseHB41D) + delete GefzRreconoiseHB41D; + if (GefzRreconoiseHB41D0) + delete GefzRreconoiseHB41D0; + if (GefzRreconoiseHB41DF) + delete GefzRreconoiseHB41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoise1=1; - TH1F* h2CeffHBpositivedirectionReconoise1 = new TH1F("h2CeffHBpositivedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + if (jeta - 41 >= 0 && jeta - 41 <= 15) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBpositivedirectionReconoise1 = "<SetMarkerColor(2);HBpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise1 == 1) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 2) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 3) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 4) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 5) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 6) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 7) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 8) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 9) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==10) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==11) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==12) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==13) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==14) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==15) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==16) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionReconoise1->Draw("Error"); - kcountHBpositivedirectionReconoise1++; - if(kcountHBpositivedirectionReconoise1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBpositivedirectionReconoise1 = (TH1F*)h2CeffHBpositivedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBpositivedirectionReconoise1 = "<SetMarkerColor(2); + HBpositivedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise1 == 1) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 2) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 3) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 4) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 5) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 6) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 7) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 8) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 9) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 10) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 11) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 12) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 13) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 14) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 15) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 16) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoise1->Draw("Error"); + kcountHBpositivedirectionReconoise1++; + if (kcountHBpositivedirectionReconoise1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise1) delete h2CeffHBpositivedirectionReconoise1; - + if (h2CeffHBpositivedirectionReconoise1) + delete h2CeffHBpositivedirectionReconoise1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoise2=1; - TH1F* h2CeffHBpositivedirectionReconoise2 = new TH1F("h2CeffHBpositivedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBpositivedirectionReconoise2 = "<SetMarkerColor(2);HBpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise2 == 1) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 2) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 3) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 4) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 5) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 6) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 7) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 8) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 9) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==10) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==11) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==12) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==13) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==14) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==15) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==16) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionReconoise2->Draw("Error"); - kcountHBpositivedirectionReconoise2++; - if(kcountHBpositivedirectionReconoise2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise2 = 1; + TH1F* h2CeffHBpositivedirectionReconoise2 = new TH1F("h2CeffHBpositivedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBpositivedirectionReconoise2 = "<SetMarkerColor(2); + HBpositivedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise2 == 1) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 2) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 3) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 4) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 5) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 6) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 7) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 8) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 9) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 10) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 11) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 12) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 13) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 14) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 15) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 16) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoise2->Draw("Error"); + kcountHBpositivedirectionReconoise2++; + if (kcountHBpositivedirectionReconoise2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise2) delete h2CeffHBpositivedirectionReconoise2; - //========================================================================================== 6 + if (h2CeffHBpositivedirectionReconoise2) + delete h2CeffHBpositivedirectionReconoise2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoise3=1; - TH1F* h2CeffHBpositivedirectionReconoise3 = new TH1F("h2CeffHBpositivedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBpositivedirectionReconoise3 = "<SetMarkerColor(2);HBpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise3 == 1) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 2) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 3) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 4) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 5) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 6) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 7) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 8) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 9) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==10) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==11) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==12) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==13) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==14) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==15) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==16) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionReconoise3->Draw("Error"); - kcountHBpositivedirectionReconoise3++; - if(kcountHBpositivedirectionReconoise3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise3 = 1; + TH1F* h2CeffHBpositivedirectionReconoise3 = new TH1F("h2CeffHBpositivedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBpositivedirectionReconoise3 = "<SetMarkerColor(2); + HBpositivedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise3 == 1) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 2) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 3) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 4) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 5) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 6) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 7) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 8) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 9) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 10) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 11) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 12) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 13) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 14) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 15) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 16) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoise3->Draw("Error"); + kcountHBpositivedirectionReconoise3++; + if (kcountHBpositivedirectionReconoise3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise3) delete h2CeffHBpositivedirectionReconoise3; - //========================================================================================== 7 + if (h2CeffHBpositivedirectionReconoise3) + delete h2CeffHBpositivedirectionReconoise3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoise4=1; - TH1F* h2CeffHBpositivedirectionReconoise4 = new TH1F("h2CeffHBpositivedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBpositivedirectionReconoise4 = "<SetMarkerColor(2);HBpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise4 == 1) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 2) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 3) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 4) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 5) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 6) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 7) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 8) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 9) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==10) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==11) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==12) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==13) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==14) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==15) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==16) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionReconoise4->Draw("Error"); - kcountHBpositivedirectionReconoise4++; - if(kcountHBpositivedirectionReconoise4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise4 = 1; + TH1F* h2CeffHBpositivedirectionReconoise4 = new TH1F("h2CeffHBpositivedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBpositivedirectionReconoise4 = "<SetMarkerColor(2); + HBpositivedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise4 == 1) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 2) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 3) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 4) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 5) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 6) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 7) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 8) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 9) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 10) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 11) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 12) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 13) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 14) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 15) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 16) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoise4->Draw("Error"); + kcountHBpositivedirectionReconoise4++; + if (kcountHBpositivedirectionReconoise4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise4) delete h2CeffHBpositivedirectionReconoise4; + if (h2CeffHBpositivedirectionReconoise4) + delete h2CeffHBpositivedirectionReconoise4; - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoise1=1; - TH1F* h2CeffHBnegativedirectionReconoise1 = new TH1F("h2CeffHBnegativedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + if (jeta - 41 >= -16 && jeta - 41 <= -1) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBnegativedirectionReconoise1 = "<SetMarkerColor(2);HBnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise1 == 1) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 2) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 3) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 4) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 5) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 6) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 7) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 8) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 9) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==10) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==11) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==12) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==13) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==14) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==15) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==16) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionReconoise1->Draw("Error"); - kcountHBnegativedirectionReconoise1++; - if(kcountHBnegativedirectionReconoise1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBnegativedirectionReconoise1 = (TH1F*)h2CeffHBnegativedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBnegativedirectionReconoise1 = "<SetMarkerColor(2); + HBnegativedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise1 == 1) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 2) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 3) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 4) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 5) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 6) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 7) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 8) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 9) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 10) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 11) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 12) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 13) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 14) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 15) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 16) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoise1->Draw("Error"); + kcountHBnegativedirectionReconoise1++; + if (kcountHBnegativedirectionReconoise1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise1) delete h2CeffHBnegativedirectionReconoise1; - + if (h2CeffHBnegativedirectionReconoise1) + delete h2CeffHBnegativedirectionReconoise1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoise2=1; - TH1F* h2CeffHBnegativedirectionReconoise2 = new TH1F("h2CeffHBnegativedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBnegativedirectionReconoise2 = "<SetMarkerColor(2);HBnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise2 == 1) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 2) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 3) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 4) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 5) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 6) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 7) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 8) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 9) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==10) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==11) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==12) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==13) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==14) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==15) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==16) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); - HBnegativedirectionReconoise2->Draw("Error"); - kcountHBnegativedirectionReconoise2++; - if(kcountHBnegativedirectionReconoise2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise2 = 1; + TH1F* h2CeffHBnegativedirectionReconoise2 = new TH1F("h2CeffHBnegativedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBnegativedirectionReconoise2 = "<SetMarkerColor(2); + HBnegativedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise2 == 1) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 2) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 3) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 4) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 5) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 6) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 7) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 8) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 9) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 10) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 11) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 12) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 13) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 14) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 15) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 16) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoise2->Draw("Error"); + kcountHBnegativedirectionReconoise2++; + if (kcountHBnegativedirectionReconoise2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise2) delete h2CeffHBnegativedirectionReconoise2; - //========================================================================================== 1116 + if (h2CeffHBnegativedirectionReconoise2) + delete h2CeffHBnegativedirectionReconoise2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoise3=1; - TH1F* h2CeffHBnegativedirectionReconoise3 = new TH1F("h2CeffHBnegativedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBnegativedirectionReconoise3 = "<SetMarkerColor(2);HBnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise3 == 1) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 2) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 3) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 4) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 5) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 6) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 7) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 8) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 9) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==10) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==11) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==12) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==13) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==14) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==15) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==16) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); - - HBnegativedirectionReconoise3->Draw("Error"); - kcountHBnegativedirectionReconoise3++; - if(kcountHBnegativedirectionReconoise3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise3 = 1; + TH1F* h2CeffHBnegativedirectionReconoise3 = new TH1F("h2CeffHBnegativedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBnegativedirectionReconoise3 = "<SetMarkerColor(2); + HBnegativedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise3 == 1) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 2) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 3) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 4) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 5) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 6) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 7) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 8) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 9) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 10) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 11) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 12) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 13) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 14) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 15) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 16) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoise3->Draw("Error"); + kcountHBnegativedirectionReconoise3++; + if (kcountHBnegativedirectionReconoise3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise3) delete h2CeffHBnegativedirectionReconoise3; - //========================================================================================== 1117 + if (h2CeffHBnegativedirectionReconoise3) + delete h2CeffHBnegativedirectionReconoise3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoise4=1; - TH1F* h2CeffHBnegativedirectionReconoise4 = new TH1F("h2CeffHBnegativedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBnegativedirectionReconoise4 = "<SetMarkerColor(2);HBnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise4 == 1) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 2) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 3) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 4) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 5) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 6) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 7) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 8) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 9) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==10) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==11) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==12) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==13) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==14) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==15) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==16) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); - HBnegativedirectionReconoise4->Draw("Error"); - kcountHBnegativedirectionReconoise4++; - if(kcountHBnegativedirectionReconoise4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise4 = 1; + TH1F* h2CeffHBnegativedirectionReconoise4 = new TH1F("h2CeffHBnegativedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBnegativedirectionReconoise4 = "<SetMarkerColor(2); + HBnegativedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise4 == 1) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 2) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 3) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 4) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 5) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 6) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 7) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 8) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 9) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 10) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 11) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 12) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 13) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 14) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 15) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 16) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoise4->Draw("Error"); + kcountHBnegativedirectionReconoise4++; + if (kcountHBnegativedirectionReconoise4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise4) delete h2CeffHBnegativedirectionReconoise4; + if (h2CeffHBnegativedirectionReconoise4) + delete h2CeffHBnegativedirectionReconoise4; //====================================================================================================================== // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HE @@ -4517,2146 +6252,2980 @@ main(int argc, char *argv[]){ //cout<<" R2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzDIFreconoiseHB42D = new TH2F("GefzDIFreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzDIFreconoiseHB42D0 = new TH2F("GefzDIFreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHB42D = new TH2F("GefzDIFreconoiseHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzDIFreconoiseHB42D0 = new TH2F("GefzDIFreconoiseHB42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzDIFreconoiseHB42DF = (TH2F*)GefzDIFreconoiseHB42D0->Clone("GefzDIFreconoiseHB42DF"); - for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzDIFreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHB42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzDIFreconoiseHB42DF->Divide(GefzDIFreconoiseHB42D,GefzDIFreconoiseHB42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHB42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzDIFreconoiseHB42D->Fill(kkk, jphi, ccc1); + GefzDIFreconoiseHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHB42DF->Divide(GefzDIFreconoiseHB42D, GefzDIFreconoiseHB42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB42DF->SetXTitle("_depth #eta \b"); + GefzDIFreconoiseHB42DF->SetYTitle(" #phi \b"); GefzDIFreconoiseHB42DF->Draw("COLZ"); - // c2x1->cd(2); // TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); - // energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); - - + // energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHB.png"); c2x1->Clear(); // clean-up - if (GefzDIFreconoiseHB42D) delete GefzDIFreconoiseHB42D; - if (GefzDIFreconoiseHB42D0) delete GefzDIFreconoiseHB42D0; - if (GefzDIFreconoiseHB42DF) delete GefzDIFreconoiseHB42DF; + if (GefzDIFreconoiseHB42D) + delete GefzDIFreconoiseHB42D; + if (GefzDIFreconoiseHB42D0) + delete GefzDIFreconoiseHB42D0; + if (GefzDIFreconoiseHB42DF) + delete GefzDIFreconoiseHB42DF; //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzDIFreconoiseHB41D = new TH1F("GefzDIFreconoiseHB41D","", nphi, 0., 72. ); - TH1F* GefzDIFreconoiseHB41D0 = new TH1F("GefzDIFreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHB41D = new TH1F("GefzDIFreconoiseHB41D", "", nphi, 0., 72.); + TH1F* GefzDIFreconoiseHB41D0 = new TH1F("GefzDIFreconoiseHB41D0", "", nphi, 0., 72.); TH1F* GefzDIFreconoiseHB41DF = (TH1F*)GefzDIFreconoiseHB41D0->Clone("GefzDIFreconoiseHB41DF"); - for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHB41D0 ->Fill(jphi,1.); } - }}}} - GefzDIFreconoiseHB41DF->Divide(GefzDIFreconoiseHB41D,GefzDIFreconoiseHB41D0, 1, 1, "B");// DIF averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzDIFreconoiseHB41D->Fill(jphi, ccc1); + GefzDIFreconoiseHB41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHB41DF->Divide( + GefzDIFreconoiseHB41D, GefzDIFreconoiseHB41D0, 1, 1, "B"); // DIF averaged over depthfs & eta GefzDIFreconoiseHB41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHB41DF->SetMarkerStyle(20); GefzDIFreconoiseHB41DF->SetMarkerSize(1.4); GefzDIFreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHB41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHB41DF->SetYTitle(" \b"); GefzDIFreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHB41DF->SetMarkerColor(4); GefzDIFreconoiseHB41DF->SetLineColor(4);//GefzDIFreconoiseHB41DF->SetMinimum(0.8); // GefzDIFreconoiseHB41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB41DF->SetMarkerStyle(20); + GefzDIFreconoiseHB41DF->SetMarkerSize(1.4); + GefzDIFreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); + GefzDIFreconoiseHB41DF->SetXTitle("#phi \b"); + GefzDIFreconoiseHB41DF->SetYTitle(" \b"); + GefzDIFreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzDIFreconoiseHB41DF->SetMarkerColor(4); + GefzDIFreconoiseHB41DF->SetLineColor( + 4); //GefzDIFreconoiseHB41DF->SetMinimum(0.8); // GefzDIFreconoiseHB41DF->SetMaximum(1.000); GefzDIFreconoiseHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (GefzDIFreconoiseHB41D) delete GefzDIFreconoiseHB41D; - if (GefzDIFreconoiseHB41D0) delete GefzDIFreconoiseHB41D0; - if (GefzDIFreconoiseHB41DF) delete GefzDIFreconoiseHB41DF; - //========================================================================================== 4 + if (GefzDIFreconoiseHB41D) + delete GefzDIFreconoiseHB41D; + if (GefzDIFreconoiseHB41D0) + delete GefzDIFreconoiseHB41D0; + if (GefzDIFreconoiseHB41DF) + delete GefzDIFreconoiseHB41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF1=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + if (jeta - 41 >= 0 && jeta - 41 <= 15) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF1 == 1) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 2) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 3) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 4) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 5) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 6) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 7) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 8) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 9) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==10) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==11) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==12) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==13) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==14) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==15) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==16) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionReconoiseDIF1->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF1++; - if(kcountHBpositivedirectionReconoiseDIF1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBpositivedirectionReconoiseDIF1 = (TH1F*)h2CeffHBpositivedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF1 == 1) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 2) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 3) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 4) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 5) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 6) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 7) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 8) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 9) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 10) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 11) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 12) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 13) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 14) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 15) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 16) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF1++; + if (kcountHBpositivedirectionReconoiseDIF1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF1) delete h2CeffHBpositivedirectionReconoiseDIF1; - + if (h2CeffHBpositivedirectionReconoiseDIF1) + delete h2CeffHBpositivedirectionReconoiseDIF1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF2=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF2 == 1) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 2) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 3) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 4) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 5) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 6) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 7) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 8) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 9) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==10) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==11) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==12) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==13) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==14) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==15) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==16) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionReconoiseDIF2->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF2++; - if(kcountHBpositivedirectionReconoiseDIF2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF2 == 1) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 2) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 3) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 4) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 5) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 6) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 7) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 8) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 9) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 10) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 11) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 12) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 13) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 14) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 15) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 16) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF2++; + if (kcountHBpositivedirectionReconoiseDIF2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF2) delete h2CeffHBpositivedirectionReconoiseDIF2; - //========================================================================================== 6 + if (h2CeffHBpositivedirectionReconoiseDIF2) + delete h2CeffHBpositivedirectionReconoiseDIF2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF3=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF3 == 1) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 2) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 3) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 4) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 5) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 6) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 7) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 8) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 9) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==10) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==11) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==12) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==13) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==14) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==15) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==16) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionReconoiseDIF3->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF3++; - if(kcountHBpositivedirectionReconoiseDIF3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF3 == 1) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 2) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 3) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 4) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 5) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 6) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 7) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 8) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 9) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 10) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 11) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 12) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 13) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 14) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 15) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 16) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF3++; + if (kcountHBpositivedirectionReconoiseDIF3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF3) delete h2CeffHBpositivedirectionReconoiseDIF3; - //========================================================================================== 7 + if (h2CeffHBpositivedirectionReconoiseDIF3) + delete h2CeffHBpositivedirectionReconoiseDIF3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF4=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF4 == 1) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 2) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 3) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 4) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 5) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 6) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 7) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 8) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 9) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==10) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==11) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==12) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==13) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==14) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==15) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==16) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionReconoiseDIF4->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF4++; - if(kcountHBpositivedirectionReconoiseDIF4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF4 == 1) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 2) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 3) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 4) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 5) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 6) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 7) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 8) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 9) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 10) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 11) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 12) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 13) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 14) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 15) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 16) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF4++; + if (kcountHBpositivedirectionReconoiseDIF4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF4) delete h2CeffHBpositivedirectionReconoiseDIF4; + if (h2CeffHBpositivedirectionReconoiseDIF4) + delete h2CeffHBpositivedirectionReconoiseDIF4; - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF1=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + if (jeta - 41 >= -16 && jeta - 41 <= -1) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF1 == 1) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 2) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 3) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 4) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 5) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 6) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 7) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 8) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 9) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==10) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==11) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==12) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==13) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==14) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==15) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==16) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionReconoiseDIF1->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF1++; - if(kcountHBnegativedirectionReconoiseDIF1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBnegativedirectionReconoiseDIF1 = (TH1F*)h2CeffHBnegativedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF1 == 1) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 2) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 3) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 4) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 5) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 6) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 7) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 8) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 9) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 10) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 11) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 12) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 13) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 14) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 15) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 16) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF1++; + if (kcountHBnegativedirectionReconoiseDIF1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF1) delete h2CeffHBnegativedirectionReconoiseDIF1; - + if (h2CeffHBnegativedirectionReconoiseDIF1) + delete h2CeffHBnegativedirectionReconoiseDIF1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF2=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF2 == 1) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -16; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 2) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -15; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 3) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -14; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 4) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -13; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 5) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -12; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 6) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -11; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 7) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -10; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 8) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -9; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 9) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -8; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==10) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -7; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==11) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -6; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==12) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -5; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==13) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -4; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==14) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -3; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==15) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -2; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==16) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -1; depth = 2 \b"); - HBnegativedirectionReconoiseDIF2->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF2++; - if(kcountHBnegativedirectionReconoiseDIF2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF2 == 1) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -16; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 2) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -15; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 3) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -14; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 4) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -13; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 5) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -12; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 6) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -11; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 7) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -10; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 8) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -9; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 9) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -8; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 10) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -7; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 11) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -6; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 12) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -5; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 13) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -4; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 14) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -3; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 15) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -2; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 16) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF2++; + if (kcountHBnegativedirectionReconoiseDIF2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF2) delete h2CeffHBnegativedirectionReconoiseDIF2; - //========================================================================================== 1116 + if (h2CeffHBnegativedirectionReconoiseDIF2) + delete h2CeffHBnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF3=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF3 == 1) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -16; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 2) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -15; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 3) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -14; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 4) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -13; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 5) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -12; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 6) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -11; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 7) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -10; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 8) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -9; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 9) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -8; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==10) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -7; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==11) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -6; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==12) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -5; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==13) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -4; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==14) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -3; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==15) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -2; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==16) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -1; depth = 3 \b"); - - HBnegativedirectionReconoiseDIF3->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF3++; - if(kcountHBnegativedirectionReconoiseDIF3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF3 == 1) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -16; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 2) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -15; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 3) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -14; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 4) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -13; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 5) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -12; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 6) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -11; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 7) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -10; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 8) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -9; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 9) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -8; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 10) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -7; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 11) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -6; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 12) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -5; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 13) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -4; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 14) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -3; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 15) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -2; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 16) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF3++; + if (kcountHBnegativedirectionReconoiseDIF3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF3) delete h2CeffHBnegativedirectionReconoiseDIF3; - //========================================================================================== 1117 + if (h2CeffHBnegativedirectionReconoiseDIF3) + delete h2CeffHBnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF4=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF4 == 1) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -16; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 2) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -15; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 3) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -14; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 4) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -13; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 5) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -12; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 6) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -11; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 7) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -10; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 8) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -9; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 9) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -8; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==10) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -7; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==11) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -6; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==12) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -5; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==13) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -4; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==14) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -3; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==15) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -2; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==16) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -1; depth = 4 \b"); - HBnegativedirectionReconoiseDIF4->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF4++; - if(kcountHBnegativedirectionReconoiseDIF4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF4 == 1) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -16; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 2) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -15; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 3) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -14; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 4) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -13; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 5) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -12; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 6) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -11; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 7) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -10; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 8) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -9; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 9) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -8; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 10) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -7; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 11) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -6; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 12) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -5; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 13) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -4; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 14) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -3; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 15) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -2; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 16) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF4++; + if (kcountHBnegativedirectionReconoiseDIF4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF4) delete h2CeffHBnegativedirectionReconoiseDIF4; + if (h2CeffHBnegativedirectionReconoiseDIF4) + delete h2CeffHBnegativedirectionReconoiseDIF4; //====================================================================================================================== //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HB1"); - TH2F *reconoiseVariance0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HB1"); + TH2F* reconoiseVariance0HB1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); TH2F* reconoiseVarianceHB1 = (TH2F*)reconoiseVariance1HB1->Clone("reconoiseVarianceHB1"); - reconoiseVarianceHB1->Divide(reconoiseVariance1HB1,reconoiseVariance0HB1, 1, 1, "B"); - TH2F *reconoiseVariance1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB2"); - TH2F *reconoiseVariance0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + reconoiseVarianceHB1->Divide(reconoiseVariance1HB1, reconoiseVariance0HB1, 1, 1, "B"); + TH2F* reconoiseVariance1HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB2"); + TH2F* reconoiseVariance0HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); TH2F* reconoiseVarianceHB2 = (TH2F*)reconoiseVariance1HB2->Clone("reconoiseVarianceHB2"); - reconoiseVarianceHB2->Divide(reconoiseVariance1HB2,reconoiseVariance0HB2, 1, 1, "B"); - TH2F *reconoiseVariance1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB3"); - TH2F *reconoiseVariance0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + reconoiseVarianceHB2->Divide(reconoiseVariance1HB2, reconoiseVariance0HB2, 1, 1, "B"); + TH2F* reconoiseVariance1HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB3"); + TH2F* reconoiseVariance0HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); TH2F* reconoiseVarianceHB3 = (TH2F*)reconoiseVariance1HB3->Clone("reconoiseVarianceHB3"); - reconoiseVarianceHB3->Divide(reconoiseVariance1HB3,reconoiseVariance0HB3, 1, 1, "B"); - TH2F *reconoiseVariance1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB4"); - TH2F *reconoiseVariance0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + reconoiseVarianceHB3->Divide(reconoiseVariance1HB3, reconoiseVariance0HB3, 1, 1, "B"); + TH2F* reconoiseVariance1HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB4"); + TH2F* reconoiseVariance0HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); TH2F* reconoiseVarianceHB4 = (TH2F*)reconoiseVariance1HB4->Clone("reconoiseVarianceHB4"); - reconoiseVarianceHB4->Divide(reconoiseVariance1HB4,reconoiseVariance0HB4, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHB - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + reconoiseVarianceHB4->Divide(reconoiseVariance1HB4, reconoiseVariance0HB4, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { //preparation for PHI normalization: - double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - reconoisevarianceHB[1][jeta][jphi] = reconoiseVarianceHB2->GetBinContent(jeta+1,jphi+1); - reconoisevarianceHB[2][jeta][jphi] = reconoiseVarianceHB3->GetBinContent(jeta+1,jphi+1); - reconoisevarianceHB[3][jeta][jphi] = reconoiseVarianceHB4->GetBinContent(jeta+1,jphi+1); - if(reconoisevarianceHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += reconoisevarianceHB[0][jeta][jphi];++nsumreconoiseHB0;} - if(reconoisevarianceHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += reconoisevarianceHB[1][jeta][jphi];++nsumreconoiseHB1;} - if(reconoisevarianceHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += reconoisevarianceHB[2][jeta][jphi];++nsumreconoiseHB2;} - if(reconoisevarianceHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += reconoisevarianceHB[3][jeta][jphi];++nsumreconoiseHB3;} - }// phi + double sumreconoiseHB0 = 0; + int nsumreconoiseHB0 = 0; + double sumreconoiseHB1 = 0; + int nsumreconoiseHB1 = 0; + double sumreconoiseHB2 = 0; + int nsumreconoiseHB2 = 0; + double sumreconoiseHB3 = 0; + int nsumreconoiseHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + reconoisevarianceHB[0][jeta][jphi] = reconoiseVarianceHB1->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHB[1][jeta][jphi] = reconoiseVarianceHB2->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHB[2][jeta][jphi] = reconoiseVarianceHB3->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHB[3][jeta][jphi] = reconoiseVarianceHB4->GetBinContent(jeta + 1, jphi + 1); + if (reconoisevarianceHB[0][jeta][jphi] != 0.) { + sumreconoiseHB0 += reconoisevarianceHB[0][jeta][jphi]; + ++nsumreconoiseHB0; + } + if (reconoisevarianceHB[1][jeta][jphi] != 0.) { + sumreconoiseHB1 += reconoisevarianceHB[1][jeta][jphi]; + ++nsumreconoiseHB1; + } + if (reconoisevarianceHB[2][jeta][jphi] != 0.) { + sumreconoiseHB2 += reconoisevarianceHB[2][jeta][jphi]; + ++nsumreconoiseHB2; + } + if (reconoisevarianceHB[3][jeta][jphi] != 0.) { + sumreconoiseHB3 += reconoisevarianceHB[3][jeta][jphi]; + ++nsumreconoiseHB3; + } + } // phi // PHI normalization : - for(int jphi=0;jphiClear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDreconoiseHB42D = new TH2F("DefzDreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHB42D0 = new TH2F("DefzDreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHB42DF = (TH2F*)DefzDreconoiseHB42D0->Clone("DefzDreconoiseHB42DF"); - for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 - if(areconoiseHB[i][jeta][jphi]>0.) {DefzDreconoiseHB42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHB42D0 ->Fill(kkk,jphi,1.); } - }}}} - DefzDreconoiseHB42DF->Divide(DefzDreconoiseHB42D,DefzDreconoiseHB42D0, 1, 1, "B");// average A - // DefzDreconoiseHB1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHB42DF->SetMarkerStyle(20); DefzDreconoiseHB42DF->SetMarkerSize(0.4); DefzDreconoiseHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHB42DF->SetYTitle(" #phi \b"); DefzDreconoiseHB42DF->SetZTitle("_depth \b"); DefzDreconoiseHB42DF->SetMarkerColor(2); DefzDreconoiseHB42DF->SetLineColor(0); // DefzDreconoiseHB42DF->SetMaximum(1.000); // DefzDreconoiseHB42DF->SetMinimum(1.0); - DefzDreconoiseHB42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DreconoiseGeneralD2PhiSymmetryHB.png"); - c1x0->Clear(); - // clean-up - if (DefzDreconoiseHB42D) delete DefzDreconoiseHB42D; - if (DefzDreconoiseHB42D0) delete DefzDreconoiseHB42D0; - if (DefzDreconoiseHB42DF) delete DefzDreconoiseHB42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDreconoiseHB42D = new TH2F("DefzDreconoiseHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHB42D0 = new TH2F("DefzDreconoiseHB42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHB42DF = (TH2F*)DefzDreconoiseHB42D0->Clone("DefzDreconoiseHB42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (areconoiseHB[i][jeta][jphi] > 0.) { + DefzDreconoiseHB42D->Fill(kkk, jphi, ccc1); + DefzDreconoiseHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + DefzDreconoiseHB42DF->Divide(DefzDreconoiseHB42D, DefzDreconoiseHB42D0, 1, 1, "B"); // average A + // DefzDreconoiseHB1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB42DF->SetMarkerStyle(20); + DefzDreconoiseHB42DF->SetMarkerSize(0.4); + DefzDreconoiseHB42DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHB42DF->SetXTitle("_depth #eta \b"); + DefzDreconoiseHB42DF->SetYTitle(" #phi \b"); + DefzDreconoiseHB42DF->SetZTitle("_depth \b"); + DefzDreconoiseHB42DF->SetMarkerColor(2); + DefzDreconoiseHB42DF->SetLineColor( + 0); // DefzDreconoiseHB42DF->SetMaximum(1.000); // DefzDreconoiseHB42DF->SetMinimum(1.0); + DefzDreconoiseHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHB42D) + delete DefzDreconoiseHB42D; + if (DefzDreconoiseHB42D0) + delete DefzDreconoiseHB42D0; + if (DefzDreconoiseHB42DF) + delete DefzDreconoiseHB42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDreconoiseHB41D = new TH1F("DefzDreconoiseHB41D","", nphi, 0., 72. ); - TH1F* DefzDreconoiseHB41D0 = new TH1F("DefzDreconoiseHB41D0","",nphi, 0., 72. ); - TH1F* DefzDreconoiseHB41DF = (TH1F*)DefzDreconoiseHB41D0->Clone("DefzDreconoiseHB41DF"); - - for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int i=0;i0.) {DefzDreconoiseHB41D ->Fill(jphi,ccc1); DefzDreconoiseHB41D0 ->Fill(jphi,1.); } - }}}} - // DefzDreconoiseHB41D->Sumw2();DefzDreconoiseHB41D0->Sumw2(); - - DefzDreconoiseHB41DF->Divide(DefzDreconoiseHB41D,DefzDreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDreconoiseHB41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHB41DF->SetMarkerStyle(20); DefzDreconoiseHB41DF->SetMarkerSize(1.4); DefzDreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB41DF->SetXTitle("#phi \b"); DefzDreconoiseHB41DF->SetYTitle(" \b"); DefzDreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHB41DF->SetMarkerColor(4); DefzDreconoiseHB41DF->SetLineColor(4); //DefzDreconoiseHB41DF->SetMinimum(0.8); DefzDreconoiseHB41DF->SetMinimum(-0.015); - DefzDreconoiseHB41DF->Draw("Error"); + TH1F* DefzDreconoiseHB41D = new TH1F("DefzDreconoiseHB41D", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHB41D0 = new TH1F("DefzDreconoiseHB41D0", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHB41DF = (TH1F*)DefzDreconoiseHB41D0->Clone("DefzDreconoiseHB41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + DefzDreconoiseHB41D->Fill(jphi, ccc1); + DefzDreconoiseHB41D0->Fill(jphi, 1.); + } + } + } + } + } + // DefzDreconoiseHB41D->Sumw2();DefzDreconoiseHB41D0->Sumw2(); + + DefzDreconoiseHB41DF->Divide(DefzDreconoiseHB41D, DefzDreconoiseHB41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB41DF->SetMarkerStyle(20); + DefzDreconoiseHB41DF->SetMarkerSize(1.4); + DefzDreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHB41DF->SetXTitle("#phi \b"); + DefzDreconoiseHB41DF->SetYTitle(" \b"); + DefzDreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDreconoiseHB41DF->SetMarkerColor(4); + DefzDreconoiseHB41DF->SetLineColor( + 4); //DefzDreconoiseHB41DF->SetMinimum(0.8); DefzDreconoiseHB41DF->SetMinimum(-0.015); + DefzDreconoiseHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DreconoiseGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (DefzDreconoiseHB41D) delete DefzDreconoiseHB41D; - if (DefzDreconoiseHB41D0) delete DefzDreconoiseHB41D0; - if (DefzDreconoiseHB41DF) delete DefzDreconoiseHB41DF; + if (DefzDreconoiseHB41D) + delete DefzDreconoiseHB41D; + if (DefzDreconoiseHB41D0) + delete DefzDreconoiseHB41D0; + if (DefzDreconoiseHB41DF) + delete DefzDreconoiseHB41DF; - //========================================================================================== 14 + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD1=1; - TH1F* h2CeffHBpositivedirectionReconoiseD1 = new TH1F("h2CeffHBpositivedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD1 == 1) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 2) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 3) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 4) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 5) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 6) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 7) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 8) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 9) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==10) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==11) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==12) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==13) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==14) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==15) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==16) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionReconoiseD1->Draw("Error"); - kcountHBpositivedirectionReconoiseD1++; - if(kcountHBpositivedirectionReconoiseD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD1 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD1 = new TH1F("h2CeffHBpositivedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBpositivedirectionReconoiseD1 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD1 == 1) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 2) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 3) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 4) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 5) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 6) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 7) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 8) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 9) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 10) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 11) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 12) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 13) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 14) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 15) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 16) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseD1->Draw("Error"); + kcountHBpositivedirectionReconoiseD1++; + if (kcountHBpositivedirectionReconoiseD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD1) delete h2CeffHBpositivedirectionReconoiseD1; - //========================================================================================== 15 + if (h2CeffHBpositivedirectionReconoiseD1) + delete h2CeffHBpositivedirectionReconoiseD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD2=1; - TH1F* h2CeffHBpositivedirectionReconoiseD2 = new TH1F("h2CeffHBpositivedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD2 == 1) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 2) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 3) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 4) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 5) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 6) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 7) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 8) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 9) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==10) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==11) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==12) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==13) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==14) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==15) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==16) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionReconoiseD2->Draw("Error"); - kcountHBpositivedirectionReconoiseD2++; - if(kcountHBpositivedirectionReconoiseD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD2 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD2 = new TH1F("h2CeffHBpositivedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBpositivedirectionReconoiseD2 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD2 == 1) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 2) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 3) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 4) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 5) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 6) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 7) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 8) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 9) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 10) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 11) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 12) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 13) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 14) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 15) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 16) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseD2->Draw("Error"); + kcountHBpositivedirectionReconoiseD2++; + if (kcountHBpositivedirectionReconoiseD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD2) delete h2CeffHBpositivedirectionReconoiseD2; - //========================================================================================== 16 + if (h2CeffHBpositivedirectionReconoiseD2) + delete h2CeffHBpositivedirectionReconoiseD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD3=1; - TH1F* h2CeffHBpositivedirectionReconoiseD3 = new TH1F("h2CeffHBpositivedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD3 == 1) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 2) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 3) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 4) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 5) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 6) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 7) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 8) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 9) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==10) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==11) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==12) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==13) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==14) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==15) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==16) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionReconoiseD3->Draw("Error"); - kcountHBpositivedirectionReconoiseD3++; - if(kcountHBpositivedirectionReconoiseD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD3 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD3 = new TH1F("h2CeffHBpositivedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBpositivedirectionReconoiseD3 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD3 == 1) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 2) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 3) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 4) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 5) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 6) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 7) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 8) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 9) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 10) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 11) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 12) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 13) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 14) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 15) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 16) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseD3->Draw("Error"); + kcountHBpositivedirectionReconoiseD3++; + if (kcountHBpositivedirectionReconoiseD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD3) delete h2CeffHBpositivedirectionReconoiseD3; - //========================================================================================== 17 + if (h2CeffHBpositivedirectionReconoiseD3) + delete h2CeffHBpositivedirectionReconoiseD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD4=1; - TH1F* h2CeffHBpositivedirectionReconoiseD4 = new TH1F("h2CeffHBpositivedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD4 == 1) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 2) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 3) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 4) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 5) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 6) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 7) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 8) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 9) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==10) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==11) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==12) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==13) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==14) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==15) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==16) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionReconoiseD4->Draw("Error"); - kcountHBpositivedirectionReconoiseD4++; - if(kcountHBpositivedirectionReconoiseD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD4 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD4 = new TH1F("h2CeffHBpositivedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBpositivedirectionReconoiseD4 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD4 == 1) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 2) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 3) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 4) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 5) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 6) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 7) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 8) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 9) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 10) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 11) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 12) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 13) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 14) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 15) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 16) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseD4->Draw("Error"); + kcountHBpositivedirectionReconoiseD4++; + if (kcountHBpositivedirectionReconoiseD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD4) delete h2CeffHBpositivedirectionReconoiseD4; + if (h2CeffHBpositivedirectionReconoiseD4) + delete h2CeffHBpositivedirectionReconoiseD4; - - //========================================================================================== 22214 + //========================================================================================== 22214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD1=1; - TH1F* h2CeffHBnegativedirectionReconoiseD1 = new TH1F("h2CeffHBnegativedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD1 == 1) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 2) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 3) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 4) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 5) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 6) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 7) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 8) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 9) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==10) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==11) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==12) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==13) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==14) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==15) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==16) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); - HBnegativedirectionReconoiseD1->Draw("Error"); - kcountHBnegativedirectionReconoiseD1++; - if(kcountHBnegativedirectionReconoiseD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD1 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD1 = new TH1F("h2CeffHBnegativedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBnegativedirectionReconoiseD1 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD1 == 1) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 2) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 3) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 4) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 5) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 6) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 7) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 8) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 9) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 10) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 11) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 12) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 13) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 14) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 15) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 16) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); + HBnegativedirectionReconoiseD1->Draw("Error"); + kcountHBnegativedirectionReconoiseD1++; + if (kcountHBnegativedirectionReconoiseD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD1) delete h2CeffHBnegativedirectionReconoiseD1; - //========================================================================================== 22215 + if (h2CeffHBnegativedirectionReconoiseD1) + delete h2CeffHBnegativedirectionReconoiseD1; + //========================================================================================== 22215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD2=1; - TH1F* h2CeffHBnegativedirectionReconoiseD2 = new TH1F("h2CeffHBnegativedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD2 == 1) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 2) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 3) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 4) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 5) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 6) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 7) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 8) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 9) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==10) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==11) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==12) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==13) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==14) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==15) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==16) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); - HBnegativedirectionReconoiseD2->Draw("Error"); - kcountHBnegativedirectionReconoiseD2++; - if(kcountHBnegativedirectionReconoiseD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD2 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD2 = new TH1F("h2CeffHBnegativedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBnegativedirectionReconoiseD2 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD2 == 1) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 2) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 3) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 4) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 5) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 6) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 7) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 8) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 9) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 10) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 11) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 12) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 13) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 14) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 15) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 16) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); + HBnegativedirectionReconoiseD2->Draw("Error"); + kcountHBnegativedirectionReconoiseD2++; + if (kcountHBnegativedirectionReconoiseD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD2) delete h2CeffHBnegativedirectionReconoiseD2; - //========================================================================================== 22216 + if (h2CeffHBnegativedirectionReconoiseD2) + delete h2CeffHBnegativedirectionReconoiseD2; + //========================================================================================== 22216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD3=1; - TH1F* h2CeffHBnegativedirectionReconoiseD3 = new TH1F("h2CeffHBnegativedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD3 == 1) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 2) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 3) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 4) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 5) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 6) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 7) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 8) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 9) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==10) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==11) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==12) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==13) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==14) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==15) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==16) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); - HBnegativedirectionReconoiseD3->Draw("Error"); - kcountHBnegativedirectionReconoiseD3++; - if(kcountHBnegativedirectionReconoiseD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD3 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD3 = new TH1F("h2CeffHBnegativedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBnegativedirectionReconoiseD3 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD3 == 1) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 2) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 3) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 4) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 5) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 6) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 7) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 8) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 9) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 10) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 11) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 12) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 13) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 14) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 15) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 16) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); + HBnegativedirectionReconoiseD3->Draw("Error"); + kcountHBnegativedirectionReconoiseD3++; + if (kcountHBnegativedirectionReconoiseD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD3) delete h2CeffHBnegativedirectionReconoiseD3; + if (h2CeffHBnegativedirectionReconoiseD3) + delete h2CeffHBnegativedirectionReconoiseD3; //========================================================================================== 22217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD4=1; - TH1F* h2CeffHBnegativedirectionReconoiseD4 = new TH1F("h2CeffHBnegativedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD4 == 1) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 2) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 3) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 4) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 5) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 6) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 7) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 8) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 9) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==10) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==11) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==12) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==13) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==14) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==15) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==16) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); - HBnegativedirectionReconoiseD4->Draw("Error"); - kcountHBnegativedirectionReconoiseD4++; - if(kcountHBnegativedirectionReconoiseD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD4 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD4 = new TH1F("h2CeffHBnegativedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBnegativedirectionReconoiseD4 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD4 == 1) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 2) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 3) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 4) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 5) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 6) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 7) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 8) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 9) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 10) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 11) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 12) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 13) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 14) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 15) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 16) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); + HBnegativedirectionReconoiseD4->Draw("Error"); + kcountHBnegativedirectionReconoiseD4++; + if (kcountHBnegativedirectionReconoiseD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD4) delete h2CeffHBnegativedirectionReconoiseD4; - - - + if (h2CeffHBnegativedirectionReconoiseD4) + delete h2CeffHBnegativedirectionReconoiseD4; //===================================================================== END of Reconoise HB for phi-symmetry //===================================================================== END of Reconoise HB for phi-symmetry //===================================================================== END of Reconoise HB for phi-symmetry - - - - - - //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[3]; - ndepth = 7; - // const int ndepth = 7; - double areconoisehe[ndepth][njeta][njphi]; - double breconoisehe[ndepth][njeta][njphi]; - double reconoisevariancehe[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double areconoisehe[ndepth][njeta][njphi]; + double breconoisehe[ndepth][njeta][njphi]; + double reconoisevariancehe[ndepth][njeta][njphi]; //////////////////////////////////////////////////////////////////////////////////////////////////////////// - TH2F *recNoiseEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE1"); - TH2F *recNoiseEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + TH2F* recNoiseEnergy1HE1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE1"); + TH2F* recNoiseEnergy0HE1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); TH2F* recNoiseEnergyHE1 = (TH2F*)recNoiseEnergy1HE1->Clone("recNoiseEnergyHE1"); - recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1,recNoiseEnergy0HE1, 1, 1, "B"); - TH2F *recNoiseEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE2"); - TH2F *recNoiseEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1, recNoiseEnergy0HE1, 1, 1, "B"); + TH2F* recNoiseEnergy1HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE2"); + TH2F* recNoiseEnergy0HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); TH2F* recNoiseEnergyHE2 = (TH2F*)recNoiseEnergy1HE2->Clone("recNoiseEnergyHE2"); - recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2,recNoiseEnergy0HE2, 1, 1, "B"); - TH2F *recNoiseEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE3"); - TH2F *recNoiseEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2, recNoiseEnergy0HE2, 1, 1, "B"); + TH2F* recNoiseEnergy1HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE3"); + TH2F* recNoiseEnergy0HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); TH2F* recNoiseEnergyHE3 = (TH2F*)recNoiseEnergy1HE3->Clone("recNoiseEnergyHE3"); - recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3,recNoiseEnergy0HE3, 1, 1, "B"); - TH2F *recNoiseEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE4"); - TH2F *recNoiseEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3, recNoiseEnergy0HE3, 1, 1, "B"); + TH2F* recNoiseEnergy1HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE4"); + TH2F* recNoiseEnergy0HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); TH2F* recNoiseEnergyHE4 = (TH2F*)recNoiseEnergy1HE4->Clone("recNoiseEnergyHE4"); - recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4,recNoiseEnergy0HE4, 1, 1, "B"); - TH2F *recNoiseEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE5"); - TH2F *recNoiseEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4, recNoiseEnergy0HE4, 1, 1, "B"); + TH2F* recNoiseEnergy1HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE5"); + TH2F* recNoiseEnergy0HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); TH2F* recNoiseEnergyHE5 = (TH2F*)recNoiseEnergy1HE5->Clone("recNoiseEnergyHE5"); - recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5,recNoiseEnergy0HE5, 1, 1, "B"); - TH2F *recNoiseEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE6"); - TH2F *recNoiseEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5, recNoiseEnergy0HE5, 1, 1, "B"); + TH2F* recNoiseEnergy1HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE6"); + TH2F* recNoiseEnergy0HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); TH2F* recNoiseEnergyHE6 = (TH2F*)recNoiseEnergy1HE6->Clone("recNoiseEnergyHE6"); - recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6,recNoiseEnergy0HE6, 1, 1, "B"); - TH2F *recNoiseEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE7"); - TH2F *recNoiseEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6, recNoiseEnergy0HE6, 1, 1, "B"); + TH2F* recNoiseEnergy1HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE7"); + TH2F* recNoiseEnergy0HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); TH2F* recNoiseEnergyHE7 = (TH2F*)recNoiseEnergy1HE7->Clone("recNoiseEnergyHE7"); - recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7,recNoiseEnergy0HE7, 1, 1, "B"); - for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7, recNoiseEnergy0HE7, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { //====================================================================== PHI normalization & put R into massive areconoisehe - //preparation for PHI normalization: - double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; - double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - areconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); - areconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); - areconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); - areconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); - areconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); - areconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); - - breconoisehe[0][jeta][jphi] = recNoiseEnergyHE1->GetBinContent(jeta+1,jphi+1); - breconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); - breconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); - breconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); - breconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); - breconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); - breconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); - - if(areconoisehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += areconoisehe[0][jeta][jphi];++nsumreconoiseHE0;} - if(areconoisehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += areconoisehe[1][jeta][jphi];++nsumreconoiseHE1;} - if(areconoisehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += areconoisehe[2][jeta][jphi];++nsumreconoiseHE2;} - if(areconoisehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += areconoisehe[3][jeta][jphi];++nsumreconoiseHE3;} - if(areconoisehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += areconoisehe[4][jeta][jphi];++nsumreconoiseHE4;} - if(areconoisehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += areconoisehe[5][jeta][jphi];++nsumreconoiseHE5;} - if(areconoisehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += areconoisehe[6][jeta][jphi];++nsumreconoiseHE6;} - }// phi - - // PHI normalization for DIF: - for(int jphi=0;jphiGetBinContent(jeta + 1, jphi + 1); + areconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta + 1, jphi + 1); + + breconoisehe[0][jeta][jphi] = recNoiseEnergyHE1->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta + 1, jphi + 1); + + if (areconoisehe[0][jeta][jphi] != 0.) { + sumreconoiseHE0 += areconoisehe[0][jeta][jphi]; + ++nsumreconoiseHE0; + } + if (areconoisehe[1][jeta][jphi] != 0.) { + sumreconoiseHE1 += areconoisehe[1][jeta][jphi]; + ++nsumreconoiseHE1; + } + if (areconoisehe[2][jeta][jphi] != 0.) { + sumreconoiseHE2 += areconoisehe[2][jeta][jphi]; + ++nsumreconoiseHE2; + } + if (areconoisehe[3][jeta][jphi] != 0.) { + sumreconoiseHE3 += areconoisehe[3][jeta][jphi]; + ++nsumreconoiseHE3; + } + if (areconoisehe[4][jeta][jphi] != 0.) { + sumreconoiseHE4 += areconoisehe[4][jeta][jphi]; + ++nsumreconoiseHE4; + } + if (areconoisehe[5][jeta][jphi] != 0.) { + sumreconoiseHE5 += areconoisehe[5][jeta][jphi]; + ++nsumreconoiseHE5; + } + if (areconoisehe[6][jeta][jphi] != 0.) { + sumreconoiseHE6 += areconoisehe[6][jeta][jphi]; + ++nsumreconoiseHE6; + } + } // phi + + // PHI normalization for DIF: + for (int jphi = 0; jphi < njphi; jphi++) { + if (sumreconoiseHE0 != 0.) + breconoisehe[0][jeta][jphi] -= (sumreconoiseHE0 / nsumreconoiseHE0); + if (sumreconoiseHE1 != 0.) + breconoisehe[1][jeta][jphi] -= (sumreconoiseHE1 / nsumreconoiseHE1); + if (sumreconoiseHE2 != 0.) + breconoisehe[2][jeta][jphi] -= (sumreconoiseHE2 / nsumreconoiseHE2); + if (sumreconoiseHE3 != 0.) + breconoisehe[3][jeta][jphi] -= (sumreconoiseHE3 / nsumreconoiseHE3); + if (sumreconoiseHE4 != 0.) + breconoisehe[4][jeta][jphi] -= (sumreconoiseHE4 / nsumreconoiseHE4); + if (sumreconoiseHE5 != 0.) + breconoisehe[5][jeta][jphi] -= (sumreconoiseHE5 / nsumreconoiseHE5); + if (sumreconoiseHE6 != 0.) + breconoisehe[6][jeta][jphi] -= (sumreconoiseHE6 / nsumreconoiseHE6); + } // phi // PHI normalization for R: - for(int jphi=0;jphi= - }//eta + for (int jphi = 0; jphi < njphi; jphi++) { + if (sumreconoiseHE0 != 0.) + areconoisehe[0][jeta][jphi] /= (sumreconoiseHE0 / nsumreconoiseHE0); + if (sumreconoiseHE1 != 0.) + areconoisehe[1][jeta][jphi] /= (sumreconoiseHE1 / nsumreconoiseHE1); + if (sumreconoiseHE2 != 0.) + areconoisehe[2][jeta][jphi] /= (sumreconoiseHE2 / nsumreconoiseHE2); + if (sumreconoiseHE3 != 0.) + areconoisehe[3][jeta][jphi] /= (sumreconoiseHE3 / nsumreconoiseHE3); + if (sumreconoiseHE4 != 0.) + areconoisehe[4][jeta][jphi] /= (sumreconoiseHE4 / nsumreconoiseHE4); + if (sumreconoiseHE5 != 0.) + areconoisehe[5][jeta][jphi] /= (sumreconoiseHE5 / nsumreconoiseHE5); + if (sumreconoiseHE6 != 0.) + areconoisehe[6][jeta][jphi] /= (sumreconoiseHE6 / nsumreconoiseHE6); + } // phi + } //if( (jeta-41 >= + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthes //====================================================================== // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HE //====================================================================== c2x1->Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRreconoiseHE42D = new TH2F("GefzRreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRreconoiseHE42D0 = new TH2F("GefzRreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHE42D = new TH2F("GefzRreconoiseHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRreconoiseHE42D0 = new TH2F("GefzRreconoiseHE42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRreconoiseHE42DF = (TH2F*)GefzRreconoiseHE42D0->Clone("GefzRreconoiseHE42DF"); - for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHE42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzRreconoiseHE42DF->Divide(GefzRreconoiseHE42D,GefzRreconoiseHE42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHE42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRreconoiseHE42D->Fill(kkk, jphi, ccc1); + GefzRreconoiseHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzRreconoiseHE42DF->Divide(GefzRreconoiseHE42D, GefzRreconoiseHE42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE42DF->SetXTitle("_depth #eta \b"); + GefzRreconoiseHE42DF->SetYTitle(" #phi \b"); GefzRreconoiseHE42DF->Draw("COLZ"); - c2x1->cd(2); - TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); - energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); - - - + TH1F* energyhitNoise_HE = (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); + energyhitNoise_HE->SetMarkerStyle(20); + energyhitNoise_HE->SetMarkerSize(0.4); + energyhitNoise_HE->GetYaxis()->SetLabelSize(0.04); + energyhitNoise_HE->SetXTitle("energyhitNoise_HE \b"); + energyhitNoise_HE->SetMarkerColor(2); + energyhitNoise_HE->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitNoise_HE->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RreconoiseGeneralD2PhiSymmetryHE.png"); c2x1->Clear(); // clean-up - if (GefzRreconoiseHE42D) delete GefzRreconoiseHE42D; - if (GefzRreconoiseHE42D0) delete GefzRreconoiseHE42D0; - if (GefzRreconoiseHE42DF) delete GefzRreconoiseHE42DF; + if (GefzRreconoiseHE42D) + delete GefzRreconoiseHE42D; + if (GefzRreconoiseHE42D0) + delete GefzRreconoiseHE42D0; + if (GefzRreconoiseHE42DF) + delete GefzRreconoiseHE42DF; //====================================================================== 1D plot: R vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRreconoiseHE41D = new TH1F("GefzRreconoiseHE41D","", nphi, 0., 72. ); - TH1F* GefzRreconoiseHE41D0 = new TH1F("GefzRreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHE41D = new TH1F("GefzRreconoiseHE41D", "", nphi, 0., 72.); + TH1F* GefzRreconoiseHE41D0 = new TH1F("GefzRreconoiseHE41D0", "", nphi, 0., 72.); TH1F* GefzRreconoiseHE41DF = (TH1F*)GefzRreconoiseHE41D0->Clone("GefzRreconoiseHE41DF"); - for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHE41D0 ->Fill(jphi,1.); } - }}}} - GefzRreconoiseHE41DF->Divide(GefzRreconoiseHE41D,GefzRreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRreconoiseHE41D->Fill(jphi, ccc1); + GefzRreconoiseHE41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzRreconoiseHE41DF->Divide(GefzRreconoiseHE41D, GefzRreconoiseHE41D0, 1, 1, "B"); // R averaged over depthes & eta GefzRreconoiseHE41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHE41DF->SetMarkerStyle(20); GefzRreconoiseHE41DF->SetMarkerSize(1.4); GefzRreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHE41DF->SetXTitle("#phi \b"); GefzRreconoiseHE41DF->SetYTitle(" \b"); GefzRreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRreconoiseHE41DF->SetMarkerColor(4); GefzRreconoiseHE41DF->SetLineColor(4); // GefzRreconoiseHE41DF->SetMinimum(0.8); // GefzRreconoiseHE41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE41DF->SetMarkerStyle(20); + GefzRreconoiseHE41DF->SetMarkerSize(1.4); + GefzRreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); + GefzRreconoiseHE41DF->SetXTitle("#phi \b"); + GefzRreconoiseHE41DF->SetYTitle(" \b"); + GefzRreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); + GefzRreconoiseHE41DF->SetMarkerColor(4); + GefzRreconoiseHE41DF->SetLineColor( + 4); // GefzRreconoiseHE41DF->SetMinimum(0.8); // GefzRreconoiseHE41DF->SetMaximum(1.000); GefzRreconoiseHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RreconoiseGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (GefzRreconoiseHE41D) delete GefzRreconoiseHE41D; - if (GefzRreconoiseHE41D0) delete GefzRreconoiseHE41D0; - if (GefzRreconoiseHE41DF) delete GefzRreconoiseHE41DF; - + if (GefzRreconoiseHE41D) + delete GefzRreconoiseHE41D; + if (GefzRreconoiseHE41D0) + delete GefzRreconoiseHE41D0; + if (GefzRreconoiseHE41DF) + delete GefzRreconoiseHE41DF; - //========================================================================================== 4 + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoise1=1; - TH1F* h2CeffHEpositivedirectionReconoise1 = new TH1F("h2CeffHEpositivedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + if (jeta - 41 >= 15 && jeta - 41 <= 28) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEpositivedirectionReconoise1 = "<SetMarkerColor(2);HEpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise1 == 1) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 2) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 3) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 4) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 5) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 6) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 7) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 8) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 9) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 ==10) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 ==11) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 ==12) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionReconoise1->Draw("Error"); - kcountHEpositivedirectionReconoise1++; - if(kcountHEpositivedirectionReconoise1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 15 && jeta-41 <= 28 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEpositivedirectionReconoise1 = (TH1F*)h2CeffHEpositivedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEpositivedirectionReconoise1 = "<SetMarkerColor(2); + HEpositivedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise1 == 1) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 2) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 3) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 4) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 5) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 6) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 7) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 8) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 9) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 10) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 11) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 12) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoise1->Draw("Error"); + kcountHEpositivedirectionReconoise1++; + if (kcountHEpositivedirectionReconoise1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 15 && jeta-41 <= 28 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise1) delete h2CeffHEpositivedirectionReconoise1; - + if (h2CeffHEpositivedirectionReconoise1) + delete h2CeffHEpositivedirectionReconoise1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise2=1; - TH1F* h2CeffHEpositivedirectionReconoise2 = new TH1F("h2CeffHEpositivedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEpositivedirectionReconoise2 = "<SetMarkerColor(2);HEpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise2 == 1) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 2) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 3) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 4) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 5) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 6) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 7) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 8) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 9) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==10) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==11) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==12) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==13) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionReconoise2->Draw("Error"); - kcountHEpositivedirectionReconoise2++; - if(kcountHEpositivedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise2 = 1; + TH1F* h2CeffHEpositivedirectionReconoise2 = new TH1F("h2CeffHEpositivedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEpositivedirectionReconoise2 = "<SetMarkerColor(2); + HEpositivedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise2 == 1) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 2) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 3) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 4) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 5) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 6) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 7) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 8) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 9) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 10) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 11) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 12) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 13) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoise2->Draw("Error"); + kcountHEpositivedirectionReconoise2++; + if (kcountHEpositivedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise2) delete h2CeffHEpositivedirectionReconoise2; - //========================================================================================== 6 + if (h2CeffHEpositivedirectionReconoise2) + delete h2CeffHEpositivedirectionReconoise2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise3=1; - TH1F* h2CeffHEpositivedirectionReconoise3 = new TH1F("h2CeffHEpositivedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEpositivedirectionReconoise3 = "<SetMarkerColor(2);HEpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise3 == 1) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 2) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 3) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 4) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 5) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 6) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 7) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 8) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 9) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==10) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==11) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==12) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==13) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionReconoise3->Draw("Error"); - kcountHEpositivedirectionReconoise3++; - if(kcountHEpositivedirectionReconoise3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise3 = 1; + TH1F* h2CeffHEpositivedirectionReconoise3 = new TH1F("h2CeffHEpositivedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEpositivedirectionReconoise3 = "<SetMarkerColor(2); + HEpositivedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise3 == 1) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 2) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 3) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 4) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 5) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 6) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 7) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 8) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 9) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 10) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 11) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 12) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 13) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoise3->Draw("Error"); + kcountHEpositivedirectionReconoise3++; + if (kcountHEpositivedirectionReconoise3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise3) delete h2CeffHEpositivedirectionReconoise3; - //========================================================================================== 7 + if (h2CeffHEpositivedirectionReconoise3) + delete h2CeffHEpositivedirectionReconoise3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise4=1; - TH1F* h2CeffHEpositivedirectionReconoise4 = new TH1F("h2CeffHEpositivedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEpositivedirectionReconoise4 = "<SetMarkerColor(2);HEpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise4 == 1) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 2) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 3) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 4) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 5) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 6) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 7) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 8) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 9) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 ==10) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 ==11) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 ==12) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionReconoise4->Draw("Error"); - kcountHEpositivedirectionReconoise4++; - if(kcountHEpositivedirectionReconoise4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise4 = 1; + TH1F* h2CeffHEpositivedirectionReconoise4 = new TH1F("h2CeffHEpositivedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEpositivedirectionReconoise4 = "<SetMarkerColor(2); + HEpositivedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise4 == 1) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 2) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 3) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 4) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 5) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 6) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 7) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 8) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 9) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 10) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 11) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 12) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoise4->Draw("Error"); + kcountHEpositivedirectionReconoise4++; + if (kcountHEpositivedirectionReconoise4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise4) delete h2CeffHEpositivedirectionReconoise4; - //========================================================================================== 8 + if (h2CeffHEpositivedirectionReconoise4) + delete h2CeffHEpositivedirectionReconoise4; + //========================================================================================== 8 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise5=1; - TH1F* h2CeffHEpositivedirectionReconoise5 = new TH1F("h2CeffHEpositivedirectionReconoise5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise5 == 1) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 2) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 3) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 4) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 5) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 6) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 7) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 8) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 9) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 ==10) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 ==11) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionReconoise5->Draw("Error"); - kcountHEpositivedirectionReconoise5++; - if(kcountHEpositivedirectionReconoise5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise5 = 1; + TH1F* h2CeffHEpositivedirectionReconoise5 = new TH1F("h2CeffHEpositivedirectionReconoise5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEpositivedirectionReconoise5 = "<SetMarkerColor(2); + HEpositivedirectionReconoise5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise5 == 1) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 2) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 3) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 4) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 5) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 6) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 7) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 8) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 9) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 10) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 11) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoise5->Draw("Error"); + kcountHEpositivedirectionReconoise5++; + if (kcountHEpositivedirectionReconoise5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise5) delete h2CeffHEpositivedirectionReconoise5; - //========================================================================================== 9 + if (h2CeffHEpositivedirectionReconoise5) + delete h2CeffHEpositivedirectionReconoise5; + //========================================================================================== 9 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise6=1; - TH1F* h2CeffHEpositivedirectionReconoise6 = new TH1F("h2CeffHEpositivedirectionReconoise6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEpositivedirectionReconoise6 = "<SetMarkerColor(2);HEpositivedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise6 == 1) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 2) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 3) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 4) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 5) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 6) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 7) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 8) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 9) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 ==10) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionReconoise6->Draw("Error"); - kcountHEpositivedirectionReconoise6++; - if(kcountHEpositivedirectionReconoise6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise6 = 1; + TH1F* h2CeffHEpositivedirectionReconoise6 = new TH1F("h2CeffHEpositivedirectionReconoise6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEpositivedirectionReconoise6 = "<SetMarkerColor(2); + HEpositivedirectionReconoise6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise6 == 1) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 2) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 3) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 4) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 5) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 6) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 7) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 8) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 9) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 10) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoise6->Draw("Error"); + kcountHEpositivedirectionReconoise6++; + if (kcountHEpositivedirectionReconoise6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise6) delete h2CeffHEpositivedirectionReconoise6; - //========================================================================================== 10 + if (h2CeffHEpositivedirectionReconoise6) + delete h2CeffHEpositivedirectionReconoise6; + //========================================================================================== 10 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise7=1; - TH1F* h2CeffHEpositivedirectionReconoise7 = new TH1F("h2CeffHEpositivedirectionReconoise7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEpositivedirectionReconoise7 = "<SetMarkerColor(2);HEpositivedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise7 == 1) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionReconoise7 == 2) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionReconoise7 == 3) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionReconoise7->Draw("Error"); - kcountHEpositivedirectionReconoise7++; - if(kcountHEpositivedirectionReconoise7>3) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise7 = 1; + TH1F* h2CeffHEpositivedirectionReconoise7 = new TH1F("h2CeffHEpositivedirectionReconoise7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEpositivedirectionReconoise7 = "<SetMarkerColor(2); + HEpositivedirectionReconoise7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise7 == 1) + HEpositivedirectionReconoise7->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionReconoise7 == 2) + HEpositivedirectionReconoise7->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionReconoise7 == 3) + HEpositivedirectionReconoise7->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoise7->Draw("Error"); + kcountHEpositivedirectionReconoise7++; + if (kcountHEpositivedirectionReconoise7 > 3) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise7) delete h2CeffHEpositivedirectionReconoise7; + if (h2CeffHEpositivedirectionReconoise7) + delete h2CeffHEpositivedirectionReconoise7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoise1=1; - TH1F* h2CeffHEnegativedirectionReconoise1 = new TH1F("h2CeffHEnegativedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + if (jeta - 41 >= -29 && jeta - 41 <= -16) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEnegativedirectionReconoise1 = "<SetMarkerColor(2);HEnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise1 == 1) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 2) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 3) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 4) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 5) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 6) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 7) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 8) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 9) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 ==10) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 ==11) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 ==12) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionReconoise1->Draw("Error"); - kcountHEnegativedirectionReconoise1++; - if(kcountHEnegativedirectionReconoise1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEnegativedirectionReconoise1 = (TH1F*)h2CeffHEnegativedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEnegativedirectionReconoise1 = "<SetMarkerColor(2); + HEnegativedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise1 == 1) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 2) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 3) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 4) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 5) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 6) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 7) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 8) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 9) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 10) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 11) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 12) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoise1->Draw("Error"); + kcountHEnegativedirectionReconoise1++; + if (kcountHEnegativedirectionReconoise1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise1) delete h2CeffHEnegativedirectionReconoise1; - + if (h2CeffHEnegativedirectionReconoise1) + delete h2CeffHEnegativedirectionReconoise1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise2=1; - TH1F* h2CeffHEnegativedirectionReconoise2 = new TH1F("h2CeffHEnegativedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEnegativedirectionReconoise2 = "<SetMarkerColor(2);HEnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise2 == 1) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 2) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 3) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 4) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 5) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 6) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 7) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 8) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 9) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==10) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==11) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==12) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==13) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionReconoise2->Draw("Error"); - kcountHEnegativedirectionReconoise2++; - if(kcountHEnegativedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise2 = 1; + TH1F* h2CeffHEnegativedirectionReconoise2 = new TH1F("h2CeffHEnegativedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEnegativedirectionReconoise2 = "<SetMarkerColor(2); + HEnegativedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise2 == 1) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 2) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 3) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 4) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 5) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 6) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 7) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 8) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 9) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 10) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 11) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 12) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 13) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoise2->Draw("Error"); + kcountHEnegativedirectionReconoise2++; + if (kcountHEnegativedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise2) delete h2CeffHEnegativedirectionReconoise2; - //========================================================================================== 1116 + if (h2CeffHEnegativedirectionReconoise2) + delete h2CeffHEnegativedirectionReconoise2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise3=1; - TH1F* h2CeffHEnegativedirectionReconoise3 = new TH1F("h2CeffHEnegativedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEnegativedirectionReconoise3 = "<SetMarkerColor(2);HEnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise3 == 1) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 2) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 3) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 4) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 5) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 6) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 7) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 8) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 9) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==10) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==11) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==12) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==13) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionReconoise3->Draw("Error"); - kcountHEnegativedirectionReconoise3++; - if(kcountHEnegativedirectionReconoise3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise3 = 1; + TH1F* h2CeffHEnegativedirectionReconoise3 = new TH1F("h2CeffHEnegativedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEnegativedirectionReconoise3 = "<SetMarkerColor(2); + HEnegativedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise3 == 1) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 2) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 3) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 4) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 5) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 6) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 7) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 8) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 9) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 10) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 11) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 12) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 13) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoise3->Draw("Error"); + kcountHEnegativedirectionReconoise3++; + if (kcountHEnegativedirectionReconoise3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise3) delete h2CeffHEnegativedirectionReconoise3; - //========================================================================================== 1117 + if (h2CeffHEnegativedirectionReconoise3) + delete h2CeffHEnegativedirectionReconoise3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise4=1; - TH1F* h2CeffHEnegativedirectionReconoise4 = new TH1F("h2CeffHEnegativedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEnegativedirectionReconoise4 = "<SetMarkerColor(2);HEnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise4 == 1) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 2) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 3) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 4) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 5) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 6) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 7) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 8) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 9) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 ==10) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 ==11) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 ==12) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionReconoise4->Draw("Error"); - kcountHEnegativedirectionReconoise4++; - if(kcountHEnegativedirectionReconoise4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise4 = 1; + TH1F* h2CeffHEnegativedirectionReconoise4 = new TH1F("h2CeffHEnegativedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEnegativedirectionReconoise4 = "<SetMarkerColor(2); + HEnegativedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise4 == 1) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 2) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 3) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 4) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 5) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 6) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 7) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 8) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 9) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 10) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 11) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 12) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoise4->Draw("Error"); + kcountHEnegativedirectionReconoise4++; + if (kcountHEnegativedirectionReconoise4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise4) delete h2CeffHEnegativedirectionReconoise4; - //========================================================================================== 1118 + if (h2CeffHEnegativedirectionReconoise4) + delete h2CeffHEnegativedirectionReconoise4; + //========================================================================================== 1118 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise5=1; - TH1F* h2CeffHEnegativedirectionReconoise5 = new TH1F("h2CeffHEnegativedirectionReconoise5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise5 == 1) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 2) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 3) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 4) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 5) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 6) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 7) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 8) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 9) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 ==10) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 ==11) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionReconoise5->Draw("Error"); - kcountHEnegativedirectionReconoise5++; - if(kcountHEnegativedirectionReconoise5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise5 = 1; + TH1F* h2CeffHEnegativedirectionReconoise5 = new TH1F("h2CeffHEnegativedirectionReconoise5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEnegativedirectionReconoise5 = "<SetMarkerColor(2); + HEnegativedirectionReconoise5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise5 == 1) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 2) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 3) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 4) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 5) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 6) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 7) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 8) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 9) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 10) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 11) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoise5->Draw("Error"); + kcountHEnegativedirectionReconoise5++; + if (kcountHEnegativedirectionReconoise5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise5) delete h2CeffHEnegativedirectionReconoise5; - //========================================================================================== 1119 + if (h2CeffHEnegativedirectionReconoise5) + delete h2CeffHEnegativedirectionReconoise5; + //========================================================================================== 1119 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise6=1; - TH1F* h2CeffHEnegativedirectionReconoise6 = new TH1F("h2CeffHEnegativedirectionReconoise6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEnegativedirectionReconoise6 = "<SetMarkerColor(2);HEnegativedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise6 == 1) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 2) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 3) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 4) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 5) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 6) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 7) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 8) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 9) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 ==10) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionReconoise6->Draw("Error"); - kcountHEnegativedirectionReconoise6++; - if(kcountHEnegativedirectionReconoise6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise6 = 1; + TH1F* h2CeffHEnegativedirectionReconoise6 = new TH1F("h2CeffHEnegativedirectionReconoise6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEnegativedirectionReconoise6 = "<SetMarkerColor(2); + HEnegativedirectionReconoise6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise6 == 1) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 2) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 3) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 4) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 5) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 6) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 7) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 8) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 9) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 10) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoise6->Draw("Error"); + kcountHEnegativedirectionReconoise6++; + if (kcountHEnegativedirectionReconoise6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise6) delete h2CeffHEnegativedirectionReconoise6; - //========================================================================================== 11110 + if (h2CeffHEnegativedirectionReconoise6) + delete h2CeffHEnegativedirectionReconoise6; + //========================================================================================== 11110 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise7=1; - TH1F* h2CeffHEnegativedirectionReconoise7 = new TH1F("h2CeffHEnegativedirectionReconoise7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEnegativedirectionReconoise7 = "<SetMarkerColor(2);HEnegativedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise7 == 1) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionReconoise7 == 2) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionReconoise7 == 3) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionReconoise7->Draw("Error"); - kcountHEnegativedirectionReconoise7++; - if(kcountHEnegativedirectionReconoise7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise7 = 1; + TH1F* h2CeffHEnegativedirectionReconoise7 = new TH1F("h2CeffHEnegativedirectionReconoise7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEnegativedirectionReconoise7 = "<SetMarkerColor(2); + HEnegativedirectionReconoise7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise7 == 1) + HEnegativedirectionReconoise7->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionReconoise7 == 2) + HEnegativedirectionReconoise7->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionReconoise7 == 3) + HEnegativedirectionReconoise7->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoise7->Draw("Error"); + kcountHEnegativedirectionReconoise7++; + if (kcountHEnegativedirectionReconoise7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise7) delete h2CeffHEnegativedirectionReconoise7; + if (h2CeffHEnegativedirectionReconoise7) + delete h2CeffHEnegativedirectionReconoise7; //====================================================================================================================== //====================================================================================================================== @@ -6667,857 +9236,1161 @@ main(int argc, char *argv[]){ //====================================================================== c2x1->Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzDIFreconoiseHE42D = new TH2F("GefzDIFreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzDIFreconoiseHE42D0 = new TH2F("GefzDIFreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHE42D = new TH2F("GefzDIFreconoiseHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzDIFreconoiseHE42D0 = new TH2F("GefzDIFreconoiseHE42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzDIFreconoiseHE42DF = (TH2F*)GefzDIFreconoiseHE42D0->Clone("GefzDIFreconoiseHE42DF"); - for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzDIFreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHE42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzDIFreconoiseHE42DF->Divide(GefzDIFreconoiseHE42D,GefzDIFreconoiseHE42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHE42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzDIFreconoiseHE42D->Fill(kkk, jphi, ccc1); + GefzDIFreconoiseHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHE42DF->Divide(GefzDIFreconoiseHE42D, GefzDIFreconoiseHE42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE42DF->SetXTitle("_depth #eta \b"); + GefzDIFreconoiseHE42DF->SetYTitle(" #phi \b"); GefzDIFreconoiseHE42DF->Draw("COLZ"); - //c2x1->cd(2); //TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); - //energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); - - - + //energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHE.png"); c2x1->Clear(); // clean-up - if (GefzDIFreconoiseHE42D) delete GefzDIFreconoiseHE42D; - if (GefzDIFreconoiseHE42D0) delete GefzDIFreconoiseHE42D0; - if (GefzDIFreconoiseHE42DF) delete GefzDIFreconoiseHE42DF; + if (GefzDIFreconoiseHE42D) + delete GefzDIFreconoiseHE42D; + if (GefzDIFreconoiseHE42D0) + delete GefzDIFreconoiseHE42D0; + if (GefzDIFreconoiseHE42DF) + delete GefzDIFreconoiseHE42DF; //====================================================================== 1D plot: DIF vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: DIF vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzDIFreconoiseHE41D = new TH1F("GefzDIFreconoiseHE41D","", nphi, 0., 72. ); - TH1F* GefzDIFreconoiseHE41D0 = new TH1F("GefzDIFreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHE41D = new TH1F("GefzDIFreconoiseHE41D", "", nphi, 0., 72.); + TH1F* GefzDIFreconoiseHE41D0 = new TH1F("GefzDIFreconoiseHE41D0", "", nphi, 0., 72.); TH1F* GefzDIFreconoiseHE41DF = (TH1F*)GefzDIFreconoiseHE41D0->Clone("GefzDIFreconoiseHE41DF"); - for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHE41D0 ->Fill(jphi,1.); } - }}}} - GefzDIFreconoiseHE41DF->Divide(GefzDIFreconoiseHE41D,GefzDIFreconoiseHE41D0, 1, 1, "B");// DIF averaged over depthes & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzDIFreconoiseHE41D->Fill(jphi, ccc1); + GefzDIFreconoiseHE41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHE41DF->Divide( + GefzDIFreconoiseHE41D, GefzDIFreconoiseHE41D0, 1, 1, "B"); // DIF averaged over depthes & eta GefzDIFreconoiseHE41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHE41DF->SetMarkerStyle(20); GefzDIFreconoiseHE41DF->SetMarkerSize(1.4); GefzDIFreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHE41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHE41DF->SetYTitle(" \b"); GefzDIFreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzDIFreconoiseHE41DF->SetMarkerColor(4); GefzDIFreconoiseHE41DF->SetLineColor(4); // GefzDIFreconoiseHE41DF->SetMinimum(0.8); // GefzDIFreconoiseHE41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE41DF->SetMarkerStyle(20); + GefzDIFreconoiseHE41DF->SetMarkerSize(1.4); + GefzDIFreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); + GefzDIFreconoiseHE41DF->SetXTitle("#phi \b"); + GefzDIFreconoiseHE41DF->SetYTitle(" \b"); + GefzDIFreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); + GefzDIFreconoiseHE41DF->SetMarkerColor(4); + GefzDIFreconoiseHE41DF->SetLineColor( + 4); // GefzDIFreconoiseHE41DF->SetMinimum(0.8); // GefzDIFreconoiseHE41DF->SetMaximum(1.000); GefzDIFreconoiseHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (GefzDIFreconoiseHE41D) delete GefzDIFreconoiseHE41D; - if (GefzDIFreconoiseHE41D0) delete GefzDIFreconoiseHE41D0; - if (GefzDIFreconoiseHE41DF) delete GefzDIFreconoiseHE41DF; + if (GefzDIFreconoiseHE41D) + delete GefzDIFreconoiseHE41D; + if (GefzDIFreconoiseHE41D0) + delete GefzDIFreconoiseHE41D0; + if (GefzDIFreconoiseHE41DF) + delete GefzDIFreconoiseHE41DF; - - //========================================================================================== 4 + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF1=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + if (jeta - 41 >= 15 && jeta - 41 <= 28) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF1 == 1) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 2) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 3) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 4) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 5) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 6) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 7) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 8) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 9) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 ==10) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 ==11) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 ==12) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionReconoiseDIF1->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF1++; - if(kcountHEpositivedirectionReconoiseDIF1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 15 && jeta-41 <= 28 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEpositivedirectionReconoiseDIF1 = (TH1F*)h2CeffHEpositivedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF1 == 1) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 2) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 3) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 4) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 5) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 6) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 7) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 8) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 9) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 10) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 11) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 12) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF1++; + if (kcountHEpositivedirectionReconoiseDIF1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 15 && jeta-41 <= 28 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF1) delete h2CeffHEpositivedirectionReconoiseDIF1; - + if (h2CeffHEpositivedirectionReconoiseDIF1) + delete h2CeffHEpositivedirectionReconoiseDIF1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF2=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF2 == 1) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 2) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 3) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 4) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 5) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 6) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 7) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 8) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 9) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==10) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==11) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==12) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==13) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionReconoiseDIF2->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF2++; - if(kcountHEpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF2 == 1) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 2) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 3) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 4) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 5) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 6) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 7) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 8) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 9) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 10) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 11) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 12) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 13) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF2++; + if (kcountHEpositivedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF2) delete h2CeffHEpositivedirectionReconoiseDIF2; - //========================================================================================== 6 + if (h2CeffHEpositivedirectionReconoiseDIF2) + delete h2CeffHEpositivedirectionReconoiseDIF2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF3=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF3 == 1) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 2) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 3) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 4) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 5) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 6) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 7) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 8) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 9) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==10) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==11) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==12) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==13) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionReconoiseDIF3->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF3++; - if(kcountHEpositivedirectionReconoiseDIF3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF3 == 1) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 2) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 3) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 4) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 5) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 6) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 7) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 8) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 9) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 10) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 11) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 12) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 13) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF3++; + if (kcountHEpositivedirectionReconoiseDIF3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF3) delete h2CeffHEpositivedirectionReconoiseDIF3; - //========================================================================================== 7 + if (h2CeffHEpositivedirectionReconoiseDIF3) + delete h2CeffHEpositivedirectionReconoiseDIF3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF4=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF4 == 1) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 2) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 3) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 4) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 5) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 6) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 7) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 8) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 9) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 ==10) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 ==11) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 ==12) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionReconoiseDIF4->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF4++; - if(kcountHEpositivedirectionReconoiseDIF4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF4 == 1) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 2) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 3) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 4) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 5) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 6) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 7) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 8) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 9) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 10) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 11) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 12) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF4++; + if (kcountHEpositivedirectionReconoiseDIF4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF4) delete h2CeffHEpositivedirectionReconoiseDIF4; - //========================================================================================== 8 + if (h2CeffHEpositivedirectionReconoiseDIF4) + delete h2CeffHEpositivedirectionReconoiseDIF4; + //========================================================================================== 8 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF5=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF5 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF5 == 1) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 2) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 3) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 4) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 5) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 6) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 7) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 8) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 9) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 ==10) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 ==11) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionReconoiseDIF5->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF5++; - if(kcountHEpositivedirectionReconoiseDIF5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF5 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF5 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEpositivedirectionReconoiseDIF5 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF5 == 1) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 2) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 3) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 4) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 5) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 6) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 7) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 8) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 9) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 10) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 11) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseDIF5->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF5++; + if (kcountHEpositivedirectionReconoiseDIF5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF5) delete h2CeffHEpositivedirectionReconoiseDIF5; - //========================================================================================== 9 + if (h2CeffHEpositivedirectionReconoiseDIF5) + delete h2CeffHEpositivedirectionReconoiseDIF5; + //========================================================================================== 9 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF6=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF6 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEpositivedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF6 == 1) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 2) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 3) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 4) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 5) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 6) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 7) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 8) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 9) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 ==10) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionReconoiseDIF6->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF6++; - if(kcountHEpositivedirectionReconoiseDIF6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF6 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF6 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEpositivedirectionReconoiseDIF6 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF6 == 1) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 2) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 3) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 4) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 5) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 6) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 7) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 8) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 9) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 10) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseDIF6->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF6++; + if (kcountHEpositivedirectionReconoiseDIF6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF6) delete h2CeffHEpositivedirectionReconoiseDIF6; - //========================================================================================== 10 + if (h2CeffHEpositivedirectionReconoiseDIF6) + delete h2CeffHEpositivedirectionReconoiseDIF6; + //========================================================================================== 10 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF7=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF7 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEpositivedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF7 == 1) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseDIF7 == 2) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseDIF7 == 3) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionReconoiseDIF7->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF7++; - if(kcountHEpositivedirectionReconoiseDIF7>3) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF7 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF7 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEpositivedirectionReconoiseDIF7 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF7 == 1) + HEpositivedirectionReconoiseDIF7->SetXTitle("DIF for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseDIF7 == 2) + HEpositivedirectionReconoiseDIF7->SetXTitle("DIF for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseDIF7 == 3) + HEpositivedirectionReconoiseDIF7->SetXTitle("DIF for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseDIF7->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF7++; + if (kcountHEpositivedirectionReconoiseDIF7 > 3) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF7) delete h2CeffHEpositivedirectionReconoiseDIF7; + if (h2CeffHEpositivedirectionReconoiseDIF7) + delete h2CeffHEpositivedirectionReconoiseDIF7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF1=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + if (jeta - 41 >= -29 && jeta - 41 <= -16) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF1 == 1) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 2) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 3) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 4) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 5) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 6) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 7) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 8) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 9) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 ==10) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 ==11) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 ==12) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionReconoiseDIF1->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF1++; - if(kcountHEnegativedirectionReconoiseDIF1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEnegativedirectionReconoiseDIF1 = (TH1F*)h2CeffHEnegativedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF1 == 1) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 2) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 3) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 4) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 5) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 6) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 7) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 8) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 9) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 10) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 11) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 12) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF1++; + if (kcountHEnegativedirectionReconoiseDIF1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF1) delete h2CeffHEnegativedirectionReconoiseDIF1; - + if (h2CeffHEnegativedirectionReconoiseDIF1) + delete h2CeffHEnegativedirectionReconoiseDIF1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF2=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF2 == 1) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 2) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 3) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 4) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 5) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 6) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 7) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 8) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 9) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==10) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==11) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==12) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==13) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionReconoiseDIF2->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF2++; - if(kcountHEnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF2 == 1) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 2) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 3) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 4) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 5) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 6) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 7) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 8) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 9) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 10) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 11) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 12) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 13) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF2++; + if (kcountHEnegativedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF2) delete h2CeffHEnegativedirectionReconoiseDIF2; - //========================================================================================== 1116 + if (h2CeffHEnegativedirectionReconoiseDIF2) + delete h2CeffHEnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF3=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF3 == 1) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 2) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 3) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 4) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 5) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 6) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 7) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 8) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 9) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==10) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==11) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==12) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==13) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionReconoiseDIF3->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF3++; - if(kcountHEnegativedirectionReconoiseDIF3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF3 == 1) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 2) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 3) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 4) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 5) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 6) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 7) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 8) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 9) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 10) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 11) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 12) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 13) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF3++; + if (kcountHEnegativedirectionReconoiseDIF3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF3) delete h2CeffHEnegativedirectionReconoiseDIF3; - //========================================================================================== 1117 + if (h2CeffHEnegativedirectionReconoiseDIF3) + delete h2CeffHEnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF4=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF4 == 1) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 2) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 3) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 4) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 5) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 6) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 7) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 8) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 9) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 ==10) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 ==11) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 ==12) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionReconoiseDIF4->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF4++; - if(kcountHEnegativedirectionReconoiseDIF4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF4 == 1) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 2) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 3) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 4) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 5) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 6) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 7) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 8) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 9) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 10) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 11) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 12) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF4++; + if (kcountHEnegativedirectionReconoiseDIF4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF4) delete h2CeffHEnegativedirectionReconoiseDIF4; - //========================================================================================== 1118 + if (h2CeffHEnegativedirectionReconoiseDIF4) + delete h2CeffHEnegativedirectionReconoiseDIF4; + //========================================================================================== 1118 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF5=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF5 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF5 == 1) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 2) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 3) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 4) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 5) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 6) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 7) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 8) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 9) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 ==10) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 ==11) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionReconoiseDIF5->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF5++; - if(kcountHEnegativedirectionReconoiseDIF5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF5 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF5 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEnegativedirectionReconoiseDIF5 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF5 == 1) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 2) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 3) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 4) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 5) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 6) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 7) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 8) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 9) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 10) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 11) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseDIF5->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF5++; + if (kcountHEnegativedirectionReconoiseDIF5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF5) delete h2CeffHEnegativedirectionReconoiseDIF5; - //========================================================================================== 1119 + if (h2CeffHEnegativedirectionReconoiseDIF5) + delete h2CeffHEnegativedirectionReconoiseDIF5; + //========================================================================================== 1119 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF6=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF6 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEnegativedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF6 == 1) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 2) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 3) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 4) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 5) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 6) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 7) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 8) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 9) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 ==10) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionReconoiseDIF6->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF6++; - if(kcountHEnegativedirectionReconoiseDIF6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF6 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF6 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEnegativedirectionReconoiseDIF6 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF6 == 1) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 2) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 3) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 4) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 5) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 6) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 7) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 8) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 9) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 10) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseDIF6->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF6++; + if (kcountHEnegativedirectionReconoiseDIF6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF6) delete h2CeffHEnegativedirectionReconoiseDIF6; - //========================================================================================== 11110 + if (h2CeffHEnegativedirectionReconoiseDIF6) + delete h2CeffHEnegativedirectionReconoiseDIF6; + //========================================================================================== 11110 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF7=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF7 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEnegativedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF7 == 1) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseDIF7 == 2) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseDIF7 == 3) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionReconoiseDIF7->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF7++; - if(kcountHEnegativedirectionReconoiseDIF7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF7 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF7 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEnegativedirectionReconoiseDIF7 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF7 == 1) + HEnegativedirectionReconoiseDIF7->SetXTitle("DIF for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseDIF7 == 2) + HEnegativedirectionReconoiseDIF7->SetXTitle("DIF for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseDIF7 == 3) + HEnegativedirectionReconoiseDIF7->SetXTitle("DIF for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseDIF7->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF7++; + if (kcountHEnegativedirectionReconoiseDIF7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF7) delete h2CeffHEnegativedirectionReconoiseDIF7; + if (h2CeffHEnegativedirectionReconoiseDIF7) + delete h2CeffHEnegativedirectionReconoiseDIF7; //====================================================================================================================== //====================================================================================================================== @@ -7527,1605 +10400,2194 @@ main(int argc, char *argv[]){ //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HE1"); - TH2F *reconoiseVariance0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HE1"); + TH2F* reconoiseVariance0HE1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); TH2F* reconoiseVarianceHE1 = (TH2F*)reconoiseVariance1HE1->Clone("reconoiseVarianceHE1"); - reconoiseVarianceHE1->Divide(reconoiseVariance1HE1,reconoiseVariance0HE1, 1, 1, "B"); - TH2F *reconoiseVariance1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE2"); - TH2F *reconoiseVariance0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + reconoiseVarianceHE1->Divide(reconoiseVariance1HE1, reconoiseVariance0HE1, 1, 1, "B"); + TH2F* reconoiseVariance1HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE2"); + TH2F* reconoiseVariance0HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); TH2F* reconoiseVarianceHE2 = (TH2F*)reconoiseVariance1HE2->Clone("reconoiseVarianceHE2"); - reconoiseVarianceHE2->Divide(reconoiseVariance1HE2,reconoiseVariance0HE2, 1, 1, "B"); - TH2F *reconoiseVariance1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE3"); - TH2F *reconoiseVariance0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + reconoiseVarianceHE2->Divide(reconoiseVariance1HE2, reconoiseVariance0HE2, 1, 1, "B"); + TH2F* reconoiseVariance1HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE3"); + TH2F* reconoiseVariance0HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); TH2F* reconoiseVarianceHE3 = (TH2F*)reconoiseVariance1HE3->Clone("reconoiseVarianceHE3"); - reconoiseVarianceHE3->Divide(reconoiseVariance1HE3,reconoiseVariance0HE3, 1, 1, "B"); - TH2F *reconoiseVariance1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE4"); - TH2F *reconoiseVariance0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + reconoiseVarianceHE3->Divide(reconoiseVariance1HE3, reconoiseVariance0HE3, 1, 1, "B"); + TH2F* reconoiseVariance1HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE4"); + TH2F* reconoiseVariance0HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); TH2F* reconoiseVarianceHE4 = (TH2F*)reconoiseVariance1HE4->Clone("reconoiseVarianceHE4"); - reconoiseVarianceHE4->Divide(reconoiseVariance1HE4,reconoiseVariance0HE4, 1, 1, "B"); - TH2F *reconoiseVariance1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE5"); - TH2F *reconoiseVariance0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + reconoiseVarianceHE4->Divide(reconoiseVariance1HE4, reconoiseVariance0HE4, 1, 1, "B"); + TH2F* reconoiseVariance1HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE5"); + TH2F* reconoiseVariance0HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); TH2F* reconoiseVarianceHE5 = (TH2F*)reconoiseVariance1HE5->Clone("reconoiseVarianceHE5"); - reconoiseVarianceHE5->Divide(reconoiseVariance1HE5,reconoiseVariance0HE5, 1, 1, "B"); - TH2F *reconoiseVariance1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE6"); - TH2F *reconoiseVariance0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + reconoiseVarianceHE5->Divide(reconoiseVariance1HE5, reconoiseVariance0HE5, 1, 1, "B"); + TH2F* reconoiseVariance1HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE6"); + TH2F* reconoiseVariance0HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); TH2F* reconoiseVarianceHE6 = (TH2F*)reconoiseVariance1HE6->Clone("reconoiseVarianceHE6"); - reconoiseVarianceHE6->Divide(reconoiseVariance1HE6,reconoiseVariance0HE6, 1, 1, "B"); - TH2F *reconoiseVariance1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE7"); - TH2F *reconoiseVariance0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + reconoiseVarianceHE6->Divide(reconoiseVariance1HE6, reconoiseVariance0HE6, 1, 1, "B"); + TH2F* reconoiseVariance1HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE7"); + TH2F* reconoiseVariance0HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); TH2F* reconoiseVarianceHE7 = (TH2F*)reconoiseVariance1HE7->Clone("reconoiseVarianceHE7"); - reconoiseVarianceHE7->Divide(reconoiseVariance1HE7,reconoiseVariance0HE7, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevariancehe - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + reconoiseVarianceHE7->Divide(reconoiseVariance1HE7, reconoiseVariance0HE7, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { //preparation for PHI normalization: - double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; - double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - reconoisevariancehe[1][jeta][jphi] = reconoiseVarianceHE2->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[2][jeta][jphi] = reconoiseVarianceHE3->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[3][jeta][jphi] = reconoiseVarianceHE4->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[4][jeta][jphi] = reconoiseVarianceHE5->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[5][jeta][jphi] = reconoiseVarianceHE6->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[6][jeta][jphi] = reconoiseVarianceHE7->GetBinContent(jeta+1,jphi+1); - if(reconoisevariancehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += reconoisevariancehe[0][jeta][jphi];++nsumreconoiseHE0;} - if(reconoisevariancehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += reconoisevariancehe[1][jeta][jphi];++nsumreconoiseHE1;} - if(reconoisevariancehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += reconoisevariancehe[2][jeta][jphi];++nsumreconoiseHE2;} - if(reconoisevariancehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += reconoisevariancehe[3][jeta][jphi];++nsumreconoiseHE3;} - if(reconoisevariancehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += reconoisevariancehe[4][jeta][jphi];++nsumreconoiseHE4;} - if(reconoisevariancehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += reconoisevariancehe[5][jeta][jphi];++nsumreconoiseHE5;} - if(reconoisevariancehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += reconoisevariancehe[6][jeta][jphi];++nsumreconoiseHE6;} - }// phi + double sumreconoiseHE0 = 0; + int nsumreconoiseHE0 = 0; + double sumreconoiseHE1 = 0; + int nsumreconoiseHE1 = 0; + double sumreconoiseHE2 = 0; + int nsumreconoiseHE2 = 0; + double sumreconoiseHE3 = 0; + int nsumreconoiseHE3 = 0; + double sumreconoiseHE4 = 0; + int nsumreconoiseHE4 = 0; + double sumreconoiseHE5 = 0; + int nsumreconoiseHE5 = 0; + double sumreconoiseHE6 = 0; + int nsumreconoiseHE6 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + reconoisevariancehe[0][jeta][jphi] = reconoiseVarianceHE1->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[1][jeta][jphi] = reconoiseVarianceHE2->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[2][jeta][jphi] = reconoiseVarianceHE3->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[3][jeta][jphi] = reconoiseVarianceHE4->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[4][jeta][jphi] = reconoiseVarianceHE5->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[5][jeta][jphi] = reconoiseVarianceHE6->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[6][jeta][jphi] = reconoiseVarianceHE7->GetBinContent(jeta + 1, jphi + 1); + if (reconoisevariancehe[0][jeta][jphi] != 0.) { + sumreconoiseHE0 += reconoisevariancehe[0][jeta][jphi]; + ++nsumreconoiseHE0; + } + if (reconoisevariancehe[1][jeta][jphi] != 0.) { + sumreconoiseHE1 += reconoisevariancehe[1][jeta][jphi]; + ++nsumreconoiseHE1; + } + if (reconoisevariancehe[2][jeta][jphi] != 0.) { + sumreconoiseHE2 += reconoisevariancehe[2][jeta][jphi]; + ++nsumreconoiseHE2; + } + if (reconoisevariancehe[3][jeta][jphi] != 0.) { + sumreconoiseHE3 += reconoisevariancehe[3][jeta][jphi]; + ++nsumreconoiseHE3; + } + if (reconoisevariancehe[4][jeta][jphi] != 0.) { + sumreconoiseHE4 += reconoisevariancehe[4][jeta][jphi]; + ++nsumreconoiseHE4; + } + if (reconoisevariancehe[5][jeta][jphi] != 0.) { + sumreconoiseHE5 += reconoisevariancehe[5][jeta][jphi]; + ++nsumreconoiseHE5; + } + if (reconoisevariancehe[6][jeta][jphi] != 0.) { + sumreconoiseHE6 += reconoisevariancehe[6][jeta][jphi]; + ++nsumreconoiseHE6; + } + } // phi // PHI normalization : - for(int jphi=0;jphiClear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDreconoiseHE42D = new TH2F("DefzDreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHE42D0 = new TH2F("DefzDreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHE42DF = (TH2F*)DefzDreconoiseHE42D0->Clone("DefzDreconoiseHE42DF"); - for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 - if(areconoisehe[i][jeta][jphi]>0.) {DefzDreconoiseHE42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHE42D0 ->Fill(kkk,jphi,1.); } - }}}} - DefzDreconoiseHE42DF->Divide(DefzDreconoiseHE42D,DefzDreconoiseHE42D0, 1, 1, "B");// average A - // DefzDreconoiseHE1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHE42DF->SetMarkerStyle(20); DefzDreconoiseHE42DF->SetMarkerSize(0.4); DefzDreconoiseHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHE42DF->SetYTitle(" #phi \b"); DefzDreconoiseHE42DF->SetZTitle("_depth \b"); DefzDreconoiseHE42DF->SetMarkerColor(2); DefzDreconoiseHE42DF->SetLineColor(0); // DefzDreconoiseHE42DF->SetMaximum(1.000); // DefzDreconoiseHE42DF->SetMinimum(1.0); - DefzDreconoiseHE42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DreconoiseGeneralD2PhiSymmetryHE.png"); - c1x0->Clear(); - // clean-up - if (DefzDreconoiseHE42D) delete DefzDreconoiseHE42D; - if (DefzDreconoiseHE42D0) delete DefzDreconoiseHE42D0; - if (DefzDreconoiseHE42DF) delete DefzDreconoiseHE42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthes *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDreconoiseHE42D = new TH2F("DefzDreconoiseHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHE42D0 = new TH2F("DefzDreconoiseHE42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHE42DF = (TH2F*)DefzDreconoiseHE42D0->Clone("DefzDreconoiseHE42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (areconoisehe[i][jeta][jphi] > 0.) { + DefzDreconoiseHE42D->Fill(kkk, jphi, ccc1); + DefzDreconoiseHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + DefzDreconoiseHE42DF->Divide(DefzDreconoiseHE42D, DefzDreconoiseHE42D0, 1, 1, "B"); // average A + // DefzDreconoiseHE1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE42DF->SetMarkerStyle(20); + DefzDreconoiseHE42DF->SetMarkerSize(0.4); + DefzDreconoiseHE42DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHE42DF->SetXTitle("_depth #eta \b"); + DefzDreconoiseHE42DF->SetYTitle(" #phi \b"); + DefzDreconoiseHE42DF->SetZTitle("_depth \b"); + DefzDreconoiseHE42DF->SetMarkerColor(2); + DefzDreconoiseHE42DF->SetLineColor( + 0); // DefzDreconoiseHE42DF->SetMaximum(1.000); // DefzDreconoiseHE42DF->SetMinimum(1.0); + DefzDreconoiseHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHE42D) + delete DefzDreconoiseHE42D; + if (DefzDreconoiseHE42D0) + delete DefzDreconoiseHE42D0; + if (DefzDreconoiseHE42DF) + delete DefzDreconoiseHE42DF; //====================================================================== 1D plot: D vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDreconoiseHE41D = new TH1F("DefzDreconoiseHE41D","", nphi, 0., 72. ); - TH1F* DefzDreconoiseHE41D0 = new TH1F("DefzDreconoiseHE41D0","",nphi, 0., 72. ); - TH1F* DefzDreconoiseHE41DF = (TH1F*)DefzDreconoiseHE41D0->Clone("DefzDreconoiseHE41DF"); - - for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int i=0;i0.) {DefzDreconoiseHE41D ->Fill(jphi,ccc1); DefzDreconoiseHE41D0 ->Fill(jphi,1.); } - }}}} - // DefzDreconoiseHE41D->Sumw2();DefzDreconoiseHE41D0->Sumw2(); - - DefzDreconoiseHE41DF->Divide(DefzDreconoiseHE41D,DefzDreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta - DefzDreconoiseHE41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHE41DF->SetMarkerStyle(20); DefzDreconoiseHE41DF->SetMarkerSize(1.4); DefzDreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE41DF->SetXTitle("#phi \b"); DefzDreconoiseHE41DF->SetYTitle(" \b"); DefzDreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDreconoiseHE41DF->SetMarkerColor(4); DefzDreconoiseHE41DF->SetLineColor(4); // DefzDreconoiseHE41DF->SetMinimum(0.8); DefzDreconoiseHE41DF->SetMinimum(-0.015); - DefzDreconoiseHE41DF->Draw("Error"); + TH1F* DefzDreconoiseHE41D = new TH1F("DefzDreconoiseHE41D", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHE41D0 = new TH1F("DefzDreconoiseHE41D0", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHE41DF = (TH1F*)DefzDreconoiseHE41D0->Clone("DefzDreconoiseHE41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + DefzDreconoiseHE41D->Fill(jphi, ccc1); + DefzDreconoiseHE41D0->Fill(jphi, 1.); + } + } + } + } + } + // DefzDreconoiseHE41D->Sumw2();DefzDreconoiseHE41D0->Sumw2(); + + DefzDreconoiseHE41DF->Divide(DefzDreconoiseHE41D, DefzDreconoiseHE41D0, 1, 1, "B"); // R averaged over depthes & eta + DefzDreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE41DF->SetMarkerStyle(20); + DefzDreconoiseHE41DF->SetMarkerSize(1.4); + DefzDreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHE41DF->SetXTitle("#phi \b"); + DefzDreconoiseHE41DF->SetYTitle(" \b"); + DefzDreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); + DefzDreconoiseHE41DF->SetMarkerColor(4); + DefzDreconoiseHE41DF->SetLineColor( + 4); // DefzDreconoiseHE41DF->SetMinimum(0.8); DefzDreconoiseHE41DF->SetMinimum(-0.015); + DefzDreconoiseHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DreconoiseGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (DefzDreconoiseHE41D) delete DefzDreconoiseHE41D; - if (DefzDreconoiseHE41D0) delete DefzDreconoiseHE41D0; - if (DefzDreconoiseHE41DF) delete DefzDreconoiseHE41DF; - //========================================================================================== 14 + if (DefzDreconoiseHE41D) + delete DefzDreconoiseHE41D; + if (DefzDreconoiseHE41D0) + delete DefzDreconoiseHE41D0; + if (DefzDreconoiseHE41DF) + delete DefzDreconoiseHE41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD1=1; - TH1F* h2CeffHEpositivedirectionReconoiseD1 = new TH1F("h2CeffHEpositivedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD1 == 1) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 2) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 3) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 4) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 5) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 6) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 7) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 8) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 9) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 ==10) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 ==11) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 ==12) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionReconoiseD1->Draw("Error"); - kcountHEpositivedirectionReconoiseD1++; - if(kcountHEpositivedirectionReconoiseD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD1 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD1 = new TH1F("h2CeffHEpositivedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEpositivedirectionReconoiseD1 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD1 == 1) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 2) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 3) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 4) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 5) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 6) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 7) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 8) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 9) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 10) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 11) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 12) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseD1->Draw("Error"); + kcountHEpositivedirectionReconoiseD1++; + if (kcountHEpositivedirectionReconoiseD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD1) delete h2CeffHEpositivedirectionReconoiseD1; - //========================================================================================== 15 + if (h2CeffHEpositivedirectionReconoiseD1) + delete h2CeffHEpositivedirectionReconoiseD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD2=1; - TH1F* h2CeffHEpositivedirectionReconoiseD2 = new TH1F("h2CeffHEpositivedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD2 == 1) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 2) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 3) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 4) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 5) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 6) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 7) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 8) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 9) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==10) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==11) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==12) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==13) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionReconoiseD2->Draw("Error"); - kcountHEpositivedirectionReconoiseD2++; - if(kcountHEpositivedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD2 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD2 = new TH1F("h2CeffHEpositivedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEpositivedirectionReconoiseD2 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD2 == 1) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 2) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 3) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 4) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 5) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 6) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 7) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 8) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 9) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 10) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 11) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 12) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 13) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseD2->Draw("Error"); + kcountHEpositivedirectionReconoiseD2++; + if (kcountHEpositivedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD2) delete h2CeffHEpositivedirectionReconoiseD2; - //========================================================================================== 16 + if (h2CeffHEpositivedirectionReconoiseD2) + delete h2CeffHEpositivedirectionReconoiseD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD3=1; - TH1F* h2CeffHEpositivedirectionReconoiseD3 = new TH1F("h2CeffHEpositivedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD3 == 1) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 2) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 3) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 4) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 5) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 6) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 7) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 8) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 9) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==10) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==11) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==12) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==13) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionReconoiseD3->Draw("Error"); - kcountHEpositivedirectionReconoiseD3++; - if(kcountHEpositivedirectionReconoiseD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD3 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD3 = new TH1F("h2CeffHEpositivedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEpositivedirectionReconoiseD3 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD3 == 1) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 2) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 3) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 4) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 5) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 6) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 7) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 8) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 9) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 10) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 11) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 12) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 13) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseD3->Draw("Error"); + kcountHEpositivedirectionReconoiseD3++; + if (kcountHEpositivedirectionReconoiseD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD3) delete h2CeffHEpositivedirectionReconoiseD3; - //========================================================================================== 17 + if (h2CeffHEpositivedirectionReconoiseD3) + delete h2CeffHEpositivedirectionReconoiseD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD4=1; - TH1F* h2CeffHEpositivedirectionReconoiseD4 = new TH1F("h2CeffHEpositivedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD4 == 1) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 2) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 3) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 4) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 5) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 6) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 7) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 8) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 9) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 ==10) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 ==11) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 ==12) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionReconoiseD4->Draw("Error"); - kcountHEpositivedirectionReconoiseD4++; - if(kcountHEpositivedirectionReconoiseD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD4 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD4 = new TH1F("h2CeffHEpositivedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEpositivedirectionReconoiseD4 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD4 == 1) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 2) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 3) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 4) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 5) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 6) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 7) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 8) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 9) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 10) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 11) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 12) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseD4->Draw("Error"); + kcountHEpositivedirectionReconoiseD4++; + if (kcountHEpositivedirectionReconoiseD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD4) delete h2CeffHEpositivedirectionReconoiseD4; - //========================================================================================== 18 + if (h2CeffHEpositivedirectionReconoiseD4) + delete h2CeffHEpositivedirectionReconoiseD4; + //========================================================================================== 18 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD5=1; - TH1F* h2CeffHEpositivedirectionReconoiseD5 = new TH1F("h2CeffHEpositivedirectionReconoiseD5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEpositivedirectionReconoiseD5 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD5 == 1) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 2) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 3) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 4) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 5) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 6) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 7) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 8) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 9) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 ==10) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 ==11) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionReconoiseD5->Draw("Error"); - kcountHEpositivedirectionReconoiseD5++; - if(kcountHEpositivedirectionReconoiseD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD5 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD5 = new TH1F("h2CeffHEpositivedirectionReconoiseD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD5->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEpositivedirectionReconoiseD5 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD5 == 1) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 2) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 3) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 4) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 5) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 6) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 7) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 8) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 9) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 10) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 11) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseD5->Draw("Error"); + kcountHEpositivedirectionReconoiseD5++; + if (kcountHEpositivedirectionReconoiseD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD5) delete h2CeffHEpositivedirectionReconoiseD5; - //========================================================================================== 19 + if (h2CeffHEpositivedirectionReconoiseD5) + delete h2CeffHEpositivedirectionReconoiseD5; + //========================================================================================== 19 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD6=1; - TH1F* h2CeffHEpositivedirectionReconoiseD6 = new TH1F("h2CeffHEpositivedirectionReconoiseD6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEpositivedirectionReconoiseD6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD6 == 1) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 2) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 3) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 4) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 5) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 6) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 7) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 8) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 9) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 ==10) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionReconoiseD6->Draw("Error"); - kcountHEpositivedirectionReconoiseD6++; - if(kcountHEpositivedirectionReconoiseD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD6 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD6 = new TH1F("h2CeffHEpositivedirectionReconoiseD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEpositivedirectionReconoiseD6 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD6 == 1) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 2) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 3) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 4) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 5) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 6) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 7) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 8) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 9) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 10) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseD6->Draw("Error"); + kcountHEpositivedirectionReconoiseD6++; + if (kcountHEpositivedirectionReconoiseD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD6) delete h2CeffHEpositivedirectionReconoiseD6; - //========================================================================================== 20 + if (h2CeffHEpositivedirectionReconoiseD6) + delete h2CeffHEpositivedirectionReconoiseD6; + //========================================================================================== 20 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD7=1; - TH1F* h2CeffHEpositivedirectionReconoiseD7 = new TH1F("h2CeffHEpositivedirectionReconoiseD7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEpositivedirectionReconoiseD7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD7 == 1) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseD7 == 2) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseD7 == 3) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionReconoiseD7->Draw("Error"); - kcountHEpositivedirectionReconoiseD7++; - if(kcountHEpositivedirectionReconoiseD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD7 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD7 = new TH1F("h2CeffHEpositivedirectionReconoiseD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEpositivedirectionReconoiseD7 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD7 == 1) + HEpositivedirectionReconoiseD7->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseD7 == 2) + HEpositivedirectionReconoiseD7->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseD7 == 3) + HEpositivedirectionReconoiseD7->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseD7->Draw("Error"); + kcountHEpositivedirectionReconoiseD7++; + if (kcountHEpositivedirectionReconoiseD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD7) delete h2CeffHEpositivedirectionReconoiseD7; - + if (h2CeffHEpositivedirectionReconoiseD7) + delete h2CeffHEpositivedirectionReconoiseD7; - //========================================================================================== 22222214 + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD1=1; - TH1F* h2CeffHEnegativedirectionReconoiseD1 = new TH1F("h2CeffHEnegativedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD1 == 1) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 2) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 3) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 4) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 5) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 6) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 7) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 8) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 9) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 ==10) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 ==11) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 ==12) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionReconoiseD1->Draw("Error"); - kcountHEnegativedirectionReconoiseD1++; - if(kcountHEnegativedirectionReconoiseD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD1 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD1 = new TH1F("h2CeffHEnegativedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEnegativedirectionReconoiseD1 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD1 == 1) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 2) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 3) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 4) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 5) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 6) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 7) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 8) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 9) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 10) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 11) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 12) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseD1->Draw("Error"); + kcountHEnegativedirectionReconoiseD1++; + if (kcountHEnegativedirectionReconoiseD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD1) delete h2CeffHEnegativedirectionReconoiseD1; - //========================================================================================== 22222215 + if (h2CeffHEnegativedirectionReconoiseD1) + delete h2CeffHEnegativedirectionReconoiseD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD2=1; - TH1F* h2CeffHEnegativedirectionReconoiseD2 = new TH1F("h2CeffHEnegativedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD2 == 1) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 2) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 3) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 4) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 5) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 6) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 7) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 8) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 9) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==10) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==11) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==12) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==13) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionReconoiseD2->Draw("Error"); - kcountHEnegativedirectionReconoiseD2++; - if(kcountHEnegativedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD2 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD2 = new TH1F("h2CeffHEnegativedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEnegativedirectionReconoiseD2 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD2 == 1) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 2) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 3) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 4) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 5) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 6) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 7) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 8) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 9) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 10) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 11) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 12) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 13) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseD2->Draw("Error"); + kcountHEnegativedirectionReconoiseD2++; + if (kcountHEnegativedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD2) delete h2CeffHEnegativedirectionReconoiseD2; - //========================================================================================== 22222216 + if (h2CeffHEnegativedirectionReconoiseD2) + delete h2CeffHEnegativedirectionReconoiseD2; + //========================================================================================== 22222216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD3=1; - TH1F* h2CeffHEnegativedirectionReconoiseD3 = new TH1F("h2CeffHEnegativedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD3 == 1) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 2) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 3) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 4) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 5) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 6) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 7) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 8) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 9) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==10) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==11) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==12) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==13) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionReconoiseD3->Draw("Error"); - kcountHEnegativedirectionReconoiseD3++; - if(kcountHEnegativedirectionReconoiseD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD3 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD3 = new TH1F("h2CeffHEnegativedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEnegativedirectionReconoiseD3 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD3 == 1) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 2) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 3) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 4) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 5) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 6) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 7) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 8) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 9) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 10) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 11) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 12) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 13) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseD3->Draw("Error"); + kcountHEnegativedirectionReconoiseD3++; + if (kcountHEnegativedirectionReconoiseD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD3) delete h2CeffHEnegativedirectionReconoiseD3; - //========================================================================================== 22222217 + if (h2CeffHEnegativedirectionReconoiseD3) + delete h2CeffHEnegativedirectionReconoiseD3; + //========================================================================================== 22222217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD4=1; - TH1F* h2CeffHEnegativedirectionReconoiseD4 = new TH1F("h2CeffHEnegativedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD4 == 1) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 2) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 3) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 4) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 5) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 6) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 7) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 8) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 9) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 ==10) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 ==11) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 ==12) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionReconoiseD4->Draw("Error"); - kcountHEnegativedirectionReconoiseD4++; - if(kcountHEnegativedirectionReconoiseD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD4 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD4 = new TH1F("h2CeffHEnegativedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEnegativedirectionReconoiseD4 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD4 == 1) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 2) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 3) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 4) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 5) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 6) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 7) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 8) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 9) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 10) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 11) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 12) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseD4->Draw("Error"); + kcountHEnegativedirectionReconoiseD4++; + if (kcountHEnegativedirectionReconoiseD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD4) delete h2CeffHEnegativedirectionReconoiseD4; - //========================================================================================== 22222218 + if (h2CeffHEnegativedirectionReconoiseD4) + delete h2CeffHEnegativedirectionReconoiseD4; + //========================================================================================== 22222218 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD5=1; - TH1F* h2CeffHEnegativedirectionReconoiseD5 = new TH1F("h2CeffHEnegativedirectionReconoiseD5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEnegativedirectionReconoiseD5 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD5 == 1) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 2) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 3) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 4) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 5) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 6) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 7) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 8) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 9) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 ==10) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 ==11) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionReconoiseD5->Draw("Error"); - kcountHEnegativedirectionReconoiseD5++; - if(kcountHEnegativedirectionReconoiseD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD5 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD5 = new TH1F("h2CeffHEnegativedirectionReconoiseD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD5->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEnegativedirectionReconoiseD5 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD5 == 1) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 2) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 3) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 4) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 5) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 6) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 7) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 8) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 9) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 10) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 11) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseD5->Draw("Error"); + kcountHEnegativedirectionReconoiseD5++; + if (kcountHEnegativedirectionReconoiseD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD5) delete h2CeffHEnegativedirectionReconoiseD5; - //========================================================================================== 22222219 + if (h2CeffHEnegativedirectionReconoiseD5) + delete h2CeffHEnegativedirectionReconoiseD5; + //========================================================================================== 22222219 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD6=1; - TH1F* h2CeffHEnegativedirectionReconoiseD6 = new TH1F("h2CeffHEnegativedirectionReconoiseD6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEnegativedirectionReconoiseD6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD6 == 1) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 2) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 3) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 4) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 5) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 6) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 7) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 8) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 9) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 ==10) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionReconoiseD6->Draw("Error"); - kcountHEnegativedirectionReconoiseD6++; - if(kcountHEnegativedirectionReconoiseD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD6 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD6 = new TH1F("h2CeffHEnegativedirectionReconoiseD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEnegativedirectionReconoiseD6 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD6 == 1) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 2) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 3) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 4) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 5) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 6) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 7) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 8) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 9) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 10) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseD6->Draw("Error"); + kcountHEnegativedirectionReconoiseD6++; + if (kcountHEnegativedirectionReconoiseD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD6) delete h2CeffHEnegativedirectionReconoiseD6; - //========================================================================================== 22222220 + if (h2CeffHEnegativedirectionReconoiseD6) + delete h2CeffHEnegativedirectionReconoiseD6; + //========================================================================================== 22222220 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD7=1; - TH1F* h2CeffHEnegativedirectionReconoiseD7 = new TH1F("h2CeffHEnegativedirectionReconoiseD7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEnegativedirectionReconoiseD7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD7 == 1) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseD7 == 2) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseD7 == 3) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionReconoiseD7->Draw("Error"); - kcountHEnegativedirectionReconoiseD7++; - if(kcountHEnegativedirectionReconoiseD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD7 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD7 = new TH1F("h2CeffHEnegativedirectionReconoiseD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEnegativedirectionReconoiseD7 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD7 == 1) + HEnegativedirectionReconoiseD7->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseD7 == 2) + HEnegativedirectionReconoiseD7->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseD7 == 3) + HEnegativedirectionReconoiseD7->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseD7->Draw("Error"); + kcountHEnegativedirectionReconoiseD7++; + if (kcountHEnegativedirectionReconoiseD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD7) delete h2CeffHEnegativedirectionReconoiseD7; + if (h2CeffHEnegativedirectionReconoiseD7) + delete h2CeffHEnegativedirectionReconoiseD7; //===================================================================== END of Reconoise HE for phi-symmetry //===================================================================== END of Reconoise HE for phi-symmetry //===================================================================== END of Reconoise HE for phi-symmetry //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 2; - double areconoiseHF[ndepth][njeta][njphi]; - double breconoiseHF[ndepth][njeta][njphi]; - double reconoisevarianceHF[ndepth][njeta][njphi]; - - - TH2F *recNoiseEnergy1HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF1"); - TH2F *recNoiseEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double areconoiseHF[ndepth][njeta][njphi]; + double breconoiseHF[ndepth][njeta][njphi]; + double reconoisevarianceHF[ndepth][njeta][njphi]; + + TH2F* recNoiseEnergy1HF1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF1"); + TH2F* recNoiseEnergy0HF1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); TH2F* recNoiseEnergyHF1 = (TH2F*)recNoiseEnergy1HF1->Clone("recNoiseEnergyHF1"); - recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1,recNoiseEnergy0HF1, 1, 1, "B"); - TH2F *recNoiseEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF2"); - TH2F *recNoiseEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1, recNoiseEnergy0HF1, 1, 1, "B"); + TH2F* recNoiseEnergy1HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF2"); + TH2F* recNoiseEnergy0HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); TH2F* recNoiseEnergyHF2 = (TH2F*)recNoiseEnergy1HF2->Clone("recNoiseEnergyHF2"); - recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2,recNoiseEnergy0HF2, 1, 1, "B"); - //====================================================================== PHI normalization & put R into massive areconoiseHF - for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2, recNoiseEnergy0HF2, 1, 1, "B"); + //====================================================================== PHI normalization & put R into massive areconoiseHF + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { //preparation for PHI normalization: - double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - areconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); - breconoiseHF[0][jeta][jphi] = recNoiseEnergyHF1->GetBinContent(jeta+1,jphi+1); - breconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); - sumreconoiseHF0 += areconoiseHF[0][jeta][jphi];++nsumreconoiseHF0; - sumreconoiseHF1 += areconoiseHF[1][jeta][jphi];++nsumreconoiseHF1; - }// phi - - // PHI normalization for DIF: - for(int jphi=0;jphiGetBinContent(jeta + 1, jphi + 1); + areconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta + 1, jphi + 1); + breconoiseHF[0][jeta][jphi] = recNoiseEnergyHF1->GetBinContent(jeta + 1, jphi + 1); + breconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta + 1, jphi + 1); + sumreconoiseHF0 += areconoiseHF[0][jeta][jphi]; + ++nsumreconoiseHF0; + sumreconoiseHF1 += areconoiseHF[1][jeta][jphi]; + ++nsumreconoiseHF1; + } // phi + + // PHI normalization for DIF: + for (int jphi = 0; jphi < njphi; jphi++) { + if (sumreconoiseHF0 != 0.) + breconoiseHF[0][jeta][jphi] -= (sumreconoiseHF0 / nsumreconoiseHF0); + if (sumreconoiseHF1 != 0.) + breconoiseHF[1][jeta][jphi] -= (sumreconoiseHF1 / nsumreconoiseHF1); + } // phi // PHI normalization for R: - for(int jphi=0;jphiClear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRreconoiseHF42D = new TH2F("GefzRreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRreconoiseHF42D0 = new TH2F("GefzRreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHF42D = new TH2F("GefzRreconoiseHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRreconoiseHF42D0 = new TH2F("GefzRreconoiseHF42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRreconoiseHF42DF = (TH2F*)GefzRreconoiseHF42D0->Clone("GefzRreconoiseHF42DF"); - for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHF42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzRreconoiseHF42DF->Divide(GefzRreconoiseHF42D,GefzRreconoiseHF42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHF42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRreconoiseHF42D->Fill(kkk, jphi, ccc1); + GefzRreconoiseHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzRreconoiseHF42DF->Divide(GefzRreconoiseHF42D, GefzRreconoiseHF42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF42DF->SetXTitle("_depth #eta \b"); + GefzRreconoiseHF42DF->SetYTitle(" #phi \b"); GefzRreconoiseHF42DF->Draw("COLZ"); - - c2x1->cd(2); - TH1F *energyhitNoise_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HF"); - energyhitNoise_HF ->SetMarkerStyle(20);energyhitNoise_HF ->SetMarkerSize(0.4);energyhitNoise_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HF ->SetXTitle("energyhitNoise_HF \b");energyhitNoise_HF ->SetMarkerColor(2);energyhitNoise_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HF ->Draw("Error"); - - + TH1F* energyhitNoise_HF = (TH1F*)dir->FindObjectAny("h_energyhitNoise_HF"); + energyhitNoise_HF->SetMarkerStyle(20); + energyhitNoise_HF->SetMarkerSize(0.4); + energyhitNoise_HF->GetYaxis()->SetLabelSize(0.04); + energyhitNoise_HF->SetXTitle("energyhitNoise_HF \b"); + energyhitNoise_HF->SetMarkerColor(2); + energyhitNoise_HF->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitNoise_HF->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RreconoiseGeneralD2PhiSymmetryHF.png"); c2x1->Clear(); // clean-up - if (GefzRreconoiseHF42D) delete GefzRreconoiseHF42D; - if (GefzRreconoiseHF42D0) delete GefzRreconoiseHF42D0; - if (GefzRreconoiseHF42DF) delete GefzRreconoiseHF42DF; + if (GefzRreconoiseHF42D) + delete GefzRreconoiseHF42D; + if (GefzRreconoiseHF42D0) + delete GefzRreconoiseHF42D0; + if (GefzRreconoiseHF42DF) + delete GefzRreconoiseHF42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRreconoiseHF41D = new TH1F("GefzRreconoiseHF41D","", nphi, 0., 72. ); - TH1F* GefzRreconoiseHF41D0 = new TH1F("GefzRreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHF41D = new TH1F("GefzRreconoiseHF41D", "", nphi, 0., 72.); + TH1F* GefzRreconoiseHF41D0 = new TH1F("GefzRreconoiseHF41D0", "", nphi, 0., 72.); TH1F* GefzRreconoiseHF41DF = (TH1F*)GefzRreconoiseHF41D0->Clone("GefzRreconoiseHF41DF"); - for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHF41D0 ->Fill(jphi,1.); } - }}}} - GefzRreconoiseHF41DF->Divide(GefzRreconoiseHF41D,GefzRreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRreconoiseHF41D->Fill(jphi, ccc1); + GefzRreconoiseHF41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzRreconoiseHF41DF->Divide(GefzRreconoiseHF41D, GefzRreconoiseHF41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRreconoiseHF41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHF41DF->SetMarkerStyle(20); GefzRreconoiseHF41DF->SetMarkerSize(1.4); GefzRreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHF41DF->SetXTitle("#phi \b"); GefzRreconoiseHF41DF->SetYTitle(" \b"); GefzRreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHF41DF->SetMarkerColor(4); GefzRreconoiseHF41DF->SetLineColor(4);// GefzRreconoiseHF41DF->SetMinimum(0.8); // GefzRreconoiseHF41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF41DF->SetMarkerStyle(20); + GefzRreconoiseHF41DF->SetMarkerSize(1.4); + GefzRreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); + GefzRreconoiseHF41DF->SetXTitle("#phi \b"); + GefzRreconoiseHF41DF->SetYTitle(" \b"); + GefzRreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRreconoiseHF41DF->SetMarkerColor(4); + GefzRreconoiseHF41DF->SetLineColor( + 4); // GefzRreconoiseHF41DF->SetMinimum(0.8); // GefzRreconoiseHF41DF->SetMaximum(1.000); GefzRreconoiseHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RreconoiseGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (GefzRreconoiseHF41D) delete GefzRreconoiseHF41D; - if (GefzRreconoiseHF41D0) delete GefzRreconoiseHF41D0; - if (GefzRreconoiseHF41DF) delete GefzRreconoiseHF41DF; - //========================================================================================== 4 + if (GefzRreconoiseHF41D) + delete GefzRreconoiseHF41D; + if (GefzRreconoiseHF41D0) + delete GefzRreconoiseHF41D0; + if (GefzRreconoiseHF41DF) + delete GefzRreconoiseHF41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionReconoise1=1; - TH1F* h2CeffHFpositivedirectionReconoise1 = new TH1F("h2CeffHFpositivedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + if (jeta - 41 >= 28 && jeta - 41 <= 40) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFpositivedirectionReconoise1 = "<SetMarkerColor(2);HFpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoise1 == 1) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 2) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 3) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 4) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 5) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 6) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 7) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 8) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 9) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==10) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==11) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==12) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==13) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionReconoise1->Draw("Error"); - kcountHFpositivedirectionReconoise1++; - if(kcountHFpositivedirectionReconoise1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFpositivedirectionReconoise1 = (TH1F*)h2CeffHFpositivedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFpositivedirectionReconoise1 = "<SetMarkerColor(2); + HFpositivedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoise1 == 1) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 2) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 3) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 4) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 5) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 6) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 7) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 8) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 9) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 10) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 11) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 12) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 13) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoise1->Draw("Error"); + kcountHFpositivedirectionReconoise1++; + if (kcountHFpositivedirectionReconoise1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoise1) delete h2CeffHFpositivedirectionReconoise1; - + if (h2CeffHFpositivedirectionReconoise1) + delete h2CeffHFpositivedirectionReconoise1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionReconoise2=1; - TH1F* h2CeffHFpositivedirectionReconoise2 = new TH1F("h2CeffHFpositivedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFpositivedirectionReconoise2 = "<SetMarkerColor(2);HFpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoise2 == 1) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 2) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 3) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 4) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 5) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 6) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 7) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 8) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 9) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==10) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==11) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==12) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==13) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionReconoise2->Draw("Error"); - kcountHFpositivedirectionReconoise2++; - if(kcountHFpositivedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoise2 = 1; + TH1F* h2CeffHFpositivedirectionReconoise2 = new TH1F("h2CeffHFpositivedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFpositivedirectionReconoise2 = "<SetMarkerColor(2); + HFpositivedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoise2 == 1) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 2) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 3) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 4) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 5) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 6) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 7) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 8) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 9) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 10) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 11) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 12) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 13) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoise2->Draw("Error"); + kcountHFpositivedirectionReconoise2++; + if (kcountHFpositivedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoise2) delete h2CeffHFpositivedirectionReconoise2; + if (h2CeffHFpositivedirectionReconoise2) + delete h2CeffHFpositivedirectionReconoise2; - //========================================================================================== 1111114 + //========================================================================================== 1111114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionReconoise1=1; - TH1F* h2CeffHFnegativedirectionReconoise1 = new TH1F("h2CeffHFnegativedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + if (jeta - 41 >= -41 && jeta - 41 <= -29) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFnegativedirectionReconoise1 = "<SetMarkerColor(2);HFnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoise1 == 1) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 2) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 3) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 4) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 5) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 6) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 7) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 8) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 9) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==10) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==11) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==12) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==13) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionReconoise1->Draw("Error"); - kcountHFnegativedirectionReconoise1++; - if(kcountHFnegativedirectionReconoise1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFnegativedirectionReconoise1 = (TH1F*)h2CeffHFnegativedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFnegativedirectionReconoise1 = "<SetMarkerColor(2); + HFnegativedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoise1 == 1) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 2) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 3) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 4) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 5) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 6) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 7) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 8) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 9) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 10) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 11) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 12) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 13) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoise1->Draw("Error"); + kcountHFnegativedirectionReconoise1++; + if (kcountHFnegativedirectionReconoise1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoise1) delete h2CeffHFnegativedirectionReconoise1; - + if (h2CeffHFnegativedirectionReconoise1) + delete h2CeffHFnegativedirectionReconoise1; - //========================================================================================== 1111115 + //========================================================================================== 1111115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionReconoise2=1; - TH1F* h2CeffHFnegativedirectionReconoise2 = new TH1F("h2CeffHFnegativedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFnegativedirectionReconoise2 = "<SetMarkerColor(2);HFnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoise2 == 1) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 2) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 3) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 4) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 5) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 6) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 7) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 8) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 9) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==10) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==11) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==12) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==13) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); - HFnegativedirectionReconoise2->Draw("Error"); - kcountHFnegativedirectionReconoise2++; - if(kcountHFnegativedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoise2 = 1; + TH1F* h2CeffHFnegativedirectionReconoise2 = new TH1F("h2CeffHFnegativedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFnegativedirectionReconoise2 = "<SetMarkerColor(2); + HFnegativedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoise2 == 1) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 2) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 3) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 4) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 5) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 6) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 7) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 8) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 9) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 10) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 11) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 12) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 13) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoise2->Draw("Error"); + kcountHFnegativedirectionReconoise2++; + if (kcountHFnegativedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoise2) delete h2CeffHFnegativedirectionReconoise2; + if (h2CeffHFnegativedirectionReconoise2) + delete h2CeffHFnegativedirectionReconoise2; //====================================================================================================================== // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HF //------------------------ 2D-eta/phi-plot: DIF, averaged over depthfs //====================================================================== //====================================================================== -// cout<<" DIF2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzDIFreconoiseHF42D = new TH2F("GefzDIFreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzDIFreconoiseHF42D0 = new TH2F("GefzDIFreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHF42D = new TH2F("GefzDIFreconoiseHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzDIFreconoiseHF42D0 = new TH2F("GefzDIFreconoiseHF42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzDIFreconoiseHF42DF = (TH2F*)GefzDIFreconoiseHF42D0->Clone("GefzDIFreconoiseHF42DF"); - for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzDIFreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHF42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzDIFreconoiseHF42DF->Divide(GefzDIFreconoiseHF42D,GefzDIFreconoiseHF42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHF42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzDIFreconoiseHF42D->Fill(kkk, jphi, ccc1); + GefzDIFreconoiseHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHF42DF->Divide(GefzDIFreconoiseHF42D, GefzDIFreconoiseHF42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF42DF->SetXTitle("_depth #eta \b"); + GefzDIFreconoiseHF42DF->SetYTitle(" #phi \b"); GefzDIFreconoiseHF42DF->Draw("COLZ"); - - c2x1->cd(2); // TH1F *energyhitNoiseCut_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoiseCut_HF"); - // energyhitNoiseCut_HF ->SetMarkerStyle(20);energyhitNoiseCut_HF ->SetMarkerSize(0.4);energyhitNoiseCut_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoiseCut_HF ->SetXTitle("energyhitNoiseCut_HF \b");energyhitNoiseCut_HF ->SetMarkerColor(2);energyhitNoiseCut_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoiseCut_HF ->Draw("Error"); - - + // energyhitNoiseCut_HF ->SetMarkerStyle(20);energyhitNoiseCut_HF ->SetMarkerSize(0.4);energyhitNoiseCut_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoiseCut_HF ->SetXTitle("energyhitNoiseCut_HF \b");energyhitNoiseCut_HF ->SetMarkerColor(2);energyhitNoiseCut_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoiseCut_HF ->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHF.png"); c2x1->Clear(); // clean-up - if (GefzDIFreconoiseHF42D) delete GefzDIFreconoiseHF42D; - if (GefzDIFreconoiseHF42D0) delete GefzDIFreconoiseHF42D0; - if (GefzDIFreconoiseHF42DF) delete GefzDIFreconoiseHF42DF; + if (GefzDIFreconoiseHF42D) + delete GefzDIFreconoiseHF42D; + if (GefzDIFreconoiseHF42D0) + delete GefzDIFreconoiseHF42D0; + if (GefzDIFreconoiseHF42DF) + delete GefzDIFreconoiseHF42DF; //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzDIFreconoiseHF41D = new TH1F("GefzDIFreconoiseHF41D","", nphi, 0., 72. ); - TH1F* GefzDIFreconoiseHF41D0 = new TH1F("GefzDIFreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHF41D = new TH1F("GefzDIFreconoiseHF41D", "", nphi, 0., 72.); + TH1F* GefzDIFreconoiseHF41D0 = new TH1F("GefzDIFreconoiseHF41D0", "", nphi, 0., 72.); TH1F* GefzDIFreconoiseHF41DF = (TH1F*)GefzDIFreconoiseHF41D0->Clone("GefzDIFreconoiseHF41DF"); - for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHF41D0 ->Fill(jphi,1.); } - }}}} - GefzDIFreconoiseHF41DF->Divide(GefzDIFreconoiseHF41D,GefzDIFreconoiseHF41D0, 1, 1, "B");// DIF averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzDIFreconoiseHF41D->Fill(jphi, ccc1); + GefzDIFreconoiseHF41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHF41DF->Divide( + GefzDIFreconoiseHF41D, GefzDIFreconoiseHF41D0, 1, 1, "B"); // DIF averaged over depthfs & eta GefzDIFreconoiseHF41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHF41DF->SetMarkerStyle(20); GefzDIFreconoiseHF41DF->SetMarkerSize(1.4); GefzDIFreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHF41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHF41DF->SetYTitle(" \b"); GefzDIFreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHF41DF->SetMarkerColor(4); GefzDIFreconoiseHF41DF->SetLineColor(4);// GefzDIFreconoiseHF41DF->SetMinimum(0.8); // GefzDIFreconoiseHF41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF41DF->SetMarkerStyle(20); + GefzDIFreconoiseHF41DF->SetMarkerSize(1.4); + GefzDIFreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); + GefzDIFreconoiseHF41DF->SetXTitle("#phi \b"); + GefzDIFreconoiseHF41DF->SetYTitle(" \b"); + GefzDIFreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzDIFreconoiseHF41DF->SetMarkerColor(4); + GefzDIFreconoiseHF41DF->SetLineColor( + 4); // GefzDIFreconoiseHF41DF->SetMinimum(0.8); // GefzDIFreconoiseHF41DF->SetMaximum(1.000); GefzDIFreconoiseHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (GefzDIFreconoiseHF41D) delete GefzDIFreconoiseHF41D; - if (GefzDIFreconoiseHF41D0) delete GefzDIFreconoiseHF41D0; - if (GefzDIFreconoiseHF41DF) delete GefzDIFreconoiseHF41DF; - //========================================================================================== 4 + if (GefzDIFreconoiseHF41D) + delete GefzDIFreconoiseHF41D; + if (GefzDIFreconoiseHF41D0) + delete GefzDIFreconoiseHF41D0; + if (GefzDIFreconoiseHF41DF) + delete GefzDIFreconoiseHF41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionReconoiseDIF1=1; - TH1F* h2CeffHFpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + if (jeta - 41 >= 28 && jeta - 41 <= 40) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseDIF1 == 1) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 2) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 3) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 4) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 5) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 6) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 7) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 8) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 9) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==10) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==11) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==12) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==13) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionReconoiseDIF1->Draw("Error"); - kcountHFpositivedirectionReconoiseDIF1++; - if(kcountHFpositivedirectionReconoiseDIF1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFpositivedirectionReconoiseDIF1 = (TH1F*)h2CeffHFpositivedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseDIF1 == 1) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 2) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 3) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 4) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 5) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 6) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 7) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 8) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 9) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 10) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 11) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 12) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 13) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF1++; + if (kcountHFpositivedirectionReconoiseDIF1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseDIF1) delete h2CeffHFpositivedirectionReconoiseDIF1; - + if (h2CeffHFpositivedirectionReconoiseDIF1) + delete h2CeffHFpositivedirectionReconoiseDIF1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionReconoiseDIF2=1; - TH1F* h2CeffHFpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseDIF2 == 1) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 2) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 3) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 4) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 5) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 6) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 7) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 8) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 9) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==10) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==11) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==12) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==13) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionReconoiseDIF2->Draw("Error"); - kcountHFpositivedirectionReconoiseDIF2++; - if(kcountHFpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHFpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseDIF2 == 1) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 2) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 3) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 4) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 5) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 6) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 7) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 8) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 9) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 10) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 11) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 12) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 13) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF2++; + if (kcountHFpositivedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseDIF2) delete h2CeffHFpositivedirectionReconoiseDIF2; + if (h2CeffHFpositivedirectionReconoiseDIF2) + delete h2CeffHFpositivedirectionReconoiseDIF2; - //========================================================================================== 1111114 + //========================================================================================== 1111114 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionReconoiseDIF1=1; - TH1F* h2CeffHFnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + if (jeta - 41 >= -41 && jeta - 41 <= -29) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseDIF1 == 1) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 2) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 3) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 4) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 5) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 6) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 7) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 8) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 9) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==10) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==11) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==12) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==13) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionReconoiseDIF1->Draw("Error"); - kcountHFnegativedirectionReconoiseDIF1++; - if(kcountHFnegativedirectionReconoiseDIF1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFnegativedirectionReconoiseDIF1 = (TH1F*)h2CeffHFnegativedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseDIF1 == 1) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 2) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 3) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 4) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 5) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 6) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 7) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 8) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 9) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 10) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 11) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 12) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 13) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF1++; + if (kcountHFnegativedirectionReconoiseDIF1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseDIF1) delete h2CeffHFnegativedirectionReconoiseDIF1; - + if (h2CeffHFnegativedirectionReconoiseDIF1) + delete h2CeffHFnegativedirectionReconoiseDIF1; - //========================================================================================== 1111115 + //========================================================================================== 1111115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionReconoiseDIF2=1; - TH1F* h2CeffHFnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseDIF2 == 1) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 2) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 3) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 4) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 5) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 6) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 7) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 8) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 9) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==10) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==11) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==12) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==13) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-20; depth = 2 \b"); - HFnegativedirectionReconoiseDIF2->Draw("Error"); - kcountHFnegativedirectionReconoiseDIF2++; - if(kcountHFnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHFnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseDIF2 == 1) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 2) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 3) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 4) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 5) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 6) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 7) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 8) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 9) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 10) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 11) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 12) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 13) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF2++; + if (kcountHFnegativedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseDIF2) delete h2CeffHFnegativedirectionReconoiseDIF2; + if (h2CeffHFnegativedirectionReconoiseDIF2) + delete h2CeffHFnegativedirectionReconoiseDIF2; //====================================================================================================================== //====================================================================================================================== @@ -9135,349 +12597,477 @@ main(int argc, char *argv[]){ //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HF1"); - TH2F *reconoiseVariance0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HF1"); + TH2F* reconoiseVariance0HF1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); TH2F* reconoiseVarianceHF1 = (TH2F*)reconoiseVariance1HF1->Clone("reconoiseVarianceHF1"); - reconoiseVarianceHF1->Divide(reconoiseVariance1HF1,reconoiseVariance0HF1, 1, 1, "B"); - TH2F *reconoiseVariance1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HF2"); - TH2F *reconoiseVariance0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + reconoiseVarianceHF1->Divide(reconoiseVariance1HF1, reconoiseVariance0HF1, 1, 1, "B"); + TH2F* reconoiseVariance1HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HF2"); + TH2F* reconoiseVariance0HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); TH2F* reconoiseVarianceHF2 = (TH2F*)reconoiseVariance1HF2->Clone("reconoiseVarianceHF2"); - reconoiseVarianceHF2->Divide(reconoiseVariance1HF2,reconoiseVariance0HF2, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHF - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + reconoiseVarianceHF2->Divide(reconoiseVariance1HF2, reconoiseVariance0HF2, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { //preparation for PHI normalization: - double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - reconoisevarianceHF[1][jeta][jphi] = reconoiseVarianceHF2->GetBinContent(jeta+1,jphi+1); - sumreconoiseHF0 += reconoisevarianceHF[0][jeta][jphi];++nsumreconoiseHF0; - sumreconoiseHF1 += reconoisevarianceHF[1][jeta][jphi];++nsumreconoiseHF1; - }// phi + double sumreconoiseHF0 = 0; + int nsumreconoiseHF0 = 0; + double sumreconoiseHF1 = 0; + int nsumreconoiseHF1 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + reconoisevarianceHF[0][jeta][jphi] = reconoiseVarianceHF1->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHF[1][jeta][jphi] = reconoiseVarianceHF2->GetBinContent(jeta + 1, jphi + 1); + sumreconoiseHF0 += reconoisevarianceHF[0][jeta][jphi]; + ++nsumreconoiseHF0; + sumreconoiseHF1 += reconoisevarianceHF[1][jeta][jphi]; + ++nsumreconoiseHF1; + } // phi // PHI normalization : - for(int jphi=0;jphiClear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDreconoiseHF42D = new TH2F("DefzDreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHF42D0 = new TH2F("DefzDreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHF42DF = (TH2F*)DefzDreconoiseHF42D0->Clone("DefzDreconoiseHF42DF"); - for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 - if(areconoiseHF[i][jeta][jphi]>0.) {DefzDreconoiseHF42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHF42D0 ->Fill(kkk,jphi,1.); } - }}}} - DefzDreconoiseHF42DF->Divide(DefzDreconoiseHF42D,DefzDreconoiseHF42D0, 1, 1, "B");// average A - // DefzDreconoiseHF1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHF42DF->SetMarkerStyle(20); DefzDreconoiseHF42DF->SetMarkerSize(0.4); DefzDreconoiseHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHF42DF->SetYTitle(" #phi \b"); DefzDreconoiseHF42DF->SetZTitle("_depth \b"); DefzDreconoiseHF42DF->SetMarkerColor(2); DefzDreconoiseHF42DF->SetLineColor(0); // DefzDreconoiseHF42DF->SetMaximum(1.000); // DefzDreconoiseHF42DF->SetMinimum(1.0); - DefzDreconoiseHF42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DreconoiseGeneralD2PhiSymmetryHF.png"); - c1x0->Clear(); - // clean-up - if (DefzDreconoiseHF42D) delete DefzDreconoiseHF42D; - if (DefzDreconoiseHF42D0) delete DefzDreconoiseHF42D0; - if (DefzDreconoiseHF42DF) delete DefzDreconoiseHF42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDreconoiseHF42D = new TH2F("DefzDreconoiseHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHF42D0 = new TH2F("DefzDreconoiseHF42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHF42DF = (TH2F*)DefzDreconoiseHF42D0->Clone("DefzDreconoiseHF42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (areconoiseHF[i][jeta][jphi] > 0.) { + DefzDreconoiseHF42D->Fill(kkk, jphi, ccc1); + DefzDreconoiseHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + DefzDreconoiseHF42DF->Divide(DefzDreconoiseHF42D, DefzDreconoiseHF42D0, 1, 1, "B"); // average A + // DefzDreconoiseHF1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF42DF->SetMarkerStyle(20); + DefzDreconoiseHF42DF->SetMarkerSize(0.4); + DefzDreconoiseHF42DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHF42DF->SetXTitle("_depth #eta \b"); + DefzDreconoiseHF42DF->SetYTitle(" #phi \b"); + DefzDreconoiseHF42DF->SetZTitle("_depth \b"); + DefzDreconoiseHF42DF->SetMarkerColor(2); + DefzDreconoiseHF42DF->SetLineColor( + 0); // DefzDreconoiseHF42DF->SetMaximum(1.000); // DefzDreconoiseHF42DF->SetMinimum(1.0); + DefzDreconoiseHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHF42D) + delete DefzDreconoiseHF42D; + if (DefzDreconoiseHF42D0) + delete DefzDreconoiseHF42D0; + if (DefzDreconoiseHF42DF) + delete DefzDreconoiseHF42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDreconoiseHF41D = new TH1F("DefzDreconoiseHF41D","", nphi, 0., 72. ); - TH1F* DefzDreconoiseHF41D0 = new TH1F("DefzDreconoiseHF41D0","",nphi, 0., 72. ); - TH1F* DefzDreconoiseHF41DF = (TH1F*)DefzDreconoiseHF41D0->Clone("DefzDreconoiseHF41DF"); - - for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int i=0;i0.) {DefzDreconoiseHF41D ->Fill(jphi,ccc1); DefzDreconoiseHF41D0 ->Fill(jphi,1.); } - }}}} - // DefzDreconoiseHF41D->Sumw2();DefzDreconoiseHF41D0->Sumw2(); - - DefzDreconoiseHF41DF->Divide(DefzDreconoiseHF41D,DefzDreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDreconoiseHF41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHF41DF->SetMarkerStyle(20); DefzDreconoiseHF41DF->SetMarkerSize(1.4); DefzDreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF41DF->SetXTitle("#phi \b"); DefzDreconoiseHF41DF->SetYTitle(" \b"); DefzDreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHF41DF->SetMarkerColor(4); DefzDreconoiseHF41DF->SetLineColor(4);// DefzDreconoiseHF41DF->SetMinimum(0.8); DefzDreconoiseHF41DF->SetMinimum(-0.015); - DefzDreconoiseHF41DF->Draw("Error"); + TH1F* DefzDreconoiseHF41D = new TH1F("DefzDreconoiseHF41D", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHF41D0 = new TH1F("DefzDreconoiseHF41D0", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHF41DF = (TH1F*)DefzDreconoiseHF41D0->Clone("DefzDreconoiseHF41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + DefzDreconoiseHF41D->Fill(jphi, ccc1); + DefzDreconoiseHF41D0->Fill(jphi, 1.); + } + } + } + } + } + // DefzDreconoiseHF41D->Sumw2();DefzDreconoiseHF41D0->Sumw2(); + + DefzDreconoiseHF41DF->Divide(DefzDreconoiseHF41D, DefzDreconoiseHF41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF41DF->SetMarkerStyle(20); + DefzDreconoiseHF41DF->SetMarkerSize(1.4); + DefzDreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHF41DF->SetXTitle("#phi \b"); + DefzDreconoiseHF41DF->SetYTitle(" \b"); + DefzDreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDreconoiseHF41DF->SetMarkerColor(4); + DefzDreconoiseHF41DF->SetLineColor( + 4); // DefzDreconoiseHF41DF->SetMinimum(0.8); DefzDreconoiseHF41DF->SetMinimum(-0.015); + DefzDreconoiseHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DreconoiseGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (DefzDreconoiseHF41D) delete DefzDreconoiseHF41D; - if (DefzDreconoiseHF41D0) delete DefzDreconoiseHF41D0; - if (DefzDreconoiseHF41DF) delete DefzDreconoiseHF41DF; - //========================================================================================== 14 + if (DefzDreconoiseHF41D) + delete DefzDreconoiseHF41D; + if (DefzDreconoiseHF41D0) + delete DefzDreconoiseHF41D0; + if (DefzDreconoiseHF41DF) + delete DefzDreconoiseHF41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionReconoiseD1=1; - TH1F* h2CeffHFpositivedirectionReconoiseD1 = new TH1F("h2CeffHFpositivedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseD1 == 1) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 2) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 3) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 4) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 5) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 6) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 7) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 8) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 9) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==10) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==11) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==12) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==13) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionReconoiseD1->Draw("Error"); - kcountHFpositivedirectionReconoiseD1++; - if(kcountHFpositivedirectionReconoiseD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseD1 = 1; + TH1F* h2CeffHFpositivedirectionReconoiseD1 = new TH1F("h2CeffHFpositivedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFpositivedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFpositivedirectionReconoiseD1 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseD1 == 1) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 2) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 3) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 4) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 5) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 6) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 7) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 8) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 9) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 10) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 11) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 12) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 13) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseD1->Draw("Error"); + kcountHFpositivedirectionReconoiseD1++; + if (kcountHFpositivedirectionReconoiseD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseD1) delete h2CeffHFpositivedirectionReconoiseD1; - //========================================================================================== 15 + if (h2CeffHFpositivedirectionReconoiseD1) + delete h2CeffHFpositivedirectionReconoiseD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionReconoiseD2=1; - TH1F* h2CeffHFpositivedirectionReconoiseD2 = new TH1F("h2CeffHFpositivedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseD2 == 1) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 2) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 3) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 4) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 5) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 6) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 7) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 8) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 9) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==10) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==11) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==12) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==13) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionReconoiseD2->Draw("Error"); - kcountHFpositivedirectionReconoiseD2++; - if(kcountHFpositivedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseD2 = 1; + TH1F* h2CeffHFpositivedirectionReconoiseD2 = new TH1F("h2CeffHFpositivedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFpositivedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFpositivedirectionReconoiseD2 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseD2 == 1) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 2) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 3) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 4) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 5) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 6) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 7) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 8) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 9) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 10) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 11) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 12) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 13) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseD2->Draw("Error"); + kcountHFpositivedirectionReconoiseD2++; + if (kcountHFpositivedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseD2) delete h2CeffHFpositivedirectionReconoiseD2; - //========================================================================================== 22222214 + if (h2CeffHFpositivedirectionReconoiseD2) + delete h2CeffHFpositivedirectionReconoiseD2; + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionReconoiseD1=1; - TH1F* h2CeffHFnegativedirectionReconoiseD1 = new TH1F("h2CeffHFnegativedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseD1 == 1) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 2) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 3) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 4) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 5) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 6) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 7) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 8) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 9) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==10) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==11) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==12) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==13) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionReconoiseD1->Draw("Error"); - kcountHFnegativedirectionReconoiseD1++; - if(kcountHFnegativedirectionReconoiseD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseD1 = 1; + TH1F* h2CeffHFnegativedirectionReconoiseD1 = new TH1F("h2CeffHFnegativedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFnegativedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFnegativedirectionReconoiseD1 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseD1 == 1) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 2) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 3) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 4) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 5) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 6) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 7) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 8) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 9) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 10) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 11) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 12) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 13) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseD1->Draw("Error"); + kcountHFnegativedirectionReconoiseD1++; + if (kcountHFnegativedirectionReconoiseD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseD1) delete h2CeffHFnegativedirectionReconoiseD1; - //========================================================================================== 22222215 + if (h2CeffHFnegativedirectionReconoiseD1) + delete h2CeffHFnegativedirectionReconoiseD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionReconoiseD2=1; - TH1F* h2CeffHFnegativedirectionReconoiseD2 = new TH1F("h2CeffHFnegativedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseD2 == 1) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 2) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 3) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 4) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 5) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 6) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 7) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 8) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 9) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==10) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==11) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==12) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==13) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); - HFnegativedirectionReconoiseD2->Draw("Error"); - kcountHFnegativedirectionReconoiseD2++; - if(kcountHFnegativedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseD2 = 1; + TH1F* h2CeffHFnegativedirectionReconoiseD2 = new TH1F("h2CeffHFnegativedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFnegativedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFnegativedirectionReconoiseD2 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseD2 == 1) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 2) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 3) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 4) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 5) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 6) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 7) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 8) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 9) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 10) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 11) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 12) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 13) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionReconoiseD2->Draw("Error"); + kcountHFnegativedirectionReconoiseD2++; + if (kcountHFnegativedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseD2) delete h2CeffHFnegativedirectionReconoiseD2; + if (h2CeffHFnegativedirectionReconoiseD2) + delete h2CeffHFnegativedirectionReconoiseD2; //===================================================================== END of Reconoise HF for phi-symmetry //===================================================================== END of Reconoise HF for phi-symmetry @@ -9491,852 +13081,1085 @@ main(int argc, char *argv[]){ //==================================================================================================================================================== END for phi-symmetry //==================================================================================================================================================== + //====================================================================== + // Creating each test kind for each subdet html pages: + std::string raw_class, raw_class1, raw_class2, raw_class3; + int ind = 0; + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + ofstream htmlFileR, htmlFileN; + if (sub == 1) { + htmlFileR.open("HB_PhiSymmetryRecoSignal.html"); + htmlFileN.open("HB_PhiSymmetryRecoNoise.html"); + } + if (sub == 2) { + htmlFileR.open("HE_PhiSymmetryRecoSignal.html"); + htmlFileN.open("HE_PhiSymmetryRecoNoise.html"); + } + if (sub == 4) { + htmlFileR.open("HF_PhiSymmetryRecoSignal.html"); + htmlFileN.open("HF_PhiSymmetryRecoNoise.html"); + } -//====================================================================== -// Creating each test kind for each subdet html pages: - std::string raw_class, raw_class1, raw_class2, raw_class3; - int ind = 0; - - for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO - ofstream htmlFileR,htmlFileN ; - if (sub==1) {htmlFileR.open("HB_PhiSymmetryRecoSignal.html");htmlFileN.open("HB_PhiSymmetryRecoNoise.html");} - if (sub==2) {htmlFileR.open("HE_PhiSymmetryRecoSignal.html");htmlFileN.open("HE_PhiSymmetryRecoNoise.html");} - - if (sub==4) {htmlFileR.open("HF_PhiSymmetryRecoSignal.html");htmlFileN.open("HF_PhiSymmetryRecoNoise.html");} - - - -////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: -////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: -////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: - - htmlFileR << ""<< std::endl; - htmlFileR << ""<< std::endl; - htmlFileR << ""<< std::endl; - htmlFileR << " Remote Monitoring Tool "<< std::endl; - htmlFileR << ""<< std::endl; - htmlFileR << ""<< std::endl; - - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - - if (sub==1) htmlFileR << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileR << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileR << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileR << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; -// htmlFileR << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - - /////////////////////////////////////////////// R different Depthes: - htmlFileR << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileR << "

1C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

1D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

1E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

1F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

1G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

1H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

1I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileR << "

2: D(recosignalvarianceSignalhe)

"<< std::endl; - htmlFileR << "

2A: eta/phi-plot: D(recosignalvarianceSignalhe), averaged over depthes

"<< std::endl; -// htmlFileR << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

2B: D(recosignalvarianceSignalhe) vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - ///////////////////////////////////////////////D different Depthes: - htmlFileR << "

Positive direction, D(recosignalvarianceSignalhe)

"<< std::endl; - htmlFileR << "

2C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

2.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

2E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

2F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

2G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

2H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

2I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - /////////////////////////////////////////// NegativeDirection: - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - htmlFileR << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - - /////////////////////////////////////////////// different Depthes: - htmlFileR << "

3C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

3D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

3E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

3F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

3G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

3H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

3I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileR << "

4: Negative direction, D(recosignalvarianceSignalhe)

"<< std::endl; - /////////////////////////////////////////////// different Depthes: - htmlFileR << "

4C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

4.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

4E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

4F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

4G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

4H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

4I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - /////////////////////////////////////////// - htmlFileR.close(); - /////////////////////////////////////////// end of Recosignal - // -////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: -////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: -////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: - - htmlFileN << ""<< std::endl; - htmlFileN << ""<< std::endl; - htmlFileN << ""<< std::endl; - htmlFileN << " Remote Monitoring Tool "<< std::endl; - htmlFileN << ""<< std::endl; - htmlFileN << ""<< std::endl; - - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - - if (sub==1) htmlFileN << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileN << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileN << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileN << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; -// htmlFileN << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - - /////////////////////////////////////////////// R different Depthes: - htmlFileN << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileN << "

1C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

1D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

1E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

1F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

1G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

1H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

1I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileN << "

2: D(reconoisevarianceNoisehe)

"<< std::endl; - htmlFileN << "

2A: eta/phi-plot: D(reconoisevarianceNoisehe), averaged over depthes

"<< std::endl; -// htmlFileN << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

2B: D(reconoisevarianceNoisehe) vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - ///////////////////////////////////////////////D different Depthes: - htmlFileN << "

Positive direction, D(reconoisevarianceNoisehe)

"<< std::endl; - htmlFileN << "

2C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

2.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

2E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

2F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

2G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

2H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

2I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - /////////////////////////////////////////// NegativeDirection: - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - htmlFileN << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - - /////////////////////////////////////////////// different Depthes: - htmlFileN << "

3C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

3D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

3E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

3F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

3G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

3H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

3I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileN << "

4: Negative direction, D(reconoisevarianceNoisehe)

"<< std::endl; - /////////////////////////////////////////////// different Depthes: - htmlFileN << "

4C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

4.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

4E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

4F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

4G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

4H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

4I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - /////////////////////////////////////////// - - - - /////////////////////////////////////////////// DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF - - if (sub==1) htmlFileN << "

Only for Noise RecHits these lines below, HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileN << "

Only for Noise RecHits these lines below, HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileN << "

Only for Noise RecHits these lines below, HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5: DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; - htmlFileN << "

5A: eta/phi-plot: DIF, averaged over depthes

"<< std::endl; -// htmlFileN << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5B: DIF vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// DIF PositiveDirection: - - /////////////////////////////////////////////// DIF different Depthes: - htmlFileN << "

Positive direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; - htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

1E: DIF vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// DIF NegativeDirection: - - /////////////////////////////////////////////// DIF different Depthes: - htmlFileN << "

Negative direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; - htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

5E: DIF vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// end of Reconoise - - // - // - htmlFileN.close(); - - /////////////////////////////////////////// end of Reconoise - /////////////////////////////////////////// end of Reconoise - - - - - - // - // - }// end sub //for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO - - - -//====================================================================== - - std::cout<<"********"<"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << " Remote Monitoring Tool "<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - if (sub==1) htmlFile << "

HCAL BARREL, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFile << "

HCAL ENDCAP, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==3) htmlFile << "

HCAL OUTER, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFile << "

HCAL FORWARD, RUN = "<< runnumber <<"

"<< std::endl; - htmlFile << "
"<< std::endl; - if (sub==1) htmlFile << "

1. Analysis results for HB

"<< std::endl; - if (sub==2) htmlFile << "

1. Analysis results for HE

"<< std::endl; - if (sub==3) htmlFile << "

1. Analysis results for HO

"<< std::endl; - if (sub==4) htmlFile << "

1. Analysis results for HF

"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - - - if (sub==1) { - - - /* + ////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + + htmlFileR << "" << std::endl; + htmlFileR << "" << std::endl; + htmlFileR << "" << std::endl; + htmlFileR << " Remote Monitoring Tool " << std::endl; + htmlFileR << "" << std::endl; + htmlFileR << "" << std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub == 1) + htmlFileR << "

Phi-symmetry for Calibration Group, HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileR << "

Phi-symmetry for Calibration Group, HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileR << "

Phi-symmetry for Calibration Group, HF, RUN = " << runnumber << "

" << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileR << "

1A: eta/phi-plot: R, averaged over depthes

" << std::endl; + // htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

1B: R vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileR << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileR << "

1C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

1D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

1E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

1F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

1G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

1H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

1I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

2: D(recosignalvarianceSignalhe)

" << std::endl; + htmlFileR << "

2A: eta/phi-plot: D(recosignalvarianceSignalhe), averaged over depthes

" << std::endl; + // htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

2B: D(recosignalvarianceSignalhe) vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileR << "

Positive direction, D(recosignalvarianceSignalhe)

" << std::endl; + htmlFileR << "

2C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

2.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

2E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

2F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

2G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

2H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

2I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileR << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" + << std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

3C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

3D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

3E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

3F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

3G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

3H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

3I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

4: Negative direction, D(recosignalvarianceSignalhe)

" << std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

4C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

4.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

4E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

4F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

4G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

4H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

4I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + /////////////////////////////////////////// + htmlFileR.close(); + /////////////////////////////////////////// end of Recosignal + // + ////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + + htmlFileN << "" << std::endl; + htmlFileN << "" << std::endl; + htmlFileN << "" << std::endl; + htmlFileN << " Remote Monitoring Tool " << std::endl; + htmlFileN << "" << std::endl; + htmlFileN << "" << std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub == 1) + htmlFileN << "

Phi-symmetry for Calibration Group, HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileN << "

Phi-symmetry for Calibration Group, HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileN << "

Phi-symmetry for Calibration Group, HF, RUN = " << runnumber << "

" << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileN << "

1A: eta/phi-plot: R, averaged over depthes

" << std::endl; + // htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

1B: R vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileN << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileN << "

1C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

1D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

1E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

1F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

1G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

1H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

1I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

2: D(reconoisevarianceNoisehe)

" << std::endl; + htmlFileN << "

2A: eta/phi-plot: D(reconoisevarianceNoisehe), averaged over depthes

" << std::endl; + // htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

2B: D(reconoisevarianceNoisehe) vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileN << "

Positive direction, D(reconoisevarianceNoisehe)

" << std::endl; + htmlFileN << "

2C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

2.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

2E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

2F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

2G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

2H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

2I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileN << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" + << std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

3C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

3D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

3E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

3F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

3G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

3H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

3I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

4: Negative direction, D(reconoisevarianceNoisehe)

" << std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

4C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

4.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

4E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

4F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

4G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

4H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

4I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + /////////////////////////////////////////// + + /////////////////////////////////////////////// DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF + + if (sub == 1) + htmlFileN << "

Only for Noise RecHits these lines below, HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileN << "

Only for Noise RecHits these lines below, HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileN << "

Only for Noise RecHits these lines below, HF, RUN = " << runnumber << "

" << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5: DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

" << std::endl; + htmlFileN << "

5A: eta/phi-plot: DIF, averaged over depthes

" << std::endl; + // htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5B: DIF vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// DIF PositiveDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Positive direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

" + << std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

1E: DIF vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

5F: DIF vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5G: DIF vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5H: DIF vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5I: DIF vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// DIF NegativeDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Negative direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

" + << std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

5E: DIF vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

5F: DIF vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5G: DIF vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5H: DIF vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5I: DIF vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// end of Reconoise + + // + // + htmlFileN.close(); + + /////////////////////////////////////////// end of Reconoise + /////////////////////////////////////////// end of Reconoise + + // + // + } // end sub //for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + + //====================================================================== + + std::cout << "********" << std::endl; + std::cout << "************ Start creating subdet html pages: - rather long time needed, waiting please" + << std::endl; + //====================================================================== + // Creating subdet html pages: + + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + ofstream htmlFile; + if (sub == 1) + htmlFile.open("HB.html"); + if (sub == 2) + htmlFile.open("HE.html"); + if (sub == 3) + htmlFile.open("HO.html"); + if (sub == 4) + htmlFile.open("HF.html"); + + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << " Remote Monitoring Tool " << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + if (sub == 1) + htmlFile << "

HCAL BARREL, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFile << "

HCAL ENDCAP, RUN = " << runnumber << "

" << std::endl; + if (sub == 3) + htmlFile << "

HCAL OUTER, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFile << "

HCAL FORWARD, RUN = " << runnumber << "

" << std::endl; + htmlFile << "
" << std::endl; + if (sub == 1) + htmlFile << "

1. Analysis results for HB

" << std::endl; + if (sub == 2) + htmlFile << "

1. Analysis results for HE

" << std::endl; + if (sub == 3) + htmlFile << "

1. Analysis results for HO

" << std::endl; + if (sub == 4) + htmlFile << "

1. Analysis results for HF

" << std::endl; + htmlFile << "

" << std::endl; + htmlFile << "" << std::endl; + + if (sub == 1) { + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; */ - - - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - - } - if (sub==2) { - - - /* + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + } + if (sub == 2) { + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; */ - - - - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - - } - - - - if (sub==4) { + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + } - /* + if (sub == 4) { + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; */ + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + } - - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - - } - - htmlFile << ""<< std::endl; - htmlFile << "
Phi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-SymmetryRecoSignalPhi-SymmetryRecoNoisePhi-SymmetryRecoSignalPhi-SymmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoise
"<< std::endl; - htmlFile << "
"<< std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "
" << std::endl; - - htmlFile << " " << std::endl; - htmlFile << " " << std::endl; - htmlFile.close(); + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); } - -//====================================================================== - - - std::cout<<"********"<"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << " Remote Monitoring Tool "<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << "

Description of Remote Monitoring Tool criteria for bad channel selection

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- C means CAPID Errors assuming we inspect CAPID non-rotation,error & validation bits, and for this criterion - no need to apply any cuts to select bcs.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- A means full amplitude, collected over all time slices

"<< std::endl; - htmlFile << "

- R means ratio criterion where we define as a bad, the channels, for which the signal portion in 4 middle TSs(plus one, minus two around TS with maximal amplitude) is out of some range of reasonable values

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- W means width of shape distribution. Width is defined as square root from dispersion.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- TN means mean time position of adc signal.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- TX means TS number of maximum signal

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- m means megatile channels. For example Am means Amplitude criteria for megatile channels

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- c means calibration channels. For example Ac means Amplitude criteria for calibration channels

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- Pm means Pedestals.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- pWm means pedestal Width.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << " " << std::endl; - htmlFile << " " << std::endl; - htmlFile.close(); - -//====================================================================== - - std::cout<<"********"<"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << " Remote Monitoring Tool "<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - - htmlFile << "

Remote Monitoring Tool, RUN = "<< runnumber <<".

"<< std::endl; - htmlFile << "
"<< std::endl; - - htmlFile << "

1. Analysis results for subdetectors

"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - - /* + + //====================================================================== + + std::cout << "********" << std::endl; + std::cout << "************ Start creating description HELP html file:" << std::endl; + //====================================================================== + // Creating description html file: + ofstream htmlFile; + htmlFile.open("HELP.html"); + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << " Remote Monitoring Tool " << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "

Description of Remote Monitoring Tool criteria for bad channel selection

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- C means CAPID Errors assuming we inspect CAPID non-rotation,error & validation bits, and for " + "this criterion - no need to apply any cuts to select bcs.

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- A means full amplitude, collected over all time slices

" << std::endl; + htmlFile << "

- R means ratio criterion where we define as a bad, the channels, for which the signal portion in " + "4 middle TSs(plus one, minus two around TS with maximal amplitude) is out of some range of reasonable " + "values

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- W means width of shape distribution. Width is defined as square root from dispersion.

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- TN means mean time position of adc signal.

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- TX means TS number of maximum signal

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- m means megatile channels. For example Am means Amplitude criteria for megatile channels

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile + << "

- c means calibration channels. For example Ac means Amplitude criteria for calibration channels

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- Pm means Pedestals.

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- pWm means pedestal Width.

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + + //====================================================================== + + std::cout << "********" << std::endl; + std::cout << "************ Start creating MAP html file: - rather long time needed, waiting please" << std::endl; + //====================================================================== + // Creating main html file: + htmlFile.open("MAP.html"); + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << " Remote Monitoring Tool " << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + + htmlFile << "

Remote Monitoring Tool, RUN = " << runnumber << ".

" << std::endl; + htmlFile << "
" << std::endl; + + htmlFile << "

1. Analysis results for subdetectors

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "" << std::endl; + + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; -*/ - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - htmlFile << ""<< std::endl; - htmlFile << "
HBHEHOHFHBHEHOHF
"<< std::endl; - htmlFile << "
"<< std::endl; - - htmlFile << " " << std::endl; - htmlFile << " " << std::endl; - htmlFile.close(); -//====================================================================== - -//====================================================================== -// Close and delete all possible things: - hfile->Close(); -// hfile->Delete(); -// Exit Root - gSystem->Exit(0); -//====================================================================== +*/ + htmlFile << " HB" << std::endl; + htmlFile << " HE" << std::endl; + htmlFile << " HO" << std::endl; + htmlFile << " HF" << std::endl; -} + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + //====================================================================== + //====================================================================== + // Close and delete all possible things: + hfile->Close(); + // hfile->Delete(); + // Exit Root + gSystem->Exit(0); + //====================================================================== +} diff --git a/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSM.cc b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSM.cc index b34fa3c4477ec..5f91104d060ea 100644 --- a/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSM.cc +++ b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSM.cc @@ -1,9 +1,8 @@ // How to run: ./RemoteMonitoringALCARECOPSM.cc.exe root_file1 root_file_ref Global // // -// // - +// #include "LogEleMapdb.h" @@ -25,3868 +24,5334 @@ #include "TGraph.h" using namespace std; -int -main(int argc, char *argv[]){ +int main(int argc, char* argv[]) { std::string dirnm = "Analyzer"; gROOT->Reset(); gROOT->SetStyle("Plain"); gStyle->SetOptStat(0); gStyle->SetOptTitle(1); // ok change - if(argc<3) return 1; + if (argc < 3) + return 1; char fname[300]; char refname[300]; char runtypeC[300]; - sprintf(fname,"%s",argv[1]); - sprintf(refname,"%s",argv[2]); - sprintf(runtypeC,"%s",argv[3]); + sprintf(fname, "%s", argv[1]); + sprintf(refname, "%s", argv[2]); + sprintf(runtypeC, "%s", argv[3]); // std::cout<ls(); - TDirectory *dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str()); - + TDirectory* dir = (TDirectory*)hfile->FindObjectAny(dirnm.c_str()); + // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny - + //====================================================================== // Prepare histograms and plot them to .png files - + // Phi-symmetry for Calibration Group: - - TCanvas *c1x0 = new TCanvas("c1x0","c1x0",300,10,800,700); - - TCanvas *c1x1 = new TCanvas("c1x1","c1x1",100,10,600,700); - - TCanvas *c2x1 = new TCanvas("c2x1","c2x1",200,300,1600,800); - - TCanvas *c3x5 = new TCanvas("c3x5","c3x5",1000,1500); + + TCanvas* c1x0 = new TCanvas("c1x0", "c1x0", 300, 10, 800, 700); + + TCanvas* c1x1 = new TCanvas("c1x1", "c1x1", 100, 10, 600, 700); + + TCanvas* c2x1 = new TCanvas("c2x1", "c2x1", 200, 300, 1600, 800); + + TCanvas* c3x5 = new TCanvas("c3x5", "c3x5", 1000, 1500); // - - - char *str = (char*)alloca(10000); - + + char* str = (char*)alloca(10000); + // before upgrade 2017: // depth: HB depth1,2; HE depth1,2,3; HO depth4; HF depth1,2 // 5 depthes: 0(empty), 1,2,3,4 - + // upgrade 2017: // depth: HB depth1,2; HE depth1,2,3,4,5,6,7; HO depth4; HF depth1,2,3,4 // 8 depthes: 0(empty), 1,2,3,4,5,6,7 - + // upgrade 2021: // depth: HB depth1,2,3,4; HE depth1,2,3,4,5,6,7; HO depth4; HF depth1,2,3,4 // 10 depthes: 0(empty), 1,2,3,4,5,6,7,8,9 - + // Int_t ALLDEPTH = 5; // Int_t ALLDEPTH = 8; Int_t ALLDEPTH = 10; - - int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet - // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet - // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet - int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + + int k_min[5] = {0, 1, 1, 4, 1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + int k_max[5] = {0, 4, 7, 4, 4}; // maximum depth for each subdet /////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - const int nsub = 4; const int neta = 82; const int nphi = 72; - int njeta = neta; int njphi = nphi; - //const int ndepth = 7; + + const int nsub = 4; + const int neta = 82; + const int nphi = 72; + int njeta = neta; + int njphi = nphi; + //const int ndepth = 7; int ndepth; ///////////// ///////////// ////////////////////////// ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: ///////////// ///////////// ////////////////////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: ///////////// ///////////// ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: - - - - - ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start - ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start - ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 4; - double arecosignalHB[ndepth][njeta][njphi]; - double recosignalvarianceHB[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double arecosignalHB[ndepth][njeta][njphi]; + double recosignalvarianceHB[ndepth][njeta][njphi]; // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HB recSignalEnergy - TH2F *recSignalEnergy1HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB1"); - TH2F *recSignalEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + TH2F* recSignalEnergy1HB1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB1"); + TH2F* recSignalEnergy0HB1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); TH2F* recSignalEnergyHB1 = (TH2F*)recSignalEnergy1HB1->Clone("recSignalEnergyHB1"); - recSignalEnergyHB1->Divide(recSignalEnergy1HB1,recSignalEnergy0HB1, 1, 1, "B"); - TH2F *recSignalEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB2"); - TH2F *recSignalEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + recSignalEnergyHB1->Divide(recSignalEnergy1HB1, recSignalEnergy0HB1, 1, 1, "B"); + TH2F* recSignalEnergy1HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB2"); + TH2F* recSignalEnergy0HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); TH2F* recSignalEnergyHB2 = (TH2F*)recSignalEnergy1HB2->Clone("recSignalEnergyHB2"); - recSignalEnergyHB2->Divide(recSignalEnergy1HB2,recSignalEnergy0HB2, 1, 1, "B"); - TH2F *recSignalEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB3"); - TH2F *recSignalEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + recSignalEnergyHB2->Divide(recSignalEnergy1HB2, recSignalEnergy0HB2, 1, 1, "B"); + TH2F* recSignalEnergy1HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB3"); + TH2F* recSignalEnergy0HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); TH2F* recSignalEnergyHB3 = (TH2F*)recSignalEnergy1HB3->Clone("recSignalEnergyHB3"); - recSignalEnergyHB3->Divide(recSignalEnergy1HB3,recSignalEnergy0HB3, 1, 1, "B"); - TH2F *recSignalEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB4"); - TH2F *recSignalEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + recSignalEnergyHB3->Divide(recSignalEnergy1HB3, recSignalEnergy0HB3, 1, 1, "B"); + TH2F* recSignalEnergy1HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB4"); + TH2F* recSignalEnergy0HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); TH2F* recSignalEnergyHB4 = (TH2F*)recSignalEnergy1HB4->Clone("recSignalEnergyHB4"); - recSignalEnergyHB4->Divide(recSignalEnergy1HB4,recSignalEnergy0HB4, 1, 1, "B"); - for(int jeta=0;jetaDivide(recSignalEnergy1HB4, recSignalEnergy0HB4, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { //====================================================================== PHI normalization & put R into massive arecosignalHB //preparation for PHI normalization: - double sumrecosignalHB0=0;int nsumrecosignalHB0=0;double sumrecosignalHB1=0;int nsumrecosignalHB1=0;double sumrecosignalHB2=0;int nsumrecosignalHB2=0;double sumrecosignalHB3=0;int nsumrecosignalHB3=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - arecosignalHB[1][jeta][jphi] = recSignalEnergyHB2->GetBinContent(jeta+1,jphi+1); - arecosignalHB[2][jeta][jphi] = recSignalEnergyHB3->GetBinContent(jeta+1,jphi+1); - arecosignalHB[3][jeta][jphi] = recSignalEnergyHB4->GetBinContent(jeta+1,jphi+1); - if(arecosignalHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += arecosignalHB[0][jeta][jphi];++nsumrecosignalHB0;} - if(arecosignalHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += arecosignalHB[1][jeta][jphi];++nsumrecosignalHB1;} - if(arecosignalHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += arecosignalHB[2][jeta][jphi];++nsumrecosignalHB2;} - if(arecosignalHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += arecosignalHB[3][jeta][jphi];++nsumrecosignalHB3;} - }// phi + double sumrecosignalHB0 = 0; + int nsumrecosignalHB0 = 0; + double sumrecosignalHB1 = 0; + int nsumrecosignalHB1 = 0; + double sumrecosignalHB2 = 0; + int nsumrecosignalHB2 = 0; + double sumrecosignalHB3 = 0; + int nsumrecosignalHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + arecosignalHB[0][jeta][jphi] = recSignalEnergyHB1->GetBinContent(jeta + 1, jphi + 1); + arecosignalHB[1][jeta][jphi] = recSignalEnergyHB2->GetBinContent(jeta + 1, jphi + 1); + arecosignalHB[2][jeta][jphi] = recSignalEnergyHB3->GetBinContent(jeta + 1, jphi + 1); + arecosignalHB[3][jeta][jphi] = recSignalEnergyHB4->GetBinContent(jeta + 1, jphi + 1); + if (arecosignalHB[0][jeta][jphi] > 0.) { + sumrecosignalHB0 += arecosignalHB[0][jeta][jphi]; + ++nsumrecosignalHB0; + } + if (arecosignalHB[1][jeta][jphi] > 0.) { + sumrecosignalHB1 += arecosignalHB[1][jeta][jphi]; + ++nsumrecosignalHB1; + } + if (arecosignalHB[2][jeta][jphi] > 0.) { + sumrecosignalHB2 += arecosignalHB[2][jeta][jphi]; + ++nsumrecosignalHB2; + } + if (arecosignalHB[3][jeta][jphi] > 0.) { + sumrecosignalHB3 += arecosignalHB[3][jeta][jphi]; + ++nsumrecosignalHB3; + } + } // phi // PHI normalization: - for(int jphi=0;jphi 0.) arecosignalHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; - if(arecosignalHB[1][jeta][jphi] > 0.) arecosignalHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; - if(arecosignalHB[2][jeta][jphi] > 0.) arecosignalHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; - if(arecosignalHB[3][jeta][jphi] > 0.) arecosignalHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; - }// phi - }//eta + for (int jphi = 0; jphi < njphi; jphi++) { + if (arecosignalHB[0][jeta][jphi] > 0.) + arecosignalHB[0][jeta][jphi] /= (sumrecosignalHB0 / nsumrecosignalHB0); + if (arecosignalHB[1][jeta][jphi] > 0.) + arecosignalHB[1][jeta][jphi] /= (sumrecosignalHB1 / nsumrecosignalHB1); + if (arecosignalHB[2][jeta][jphi] > 0.) + arecosignalHB[2][jeta][jphi] /= (sumrecosignalHB2 / nsumrecosignalHB2); + if (arecosignalHB[3][jeta][jphi] > 0.) + arecosignalHB[3][jeta][jphi] /= (sumrecosignalHB3 / nsumrecosignalHB3); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthfs //====================================================================== //====================================================================== //cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRrecosignalHB42D = new TH2F("GefzRrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRrecosignalHB42D0 = new TH2F("GefzRrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHB42D = new TH2F("GefzRrecosignalHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRrecosignalHB42D0 = new TH2F("GefzRrecosignalHB42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRrecosignalHB42DF = (TH2F*)GefzRrecosignalHB42D0->Clone("GefzRrecosignalHB42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRrecosignalHB42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHB42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRrecosignalHB42DF->Divide(GefzRrecosignalHB42D,GefzRrecosignalHB42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHB42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHB42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRrecosignalHB42D->Fill(kkk, jphi, ccc1); + GefzRrecosignalHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRrecosignalHB42DF->Divide(GefzRrecosignalHB42D, GefzRrecosignalHB42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB42DF->SetXTitle("_depth #eta \b"); + GefzRrecosignalHB42DF->SetYTitle(" #phi \b"); GefzRrecosignalHB42DF->Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitSignal_HB= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HB"); - energyhitSignal_HB ->SetMarkerStyle(20);energyhitSignal_HB ->SetMarkerSize(0.4);energyhitSignal_HB ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HB ->SetXTitle("energyhitSignal_HB \b");energyhitSignal_HB ->SetMarkerColor(2);energyhitSignal_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HB ->Draw("Error"); + TH1F* energyhitSignal_HB = (TH1F*)dir->FindObjectAny("h_energyhitSignal_HB"); + energyhitSignal_HB->SetMarkerStyle(20); + energyhitSignal_HB->SetMarkerSize(0.4); + energyhitSignal_HB->GetYaxis()->SetLabelSize(0.04); + energyhitSignal_HB->SetXTitle("energyhitSignal_HB \b"); + energyhitSignal_HB->SetMarkerColor(2); + energyhitSignal_HB->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitSignal_HB->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RrecosignalGeneralD2PhiSymmetryHB.png"); c2x1->Clear(); // clean-up - if (GefzRrecosignalHB42D) delete GefzRrecosignalHB42D; - if (GefzRrecosignalHB42D0) delete GefzRrecosignalHB42D0; - if (GefzRrecosignalHB42DF) delete GefzRrecosignalHB42DF; + if (GefzRrecosignalHB42D) + delete GefzRrecosignalHB42D; + if (GefzRrecosignalHB42D0) + delete GefzRrecosignalHB42D0; + if (GefzRrecosignalHB42DF) + delete GefzRrecosignalHB42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRrecosignalHB41D = new TH1F("GefzRrecosignalHB41D","", nphi, 0., 72. ); - TH1F* GefzRrecosignalHB41D0 = new TH1F("GefzRrecosignalHB41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHB41D = new TH1F("GefzRrecosignalHB41D", "", nphi, 0., 72.); + TH1F* GefzRrecosignalHB41D0 = new TH1F("GefzRrecosignalHB41D0", "", nphi, 0., 72.); TH1F* GefzRrecosignalHB41DF = (TH1F*)GefzRrecosignalHB41D0->Clone("GefzRrecosignalHB41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHB41D0 ->Fill(jphi,1.); } - }}} - GefzRrecosignalHB41DF->Divide(GefzRrecosignalHB41D,GefzRrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRrecosignalHB41D->Fill(jphi, ccc1); + GefzRrecosignalHB41D0->Fill(jphi, 1.); + } + } + } + } + GefzRrecosignalHB41DF->Divide( + GefzRrecosignalHB41D, GefzRrecosignalHB41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRrecosignalHB41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHB41DF->SetMarkerStyle(20); GefzRrecosignalHB41DF->SetMarkerSize(1.4); GefzRrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHB41DF->SetXTitle("#phi \b"); GefzRrecosignalHB41DF->SetYTitle(" \b"); GefzRrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHB41DF->SetMarkerColor(4); GefzRrecosignalHB41DF->SetLineColor(4);// GefzRrecosignalHB41DF->SetMinimum(0.8); // GefzRrecosignalHB41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB41DF->SetMarkerStyle(20); + GefzRrecosignalHB41DF->SetMarkerSize(1.4); + GefzRrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); + GefzRrecosignalHB41DF->SetXTitle("#phi \b"); + GefzRrecosignalHB41DF->SetYTitle(" \b"); + GefzRrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRrecosignalHB41DF->SetMarkerColor(4); + GefzRrecosignalHB41DF->SetLineColor( + 4); // GefzRrecosignalHB41DF->SetMinimum(0.8); // GefzRrecosignalHB41DF->SetMaximum(1.000); GefzRrecosignalHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RrecosignalGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (GefzRrecosignalHB41D) delete GefzRrecosignalHB41D; - if (GefzRrecosignalHB41D0) delete GefzRrecosignalHB41D0; - if (GefzRrecosignalHB41DF) delete GefzRrecosignalHB41DF; - //========================================================================================== 4 + if (GefzRrecosignalHB41D) + delete GefzRrecosignalHB41D; + if (GefzRrecosignalHB41D0) + delete GefzRrecosignalHB41D0; + if (GefzRrecosignalHB41DF) + delete GefzRrecosignalHB41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionRecosignal1=1; - TH1F* h2CeffHBpositivedirectionRecosignal1 = new TH1F("h2CeffHBpositivedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBpositivedirectionRecosignal1 = "<SetMarkerColor(2);HBpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal1 == 1) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 2) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 3) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 4) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 5) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 6) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 7) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 8) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 9) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==10) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==11) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==12) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==13) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==14) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==15) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==16) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionRecosignal1->Draw("Error"); - kcountHBpositivedirectionRecosignal1++; - if(kcountHBpositivedirectionRecosignal1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBpositivedirectionRecosignal1 = (TH1F*)h2CeffHBpositivedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBpositivedirectionRecosignal1 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal1 == 1) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 2) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 3) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 4) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 5) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 6) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 7) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 8) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 9) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 10) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 11) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 12) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 13) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 14) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 15) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 16) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignal1->Draw("Error"); + kcountHBpositivedirectionRecosignal1++; + if (kcountHBpositivedirectionRecosignal1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal1) delete h2CeffHBpositivedirectionRecosignal1; - + if (h2CeffHBpositivedirectionRecosignal1) + delete h2CeffHBpositivedirectionRecosignal1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignal2=1; - TH1F* h2CeffHBpositivedirectionRecosignal2 = new TH1F("h2CeffHBpositivedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBpositivedirectionRecosignal2 = "<SetMarkerColor(2);HBpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal2 == 1) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 2) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 3) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 4) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 5) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 6) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 7) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 8) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 9) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==10) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==11) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==12) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==13) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==14) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==15) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==16) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionRecosignal2->Draw("Error"); - kcountHBpositivedirectionRecosignal2++; - if(kcountHBpositivedirectionRecosignal2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal2 = 1; + TH1F* h2CeffHBpositivedirectionRecosignal2 = new TH1F("h2CeffHBpositivedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBpositivedirectionRecosignal2 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal2 == 1) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 2) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 3) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 4) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 5) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 6) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 7) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 8) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 9) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 10) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 11) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 12) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 13) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 14) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 15) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 16) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignal2->Draw("Error"); + kcountHBpositivedirectionRecosignal2++; + if (kcountHBpositivedirectionRecosignal2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal2) delete h2CeffHBpositivedirectionRecosignal2; - //========================================================================================== 6 + if (h2CeffHBpositivedirectionRecosignal2) + delete h2CeffHBpositivedirectionRecosignal2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignal3=1; - TH1F* h2CeffHBpositivedirectionRecosignal3 = new TH1F("h2CeffHBpositivedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBpositivedirectionRecosignal3 = "<SetMarkerColor(2);HBpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal3 == 1) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 2) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 3) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 4) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 5) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 6) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 7) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 8) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 9) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==10) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==11) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==12) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==13) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==14) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==15) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==16) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionRecosignal3->Draw("Error"); - kcountHBpositivedirectionRecosignal3++; - if(kcountHBpositivedirectionRecosignal3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal3 = 1; + TH1F* h2CeffHBpositivedirectionRecosignal3 = new TH1F("h2CeffHBpositivedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBpositivedirectionRecosignal3 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal3 == 1) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 2) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 3) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 4) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 5) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 6) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 7) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 8) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 9) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 10) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 11) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 12) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 13) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 14) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 15) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 16) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignal3->Draw("Error"); + kcountHBpositivedirectionRecosignal3++; + if (kcountHBpositivedirectionRecosignal3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal3) delete h2CeffHBpositivedirectionRecosignal3; - //========================================================================================== 7 + if (h2CeffHBpositivedirectionRecosignal3) + delete h2CeffHBpositivedirectionRecosignal3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignal4=1; - TH1F* h2CeffHBpositivedirectionRecosignal4 = new TH1F("h2CeffHBpositivedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBpositivedirectionRecosignal4 = "<SetMarkerColor(2);HBpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal4 == 1) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 2) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 3) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 4) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 5) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 6) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 7) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 8) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 9) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==10) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==11) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==12) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==13) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==14) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==15) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==16) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionRecosignal4->Draw("Error"); - kcountHBpositivedirectionRecosignal4++; - if(kcountHBpositivedirectionRecosignal4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal4 = 1; + TH1F* h2CeffHBpositivedirectionRecosignal4 = new TH1F("h2CeffHBpositivedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBpositivedirectionRecosignal4 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal4 == 1) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 2) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 3) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 4) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 5) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 6) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 7) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 8) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 9) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 10) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 11) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 12) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 13) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 14) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 15) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 16) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignal4->Draw("Error"); + kcountHBpositivedirectionRecosignal4++; + if (kcountHBpositivedirectionRecosignal4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal4) delete h2CeffHBpositivedirectionRecosignal4; + if (h2CeffHBpositivedirectionRecosignal4) + delete h2CeffHBpositivedirectionRecosignal4; - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionRecosignal1=1; - TH1F* h2CeffHBnegativedirectionRecosignal1 = new TH1F("h2CeffHBnegativedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBnegativedirectionRecosignal1 = "<SetMarkerColor(2);HBnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal1 == 1) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 2) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 3) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 4) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 5) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 6) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 7) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 8) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 9) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==10) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==11) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==12) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==13) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==14) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==15) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==16) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionRecosignal1->Draw("Error"); - kcountHBnegativedirectionRecosignal1++; - if(kcountHBnegativedirectionRecosignal1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBnegativedirectionRecosignal1 = (TH1F*)h2CeffHBnegativedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBnegativedirectionRecosignal1 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal1 == 1) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 2) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 3) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 4) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 5) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 6) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 7) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 8) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 9) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 10) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 11) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 12) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 13) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 14) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 15) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 16) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignal1->Draw("Error"); + kcountHBnegativedirectionRecosignal1++; + if (kcountHBnegativedirectionRecosignal1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal1) delete h2CeffHBnegativedirectionRecosignal1; - + if (h2CeffHBnegativedirectionRecosignal1) + delete h2CeffHBnegativedirectionRecosignal1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignal2=1; - TH1F* h2CeffHBnegativedirectionRecosignal2 = new TH1F("h2CeffHBnegativedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBnegativedirectionRecosignal2 = "<SetMarkerColor(2);HBnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal2 == 1) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 2) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 3) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 4) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 5) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 6) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 7) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 8) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 9) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==10) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==11) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==12) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==13) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==14) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==15) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==16) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); - HBnegativedirectionRecosignal2->Draw("Error"); - kcountHBnegativedirectionRecosignal2++; - if(kcountHBnegativedirectionRecosignal2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal2 = 1; + TH1F* h2CeffHBnegativedirectionRecosignal2 = new TH1F("h2CeffHBnegativedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBnegativedirectionRecosignal2 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal2 == 1) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 2) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 3) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 4) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 5) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 6) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 7) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 8) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 9) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 10) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 11) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 12) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 13) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 14) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 15) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 16) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionRecosignal2->Draw("Error"); + kcountHBnegativedirectionRecosignal2++; + if (kcountHBnegativedirectionRecosignal2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal2) delete h2CeffHBnegativedirectionRecosignal2; - //========================================================================================== 1116 + if (h2CeffHBnegativedirectionRecosignal2) + delete h2CeffHBnegativedirectionRecosignal2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignal3=1; - TH1F* h2CeffHBnegativedirectionRecosignal3 = new TH1F("h2CeffHBnegativedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBnegativedirectionRecosignal3 = "<SetMarkerColor(2);HBnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal3 == 1) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 2) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 3) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 4) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 5) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 6) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 7) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 8) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 9) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==10) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==11) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==12) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==13) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==14) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==15) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==16) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); - - HBnegativedirectionRecosignal3->Draw("Error"); - kcountHBnegativedirectionRecosignal3++; - if(kcountHBnegativedirectionRecosignal3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal3 = 1; + TH1F* h2CeffHBnegativedirectionRecosignal3 = new TH1F("h2CeffHBnegativedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBnegativedirectionRecosignal3 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal3 == 1) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 2) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 3) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 4) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 5) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 6) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 7) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 8) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 9) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 10) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 11) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 12) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 13) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 14) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 15) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 16) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionRecosignal3->Draw("Error"); + kcountHBnegativedirectionRecosignal3++; + if (kcountHBnegativedirectionRecosignal3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal3) delete h2CeffHBnegativedirectionRecosignal3; - //========================================================================================== 1117 + if (h2CeffHBnegativedirectionRecosignal3) + delete h2CeffHBnegativedirectionRecosignal3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignal4=1; - TH1F* h2CeffHBnegativedirectionRecosignal4 = new TH1F("h2CeffHBnegativedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBnegativedirectionRecosignal4 = "<SetMarkerColor(2);HBnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal4 == 1) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 2) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 3) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 4) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 5) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 6) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 7) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 8) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 9) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==10) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==11) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==12) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==13) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==14) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==15) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==16) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); - HBnegativedirectionRecosignal4->Draw("Error"); - kcountHBnegativedirectionRecosignal4++; - if(kcountHBnegativedirectionRecosignal4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal4 = 1; + TH1F* h2CeffHBnegativedirectionRecosignal4 = new TH1F("h2CeffHBnegativedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBnegativedirectionRecosignal4 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal4 == 1) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 2) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 3) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 4) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 5) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 6) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 7) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 8) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 9) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 10) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 11) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 12) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 13) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 14) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 15) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 16) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionRecosignal4->Draw("Error"); + kcountHBnegativedirectionRecosignal4++; + if (kcountHBnegativedirectionRecosignal4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal4) delete h2CeffHBnegativedirectionRecosignal4; + if (h2CeffHBnegativedirectionRecosignal4) + delete h2CeffHBnegativedirectionRecosignal4; //====================================================================================================================== //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HB1"); - TH2F *recosignalVariance0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HB1"); + TH2F* recosignalVariance0HB1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); TH2F* recosignalVarianceHB1 = (TH2F*)recosignalVariance1HB1->Clone("recosignalVarianceHB1"); - recosignalVarianceHB1->Divide(recosignalVariance1HB1,recosignalVariance0HB1, 1, 1, "B"); - TH2F *recosignalVariance1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB2"); - TH2F *recosignalVariance0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + recosignalVarianceHB1->Divide(recosignalVariance1HB1, recosignalVariance0HB1, 1, 1, "B"); + TH2F* recosignalVariance1HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB2"); + TH2F* recosignalVariance0HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); TH2F* recosignalVarianceHB2 = (TH2F*)recosignalVariance1HB2->Clone("recosignalVarianceHB2"); - recosignalVarianceHB2->Divide(recosignalVariance1HB2,recosignalVariance0HB2, 1, 1, "B"); - TH2F *recosignalVariance1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB3"); - TH2F *recosignalVariance0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + recosignalVarianceHB2->Divide(recosignalVariance1HB2, recosignalVariance0HB2, 1, 1, "B"); + TH2F* recosignalVariance1HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB3"); + TH2F* recosignalVariance0HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); TH2F* recosignalVarianceHB3 = (TH2F*)recosignalVariance1HB3->Clone("recosignalVarianceHB3"); - recosignalVarianceHB3->Divide(recosignalVariance1HB3,recosignalVariance0HB3, 1, 1, "B"); - TH2F *recosignalVariance1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB4"); - TH2F *recosignalVariance0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + recosignalVarianceHB3->Divide(recosignalVariance1HB3, recosignalVariance0HB3, 1, 1, "B"); + TH2F* recosignalVariance1HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB4"); + TH2F* recosignalVariance0HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); TH2F* recosignalVarianceHB4 = (TH2F*)recosignalVariance1HB4->Clone("recosignalVarianceHB4"); - recosignalVarianceHB4->Divide(recosignalVariance1HB4,recosignalVariance0HB4, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHB - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - recosignalvarianceHB[1][jeta][jphi] = recosignalVarianceHB2->GetBinContent(jeta+1,jphi+1); - recosignalvarianceHB[2][jeta][jphi] = recosignalVarianceHB3->GetBinContent(jeta+1,jphi+1); - recosignalvarianceHB[3][jeta][jphi] = recosignalVarianceHB4->GetBinContent(jeta+1,jphi+1); - if(recosignalvarianceHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += recosignalvarianceHB[0][jeta][jphi];++nsumrecosignalHB0;} - if(recosignalvarianceHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += recosignalvarianceHB[1][jeta][jphi];++nsumrecosignalHB1;} - if(recosignalvarianceHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += recosignalvarianceHB[2][jeta][jphi];++nsumrecosignalHB2;} - if(recosignalvarianceHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += recosignalvarianceHB[3][jeta][jphi];++nsumrecosignalHB3;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) recosignalvarianceHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; - if(recosignalvarianceHB[1][jeta][jphi] > 0.) recosignalvarianceHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; - if(recosignalvarianceHB[2][jeta][jphi] > 0.) recosignalvarianceHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; - if(recosignalvarianceHB[3][jeta][jphi] > 0.) recosignalvarianceHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; - }// phi - // recosignalvarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive recosignalvarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumrecosignalHB0 = 0; + int nsumrecosignalHB0 = 0; + double sumrecosignalHB1 = 0; + int nsumrecosignalHB1 = 0; + double sumrecosignalHB2 = 0; + int nsumrecosignalHB2 = 0; + double sumrecosignalHB3 = 0; + int nsumrecosignalHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + recosignalvarianceHB[0][jeta][jphi] = recosignalVarianceHB1->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHB[1][jeta][jphi] = recosignalVarianceHB2->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHB[2][jeta][jphi] = recosignalVarianceHB3->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHB[3][jeta][jphi] = recosignalVarianceHB4->GetBinContent(jeta + 1, jphi + 1); + if (recosignalvarianceHB[0][jeta][jphi] > 0.) { + sumrecosignalHB0 += recosignalvarianceHB[0][jeta][jphi]; + ++nsumrecosignalHB0; + } + if (recosignalvarianceHB[1][jeta][jphi] > 0.) { + sumrecosignalHB1 += recosignalvarianceHB[1][jeta][jphi]; + ++nsumrecosignalHB1; + } + if (recosignalvarianceHB[2][jeta][jphi] > 0.) { + sumrecosignalHB2 += recosignalvarianceHB[2][jeta][jphi]; + ++nsumrecosignalHB2; + } + if (recosignalvarianceHB[3][jeta][jphi] > 0.) { + sumrecosignalHB3 += recosignalvarianceHB[3][jeta][jphi]; + ++nsumrecosignalHB3; } - //cout<<" Vaiance: DONE*****" < 0.) + recosignalvarianceHB[0][jeta][jphi] /= (sumrecosignalHB0 / nsumrecosignalHB0); + if (recosignalvarianceHB[1][jeta][jphi] > 0.) + recosignalvarianceHB[1][jeta][jphi] /= (sumrecosignalHB1 / nsumrecosignalHB1); + if (recosignalvarianceHB[2][jeta][jphi] > 0.) + recosignalvarianceHB[2][jeta][jphi] /= (sumrecosignalHB2 / nsumrecosignalHB2); + if (recosignalvarianceHB[3][jeta][jphi] > 0.) + recosignalvarianceHB[3][jeta][jphi] /= (sumrecosignalHB3 / nsumrecosignalHB3); + } // phi + // recosignalvarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDrecosignalHB42D = new TH2F("DefzDrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHB42D0 = new TH2F("DefzDrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHB42DF = (TH2F*)DefzDrecosignalHB42D0->Clone("DefzDrecosignalHB42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(arecosignalHB[i][jeta][jphi]>0.) {DefzDrecosignalHB42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHB42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDrecosignalHB42DF->Divide(DefzDrecosignalHB42D,DefzDrecosignalHB42D0, 1, 1, "B");// average A - // DefzDrecosignalHB1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHB42DF->SetMarkerStyle(20); DefzDrecosignalHB42DF->SetMarkerSize(0.4); DefzDrecosignalHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHB42DF->SetYTitle(" #phi \b"); DefzDrecosignalHB42DF->SetZTitle("_depth \b"); DefzDrecosignalHB42DF->SetMarkerColor(2); DefzDrecosignalHB42DF->SetLineColor(0); // DefzDrecosignalHB42DF->SetMaximum(1.000); // DefzDrecosignalHB42DF->SetMinimum(1.0); - DefzDrecosignalHB42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DrecosignalGeneralD2PhiSymmetryHB.png"); - c1x0->Clear(); - // clean-up - if (DefzDrecosignalHB42D) delete DefzDrecosignalHB42D; - if (DefzDrecosignalHB42D0) delete DefzDrecosignalHB42D0; - if (DefzDrecosignalHB42DF) delete DefzDrecosignalHB42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDrecosignalHB42D = new TH2F("DefzDrecosignalHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHB42D0 = new TH2F("DefzDrecosignalHB42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHB42DF = (TH2F*)DefzDrecosignalHB42D0->Clone("DefzDrecosignalHB42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (arecosignalHB[i][jeta][jphi] > 0.) { + DefzDrecosignalHB42D->Fill(kkk, jphi, ccc1); + DefzDrecosignalHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDrecosignalHB42DF->Divide(DefzDrecosignalHB42D, DefzDrecosignalHB42D0, 1, 1, "B"); // average A + // DefzDrecosignalHB1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB42DF->SetMarkerStyle(20); + DefzDrecosignalHB42DF->SetMarkerSize(0.4); + DefzDrecosignalHB42DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHB42DF->SetXTitle("_depth #eta \b"); + DefzDrecosignalHB42DF->SetYTitle(" #phi \b"); + DefzDrecosignalHB42DF->SetZTitle("_depth \b"); + DefzDrecosignalHB42DF->SetMarkerColor(2); + DefzDrecosignalHB42DF->SetLineColor( + 0); // DefzDrecosignalHB42DF->SetMaximum(1.000); // DefzDrecosignalHB42DF->SetMinimum(1.0); + DefzDrecosignalHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHB42D) + delete DefzDrecosignalHB42D; + if (DefzDrecosignalHB42D0) + delete DefzDrecosignalHB42D0; + if (DefzDrecosignalHB42DF) + delete DefzDrecosignalHB42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDrecosignalHB41D = new TH1F("DefzDrecosignalHB41D","", nphi, 0., 72. ); - TH1F* DefzDrecosignalHB41D0 = new TH1F("DefzDrecosignalHB41D0","",nphi, 0., 72. ); - TH1F* DefzDrecosignalHB41DF = (TH1F*)DefzDrecosignalHB41D0->Clone("DefzDrecosignalHB41DF"); - - for (int jphi=0;jphi0.) {DefzDrecosignalHB41D ->Fill(jphi,ccc1); DefzDrecosignalHB41D0 ->Fill(jphi,1.); } - }}} - // DefzDrecosignalHB41D->Sumw2();DefzDrecosignalHB41D0->Sumw2(); - - DefzDrecosignalHB41DF->Divide(DefzDrecosignalHB41D,DefzDrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDrecosignalHB41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHB41DF->SetMarkerStyle(20); DefzDrecosignalHB41DF->SetMarkerSize(1.4); DefzDrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB41DF->SetXTitle("#phi \b"); DefzDrecosignalHB41DF->SetYTitle(" \b"); DefzDrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHB41DF->SetMarkerColor(4); DefzDrecosignalHB41DF->SetLineColor(4);// DefzDrecosignalHB41DF->SetMinimum(0.8); DefzDrecosignalHB41DF->SetMinimum(-0.015); - DefzDrecosignalHB41DF->Draw("Error"); + TH1F* DefzDrecosignalHB41D = new TH1F("DefzDrecosignalHB41D", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHB41D0 = new TH1F("DefzDrecosignalHB41D0", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHB41DF = (TH1F*)DefzDrecosignalHB41D0->Clone("DefzDrecosignalHB41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + DefzDrecosignalHB41D->Fill(jphi, ccc1); + DefzDrecosignalHB41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDrecosignalHB41D->Sumw2();DefzDrecosignalHB41D0->Sumw2(); + + DefzDrecosignalHB41DF->Divide( + DefzDrecosignalHB41D, DefzDrecosignalHB41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDrecosignalHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB41DF->SetMarkerStyle(20); + DefzDrecosignalHB41DF->SetMarkerSize(1.4); + DefzDrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHB41DF->SetXTitle("#phi \b"); + DefzDrecosignalHB41DF->SetYTitle(" \b"); + DefzDrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDrecosignalHB41DF->SetMarkerColor(4); + DefzDrecosignalHB41DF->SetLineColor( + 4); // DefzDrecosignalHB41DF->SetMinimum(0.8); DefzDrecosignalHB41DF->SetMinimum(-0.015); + DefzDrecosignalHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DrecosignalGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (DefzDrecosignalHB41D) delete DefzDrecosignalHB41D; - if (DefzDrecosignalHB41D0) delete DefzDrecosignalHB41D0; - if (DefzDrecosignalHB41DF) delete DefzDrecosignalHB41DF; + if (DefzDrecosignalHB41D) + delete DefzDrecosignalHB41D; + if (DefzDrecosignalHB41D0) + delete DefzDrecosignalHB41D0; + if (DefzDrecosignalHB41DF) + delete DefzDrecosignalHB41DF; - //========================================================================================== 14 + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD1=1; - TH1F* h2CeffHBpositivedirectionRecosignalD1 = new TH1F("h2CeffHBpositivedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD1 == 1) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 2) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 3) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 4) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 5) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 6) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 7) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 8) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 9) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==10) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==11) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==12) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==13) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==14) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==15) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==16) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionRecosignalD1->Draw("Error"); - kcountHBpositivedirectionRecosignalD1++; - if(kcountHBpositivedirectionRecosignalD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD1 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD1 = new TH1F("h2CeffHBpositivedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBpositivedirectionRecosignalD1 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD1 == 1) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 2) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 3) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 4) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 5) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 6) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 7) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 8) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 9) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 10) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 11) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 12) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 13) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 14) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 15) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 16) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignalD1->Draw("Error"); + kcountHBpositivedirectionRecosignalD1++; + if (kcountHBpositivedirectionRecosignalD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD1) delete h2CeffHBpositivedirectionRecosignalD1; - //========================================================================================== 15 + if (h2CeffHBpositivedirectionRecosignalD1) + delete h2CeffHBpositivedirectionRecosignalD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD2=1; - TH1F* h2CeffHBpositivedirectionRecosignalD2 = new TH1F("h2CeffHBpositivedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD2 == 1) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 2) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 3) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 4) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 5) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 6) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 7) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 8) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 9) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==10) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==11) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==12) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==13) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==14) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==15) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==16) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionRecosignalD2->Draw("Error"); - kcountHBpositivedirectionRecosignalD2++; - if(kcountHBpositivedirectionRecosignalD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD2 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD2 = new TH1F("h2CeffHBpositivedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBpositivedirectionRecosignalD2 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD2 == 1) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 2) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 3) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 4) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 5) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 6) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 7) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 8) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 9) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 10) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 11) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 12) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 13) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 14) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 15) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 16) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignalD2->Draw("Error"); + kcountHBpositivedirectionRecosignalD2++; + if (kcountHBpositivedirectionRecosignalD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD2) delete h2CeffHBpositivedirectionRecosignalD2; - //========================================================================================== 16 + if (h2CeffHBpositivedirectionRecosignalD2) + delete h2CeffHBpositivedirectionRecosignalD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD3=1; - TH1F* h2CeffHBpositivedirectionRecosignalD3 = new TH1F("h2CeffHBpositivedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD3 == 1) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 2) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 3) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 4) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 5) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 6) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 7) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 8) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 9) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==10) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==11) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==12) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==13) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==14) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==15) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==16) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionRecosignalD3->Draw("Error"); - kcountHBpositivedirectionRecosignalD3++; - if(kcountHBpositivedirectionRecosignalD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD3 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD3 = new TH1F("h2CeffHBpositivedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBpositivedirectionRecosignalD3 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD3 == 1) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 2) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 3) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 4) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 5) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 6) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 7) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 8) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 9) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 10) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 11) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 12) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 13) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 14) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 15) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 16) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignalD3->Draw("Error"); + kcountHBpositivedirectionRecosignalD3++; + if (kcountHBpositivedirectionRecosignalD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD3) delete h2CeffHBpositivedirectionRecosignalD3; - //========================================================================================== 17 + if (h2CeffHBpositivedirectionRecosignalD3) + delete h2CeffHBpositivedirectionRecosignalD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD4=1; - TH1F* h2CeffHBpositivedirectionRecosignalD4 = new TH1F("h2CeffHBpositivedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD4 == 1) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 2) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 3) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 4) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 5) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 6) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 7) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 8) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 9) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==10) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==11) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==12) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==13) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==14) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==15) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==16) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionRecosignalD4->Draw("Error"); - kcountHBpositivedirectionRecosignalD4++; - if(kcountHBpositivedirectionRecosignalD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD4 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD4 = new TH1F("h2CeffHBpositivedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBpositivedirectionRecosignalD4 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD4 == 1) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 2) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 3) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 4) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 5) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 6) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 7) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 8) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 9) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 10) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 11) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 12) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 13) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 14) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 15) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 16) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignalD4->Draw("Error"); + kcountHBpositivedirectionRecosignalD4++; + if (kcountHBpositivedirectionRecosignalD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD4) delete h2CeffHBpositivedirectionRecosignalD4; + if (h2CeffHBpositivedirectionRecosignalD4) + delete h2CeffHBpositivedirectionRecosignalD4; - - //========================================================================================== 22214 + //========================================================================================== 22214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD1=1; - TH1F* h2CeffHBnegativedirectionRecosignalD1 = new TH1F("h2CeffHBnegativedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD1 == 1) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 2) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 3) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 4) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 5) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 6) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 7) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 8) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 9) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==10) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==11) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==12) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==13) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==14) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==15) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==16) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionRecosignalD1->Draw("Error"); - kcountHBnegativedirectionRecosignalD1++; - if(kcountHBnegativedirectionRecosignalD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD1 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD1 = new TH1F("h2CeffHBnegativedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBnegativedirectionRecosignalD1 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD1 == 1) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 2) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 3) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 4) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 5) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 6) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 7) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 8) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 9) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 10) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 11) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 12) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 13) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 14) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 15) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 16) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignalD1->Draw("Error"); + kcountHBnegativedirectionRecosignalD1++; + if (kcountHBnegativedirectionRecosignalD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD1) delete h2CeffHBnegativedirectionRecosignalD1; - //========================================================================================== 22215 + if (h2CeffHBnegativedirectionRecosignalD1) + delete h2CeffHBnegativedirectionRecosignalD1; + //========================================================================================== 22215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD2=1; - TH1F* h2CeffHBnegativedirectionRecosignalD2 = new TH1F("h2CeffHBnegativedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD2 == 1) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 2) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 3) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 4) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 5) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 6) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 7) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 8) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-9 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 9) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-8 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==10) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-7 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==11) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-6 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==12) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-5 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==13) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-4 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==14) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-3 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==15) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-2 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==16) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-1 ; depth = 2 \b"); - HBnegativedirectionRecosignalD2->Draw("Error"); - kcountHBnegativedirectionRecosignalD2++; - if(kcountHBnegativedirectionRecosignalD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD2 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD2 = new TH1F("h2CeffHBnegativedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBnegativedirectionRecosignalD2 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD2 == 1) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 2) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 3) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 4) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 5) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 6) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 7) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 8) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-9 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 9) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-8 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 10) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-7 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 11) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-6 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 12) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-5 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 13) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-4 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 14) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-3 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 15) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-2 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 16) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-1 ; depth = 2 \b"); + HBnegativedirectionRecosignalD2->Draw("Error"); + kcountHBnegativedirectionRecosignalD2++; + if (kcountHBnegativedirectionRecosignalD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD2) delete h2CeffHBnegativedirectionRecosignalD2; - //========================================================================================== 22216 + if (h2CeffHBnegativedirectionRecosignalD2) + delete h2CeffHBnegativedirectionRecosignalD2; + //========================================================================================== 22216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD3=1; - TH1F* h2CeffHBnegativedirectionRecosignalD3 = new TH1F("h2CeffHBnegativedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD3 == 1) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 2) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 3) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 4) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 5) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 6) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 7) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 8) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-9 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 9) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-8 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==10) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-7 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==11) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-6 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==12) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-5 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==13) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-4 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==14) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-3 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==15) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-2 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==16) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-1 ; depth = 3 \b"); - HBnegativedirectionRecosignalD3->Draw("Error"); - kcountHBnegativedirectionRecosignalD3++; - if(kcountHBnegativedirectionRecosignalD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD3 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD3 = new TH1F("h2CeffHBnegativedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBnegativedirectionRecosignalD3 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD3 == 1) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 2) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 3) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 4) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 5) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 6) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 7) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 8) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-9 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 9) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-8 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 10) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-7 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 11) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-6 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 12) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-5 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 13) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-4 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 14) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-3 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 15) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-2 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 16) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-1 ; depth = 3 \b"); + HBnegativedirectionRecosignalD3->Draw("Error"); + kcountHBnegativedirectionRecosignalD3++; + if (kcountHBnegativedirectionRecosignalD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD3) delete h2CeffHBnegativedirectionRecosignalD3; + if (h2CeffHBnegativedirectionRecosignalD3) + delete h2CeffHBnegativedirectionRecosignalD3; //========================================================================================== 22217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD4=1; - TH1F* h2CeffHBnegativedirectionRecosignalD4 = new TH1F("h2CeffHBnegativedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD4 == 1) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 2) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 3) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 4) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 5) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 6) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 7) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 8) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-9 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 9) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-8 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==10) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-7 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==11) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-6 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==12) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-5 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==13) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-4 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==14) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-3 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==15) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-2 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==16) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-1 ; depth = 4 \b"); - HBnegativedirectionRecosignalD4->Draw("Error"); - kcountHBnegativedirectionRecosignalD4++; - if(kcountHBnegativedirectionRecosignalD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD4 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD4 = new TH1F("h2CeffHBnegativedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBnegativedirectionRecosignalD4 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD4 == 1) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 2) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 3) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 4) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 5) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 6) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 7) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 8) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-9 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 9) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-8 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 10) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-7 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 11) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-6 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 12) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-5 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 13) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-4 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 14) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-3 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 15) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-2 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 16) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-1 ; depth = 4 \b"); + HBnegativedirectionRecosignalD4->Draw("Error"); + kcountHBnegativedirectionRecosignalD4++; + if (kcountHBnegativedirectionRecosignalD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD4) delete h2CeffHBnegativedirectionRecosignalD4; - - - + if (h2CeffHBnegativedirectionRecosignalD4) + delete h2CeffHBnegativedirectionRecosignalD4; //===================================================================== END of Recosignal HB for phi-symmetry //===================================================================== END of Recosignal HB for phi-symmetry //===================================================================== END of Recosignal HB for phi-symmetry - - - - - - //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[3]; - ndepth = 7; - // const int ndepth = 7; - double arecosignalhe[ndepth][njeta][njphi]; - double recosignalvariancehe[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double arecosignalhe[ndepth][njeta][njphi]; + double recosignalvariancehe[ndepth][njeta][njphi]; // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HE - TH2F *recSignalEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE1"); - TH2F *recSignalEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + TH2F* recSignalEnergy1HE1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE1"); + TH2F* recSignalEnergy0HE1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); TH2F* recSignalEnergyHE1 = (TH2F*)recSignalEnergy1HE1->Clone("recSignalEnergyHE1"); - recSignalEnergyHE1->Divide(recSignalEnergy1HE1,recSignalEnergy0HE1, 1, 1, "B"); - TH2F *recSignalEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE2"); - TH2F *recSignalEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + recSignalEnergyHE1->Divide(recSignalEnergy1HE1, recSignalEnergy0HE1, 1, 1, "B"); + TH2F* recSignalEnergy1HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE2"); + TH2F* recSignalEnergy0HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); TH2F* recSignalEnergyHE2 = (TH2F*)recSignalEnergy1HE2->Clone("recSignalEnergyHE2"); - recSignalEnergyHE2->Divide(recSignalEnergy1HE2,recSignalEnergy0HE2, 1, 1, "B"); - TH2F *recSignalEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE3"); - TH2F *recSignalEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + recSignalEnergyHE2->Divide(recSignalEnergy1HE2, recSignalEnergy0HE2, 1, 1, "B"); + TH2F* recSignalEnergy1HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE3"); + TH2F* recSignalEnergy0HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); TH2F* recSignalEnergyHE3 = (TH2F*)recSignalEnergy1HE3->Clone("recSignalEnergyHE3"); - recSignalEnergyHE3->Divide(recSignalEnergy1HE3,recSignalEnergy0HE3, 1, 1, "B"); - TH2F *recSignalEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE4"); - TH2F *recSignalEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + recSignalEnergyHE3->Divide(recSignalEnergy1HE3, recSignalEnergy0HE3, 1, 1, "B"); + TH2F* recSignalEnergy1HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE4"); + TH2F* recSignalEnergy0HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); TH2F* recSignalEnergyHE4 = (TH2F*)recSignalEnergy1HE4->Clone("recSignalEnergyHE4"); - recSignalEnergyHE4->Divide(recSignalEnergy1HE4,recSignalEnergy0HE4, 1, 1, "B"); - TH2F *recSignalEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE5"); - TH2F *recSignalEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + recSignalEnergyHE4->Divide(recSignalEnergy1HE4, recSignalEnergy0HE4, 1, 1, "B"); + TH2F* recSignalEnergy1HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE5"); + TH2F* recSignalEnergy0HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); TH2F* recSignalEnergyHE5 = (TH2F*)recSignalEnergy1HE5->Clone("recSignalEnergyHE5"); - recSignalEnergyHE5->Divide(recSignalEnergy1HE5,recSignalEnergy0HE5, 1, 1, "B"); - TH2F *recSignalEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE6"); - TH2F *recSignalEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + recSignalEnergyHE5->Divide(recSignalEnergy1HE5, recSignalEnergy0HE5, 1, 1, "B"); + TH2F* recSignalEnergy1HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE6"); + TH2F* recSignalEnergy0HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); TH2F* recSignalEnergyHE6 = (TH2F*)recSignalEnergy1HE6->Clone("recSignalEnergyHE6"); - recSignalEnergyHE6->Divide(recSignalEnergy1HE6,recSignalEnergy0HE6, 1, 1, "B"); - TH2F *recSignalEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE7"); - TH2F *recSignalEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + recSignalEnergyHE6->Divide(recSignalEnergy1HE6, recSignalEnergy0HE6, 1, 1, "B"); + TH2F* recSignalEnergy1HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE7"); + TH2F* recSignalEnergy0HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); TH2F* recSignalEnergyHE7 = (TH2F*)recSignalEnergy1HE7->Clone("recSignalEnergyHE7"); - recSignalEnergyHE7->Divide(recSignalEnergy1HE7,recSignalEnergy0HE7, 1, 1, "B"); - for(int jeta=0;jetaDivide(recSignalEnergy1HE7, recSignalEnergy0HE7, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { //====================================================================== PHI normalization & put R into massive arecosignalhe - //preparation for PHI normalization: - double sumrecosignalHE0=0;int nsumrecosignalHE0=0;double sumrecosignalHE1=0;int nsumrecosignalHE1=0;double sumrecosignalHE2=0;int nsumrecosignalHE2=0;double sumrecosignalHE3=0;int nsumrecosignalHE3=0; - double sumrecosignalHE4=0;int nsumrecosignalHE4=0;double sumrecosignalHE5=0;int nsumrecosignalHE5=0;double sumrecosignalHE6=0;int nsumrecosignalHE6=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - arecosignalhe[1][jeta][jphi] = recSignalEnergyHE2->GetBinContent(jeta+1,jphi+1); - arecosignalhe[2][jeta][jphi] = recSignalEnergyHE3->GetBinContent(jeta+1,jphi+1); - arecosignalhe[3][jeta][jphi] = recSignalEnergyHE4->GetBinContent(jeta+1,jphi+1); - arecosignalhe[4][jeta][jphi] = recSignalEnergyHE5->GetBinContent(jeta+1,jphi+1); - arecosignalhe[5][jeta][jphi] = recSignalEnergyHE6->GetBinContent(jeta+1,jphi+1); - arecosignalhe[6][jeta][jphi] = recSignalEnergyHE7->GetBinContent(jeta+1,jphi+1); - if(arecosignalhe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += arecosignalhe[0][jeta][jphi];++nsumrecosignalHE0;} - if(arecosignalhe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += arecosignalhe[1][jeta][jphi];++nsumrecosignalHE1;} - if(arecosignalhe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += arecosignalhe[2][jeta][jphi];++nsumrecosignalHE2;} - if(arecosignalhe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += arecosignalhe[3][jeta][jphi];++nsumrecosignalHE3;} - if(arecosignalhe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += arecosignalhe[4][jeta][jphi];++nsumrecosignalHE4;} - if(arecosignalhe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += arecosignalhe[5][jeta][jphi];++nsumrecosignalHE5;} - if(arecosignalhe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += arecosignalhe[6][jeta][jphi];++nsumrecosignalHE6;} - }// phi - // PHI normalization: - for(int jphi=0;jphi 0.) arecosignalhe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; - if(arecosignalhe[1][jeta][jphi] > 0.) arecosignalhe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; - if(arecosignalhe[2][jeta][jphi] > 0.) arecosignalhe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; - if(arecosignalhe[3][jeta][jphi] > 0.) arecosignalhe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; - if(arecosignalhe[4][jeta][jphi] > 0.) arecosignalhe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; - if(arecosignalhe[5][jeta][jphi] > 0.) arecosignalhe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; - if(arecosignalhe[6][jeta][jphi] > 0.) arecosignalhe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; - }// phi - }//eta + //preparation for PHI normalization: + double sumrecosignalHE0 = 0; + int nsumrecosignalHE0 = 0; + double sumrecosignalHE1 = 0; + int nsumrecosignalHE1 = 0; + double sumrecosignalHE2 = 0; + int nsumrecosignalHE2 = 0; + double sumrecosignalHE3 = 0; + int nsumrecosignalHE3 = 0; + double sumrecosignalHE4 = 0; + int nsumrecosignalHE4 = 0; + double sumrecosignalHE5 = 0; + int nsumrecosignalHE5 = 0; + double sumrecosignalHE6 = 0; + int nsumrecosignalHE6 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + arecosignalhe[0][jeta][jphi] = recSignalEnergyHE1->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[1][jeta][jphi] = recSignalEnergyHE2->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[2][jeta][jphi] = recSignalEnergyHE3->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[3][jeta][jphi] = recSignalEnergyHE4->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[4][jeta][jphi] = recSignalEnergyHE5->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[5][jeta][jphi] = recSignalEnergyHE6->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[6][jeta][jphi] = recSignalEnergyHE7->GetBinContent(jeta + 1, jphi + 1); + if (arecosignalhe[0][jeta][jphi] > 0.) { + sumrecosignalHE0 += arecosignalhe[0][jeta][jphi]; + ++nsumrecosignalHE0; + } + if (arecosignalhe[1][jeta][jphi] > 0.) { + sumrecosignalHE1 += arecosignalhe[1][jeta][jphi]; + ++nsumrecosignalHE1; + } + if (arecosignalhe[2][jeta][jphi] > 0.) { + sumrecosignalHE2 += arecosignalhe[2][jeta][jphi]; + ++nsumrecosignalHE2; + } + if (arecosignalhe[3][jeta][jphi] > 0.) { + sumrecosignalHE3 += arecosignalhe[3][jeta][jphi]; + ++nsumrecosignalHE3; + } + if (arecosignalhe[4][jeta][jphi] > 0.) { + sumrecosignalHE4 += arecosignalhe[4][jeta][jphi]; + ++nsumrecosignalHE4; + } + if (arecosignalhe[5][jeta][jphi] > 0.) { + sumrecosignalHE5 += arecosignalhe[5][jeta][jphi]; + ++nsumrecosignalHE5; + } + if (arecosignalhe[6][jeta][jphi] > 0.) { + sumrecosignalHE6 += arecosignalhe[6][jeta][jphi]; + ++nsumrecosignalHE6; + } + } // phi + // PHI normalization: + for (int jphi = 0; jphi < njphi; jphi++) { + if (arecosignalhe[0][jeta][jphi] > 0.) + arecosignalhe[0][jeta][jphi] /= (sumrecosignalHE0 / nsumrecosignalHE0); + if (arecosignalhe[1][jeta][jphi] > 0.) + arecosignalhe[1][jeta][jphi] /= (sumrecosignalHE1 / nsumrecosignalHE1); + if (arecosignalhe[2][jeta][jphi] > 0.) + arecosignalhe[2][jeta][jphi] /= (sumrecosignalHE2 / nsumrecosignalHE2); + if (arecosignalhe[3][jeta][jphi] > 0.) + arecosignalhe[3][jeta][jphi] /= (sumrecosignalHE3 / nsumrecosignalHE3); + if (arecosignalhe[4][jeta][jphi] > 0.) + arecosignalhe[4][jeta][jphi] /= (sumrecosignalHE4 / nsumrecosignalHE4); + if (arecosignalhe[5][jeta][jphi] > 0.) + arecosignalhe[5][jeta][jphi] /= (sumrecosignalHE5 / nsumrecosignalHE5); + if (arecosignalhe[6][jeta][jphi] > 0.) + arecosignalhe[6][jeta][jphi] /= (sumrecosignalHE6 / nsumrecosignalHE6); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthes //====================================================================== //====================================================================== //cout<<" R2D-eta/phi-plot: R, averaged over depthes *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRrecosignalHE42D = new TH2F("GefzRrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRrecosignalHE42D0 = new TH2F("GefzRrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHE42D = new TH2F("GefzRrecosignalHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRrecosignalHE42D0 = new TH2F("GefzRrecosignalHE42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRrecosignalHE42DF = (TH2F*)GefzRrecosignalHE42D0->Clone("GefzRrecosignalHE42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRrecosignalHE42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHE42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRrecosignalHE42DF->Divide(GefzRrecosignalHE42D,GefzRrecosignalHE42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHE42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHE42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRrecosignalHE42D->Fill(kkk, jphi, ccc1); + GefzRrecosignalHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRrecosignalHE42DF->Divide(GefzRrecosignalHE42D, GefzRrecosignalHE42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE42DF->SetXTitle("_depth #eta \b"); + GefzRrecosignalHE42DF->SetYTitle(" #phi \b"); GefzRrecosignalHE42DF->Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitSignal_HE= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HE"); - energyhitSignal_HE ->SetMarkerStyle(20);energyhitSignal_HE ->SetMarkerSize(0.4);energyhitSignal_HE ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HE ->SetXTitle("energyhitSignal_HE \b");energyhitSignal_HE ->SetMarkerColor(2);energyhitSignal_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HE ->Draw("Error"); - - + TH1F* energyhitSignal_HE = (TH1F*)dir->FindObjectAny("h_energyhitSignal_HE"); + energyhitSignal_HE->SetMarkerStyle(20); + energyhitSignal_HE->SetMarkerSize(0.4); + energyhitSignal_HE->GetYaxis()->SetLabelSize(0.04); + energyhitSignal_HE->SetXTitle("energyhitSignal_HE \b"); + energyhitSignal_HE->SetMarkerColor(2); + energyhitSignal_HE->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitSignal_HE->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RrecosignalGeneralD2PhiSymmetryHE.png"); c2x1->Clear(); // clean-up - if (GefzRrecosignalHE42D) delete GefzRrecosignalHE42D; - if (GefzRrecosignalHE42D0) delete GefzRrecosignalHE42D0; - if (GefzRrecosignalHE42DF) delete GefzRrecosignalHE42DF; + if (GefzRrecosignalHE42D) + delete GefzRrecosignalHE42D; + if (GefzRrecosignalHE42D0) + delete GefzRrecosignalHE42D0; + if (GefzRrecosignalHE42DF) + delete GefzRrecosignalHE42DF; //====================================================================== 1D plot: R vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRrecosignalHE41D = new TH1F("GefzRrecosignalHE41D","", nphi, 0., 72. ); - TH1F* GefzRrecosignalHE41D0 = new TH1F("GefzRrecosignalHE41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHE41D = new TH1F("GefzRrecosignalHE41D", "", nphi, 0., 72.); + TH1F* GefzRrecosignalHE41D0 = new TH1F("GefzRrecosignalHE41D0", "", nphi, 0., 72.); TH1F* GefzRrecosignalHE41DF = (TH1F*)GefzRrecosignalHE41D0->Clone("GefzRrecosignalHE41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHE41D0 ->Fill(jphi,1.); } - }}} - GefzRrecosignalHE41DF->Divide(GefzRrecosignalHE41D,GefzRrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRrecosignalHE41D->Fill(jphi, ccc1); + GefzRrecosignalHE41D0->Fill(jphi, 1.); + } + } + } + } + GefzRrecosignalHE41DF->Divide( + GefzRrecosignalHE41D, GefzRrecosignalHE41D0, 1, 1, "B"); // R averaged over depthes & eta GefzRrecosignalHE41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHE41DF->SetMarkerStyle(20); GefzRrecosignalHE41DF->SetMarkerSize(1.4); GefzRrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHE41DF->SetXTitle("#phi \b"); GefzRrecosignalHE41DF->SetYTitle(" \b"); GefzRrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRrecosignalHE41DF->SetMarkerColor(4); GefzRrecosignalHE41DF->SetLineColor(4);// GefzRrecosignalHE41DF->SetMinimum(0.8); // GefzRrecosignalHE41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE41DF->SetMarkerStyle(20); + GefzRrecosignalHE41DF->SetMarkerSize(1.4); + GefzRrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); + GefzRrecosignalHE41DF->SetXTitle("#phi \b"); + GefzRrecosignalHE41DF->SetYTitle(" \b"); + GefzRrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); + GefzRrecosignalHE41DF->SetMarkerColor(4); + GefzRrecosignalHE41DF->SetLineColor( + 4); // GefzRrecosignalHE41DF->SetMinimum(0.8); // GefzRrecosignalHE41DF->SetMaximum(1.000); GefzRrecosignalHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RrecosignalGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (GefzRrecosignalHE41D) delete GefzRrecosignalHE41D; - if (GefzRrecosignalHE41D0) delete GefzRrecosignalHE41D0; - if (GefzRrecosignalHE41DF) delete GefzRrecosignalHE41DF; - + if (GefzRrecosignalHE41D) + delete GefzRrecosignalHE41D; + if (GefzRrecosignalHE41D0) + delete GefzRrecosignalHE41D0; + if (GefzRrecosignalHE41DF) + delete GefzRrecosignalHE41DF; - //========================================================================================== 4 + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignal1=1; - TH1F* h2CeffHEpositivedirectionRecosignal1 = new TH1F("h2CeffHEpositivedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEpositivedirectionRecosignal1 = "<SetMarkerColor(2);HEpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal1 == 1) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 2) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 3) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 4) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 5) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 6) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 7) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 8) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 9) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 ==10) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 ==11) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 ==12) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionRecosignal1->Draw("Error"); - kcountHEpositivedirectionRecosignal1++; - if(kcountHEpositivedirectionRecosignal1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEpositivedirectionRecosignal1 = (TH1F*)h2CeffHEpositivedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEpositivedirectionRecosignal1 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal1 == 1) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 2) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 3) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 4) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 5) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 6) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 7) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 8) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 9) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 10) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 11) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 12) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignal1->Draw("Error"); + kcountHEpositivedirectionRecosignal1++; + if (kcountHEpositivedirectionRecosignal1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal1) delete h2CeffHEpositivedirectionRecosignal1; - + if (h2CeffHEpositivedirectionRecosignal1) + delete h2CeffHEpositivedirectionRecosignal1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal2=1; - TH1F* h2CeffHEpositivedirectionRecosignal2 = new TH1F("h2CeffHEpositivedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEpositivedirectionRecosignal2 = "<SetMarkerColor(2);HEpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal2 == 1) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 2) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 3) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 4) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 5) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 6) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 7) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 8) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 9) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==10) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==11) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==12) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==13) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionRecosignal2->Draw("Error"); - kcountHEpositivedirectionRecosignal2++; - if(kcountHEpositivedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal2 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal2 = new TH1F("h2CeffHEpositivedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEpositivedirectionRecosignal2 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal2 == 1) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 2) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 3) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 4) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 5) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 6) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 7) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 8) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 9) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 10) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 11) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 12) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 13) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignal2->Draw("Error"); + kcountHEpositivedirectionRecosignal2++; + if (kcountHEpositivedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal2) delete h2CeffHEpositivedirectionRecosignal2; - //========================================================================================== 6 + if (h2CeffHEpositivedirectionRecosignal2) + delete h2CeffHEpositivedirectionRecosignal2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal3=1; - TH1F* h2CeffHEpositivedirectionRecosignal3 = new TH1F("h2CeffHEpositivedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEpositivedirectionRecosignal3 = "<SetMarkerColor(2);HEpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal3 == 1) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 2) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 3) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 4) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 5) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 6) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 7) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 8) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 9) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==10) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==11) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==12) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==13) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionRecosignal3->Draw("Error"); - kcountHEpositivedirectionRecosignal3++; - if(kcountHEpositivedirectionRecosignal3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal3 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal3 = new TH1F("h2CeffHEpositivedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEpositivedirectionRecosignal3 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal3 == 1) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 2) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 3) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 4) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 5) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 6) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 7) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 8) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 9) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 10) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 11) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 12) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 13) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignal3->Draw("Error"); + kcountHEpositivedirectionRecosignal3++; + if (kcountHEpositivedirectionRecosignal3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal3) delete h2CeffHEpositivedirectionRecosignal3; - //========================================================================================== 7 + if (h2CeffHEpositivedirectionRecosignal3) + delete h2CeffHEpositivedirectionRecosignal3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal4=1; - TH1F* h2CeffHEpositivedirectionRecosignal4 = new TH1F("h2CeffHEpositivedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEpositivedirectionRecosignal4 = "<SetMarkerColor(2);HEpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal4 == 1) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 2) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 3) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 4) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 5) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 6) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 7) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 8) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 9) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 ==10) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 ==11) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 ==12) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionRecosignal4->Draw("Error"); - kcountHEpositivedirectionRecosignal4++; - if(kcountHEpositivedirectionRecosignal4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal4 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal4 = new TH1F("h2CeffHEpositivedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEpositivedirectionRecosignal4 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal4 == 1) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 2) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 3) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 4) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 5) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 6) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 7) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 8) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 9) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 10) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 11) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 12) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignal4->Draw("Error"); + kcountHEpositivedirectionRecosignal4++; + if (kcountHEpositivedirectionRecosignal4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal4) delete h2CeffHEpositivedirectionRecosignal4; - //========================================================================================== 8 + if (h2CeffHEpositivedirectionRecosignal4) + delete h2CeffHEpositivedirectionRecosignal4; + //========================================================================================== 8 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal5=1; - TH1F* h2CeffHEpositivedirectionRecosignal5 = new TH1F("h2CeffHEpositivedirectionRecosignal5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal5 == 1) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 2) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 3) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 4) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 5) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 6) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 7) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 8) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 9) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 ==10) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 ==11) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionRecosignal5->Draw("Error"); - kcountHEpositivedirectionRecosignal5++; - if(kcountHEpositivedirectionRecosignal5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal5 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal5 = new TH1F("h2CeffHEpositivedirectionRecosignal5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEpositivedirectionRecosignal5 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal5 == 1) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 2) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 3) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 4) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 5) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 6) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 7) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 8) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 9) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 10) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 11) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignal5->Draw("Error"); + kcountHEpositivedirectionRecosignal5++; + if (kcountHEpositivedirectionRecosignal5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal5) delete h2CeffHEpositivedirectionRecosignal5; - //========================================================================================== 9 + if (h2CeffHEpositivedirectionRecosignal5) + delete h2CeffHEpositivedirectionRecosignal5; + //========================================================================================== 9 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal6=1; - TH1F* h2CeffHEpositivedirectionRecosignal6 = new TH1F("h2CeffHEpositivedirectionRecosignal6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEpositivedirectionRecosignal6 = "<SetMarkerColor(2);HEpositivedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal6 == 1) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 2) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 3) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 4) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 5) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 6) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 7) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 8) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 9) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 ==10) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionRecosignal6->Draw("Error"); - kcountHEpositivedirectionRecosignal6++; - if(kcountHEpositivedirectionRecosignal6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal6 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal6 = new TH1F("h2CeffHEpositivedirectionRecosignal6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEpositivedirectionRecosignal6 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal6 == 1) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 2) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 3) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 4) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 5) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 6) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 7) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 8) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 9) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 10) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignal6->Draw("Error"); + kcountHEpositivedirectionRecosignal6++; + if (kcountHEpositivedirectionRecosignal6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal6) delete h2CeffHEpositivedirectionRecosignal6; - //========================================================================================== 10 + if (h2CeffHEpositivedirectionRecosignal6) + delete h2CeffHEpositivedirectionRecosignal6; + //========================================================================================== 10 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal7=1; - TH1F* h2CeffHEpositivedirectionRecosignal7 = new TH1F("h2CeffHEpositivedirectionRecosignal7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEpositivedirectionRecosignal7 = "<SetMarkerColor(2);HEpositivedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal7 == 1) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignal7 == 2) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignal7 == 3) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionRecosignal7->Draw("Error"); - kcountHEpositivedirectionRecosignal7++; - if(kcountHEpositivedirectionRecosignal7>3) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal7 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal7 = new TH1F("h2CeffHEpositivedirectionRecosignal7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEpositivedirectionRecosignal7 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal7 == 1) + HEpositivedirectionRecosignal7->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignal7 == 2) + HEpositivedirectionRecosignal7->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignal7 == 3) + HEpositivedirectionRecosignal7->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignal7->Draw("Error"); + kcountHEpositivedirectionRecosignal7++; + if (kcountHEpositivedirectionRecosignal7 > 3) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal7) delete h2CeffHEpositivedirectionRecosignal7; + if (h2CeffHEpositivedirectionRecosignal7) + delete h2CeffHEpositivedirectionRecosignal7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignal1=1; - TH1F* h2CeffHEnegativedirectionRecosignal1 = new TH1F("h2CeffHEnegativedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEnegativedirectionRecosignal1 = "<SetMarkerColor(2);HEnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal1 == 1) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 2) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 3) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 4) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 5) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 6) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 7) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 8) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 9) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 ==10) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 ==11) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 ==12) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionRecosignal1->Draw("Error"); - kcountHEnegativedirectionRecosignal1++; - if(kcountHEnegativedirectionRecosignal1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEnegativedirectionRecosignal1 = (TH1F*)h2CeffHEnegativedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEnegativedirectionRecosignal1 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal1 == 1) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 2) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 3) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 4) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 5) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 6) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 7) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 8) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 9) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 10) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 11) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 12) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignal1->Draw("Error"); + kcountHEnegativedirectionRecosignal1++; + if (kcountHEnegativedirectionRecosignal1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal1) delete h2CeffHEnegativedirectionRecosignal1; - + if (h2CeffHEnegativedirectionRecosignal1) + delete h2CeffHEnegativedirectionRecosignal1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal2=1; - TH1F* h2CeffHEnegativedirectionRecosignal2 = new TH1F("h2CeffHEnegativedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEnegativedirectionRecosignal2 = "<SetMarkerColor(2);HEnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal2 == 1) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 2) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 3) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 4) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 5) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 6) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 7) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 8) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 9) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==10) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==11) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==12) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==13) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionRecosignal2->Draw("Error"); - kcountHEnegativedirectionRecosignal2++; - if(kcountHEnegativedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal2 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal2 = new TH1F("h2CeffHEnegativedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEnegativedirectionRecosignal2 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal2 == 1) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 2) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 3) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 4) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 5) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 6) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 7) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 8) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 9) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 10) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 11) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 12) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 13) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignal2->Draw("Error"); + kcountHEnegativedirectionRecosignal2++; + if (kcountHEnegativedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal2) delete h2CeffHEnegativedirectionRecosignal2; - //========================================================================================== 1116 + if (h2CeffHEnegativedirectionRecosignal2) + delete h2CeffHEnegativedirectionRecosignal2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal3=1; - TH1F* h2CeffHEnegativedirectionRecosignal3 = new TH1F("h2CeffHEnegativedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEnegativedirectionRecosignal3 = "<SetMarkerColor(2);HEnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal3 == 1) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 2) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 3) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 4) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 5) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 6) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 7) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 8) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 9) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==10) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==11) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==12) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==13) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionRecosignal3->Draw("Error"); - kcountHEnegativedirectionRecosignal3++; - if(kcountHEnegativedirectionRecosignal3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal3 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal3 = new TH1F("h2CeffHEnegativedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEnegativedirectionRecosignal3 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal3 == 1) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 2) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 3) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 4) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 5) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 6) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 7) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 8) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 9) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 10) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 11) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 12) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 13) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignal3->Draw("Error"); + kcountHEnegativedirectionRecosignal3++; + if (kcountHEnegativedirectionRecosignal3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal3) delete h2CeffHEnegativedirectionRecosignal3; - //========================================================================================== 1117 + if (h2CeffHEnegativedirectionRecosignal3) + delete h2CeffHEnegativedirectionRecosignal3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal4=1; - TH1F* h2CeffHEnegativedirectionRecosignal4 = new TH1F("h2CeffHEnegativedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEnegativedirectionRecosignal4 = "<SetMarkerColor(2);HEnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal4 == 1) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 2) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 3) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 4) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 5) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 6) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 7) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 8) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 9) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 ==10) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 ==11) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 ==12) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionRecosignal4->Draw("Error"); - kcountHEnegativedirectionRecosignal4++; - if(kcountHEnegativedirectionRecosignal4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal4 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal4 = new TH1F("h2CeffHEnegativedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEnegativedirectionRecosignal4 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal4 == 1) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 2) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 3) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 4) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 5) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 6) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 7) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 8) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 9) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 10) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 11) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 12) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignal4->Draw("Error"); + kcountHEnegativedirectionRecosignal4++; + if (kcountHEnegativedirectionRecosignal4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal4) delete h2CeffHEnegativedirectionRecosignal4; - //========================================================================================== 1118 + if (h2CeffHEnegativedirectionRecosignal4) + delete h2CeffHEnegativedirectionRecosignal4; + //========================================================================================== 1118 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal5=1; - TH1F* h2CeffHEnegativedirectionRecosignal5 = new TH1F("h2CeffHEnegativedirectionRecosignal5","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal5 == 1) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 2) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 3) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 4) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 5) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 6) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 7) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 8) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 9) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 ==10) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 ==11) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionRecosignal5->Draw("Error"); - kcountHEnegativedirectionRecosignal5++; - if(kcountHEnegativedirectionRecosignal5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal5 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal5 = new TH1F("h2CeffHEnegativedirectionRecosignal5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEnegativedirectionRecosignal5 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal5 == 1) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 2) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 3) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 4) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 5) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 6) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 7) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 8) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 9) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 10) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 11) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignal5->Draw("Error"); + kcountHEnegativedirectionRecosignal5++; + if (kcountHEnegativedirectionRecosignal5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal5) delete h2CeffHEnegativedirectionRecosignal5; - //========================================================================================== 1119 + if (h2CeffHEnegativedirectionRecosignal5) + delete h2CeffHEnegativedirectionRecosignal5; + //========================================================================================== 1119 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal6=1; - TH1F* h2CeffHEnegativedirectionRecosignal6 = new TH1F("h2CeffHEnegativedirectionRecosignal6","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEnegativedirectionRecosignal6 = "<SetMarkerColor(2);HEnegativedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal6 == 1) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 2) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 3) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 4) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 5) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 6) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 7) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 8) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 9) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 ==10) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionRecosignal6->Draw("Error"); - kcountHEnegativedirectionRecosignal6++; - if(kcountHEnegativedirectionRecosignal6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal6 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal6 = new TH1F("h2CeffHEnegativedirectionRecosignal6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEnegativedirectionRecosignal6 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal6 == 1) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 2) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 3) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 4) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 5) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 6) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 7) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 8) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 9) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 10) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignal6->Draw("Error"); + kcountHEnegativedirectionRecosignal6++; + if (kcountHEnegativedirectionRecosignal6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal6) delete h2CeffHEnegativedirectionRecosignal6; - //========================================================================================== 11110 + if (h2CeffHEnegativedirectionRecosignal6) + delete h2CeffHEnegativedirectionRecosignal6; + //========================================================================================== 11110 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal7=1; - TH1F* h2CeffHEnegativedirectionRecosignal7 = new TH1F("h2CeffHEnegativedirectionRecosignal7","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEnegativedirectionRecosignal7 = "<SetMarkerColor(2);HEnegativedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal7 == 1) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignal7 == 2) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignal7 == 3) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionRecosignal7->Draw("Error"); - kcountHEnegativedirectionRecosignal7++; - if(kcountHEnegativedirectionRecosignal7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal7 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal7 = new TH1F("h2CeffHEnegativedirectionRecosignal7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEnegativedirectionRecosignal7 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal7 == 1) + HEnegativedirectionRecosignal7->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignal7 == 2) + HEnegativedirectionRecosignal7->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignal7 == 3) + HEnegativedirectionRecosignal7->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignal7->Draw("Error"); + kcountHEnegativedirectionRecosignal7++; + if (kcountHEnegativedirectionRecosignal7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal7) delete h2CeffHEnegativedirectionRecosignal7; + if (h2CeffHEnegativedirectionRecosignal7) + delete h2CeffHEnegativedirectionRecosignal7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HE1"); - TH2F *recosignalVariance0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HE1"); + TH2F* recosignalVariance0HE1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); TH2F* recosignalVarianceHE1 = (TH2F*)recosignalVariance1HE1->Clone("recosignalVarianceHE1"); - recosignalVarianceHE1->Divide(recosignalVariance1HE1,recosignalVariance0HE1, 1, 1, "B"); - TH2F *recosignalVariance1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE2"); - TH2F *recosignalVariance0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + recosignalVarianceHE1->Divide(recosignalVariance1HE1, recosignalVariance0HE1, 1, 1, "B"); + TH2F* recosignalVariance1HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE2"); + TH2F* recosignalVariance0HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); TH2F* recosignalVarianceHE2 = (TH2F*)recosignalVariance1HE2->Clone("recosignalVarianceHE2"); - recosignalVarianceHE2->Divide(recosignalVariance1HE2,recosignalVariance0HE2, 1, 1, "B"); - TH2F *recosignalVariance1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE3"); - TH2F *recosignalVariance0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + recosignalVarianceHE2->Divide(recosignalVariance1HE2, recosignalVariance0HE2, 1, 1, "B"); + TH2F* recosignalVariance1HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE3"); + TH2F* recosignalVariance0HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); TH2F* recosignalVarianceHE3 = (TH2F*)recosignalVariance1HE3->Clone("recosignalVarianceHE3"); - recosignalVarianceHE3->Divide(recosignalVariance1HE3,recosignalVariance0HE3, 1, 1, "B"); - TH2F *recosignalVariance1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE4"); - TH2F *recosignalVariance0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + recosignalVarianceHE3->Divide(recosignalVariance1HE3, recosignalVariance0HE3, 1, 1, "B"); + TH2F* recosignalVariance1HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE4"); + TH2F* recosignalVariance0HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); TH2F* recosignalVarianceHE4 = (TH2F*)recosignalVariance1HE4->Clone("recosignalVarianceHE4"); - recosignalVarianceHE4->Divide(recosignalVariance1HE4,recosignalVariance0HE4, 1, 1, "B"); - TH2F *recosignalVariance1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE5"); - TH2F *recosignalVariance0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + recosignalVarianceHE4->Divide(recosignalVariance1HE4, recosignalVariance0HE4, 1, 1, "B"); + TH2F* recosignalVariance1HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE5"); + TH2F* recosignalVariance0HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); TH2F* recosignalVarianceHE5 = (TH2F*)recosignalVariance1HE5->Clone("recosignalVarianceHE5"); - recosignalVarianceHE5->Divide(recosignalVariance1HE5,recosignalVariance0HE5, 1, 1, "B"); - TH2F *recosignalVariance1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE6"); - TH2F *recosignalVariance0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + recosignalVarianceHE5->Divide(recosignalVariance1HE5, recosignalVariance0HE5, 1, 1, "B"); + TH2F* recosignalVariance1HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE6"); + TH2F* recosignalVariance0HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); TH2F* recosignalVarianceHE6 = (TH2F*)recosignalVariance1HE6->Clone("recosignalVarianceHE6"); - recosignalVarianceHE6->Divide(recosignalVariance1HE6,recosignalVariance0HE6, 1, 1, "B"); - TH2F *recosignalVariance1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE7"); - TH2F *recosignalVariance0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + recosignalVarianceHE6->Divide(recosignalVariance1HE6, recosignalVariance0HE6, 1, 1, "B"); + TH2F* recosignalVariance1HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE7"); + TH2F* recosignalVariance0HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); TH2F* recosignalVarianceHE7 = (TH2F*)recosignalVariance1HE7->Clone("recosignalVarianceHE7"); - recosignalVarianceHE7->Divide(recosignalVariance1HE7,recosignalVariance0HE7, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvariancehe - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - recosignalvariancehe[1][jeta][jphi] = recosignalVarianceHE2->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[2][jeta][jphi] = recosignalVarianceHE3->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[3][jeta][jphi] = recosignalVarianceHE4->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[4][jeta][jphi] = recosignalVarianceHE5->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[5][jeta][jphi] = recosignalVarianceHE6->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[6][jeta][jphi] = recosignalVarianceHE7->GetBinContent(jeta+1,jphi+1); - if(recosignalvariancehe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += recosignalvariancehe[0][jeta][jphi];++nsumrecosignalHE0;} - if(recosignalvariancehe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += recosignalvariancehe[1][jeta][jphi];++nsumrecosignalHE1;} - if(recosignalvariancehe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += recosignalvariancehe[2][jeta][jphi];++nsumrecosignalHE2;} - if(recosignalvariancehe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += recosignalvariancehe[3][jeta][jphi];++nsumrecosignalHE3;} - if(recosignalvariancehe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += recosignalvariancehe[4][jeta][jphi];++nsumrecosignalHE4;} - if(recosignalvariancehe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += recosignalvariancehe[5][jeta][jphi];++nsumrecosignalHE5;} - if(recosignalvariancehe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += recosignalvariancehe[6][jeta][jphi];++nsumrecosignalHE6;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) recosignalvariancehe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; - if(recosignalvariancehe[1][jeta][jphi] > 0.) recosignalvariancehe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; - if(recosignalvariancehe[2][jeta][jphi] > 0.) recosignalvariancehe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; - if(recosignalvariancehe[3][jeta][jphi] > 0.) recosignalvariancehe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; - if(recosignalvariancehe[4][jeta][jphi] > 0.) recosignalvariancehe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; - if(recosignalvariancehe[5][jeta][jphi] > 0.) recosignalvariancehe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; - if(recosignalvariancehe[6][jeta][jphi] > 0.) recosignalvariancehe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; - }// phi - // recosignalvariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive recosignalvariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumrecosignalHE0 = 0; + int nsumrecosignalHE0 = 0; + double sumrecosignalHE1 = 0; + int nsumrecosignalHE1 = 0; + double sumrecosignalHE2 = 0; + int nsumrecosignalHE2 = 0; + double sumrecosignalHE3 = 0; + int nsumrecosignalHE3 = 0; + double sumrecosignalHE4 = 0; + int nsumrecosignalHE4 = 0; + double sumrecosignalHE5 = 0; + int nsumrecosignalHE5 = 0; + double sumrecosignalHE6 = 0; + int nsumrecosignalHE6 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + recosignalvariancehe[0][jeta][jphi] = recosignalVarianceHE1->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[1][jeta][jphi] = recosignalVarianceHE2->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[2][jeta][jphi] = recosignalVarianceHE3->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[3][jeta][jphi] = recosignalVarianceHE4->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[4][jeta][jphi] = recosignalVarianceHE5->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[5][jeta][jphi] = recosignalVarianceHE6->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[6][jeta][jphi] = recosignalVarianceHE7->GetBinContent(jeta + 1, jphi + 1); + if (recosignalvariancehe[0][jeta][jphi] > 0.) { + sumrecosignalHE0 += recosignalvariancehe[0][jeta][jphi]; + ++nsumrecosignalHE0; + } + if (recosignalvariancehe[1][jeta][jphi] > 0.) { + sumrecosignalHE1 += recosignalvariancehe[1][jeta][jphi]; + ++nsumrecosignalHE1; + } + if (recosignalvariancehe[2][jeta][jphi] > 0.) { + sumrecosignalHE2 += recosignalvariancehe[2][jeta][jphi]; + ++nsumrecosignalHE2; + } + if (recosignalvariancehe[3][jeta][jphi] > 0.) { + sumrecosignalHE3 += recosignalvariancehe[3][jeta][jphi]; + ++nsumrecosignalHE3; } - //cout<<" Vaiance: DONE*****" < 0.) { + sumrecosignalHE4 += recosignalvariancehe[4][jeta][jphi]; + ++nsumrecosignalHE4; + } + if (recosignalvariancehe[5][jeta][jphi] > 0.) { + sumrecosignalHE5 += recosignalvariancehe[5][jeta][jphi]; + ++nsumrecosignalHE5; + } + if (recosignalvariancehe[6][jeta][jphi] > 0.) { + sumrecosignalHE6 += recosignalvariancehe[6][jeta][jphi]; + ++nsumrecosignalHE6; + } + } // phi + // PHI normalization : + for (int jphi = 0; jphi < njphi; jphi++) { + if (recosignalvariancehe[0][jeta][jphi] > 0.) + recosignalvariancehe[0][jeta][jphi] /= (sumrecosignalHE0 / nsumrecosignalHE0); + if (recosignalvariancehe[1][jeta][jphi] > 0.) + recosignalvariancehe[1][jeta][jphi] /= (sumrecosignalHE1 / nsumrecosignalHE1); + if (recosignalvariancehe[2][jeta][jphi] > 0.) + recosignalvariancehe[2][jeta][jphi] /= (sumrecosignalHE2 / nsumrecosignalHE2); + if (recosignalvariancehe[3][jeta][jphi] > 0.) + recosignalvariancehe[3][jeta][jphi] /= (sumrecosignalHE3 / nsumrecosignalHE3); + if (recosignalvariancehe[4][jeta][jphi] > 0.) + recosignalvariancehe[4][jeta][jphi] /= (sumrecosignalHE4 / nsumrecosignalHE4); + if (recosignalvariancehe[5][jeta][jphi] > 0.) + recosignalvariancehe[5][jeta][jphi] /= (sumrecosignalHE5 / nsumrecosignalHE5); + if (recosignalvariancehe[6][jeta][jphi] > 0.) + recosignalvariancehe[6][jeta][jphi] /= (sumrecosignalHE6 / nsumrecosignalHE6); + } // phi + // recosignalvariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDrecosignalHE42D = new TH2F("DefzDrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHE42D0 = new TH2F("DefzDrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHE42DF = (TH2F*)DefzDrecosignalHE42D0->Clone("DefzDrecosignalHE42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(arecosignalhe[i][jeta][jphi]>0.) {DefzDrecosignalHE42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHE42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDrecosignalHE42DF->Divide(DefzDrecosignalHE42D,DefzDrecosignalHE42D0, 1, 1, "B");// average A - // DefzDrecosignalHE1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHE42DF->SetMarkerStyle(20); DefzDrecosignalHE42DF->SetMarkerSize(0.4); DefzDrecosignalHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHE42DF->SetYTitle(" #phi \b"); DefzDrecosignalHE42DF->SetZTitle("_depth \b"); DefzDrecosignalHE42DF->SetMarkerColor(2); DefzDrecosignalHE42DF->SetLineColor(0); // DefzDrecosignalHE42DF->SetMaximum(1.000); // DefzDrecosignalHE42DF->SetMinimum(1.0); - DefzDrecosignalHE42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DrecosignalGeneralD2PhiSymmetryHE.png"); - c1x0->Clear(); - // clean-up - if (DefzDrecosignalHE42D) delete DefzDrecosignalHE42D; - if (DefzDrecosignalHE42D0) delete DefzDrecosignalHE42D0; - if (DefzDrecosignalHE42DF) delete DefzDrecosignalHE42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthes *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDrecosignalHE42D = new TH2F("DefzDrecosignalHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHE42D0 = new TH2F("DefzDrecosignalHE42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHE42DF = (TH2F*)DefzDrecosignalHE42D0->Clone("DefzDrecosignalHE42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (arecosignalhe[i][jeta][jphi] > 0.) { + DefzDrecosignalHE42D->Fill(kkk, jphi, ccc1); + DefzDrecosignalHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDrecosignalHE42DF->Divide(DefzDrecosignalHE42D, DefzDrecosignalHE42D0, 1, 1, "B"); // average A + // DefzDrecosignalHE1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE42DF->SetMarkerStyle(20); + DefzDrecosignalHE42DF->SetMarkerSize(0.4); + DefzDrecosignalHE42DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHE42DF->SetXTitle("_depth #eta \b"); + DefzDrecosignalHE42DF->SetYTitle(" #phi \b"); + DefzDrecosignalHE42DF->SetZTitle("_depth \b"); + DefzDrecosignalHE42DF->SetMarkerColor(2); + DefzDrecosignalHE42DF->SetLineColor( + 0); // DefzDrecosignalHE42DF->SetMaximum(1.000); // DefzDrecosignalHE42DF->SetMinimum(1.0); + DefzDrecosignalHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHE42D) + delete DefzDrecosignalHE42D; + if (DefzDrecosignalHE42D0) + delete DefzDrecosignalHE42D0; + if (DefzDrecosignalHE42DF) + delete DefzDrecosignalHE42DF; //====================================================================== 1D plot: D vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDrecosignalHE41D = new TH1F("DefzDrecosignalHE41D","", nphi, 0., 72. ); - TH1F* DefzDrecosignalHE41D0 = new TH1F("DefzDrecosignalHE41D0","",nphi, 0., 72. ); - TH1F* DefzDrecosignalHE41DF = (TH1F*)DefzDrecosignalHE41D0->Clone("DefzDrecosignalHE41DF"); - - for (int jphi=0;jphi0.) {DefzDrecosignalHE41D ->Fill(jphi,ccc1); DefzDrecosignalHE41D0 ->Fill(jphi,1.); } - }}} - // DefzDrecosignalHE41D->Sumw2();DefzDrecosignalHE41D0->Sumw2(); - - DefzDrecosignalHE41DF->Divide(DefzDrecosignalHE41D,DefzDrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta - DefzDrecosignalHE41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHE41DF->SetMarkerStyle(20); DefzDrecosignalHE41DF->SetMarkerSize(1.4); DefzDrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE41DF->SetXTitle("#phi \b"); DefzDrecosignalHE41DF->SetYTitle(" \b"); DefzDrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDrecosignalHE41DF->SetMarkerColor(4); DefzDrecosignalHE41DF->SetLineColor(4); // DefzDrecosignalHE41DF->SetMinimum(0.8); DefzDrecosignalHE41DF->SetMinimum(-0.015); - DefzDrecosignalHE41DF->Draw("Error"); + TH1F* DefzDrecosignalHE41D = new TH1F("DefzDrecosignalHE41D", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHE41D0 = new TH1F("DefzDrecosignalHE41D0", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHE41DF = (TH1F*)DefzDrecosignalHE41D0->Clone("DefzDrecosignalHE41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + DefzDrecosignalHE41D->Fill(jphi, ccc1); + DefzDrecosignalHE41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDrecosignalHE41D->Sumw2();DefzDrecosignalHE41D0->Sumw2(); + + DefzDrecosignalHE41DF->Divide( + DefzDrecosignalHE41D, DefzDrecosignalHE41D0, 1, 1, "B"); // R averaged over depthes & eta + DefzDrecosignalHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE41DF->SetMarkerStyle(20); + DefzDrecosignalHE41DF->SetMarkerSize(1.4); + DefzDrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHE41DF->SetXTitle("#phi \b"); + DefzDrecosignalHE41DF->SetYTitle(" \b"); + DefzDrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); + DefzDrecosignalHE41DF->SetMarkerColor(4); + DefzDrecosignalHE41DF->SetLineColor( + 4); // DefzDrecosignalHE41DF->SetMinimum(0.8); DefzDrecosignalHE41DF->SetMinimum(-0.015); + DefzDrecosignalHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DrecosignalGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (DefzDrecosignalHE41D) delete DefzDrecosignalHE41D; - if (DefzDrecosignalHE41D0) delete DefzDrecosignalHE41D0; - if (DefzDrecosignalHE41DF) delete DefzDrecosignalHE41DF; - //========================================================================================== 14 + if (DefzDrecosignalHE41D) + delete DefzDrecosignalHE41D; + if (DefzDrecosignalHE41D0) + delete DefzDrecosignalHE41D0; + if (DefzDrecosignalHE41DF) + delete DefzDrecosignalHE41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD1=1; - TH1F* h2CeffHEpositivedirectionRecosignalD1 = new TH1F("h2CeffHEpositivedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD1 == 1) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 2) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 3) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 4) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 5) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 6) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 7) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 8) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 9) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 ==10) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 ==11) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 ==12) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionRecosignalD1->Draw("Error"); - kcountHEpositivedirectionRecosignalD1++; - if(kcountHEpositivedirectionRecosignalD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD1 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD1 = new TH1F("h2CeffHEpositivedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEpositivedirectionRecosignalD1 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD1 == 1) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 2) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 3) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 4) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 5) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 6) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 7) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 8) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 9) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 10) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 11) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 12) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignalD1->Draw("Error"); + kcountHEpositivedirectionRecosignalD1++; + if (kcountHEpositivedirectionRecosignalD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD1) delete h2CeffHEpositivedirectionRecosignalD1; - //========================================================================================== 15 + if (h2CeffHEpositivedirectionRecosignalD1) + delete h2CeffHEpositivedirectionRecosignalD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD2=1; - TH1F* h2CeffHEpositivedirectionRecosignalD2 = new TH1F("h2CeffHEpositivedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD2 == 1) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 2) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 3) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 4) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 5) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 6) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 7) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 8) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 9) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==10) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==11) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==12) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==13) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionRecosignalD2->Draw("Error"); - kcountHEpositivedirectionRecosignalD2++; - if(kcountHEpositivedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD2 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD2 = new TH1F("h2CeffHEpositivedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEpositivedirectionRecosignalD2 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD2 == 1) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 2) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 3) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 4) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 5) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 6) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 7) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 8) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 9) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 10) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 11) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 12) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 13) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignalD2->Draw("Error"); + kcountHEpositivedirectionRecosignalD2++; + if (kcountHEpositivedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD2) delete h2CeffHEpositivedirectionRecosignalD2; - //========================================================================================== 16 + if (h2CeffHEpositivedirectionRecosignalD2) + delete h2CeffHEpositivedirectionRecosignalD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD3=1; - TH1F* h2CeffHEpositivedirectionRecosignalD3 = new TH1F("h2CeffHEpositivedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD3 == 1) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 2) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 3) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 4) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 5) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 6) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 7) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 8) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 9) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==10) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==11) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==12) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==13) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionRecosignalD3->Draw("Error"); - kcountHEpositivedirectionRecosignalD3++; - if(kcountHEpositivedirectionRecosignalD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD3 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD3 = new TH1F("h2CeffHEpositivedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEpositivedirectionRecosignalD3 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD3 == 1) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 2) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 3) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 4) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 5) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 6) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 7) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 8) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 9) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 10) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 11) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 12) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 13) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignalD3->Draw("Error"); + kcountHEpositivedirectionRecosignalD3++; + if (kcountHEpositivedirectionRecosignalD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD3) delete h2CeffHEpositivedirectionRecosignalD3; - //========================================================================================== 17 + if (h2CeffHEpositivedirectionRecosignalD3) + delete h2CeffHEpositivedirectionRecosignalD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD4=1; - TH1F* h2CeffHEpositivedirectionRecosignalD4 = new TH1F("h2CeffHEpositivedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD4 == 1) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 2) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 3) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 4) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 5) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 6) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 7) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 8) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 9) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 ==10) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 ==11) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 ==12) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionRecosignalD4->Draw("Error"); - kcountHEpositivedirectionRecosignalD4++; - if(kcountHEpositivedirectionRecosignalD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD4 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD4 = new TH1F("h2CeffHEpositivedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEpositivedirectionRecosignalD4 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD4 == 1) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 2) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 3) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 4) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 5) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 6) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 7) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 8) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 9) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 10) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 11) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 12) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignalD4->Draw("Error"); + kcountHEpositivedirectionRecosignalD4++; + if (kcountHEpositivedirectionRecosignalD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD4) delete h2CeffHEpositivedirectionRecosignalD4; - //========================================================================================== 18 + if (h2CeffHEpositivedirectionRecosignalD4) + delete h2CeffHEpositivedirectionRecosignalD4; + //========================================================================================== 18 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD5=1; - TH1F* h2CeffHEpositivedirectionRecosignalD5 = new TH1F("h2CeffHEpositivedirectionRecosignalD5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEpositivedirectionRecosignalD5 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD5 == 1) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 2) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 3) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 4) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 5) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 6) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 7) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 8) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 9) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 ==10) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 ==11) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionRecosignalD5->Draw("Error"); - kcountHEpositivedirectionRecosignalD5++; - if(kcountHEpositivedirectionRecosignalD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD5 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD5 = new TH1F("h2CeffHEpositivedirectionRecosignalD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD5->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEpositivedirectionRecosignalD5 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD5 == 1) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 2) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 3) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 4) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 5) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 6) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 7) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 8) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 9) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 10) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 11) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignalD5->Draw("Error"); + kcountHEpositivedirectionRecosignalD5++; + if (kcountHEpositivedirectionRecosignalD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD5) delete h2CeffHEpositivedirectionRecosignalD5; - //========================================================================================== 19 + if (h2CeffHEpositivedirectionRecosignalD5) + delete h2CeffHEpositivedirectionRecosignalD5; + //========================================================================================== 19 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD6=1; - TH1F* h2CeffHEpositivedirectionRecosignalD6 = new TH1F("h2CeffHEpositivedirectionRecosignalD6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEpositivedirectionRecosignalD6 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD6 == 1) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 2) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 3) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 4) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 5) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 6) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 7) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 8) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 9) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 ==10) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionRecosignalD6->Draw("Error"); - kcountHEpositivedirectionRecosignalD6++; - if(kcountHEpositivedirectionRecosignalD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD6 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD6 = new TH1F("h2CeffHEpositivedirectionRecosignalD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEpositivedirectionRecosignalD6 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD6 == 1) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 2) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 3) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 4) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 5) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 6) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 7) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 8) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 9) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 10) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignalD6->Draw("Error"); + kcountHEpositivedirectionRecosignalD6++; + if (kcountHEpositivedirectionRecosignalD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD6) delete h2CeffHEpositivedirectionRecosignalD6; - //========================================================================================== 20 + if (h2CeffHEpositivedirectionRecosignalD6) + delete h2CeffHEpositivedirectionRecosignalD6; + //========================================================================================== 20 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD7=1; - TH1F* h2CeffHEpositivedirectionRecosignalD7 = new TH1F("h2CeffHEpositivedirectionRecosignalD7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEpositivedirectionRecosignalD7 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD7 == 1) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignalD7 == 2) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignalD7 == 3) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionRecosignalD7->Draw("Error"); - kcountHEpositivedirectionRecosignalD7++; - if(kcountHEpositivedirectionRecosignalD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD7 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD7 = new TH1F("h2CeffHEpositivedirectionRecosignalD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEpositivedirectionRecosignalD7 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD7 == 1) + HEpositivedirectionRecosignalD7->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignalD7 == 2) + HEpositivedirectionRecosignalD7->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignalD7 == 3) + HEpositivedirectionRecosignalD7->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignalD7->Draw("Error"); + kcountHEpositivedirectionRecosignalD7++; + if (kcountHEpositivedirectionRecosignalD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD7) delete h2CeffHEpositivedirectionRecosignalD7; - + if (h2CeffHEpositivedirectionRecosignalD7) + delete h2CeffHEpositivedirectionRecosignalD7; - //========================================================================================== 22222214 + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD1=1; - TH1F* h2CeffHEnegativedirectionRecosignalD1 = new TH1F("h2CeffHEnegativedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD1 == 1) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 2) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 3) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 4) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 5) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 6) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 7) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 8) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 9) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 ==10) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 ==11) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 ==12) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionRecosignalD1->Draw("Error"); - kcountHEnegativedirectionRecosignalD1++; - if(kcountHEnegativedirectionRecosignalD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD1 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD1 = new TH1F("h2CeffHEnegativedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEnegativedirectionRecosignalD1 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD1 == 1) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 2) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 3) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 4) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 5) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 6) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 7) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 8) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 9) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 10) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 11) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 12) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignalD1->Draw("Error"); + kcountHEnegativedirectionRecosignalD1++; + if (kcountHEnegativedirectionRecosignalD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD1) delete h2CeffHEnegativedirectionRecosignalD1; - //========================================================================================== 22222215 + if (h2CeffHEnegativedirectionRecosignalD1) + delete h2CeffHEnegativedirectionRecosignalD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD2=1; - TH1F* h2CeffHEnegativedirectionRecosignalD2 = new TH1F("h2CeffHEnegativedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD2 == 1) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 2) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 3) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 4) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 5) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 6) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 7) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 8) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 9) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==10) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==11) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==12) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==13) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionRecosignalD2->Draw("Error"); - kcountHEnegativedirectionRecosignalD2++; - if(kcountHEnegativedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD2 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD2 = new TH1F("h2CeffHEnegativedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEnegativedirectionRecosignalD2 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD2 == 1) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 2) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 3) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 4) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 5) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 6) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 7) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 8) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 9) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 10) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 11) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 12) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 13) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignalD2->Draw("Error"); + kcountHEnegativedirectionRecosignalD2++; + if (kcountHEnegativedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD2) delete h2CeffHEnegativedirectionRecosignalD2; - //========================================================================================== 22222216 + if (h2CeffHEnegativedirectionRecosignalD2) + delete h2CeffHEnegativedirectionRecosignalD2; + //========================================================================================== 22222216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD3=1; - TH1F* h2CeffHEnegativedirectionRecosignalD3 = new TH1F("h2CeffHEnegativedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD3 == 1) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 2) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 3) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 4) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 5) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 6) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 7) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 8) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 9) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==10) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==11) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==12) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==13) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionRecosignalD3->Draw("Error"); - kcountHEnegativedirectionRecosignalD3++; - if(kcountHEnegativedirectionRecosignalD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD3 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD3 = new TH1F("h2CeffHEnegativedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEnegativedirectionRecosignalD3 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD3 == 1) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 2) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 3) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 4) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 5) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 6) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 7) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 8) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 9) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 10) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 11) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 12) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 13) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignalD3->Draw("Error"); + kcountHEnegativedirectionRecosignalD3++; + if (kcountHEnegativedirectionRecosignalD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD3) delete h2CeffHEnegativedirectionRecosignalD3; - //========================================================================================== 22222217 + if (h2CeffHEnegativedirectionRecosignalD3) + delete h2CeffHEnegativedirectionRecosignalD3; + //========================================================================================== 22222217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD4=1; - TH1F* h2CeffHEnegativedirectionRecosignalD4 = new TH1F("h2CeffHEnegativedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD4 == 1) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 2) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 3) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 4) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 5) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 6) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 7) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 8) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 9) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 ==10) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 ==11) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 ==12) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionRecosignalD4->Draw("Error"); - kcountHEnegativedirectionRecosignalD4++; - if(kcountHEnegativedirectionRecosignalD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD4 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD4 = new TH1F("h2CeffHEnegativedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEnegativedirectionRecosignalD4 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD4 == 1) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 2) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 3) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 4) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 5) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 6) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 7) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 8) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 9) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 10) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 11) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 12) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignalD4->Draw("Error"); + kcountHEnegativedirectionRecosignalD4++; + if (kcountHEnegativedirectionRecosignalD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD4) delete h2CeffHEnegativedirectionRecosignalD4; - //========================================================================================== 22222218 + if (h2CeffHEnegativedirectionRecosignalD4) + delete h2CeffHEnegativedirectionRecosignalD4; + //========================================================================================== 22222218 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD5=1; - TH1F* h2CeffHEnegativedirectionRecosignalD5 = new TH1F("h2CeffHEnegativedirectionRecosignalD5","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEnegativedirectionRecosignalD5 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD5 == 1) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 2) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 3) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 4) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 5) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 6) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 7) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 8) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 9) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 ==10) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 ==11) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionRecosignalD5->Draw("Error"); - kcountHEnegativedirectionRecosignalD5++; - if(kcountHEnegativedirectionRecosignalD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD5 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD5 = new TH1F("h2CeffHEnegativedirectionRecosignalD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD5->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEnegativedirectionRecosignalD5 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD5 == 1) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 2) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 3) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 4) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 5) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 6) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 7) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 8) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 9) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 10) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 11) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignalD5->Draw("Error"); + kcountHEnegativedirectionRecosignalD5++; + if (kcountHEnegativedirectionRecosignalD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD5) delete h2CeffHEnegativedirectionRecosignalD5; - //========================================================================================== 22222219 + if (h2CeffHEnegativedirectionRecosignalD5) + delete h2CeffHEnegativedirectionRecosignalD5; + //========================================================================================== 22222219 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD6=1; - TH1F* h2CeffHEnegativedirectionRecosignalD6 = new TH1F("h2CeffHEnegativedirectionRecosignalD6","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEnegativedirectionRecosignalD6 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD6 == 1) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 2) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 3) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 4) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 5) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 6) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 7) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 8) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 9) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 ==10) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionRecosignalD6->Draw("Error"); - kcountHEnegativedirectionRecosignalD6++; - if(kcountHEnegativedirectionRecosignalD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD6 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD6 = new TH1F("h2CeffHEnegativedirectionRecosignalD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEnegativedirectionRecosignalD6 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD6 == 1) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 2) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 3) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 4) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 5) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 6) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 7) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 8) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 9) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 10) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignalD6->Draw("Error"); + kcountHEnegativedirectionRecosignalD6++; + if (kcountHEnegativedirectionRecosignalD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD6) delete h2CeffHEnegativedirectionRecosignalD6; - //========================================================================================== 22222220 + if (h2CeffHEnegativedirectionRecosignalD6) + delete h2CeffHEnegativedirectionRecosignalD6; + //========================================================================================== 22222220 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD7=1; - TH1F* h2CeffHEnegativedirectionRecosignalD7 = new TH1F("h2CeffHEnegativedirectionRecosignalD7","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEnegativedirectionRecosignalD7 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD7 == 1) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignalD7 == 2) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignalD7 == 3) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionRecosignalD7->Draw("Error"); - kcountHEnegativedirectionRecosignalD7++; - if(kcountHEnegativedirectionRecosignalD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD7 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD7 = new TH1F("h2CeffHEnegativedirectionRecosignalD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEnegativedirectionRecosignalD7 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD7 == 1) + HEnegativedirectionRecosignalD7->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignalD7 == 2) + HEnegativedirectionRecosignalD7->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignalD7 == 3) + HEnegativedirectionRecosignalD7->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignalD7->Draw("Error"); + kcountHEnegativedirectionRecosignalD7++; + if (kcountHEnegativedirectionRecosignalD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD7) delete h2CeffHEnegativedirectionRecosignalD7; + if (h2CeffHEnegativedirectionRecosignalD7) + delete h2CeffHEnegativedirectionRecosignalD7; //===================================================================== END of Recosignal HE for phi-symmetry //===================================================================== END of Recosignal HE for phi-symmetry //===================================================================== END of Recosignal HE for phi-symmetry //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 2; - double arecosignalHF[ndepth][njeta][njphi]; - double recosignalvarianceHF[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double arecosignalHF[ndepth][njeta][njphi]; + double recosignalvarianceHF[ndepth][njeta][njphi]; //cout<<"111RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <FindObjectAny("h_recSignalEnergy1_HF1"); - TH2F *recSignalEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + TH2F* recSignalEnergy1HF1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF1"); + TH2F* recSignalEnergy0HF1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); TH2F* recSignalEnergyHF1 = (TH2F*)recSignalEnergy1HF1->Clone("recSignalEnergyHF1"); - recSignalEnergyHF1->Divide(recSignalEnergy1HF1,recSignalEnergy0HF1, 1, 1, "B"); - TH2F *recSignalEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF2"); - TH2F *recSignalEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + recSignalEnergyHF1->Divide(recSignalEnergy1HF1, recSignalEnergy0HF1, 1, 1, "B"); + TH2F* recSignalEnergy1HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF2"); + TH2F* recSignalEnergy0HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); TH2F* recSignalEnergyHF2 = (TH2F*)recSignalEnergy1HF2->Clone("recSignalEnergyHF2"); - recSignalEnergyHF2->Divide(recSignalEnergy1HF2,recSignalEnergy0HF2, 1, 1, "B"); -// cout<<"222RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <GetBinContent(jeta+1,jphi+1); - arecosignalHF[1][jeta][jphi] = recSignalEnergyHF2->GetBinContent(jeta+1,jphi+1); - if(arecosignalHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += arecosignalHF[0][jeta][jphi];++nsumrecosignalHF0;} - if(arecosignalHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += arecosignalHF[1][jeta][jphi];++nsumrecosignalHF1;} - }// phi - // PHI normalization: - for(int jphi=0;jphi 0.) arecosignalHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; - if(arecosignalHF[1][jeta][jphi] > 0.) arecosignalHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; - }// phi - }//eta + recSignalEnergyHF2->Divide(recSignalEnergy1HF2, recSignalEnergy0HF2, 1, 1, "B"); + // cout<<"222RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <GetBinContent(jeta + 1, jphi + 1); + arecosignalHF[1][jeta][jphi] = recSignalEnergyHF2->GetBinContent(jeta + 1, jphi + 1); + if (arecosignalHF[0][jeta][jphi] > 0.) { + sumrecosignalHF0 += arecosignalHF[0][jeta][jphi]; + ++nsumrecosignalHF0; + } + if (arecosignalHF[1][jeta][jphi] > 0.) { + sumrecosignalHF1 += arecosignalHF[1][jeta][jphi]; + ++nsumrecosignalHF1; + } + } // phi + // PHI normalization: + for (int jphi = 0; jphi < njphi; jphi++) { + if (arecosignalHF[0][jeta][jphi] > 0.) + arecosignalHF[0][jeta][jphi] /= (sumrecosignalHF0 / nsumrecosignalHF0); + if (arecosignalHF[1][jeta][jphi] > 0.) + arecosignalHF[1][jeta][jphi] /= (sumrecosignalHF1 / nsumrecosignalHF1); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthfs //====================================================================== //====================================================================== -// cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRrecosignalHF42D = new TH2F("GefzRrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRrecosignalHF42D0 = new TH2F("GefzRrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHF42D = new TH2F("GefzRrecosignalHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRrecosignalHF42D0 = new TH2F("GefzRrecosignalHF42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRrecosignalHF42DF = (TH2F*)GefzRrecosignalHF42D0->Clone("GefzRrecosignalHF42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRrecosignalHF42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHF42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRrecosignalHF42DF->Divide(GefzRrecosignalHF42D,GefzRrecosignalHF42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHF42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHF42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRrecosignalHF42D->Fill(kkk, jphi, ccc1); + GefzRrecosignalHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRrecosignalHF42DF->Divide(GefzRrecosignalHF42D, GefzRrecosignalHF42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF42DF->SetXTitle("_depth #eta \b"); + GefzRrecosignalHF42DF->SetYTitle(" #phi \b"); GefzRrecosignalHF42DF->Draw("COLZ"); - c2x1->cd(2); - TH1F *energyhitSignal_HF= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HF"); - energyhitSignal_HF ->SetMarkerStyle(20);energyhitSignal_HF ->SetMarkerSize(0.4);energyhitSignal_HF ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HF ->SetXTitle("energyhitSignal_HF \b");energyhitSignal_HF ->SetMarkerColor(2);energyhitSignal_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HF ->Draw("Error"); - - + TH1F* energyhitSignal_HF = (TH1F*)dir->FindObjectAny("h_energyhitSignal_HF"); + energyhitSignal_HF->SetMarkerStyle(20); + energyhitSignal_HF->SetMarkerSize(0.4); + energyhitSignal_HF->GetYaxis()->SetLabelSize(0.04); + energyhitSignal_HF->SetXTitle("energyhitSignal_HF \b"); + energyhitSignal_HF->SetMarkerColor(2); + energyhitSignal_HF->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitSignal_HF->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RrecosignalGeneralD2PhiSymmetryHF.png"); c2x1->Clear(); // clean-up - if (GefzRrecosignalHF42D) delete GefzRrecosignalHF42D; - if (GefzRrecosignalHF42D0) delete GefzRrecosignalHF42D0; - if (GefzRrecosignalHF42DF) delete GefzRrecosignalHF42DF; + if (GefzRrecosignalHF42D) + delete GefzRrecosignalHF42D; + if (GefzRrecosignalHF42D0) + delete GefzRrecosignalHF42D0; + if (GefzRrecosignalHF42DF) + delete GefzRrecosignalHF42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRrecosignalHF41D = new TH1F("GefzRrecosignalHF41D","", nphi, 0., 72. ); - TH1F* GefzRrecosignalHF41D0 = new TH1F("GefzRrecosignalHF41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHF41D = new TH1F("GefzRrecosignalHF41D", "", nphi, 0., 72.); + TH1F* GefzRrecosignalHF41D0 = new TH1F("GefzRrecosignalHF41D0", "", nphi, 0., 72.); TH1F* GefzRrecosignalHF41DF = (TH1F*)GefzRrecosignalHF41D0->Clone("GefzRrecosignalHF41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHF41D0 ->Fill(jphi,1.); } - }}} - GefzRrecosignalHF41DF->Divide(GefzRrecosignalHF41D,GefzRrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRrecosignalHF41D->Fill(jphi, ccc1); + GefzRrecosignalHF41D0->Fill(jphi, 1.); + } + } + } + } + GefzRrecosignalHF41DF->Divide( + GefzRrecosignalHF41D, GefzRrecosignalHF41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRrecosignalHF41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHF41DF->SetMarkerStyle(20); GefzRrecosignalHF41DF->SetMarkerSize(1.4); GefzRrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHF41DF->SetXTitle("#phi \b"); GefzRrecosignalHF41DF->SetYTitle(" \b"); GefzRrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHF41DF->SetMarkerColor(4); GefzRrecosignalHF41DF->SetLineColor(4);// GefzRrecosignalHF41DF->SetMinimum(0.8); // GefzRrecosignalHF41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF41DF->SetMarkerStyle(20); + GefzRrecosignalHF41DF->SetMarkerSize(1.4); + GefzRrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); + GefzRrecosignalHF41DF->SetXTitle("#phi \b"); + GefzRrecosignalHF41DF->SetYTitle(" \b"); + GefzRrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRrecosignalHF41DF->SetMarkerColor(4); + GefzRrecosignalHF41DF->SetLineColor( + 4); // GefzRrecosignalHF41DF->SetMinimum(0.8); // GefzRrecosignalHF41DF->SetMaximum(1.000); GefzRrecosignalHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RrecosignalGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (GefzRrecosignalHF41D) delete GefzRrecosignalHF41D; - if (GefzRrecosignalHF41D0) delete GefzRrecosignalHF41D0; - if (GefzRrecosignalHF41DF) delete GefzRrecosignalHF41DF; - //========================================================================================== 4 + if (GefzRrecosignalHF41D) + delete GefzRrecosignalHF41D; + if (GefzRrecosignalHF41D0) + delete GefzRrecosignalHF41D0; + if (GefzRrecosignalHF41DF) + delete GefzRrecosignalHF41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionRecosignal1=1; - TH1F* h2CeffHFpositivedirectionRecosignal1 = new TH1F("h2CeffHFpositivedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFpositivedirectionRecosignal1 = "<SetMarkerColor(2);HFpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignal1 == 1) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 2) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 3) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 4) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 5) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 6) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 7) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 8) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 9) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==10) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==11) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==12) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==13) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionRecosignal1->Draw("Error"); - kcountHFpositivedirectionRecosignal1++; - if(kcountHFpositivedirectionRecosignal1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFpositivedirectionRecosignal1 = (TH1F*)h2CeffHFpositivedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFpositivedirectionRecosignal1 = "<SetMarkerColor(2); + HFpositivedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignal1 == 1) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 2) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 3) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 4) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 5) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 6) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 7) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 8) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 9) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 10) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 11) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 12) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 13) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignal1->Draw("Error"); + kcountHFpositivedirectionRecosignal1++; + if (kcountHFpositivedirectionRecosignal1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignal1) delete h2CeffHFpositivedirectionRecosignal1; - + if (h2CeffHFpositivedirectionRecosignal1) + delete h2CeffHFpositivedirectionRecosignal1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionRecosignal2=1; - TH1F* h2CeffHFpositivedirectionRecosignal2 = new TH1F("h2CeffHFpositivedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFpositivedirectionRecosignal2 = "<SetMarkerColor(2);HFpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignal2 == 1) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 2) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 3) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 4) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 5) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 6) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 7) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 8) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 9) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==10) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==11) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==12) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==13) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionRecosignal2->Draw("Error"); - kcountHFpositivedirectionRecosignal2++; - if(kcountHFpositivedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignal2 = 1; + TH1F* h2CeffHFpositivedirectionRecosignal2 = new TH1F("h2CeffHFpositivedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFpositivedirectionRecosignal2 = "<SetMarkerColor(2); + HFpositivedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignal2 == 1) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 2) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 3) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 4) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 5) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 6) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 7) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 8) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 9) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 10) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 11) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 12) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 13) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignal2->Draw("Error"); + kcountHFpositivedirectionRecosignal2++; + if (kcountHFpositivedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignal2) delete h2CeffHFpositivedirectionRecosignal2; + if (h2CeffHFpositivedirectionRecosignal2) + delete h2CeffHFpositivedirectionRecosignal2; - //========================================================================================== 1111114 + //========================================================================================== 1111114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionRecosignal1=1; - TH1F* h2CeffHFnegativedirectionRecosignal1 = new TH1F("h2CeffHFnegativedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFnegativedirectionRecosignal1 = "<SetMarkerColor(2);HFnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignal1 == 1) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 2) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 3) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 4) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 5) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 6) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 7) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 8) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 9) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==10) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==11) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==12) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==13) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionRecosignal1->Draw("Error"); - kcountHFnegativedirectionRecosignal1++; - if(kcountHFnegativedirectionRecosignal1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFnegativedirectionRecosignal1 = (TH1F*)h2CeffHFnegativedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFnegativedirectionRecosignal1 = "<SetMarkerColor(2); + HFnegativedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignal1 == 1) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 2) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 3) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 4) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 5) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 6) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 7) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 8) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 9) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 10) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 11) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 12) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 13) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignal1->Draw("Error"); + kcountHFnegativedirectionRecosignal1++; + if (kcountHFnegativedirectionRecosignal1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignal1) delete h2CeffHFnegativedirectionRecosignal1; - + if (h2CeffHFnegativedirectionRecosignal1) + delete h2CeffHFnegativedirectionRecosignal1; - //========================================================================================== 1111115 + //========================================================================================== 1111115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionRecosignal2=1; - TH1F* h2CeffHFnegativedirectionRecosignal2 = new TH1F("h2CeffHFnegativedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFnegativedirectionRecosignal2 = "<SetMarkerColor(2);HFnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignal2 == 1) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 2) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 3) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 4) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 5) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 6) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 7) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 8) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 9) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==10) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==11) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==12) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==13) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); - HFnegativedirectionRecosignal2->Draw("Error"); - kcountHFnegativedirectionRecosignal2++; - if(kcountHFnegativedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignal2 = 1; + TH1F* h2CeffHFnegativedirectionRecosignal2 = new TH1F("h2CeffHFnegativedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFnegativedirectionRecosignal2 = "<SetMarkerColor(2); + HFnegativedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignal2 == 1) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 2) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 3) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 4) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 5) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 6) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 7) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 8) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 9) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 10) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 11) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 12) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 13) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionRecosignal2->Draw("Error"); + kcountHFnegativedirectionRecosignal2++; + if (kcountHFnegativedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignal2) delete h2CeffHFnegativedirectionRecosignal2; + if (h2CeffHFnegativedirectionRecosignal2) + delete h2CeffHFnegativedirectionRecosignal2; //====================================================================================================================== //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HF1"); - TH2F *recosignalVariance0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HF1"); + TH2F* recosignalVariance0HF1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); TH2F* recosignalVarianceHF1 = (TH2F*)recosignalVariance1HF1->Clone("recosignalVarianceHF1"); - recosignalVarianceHF1->Divide(recosignalVariance1HF1,recosignalVariance0HF1, 1, 1, "B"); - TH2F *recosignalVariance1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HF2"); - TH2F *recosignalVariance0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + recosignalVarianceHF1->Divide(recosignalVariance1HF1, recosignalVariance0HF1, 1, 1, "B"); + TH2F* recosignalVariance1HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HF2"); + TH2F* recosignalVariance0HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); TH2F* recosignalVarianceHF2 = (TH2F*)recosignalVariance1HF2->Clone("recosignalVarianceHF2"); - recosignalVarianceHF2->Divide(recosignalVariance1HF2,recosignalVariance0HF2, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHF - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - recosignalvarianceHF[1][jeta][jphi] = recosignalVarianceHF2->GetBinContent(jeta+1,jphi+1); - if(recosignalvarianceHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += recosignalvarianceHF[0][jeta][jphi];++nsumrecosignalHF0;} - if(recosignalvarianceHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += recosignalvarianceHF[1][jeta][jphi];++nsumrecosignalHF1;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) recosignalvarianceHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; - if(recosignalvarianceHF[1][jeta][jphi] > 0.) recosignalvarianceHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; - }// phi - // recosignalvarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive recosignalvarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumrecosignalHF0 = 0; + int nsumrecosignalHF0 = 0; + double sumrecosignalHF1 = 0; + int nsumrecosignalHF1 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + recosignalvarianceHF[0][jeta][jphi] = recosignalVarianceHF1->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHF[1][jeta][jphi] = recosignalVarianceHF2->GetBinContent(jeta + 1, jphi + 1); + if (recosignalvarianceHF[0][jeta][jphi] > 0.) { + sumrecosignalHF0 += recosignalvarianceHF[0][jeta][jphi]; + ++nsumrecosignalHF0; } - //cout<<" Vaiance: DONE*****" < 0.) { + sumrecosignalHF1 += recosignalvarianceHF[1][jeta][jphi]; + ++nsumrecosignalHF1; + } + } // phi + // PHI normalization : + for (int jphi = 0; jphi < njphi; jphi++) { + if (recosignalvarianceHF[0][jeta][jphi] > 0.) + recosignalvarianceHF[0][jeta][jphi] /= (sumrecosignalHF0 / nsumrecosignalHF0); + if (recosignalvarianceHF[1][jeta][jphi] > 0.) + recosignalvarianceHF[1][jeta][jphi] /= (sumrecosignalHF1 / nsumrecosignalHF1); + } // phi + // recosignalvarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDrecosignalHF42D = new TH2F("DefzDrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHF42D0 = new TH2F("DefzDrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHF42DF = (TH2F*)DefzDrecosignalHF42D0->Clone("DefzDrecosignalHF42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(arecosignalHF[i][jeta][jphi]>0.) {DefzDrecosignalHF42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHF42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDrecosignalHF42DF->Divide(DefzDrecosignalHF42D,DefzDrecosignalHF42D0, 1, 1, "B");// average A - // DefzDrecosignalHF1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHF42DF->SetMarkerStyle(20); DefzDrecosignalHF42DF->SetMarkerSize(0.4); DefzDrecosignalHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHF42DF->SetYTitle(" #phi \b"); DefzDrecosignalHF42DF->SetZTitle("_depth \b"); DefzDrecosignalHF42DF->SetMarkerColor(2); DefzDrecosignalHF42DF->SetLineColor(0); // DefzDrecosignalHF42DF->SetMaximum(1.000); // DefzDrecosignalHF42DF->SetMinimum(1.0); - DefzDrecosignalHF42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DrecosignalGeneralD2PhiSymmetryHF.png"); - c1x0->Clear(); - // clean-up - if (DefzDrecosignalHF42D) delete DefzDrecosignalHF42D; - if (DefzDrecosignalHF42D0) delete DefzDrecosignalHF42D0; - if (DefzDrecosignalHF42DF) delete DefzDrecosignalHF42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDrecosignalHF42D = new TH2F("DefzDrecosignalHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHF42D0 = new TH2F("DefzDrecosignalHF42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHF42DF = (TH2F*)DefzDrecosignalHF42D0->Clone("DefzDrecosignalHF42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (arecosignalHF[i][jeta][jphi] > 0.) { + DefzDrecosignalHF42D->Fill(kkk, jphi, ccc1); + DefzDrecosignalHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDrecosignalHF42DF->Divide(DefzDrecosignalHF42D, DefzDrecosignalHF42D0, 1, 1, "B"); // average A + // DefzDrecosignalHF1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF42DF->SetMarkerStyle(20); + DefzDrecosignalHF42DF->SetMarkerSize(0.4); + DefzDrecosignalHF42DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHF42DF->SetXTitle("_depth #eta \b"); + DefzDrecosignalHF42DF->SetYTitle(" #phi \b"); + DefzDrecosignalHF42DF->SetZTitle("_depth \b"); + DefzDrecosignalHF42DF->SetMarkerColor(2); + DefzDrecosignalHF42DF->SetLineColor( + 0); // DefzDrecosignalHF42DF->SetMaximum(1.000); // DefzDrecosignalHF42DF->SetMinimum(1.0); + DefzDrecosignalHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHF42D) + delete DefzDrecosignalHF42D; + if (DefzDrecosignalHF42D0) + delete DefzDrecosignalHF42D0; + if (DefzDrecosignalHF42DF) + delete DefzDrecosignalHF42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDrecosignalHF41D = new TH1F("DefzDrecosignalHF41D","", nphi, 0., 72. ); - TH1F* DefzDrecosignalHF41D0 = new TH1F("DefzDrecosignalHF41D0","",nphi, 0., 72. ); - TH1F* DefzDrecosignalHF41DF = (TH1F*)DefzDrecosignalHF41D0->Clone("DefzDrecosignalHF41DF"); - - for (int jphi=0;jphi0.) {DefzDrecosignalHF41D ->Fill(jphi,ccc1); DefzDrecosignalHF41D0 ->Fill(jphi,1.); } - }}} - // DefzDrecosignalHF41D->Sumw2();DefzDrecosignalHF41D0->Sumw2(); - - DefzDrecosignalHF41DF->Divide(DefzDrecosignalHF41D,DefzDrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDrecosignalHF41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHF41DF->SetMarkerStyle(20); DefzDrecosignalHF41DF->SetMarkerSize(1.4); DefzDrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF41DF->SetXTitle("#phi \b"); DefzDrecosignalHF41DF->SetYTitle(" \b"); DefzDrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHF41DF->SetMarkerColor(4); DefzDrecosignalHF41DF->SetLineColor(4);// DefzDrecosignalHF41DF->SetMinimum(0.8); DefzDrecosignalHF41DF->SetMinimum(-0.015); - DefzDrecosignalHF41DF->Draw("Error"); + TH1F* DefzDrecosignalHF41D = new TH1F("DefzDrecosignalHF41D", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHF41D0 = new TH1F("DefzDrecosignalHF41D0", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHF41DF = (TH1F*)DefzDrecosignalHF41D0->Clone("DefzDrecosignalHF41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + DefzDrecosignalHF41D->Fill(jphi, ccc1); + DefzDrecosignalHF41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDrecosignalHF41D->Sumw2();DefzDrecosignalHF41D0->Sumw2(); + + DefzDrecosignalHF41DF->Divide( + DefzDrecosignalHF41D, DefzDrecosignalHF41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDrecosignalHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF41DF->SetMarkerStyle(20); + DefzDrecosignalHF41DF->SetMarkerSize(1.4); + DefzDrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHF41DF->SetXTitle("#phi \b"); + DefzDrecosignalHF41DF->SetYTitle(" \b"); + DefzDrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDrecosignalHF41DF->SetMarkerColor(4); + DefzDrecosignalHF41DF->SetLineColor( + 4); // DefzDrecosignalHF41DF->SetMinimum(0.8); DefzDrecosignalHF41DF->SetMinimum(-0.015); + DefzDrecosignalHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DrecosignalGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (DefzDrecosignalHF41D) delete DefzDrecosignalHF41D; - if (DefzDrecosignalHF41D0) delete DefzDrecosignalHF41D0; - if (DefzDrecosignalHF41DF) delete DefzDrecosignalHF41DF; - //========================================================================================== 14 + if (DefzDrecosignalHF41D) + delete DefzDrecosignalHF41D; + if (DefzDrecosignalHF41D0) + delete DefzDrecosignalHF41D0; + if (DefzDrecosignalHF41DF) + delete DefzDrecosignalHF41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionRecosignalD1=1; - TH1F* h2CeffHFpositivedirectionRecosignalD1 = new TH1F("h2CeffHFpositivedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignalD1 == 1) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 2) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 3) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 4) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 5) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 6) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 7) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 8) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 9) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==10) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==11) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==12) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==13) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionRecosignalD1->Draw("Error"); - kcountHFpositivedirectionRecosignalD1++; - if(kcountHFpositivedirectionRecosignalD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignalD1 = 1; + TH1F* h2CeffHFpositivedirectionRecosignalD1 = new TH1F("h2CeffHFpositivedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFpositivedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFpositivedirectionRecosignalD1 = "<SetMarkerColor(2); + HFpositivedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignalD1 == 1) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 2) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 3) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 4) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 5) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 6) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 7) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 8) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 9) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 10) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 11) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 12) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 13) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignalD1->Draw("Error"); + kcountHFpositivedirectionRecosignalD1++; + if (kcountHFpositivedirectionRecosignalD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignalD1) delete h2CeffHFpositivedirectionRecosignalD1; - //========================================================================================== 15 + if (h2CeffHFpositivedirectionRecosignalD1) + delete h2CeffHFpositivedirectionRecosignalD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionRecosignalD2=1; - TH1F* h2CeffHFpositivedirectionRecosignalD2 = new TH1F("h2CeffHFpositivedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignalD2 == 1) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 2) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 3) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 4) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 5) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 6) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 7) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 8) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 9) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==10) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==11) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==12) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==13) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionRecosignalD2->Draw("Error"); - kcountHFpositivedirectionRecosignalD2++; - if(kcountHFpositivedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignalD2 = 1; + TH1F* h2CeffHFpositivedirectionRecosignalD2 = new TH1F("h2CeffHFpositivedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFpositivedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFpositivedirectionRecosignalD2 = "<SetMarkerColor(2); + HFpositivedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignalD2 == 1) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 2) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 3) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 4) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 5) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 6) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 7) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 8) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 9) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 10) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 11) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 12) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 13) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignalD2->Draw("Error"); + kcountHFpositivedirectionRecosignalD2++; + if (kcountHFpositivedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignalD2) delete h2CeffHFpositivedirectionRecosignalD2; - //========================================================================================== 22222214 + if (h2CeffHFpositivedirectionRecosignalD2) + delete h2CeffHFpositivedirectionRecosignalD2; + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionRecosignalD1=1; - TH1F* h2CeffHFnegativedirectionRecosignalD1 = new TH1F("h2CeffHFnegativedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignalD1 == 1) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 2) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 3) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 4) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 5) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 6) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 7) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 8) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 9) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==10) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==11) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==12) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==13) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionRecosignalD1->Draw("Error"); - kcountHFnegativedirectionRecosignalD1++; - if(kcountHFnegativedirectionRecosignalD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignalD1 = 1; + TH1F* h2CeffHFnegativedirectionRecosignalD1 = new TH1F("h2CeffHFnegativedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFnegativedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFnegativedirectionRecosignalD1 = "<SetMarkerColor(2); + HFnegativedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignalD1 == 1) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 2) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 3) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 4) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 5) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 6) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 7) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 8) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 9) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 10) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 11) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 12) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 13) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignalD1->Draw("Error"); + kcountHFnegativedirectionRecosignalD1++; + if (kcountHFnegativedirectionRecosignalD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignalD1) delete h2CeffHFnegativedirectionRecosignalD1; - //========================================================================================== 22222215 + if (h2CeffHFnegativedirectionRecosignalD1) + delete h2CeffHFnegativedirectionRecosignalD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionRecosignalD2=1; - TH1F* h2CeffHFnegativedirectionRecosignalD2 = new TH1F("h2CeffHFnegativedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignalD2 == 1) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 2) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 3) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 4) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 5) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 6) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 7) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 8) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 9) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==10) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==11) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==12) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==13) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); - HFnegativedirectionRecosignalD2->Draw("Error"); - kcountHFnegativedirectionRecosignalD2++; - if(kcountHFnegativedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignalD2 = 1; + TH1F* h2CeffHFnegativedirectionRecosignalD2 = new TH1F("h2CeffHFnegativedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFnegativedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFnegativedirectionRecosignalD2 = "<SetMarkerColor(2); + HFnegativedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignalD2 == 1) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 2) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 3) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 4) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 5) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 6) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 7) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 8) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 9) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 10) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 11) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 12) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 13) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionRecosignalD2->Draw("Error"); + kcountHFnegativedirectionRecosignalD2++; + if (kcountHFnegativedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignalD2) delete h2CeffHFnegativedirectionRecosignalD2; + if (h2CeffHFnegativedirectionRecosignalD2) + delete h2CeffHFnegativedirectionRecosignalD2; //===================================================================== END of Recosignal HF for phi-symmetry //===================================================================== END of Recosignal HF for phi-symmetry @@ -3895,620 +5360,890 @@ main(int argc, char *argv[]){ //============================================================================================================ END of Recosignal for phi-symmetry //============================================================================================================ END of Recosignal for phi-symmetry -////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start -////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start -////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start + ////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start + ////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start + ////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 4; - double areconoiseHB[ndepth][njeta][njphi]; - double breconoiseHB[ndepth][njeta][njphi]; - double reconoisevarianceHB[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double areconoiseHB[ndepth][njeta][njphi]; + double breconoiseHB[ndepth][njeta][njphi]; + double reconoisevarianceHB[ndepth][njeta][njphi]; // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HB recNoiseEnergy - TH2F *recNoiseEnergy1HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB1"); - TH2F *recNoiseEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + TH2F* recNoiseEnergy1HB1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB1"); + TH2F* recNoiseEnergy0HB1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); TH2F* recNoiseEnergyHB1 = (TH2F*)recNoiseEnergy1HB1->Clone("recNoiseEnergyHB1"); - recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1,recNoiseEnergy0HB1, 1, 1, "B"); - TH2F *recNoiseEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB2"); - TH2F *recNoiseEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1, recNoiseEnergy0HB1, 1, 1, "B"); + TH2F* recNoiseEnergy1HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB2"); + TH2F* recNoiseEnergy0HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); TH2F* recNoiseEnergyHB2 = (TH2F*)recNoiseEnergy1HB2->Clone("recNoiseEnergyHB2"); - recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2,recNoiseEnergy0HB2, 1, 1, "B"); - TH2F *recNoiseEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB3"); - TH2F *recNoiseEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2, recNoiseEnergy0HB2, 1, 1, "B"); + TH2F* recNoiseEnergy1HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB3"); + TH2F* recNoiseEnergy0HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); TH2F* recNoiseEnergyHB3 = (TH2F*)recNoiseEnergy1HB3->Clone("recNoiseEnergyHB3"); - recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3,recNoiseEnergy0HB3, 1, 1, "B"); - TH2F *recNoiseEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB4"); - TH2F *recNoiseEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3, recNoiseEnergy0HB3, 1, 1, "B"); + TH2F* recNoiseEnergy1HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB4"); + TH2F* recNoiseEnergy0HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); TH2F* recNoiseEnergyHB4 = (TH2F*)recNoiseEnergy1HB4->Clone("recNoiseEnergyHB4"); - recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4,recNoiseEnergy0HB4, 1, 1, "B"); - for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4, recNoiseEnergy0HB4, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { //====================================================================== PHI normalization & put R into massive areconoiseHB //preparation for PHI normalization: - double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - areconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); - areconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); - areconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); - breconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta+1,jphi+1); - breconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); - breconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); - breconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); - if(areconoiseHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += areconoiseHB[0][jeta][jphi];++nsumreconoiseHB0;} - if(areconoiseHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += areconoiseHB[1][jeta][jphi];++nsumreconoiseHB1;} - if(areconoiseHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += areconoiseHB[2][jeta][jphi];++nsumreconoiseHB2;} - if(areconoiseHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += areconoiseHB[3][jeta][jphi];++nsumreconoiseHB3;} - }// phi + double sumreconoiseHB0 = 0; + int nsumreconoiseHB0 = 0; + double sumreconoiseHB1 = 0; + int nsumreconoiseHB1 = 0; + double sumreconoiseHB2 = 0; + int nsumreconoiseHB2 = 0; + double sumreconoiseHB3 = 0; + int nsumreconoiseHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + areconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta + 1, jphi + 1); + areconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta + 1, jphi + 1); + areconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta + 1, jphi + 1); + areconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta + 1, jphi + 1); + if (areconoiseHB[0][jeta][jphi] != 0.) { + sumreconoiseHB0 += areconoiseHB[0][jeta][jphi]; + ++nsumreconoiseHB0; + } + if (areconoiseHB[1][jeta][jphi] != 0.) { + sumreconoiseHB1 += areconoiseHB[1][jeta][jphi]; + ++nsumreconoiseHB1; + } + if (areconoiseHB[2][jeta][jphi] != 0.) { + sumreconoiseHB2 += areconoiseHB[2][jeta][jphi]; + ++nsumreconoiseHB2; + } + if (areconoiseHB[3][jeta][jphi] != 0.) { + sumreconoiseHB3 += areconoiseHB[3][jeta][jphi]; + ++nsumreconoiseHB3; + } + } // phi // PHI normalization: DIF - for(int jphi=0;jphiClear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRreconoiseHB42D = new TH2F("GefzRreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRreconoiseHB42D0 = new TH2F("GefzRreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHB42D = new TH2F("GefzRreconoiseHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRreconoiseHB42D0 = new TH2F("GefzRreconoiseHB42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRreconoiseHB42DF = (TH2F*)GefzRreconoiseHB42D0->Clone("GefzRreconoiseHB42DF"); - for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHB42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzRreconoiseHB42DF->Divide(GefzRreconoiseHB42D,GefzRreconoiseHB42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHB42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRreconoiseHB42D->Fill(kkk, jphi, ccc1); + GefzRreconoiseHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzRreconoiseHB42DF->Divide(GefzRreconoiseHB42D, GefzRreconoiseHB42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB42DF->SetXTitle("_depth #eta \b"); + GefzRreconoiseHB42DF->SetYTitle(" #phi \b"); GefzRreconoiseHB42DF->Draw("COLZ"); - c2x1->cd(2); - TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); - energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); - - + TH1F* energyhitNoise_HB = (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); + energyhitNoise_HB->SetMarkerStyle(20); + energyhitNoise_HB->SetMarkerSize(0.4); + energyhitNoise_HB->GetYaxis()->SetLabelSize(0.04); + energyhitNoise_HB->SetXTitle("energyhitNoise_HB \b"); + energyhitNoise_HB->SetMarkerColor(2); + energyhitNoise_HB->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitNoise_HB->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RreconoiseGeneralD2PhiSymmetryHB.png"); c2x1->Clear(); // clean-up - if (GefzRreconoiseHB42D) delete GefzRreconoiseHB42D; - if (GefzRreconoiseHB42D0) delete GefzRreconoiseHB42D0; - if (GefzRreconoiseHB42DF) delete GefzRreconoiseHB42DF; + if (GefzRreconoiseHB42D) + delete GefzRreconoiseHB42D; + if (GefzRreconoiseHB42D0) + delete GefzRreconoiseHB42D0; + if (GefzRreconoiseHB42DF) + delete GefzRreconoiseHB42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRreconoiseHB41D = new TH1F("GefzRreconoiseHB41D","", nphi, 0., 72. ); - TH1F* GefzRreconoiseHB41D0 = new TH1F("GefzRreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHB41D = new TH1F("GefzRreconoiseHB41D", "", nphi, 0., 72.); + TH1F* GefzRreconoiseHB41D0 = new TH1F("GefzRreconoiseHB41D0", "", nphi, 0., 72.); TH1F* GefzRreconoiseHB41DF = (TH1F*)GefzRreconoiseHB41D0->Clone("GefzRreconoiseHB41DF"); - for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHB41D0 ->Fill(jphi,1.); } - }}}} - GefzRreconoiseHB41DF->Divide(GefzRreconoiseHB41D,GefzRreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRreconoiseHB41D->Fill(jphi, ccc1); + GefzRreconoiseHB41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzRreconoiseHB41DF->Divide(GefzRreconoiseHB41D, GefzRreconoiseHB41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRreconoiseHB41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHB41DF->SetMarkerStyle(20); GefzRreconoiseHB41DF->SetMarkerSize(1.4); GefzRreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHB41DF->SetXTitle("#phi \b"); GefzRreconoiseHB41DF->SetYTitle(" \b"); GefzRreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHB41DF->SetMarkerColor(4); GefzRreconoiseHB41DF->SetLineColor(4);//GefzRreconoiseHB41DF->SetMinimum(0.8); // GefzRreconoiseHB41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB41DF->SetMarkerStyle(20); + GefzRreconoiseHB41DF->SetMarkerSize(1.4); + GefzRreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); + GefzRreconoiseHB41DF->SetXTitle("#phi \b"); + GefzRreconoiseHB41DF->SetYTitle(" \b"); + GefzRreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRreconoiseHB41DF->SetMarkerColor(4); + GefzRreconoiseHB41DF->SetLineColor( + 4); //GefzRreconoiseHB41DF->SetMinimum(0.8); // GefzRreconoiseHB41DF->SetMaximum(1.000); GefzRreconoiseHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RreconoiseGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (GefzRreconoiseHB41D) delete GefzRreconoiseHB41D; - if (GefzRreconoiseHB41D0) delete GefzRreconoiseHB41D0; - if (GefzRreconoiseHB41DF) delete GefzRreconoiseHB41DF; - //========================================================================================== 4 + if (GefzRreconoiseHB41D) + delete GefzRreconoiseHB41D; + if (GefzRreconoiseHB41D0) + delete GefzRreconoiseHB41D0; + if (GefzRreconoiseHB41DF) + delete GefzRreconoiseHB41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoise1=1; - TH1F* h2CeffHBpositivedirectionReconoise1 = new TH1F("h2CeffHBpositivedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + if (jeta - 41 >= 0 && jeta - 41 <= 15) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBpositivedirectionReconoise1 = "<SetMarkerColor(2);HBpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise1 == 1) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 2) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 3) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 4) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 5) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 6) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 7) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 8) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 9) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==10) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==11) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==12) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==13) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==14) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==15) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==16) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionReconoise1->Draw("Error"); - kcountHBpositivedirectionReconoise1++; - if(kcountHBpositivedirectionReconoise1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBpositivedirectionReconoise1 = (TH1F*)h2CeffHBpositivedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBpositivedirectionReconoise1 = "<SetMarkerColor(2); + HBpositivedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise1 == 1) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 2) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 3) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 4) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 5) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 6) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 7) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 8) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 9) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 10) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 11) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 12) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 13) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 14) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 15) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 16) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoise1->Draw("Error"); + kcountHBpositivedirectionReconoise1++; + if (kcountHBpositivedirectionReconoise1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise1) delete h2CeffHBpositivedirectionReconoise1; - + if (h2CeffHBpositivedirectionReconoise1) + delete h2CeffHBpositivedirectionReconoise1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoise2=1; - TH1F* h2CeffHBpositivedirectionReconoise2 = new TH1F("h2CeffHBpositivedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBpositivedirectionReconoise2 = "<SetMarkerColor(2);HBpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise2 == 1) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 2) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 3) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 4) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 5) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 6) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 7) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 8) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 9) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==10) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==11) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==12) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==13) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==14) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==15) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==16) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionReconoise2->Draw("Error"); - kcountHBpositivedirectionReconoise2++; - if(kcountHBpositivedirectionReconoise2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise2 = 1; + TH1F* h2CeffHBpositivedirectionReconoise2 = new TH1F("h2CeffHBpositivedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBpositivedirectionReconoise2 = "<SetMarkerColor(2); + HBpositivedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise2 == 1) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 2) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 3) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 4) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 5) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 6) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 7) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 8) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 9) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 10) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 11) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 12) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 13) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 14) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 15) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 16) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoise2->Draw("Error"); + kcountHBpositivedirectionReconoise2++; + if (kcountHBpositivedirectionReconoise2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise2) delete h2CeffHBpositivedirectionReconoise2; - //========================================================================================== 6 + if (h2CeffHBpositivedirectionReconoise2) + delete h2CeffHBpositivedirectionReconoise2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoise3=1; - TH1F* h2CeffHBpositivedirectionReconoise3 = new TH1F("h2CeffHBpositivedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBpositivedirectionReconoise3 = "<SetMarkerColor(2);HBpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise3 == 1) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 2) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 3) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 4) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 5) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 6) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 7) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 8) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 9) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==10) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==11) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==12) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==13) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==14) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==15) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==16) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionReconoise3->Draw("Error"); - kcountHBpositivedirectionReconoise3++; - if(kcountHBpositivedirectionReconoise3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise3 = 1; + TH1F* h2CeffHBpositivedirectionReconoise3 = new TH1F("h2CeffHBpositivedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBpositivedirectionReconoise3 = "<SetMarkerColor(2); + HBpositivedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise3 == 1) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 2) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 3) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 4) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 5) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 6) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 7) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 8) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 9) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 10) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 11) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 12) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 13) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 14) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 15) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 16) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoise3->Draw("Error"); + kcountHBpositivedirectionReconoise3++; + if (kcountHBpositivedirectionReconoise3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise3) delete h2CeffHBpositivedirectionReconoise3; - //========================================================================================== 7 + if (h2CeffHBpositivedirectionReconoise3) + delete h2CeffHBpositivedirectionReconoise3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoise4=1; - TH1F* h2CeffHBpositivedirectionReconoise4 = new TH1F("h2CeffHBpositivedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBpositivedirectionReconoise4 = "<SetMarkerColor(2);HBpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise4 == 1) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 2) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 3) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 4) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 5) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 6) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 7) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 8) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 9) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==10) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==11) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==12) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==13) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==14) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==15) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==16) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionReconoise4->Draw("Error"); - kcountHBpositivedirectionReconoise4++; - if(kcountHBpositivedirectionReconoise4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise4 = 1; + TH1F* h2CeffHBpositivedirectionReconoise4 = new TH1F("h2CeffHBpositivedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBpositivedirectionReconoise4 = "<SetMarkerColor(2); + HBpositivedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise4 == 1) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 2) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 3) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 4) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 5) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 6) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 7) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 8) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 9) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 10) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 11) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 12) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 13) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 14) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 15) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 16) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoise4->Draw("Error"); + kcountHBpositivedirectionReconoise4++; + if (kcountHBpositivedirectionReconoise4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise4) delete h2CeffHBpositivedirectionReconoise4; + if (h2CeffHBpositivedirectionReconoise4) + delete h2CeffHBpositivedirectionReconoise4; - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoise1=1; - TH1F* h2CeffHBnegativedirectionReconoise1 = new TH1F("h2CeffHBnegativedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + if (jeta - 41 >= -16 && jeta - 41 <= -1) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBnegativedirectionReconoise1 = "<SetMarkerColor(2);HBnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise1 == 1) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 2) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 3) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 4) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 5) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 6) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 7) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 8) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 9) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==10) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==11) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==12) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==13) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==14) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==15) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==16) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionReconoise1->Draw("Error"); - kcountHBnegativedirectionReconoise1++; - if(kcountHBnegativedirectionReconoise1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBnegativedirectionReconoise1 = (TH1F*)h2CeffHBnegativedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBnegativedirectionReconoise1 = "<SetMarkerColor(2); + HBnegativedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise1 == 1) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 2) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 3) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 4) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 5) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 6) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 7) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 8) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 9) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 10) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 11) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 12) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 13) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 14) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 15) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 16) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoise1->Draw("Error"); + kcountHBnegativedirectionReconoise1++; + if (kcountHBnegativedirectionReconoise1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise1) delete h2CeffHBnegativedirectionReconoise1; - + if (h2CeffHBnegativedirectionReconoise1) + delete h2CeffHBnegativedirectionReconoise1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoise2=1; - TH1F* h2CeffHBnegativedirectionReconoise2 = new TH1F("h2CeffHBnegativedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBnegativedirectionReconoise2 = "<SetMarkerColor(2);HBnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise2 == 1) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 2) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 3) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 4) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 5) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 6) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 7) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 8) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 9) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==10) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==11) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==12) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==13) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==14) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==15) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==16) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); - HBnegativedirectionReconoise2->Draw("Error"); - kcountHBnegativedirectionReconoise2++; - if(kcountHBnegativedirectionReconoise2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise2 = 1; + TH1F* h2CeffHBnegativedirectionReconoise2 = new TH1F("h2CeffHBnegativedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBnegativedirectionReconoise2 = "<SetMarkerColor(2); + HBnegativedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise2 == 1) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 2) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 3) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 4) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 5) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 6) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 7) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 8) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 9) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 10) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 11) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 12) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 13) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 14) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 15) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 16) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoise2->Draw("Error"); + kcountHBnegativedirectionReconoise2++; + if (kcountHBnegativedirectionReconoise2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise2) delete h2CeffHBnegativedirectionReconoise2; - //========================================================================================== 1116 + if (h2CeffHBnegativedirectionReconoise2) + delete h2CeffHBnegativedirectionReconoise2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoise3=1; - TH1F* h2CeffHBnegativedirectionReconoise3 = new TH1F("h2CeffHBnegativedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBnegativedirectionReconoise3 = "<SetMarkerColor(2);HBnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise3 == 1) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 2) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 3) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 4) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 5) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 6) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 7) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 8) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 9) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==10) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==11) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==12) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==13) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==14) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==15) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==16) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); - - HBnegativedirectionReconoise3->Draw("Error"); - kcountHBnegativedirectionReconoise3++; - if(kcountHBnegativedirectionReconoise3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise3 = 1; + TH1F* h2CeffHBnegativedirectionReconoise3 = new TH1F("h2CeffHBnegativedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBnegativedirectionReconoise3 = "<SetMarkerColor(2); + HBnegativedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise3 == 1) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 2) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 3) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 4) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 5) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 6) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 7) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 8) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 9) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 10) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 11) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 12) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 13) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 14) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 15) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 16) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoise3->Draw("Error"); + kcountHBnegativedirectionReconoise3++; + if (kcountHBnegativedirectionReconoise3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise3) delete h2CeffHBnegativedirectionReconoise3; - //========================================================================================== 1117 + if (h2CeffHBnegativedirectionReconoise3) + delete h2CeffHBnegativedirectionReconoise3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoise4=1; - TH1F* h2CeffHBnegativedirectionReconoise4 = new TH1F("h2CeffHBnegativedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBnegativedirectionReconoise4 = "<SetMarkerColor(2);HBnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise4 == 1) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 2) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 3) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 4) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 5) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 6) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 7) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 8) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 9) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==10) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==11) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==12) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==13) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==14) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==15) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==16) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); - HBnegativedirectionReconoise4->Draw("Error"); - kcountHBnegativedirectionReconoise4++; - if(kcountHBnegativedirectionReconoise4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise4 = 1; + TH1F* h2CeffHBnegativedirectionReconoise4 = new TH1F("h2CeffHBnegativedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBnegativedirectionReconoise4 = "<SetMarkerColor(2); + HBnegativedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise4 == 1) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 2) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 3) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 4) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 5) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 6) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 7) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 8) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 9) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 10) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 11) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 12) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 13) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 14) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 15) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 16) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoise4->Draw("Error"); + kcountHBnegativedirectionReconoise4++; + if (kcountHBnegativedirectionReconoise4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise4) delete h2CeffHBnegativedirectionReconoise4; + if (h2CeffHBnegativedirectionReconoise4) + delete h2CeffHBnegativedirectionReconoise4; //====================================================================================================================== // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HE @@ -4517,2146 +6252,2980 @@ main(int argc, char *argv[]){ //cout<<" R2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzDIFreconoiseHB42D = new TH2F("GefzDIFreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzDIFreconoiseHB42D0 = new TH2F("GefzDIFreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHB42D = new TH2F("GefzDIFreconoiseHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzDIFreconoiseHB42D0 = new TH2F("GefzDIFreconoiseHB42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzDIFreconoiseHB42DF = (TH2F*)GefzDIFreconoiseHB42D0->Clone("GefzDIFreconoiseHB42DF"); - for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzDIFreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHB42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzDIFreconoiseHB42DF->Divide(GefzDIFreconoiseHB42D,GefzDIFreconoiseHB42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHB42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzDIFreconoiseHB42D->Fill(kkk, jphi, ccc1); + GefzDIFreconoiseHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHB42DF->Divide(GefzDIFreconoiseHB42D, GefzDIFreconoiseHB42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB42DF->SetXTitle("_depth #eta \b"); + GefzDIFreconoiseHB42DF->SetYTitle(" #phi \b"); GefzDIFreconoiseHB42DF->Draw("COLZ"); - // c2x1->cd(2); // TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); - // energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); - - + // energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHB.png"); c2x1->Clear(); // clean-up - if (GefzDIFreconoiseHB42D) delete GefzDIFreconoiseHB42D; - if (GefzDIFreconoiseHB42D0) delete GefzDIFreconoiseHB42D0; - if (GefzDIFreconoiseHB42DF) delete GefzDIFreconoiseHB42DF; + if (GefzDIFreconoiseHB42D) + delete GefzDIFreconoiseHB42D; + if (GefzDIFreconoiseHB42D0) + delete GefzDIFreconoiseHB42D0; + if (GefzDIFreconoiseHB42DF) + delete GefzDIFreconoiseHB42DF; //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzDIFreconoiseHB41D = new TH1F("GefzDIFreconoiseHB41D","", nphi, 0., 72. ); - TH1F* GefzDIFreconoiseHB41D0 = new TH1F("GefzDIFreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHB41D = new TH1F("GefzDIFreconoiseHB41D", "", nphi, 0., 72.); + TH1F* GefzDIFreconoiseHB41D0 = new TH1F("GefzDIFreconoiseHB41D0", "", nphi, 0., 72.); TH1F* GefzDIFreconoiseHB41DF = (TH1F*)GefzDIFreconoiseHB41D0->Clone("GefzDIFreconoiseHB41DF"); - for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHB41D0 ->Fill(jphi,1.); } - }}}} - GefzDIFreconoiseHB41DF->Divide(GefzDIFreconoiseHB41D,GefzDIFreconoiseHB41D0, 1, 1, "B");// DIF averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzDIFreconoiseHB41D->Fill(jphi, ccc1); + GefzDIFreconoiseHB41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHB41DF->Divide( + GefzDIFreconoiseHB41D, GefzDIFreconoiseHB41D0, 1, 1, "B"); // DIF averaged over depthfs & eta GefzDIFreconoiseHB41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHB41DF->SetMarkerStyle(20); GefzDIFreconoiseHB41DF->SetMarkerSize(1.4); GefzDIFreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHB41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHB41DF->SetYTitle(" \b"); GefzDIFreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHB41DF->SetMarkerColor(4); GefzDIFreconoiseHB41DF->SetLineColor(4);//GefzDIFreconoiseHB41DF->SetMinimum(0.8); // GefzDIFreconoiseHB41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB41DF->SetMarkerStyle(20); + GefzDIFreconoiseHB41DF->SetMarkerSize(1.4); + GefzDIFreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); + GefzDIFreconoiseHB41DF->SetXTitle("#phi \b"); + GefzDIFreconoiseHB41DF->SetYTitle(" \b"); + GefzDIFreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzDIFreconoiseHB41DF->SetMarkerColor(4); + GefzDIFreconoiseHB41DF->SetLineColor( + 4); //GefzDIFreconoiseHB41DF->SetMinimum(0.8); // GefzDIFreconoiseHB41DF->SetMaximum(1.000); GefzDIFreconoiseHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (GefzDIFreconoiseHB41D) delete GefzDIFreconoiseHB41D; - if (GefzDIFreconoiseHB41D0) delete GefzDIFreconoiseHB41D0; - if (GefzDIFreconoiseHB41DF) delete GefzDIFreconoiseHB41DF; - //========================================================================================== 4 + if (GefzDIFreconoiseHB41D) + delete GefzDIFreconoiseHB41D; + if (GefzDIFreconoiseHB41D0) + delete GefzDIFreconoiseHB41D0; + if (GefzDIFreconoiseHB41DF) + delete GefzDIFreconoiseHB41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF1=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + if (jeta - 41 >= 0 && jeta - 41 <= 15) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF1 == 1) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 2) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 3) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 4) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 5) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 6) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 7) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 8) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 9) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==10) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==11) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==12) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==13) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==14) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==15) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==16) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionReconoiseDIF1->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF1++; - if(kcountHBpositivedirectionReconoiseDIF1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBpositivedirectionReconoiseDIF1 = (TH1F*)h2CeffHBpositivedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF1 == 1) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 2) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 3) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 4) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 5) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 6) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 7) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 8) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 9) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 10) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 11) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 12) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 13) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 14) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 15) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 16) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF1++; + if (kcountHBpositivedirectionReconoiseDIF1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF1) delete h2CeffHBpositivedirectionReconoiseDIF1; - + if (h2CeffHBpositivedirectionReconoiseDIF1) + delete h2CeffHBpositivedirectionReconoiseDIF1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF2=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF2 == 1) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 2) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 3) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 4) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 5) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 6) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 7) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 8) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 9) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==10) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==11) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==12) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==13) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==14) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==15) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==16) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionReconoiseDIF2->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF2++; - if(kcountHBpositivedirectionReconoiseDIF2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF2 == 1) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 2) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 3) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 4) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 5) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 6) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 7) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 8) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 9) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 10) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 11) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 12) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 13) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 14) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 15) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 16) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF2++; + if (kcountHBpositivedirectionReconoiseDIF2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF2) delete h2CeffHBpositivedirectionReconoiseDIF2; - //========================================================================================== 6 + if (h2CeffHBpositivedirectionReconoiseDIF2) + delete h2CeffHBpositivedirectionReconoiseDIF2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF3=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF3 == 1) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 2) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 3) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 4) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 5) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 6) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 7) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 8) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 9) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==10) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==11) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==12) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==13) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==14) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==15) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==16) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionReconoiseDIF3->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF3++; - if(kcountHBpositivedirectionReconoiseDIF3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF3 == 1) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 2) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 3) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 4) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 5) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 6) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 7) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 8) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 9) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 10) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 11) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 12) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 13) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 14) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 15) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 16) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF3++; + if (kcountHBpositivedirectionReconoiseDIF3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF3) delete h2CeffHBpositivedirectionReconoiseDIF3; - //========================================================================================== 7 + if (h2CeffHBpositivedirectionReconoiseDIF3) + delete h2CeffHBpositivedirectionReconoiseDIF3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF4=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF4 == 1) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 2) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 3) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 4) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 5) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 6) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 7) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 8) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 9) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==10) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==11) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==12) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==13) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==14) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==15) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==16) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionReconoiseDIF4->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF4++; - if(kcountHBpositivedirectionReconoiseDIF4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF4 == 1) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 2) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 3) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 4) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 5) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 6) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 7) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 8) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 9) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 10) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 11) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 12) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 13) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 14) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 15) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 16) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF4++; + if (kcountHBpositivedirectionReconoiseDIF4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF4) delete h2CeffHBpositivedirectionReconoiseDIF4; + if (h2CeffHBpositivedirectionReconoiseDIF4) + delete h2CeffHBpositivedirectionReconoiseDIF4; - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF1=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + if (jeta - 41 >= -16 && jeta - 41 <= -1) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF1 == 1) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 2) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 3) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 4) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 5) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 6) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 7) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 8) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 9) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==10) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==11) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==12) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==13) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==14) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==15) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==16) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionReconoiseDIF1->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF1++; - if(kcountHBnegativedirectionReconoiseDIF1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBnegativedirectionReconoiseDIF1 = (TH1F*)h2CeffHBnegativedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF1 == 1) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 2) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 3) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 4) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 5) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 6) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 7) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 8) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 9) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 10) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 11) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 12) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 13) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 14) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 15) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 16) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF1++; + if (kcountHBnegativedirectionReconoiseDIF1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF1) delete h2CeffHBnegativedirectionReconoiseDIF1; - + if (h2CeffHBnegativedirectionReconoiseDIF1) + delete h2CeffHBnegativedirectionReconoiseDIF1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF2=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF2 == 1) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -16; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 2) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -15; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 3) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -14; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 4) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -13; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 5) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -12; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 6) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -11; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 7) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -10; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 8) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -9; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 9) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -8; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==10) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -7; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==11) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -6; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==12) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -5; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==13) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -4; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==14) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -3; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==15) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -2; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==16) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -1; depth = 2 \b"); - HBnegativedirectionReconoiseDIF2->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF2++; - if(kcountHBnegativedirectionReconoiseDIF2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF2 == 1) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -16; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 2) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -15; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 3) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -14; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 4) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -13; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 5) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -12; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 6) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -11; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 7) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -10; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 8) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -9; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 9) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -8; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 10) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -7; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 11) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -6; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 12) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -5; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 13) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -4; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 14) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -3; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 15) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -2; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 16) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF2++; + if (kcountHBnegativedirectionReconoiseDIF2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF2) delete h2CeffHBnegativedirectionReconoiseDIF2; - //========================================================================================== 1116 + if (h2CeffHBnegativedirectionReconoiseDIF2) + delete h2CeffHBnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF3=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF3 == 1) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -16; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 2) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -15; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 3) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -14; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 4) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -13; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 5) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -12; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 6) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -11; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 7) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -10; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 8) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -9; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 9) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -8; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==10) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -7; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==11) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -6; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==12) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -5; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==13) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -4; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==14) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -3; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==15) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -2; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==16) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -1; depth = 3 \b"); - - HBnegativedirectionReconoiseDIF3->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF3++; - if(kcountHBnegativedirectionReconoiseDIF3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF3 == 1) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -16; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 2) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -15; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 3) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -14; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 4) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -13; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 5) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -12; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 6) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -11; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 7) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -10; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 8) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -9; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 9) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -8; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 10) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -7; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 11) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -6; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 12) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -5; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 13) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -4; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 14) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -3; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 15) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -2; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 16) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF3++; + if (kcountHBnegativedirectionReconoiseDIF3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF3) delete h2CeffHBnegativedirectionReconoiseDIF3; - //========================================================================================== 1117 + if (h2CeffHBnegativedirectionReconoiseDIF3) + delete h2CeffHBnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF4=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF4 == 1) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -16; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 2) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -15; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 3) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -14; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 4) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -13; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 5) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -12; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 6) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -11; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 7) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -10; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 8) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -9; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 9) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -8; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==10) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -7; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==11) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -6; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==12) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -5; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==13) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -4; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==14) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -3; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==15) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -2; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==16) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -1; depth = 4 \b"); - HBnegativedirectionReconoiseDIF4->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF4++; - if(kcountHBnegativedirectionReconoiseDIF4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF4 == 1) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -16; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 2) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -15; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 3) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -14; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 4) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -13; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 5) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -12; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 6) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -11; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 7) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -10; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 8) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -9; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 9) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -8; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 10) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -7; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 11) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -6; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 12) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -5; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 13) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -4; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 14) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -3; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 15) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -2; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 16) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF4++; + if (kcountHBnegativedirectionReconoiseDIF4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF4) delete h2CeffHBnegativedirectionReconoiseDIF4; + if (h2CeffHBnegativedirectionReconoiseDIF4) + delete h2CeffHBnegativedirectionReconoiseDIF4; //====================================================================================================================== //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HB1"); - TH2F *reconoiseVariance0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HB1"); + TH2F* reconoiseVariance0HB1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); TH2F* reconoiseVarianceHB1 = (TH2F*)reconoiseVariance1HB1->Clone("reconoiseVarianceHB1"); - reconoiseVarianceHB1->Divide(reconoiseVariance1HB1,reconoiseVariance0HB1, 1, 1, "B"); - TH2F *reconoiseVariance1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB2"); - TH2F *reconoiseVariance0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + reconoiseVarianceHB1->Divide(reconoiseVariance1HB1, reconoiseVariance0HB1, 1, 1, "B"); + TH2F* reconoiseVariance1HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB2"); + TH2F* reconoiseVariance0HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); TH2F* reconoiseVarianceHB2 = (TH2F*)reconoiseVariance1HB2->Clone("reconoiseVarianceHB2"); - reconoiseVarianceHB2->Divide(reconoiseVariance1HB2,reconoiseVariance0HB2, 1, 1, "B"); - TH2F *reconoiseVariance1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB3"); - TH2F *reconoiseVariance0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + reconoiseVarianceHB2->Divide(reconoiseVariance1HB2, reconoiseVariance0HB2, 1, 1, "B"); + TH2F* reconoiseVariance1HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB3"); + TH2F* reconoiseVariance0HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); TH2F* reconoiseVarianceHB3 = (TH2F*)reconoiseVariance1HB3->Clone("reconoiseVarianceHB3"); - reconoiseVarianceHB3->Divide(reconoiseVariance1HB3,reconoiseVariance0HB3, 1, 1, "B"); - TH2F *reconoiseVariance1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB4"); - TH2F *reconoiseVariance0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + reconoiseVarianceHB3->Divide(reconoiseVariance1HB3, reconoiseVariance0HB3, 1, 1, "B"); + TH2F* reconoiseVariance1HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB4"); + TH2F* reconoiseVariance0HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); TH2F* reconoiseVarianceHB4 = (TH2F*)reconoiseVariance1HB4->Clone("reconoiseVarianceHB4"); - reconoiseVarianceHB4->Divide(reconoiseVariance1HB4,reconoiseVariance0HB4, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHB - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + reconoiseVarianceHB4->Divide(reconoiseVariance1HB4, reconoiseVariance0HB4, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { //preparation for PHI normalization: - double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - reconoisevarianceHB[1][jeta][jphi] = reconoiseVarianceHB2->GetBinContent(jeta+1,jphi+1); - reconoisevarianceHB[2][jeta][jphi] = reconoiseVarianceHB3->GetBinContent(jeta+1,jphi+1); - reconoisevarianceHB[3][jeta][jphi] = reconoiseVarianceHB4->GetBinContent(jeta+1,jphi+1); - if(reconoisevarianceHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += reconoisevarianceHB[0][jeta][jphi];++nsumreconoiseHB0;} - if(reconoisevarianceHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += reconoisevarianceHB[1][jeta][jphi];++nsumreconoiseHB1;} - if(reconoisevarianceHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += reconoisevarianceHB[2][jeta][jphi];++nsumreconoiseHB2;} - if(reconoisevarianceHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += reconoisevarianceHB[3][jeta][jphi];++nsumreconoiseHB3;} - }// phi + double sumreconoiseHB0 = 0; + int nsumreconoiseHB0 = 0; + double sumreconoiseHB1 = 0; + int nsumreconoiseHB1 = 0; + double sumreconoiseHB2 = 0; + int nsumreconoiseHB2 = 0; + double sumreconoiseHB3 = 0; + int nsumreconoiseHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + reconoisevarianceHB[0][jeta][jphi] = reconoiseVarianceHB1->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHB[1][jeta][jphi] = reconoiseVarianceHB2->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHB[2][jeta][jphi] = reconoiseVarianceHB3->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHB[3][jeta][jphi] = reconoiseVarianceHB4->GetBinContent(jeta + 1, jphi + 1); + if (reconoisevarianceHB[0][jeta][jphi] != 0.) { + sumreconoiseHB0 += reconoisevarianceHB[0][jeta][jphi]; + ++nsumreconoiseHB0; + } + if (reconoisevarianceHB[1][jeta][jphi] != 0.) { + sumreconoiseHB1 += reconoisevarianceHB[1][jeta][jphi]; + ++nsumreconoiseHB1; + } + if (reconoisevarianceHB[2][jeta][jphi] != 0.) { + sumreconoiseHB2 += reconoisevarianceHB[2][jeta][jphi]; + ++nsumreconoiseHB2; + } + if (reconoisevarianceHB[3][jeta][jphi] != 0.) { + sumreconoiseHB3 += reconoisevarianceHB[3][jeta][jphi]; + ++nsumreconoiseHB3; + } + } // phi // PHI normalization : - for(int jphi=0;jphiClear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDreconoiseHB42D = new TH2F("DefzDreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHB42D0 = new TH2F("DefzDreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHB42DF = (TH2F*)DefzDreconoiseHB42D0->Clone("DefzDreconoiseHB42DF"); - for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 - if(areconoiseHB[i][jeta][jphi]>0.) {DefzDreconoiseHB42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHB42D0 ->Fill(kkk,jphi,1.); } - }}}} - DefzDreconoiseHB42DF->Divide(DefzDreconoiseHB42D,DefzDreconoiseHB42D0, 1, 1, "B");// average A - // DefzDreconoiseHB1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHB42DF->SetMarkerStyle(20); DefzDreconoiseHB42DF->SetMarkerSize(0.4); DefzDreconoiseHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHB42DF->SetYTitle(" #phi \b"); DefzDreconoiseHB42DF->SetZTitle("_depth \b"); DefzDreconoiseHB42DF->SetMarkerColor(2); DefzDreconoiseHB42DF->SetLineColor(0); // DefzDreconoiseHB42DF->SetMaximum(1.000); // DefzDreconoiseHB42DF->SetMinimum(1.0); - DefzDreconoiseHB42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DreconoiseGeneralD2PhiSymmetryHB.png"); - c1x0->Clear(); - // clean-up - if (DefzDreconoiseHB42D) delete DefzDreconoiseHB42D; - if (DefzDreconoiseHB42D0) delete DefzDreconoiseHB42D0; - if (DefzDreconoiseHB42DF) delete DefzDreconoiseHB42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDreconoiseHB42D = new TH2F("DefzDreconoiseHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHB42D0 = new TH2F("DefzDreconoiseHB42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHB42DF = (TH2F*)DefzDreconoiseHB42D0->Clone("DefzDreconoiseHB42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (areconoiseHB[i][jeta][jphi] > 0.) { + DefzDreconoiseHB42D->Fill(kkk, jphi, ccc1); + DefzDreconoiseHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + DefzDreconoiseHB42DF->Divide(DefzDreconoiseHB42D, DefzDreconoiseHB42D0, 1, 1, "B"); // average A + // DefzDreconoiseHB1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB42DF->SetMarkerStyle(20); + DefzDreconoiseHB42DF->SetMarkerSize(0.4); + DefzDreconoiseHB42DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHB42DF->SetXTitle("_depth #eta \b"); + DefzDreconoiseHB42DF->SetYTitle(" #phi \b"); + DefzDreconoiseHB42DF->SetZTitle("_depth \b"); + DefzDreconoiseHB42DF->SetMarkerColor(2); + DefzDreconoiseHB42DF->SetLineColor( + 0); // DefzDreconoiseHB42DF->SetMaximum(1.000); // DefzDreconoiseHB42DF->SetMinimum(1.0); + DefzDreconoiseHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHB42D) + delete DefzDreconoiseHB42D; + if (DefzDreconoiseHB42D0) + delete DefzDreconoiseHB42D0; + if (DefzDreconoiseHB42DF) + delete DefzDreconoiseHB42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDreconoiseHB41D = new TH1F("DefzDreconoiseHB41D","", nphi, 0., 72. ); - TH1F* DefzDreconoiseHB41D0 = new TH1F("DefzDreconoiseHB41D0","",nphi, 0., 72. ); - TH1F* DefzDreconoiseHB41DF = (TH1F*)DefzDreconoiseHB41D0->Clone("DefzDreconoiseHB41DF"); - - for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int i=0;i0.) {DefzDreconoiseHB41D ->Fill(jphi,ccc1); DefzDreconoiseHB41D0 ->Fill(jphi,1.); } - }}}} - // DefzDreconoiseHB41D->Sumw2();DefzDreconoiseHB41D0->Sumw2(); - - DefzDreconoiseHB41DF->Divide(DefzDreconoiseHB41D,DefzDreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDreconoiseHB41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHB41DF->SetMarkerStyle(20); DefzDreconoiseHB41DF->SetMarkerSize(1.4); DefzDreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB41DF->SetXTitle("#phi \b"); DefzDreconoiseHB41DF->SetYTitle(" \b"); DefzDreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHB41DF->SetMarkerColor(4); DefzDreconoiseHB41DF->SetLineColor(4); //DefzDreconoiseHB41DF->SetMinimum(0.8); DefzDreconoiseHB41DF->SetMinimum(-0.015); - DefzDreconoiseHB41DF->Draw("Error"); + TH1F* DefzDreconoiseHB41D = new TH1F("DefzDreconoiseHB41D", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHB41D0 = new TH1F("DefzDreconoiseHB41D0", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHB41DF = (TH1F*)DefzDreconoiseHB41D0->Clone("DefzDreconoiseHB41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + DefzDreconoiseHB41D->Fill(jphi, ccc1); + DefzDreconoiseHB41D0->Fill(jphi, 1.); + } + } + } + } + } + // DefzDreconoiseHB41D->Sumw2();DefzDreconoiseHB41D0->Sumw2(); + + DefzDreconoiseHB41DF->Divide(DefzDreconoiseHB41D, DefzDreconoiseHB41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB41DF->SetMarkerStyle(20); + DefzDreconoiseHB41DF->SetMarkerSize(1.4); + DefzDreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHB41DF->SetXTitle("#phi \b"); + DefzDreconoiseHB41DF->SetYTitle(" \b"); + DefzDreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDreconoiseHB41DF->SetMarkerColor(4); + DefzDreconoiseHB41DF->SetLineColor( + 4); //DefzDreconoiseHB41DF->SetMinimum(0.8); DefzDreconoiseHB41DF->SetMinimum(-0.015); + DefzDreconoiseHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DreconoiseGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (DefzDreconoiseHB41D) delete DefzDreconoiseHB41D; - if (DefzDreconoiseHB41D0) delete DefzDreconoiseHB41D0; - if (DefzDreconoiseHB41DF) delete DefzDreconoiseHB41DF; + if (DefzDreconoiseHB41D) + delete DefzDreconoiseHB41D; + if (DefzDreconoiseHB41D0) + delete DefzDreconoiseHB41D0; + if (DefzDreconoiseHB41DF) + delete DefzDreconoiseHB41DF; - //========================================================================================== 14 + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD1=1; - TH1F* h2CeffHBpositivedirectionReconoiseD1 = new TH1F("h2CeffHBpositivedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD1 == 1) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 2) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 3) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 4) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 5) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 6) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 7) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 8) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 9) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==10) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==11) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==12) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==13) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==14) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==15) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==16) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionReconoiseD1->Draw("Error"); - kcountHBpositivedirectionReconoiseD1++; - if(kcountHBpositivedirectionReconoiseD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD1 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD1 = new TH1F("h2CeffHBpositivedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBpositivedirectionReconoiseD1 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD1 == 1) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 2) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 3) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 4) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 5) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 6) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 7) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 8) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 9) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 10) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 11) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 12) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 13) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 14) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 15) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 16) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseD1->Draw("Error"); + kcountHBpositivedirectionReconoiseD1++; + if (kcountHBpositivedirectionReconoiseD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD1) delete h2CeffHBpositivedirectionReconoiseD1; - //========================================================================================== 15 + if (h2CeffHBpositivedirectionReconoiseD1) + delete h2CeffHBpositivedirectionReconoiseD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD2=1; - TH1F* h2CeffHBpositivedirectionReconoiseD2 = new TH1F("h2CeffHBpositivedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD2 == 1) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 2) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 3) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 4) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 5) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 6) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 7) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 8) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 9) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==10) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==11) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==12) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==13) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==14) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==15) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==16) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionReconoiseD2->Draw("Error"); - kcountHBpositivedirectionReconoiseD2++; - if(kcountHBpositivedirectionReconoiseD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD2 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD2 = new TH1F("h2CeffHBpositivedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBpositivedirectionReconoiseD2 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD2 == 1) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 2) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 3) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 4) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 5) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 6) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 7) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 8) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 9) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 10) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 11) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 12) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 13) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 14) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 15) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 16) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseD2->Draw("Error"); + kcountHBpositivedirectionReconoiseD2++; + if (kcountHBpositivedirectionReconoiseD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD2) delete h2CeffHBpositivedirectionReconoiseD2; - //========================================================================================== 16 + if (h2CeffHBpositivedirectionReconoiseD2) + delete h2CeffHBpositivedirectionReconoiseD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD3=1; - TH1F* h2CeffHBpositivedirectionReconoiseD3 = new TH1F("h2CeffHBpositivedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD3 == 1) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 2) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 3) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 4) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 5) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 6) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 7) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 8) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 9) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==10) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==11) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==12) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==13) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==14) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==15) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==16) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionReconoiseD3->Draw("Error"); - kcountHBpositivedirectionReconoiseD3++; - if(kcountHBpositivedirectionReconoiseD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD3 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD3 = new TH1F("h2CeffHBpositivedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBpositivedirectionReconoiseD3 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD3 == 1) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 2) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 3) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 4) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 5) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 6) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 7) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 8) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 9) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 10) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 11) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 12) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 13) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 14) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 15) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 16) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseD3->Draw("Error"); + kcountHBpositivedirectionReconoiseD3++; + if (kcountHBpositivedirectionReconoiseD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD3) delete h2CeffHBpositivedirectionReconoiseD3; - //========================================================================================== 17 + if (h2CeffHBpositivedirectionReconoiseD3) + delete h2CeffHBpositivedirectionReconoiseD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD4=1; - TH1F* h2CeffHBpositivedirectionReconoiseD4 = new TH1F("h2CeffHBpositivedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD4 == 1) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 2) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 3) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 4) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 5) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 6) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 7) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 8) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 9) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==10) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==11) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==12) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==13) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==14) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==15) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==16) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionReconoiseD4->Draw("Error"); - kcountHBpositivedirectionReconoiseD4++; - if(kcountHBpositivedirectionReconoiseD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD4 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD4 = new TH1F("h2CeffHBpositivedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBpositivedirectionReconoiseD4 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD4 == 1) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 2) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 3) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 4) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 5) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 6) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 7) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 8) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 9) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 10) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 11) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 12) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 13) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 14) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 15) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 16) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseD4->Draw("Error"); + kcountHBpositivedirectionReconoiseD4++; + if (kcountHBpositivedirectionReconoiseD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD4) delete h2CeffHBpositivedirectionReconoiseD4; + if (h2CeffHBpositivedirectionReconoiseD4) + delete h2CeffHBpositivedirectionReconoiseD4; - - //========================================================================================== 22214 + //========================================================================================== 22214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD1=1; - TH1F* h2CeffHBnegativedirectionReconoiseD1 = new TH1F("h2CeffHBnegativedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD1 == 1) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 2) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 3) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 4) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 5) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 6) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 7) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 8) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 9) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==10) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==11) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==12) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==13) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==14) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==15) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==16) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); - HBnegativedirectionReconoiseD1->Draw("Error"); - kcountHBnegativedirectionReconoiseD1++; - if(kcountHBnegativedirectionReconoiseD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD1 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD1 = new TH1F("h2CeffHBnegativedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBnegativedirectionReconoiseD1 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD1 == 1) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 2) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 3) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 4) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 5) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 6) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 7) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 8) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 9) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 10) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 11) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 12) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 13) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 14) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 15) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 16) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); + HBnegativedirectionReconoiseD1->Draw("Error"); + kcountHBnegativedirectionReconoiseD1++; + if (kcountHBnegativedirectionReconoiseD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD1) delete h2CeffHBnegativedirectionReconoiseD1; - //========================================================================================== 22215 + if (h2CeffHBnegativedirectionReconoiseD1) + delete h2CeffHBnegativedirectionReconoiseD1; + //========================================================================================== 22215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD2=1; - TH1F* h2CeffHBnegativedirectionReconoiseD2 = new TH1F("h2CeffHBnegativedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD2 == 1) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 2) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 3) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 4) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 5) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 6) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 7) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 8) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 9) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==10) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==11) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==12) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==13) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==14) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==15) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==16) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); - HBnegativedirectionReconoiseD2->Draw("Error"); - kcountHBnegativedirectionReconoiseD2++; - if(kcountHBnegativedirectionReconoiseD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD2 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD2 = new TH1F("h2CeffHBnegativedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBnegativedirectionReconoiseD2 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD2 == 1) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 2) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 3) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 4) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 5) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 6) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 7) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 8) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 9) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 10) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 11) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 12) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 13) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 14) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 15) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 16) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); + HBnegativedirectionReconoiseD2->Draw("Error"); + kcountHBnegativedirectionReconoiseD2++; + if (kcountHBnegativedirectionReconoiseD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD2) delete h2CeffHBnegativedirectionReconoiseD2; - //========================================================================================== 22216 + if (h2CeffHBnegativedirectionReconoiseD2) + delete h2CeffHBnegativedirectionReconoiseD2; + //========================================================================================== 22216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD3=1; - TH1F* h2CeffHBnegativedirectionReconoiseD3 = new TH1F("h2CeffHBnegativedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD3 == 1) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 2) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 3) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 4) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 5) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 6) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 7) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 8) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 9) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==10) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==11) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==12) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==13) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==14) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==15) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==16) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); - HBnegativedirectionReconoiseD3->Draw("Error"); - kcountHBnegativedirectionReconoiseD3++; - if(kcountHBnegativedirectionReconoiseD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD3 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD3 = new TH1F("h2CeffHBnegativedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBnegativedirectionReconoiseD3 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD3 == 1) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 2) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 3) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 4) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 5) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 6) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 7) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 8) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 9) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 10) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 11) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 12) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 13) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 14) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 15) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 16) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); + HBnegativedirectionReconoiseD3->Draw("Error"); + kcountHBnegativedirectionReconoiseD3++; + if (kcountHBnegativedirectionReconoiseD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD3) delete h2CeffHBnegativedirectionReconoiseD3; + if (h2CeffHBnegativedirectionReconoiseD3) + delete h2CeffHBnegativedirectionReconoiseD3; //========================================================================================== 22217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD4=1; - TH1F* h2CeffHBnegativedirectionReconoiseD4 = new TH1F("h2CeffHBnegativedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD4 == 1) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 2) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 3) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 4) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 5) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 6) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 7) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 8) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 9) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==10) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==11) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==12) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==13) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==14) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==15) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==16) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); - HBnegativedirectionReconoiseD4->Draw("Error"); - kcountHBnegativedirectionReconoiseD4++; - if(kcountHBnegativedirectionReconoiseD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD4 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD4 = new TH1F("h2CeffHBnegativedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBnegativedirectionReconoiseD4 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD4 == 1) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 2) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 3) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 4) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 5) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 6) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 7) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 8) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 9) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 10) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 11) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 12) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 13) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 14) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 15) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 16) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); + HBnegativedirectionReconoiseD4->Draw("Error"); + kcountHBnegativedirectionReconoiseD4++; + if (kcountHBnegativedirectionReconoiseD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD4) delete h2CeffHBnegativedirectionReconoiseD4; - - - + if (h2CeffHBnegativedirectionReconoiseD4) + delete h2CeffHBnegativedirectionReconoiseD4; //===================================================================== END of Reconoise HB for phi-symmetry //===================================================================== END of Reconoise HB for phi-symmetry //===================================================================== END of Reconoise HB for phi-symmetry - - - - - - //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[3]; - ndepth = 7; - // const int ndepth = 7; - double areconoisehe[ndepth][njeta][njphi]; - double breconoisehe[ndepth][njeta][njphi]; - double reconoisevariancehe[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double areconoisehe[ndepth][njeta][njphi]; + double breconoisehe[ndepth][njeta][njphi]; + double reconoisevariancehe[ndepth][njeta][njphi]; //////////////////////////////////////////////////////////////////////////////////////////////////////////// - TH2F *recNoiseEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE1"); - TH2F *recNoiseEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + TH2F* recNoiseEnergy1HE1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE1"); + TH2F* recNoiseEnergy0HE1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); TH2F* recNoiseEnergyHE1 = (TH2F*)recNoiseEnergy1HE1->Clone("recNoiseEnergyHE1"); - recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1,recNoiseEnergy0HE1, 1, 1, "B"); - TH2F *recNoiseEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE2"); - TH2F *recNoiseEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1, recNoiseEnergy0HE1, 1, 1, "B"); + TH2F* recNoiseEnergy1HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE2"); + TH2F* recNoiseEnergy0HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); TH2F* recNoiseEnergyHE2 = (TH2F*)recNoiseEnergy1HE2->Clone("recNoiseEnergyHE2"); - recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2,recNoiseEnergy0HE2, 1, 1, "B"); - TH2F *recNoiseEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE3"); - TH2F *recNoiseEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2, recNoiseEnergy0HE2, 1, 1, "B"); + TH2F* recNoiseEnergy1HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE3"); + TH2F* recNoiseEnergy0HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); TH2F* recNoiseEnergyHE3 = (TH2F*)recNoiseEnergy1HE3->Clone("recNoiseEnergyHE3"); - recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3,recNoiseEnergy0HE3, 1, 1, "B"); - TH2F *recNoiseEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE4"); - TH2F *recNoiseEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3, recNoiseEnergy0HE3, 1, 1, "B"); + TH2F* recNoiseEnergy1HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE4"); + TH2F* recNoiseEnergy0HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); TH2F* recNoiseEnergyHE4 = (TH2F*)recNoiseEnergy1HE4->Clone("recNoiseEnergyHE4"); - recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4,recNoiseEnergy0HE4, 1, 1, "B"); - TH2F *recNoiseEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE5"); - TH2F *recNoiseEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4, recNoiseEnergy0HE4, 1, 1, "B"); + TH2F* recNoiseEnergy1HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE5"); + TH2F* recNoiseEnergy0HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); TH2F* recNoiseEnergyHE5 = (TH2F*)recNoiseEnergy1HE5->Clone("recNoiseEnergyHE5"); - recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5,recNoiseEnergy0HE5, 1, 1, "B"); - TH2F *recNoiseEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE6"); - TH2F *recNoiseEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5, recNoiseEnergy0HE5, 1, 1, "B"); + TH2F* recNoiseEnergy1HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE6"); + TH2F* recNoiseEnergy0HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); TH2F* recNoiseEnergyHE6 = (TH2F*)recNoiseEnergy1HE6->Clone("recNoiseEnergyHE6"); - recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6,recNoiseEnergy0HE6, 1, 1, "B"); - TH2F *recNoiseEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE7"); - TH2F *recNoiseEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6, recNoiseEnergy0HE6, 1, 1, "B"); + TH2F* recNoiseEnergy1HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE7"); + TH2F* recNoiseEnergy0HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); TH2F* recNoiseEnergyHE7 = (TH2F*)recNoiseEnergy1HE7->Clone("recNoiseEnergyHE7"); - recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7,recNoiseEnergy0HE7, 1, 1, "B"); - for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7, recNoiseEnergy0HE7, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { //====================================================================== PHI normalization & put R into massive areconoisehe - //preparation for PHI normalization: - double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; - double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - areconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); - areconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); - areconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); - areconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); - areconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); - areconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); - - breconoisehe[0][jeta][jphi] = recNoiseEnergyHE1->GetBinContent(jeta+1,jphi+1); - breconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); - breconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); - breconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); - breconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); - breconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); - breconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); - - if(areconoisehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += areconoisehe[0][jeta][jphi];++nsumreconoiseHE0;} - if(areconoisehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += areconoisehe[1][jeta][jphi];++nsumreconoiseHE1;} - if(areconoisehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += areconoisehe[2][jeta][jphi];++nsumreconoiseHE2;} - if(areconoisehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += areconoisehe[3][jeta][jphi];++nsumreconoiseHE3;} - if(areconoisehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += areconoisehe[4][jeta][jphi];++nsumreconoiseHE4;} - if(areconoisehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += areconoisehe[5][jeta][jphi];++nsumreconoiseHE5;} - if(areconoisehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += areconoisehe[6][jeta][jphi];++nsumreconoiseHE6;} - }// phi - - // PHI normalization for DIF: - for(int jphi=0;jphiGetBinContent(jeta + 1, jphi + 1); + areconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta + 1, jphi + 1); + + breconoisehe[0][jeta][jphi] = recNoiseEnergyHE1->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta + 1, jphi + 1); + + if (areconoisehe[0][jeta][jphi] != 0.) { + sumreconoiseHE0 += areconoisehe[0][jeta][jphi]; + ++nsumreconoiseHE0; + } + if (areconoisehe[1][jeta][jphi] != 0.) { + sumreconoiseHE1 += areconoisehe[1][jeta][jphi]; + ++nsumreconoiseHE1; + } + if (areconoisehe[2][jeta][jphi] != 0.) { + sumreconoiseHE2 += areconoisehe[2][jeta][jphi]; + ++nsumreconoiseHE2; + } + if (areconoisehe[3][jeta][jphi] != 0.) { + sumreconoiseHE3 += areconoisehe[3][jeta][jphi]; + ++nsumreconoiseHE3; + } + if (areconoisehe[4][jeta][jphi] != 0.) { + sumreconoiseHE4 += areconoisehe[4][jeta][jphi]; + ++nsumreconoiseHE4; + } + if (areconoisehe[5][jeta][jphi] != 0.) { + sumreconoiseHE5 += areconoisehe[5][jeta][jphi]; + ++nsumreconoiseHE5; + } + if (areconoisehe[6][jeta][jphi] != 0.) { + sumreconoiseHE6 += areconoisehe[6][jeta][jphi]; + ++nsumreconoiseHE6; + } + } // phi + + // PHI normalization for DIF: + for (int jphi = 0; jphi < njphi; jphi++) { + if (sumreconoiseHE0 != 0.) + breconoisehe[0][jeta][jphi] -= (sumreconoiseHE0 / nsumreconoiseHE0); + if (sumreconoiseHE1 != 0.) + breconoisehe[1][jeta][jphi] -= (sumreconoiseHE1 / nsumreconoiseHE1); + if (sumreconoiseHE2 != 0.) + breconoisehe[2][jeta][jphi] -= (sumreconoiseHE2 / nsumreconoiseHE2); + if (sumreconoiseHE3 != 0.) + breconoisehe[3][jeta][jphi] -= (sumreconoiseHE3 / nsumreconoiseHE3); + if (sumreconoiseHE4 != 0.) + breconoisehe[4][jeta][jphi] -= (sumreconoiseHE4 / nsumreconoiseHE4); + if (sumreconoiseHE5 != 0.) + breconoisehe[5][jeta][jphi] -= (sumreconoiseHE5 / nsumreconoiseHE5); + if (sumreconoiseHE6 != 0.) + breconoisehe[6][jeta][jphi] -= (sumreconoiseHE6 / nsumreconoiseHE6); + } // phi // PHI normalization for R: - for(int jphi=0;jphi= - }//eta + for (int jphi = 0; jphi < njphi; jphi++) { + if (sumreconoiseHE0 != 0.) + areconoisehe[0][jeta][jphi] /= (sumreconoiseHE0 / nsumreconoiseHE0); + if (sumreconoiseHE1 != 0.) + areconoisehe[1][jeta][jphi] /= (sumreconoiseHE1 / nsumreconoiseHE1); + if (sumreconoiseHE2 != 0.) + areconoisehe[2][jeta][jphi] /= (sumreconoiseHE2 / nsumreconoiseHE2); + if (sumreconoiseHE3 != 0.) + areconoisehe[3][jeta][jphi] /= (sumreconoiseHE3 / nsumreconoiseHE3); + if (sumreconoiseHE4 != 0.) + areconoisehe[4][jeta][jphi] /= (sumreconoiseHE4 / nsumreconoiseHE4); + if (sumreconoiseHE5 != 0.) + areconoisehe[5][jeta][jphi] /= (sumreconoiseHE5 / nsumreconoiseHE5); + if (sumreconoiseHE6 != 0.) + areconoisehe[6][jeta][jphi] /= (sumreconoiseHE6 / nsumreconoiseHE6); + } // phi + } //if( (jeta-41 >= + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthes //====================================================================== // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HE //====================================================================== c2x1->Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRreconoiseHE42D = new TH2F("GefzRreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRreconoiseHE42D0 = new TH2F("GefzRreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHE42D = new TH2F("GefzRreconoiseHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRreconoiseHE42D0 = new TH2F("GefzRreconoiseHE42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRreconoiseHE42DF = (TH2F*)GefzRreconoiseHE42D0->Clone("GefzRreconoiseHE42DF"); - for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHE42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzRreconoiseHE42DF->Divide(GefzRreconoiseHE42D,GefzRreconoiseHE42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHE42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRreconoiseHE42D->Fill(kkk, jphi, ccc1); + GefzRreconoiseHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzRreconoiseHE42DF->Divide(GefzRreconoiseHE42D, GefzRreconoiseHE42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE42DF->SetXTitle("_depth #eta \b"); + GefzRreconoiseHE42DF->SetYTitle(" #phi \b"); GefzRreconoiseHE42DF->Draw("COLZ"); - c2x1->cd(2); - TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); - energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); - - - + TH1F* energyhitNoise_HE = (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); + energyhitNoise_HE->SetMarkerStyle(20); + energyhitNoise_HE->SetMarkerSize(0.4); + energyhitNoise_HE->GetYaxis()->SetLabelSize(0.04); + energyhitNoise_HE->SetXTitle("energyhitNoise_HE \b"); + energyhitNoise_HE->SetMarkerColor(2); + energyhitNoise_HE->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitNoise_HE->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RreconoiseGeneralD2PhiSymmetryHE.png"); c2x1->Clear(); // clean-up - if (GefzRreconoiseHE42D) delete GefzRreconoiseHE42D; - if (GefzRreconoiseHE42D0) delete GefzRreconoiseHE42D0; - if (GefzRreconoiseHE42DF) delete GefzRreconoiseHE42DF; + if (GefzRreconoiseHE42D) + delete GefzRreconoiseHE42D; + if (GefzRreconoiseHE42D0) + delete GefzRreconoiseHE42D0; + if (GefzRreconoiseHE42DF) + delete GefzRreconoiseHE42DF; //====================================================================== 1D plot: R vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRreconoiseHE41D = new TH1F("GefzRreconoiseHE41D","", nphi, 0., 72. ); - TH1F* GefzRreconoiseHE41D0 = new TH1F("GefzRreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHE41D = new TH1F("GefzRreconoiseHE41D", "", nphi, 0., 72.); + TH1F* GefzRreconoiseHE41D0 = new TH1F("GefzRreconoiseHE41D0", "", nphi, 0., 72.); TH1F* GefzRreconoiseHE41DF = (TH1F*)GefzRreconoiseHE41D0->Clone("GefzRreconoiseHE41DF"); - for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHE41D0 ->Fill(jphi,1.); } - }}}} - GefzRreconoiseHE41DF->Divide(GefzRreconoiseHE41D,GefzRreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRreconoiseHE41D->Fill(jphi, ccc1); + GefzRreconoiseHE41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzRreconoiseHE41DF->Divide(GefzRreconoiseHE41D, GefzRreconoiseHE41D0, 1, 1, "B"); // R averaged over depthes & eta GefzRreconoiseHE41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHE41DF->SetMarkerStyle(20); GefzRreconoiseHE41DF->SetMarkerSize(1.4); GefzRreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHE41DF->SetXTitle("#phi \b"); GefzRreconoiseHE41DF->SetYTitle(" \b"); GefzRreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRreconoiseHE41DF->SetMarkerColor(4); GefzRreconoiseHE41DF->SetLineColor(4); // GefzRreconoiseHE41DF->SetMinimum(0.8); // GefzRreconoiseHE41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE41DF->SetMarkerStyle(20); + GefzRreconoiseHE41DF->SetMarkerSize(1.4); + GefzRreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); + GefzRreconoiseHE41DF->SetXTitle("#phi \b"); + GefzRreconoiseHE41DF->SetYTitle(" \b"); + GefzRreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); + GefzRreconoiseHE41DF->SetMarkerColor(4); + GefzRreconoiseHE41DF->SetLineColor( + 4); // GefzRreconoiseHE41DF->SetMinimum(0.8); // GefzRreconoiseHE41DF->SetMaximum(1.000); GefzRreconoiseHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RreconoiseGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (GefzRreconoiseHE41D) delete GefzRreconoiseHE41D; - if (GefzRreconoiseHE41D0) delete GefzRreconoiseHE41D0; - if (GefzRreconoiseHE41DF) delete GefzRreconoiseHE41DF; - + if (GefzRreconoiseHE41D) + delete GefzRreconoiseHE41D; + if (GefzRreconoiseHE41D0) + delete GefzRreconoiseHE41D0; + if (GefzRreconoiseHE41DF) + delete GefzRreconoiseHE41DF; - //========================================================================================== 4 + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoise1=1; - TH1F* h2CeffHEpositivedirectionReconoise1 = new TH1F("h2CeffHEpositivedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + if (jeta - 41 >= 15 && jeta - 41 <= 28) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEpositivedirectionReconoise1 = "<SetMarkerColor(2);HEpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise1 == 1) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 2) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 3) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 4) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 5) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 6) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 7) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 8) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 9) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 ==10) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 ==11) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 ==12) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionReconoise1->Draw("Error"); - kcountHEpositivedirectionReconoise1++; - if(kcountHEpositivedirectionReconoise1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 15 && jeta-41 <= 28 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEpositivedirectionReconoise1 = (TH1F*)h2CeffHEpositivedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEpositivedirectionReconoise1 = "<SetMarkerColor(2); + HEpositivedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise1 == 1) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 2) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 3) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 4) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 5) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 6) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 7) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 8) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 9) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 10) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 11) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 12) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoise1->Draw("Error"); + kcountHEpositivedirectionReconoise1++; + if (kcountHEpositivedirectionReconoise1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 15 && jeta-41 <= 28 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise1) delete h2CeffHEpositivedirectionReconoise1; - + if (h2CeffHEpositivedirectionReconoise1) + delete h2CeffHEpositivedirectionReconoise1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise2=1; - TH1F* h2CeffHEpositivedirectionReconoise2 = new TH1F("h2CeffHEpositivedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEpositivedirectionReconoise2 = "<SetMarkerColor(2);HEpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise2 == 1) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 2) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 3) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 4) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 5) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 6) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 7) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 8) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 9) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==10) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==11) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==12) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==13) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionReconoise2->Draw("Error"); - kcountHEpositivedirectionReconoise2++; - if(kcountHEpositivedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise2 = 1; + TH1F* h2CeffHEpositivedirectionReconoise2 = new TH1F("h2CeffHEpositivedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEpositivedirectionReconoise2 = "<SetMarkerColor(2); + HEpositivedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise2 == 1) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 2) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 3) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 4) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 5) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 6) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 7) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 8) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 9) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 10) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 11) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 12) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 13) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoise2->Draw("Error"); + kcountHEpositivedirectionReconoise2++; + if (kcountHEpositivedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise2) delete h2CeffHEpositivedirectionReconoise2; - //========================================================================================== 6 + if (h2CeffHEpositivedirectionReconoise2) + delete h2CeffHEpositivedirectionReconoise2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise3=1; - TH1F* h2CeffHEpositivedirectionReconoise3 = new TH1F("h2CeffHEpositivedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEpositivedirectionReconoise3 = "<SetMarkerColor(2);HEpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise3 == 1) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 2) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 3) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 4) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 5) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 6) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 7) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 8) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 9) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==10) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==11) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==12) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==13) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionReconoise3->Draw("Error"); - kcountHEpositivedirectionReconoise3++; - if(kcountHEpositivedirectionReconoise3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise3 = 1; + TH1F* h2CeffHEpositivedirectionReconoise3 = new TH1F("h2CeffHEpositivedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEpositivedirectionReconoise3 = "<SetMarkerColor(2); + HEpositivedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise3 == 1) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 2) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 3) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 4) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 5) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 6) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 7) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 8) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 9) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 10) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 11) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 12) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 13) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoise3->Draw("Error"); + kcountHEpositivedirectionReconoise3++; + if (kcountHEpositivedirectionReconoise3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise3) delete h2CeffHEpositivedirectionReconoise3; - //========================================================================================== 7 + if (h2CeffHEpositivedirectionReconoise3) + delete h2CeffHEpositivedirectionReconoise3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise4=1; - TH1F* h2CeffHEpositivedirectionReconoise4 = new TH1F("h2CeffHEpositivedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEpositivedirectionReconoise4 = "<SetMarkerColor(2);HEpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise4 == 1) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 2) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 3) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 4) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 5) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 6) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 7) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 8) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 9) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 ==10) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 ==11) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 ==12) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionReconoise4->Draw("Error"); - kcountHEpositivedirectionReconoise4++; - if(kcountHEpositivedirectionReconoise4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise4 = 1; + TH1F* h2CeffHEpositivedirectionReconoise4 = new TH1F("h2CeffHEpositivedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEpositivedirectionReconoise4 = "<SetMarkerColor(2); + HEpositivedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise4 == 1) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 2) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 3) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 4) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 5) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 6) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 7) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 8) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 9) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 10) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 11) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 12) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoise4->Draw("Error"); + kcountHEpositivedirectionReconoise4++; + if (kcountHEpositivedirectionReconoise4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise4) delete h2CeffHEpositivedirectionReconoise4; - //========================================================================================== 8 + if (h2CeffHEpositivedirectionReconoise4) + delete h2CeffHEpositivedirectionReconoise4; + //========================================================================================== 8 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise5=1; - TH1F* h2CeffHEpositivedirectionReconoise5 = new TH1F("h2CeffHEpositivedirectionReconoise5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise5 == 1) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 2) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 3) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 4) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 5) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 6) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 7) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 8) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 9) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 ==10) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 ==11) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionReconoise5->Draw("Error"); - kcountHEpositivedirectionReconoise5++; - if(kcountHEpositivedirectionReconoise5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise5 = 1; + TH1F* h2CeffHEpositivedirectionReconoise5 = new TH1F("h2CeffHEpositivedirectionReconoise5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEpositivedirectionReconoise5 = "<SetMarkerColor(2); + HEpositivedirectionReconoise5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise5 == 1) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 2) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 3) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 4) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 5) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 6) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 7) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 8) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 9) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 10) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 11) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoise5->Draw("Error"); + kcountHEpositivedirectionReconoise5++; + if (kcountHEpositivedirectionReconoise5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise5) delete h2CeffHEpositivedirectionReconoise5; - //========================================================================================== 9 + if (h2CeffHEpositivedirectionReconoise5) + delete h2CeffHEpositivedirectionReconoise5; + //========================================================================================== 9 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise6=1; - TH1F* h2CeffHEpositivedirectionReconoise6 = new TH1F("h2CeffHEpositivedirectionReconoise6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEpositivedirectionReconoise6 = "<SetMarkerColor(2);HEpositivedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise6 == 1) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 2) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 3) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 4) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 5) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 6) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 7) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 8) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 9) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 ==10) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionReconoise6->Draw("Error"); - kcountHEpositivedirectionReconoise6++; - if(kcountHEpositivedirectionReconoise6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise6 = 1; + TH1F* h2CeffHEpositivedirectionReconoise6 = new TH1F("h2CeffHEpositivedirectionReconoise6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEpositivedirectionReconoise6 = "<SetMarkerColor(2); + HEpositivedirectionReconoise6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise6 == 1) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 2) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 3) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 4) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 5) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 6) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 7) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 8) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 9) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 10) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoise6->Draw("Error"); + kcountHEpositivedirectionReconoise6++; + if (kcountHEpositivedirectionReconoise6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise6) delete h2CeffHEpositivedirectionReconoise6; - //========================================================================================== 10 + if (h2CeffHEpositivedirectionReconoise6) + delete h2CeffHEpositivedirectionReconoise6; + //========================================================================================== 10 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise7=1; - TH1F* h2CeffHEpositivedirectionReconoise7 = new TH1F("h2CeffHEpositivedirectionReconoise7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEpositivedirectionReconoise7 = "<SetMarkerColor(2);HEpositivedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise7 == 1) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionReconoise7 == 2) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionReconoise7 == 3) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionReconoise7->Draw("Error"); - kcountHEpositivedirectionReconoise7++; - if(kcountHEpositivedirectionReconoise7>3) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise7 = 1; + TH1F* h2CeffHEpositivedirectionReconoise7 = new TH1F("h2CeffHEpositivedirectionReconoise7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEpositivedirectionReconoise7 = "<SetMarkerColor(2); + HEpositivedirectionReconoise7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise7 == 1) + HEpositivedirectionReconoise7->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionReconoise7 == 2) + HEpositivedirectionReconoise7->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionReconoise7 == 3) + HEpositivedirectionReconoise7->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoise7->Draw("Error"); + kcountHEpositivedirectionReconoise7++; + if (kcountHEpositivedirectionReconoise7 > 3) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise7) delete h2CeffHEpositivedirectionReconoise7; + if (h2CeffHEpositivedirectionReconoise7) + delete h2CeffHEpositivedirectionReconoise7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoise1=1; - TH1F* h2CeffHEnegativedirectionReconoise1 = new TH1F("h2CeffHEnegativedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + if (jeta - 41 >= -29 && jeta - 41 <= -16) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEnegativedirectionReconoise1 = "<SetMarkerColor(2);HEnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise1 == 1) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 2) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 3) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 4) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 5) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 6) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 7) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 8) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 9) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 ==10) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 ==11) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 ==12) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionReconoise1->Draw("Error"); - kcountHEnegativedirectionReconoise1++; - if(kcountHEnegativedirectionReconoise1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEnegativedirectionReconoise1 = (TH1F*)h2CeffHEnegativedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEnegativedirectionReconoise1 = "<SetMarkerColor(2); + HEnegativedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise1 == 1) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 2) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 3) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 4) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 5) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 6) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 7) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 8) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 9) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 10) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 11) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 12) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoise1->Draw("Error"); + kcountHEnegativedirectionReconoise1++; + if (kcountHEnegativedirectionReconoise1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise1) delete h2CeffHEnegativedirectionReconoise1; - + if (h2CeffHEnegativedirectionReconoise1) + delete h2CeffHEnegativedirectionReconoise1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise2=1; - TH1F* h2CeffHEnegativedirectionReconoise2 = new TH1F("h2CeffHEnegativedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEnegativedirectionReconoise2 = "<SetMarkerColor(2);HEnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise2 == 1) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 2) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 3) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 4) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 5) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 6) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 7) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 8) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 9) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==10) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==11) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==12) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==13) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionReconoise2->Draw("Error"); - kcountHEnegativedirectionReconoise2++; - if(kcountHEnegativedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise2 = 1; + TH1F* h2CeffHEnegativedirectionReconoise2 = new TH1F("h2CeffHEnegativedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEnegativedirectionReconoise2 = "<SetMarkerColor(2); + HEnegativedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise2 == 1) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 2) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 3) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 4) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 5) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 6) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 7) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 8) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 9) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 10) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 11) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 12) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 13) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoise2->Draw("Error"); + kcountHEnegativedirectionReconoise2++; + if (kcountHEnegativedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise2) delete h2CeffHEnegativedirectionReconoise2; - //========================================================================================== 1116 + if (h2CeffHEnegativedirectionReconoise2) + delete h2CeffHEnegativedirectionReconoise2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise3=1; - TH1F* h2CeffHEnegativedirectionReconoise3 = new TH1F("h2CeffHEnegativedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEnegativedirectionReconoise3 = "<SetMarkerColor(2);HEnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise3 == 1) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 2) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 3) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 4) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 5) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 6) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 7) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 8) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 9) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==10) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==11) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==12) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==13) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionReconoise3->Draw("Error"); - kcountHEnegativedirectionReconoise3++; - if(kcountHEnegativedirectionReconoise3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise3 = 1; + TH1F* h2CeffHEnegativedirectionReconoise3 = new TH1F("h2CeffHEnegativedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEnegativedirectionReconoise3 = "<SetMarkerColor(2); + HEnegativedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise3 == 1) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 2) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 3) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 4) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 5) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 6) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 7) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 8) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 9) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 10) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 11) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 12) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 13) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoise3->Draw("Error"); + kcountHEnegativedirectionReconoise3++; + if (kcountHEnegativedirectionReconoise3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise3) delete h2CeffHEnegativedirectionReconoise3; - //========================================================================================== 1117 + if (h2CeffHEnegativedirectionReconoise3) + delete h2CeffHEnegativedirectionReconoise3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise4=1; - TH1F* h2CeffHEnegativedirectionReconoise4 = new TH1F("h2CeffHEnegativedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEnegativedirectionReconoise4 = "<SetMarkerColor(2);HEnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise4 == 1) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 2) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 3) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 4) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 5) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 6) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 7) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 8) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 9) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 ==10) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 ==11) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 ==12) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionReconoise4->Draw("Error"); - kcountHEnegativedirectionReconoise4++; - if(kcountHEnegativedirectionReconoise4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise4 = 1; + TH1F* h2CeffHEnegativedirectionReconoise4 = new TH1F("h2CeffHEnegativedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEnegativedirectionReconoise4 = "<SetMarkerColor(2); + HEnegativedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise4 == 1) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 2) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 3) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 4) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 5) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 6) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 7) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 8) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 9) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 10) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 11) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 12) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoise4->Draw("Error"); + kcountHEnegativedirectionReconoise4++; + if (kcountHEnegativedirectionReconoise4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise4) delete h2CeffHEnegativedirectionReconoise4; - //========================================================================================== 1118 + if (h2CeffHEnegativedirectionReconoise4) + delete h2CeffHEnegativedirectionReconoise4; + //========================================================================================== 1118 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise5=1; - TH1F* h2CeffHEnegativedirectionReconoise5 = new TH1F("h2CeffHEnegativedirectionReconoise5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise5 == 1) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 2) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 3) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 4) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 5) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 6) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 7) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 8) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 9) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 ==10) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 ==11) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionReconoise5->Draw("Error"); - kcountHEnegativedirectionReconoise5++; - if(kcountHEnegativedirectionReconoise5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise5 = 1; + TH1F* h2CeffHEnegativedirectionReconoise5 = new TH1F("h2CeffHEnegativedirectionReconoise5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEnegativedirectionReconoise5 = "<SetMarkerColor(2); + HEnegativedirectionReconoise5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise5 == 1) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 2) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 3) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 4) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 5) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 6) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 7) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 8) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 9) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 10) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 11) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoise5->Draw("Error"); + kcountHEnegativedirectionReconoise5++; + if (kcountHEnegativedirectionReconoise5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise5) delete h2CeffHEnegativedirectionReconoise5; - //========================================================================================== 1119 + if (h2CeffHEnegativedirectionReconoise5) + delete h2CeffHEnegativedirectionReconoise5; + //========================================================================================== 1119 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise6=1; - TH1F* h2CeffHEnegativedirectionReconoise6 = new TH1F("h2CeffHEnegativedirectionReconoise6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEnegativedirectionReconoise6 = "<SetMarkerColor(2);HEnegativedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise6 == 1) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 2) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 3) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 4) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 5) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 6) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 7) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 8) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 9) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 ==10) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionReconoise6->Draw("Error"); - kcountHEnegativedirectionReconoise6++; - if(kcountHEnegativedirectionReconoise6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise6 = 1; + TH1F* h2CeffHEnegativedirectionReconoise6 = new TH1F("h2CeffHEnegativedirectionReconoise6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEnegativedirectionReconoise6 = "<SetMarkerColor(2); + HEnegativedirectionReconoise6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise6 == 1) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 2) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 3) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 4) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 5) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 6) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 7) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 8) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 9) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 10) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoise6->Draw("Error"); + kcountHEnegativedirectionReconoise6++; + if (kcountHEnegativedirectionReconoise6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise6) delete h2CeffHEnegativedirectionReconoise6; - //========================================================================================== 11110 + if (h2CeffHEnegativedirectionReconoise6) + delete h2CeffHEnegativedirectionReconoise6; + //========================================================================================== 11110 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise7=1; - TH1F* h2CeffHEnegativedirectionReconoise7 = new TH1F("h2CeffHEnegativedirectionReconoise7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEnegativedirectionReconoise7 = "<SetMarkerColor(2);HEnegativedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise7 == 1) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionReconoise7 == 2) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionReconoise7 == 3) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionReconoise7->Draw("Error"); - kcountHEnegativedirectionReconoise7++; - if(kcountHEnegativedirectionReconoise7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise7 = 1; + TH1F* h2CeffHEnegativedirectionReconoise7 = new TH1F("h2CeffHEnegativedirectionReconoise7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEnegativedirectionReconoise7 = "<SetMarkerColor(2); + HEnegativedirectionReconoise7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise7 == 1) + HEnegativedirectionReconoise7->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionReconoise7 == 2) + HEnegativedirectionReconoise7->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionReconoise7 == 3) + HEnegativedirectionReconoise7->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoise7->Draw("Error"); + kcountHEnegativedirectionReconoise7++; + if (kcountHEnegativedirectionReconoise7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise7) delete h2CeffHEnegativedirectionReconoise7; + if (h2CeffHEnegativedirectionReconoise7) + delete h2CeffHEnegativedirectionReconoise7; //====================================================================================================================== //====================================================================================================================== @@ -6667,857 +9236,1161 @@ main(int argc, char *argv[]){ //====================================================================== c2x1->Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzDIFreconoiseHE42D = new TH2F("GefzDIFreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzDIFreconoiseHE42D0 = new TH2F("GefzDIFreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHE42D = new TH2F("GefzDIFreconoiseHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzDIFreconoiseHE42D0 = new TH2F("GefzDIFreconoiseHE42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzDIFreconoiseHE42DF = (TH2F*)GefzDIFreconoiseHE42D0->Clone("GefzDIFreconoiseHE42DF"); - for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzDIFreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHE42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzDIFreconoiseHE42DF->Divide(GefzDIFreconoiseHE42D,GefzDIFreconoiseHE42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHE42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzDIFreconoiseHE42D->Fill(kkk, jphi, ccc1); + GefzDIFreconoiseHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHE42DF->Divide(GefzDIFreconoiseHE42D, GefzDIFreconoiseHE42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE42DF->SetXTitle("_depth #eta \b"); + GefzDIFreconoiseHE42DF->SetYTitle(" #phi \b"); GefzDIFreconoiseHE42DF->Draw("COLZ"); - //c2x1->cd(2); //TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); - //energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); - - - + //energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHE.png"); c2x1->Clear(); // clean-up - if (GefzDIFreconoiseHE42D) delete GefzDIFreconoiseHE42D; - if (GefzDIFreconoiseHE42D0) delete GefzDIFreconoiseHE42D0; - if (GefzDIFreconoiseHE42DF) delete GefzDIFreconoiseHE42DF; + if (GefzDIFreconoiseHE42D) + delete GefzDIFreconoiseHE42D; + if (GefzDIFreconoiseHE42D0) + delete GefzDIFreconoiseHE42D0; + if (GefzDIFreconoiseHE42DF) + delete GefzDIFreconoiseHE42DF; //====================================================================== 1D plot: DIF vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: DIF vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzDIFreconoiseHE41D = new TH1F("GefzDIFreconoiseHE41D","", nphi, 0., 72. ); - TH1F* GefzDIFreconoiseHE41D0 = new TH1F("GefzDIFreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHE41D = new TH1F("GefzDIFreconoiseHE41D", "", nphi, 0., 72.); + TH1F* GefzDIFreconoiseHE41D0 = new TH1F("GefzDIFreconoiseHE41D0", "", nphi, 0., 72.); TH1F* GefzDIFreconoiseHE41DF = (TH1F*)GefzDIFreconoiseHE41D0->Clone("GefzDIFreconoiseHE41DF"); - for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHE41D0 ->Fill(jphi,1.); } - }}}} - GefzDIFreconoiseHE41DF->Divide(GefzDIFreconoiseHE41D,GefzDIFreconoiseHE41D0, 1, 1, "B");// DIF averaged over depthes & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzDIFreconoiseHE41D->Fill(jphi, ccc1); + GefzDIFreconoiseHE41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHE41DF->Divide( + GefzDIFreconoiseHE41D, GefzDIFreconoiseHE41D0, 1, 1, "B"); // DIF averaged over depthes & eta GefzDIFreconoiseHE41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHE41DF->SetMarkerStyle(20); GefzDIFreconoiseHE41DF->SetMarkerSize(1.4); GefzDIFreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHE41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHE41DF->SetYTitle(" \b"); GefzDIFreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzDIFreconoiseHE41DF->SetMarkerColor(4); GefzDIFreconoiseHE41DF->SetLineColor(4); // GefzDIFreconoiseHE41DF->SetMinimum(0.8); // GefzDIFreconoiseHE41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE41DF->SetMarkerStyle(20); + GefzDIFreconoiseHE41DF->SetMarkerSize(1.4); + GefzDIFreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); + GefzDIFreconoiseHE41DF->SetXTitle("#phi \b"); + GefzDIFreconoiseHE41DF->SetYTitle(" \b"); + GefzDIFreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); + GefzDIFreconoiseHE41DF->SetMarkerColor(4); + GefzDIFreconoiseHE41DF->SetLineColor( + 4); // GefzDIFreconoiseHE41DF->SetMinimum(0.8); // GefzDIFreconoiseHE41DF->SetMaximum(1.000); GefzDIFreconoiseHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (GefzDIFreconoiseHE41D) delete GefzDIFreconoiseHE41D; - if (GefzDIFreconoiseHE41D0) delete GefzDIFreconoiseHE41D0; - if (GefzDIFreconoiseHE41DF) delete GefzDIFreconoiseHE41DF; + if (GefzDIFreconoiseHE41D) + delete GefzDIFreconoiseHE41D; + if (GefzDIFreconoiseHE41D0) + delete GefzDIFreconoiseHE41D0; + if (GefzDIFreconoiseHE41DF) + delete GefzDIFreconoiseHE41DF; - - //========================================================================================== 4 + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF1=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + if (jeta - 41 >= 15 && jeta - 41 <= 28) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF1 == 1) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 2) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 3) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 4) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 5) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 6) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 7) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 8) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 9) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 ==10) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 ==11) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 ==12) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionReconoiseDIF1->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF1++; - if(kcountHEpositivedirectionReconoiseDIF1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 15 && jeta-41 <= 28 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEpositivedirectionReconoiseDIF1 = (TH1F*)h2CeffHEpositivedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF1 == 1) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 2) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 3) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 4) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 5) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 6) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 7) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 8) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 9) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 10) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 11) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 12) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF1++; + if (kcountHEpositivedirectionReconoiseDIF1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 15 && jeta-41 <= 28 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF1) delete h2CeffHEpositivedirectionReconoiseDIF1; - + if (h2CeffHEpositivedirectionReconoiseDIF1) + delete h2CeffHEpositivedirectionReconoiseDIF1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF2=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF2 == 1) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 2) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 3) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 4) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 5) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 6) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 7) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 8) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 9) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==10) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==11) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==12) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==13) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionReconoiseDIF2->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF2++; - if(kcountHEpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF2 == 1) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 2) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 3) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 4) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 5) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 6) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 7) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 8) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 9) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 10) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 11) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 12) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 13) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF2++; + if (kcountHEpositivedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF2) delete h2CeffHEpositivedirectionReconoiseDIF2; - //========================================================================================== 6 + if (h2CeffHEpositivedirectionReconoiseDIF2) + delete h2CeffHEpositivedirectionReconoiseDIF2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF3=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF3 == 1) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 2) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 3) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 4) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 5) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 6) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 7) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 8) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 9) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==10) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==11) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==12) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==13) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionReconoiseDIF3->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF3++; - if(kcountHEpositivedirectionReconoiseDIF3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF3 == 1) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 2) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 3) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 4) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 5) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 6) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 7) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 8) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 9) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 10) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 11) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 12) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 13) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF3++; + if (kcountHEpositivedirectionReconoiseDIF3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF3) delete h2CeffHEpositivedirectionReconoiseDIF3; - //========================================================================================== 7 + if (h2CeffHEpositivedirectionReconoiseDIF3) + delete h2CeffHEpositivedirectionReconoiseDIF3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF4=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF4 == 1) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 2) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 3) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 4) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 5) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 6) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 7) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 8) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 9) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 ==10) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 ==11) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 ==12) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionReconoiseDIF4->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF4++; - if(kcountHEpositivedirectionReconoiseDIF4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF4 == 1) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 2) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 3) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 4) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 5) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 6) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 7) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 8) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 9) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 10) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 11) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 12) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF4++; + if (kcountHEpositivedirectionReconoiseDIF4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF4) delete h2CeffHEpositivedirectionReconoiseDIF4; - //========================================================================================== 8 + if (h2CeffHEpositivedirectionReconoiseDIF4) + delete h2CeffHEpositivedirectionReconoiseDIF4; + //========================================================================================== 8 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF5=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF5 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF5 == 1) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 2) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 3) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 4) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 5) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 6) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 7) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 8) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 9) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 ==10) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 ==11) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionReconoiseDIF5->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF5++; - if(kcountHEpositivedirectionReconoiseDIF5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF5 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF5 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEpositivedirectionReconoiseDIF5 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF5 == 1) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 2) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 3) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 4) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 5) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 6) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 7) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 8) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 9) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 10) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 11) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseDIF5->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF5++; + if (kcountHEpositivedirectionReconoiseDIF5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF5) delete h2CeffHEpositivedirectionReconoiseDIF5; - //========================================================================================== 9 + if (h2CeffHEpositivedirectionReconoiseDIF5) + delete h2CeffHEpositivedirectionReconoiseDIF5; + //========================================================================================== 9 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF6=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF6 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEpositivedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF6 == 1) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 2) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 3) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 4) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 5) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 6) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 7) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 8) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 9) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 ==10) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionReconoiseDIF6->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF6++; - if(kcountHEpositivedirectionReconoiseDIF6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF6 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF6 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEpositivedirectionReconoiseDIF6 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF6 == 1) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 2) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 3) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 4) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 5) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 6) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 7) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 8) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 9) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 10) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseDIF6->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF6++; + if (kcountHEpositivedirectionReconoiseDIF6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF6) delete h2CeffHEpositivedirectionReconoiseDIF6; - //========================================================================================== 10 + if (h2CeffHEpositivedirectionReconoiseDIF6) + delete h2CeffHEpositivedirectionReconoiseDIF6; + //========================================================================================== 10 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF7=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF7 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEpositivedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF7 == 1) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseDIF7 == 2) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseDIF7 == 3) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionReconoiseDIF7->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF7++; - if(kcountHEpositivedirectionReconoiseDIF7>3) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF7 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF7 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEpositivedirectionReconoiseDIF7 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF7 == 1) + HEpositivedirectionReconoiseDIF7->SetXTitle("DIF for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseDIF7 == 2) + HEpositivedirectionReconoiseDIF7->SetXTitle("DIF for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseDIF7 == 3) + HEpositivedirectionReconoiseDIF7->SetXTitle("DIF for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseDIF7->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF7++; + if (kcountHEpositivedirectionReconoiseDIF7 > 3) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF7) delete h2CeffHEpositivedirectionReconoiseDIF7; + if (h2CeffHEpositivedirectionReconoiseDIF7) + delete h2CeffHEpositivedirectionReconoiseDIF7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF1=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + if (jeta - 41 >= -29 && jeta - 41 <= -16) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF1 == 1) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 2) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 3) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 4) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 5) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 6) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 7) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 8) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 9) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 ==10) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 ==11) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 ==12) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionReconoiseDIF1->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF1++; - if(kcountHEnegativedirectionReconoiseDIF1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEnegativedirectionReconoiseDIF1 = (TH1F*)h2CeffHEnegativedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF1 == 1) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 2) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 3) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 4) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 5) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 6) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 7) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 8) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 9) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 10) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 11) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 12) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF1++; + if (kcountHEnegativedirectionReconoiseDIF1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF1) delete h2CeffHEnegativedirectionReconoiseDIF1; - + if (h2CeffHEnegativedirectionReconoiseDIF1) + delete h2CeffHEnegativedirectionReconoiseDIF1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF2=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF2 == 1) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 2) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 3) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 4) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 5) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 6) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 7) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 8) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 9) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==10) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==11) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==12) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==13) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionReconoiseDIF2->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF2++; - if(kcountHEnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF2 == 1) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 2) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 3) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 4) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 5) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 6) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 7) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 8) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 9) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 10) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 11) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 12) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 13) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF2++; + if (kcountHEnegativedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF2) delete h2CeffHEnegativedirectionReconoiseDIF2; - //========================================================================================== 1116 + if (h2CeffHEnegativedirectionReconoiseDIF2) + delete h2CeffHEnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF3=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF3 == 1) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 2) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 3) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 4) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 5) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 6) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 7) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 8) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 9) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==10) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==11) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==12) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==13) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionReconoiseDIF3->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF3++; - if(kcountHEnegativedirectionReconoiseDIF3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF3 == 1) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 2) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 3) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 4) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 5) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 6) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 7) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 8) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 9) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 10) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 11) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 12) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 13) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF3++; + if (kcountHEnegativedirectionReconoiseDIF3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF3) delete h2CeffHEnegativedirectionReconoiseDIF3; - //========================================================================================== 1117 + if (h2CeffHEnegativedirectionReconoiseDIF3) + delete h2CeffHEnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF4=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF4 == 1) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 2) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 3) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 4) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 5) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 6) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 7) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 8) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 9) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 ==10) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 ==11) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 ==12) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionReconoiseDIF4->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF4++; - if(kcountHEnegativedirectionReconoiseDIF4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF4 == 1) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 2) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 3) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 4) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 5) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 6) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 7) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 8) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 9) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 10) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 11) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 12) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF4++; + if (kcountHEnegativedirectionReconoiseDIF4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF4) delete h2CeffHEnegativedirectionReconoiseDIF4; - //========================================================================================== 1118 + if (h2CeffHEnegativedirectionReconoiseDIF4) + delete h2CeffHEnegativedirectionReconoiseDIF4; + //========================================================================================== 1118 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF5=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF5 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF5 == 1) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 2) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 3) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 4) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 5) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 6) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 7) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 8) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 9) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 ==10) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 ==11) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionReconoiseDIF5->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF5++; - if(kcountHEnegativedirectionReconoiseDIF5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF5 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF5 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEnegativedirectionReconoiseDIF5 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF5 == 1) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 2) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 3) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 4) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 5) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 6) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 7) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 8) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 9) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 10) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 11) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseDIF5->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF5++; + if (kcountHEnegativedirectionReconoiseDIF5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF5) delete h2CeffHEnegativedirectionReconoiseDIF5; - //========================================================================================== 1119 + if (h2CeffHEnegativedirectionReconoiseDIF5) + delete h2CeffHEnegativedirectionReconoiseDIF5; + //========================================================================================== 1119 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF6=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF6 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEnegativedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF6 == 1) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 2) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 3) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 4) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 5) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 6) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 7) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 8) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 9) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 ==10) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionReconoiseDIF6->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF6++; - if(kcountHEnegativedirectionReconoiseDIF6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF6 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF6 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEnegativedirectionReconoiseDIF6 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF6 == 1) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 2) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 3) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 4) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 5) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 6) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 7) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 8) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 9) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 10) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseDIF6->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF6++; + if (kcountHEnegativedirectionReconoiseDIF6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF6) delete h2CeffHEnegativedirectionReconoiseDIF6; - //========================================================================================== 11110 + if (h2CeffHEnegativedirectionReconoiseDIF6) + delete h2CeffHEnegativedirectionReconoiseDIF6; + //========================================================================================== 11110 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF7=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF7 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEnegativedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF7 == 1) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseDIF7 == 2) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseDIF7 == 3) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionReconoiseDIF7->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF7++; - if(kcountHEnegativedirectionReconoiseDIF7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF7 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF7 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEnegativedirectionReconoiseDIF7 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF7 == 1) + HEnegativedirectionReconoiseDIF7->SetXTitle("DIF for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseDIF7 == 2) + HEnegativedirectionReconoiseDIF7->SetXTitle("DIF for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseDIF7 == 3) + HEnegativedirectionReconoiseDIF7->SetXTitle("DIF for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseDIF7->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF7++; + if (kcountHEnegativedirectionReconoiseDIF7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF7) delete h2CeffHEnegativedirectionReconoiseDIF7; + if (h2CeffHEnegativedirectionReconoiseDIF7) + delete h2CeffHEnegativedirectionReconoiseDIF7; //====================================================================================================================== //====================================================================================================================== @@ -7527,1605 +10400,2194 @@ main(int argc, char *argv[]){ //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HE1"); - TH2F *reconoiseVariance0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HE1"); + TH2F* reconoiseVariance0HE1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); TH2F* reconoiseVarianceHE1 = (TH2F*)reconoiseVariance1HE1->Clone("reconoiseVarianceHE1"); - reconoiseVarianceHE1->Divide(reconoiseVariance1HE1,reconoiseVariance0HE1, 1, 1, "B"); - TH2F *reconoiseVariance1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE2"); - TH2F *reconoiseVariance0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + reconoiseVarianceHE1->Divide(reconoiseVariance1HE1, reconoiseVariance0HE1, 1, 1, "B"); + TH2F* reconoiseVariance1HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE2"); + TH2F* reconoiseVariance0HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); TH2F* reconoiseVarianceHE2 = (TH2F*)reconoiseVariance1HE2->Clone("reconoiseVarianceHE2"); - reconoiseVarianceHE2->Divide(reconoiseVariance1HE2,reconoiseVariance0HE2, 1, 1, "B"); - TH2F *reconoiseVariance1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE3"); - TH2F *reconoiseVariance0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + reconoiseVarianceHE2->Divide(reconoiseVariance1HE2, reconoiseVariance0HE2, 1, 1, "B"); + TH2F* reconoiseVariance1HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE3"); + TH2F* reconoiseVariance0HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); TH2F* reconoiseVarianceHE3 = (TH2F*)reconoiseVariance1HE3->Clone("reconoiseVarianceHE3"); - reconoiseVarianceHE3->Divide(reconoiseVariance1HE3,reconoiseVariance0HE3, 1, 1, "B"); - TH2F *reconoiseVariance1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE4"); - TH2F *reconoiseVariance0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + reconoiseVarianceHE3->Divide(reconoiseVariance1HE3, reconoiseVariance0HE3, 1, 1, "B"); + TH2F* reconoiseVariance1HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE4"); + TH2F* reconoiseVariance0HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); TH2F* reconoiseVarianceHE4 = (TH2F*)reconoiseVariance1HE4->Clone("reconoiseVarianceHE4"); - reconoiseVarianceHE4->Divide(reconoiseVariance1HE4,reconoiseVariance0HE4, 1, 1, "B"); - TH2F *reconoiseVariance1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE5"); - TH2F *reconoiseVariance0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + reconoiseVarianceHE4->Divide(reconoiseVariance1HE4, reconoiseVariance0HE4, 1, 1, "B"); + TH2F* reconoiseVariance1HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE5"); + TH2F* reconoiseVariance0HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); TH2F* reconoiseVarianceHE5 = (TH2F*)reconoiseVariance1HE5->Clone("reconoiseVarianceHE5"); - reconoiseVarianceHE5->Divide(reconoiseVariance1HE5,reconoiseVariance0HE5, 1, 1, "B"); - TH2F *reconoiseVariance1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE6"); - TH2F *reconoiseVariance0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + reconoiseVarianceHE5->Divide(reconoiseVariance1HE5, reconoiseVariance0HE5, 1, 1, "B"); + TH2F* reconoiseVariance1HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE6"); + TH2F* reconoiseVariance0HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); TH2F* reconoiseVarianceHE6 = (TH2F*)reconoiseVariance1HE6->Clone("reconoiseVarianceHE6"); - reconoiseVarianceHE6->Divide(reconoiseVariance1HE6,reconoiseVariance0HE6, 1, 1, "B"); - TH2F *reconoiseVariance1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE7"); - TH2F *reconoiseVariance0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + reconoiseVarianceHE6->Divide(reconoiseVariance1HE6, reconoiseVariance0HE6, 1, 1, "B"); + TH2F* reconoiseVariance1HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE7"); + TH2F* reconoiseVariance0HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); TH2F* reconoiseVarianceHE7 = (TH2F*)reconoiseVariance1HE7->Clone("reconoiseVarianceHE7"); - reconoiseVarianceHE7->Divide(reconoiseVariance1HE7,reconoiseVariance0HE7, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevariancehe - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + reconoiseVarianceHE7->Divide(reconoiseVariance1HE7, reconoiseVariance0HE7, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { //preparation for PHI normalization: - double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; - double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - reconoisevariancehe[1][jeta][jphi] = reconoiseVarianceHE2->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[2][jeta][jphi] = reconoiseVarianceHE3->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[3][jeta][jphi] = reconoiseVarianceHE4->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[4][jeta][jphi] = reconoiseVarianceHE5->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[5][jeta][jphi] = reconoiseVarianceHE6->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[6][jeta][jphi] = reconoiseVarianceHE7->GetBinContent(jeta+1,jphi+1); - if(reconoisevariancehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += reconoisevariancehe[0][jeta][jphi];++nsumreconoiseHE0;} - if(reconoisevariancehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += reconoisevariancehe[1][jeta][jphi];++nsumreconoiseHE1;} - if(reconoisevariancehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += reconoisevariancehe[2][jeta][jphi];++nsumreconoiseHE2;} - if(reconoisevariancehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += reconoisevariancehe[3][jeta][jphi];++nsumreconoiseHE3;} - if(reconoisevariancehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += reconoisevariancehe[4][jeta][jphi];++nsumreconoiseHE4;} - if(reconoisevariancehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += reconoisevariancehe[5][jeta][jphi];++nsumreconoiseHE5;} - if(reconoisevariancehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += reconoisevariancehe[6][jeta][jphi];++nsumreconoiseHE6;} - }// phi + double sumreconoiseHE0 = 0; + int nsumreconoiseHE0 = 0; + double sumreconoiseHE1 = 0; + int nsumreconoiseHE1 = 0; + double sumreconoiseHE2 = 0; + int nsumreconoiseHE2 = 0; + double sumreconoiseHE3 = 0; + int nsumreconoiseHE3 = 0; + double sumreconoiseHE4 = 0; + int nsumreconoiseHE4 = 0; + double sumreconoiseHE5 = 0; + int nsumreconoiseHE5 = 0; + double sumreconoiseHE6 = 0; + int nsumreconoiseHE6 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + reconoisevariancehe[0][jeta][jphi] = reconoiseVarianceHE1->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[1][jeta][jphi] = reconoiseVarianceHE2->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[2][jeta][jphi] = reconoiseVarianceHE3->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[3][jeta][jphi] = reconoiseVarianceHE4->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[4][jeta][jphi] = reconoiseVarianceHE5->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[5][jeta][jphi] = reconoiseVarianceHE6->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[6][jeta][jphi] = reconoiseVarianceHE7->GetBinContent(jeta + 1, jphi + 1); + if (reconoisevariancehe[0][jeta][jphi] != 0.) { + sumreconoiseHE0 += reconoisevariancehe[0][jeta][jphi]; + ++nsumreconoiseHE0; + } + if (reconoisevariancehe[1][jeta][jphi] != 0.) { + sumreconoiseHE1 += reconoisevariancehe[1][jeta][jphi]; + ++nsumreconoiseHE1; + } + if (reconoisevariancehe[2][jeta][jphi] != 0.) { + sumreconoiseHE2 += reconoisevariancehe[2][jeta][jphi]; + ++nsumreconoiseHE2; + } + if (reconoisevariancehe[3][jeta][jphi] != 0.) { + sumreconoiseHE3 += reconoisevariancehe[3][jeta][jphi]; + ++nsumreconoiseHE3; + } + if (reconoisevariancehe[4][jeta][jphi] != 0.) { + sumreconoiseHE4 += reconoisevariancehe[4][jeta][jphi]; + ++nsumreconoiseHE4; + } + if (reconoisevariancehe[5][jeta][jphi] != 0.) { + sumreconoiseHE5 += reconoisevariancehe[5][jeta][jphi]; + ++nsumreconoiseHE5; + } + if (reconoisevariancehe[6][jeta][jphi] != 0.) { + sumreconoiseHE6 += reconoisevariancehe[6][jeta][jphi]; + ++nsumreconoiseHE6; + } + } // phi // PHI normalization : - for(int jphi=0;jphiClear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDreconoiseHE42D = new TH2F("DefzDreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHE42D0 = new TH2F("DefzDreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHE42DF = (TH2F*)DefzDreconoiseHE42D0->Clone("DefzDreconoiseHE42DF"); - for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 - if(areconoisehe[i][jeta][jphi]>0.) {DefzDreconoiseHE42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHE42D0 ->Fill(kkk,jphi,1.); } - }}}} - DefzDreconoiseHE42DF->Divide(DefzDreconoiseHE42D,DefzDreconoiseHE42D0, 1, 1, "B");// average A - // DefzDreconoiseHE1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHE42DF->SetMarkerStyle(20); DefzDreconoiseHE42DF->SetMarkerSize(0.4); DefzDreconoiseHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHE42DF->SetYTitle(" #phi \b"); DefzDreconoiseHE42DF->SetZTitle("_depth \b"); DefzDreconoiseHE42DF->SetMarkerColor(2); DefzDreconoiseHE42DF->SetLineColor(0); // DefzDreconoiseHE42DF->SetMaximum(1.000); // DefzDreconoiseHE42DF->SetMinimum(1.0); - DefzDreconoiseHE42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DreconoiseGeneralD2PhiSymmetryHE.png"); - c1x0->Clear(); - // clean-up - if (DefzDreconoiseHE42D) delete DefzDreconoiseHE42D; - if (DefzDreconoiseHE42D0) delete DefzDreconoiseHE42D0; - if (DefzDreconoiseHE42DF) delete DefzDreconoiseHE42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthes *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDreconoiseHE42D = new TH2F("DefzDreconoiseHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHE42D0 = new TH2F("DefzDreconoiseHE42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHE42DF = (TH2F*)DefzDreconoiseHE42D0->Clone("DefzDreconoiseHE42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (areconoisehe[i][jeta][jphi] > 0.) { + DefzDreconoiseHE42D->Fill(kkk, jphi, ccc1); + DefzDreconoiseHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + DefzDreconoiseHE42DF->Divide(DefzDreconoiseHE42D, DefzDreconoiseHE42D0, 1, 1, "B"); // average A + // DefzDreconoiseHE1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE42DF->SetMarkerStyle(20); + DefzDreconoiseHE42DF->SetMarkerSize(0.4); + DefzDreconoiseHE42DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHE42DF->SetXTitle("_depth #eta \b"); + DefzDreconoiseHE42DF->SetYTitle(" #phi \b"); + DefzDreconoiseHE42DF->SetZTitle("_depth \b"); + DefzDreconoiseHE42DF->SetMarkerColor(2); + DefzDreconoiseHE42DF->SetLineColor( + 0); // DefzDreconoiseHE42DF->SetMaximum(1.000); // DefzDreconoiseHE42DF->SetMinimum(1.0); + DefzDreconoiseHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHE42D) + delete DefzDreconoiseHE42D; + if (DefzDreconoiseHE42D0) + delete DefzDreconoiseHE42D0; + if (DefzDreconoiseHE42DF) + delete DefzDreconoiseHE42DF; //====================================================================== 1D plot: D vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDreconoiseHE41D = new TH1F("DefzDreconoiseHE41D","", nphi, 0., 72. ); - TH1F* DefzDreconoiseHE41D0 = new TH1F("DefzDreconoiseHE41D0","",nphi, 0., 72. ); - TH1F* DefzDreconoiseHE41DF = (TH1F*)DefzDreconoiseHE41D0->Clone("DefzDreconoiseHE41DF"); - - for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int i=0;i0.) {DefzDreconoiseHE41D ->Fill(jphi,ccc1); DefzDreconoiseHE41D0 ->Fill(jphi,1.); } - }}}} - // DefzDreconoiseHE41D->Sumw2();DefzDreconoiseHE41D0->Sumw2(); - - DefzDreconoiseHE41DF->Divide(DefzDreconoiseHE41D,DefzDreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta - DefzDreconoiseHE41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHE41DF->SetMarkerStyle(20); DefzDreconoiseHE41DF->SetMarkerSize(1.4); DefzDreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE41DF->SetXTitle("#phi \b"); DefzDreconoiseHE41DF->SetYTitle(" \b"); DefzDreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDreconoiseHE41DF->SetMarkerColor(4); DefzDreconoiseHE41DF->SetLineColor(4); // DefzDreconoiseHE41DF->SetMinimum(0.8); DefzDreconoiseHE41DF->SetMinimum(-0.015); - DefzDreconoiseHE41DF->Draw("Error"); + TH1F* DefzDreconoiseHE41D = new TH1F("DefzDreconoiseHE41D", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHE41D0 = new TH1F("DefzDreconoiseHE41D0", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHE41DF = (TH1F*)DefzDreconoiseHE41D0->Clone("DefzDreconoiseHE41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + DefzDreconoiseHE41D->Fill(jphi, ccc1); + DefzDreconoiseHE41D0->Fill(jphi, 1.); + } + } + } + } + } + // DefzDreconoiseHE41D->Sumw2();DefzDreconoiseHE41D0->Sumw2(); + + DefzDreconoiseHE41DF->Divide(DefzDreconoiseHE41D, DefzDreconoiseHE41D0, 1, 1, "B"); // R averaged over depthes & eta + DefzDreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE41DF->SetMarkerStyle(20); + DefzDreconoiseHE41DF->SetMarkerSize(1.4); + DefzDreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHE41DF->SetXTitle("#phi \b"); + DefzDreconoiseHE41DF->SetYTitle(" \b"); + DefzDreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); + DefzDreconoiseHE41DF->SetMarkerColor(4); + DefzDreconoiseHE41DF->SetLineColor( + 4); // DefzDreconoiseHE41DF->SetMinimum(0.8); DefzDreconoiseHE41DF->SetMinimum(-0.015); + DefzDreconoiseHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DreconoiseGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (DefzDreconoiseHE41D) delete DefzDreconoiseHE41D; - if (DefzDreconoiseHE41D0) delete DefzDreconoiseHE41D0; - if (DefzDreconoiseHE41DF) delete DefzDreconoiseHE41DF; - //========================================================================================== 14 + if (DefzDreconoiseHE41D) + delete DefzDreconoiseHE41D; + if (DefzDreconoiseHE41D0) + delete DefzDreconoiseHE41D0; + if (DefzDreconoiseHE41DF) + delete DefzDreconoiseHE41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD1=1; - TH1F* h2CeffHEpositivedirectionReconoiseD1 = new TH1F("h2CeffHEpositivedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD1 == 1) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 2) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 3) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 4) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 5) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 6) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 7) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 8) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 9) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 ==10) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 ==11) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 ==12) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionReconoiseD1->Draw("Error"); - kcountHEpositivedirectionReconoiseD1++; - if(kcountHEpositivedirectionReconoiseD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD1 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD1 = new TH1F("h2CeffHEpositivedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEpositivedirectionReconoiseD1 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD1 == 1) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 2) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 3) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 4) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 5) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 6) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 7) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 8) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 9) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 10) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 11) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 12) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseD1->Draw("Error"); + kcountHEpositivedirectionReconoiseD1++; + if (kcountHEpositivedirectionReconoiseD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD1) delete h2CeffHEpositivedirectionReconoiseD1; - //========================================================================================== 15 + if (h2CeffHEpositivedirectionReconoiseD1) + delete h2CeffHEpositivedirectionReconoiseD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD2=1; - TH1F* h2CeffHEpositivedirectionReconoiseD2 = new TH1F("h2CeffHEpositivedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD2 == 1) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 2) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 3) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 4) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 5) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 6) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 7) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 8) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 9) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==10) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==11) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==12) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==13) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionReconoiseD2->Draw("Error"); - kcountHEpositivedirectionReconoiseD2++; - if(kcountHEpositivedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD2 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD2 = new TH1F("h2CeffHEpositivedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEpositivedirectionReconoiseD2 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD2 == 1) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 2) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 3) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 4) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 5) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 6) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 7) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 8) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 9) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 10) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 11) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 12) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 13) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseD2->Draw("Error"); + kcountHEpositivedirectionReconoiseD2++; + if (kcountHEpositivedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD2) delete h2CeffHEpositivedirectionReconoiseD2; - //========================================================================================== 16 + if (h2CeffHEpositivedirectionReconoiseD2) + delete h2CeffHEpositivedirectionReconoiseD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD3=1; - TH1F* h2CeffHEpositivedirectionReconoiseD3 = new TH1F("h2CeffHEpositivedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD3 == 1) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 2) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 3) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 4) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 5) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 6) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 7) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 8) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 9) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==10) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==11) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==12) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==13) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionReconoiseD3->Draw("Error"); - kcountHEpositivedirectionReconoiseD3++; - if(kcountHEpositivedirectionReconoiseD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD3 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD3 = new TH1F("h2CeffHEpositivedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEpositivedirectionReconoiseD3 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD3 == 1) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 2) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 3) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 4) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 5) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 6) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 7) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 8) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 9) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 10) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 11) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 12) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 13) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseD3->Draw("Error"); + kcountHEpositivedirectionReconoiseD3++; + if (kcountHEpositivedirectionReconoiseD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD3) delete h2CeffHEpositivedirectionReconoiseD3; - //========================================================================================== 17 + if (h2CeffHEpositivedirectionReconoiseD3) + delete h2CeffHEpositivedirectionReconoiseD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD4=1; - TH1F* h2CeffHEpositivedirectionReconoiseD4 = new TH1F("h2CeffHEpositivedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD4 == 1) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 2) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 3) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 4) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 5) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 6) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 7) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 8) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 9) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 ==10) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 ==11) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 ==12) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionReconoiseD4->Draw("Error"); - kcountHEpositivedirectionReconoiseD4++; - if(kcountHEpositivedirectionReconoiseD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD4 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD4 = new TH1F("h2CeffHEpositivedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEpositivedirectionReconoiseD4 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD4 == 1) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 2) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 3) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 4) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 5) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 6) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 7) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 8) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 9) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 10) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 11) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 12) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseD4->Draw("Error"); + kcountHEpositivedirectionReconoiseD4++; + if (kcountHEpositivedirectionReconoiseD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD4) delete h2CeffHEpositivedirectionReconoiseD4; - //========================================================================================== 18 + if (h2CeffHEpositivedirectionReconoiseD4) + delete h2CeffHEpositivedirectionReconoiseD4; + //========================================================================================== 18 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD5=1; - TH1F* h2CeffHEpositivedirectionReconoiseD5 = new TH1F("h2CeffHEpositivedirectionReconoiseD5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEpositivedirectionReconoiseD5 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD5 == 1) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 2) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 3) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 4) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 5) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 6) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 7) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 8) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 9) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 ==10) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 ==11) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionReconoiseD5->Draw("Error"); - kcountHEpositivedirectionReconoiseD5++; - if(kcountHEpositivedirectionReconoiseD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD5 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD5 = new TH1F("h2CeffHEpositivedirectionReconoiseD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD5->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEpositivedirectionReconoiseD5 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD5 == 1) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 2) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 3) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 4) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 5) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 6) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 7) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 8) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 9) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 10) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 11) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseD5->Draw("Error"); + kcountHEpositivedirectionReconoiseD5++; + if (kcountHEpositivedirectionReconoiseD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD5) delete h2CeffHEpositivedirectionReconoiseD5; - //========================================================================================== 19 + if (h2CeffHEpositivedirectionReconoiseD5) + delete h2CeffHEpositivedirectionReconoiseD5; + //========================================================================================== 19 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD6=1; - TH1F* h2CeffHEpositivedirectionReconoiseD6 = new TH1F("h2CeffHEpositivedirectionReconoiseD6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEpositivedirectionReconoiseD6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD6 == 1) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 2) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 3) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 4) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 5) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 6) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 7) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 8) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 9) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 ==10) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionReconoiseD6->Draw("Error"); - kcountHEpositivedirectionReconoiseD6++; - if(kcountHEpositivedirectionReconoiseD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD6 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD6 = new TH1F("h2CeffHEpositivedirectionReconoiseD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEpositivedirectionReconoiseD6 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD6 == 1) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 2) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 3) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 4) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 5) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 6) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 7) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 8) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 9) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 10) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseD6->Draw("Error"); + kcountHEpositivedirectionReconoiseD6++; + if (kcountHEpositivedirectionReconoiseD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD6) delete h2CeffHEpositivedirectionReconoiseD6; - //========================================================================================== 20 + if (h2CeffHEpositivedirectionReconoiseD6) + delete h2CeffHEpositivedirectionReconoiseD6; + //========================================================================================== 20 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD7=1; - TH1F* h2CeffHEpositivedirectionReconoiseD7 = new TH1F("h2CeffHEpositivedirectionReconoiseD7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEpositivedirectionReconoiseD7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD7 == 1) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseD7 == 2) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseD7 == 3) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionReconoiseD7->Draw("Error"); - kcountHEpositivedirectionReconoiseD7++; - if(kcountHEpositivedirectionReconoiseD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD7 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD7 = new TH1F("h2CeffHEpositivedirectionReconoiseD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEpositivedirectionReconoiseD7 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD7 == 1) + HEpositivedirectionReconoiseD7->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseD7 == 2) + HEpositivedirectionReconoiseD7->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseD7 == 3) + HEpositivedirectionReconoiseD7->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseD7->Draw("Error"); + kcountHEpositivedirectionReconoiseD7++; + if (kcountHEpositivedirectionReconoiseD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD7) delete h2CeffHEpositivedirectionReconoiseD7; - + if (h2CeffHEpositivedirectionReconoiseD7) + delete h2CeffHEpositivedirectionReconoiseD7; - //========================================================================================== 22222214 + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD1=1; - TH1F* h2CeffHEnegativedirectionReconoiseD1 = new TH1F("h2CeffHEnegativedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD1 == 1) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 2) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 3) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 4) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 5) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 6) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 7) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 8) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 9) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 ==10) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 ==11) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 ==12) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionReconoiseD1->Draw("Error"); - kcountHEnegativedirectionReconoiseD1++; - if(kcountHEnegativedirectionReconoiseD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD1 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD1 = new TH1F("h2CeffHEnegativedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEnegativedirectionReconoiseD1 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD1 == 1) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 2) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 3) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 4) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 5) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 6) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 7) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 8) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 9) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 10) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 11) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 12) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseD1->Draw("Error"); + kcountHEnegativedirectionReconoiseD1++; + if (kcountHEnegativedirectionReconoiseD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD1) delete h2CeffHEnegativedirectionReconoiseD1; - //========================================================================================== 22222215 + if (h2CeffHEnegativedirectionReconoiseD1) + delete h2CeffHEnegativedirectionReconoiseD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD2=1; - TH1F* h2CeffHEnegativedirectionReconoiseD2 = new TH1F("h2CeffHEnegativedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD2 == 1) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 2) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 3) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 4) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 5) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 6) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 7) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 8) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 9) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==10) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==11) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==12) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==13) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionReconoiseD2->Draw("Error"); - kcountHEnegativedirectionReconoiseD2++; - if(kcountHEnegativedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD2 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD2 = new TH1F("h2CeffHEnegativedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEnegativedirectionReconoiseD2 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD2 == 1) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 2) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 3) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 4) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 5) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 6) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 7) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 8) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 9) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 10) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 11) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 12) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 13) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseD2->Draw("Error"); + kcountHEnegativedirectionReconoiseD2++; + if (kcountHEnegativedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD2) delete h2CeffHEnegativedirectionReconoiseD2; - //========================================================================================== 22222216 + if (h2CeffHEnegativedirectionReconoiseD2) + delete h2CeffHEnegativedirectionReconoiseD2; + //========================================================================================== 22222216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD3=1; - TH1F* h2CeffHEnegativedirectionReconoiseD3 = new TH1F("h2CeffHEnegativedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD3 == 1) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 2) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 3) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 4) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 5) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 6) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 7) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 8) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 9) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==10) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==11) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==12) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==13) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionReconoiseD3->Draw("Error"); - kcountHEnegativedirectionReconoiseD3++; - if(kcountHEnegativedirectionReconoiseD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD3 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD3 = new TH1F("h2CeffHEnegativedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEnegativedirectionReconoiseD3 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD3 == 1) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 2) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 3) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 4) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 5) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 6) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 7) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 8) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 9) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 10) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 11) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 12) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 13) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseD3->Draw("Error"); + kcountHEnegativedirectionReconoiseD3++; + if (kcountHEnegativedirectionReconoiseD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD3) delete h2CeffHEnegativedirectionReconoiseD3; - //========================================================================================== 22222217 + if (h2CeffHEnegativedirectionReconoiseD3) + delete h2CeffHEnegativedirectionReconoiseD3; + //========================================================================================== 22222217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD4=1; - TH1F* h2CeffHEnegativedirectionReconoiseD4 = new TH1F("h2CeffHEnegativedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD4 == 1) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 2) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 3) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 4) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 5) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 6) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 7) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 8) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 9) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 ==10) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 ==11) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 ==12) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionReconoiseD4->Draw("Error"); - kcountHEnegativedirectionReconoiseD4++; - if(kcountHEnegativedirectionReconoiseD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD4 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD4 = new TH1F("h2CeffHEnegativedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEnegativedirectionReconoiseD4 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD4 == 1) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 2) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 3) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 4) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 5) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 6) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 7) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 8) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 9) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 10) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 11) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 12) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseD4->Draw("Error"); + kcountHEnegativedirectionReconoiseD4++; + if (kcountHEnegativedirectionReconoiseD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD4) delete h2CeffHEnegativedirectionReconoiseD4; - //========================================================================================== 22222218 + if (h2CeffHEnegativedirectionReconoiseD4) + delete h2CeffHEnegativedirectionReconoiseD4; + //========================================================================================== 22222218 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD5=1; - TH1F* h2CeffHEnegativedirectionReconoiseD5 = new TH1F("h2CeffHEnegativedirectionReconoiseD5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEnegativedirectionReconoiseD5 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD5 == 1) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 2) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 3) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 4) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 5) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 6) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 7) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 8) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 9) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 ==10) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 ==11) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionReconoiseD5->Draw("Error"); - kcountHEnegativedirectionReconoiseD5++; - if(kcountHEnegativedirectionReconoiseD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD5 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD5 = new TH1F("h2CeffHEnegativedirectionReconoiseD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD5->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEnegativedirectionReconoiseD5 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD5 == 1) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 2) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 3) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 4) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 5) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 6) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 7) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 8) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 9) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 10) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 11) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseD5->Draw("Error"); + kcountHEnegativedirectionReconoiseD5++; + if (kcountHEnegativedirectionReconoiseD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD5) delete h2CeffHEnegativedirectionReconoiseD5; - //========================================================================================== 22222219 + if (h2CeffHEnegativedirectionReconoiseD5) + delete h2CeffHEnegativedirectionReconoiseD5; + //========================================================================================== 22222219 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD6=1; - TH1F* h2CeffHEnegativedirectionReconoiseD6 = new TH1F("h2CeffHEnegativedirectionReconoiseD6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEnegativedirectionReconoiseD6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD6 == 1) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 2) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 3) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 4) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 5) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 6) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 7) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 8) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 9) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 ==10) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionReconoiseD6->Draw("Error"); - kcountHEnegativedirectionReconoiseD6++; - if(kcountHEnegativedirectionReconoiseD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD6 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD6 = new TH1F("h2CeffHEnegativedirectionReconoiseD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEnegativedirectionReconoiseD6 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD6 == 1) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 2) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 3) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 4) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 5) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 6) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 7) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 8) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 9) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 10) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseD6->Draw("Error"); + kcountHEnegativedirectionReconoiseD6++; + if (kcountHEnegativedirectionReconoiseD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD6) delete h2CeffHEnegativedirectionReconoiseD6; - //========================================================================================== 22222220 + if (h2CeffHEnegativedirectionReconoiseD6) + delete h2CeffHEnegativedirectionReconoiseD6; + //========================================================================================== 22222220 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD7=1; - TH1F* h2CeffHEnegativedirectionReconoiseD7 = new TH1F("h2CeffHEnegativedirectionReconoiseD7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEnegativedirectionReconoiseD7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD7 == 1) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseD7 == 2) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseD7 == 3) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionReconoiseD7->Draw("Error"); - kcountHEnegativedirectionReconoiseD7++; - if(kcountHEnegativedirectionReconoiseD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD7 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD7 = new TH1F("h2CeffHEnegativedirectionReconoiseD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEnegativedirectionReconoiseD7 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD7 == 1) + HEnegativedirectionReconoiseD7->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseD7 == 2) + HEnegativedirectionReconoiseD7->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseD7 == 3) + HEnegativedirectionReconoiseD7->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseD7->Draw("Error"); + kcountHEnegativedirectionReconoiseD7++; + if (kcountHEnegativedirectionReconoiseD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD7) delete h2CeffHEnegativedirectionReconoiseD7; + if (h2CeffHEnegativedirectionReconoiseD7) + delete h2CeffHEnegativedirectionReconoiseD7; //===================================================================== END of Reconoise HE for phi-symmetry //===================================================================== END of Reconoise HE for phi-symmetry //===================================================================== END of Reconoise HE for phi-symmetry //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 2; - double areconoiseHF[ndepth][njeta][njphi]; - double breconoiseHF[ndepth][njeta][njphi]; - double reconoisevarianceHF[ndepth][njeta][njphi]; - - - TH2F *recNoiseEnergy1HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF1"); - TH2F *recNoiseEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double areconoiseHF[ndepth][njeta][njphi]; + double breconoiseHF[ndepth][njeta][njphi]; + double reconoisevarianceHF[ndepth][njeta][njphi]; + + TH2F* recNoiseEnergy1HF1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF1"); + TH2F* recNoiseEnergy0HF1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); TH2F* recNoiseEnergyHF1 = (TH2F*)recNoiseEnergy1HF1->Clone("recNoiseEnergyHF1"); - recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1,recNoiseEnergy0HF1, 1, 1, "B"); - TH2F *recNoiseEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF2"); - TH2F *recNoiseEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1, recNoiseEnergy0HF1, 1, 1, "B"); + TH2F* recNoiseEnergy1HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF2"); + TH2F* recNoiseEnergy0HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); TH2F* recNoiseEnergyHF2 = (TH2F*)recNoiseEnergy1HF2->Clone("recNoiseEnergyHF2"); - recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2,recNoiseEnergy0HF2, 1, 1, "B"); - //====================================================================== PHI normalization & put R into massive areconoiseHF - for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2, recNoiseEnergy0HF2, 1, 1, "B"); + //====================================================================== PHI normalization & put R into massive areconoiseHF + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { //preparation for PHI normalization: - double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - areconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); - breconoiseHF[0][jeta][jphi] = recNoiseEnergyHF1->GetBinContent(jeta+1,jphi+1); - breconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); - sumreconoiseHF0 += areconoiseHF[0][jeta][jphi];++nsumreconoiseHF0; - sumreconoiseHF1 += areconoiseHF[1][jeta][jphi];++nsumreconoiseHF1; - }// phi - - // PHI normalization for DIF: - for(int jphi=0;jphiGetBinContent(jeta + 1, jphi + 1); + areconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta + 1, jphi + 1); + breconoiseHF[0][jeta][jphi] = recNoiseEnergyHF1->GetBinContent(jeta + 1, jphi + 1); + breconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta + 1, jphi + 1); + sumreconoiseHF0 += areconoiseHF[0][jeta][jphi]; + ++nsumreconoiseHF0; + sumreconoiseHF1 += areconoiseHF[1][jeta][jphi]; + ++nsumreconoiseHF1; + } // phi + + // PHI normalization for DIF: + for (int jphi = 0; jphi < njphi; jphi++) { + if (sumreconoiseHF0 != 0.) + breconoiseHF[0][jeta][jphi] -= (sumreconoiseHF0 / nsumreconoiseHF0); + if (sumreconoiseHF1 != 0.) + breconoiseHF[1][jeta][jphi] -= (sumreconoiseHF1 / nsumreconoiseHF1); + } // phi // PHI normalization for R: - for(int jphi=0;jphiClear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRreconoiseHF42D = new TH2F("GefzRreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRreconoiseHF42D0 = new TH2F("GefzRreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHF42D = new TH2F("GefzRreconoiseHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRreconoiseHF42D0 = new TH2F("GefzRreconoiseHF42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRreconoiseHF42DF = (TH2F*)GefzRreconoiseHF42D0->Clone("GefzRreconoiseHF42DF"); - for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHF42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzRreconoiseHF42DF->Divide(GefzRreconoiseHF42D,GefzRreconoiseHF42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHF42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRreconoiseHF42D->Fill(kkk, jphi, ccc1); + GefzRreconoiseHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzRreconoiseHF42DF->Divide(GefzRreconoiseHF42D, GefzRreconoiseHF42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF42DF->SetXTitle("_depth #eta \b"); + GefzRreconoiseHF42DF->SetYTitle(" #phi \b"); GefzRreconoiseHF42DF->Draw("COLZ"); - - c2x1->cd(2); - TH1F *energyhitNoise_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HF"); - energyhitNoise_HF ->SetMarkerStyle(20);energyhitNoise_HF ->SetMarkerSize(0.4);energyhitNoise_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HF ->SetXTitle("energyhitNoise_HF \b");energyhitNoise_HF ->SetMarkerColor(2);energyhitNoise_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HF ->Draw("Error"); - - + TH1F* energyhitNoise_HF = (TH1F*)dir->FindObjectAny("h_energyhitNoise_HF"); + energyhitNoise_HF->SetMarkerStyle(20); + energyhitNoise_HF->SetMarkerSize(0.4); + energyhitNoise_HF->GetYaxis()->SetLabelSize(0.04); + energyhitNoise_HF->SetXTitle("energyhitNoise_HF \b"); + energyhitNoise_HF->SetMarkerColor(2); + energyhitNoise_HF->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitNoise_HF->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RreconoiseGeneralD2PhiSymmetryHF.png"); c2x1->Clear(); // clean-up - if (GefzRreconoiseHF42D) delete GefzRreconoiseHF42D; - if (GefzRreconoiseHF42D0) delete GefzRreconoiseHF42D0; - if (GefzRreconoiseHF42DF) delete GefzRreconoiseHF42DF; + if (GefzRreconoiseHF42D) + delete GefzRreconoiseHF42D; + if (GefzRreconoiseHF42D0) + delete GefzRreconoiseHF42D0; + if (GefzRreconoiseHF42DF) + delete GefzRreconoiseHF42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRreconoiseHF41D = new TH1F("GefzRreconoiseHF41D","", nphi, 0., 72. ); - TH1F* GefzRreconoiseHF41D0 = new TH1F("GefzRreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHF41D = new TH1F("GefzRreconoiseHF41D", "", nphi, 0., 72.); + TH1F* GefzRreconoiseHF41D0 = new TH1F("GefzRreconoiseHF41D0", "", nphi, 0., 72.); TH1F* GefzRreconoiseHF41DF = (TH1F*)GefzRreconoiseHF41D0->Clone("GefzRreconoiseHF41DF"); - for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHF41D0 ->Fill(jphi,1.); } - }}}} - GefzRreconoiseHF41DF->Divide(GefzRreconoiseHF41D,GefzRreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRreconoiseHF41D->Fill(jphi, ccc1); + GefzRreconoiseHF41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzRreconoiseHF41DF->Divide(GefzRreconoiseHF41D, GefzRreconoiseHF41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRreconoiseHF41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHF41DF->SetMarkerStyle(20); GefzRreconoiseHF41DF->SetMarkerSize(1.4); GefzRreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHF41DF->SetXTitle("#phi \b"); GefzRreconoiseHF41DF->SetYTitle(" \b"); GefzRreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHF41DF->SetMarkerColor(4); GefzRreconoiseHF41DF->SetLineColor(4);// GefzRreconoiseHF41DF->SetMinimum(0.8); // GefzRreconoiseHF41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF41DF->SetMarkerStyle(20); + GefzRreconoiseHF41DF->SetMarkerSize(1.4); + GefzRreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); + GefzRreconoiseHF41DF->SetXTitle("#phi \b"); + GefzRreconoiseHF41DF->SetYTitle(" \b"); + GefzRreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRreconoiseHF41DF->SetMarkerColor(4); + GefzRreconoiseHF41DF->SetLineColor( + 4); // GefzRreconoiseHF41DF->SetMinimum(0.8); // GefzRreconoiseHF41DF->SetMaximum(1.000); GefzRreconoiseHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RreconoiseGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (GefzRreconoiseHF41D) delete GefzRreconoiseHF41D; - if (GefzRreconoiseHF41D0) delete GefzRreconoiseHF41D0; - if (GefzRreconoiseHF41DF) delete GefzRreconoiseHF41DF; - //========================================================================================== 4 + if (GefzRreconoiseHF41D) + delete GefzRreconoiseHF41D; + if (GefzRreconoiseHF41D0) + delete GefzRreconoiseHF41D0; + if (GefzRreconoiseHF41DF) + delete GefzRreconoiseHF41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionReconoise1=1; - TH1F* h2CeffHFpositivedirectionReconoise1 = new TH1F("h2CeffHFpositivedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + if (jeta - 41 >= 28 && jeta - 41 <= 40) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFpositivedirectionReconoise1 = "<SetMarkerColor(2);HFpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoise1 == 1) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 2) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 3) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 4) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 5) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 6) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 7) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 8) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 9) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==10) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==11) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==12) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==13) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionReconoise1->Draw("Error"); - kcountHFpositivedirectionReconoise1++; - if(kcountHFpositivedirectionReconoise1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFpositivedirectionReconoise1 = (TH1F*)h2CeffHFpositivedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFpositivedirectionReconoise1 = "<SetMarkerColor(2); + HFpositivedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoise1 == 1) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 2) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 3) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 4) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 5) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 6) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 7) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 8) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 9) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 10) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 11) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 12) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 13) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoise1->Draw("Error"); + kcountHFpositivedirectionReconoise1++; + if (kcountHFpositivedirectionReconoise1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoise1) delete h2CeffHFpositivedirectionReconoise1; - + if (h2CeffHFpositivedirectionReconoise1) + delete h2CeffHFpositivedirectionReconoise1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionReconoise2=1; - TH1F* h2CeffHFpositivedirectionReconoise2 = new TH1F("h2CeffHFpositivedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFpositivedirectionReconoise2 = "<SetMarkerColor(2);HFpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoise2 == 1) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 2) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 3) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 4) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 5) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 6) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 7) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 8) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 9) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==10) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==11) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==12) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==13) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionReconoise2->Draw("Error"); - kcountHFpositivedirectionReconoise2++; - if(kcountHFpositivedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoise2 = 1; + TH1F* h2CeffHFpositivedirectionReconoise2 = new TH1F("h2CeffHFpositivedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFpositivedirectionReconoise2 = "<SetMarkerColor(2); + HFpositivedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoise2 == 1) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 2) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 3) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 4) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 5) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 6) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 7) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 8) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 9) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 10) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 11) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 12) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 13) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoise2->Draw("Error"); + kcountHFpositivedirectionReconoise2++; + if (kcountHFpositivedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoise2) delete h2CeffHFpositivedirectionReconoise2; + if (h2CeffHFpositivedirectionReconoise2) + delete h2CeffHFpositivedirectionReconoise2; - //========================================================================================== 1111114 + //========================================================================================== 1111114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionReconoise1=1; - TH1F* h2CeffHFnegativedirectionReconoise1 = new TH1F("h2CeffHFnegativedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + if (jeta - 41 >= -41 && jeta - 41 <= -29) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFnegativedirectionReconoise1 = "<SetMarkerColor(2);HFnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoise1 == 1) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 2) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 3) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 4) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 5) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 6) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 7) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 8) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 9) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==10) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==11) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==12) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==13) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionReconoise1->Draw("Error"); - kcountHFnegativedirectionReconoise1++; - if(kcountHFnegativedirectionReconoise1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFnegativedirectionReconoise1 = (TH1F*)h2CeffHFnegativedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFnegativedirectionReconoise1 = "<SetMarkerColor(2); + HFnegativedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoise1 == 1) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 2) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 3) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 4) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 5) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 6) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 7) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 8) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 9) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 10) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 11) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 12) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 13) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoise1->Draw("Error"); + kcountHFnegativedirectionReconoise1++; + if (kcountHFnegativedirectionReconoise1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoise1) delete h2CeffHFnegativedirectionReconoise1; - + if (h2CeffHFnegativedirectionReconoise1) + delete h2CeffHFnegativedirectionReconoise1; - //========================================================================================== 1111115 + //========================================================================================== 1111115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionReconoise2=1; - TH1F* h2CeffHFnegativedirectionReconoise2 = new TH1F("h2CeffHFnegativedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFnegativedirectionReconoise2 = "<SetMarkerColor(2);HFnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoise2 == 1) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 2) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 3) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 4) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 5) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 6) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 7) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 8) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 9) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==10) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==11) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==12) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==13) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); - HFnegativedirectionReconoise2->Draw("Error"); - kcountHFnegativedirectionReconoise2++; - if(kcountHFnegativedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoise2 = 1; + TH1F* h2CeffHFnegativedirectionReconoise2 = new TH1F("h2CeffHFnegativedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFnegativedirectionReconoise2 = "<SetMarkerColor(2); + HFnegativedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoise2 == 1) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 2) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 3) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 4) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 5) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 6) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 7) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 8) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 9) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 10) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 11) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 12) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 13) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoise2->Draw("Error"); + kcountHFnegativedirectionReconoise2++; + if (kcountHFnegativedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoise2) delete h2CeffHFnegativedirectionReconoise2; + if (h2CeffHFnegativedirectionReconoise2) + delete h2CeffHFnegativedirectionReconoise2; //====================================================================================================================== // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HF //------------------------ 2D-eta/phi-plot: DIF, averaged over depthfs //====================================================================== //====================================================================== -// cout<<" DIF2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzDIFreconoiseHF42D = new TH2F("GefzDIFreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzDIFreconoiseHF42D0 = new TH2F("GefzDIFreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHF42D = new TH2F("GefzDIFreconoiseHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzDIFreconoiseHF42D0 = new TH2F("GefzDIFreconoiseHF42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzDIFreconoiseHF42DF = (TH2F*)GefzDIFreconoiseHF42D0->Clone("GefzDIFreconoiseHF42DF"); - for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzDIFreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHF42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzDIFreconoiseHF42DF->Divide(GefzDIFreconoiseHF42D,GefzDIFreconoiseHF42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHF42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzDIFreconoiseHF42D->Fill(kkk, jphi, ccc1); + GefzDIFreconoiseHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHF42DF->Divide(GefzDIFreconoiseHF42D, GefzDIFreconoiseHF42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF42DF->SetXTitle("_depth #eta \b"); + GefzDIFreconoiseHF42DF->SetYTitle(" #phi \b"); GefzDIFreconoiseHF42DF->Draw("COLZ"); - - c2x1->cd(2); // TH1F *energyhitNoiseCut_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoiseCut_HF"); - // energyhitNoiseCut_HF ->SetMarkerStyle(20);energyhitNoiseCut_HF ->SetMarkerSize(0.4);energyhitNoiseCut_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoiseCut_HF ->SetXTitle("energyhitNoiseCut_HF \b");energyhitNoiseCut_HF ->SetMarkerColor(2);energyhitNoiseCut_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoiseCut_HF ->Draw("Error"); - - + // energyhitNoiseCut_HF ->SetMarkerStyle(20);energyhitNoiseCut_HF ->SetMarkerSize(0.4);energyhitNoiseCut_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoiseCut_HF ->SetXTitle("energyhitNoiseCut_HF \b");energyhitNoiseCut_HF ->SetMarkerColor(2);energyhitNoiseCut_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoiseCut_HF ->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHF.png"); c2x1->Clear(); // clean-up - if (GefzDIFreconoiseHF42D) delete GefzDIFreconoiseHF42D; - if (GefzDIFreconoiseHF42D0) delete GefzDIFreconoiseHF42D0; - if (GefzDIFreconoiseHF42DF) delete GefzDIFreconoiseHF42DF; + if (GefzDIFreconoiseHF42D) + delete GefzDIFreconoiseHF42D; + if (GefzDIFreconoiseHF42D0) + delete GefzDIFreconoiseHF42D0; + if (GefzDIFreconoiseHF42DF) + delete GefzDIFreconoiseHF42DF; //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzDIFreconoiseHF41D = new TH1F("GefzDIFreconoiseHF41D","", nphi, 0., 72. ); - TH1F* GefzDIFreconoiseHF41D0 = new TH1F("GefzDIFreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHF41D = new TH1F("GefzDIFreconoiseHF41D", "", nphi, 0., 72.); + TH1F* GefzDIFreconoiseHF41D0 = new TH1F("GefzDIFreconoiseHF41D0", "", nphi, 0., 72.); TH1F* GefzDIFreconoiseHF41DF = (TH1F*)GefzDIFreconoiseHF41D0->Clone("GefzDIFreconoiseHF41DF"); - for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHF41D0 ->Fill(jphi,1.); } - }}}} - GefzDIFreconoiseHF41DF->Divide(GefzDIFreconoiseHF41D,GefzDIFreconoiseHF41D0, 1, 1, "B");// DIF averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzDIFreconoiseHF41D->Fill(jphi, ccc1); + GefzDIFreconoiseHF41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHF41DF->Divide( + GefzDIFreconoiseHF41D, GefzDIFreconoiseHF41D0, 1, 1, "B"); // DIF averaged over depthfs & eta GefzDIFreconoiseHF41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHF41DF->SetMarkerStyle(20); GefzDIFreconoiseHF41DF->SetMarkerSize(1.4); GefzDIFreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHF41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHF41DF->SetYTitle(" \b"); GefzDIFreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHF41DF->SetMarkerColor(4); GefzDIFreconoiseHF41DF->SetLineColor(4);// GefzDIFreconoiseHF41DF->SetMinimum(0.8); // GefzDIFreconoiseHF41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF41DF->SetMarkerStyle(20); + GefzDIFreconoiseHF41DF->SetMarkerSize(1.4); + GefzDIFreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); + GefzDIFreconoiseHF41DF->SetXTitle("#phi \b"); + GefzDIFreconoiseHF41DF->SetYTitle(" \b"); + GefzDIFreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzDIFreconoiseHF41DF->SetMarkerColor(4); + GefzDIFreconoiseHF41DF->SetLineColor( + 4); // GefzDIFreconoiseHF41DF->SetMinimum(0.8); // GefzDIFreconoiseHF41DF->SetMaximum(1.000); GefzDIFreconoiseHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (GefzDIFreconoiseHF41D) delete GefzDIFreconoiseHF41D; - if (GefzDIFreconoiseHF41D0) delete GefzDIFreconoiseHF41D0; - if (GefzDIFreconoiseHF41DF) delete GefzDIFreconoiseHF41DF; - //========================================================================================== 4 + if (GefzDIFreconoiseHF41D) + delete GefzDIFreconoiseHF41D; + if (GefzDIFreconoiseHF41D0) + delete GefzDIFreconoiseHF41D0; + if (GefzDIFreconoiseHF41DF) + delete GefzDIFreconoiseHF41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionReconoiseDIF1=1; - TH1F* h2CeffHFpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + if (jeta - 41 >= 28 && jeta - 41 <= 40) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseDIF1 == 1) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 2) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 3) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 4) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 5) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 6) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 7) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 8) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 9) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==10) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==11) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==12) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==13) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionReconoiseDIF1->Draw("Error"); - kcountHFpositivedirectionReconoiseDIF1++; - if(kcountHFpositivedirectionReconoiseDIF1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFpositivedirectionReconoiseDIF1 = (TH1F*)h2CeffHFpositivedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseDIF1 == 1) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 2) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 3) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 4) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 5) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 6) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 7) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 8) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 9) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 10) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 11) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 12) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 13) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF1++; + if (kcountHFpositivedirectionReconoiseDIF1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseDIF1) delete h2CeffHFpositivedirectionReconoiseDIF1; - + if (h2CeffHFpositivedirectionReconoiseDIF1) + delete h2CeffHFpositivedirectionReconoiseDIF1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionReconoiseDIF2=1; - TH1F* h2CeffHFpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseDIF2 == 1) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 2) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 3) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 4) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 5) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 6) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 7) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 8) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 9) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==10) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==11) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==12) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==13) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionReconoiseDIF2->Draw("Error"); - kcountHFpositivedirectionReconoiseDIF2++; - if(kcountHFpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHFpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseDIF2 == 1) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 2) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 3) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 4) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 5) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 6) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 7) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 8) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 9) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 10) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 11) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 12) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 13) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF2++; + if (kcountHFpositivedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseDIF2) delete h2CeffHFpositivedirectionReconoiseDIF2; + if (h2CeffHFpositivedirectionReconoiseDIF2) + delete h2CeffHFpositivedirectionReconoiseDIF2; - //========================================================================================== 1111114 + //========================================================================================== 1111114 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionReconoiseDIF1=1; - TH1F* h2CeffHFnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + if (jeta - 41 >= -41 && jeta - 41 <= -29) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseDIF1 == 1) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 2) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 3) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 4) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 5) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 6) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 7) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 8) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 9) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==10) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==11) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==12) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==13) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionReconoiseDIF1->Draw("Error"); - kcountHFnegativedirectionReconoiseDIF1++; - if(kcountHFnegativedirectionReconoiseDIF1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFnegativedirectionReconoiseDIF1 = (TH1F*)h2CeffHFnegativedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseDIF1 == 1) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 2) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 3) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 4) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 5) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 6) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 7) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 8) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 9) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 10) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 11) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 12) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 13) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF1++; + if (kcountHFnegativedirectionReconoiseDIF1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseDIF1) delete h2CeffHFnegativedirectionReconoiseDIF1; - + if (h2CeffHFnegativedirectionReconoiseDIF1) + delete h2CeffHFnegativedirectionReconoiseDIF1; - //========================================================================================== 1111115 + //========================================================================================== 1111115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionReconoiseDIF2=1; - TH1F* h2CeffHFnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseDIF2 == 1) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 2) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 3) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 4) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 5) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 6) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 7) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 8) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 9) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==10) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==11) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==12) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==13) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-20; depth = 2 \b"); - HFnegativedirectionReconoiseDIF2->Draw("Error"); - kcountHFnegativedirectionReconoiseDIF2++; - if(kcountHFnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHFnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseDIF2 == 1) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 2) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 3) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 4) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 5) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 6) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 7) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 8) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 9) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 10) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 11) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 12) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 13) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF2++; + if (kcountHFnegativedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseDIF2) delete h2CeffHFnegativedirectionReconoiseDIF2; + if (h2CeffHFnegativedirectionReconoiseDIF2) + delete h2CeffHFnegativedirectionReconoiseDIF2; //====================================================================================================================== //====================================================================================================================== @@ -9135,349 +12597,477 @@ main(int argc, char *argv[]){ //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HF1"); - TH2F *reconoiseVariance0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HF1"); + TH2F* reconoiseVariance0HF1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); TH2F* reconoiseVarianceHF1 = (TH2F*)reconoiseVariance1HF1->Clone("reconoiseVarianceHF1"); - reconoiseVarianceHF1->Divide(reconoiseVariance1HF1,reconoiseVariance0HF1, 1, 1, "B"); - TH2F *reconoiseVariance1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HF2"); - TH2F *reconoiseVariance0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + reconoiseVarianceHF1->Divide(reconoiseVariance1HF1, reconoiseVariance0HF1, 1, 1, "B"); + TH2F* reconoiseVariance1HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HF2"); + TH2F* reconoiseVariance0HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); TH2F* reconoiseVarianceHF2 = (TH2F*)reconoiseVariance1HF2->Clone("reconoiseVarianceHF2"); - reconoiseVarianceHF2->Divide(reconoiseVariance1HF2,reconoiseVariance0HF2, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHF - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + reconoiseVarianceHF2->Divide(reconoiseVariance1HF2, reconoiseVariance0HF2, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { //preparation for PHI normalization: - double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - reconoisevarianceHF[1][jeta][jphi] = reconoiseVarianceHF2->GetBinContent(jeta+1,jphi+1); - sumreconoiseHF0 += reconoisevarianceHF[0][jeta][jphi];++nsumreconoiseHF0; - sumreconoiseHF1 += reconoisevarianceHF[1][jeta][jphi];++nsumreconoiseHF1; - }// phi + double sumreconoiseHF0 = 0; + int nsumreconoiseHF0 = 0; + double sumreconoiseHF1 = 0; + int nsumreconoiseHF1 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + reconoisevarianceHF[0][jeta][jphi] = reconoiseVarianceHF1->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHF[1][jeta][jphi] = reconoiseVarianceHF2->GetBinContent(jeta + 1, jphi + 1); + sumreconoiseHF0 += reconoisevarianceHF[0][jeta][jphi]; + ++nsumreconoiseHF0; + sumreconoiseHF1 += reconoisevarianceHF[1][jeta][jphi]; + ++nsumreconoiseHF1; + } // phi // PHI normalization : - for(int jphi=0;jphiClear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDreconoiseHF42D = new TH2F("DefzDreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHF42D0 = new TH2F("DefzDreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHF42DF = (TH2F*)DefzDreconoiseHF42D0->Clone("DefzDreconoiseHF42DF"); - for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 - if(areconoiseHF[i][jeta][jphi]>0.) {DefzDreconoiseHF42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHF42D0 ->Fill(kkk,jphi,1.); } - }}}} - DefzDreconoiseHF42DF->Divide(DefzDreconoiseHF42D,DefzDreconoiseHF42D0, 1, 1, "B");// average A - // DefzDreconoiseHF1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHF42DF->SetMarkerStyle(20); DefzDreconoiseHF42DF->SetMarkerSize(0.4); DefzDreconoiseHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHF42DF->SetYTitle(" #phi \b"); DefzDreconoiseHF42DF->SetZTitle("_depth \b"); DefzDreconoiseHF42DF->SetMarkerColor(2); DefzDreconoiseHF42DF->SetLineColor(0); // DefzDreconoiseHF42DF->SetMaximum(1.000); // DefzDreconoiseHF42DF->SetMinimum(1.0); - DefzDreconoiseHF42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DreconoiseGeneralD2PhiSymmetryHF.png"); - c1x0->Clear(); - // clean-up - if (DefzDreconoiseHF42D) delete DefzDreconoiseHF42D; - if (DefzDreconoiseHF42D0) delete DefzDreconoiseHF42D0; - if (DefzDreconoiseHF42DF) delete DefzDreconoiseHF42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDreconoiseHF42D = new TH2F("DefzDreconoiseHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHF42D0 = new TH2F("DefzDreconoiseHF42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHF42DF = (TH2F*)DefzDreconoiseHF42D0->Clone("DefzDreconoiseHF42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (areconoiseHF[i][jeta][jphi] > 0.) { + DefzDreconoiseHF42D->Fill(kkk, jphi, ccc1); + DefzDreconoiseHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + DefzDreconoiseHF42DF->Divide(DefzDreconoiseHF42D, DefzDreconoiseHF42D0, 1, 1, "B"); // average A + // DefzDreconoiseHF1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF42DF->SetMarkerStyle(20); + DefzDreconoiseHF42DF->SetMarkerSize(0.4); + DefzDreconoiseHF42DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHF42DF->SetXTitle("_depth #eta \b"); + DefzDreconoiseHF42DF->SetYTitle(" #phi \b"); + DefzDreconoiseHF42DF->SetZTitle("_depth \b"); + DefzDreconoiseHF42DF->SetMarkerColor(2); + DefzDreconoiseHF42DF->SetLineColor( + 0); // DefzDreconoiseHF42DF->SetMaximum(1.000); // DefzDreconoiseHF42DF->SetMinimum(1.0); + DefzDreconoiseHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHF42D) + delete DefzDreconoiseHF42D; + if (DefzDreconoiseHF42D0) + delete DefzDreconoiseHF42D0; + if (DefzDreconoiseHF42DF) + delete DefzDreconoiseHF42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDreconoiseHF41D = new TH1F("DefzDreconoiseHF41D","", nphi, 0., 72. ); - TH1F* DefzDreconoiseHF41D0 = new TH1F("DefzDreconoiseHF41D0","",nphi, 0., 72. ); - TH1F* DefzDreconoiseHF41DF = (TH1F*)DefzDreconoiseHF41D0->Clone("DefzDreconoiseHF41DF"); - - for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int i=0;i0.) {DefzDreconoiseHF41D ->Fill(jphi,ccc1); DefzDreconoiseHF41D0 ->Fill(jphi,1.); } - }}}} - // DefzDreconoiseHF41D->Sumw2();DefzDreconoiseHF41D0->Sumw2(); - - DefzDreconoiseHF41DF->Divide(DefzDreconoiseHF41D,DefzDreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDreconoiseHF41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHF41DF->SetMarkerStyle(20); DefzDreconoiseHF41DF->SetMarkerSize(1.4); DefzDreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF41DF->SetXTitle("#phi \b"); DefzDreconoiseHF41DF->SetYTitle(" \b"); DefzDreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHF41DF->SetMarkerColor(4); DefzDreconoiseHF41DF->SetLineColor(4);// DefzDreconoiseHF41DF->SetMinimum(0.8); DefzDreconoiseHF41DF->SetMinimum(-0.015); - DefzDreconoiseHF41DF->Draw("Error"); + TH1F* DefzDreconoiseHF41D = new TH1F("DefzDreconoiseHF41D", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHF41D0 = new TH1F("DefzDreconoiseHF41D0", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHF41DF = (TH1F*)DefzDreconoiseHF41D0->Clone("DefzDreconoiseHF41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + DefzDreconoiseHF41D->Fill(jphi, ccc1); + DefzDreconoiseHF41D0->Fill(jphi, 1.); + } + } + } + } + } + // DefzDreconoiseHF41D->Sumw2();DefzDreconoiseHF41D0->Sumw2(); + + DefzDreconoiseHF41DF->Divide(DefzDreconoiseHF41D, DefzDreconoiseHF41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF41DF->SetMarkerStyle(20); + DefzDreconoiseHF41DF->SetMarkerSize(1.4); + DefzDreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHF41DF->SetXTitle("#phi \b"); + DefzDreconoiseHF41DF->SetYTitle(" \b"); + DefzDreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDreconoiseHF41DF->SetMarkerColor(4); + DefzDreconoiseHF41DF->SetLineColor( + 4); // DefzDreconoiseHF41DF->SetMinimum(0.8); DefzDreconoiseHF41DF->SetMinimum(-0.015); + DefzDreconoiseHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DreconoiseGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (DefzDreconoiseHF41D) delete DefzDreconoiseHF41D; - if (DefzDreconoiseHF41D0) delete DefzDreconoiseHF41D0; - if (DefzDreconoiseHF41DF) delete DefzDreconoiseHF41DF; - //========================================================================================== 14 + if (DefzDreconoiseHF41D) + delete DefzDreconoiseHF41D; + if (DefzDreconoiseHF41D0) + delete DefzDreconoiseHF41D0; + if (DefzDreconoiseHF41DF) + delete DefzDreconoiseHF41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionReconoiseD1=1; - TH1F* h2CeffHFpositivedirectionReconoiseD1 = new TH1F("h2CeffHFpositivedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseD1 == 1) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 2) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 3) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 4) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 5) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 6) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 7) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 8) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 9) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==10) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==11) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==12) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==13) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionReconoiseD1->Draw("Error"); - kcountHFpositivedirectionReconoiseD1++; - if(kcountHFpositivedirectionReconoiseD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseD1 = 1; + TH1F* h2CeffHFpositivedirectionReconoiseD1 = new TH1F("h2CeffHFpositivedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFpositivedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFpositivedirectionReconoiseD1 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseD1 == 1) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 2) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 3) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 4) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 5) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 6) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 7) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 8) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 9) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 10) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 11) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 12) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 13) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseD1->Draw("Error"); + kcountHFpositivedirectionReconoiseD1++; + if (kcountHFpositivedirectionReconoiseD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseD1) delete h2CeffHFpositivedirectionReconoiseD1; - //========================================================================================== 15 + if (h2CeffHFpositivedirectionReconoiseD1) + delete h2CeffHFpositivedirectionReconoiseD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionReconoiseD2=1; - TH1F* h2CeffHFpositivedirectionReconoiseD2 = new TH1F("h2CeffHFpositivedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseD2 == 1) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 2) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 3) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 4) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 5) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 6) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 7) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 8) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 9) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==10) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==11) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==12) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==13) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionReconoiseD2->Draw("Error"); - kcountHFpositivedirectionReconoiseD2++; - if(kcountHFpositivedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseD2 = 1; + TH1F* h2CeffHFpositivedirectionReconoiseD2 = new TH1F("h2CeffHFpositivedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFpositivedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFpositivedirectionReconoiseD2 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseD2 == 1) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 2) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 3) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 4) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 5) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 6) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 7) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 8) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 9) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 10) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 11) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 12) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 13) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseD2->Draw("Error"); + kcountHFpositivedirectionReconoiseD2++; + if (kcountHFpositivedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseD2) delete h2CeffHFpositivedirectionReconoiseD2; - //========================================================================================== 22222214 + if (h2CeffHFpositivedirectionReconoiseD2) + delete h2CeffHFpositivedirectionReconoiseD2; + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionReconoiseD1=1; - TH1F* h2CeffHFnegativedirectionReconoiseD1 = new TH1F("h2CeffHFnegativedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseD1 == 1) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 2) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 3) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 4) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 5) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 6) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 7) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 8) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 9) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==10) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==11) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==12) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==13) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionReconoiseD1->Draw("Error"); - kcountHFnegativedirectionReconoiseD1++; - if(kcountHFnegativedirectionReconoiseD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseD1 = 1; + TH1F* h2CeffHFnegativedirectionReconoiseD1 = new TH1F("h2CeffHFnegativedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFnegativedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFnegativedirectionReconoiseD1 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseD1 == 1) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 2) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 3) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 4) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 5) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 6) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 7) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 8) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 9) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 10) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 11) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 12) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 13) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseD1->Draw("Error"); + kcountHFnegativedirectionReconoiseD1++; + if (kcountHFnegativedirectionReconoiseD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseD1) delete h2CeffHFnegativedirectionReconoiseD1; - //========================================================================================== 22222215 + if (h2CeffHFnegativedirectionReconoiseD1) + delete h2CeffHFnegativedirectionReconoiseD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionReconoiseD2=1; - TH1F* h2CeffHFnegativedirectionReconoiseD2 = new TH1F("h2CeffHFnegativedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseD2 == 1) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 2) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 3) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 4) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 5) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 6) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 7) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 8) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 9) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==10) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==11) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==12) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==13) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); - HFnegativedirectionReconoiseD2->Draw("Error"); - kcountHFnegativedirectionReconoiseD2++; - if(kcountHFnegativedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseD2 = 1; + TH1F* h2CeffHFnegativedirectionReconoiseD2 = new TH1F("h2CeffHFnegativedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFnegativedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFnegativedirectionReconoiseD2 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseD2 == 1) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 2) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 3) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 4) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 5) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 6) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 7) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 8) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 9) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 10) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 11) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 12) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 13) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionReconoiseD2->Draw("Error"); + kcountHFnegativedirectionReconoiseD2++; + if (kcountHFnegativedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseD2) delete h2CeffHFnegativedirectionReconoiseD2; + if (h2CeffHFnegativedirectionReconoiseD2) + delete h2CeffHFnegativedirectionReconoiseD2; //===================================================================== END of Reconoise HF for phi-symmetry //===================================================================== END of Reconoise HF for phi-symmetry @@ -9491,852 +13081,1085 @@ main(int argc, char *argv[]){ //==================================================================================================================================================== END for phi-symmetry //==================================================================================================================================================== + //====================================================================== + // Creating each test kind for each subdet html pages: + std::string raw_class, raw_class1, raw_class2, raw_class3; + int ind = 0; + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + ofstream htmlFileR, htmlFileN; + if (sub == 1) { + htmlFileR.open("HB_PhiSymmetryRecoSignal.html"); + htmlFileN.open("HB_PhiSymmetryRecoNoise.html"); + } + if (sub == 2) { + htmlFileR.open("HE_PhiSymmetryRecoSignal.html"); + htmlFileN.open("HE_PhiSymmetryRecoNoise.html"); + } + if (sub == 4) { + htmlFileR.open("HF_PhiSymmetryRecoSignal.html"); + htmlFileN.open("HF_PhiSymmetryRecoNoise.html"); + } -//====================================================================== -// Creating each test kind for each subdet html pages: - std::string raw_class, raw_class1, raw_class2, raw_class3; - int ind = 0; - - for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO - ofstream htmlFileR,htmlFileN ; - if (sub==1) {htmlFileR.open("HB_PhiSymmetryRecoSignal.html");htmlFileN.open("HB_PhiSymmetryRecoNoise.html");} - if (sub==2) {htmlFileR.open("HE_PhiSymmetryRecoSignal.html");htmlFileN.open("HE_PhiSymmetryRecoNoise.html");} - - if (sub==4) {htmlFileR.open("HF_PhiSymmetryRecoSignal.html");htmlFileN.open("HF_PhiSymmetryRecoNoise.html");} - - - -////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: -////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: -////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: - - htmlFileR << ""<< std::endl; - htmlFileR << ""<< std::endl; - htmlFileR << ""<< std::endl; - htmlFileR << " Remote Monitoring Tool "<< std::endl; - htmlFileR << ""<< std::endl; - htmlFileR << ""<< std::endl; - - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - - if (sub==1) htmlFileR << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileR << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileR << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileR << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; -// htmlFileR << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - - /////////////////////////////////////////////// R different Depthes: - htmlFileR << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileR << "

1C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

1D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

1E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

1F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

1G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

1H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

1I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileR << "

2: D(recosignalvarianceSignalhe)

"<< std::endl; - htmlFileR << "

2A: eta/phi-plot: D(recosignalvarianceSignalhe), averaged over depthes

"<< std::endl; -// htmlFileR << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

2B: D(recosignalvarianceSignalhe) vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - ///////////////////////////////////////////////D different Depthes: - htmlFileR << "

Positive direction, D(recosignalvarianceSignalhe)

"<< std::endl; - htmlFileR << "

2C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

2.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

2E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

2F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

2G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

2H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

2I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - /////////////////////////////////////////// NegativeDirection: - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - htmlFileR << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - - /////////////////////////////////////////////// different Depthes: - htmlFileR << "

3C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

3D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

3E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

3F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

3G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

3H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

3I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileR << "

4: Negative direction, D(recosignalvarianceSignalhe)

"<< std::endl; - /////////////////////////////////////////////// different Depthes: - htmlFileR << "

4C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

4.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

4E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

4F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

4G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

4H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

4I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - /////////////////////////////////////////// - htmlFileR.close(); - /////////////////////////////////////////// end of Recosignal - // -////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: -////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: -////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: - - htmlFileN << ""<< std::endl; - htmlFileN << ""<< std::endl; - htmlFileN << ""<< std::endl; - htmlFileN << " Remote Monitoring Tool "<< std::endl; - htmlFileN << ""<< std::endl; - htmlFileN << ""<< std::endl; - - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - - if (sub==1) htmlFileN << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileN << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileN << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileN << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; -// htmlFileN << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - - /////////////////////////////////////////////// R different Depthes: - htmlFileN << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileN << "

1C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

1D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

1E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

1F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

1G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

1H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

1I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileN << "

2: D(reconoisevarianceNoisehe)

"<< std::endl; - htmlFileN << "

2A: eta/phi-plot: D(reconoisevarianceNoisehe), averaged over depthes

"<< std::endl; -// htmlFileN << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

2B: D(reconoisevarianceNoisehe) vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - ///////////////////////////////////////////////D different Depthes: - htmlFileN << "

Positive direction, D(reconoisevarianceNoisehe)

"<< std::endl; - htmlFileN << "

2C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

2.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

2E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

2F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

2G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

2H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

2I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - /////////////////////////////////////////// NegativeDirection: - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - htmlFileN << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - - /////////////////////////////////////////////// different Depthes: - htmlFileN << "

3C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

3D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

3E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

3F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

3G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

3H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

3I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileN << "

4: Negative direction, D(reconoisevarianceNoisehe)

"<< std::endl; - /////////////////////////////////////////////// different Depthes: - htmlFileN << "

4C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

4.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

4E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

4F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

4G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

4H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

4I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - /////////////////////////////////////////// - - - - /////////////////////////////////////////////// DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF - - if (sub==1) htmlFileN << "

Only for Noise RecHits these lines below, HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileN << "

Only for Noise RecHits these lines below, HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileN << "

Only for Noise RecHits these lines below, HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5: DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; - htmlFileN << "

5A: eta/phi-plot: DIF, averaged over depthes

"<< std::endl; -// htmlFileN << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5B: DIF vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// DIF PositiveDirection: - - /////////////////////////////////////////////// DIF different Depthes: - htmlFileN << "

Positive direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; - htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

1E: DIF vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// DIF NegativeDirection: - - /////////////////////////////////////////////// DIF different Depthes: - htmlFileN << "

Negative direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; - htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

5E: DIF vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// end of Reconoise - - // - // - htmlFileN.close(); - - /////////////////////////////////////////// end of Reconoise - /////////////////////////////////////////// end of Reconoise - - - - - - // - // - }// end sub //for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO - - - -//====================================================================== - - std::cout<<"********"<"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << " Remote Monitoring Tool "<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - if (sub==1) htmlFile << "

HCAL BARREL, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFile << "

HCAL ENDCAP, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==3) htmlFile << "

HCAL OUTER, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFile << "

HCAL FORWARD, RUN = "<< runnumber <<"

"<< std::endl; - htmlFile << "
"<< std::endl; - if (sub==1) htmlFile << "

1. Analysis results for HB

"<< std::endl; - if (sub==2) htmlFile << "

1. Analysis results for HE

"<< std::endl; - if (sub==3) htmlFile << "

1. Analysis results for HO

"<< std::endl; - if (sub==4) htmlFile << "

1. Analysis results for HF

"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - - - if (sub==1) { - - - /* + ////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + + htmlFileR << "" << std::endl; + htmlFileR << "" << std::endl; + htmlFileR << "" << std::endl; + htmlFileR << " Remote Monitoring Tool " << std::endl; + htmlFileR << "" << std::endl; + htmlFileR << "" << std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub == 1) + htmlFileR << "

Phi-symmetry for Calibration Group, HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileR << "

Phi-symmetry for Calibration Group, HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileR << "

Phi-symmetry for Calibration Group, HF, RUN = " << runnumber << "

" << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileR << "

1A: eta/phi-plot: R, averaged over depthes

" << std::endl; + // htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

1B: R vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileR << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileR << "

1C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

1D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

1E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

1F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

1G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

1H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

1I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

2: D(recosignalvarianceSignalhe)

" << std::endl; + htmlFileR << "

2A: eta/phi-plot: D(recosignalvarianceSignalhe), averaged over depthes

" << std::endl; + // htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

2B: D(recosignalvarianceSignalhe) vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileR << "

Positive direction, D(recosignalvarianceSignalhe)

" << std::endl; + htmlFileR << "

2C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

2.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

2E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

2F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

2G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

2H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

2I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileR << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" + << std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

3C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

3D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

3E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

3F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

3G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

3H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

3I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

4: Negative direction, D(recosignalvarianceSignalhe)

" << std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

4C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

4.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

4E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

4F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

4G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

4H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

4I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + /////////////////////////////////////////// + htmlFileR.close(); + /////////////////////////////////////////// end of Recosignal + // + ////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + + htmlFileN << "" << std::endl; + htmlFileN << "" << std::endl; + htmlFileN << "" << std::endl; + htmlFileN << " Remote Monitoring Tool " << std::endl; + htmlFileN << "" << std::endl; + htmlFileN << "" << std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub == 1) + htmlFileN << "

Phi-symmetry for Calibration Group, HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileN << "

Phi-symmetry for Calibration Group, HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileN << "

Phi-symmetry for Calibration Group, HF, RUN = " << runnumber << "

" << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileN << "

1A: eta/phi-plot: R, averaged over depthes

" << std::endl; + // htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

1B: R vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileN << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileN << "

1C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

1D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

1E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

1F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

1G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

1H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

1I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

2: D(reconoisevarianceNoisehe)

" << std::endl; + htmlFileN << "

2A: eta/phi-plot: D(reconoisevarianceNoisehe), averaged over depthes

" << std::endl; + // htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

2B: D(reconoisevarianceNoisehe) vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileN << "

Positive direction, D(reconoisevarianceNoisehe)

" << std::endl; + htmlFileN << "

2C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

2.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

2E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

2F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

2G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

2H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

2I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileN << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" + << std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

3C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

3D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

3E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

3F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

3G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

3H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

3I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

4: Negative direction, D(reconoisevarianceNoisehe)

" << std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

4C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

4.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

4E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

4F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

4G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

4H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

4I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + /////////////////////////////////////////// + + /////////////////////////////////////////////// DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF + + if (sub == 1) + htmlFileN << "

Only for Noise RecHits these lines below, HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileN << "

Only for Noise RecHits these lines below, HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileN << "

Only for Noise RecHits these lines below, HF, RUN = " << runnumber << "

" << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5: DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

" << std::endl; + htmlFileN << "

5A: eta/phi-plot: DIF, averaged over depthes

" << std::endl; + // htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5B: DIF vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// DIF PositiveDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Positive direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

" + << std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

1E: DIF vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

5F: DIF vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5G: DIF vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5H: DIF vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5I: DIF vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// DIF NegativeDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Negative direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

" + << std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

5E: DIF vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

5F: DIF vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5G: DIF vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5H: DIF vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5I: DIF vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// end of Reconoise + + // + // + htmlFileN.close(); + + /////////////////////////////////////////// end of Reconoise + /////////////////////////////////////////// end of Reconoise + + // + // + } // end sub //for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + + //====================================================================== + + std::cout << "********" << std::endl; + std::cout << "************ Start creating subdet html pages: - rather long time needed, waiting please" + << std::endl; + //====================================================================== + // Creating subdet html pages: + + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + ofstream htmlFile; + if (sub == 1) + htmlFile.open("HB.html"); + if (sub == 2) + htmlFile.open("HE.html"); + if (sub == 3) + htmlFile.open("HO.html"); + if (sub == 4) + htmlFile.open("HF.html"); + + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << " Remote Monitoring Tool " << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + if (sub == 1) + htmlFile << "

HCAL BARREL, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFile << "

HCAL ENDCAP, RUN = " << runnumber << "

" << std::endl; + if (sub == 3) + htmlFile << "

HCAL OUTER, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFile << "

HCAL FORWARD, RUN = " << runnumber << "

" << std::endl; + htmlFile << "
" << std::endl; + if (sub == 1) + htmlFile << "

1. Analysis results for HB

" << std::endl; + if (sub == 2) + htmlFile << "

1. Analysis results for HE

" << std::endl; + if (sub == 3) + htmlFile << "

1. Analysis results for HO

" << std::endl; + if (sub == 4) + htmlFile << "

1. Analysis results for HF

" << std::endl; + htmlFile << "

" << std::endl; + htmlFile << "" << std::endl; + + if (sub == 1) { + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; */ - - - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - - } - if (sub==2) { - - - /* + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + } + if (sub == 2) { + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; */ - - - - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - - } - - - - if (sub==4) { + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + } - /* + if (sub == 4) { + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; */ + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + } - - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - - } - - htmlFile << ""<< std::endl; - htmlFile << "
Phi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-SymmetryRecoSignalPhi-SymmetryRecoNoisePhi-SymmetryRecoSignalPhi-SymmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoise
"<< std::endl; - htmlFile << "
"<< std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "
" << std::endl; - - htmlFile << " " << std::endl; - htmlFile << " " << std::endl; - htmlFile.close(); + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); } - -//====================================================================== - - - std::cout<<"********"<"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << " Remote Monitoring Tool "<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << "

Description of Remote Monitoring Tool criteria for bad channel selection

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- C means CAPID Errors assuming we inspect CAPID non-rotation,error & validation bits, and for this criterion - no need to apply any cuts to select bcs.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- A means full amplitude, collected over all time slices

"<< std::endl; - htmlFile << "

- R means ratio criterion where we define as a bad, the channels, for which the signal portion in 4 middle TSs(plus one, minus two around TS with maximal amplitude) is out of some range of reasonable values

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- W means width of shape distribution. Width is defined as square root from dispersion.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- TN means mean time position of adc signal.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- TX means TS number of maximum signal

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- m means megatile channels. For example Am means Amplitude criteria for megatile channels

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- c means calibration channels. For example Ac means Amplitude criteria for calibration channels

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- Pm means Pedestals.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- pWm means pedestal Width.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << " " << std::endl; - htmlFile << " " << std::endl; - htmlFile.close(); - -//====================================================================== - - std::cout<<"********"<"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << " Remote Monitoring Tool "<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - - htmlFile << "

Remote Monitoring Tool, RUN = "<< runnumber <<".

"<< std::endl; - htmlFile << "
"<< std::endl; - - htmlFile << "

1. Analysis results for subdetectors

"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - - /* + + //====================================================================== + + std::cout << "********" << std::endl; + std::cout << "************ Start creating description HELP html file:" << std::endl; + //====================================================================== + // Creating description html file: + ofstream htmlFile; + htmlFile.open("HELP.html"); + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << " Remote Monitoring Tool " << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "

Description of Remote Monitoring Tool criteria for bad channel selection

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- C means CAPID Errors assuming we inspect CAPID non-rotation,error & validation bits, and for " + "this criterion - no need to apply any cuts to select bcs.

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- A means full amplitude, collected over all time slices

" << std::endl; + htmlFile << "

- R means ratio criterion where we define as a bad, the channels, for which the signal portion in " + "4 middle TSs(plus one, minus two around TS with maximal amplitude) is out of some range of reasonable " + "values

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- W means width of shape distribution. Width is defined as square root from dispersion.

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- TN means mean time position of adc signal.

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- TX means TS number of maximum signal

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- m means megatile channels. For example Am means Amplitude criteria for megatile channels

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile + << "

- c means calibration channels. For example Ac means Amplitude criteria for calibration channels

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- Pm means Pedestals.

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- pWm means pedestal Width.

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + + //====================================================================== + + std::cout << "********" << std::endl; + std::cout << "************ Start creating MAP html file: - rather long time needed, waiting please" << std::endl; + //====================================================================== + // Creating main html file: + htmlFile.open("MAP.html"); + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << " Remote Monitoring Tool " << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + + htmlFile << "

Remote Monitoring Tool, RUN = " << runnumber << ".

" << std::endl; + htmlFile << "
" << std::endl; + + htmlFile << "

1. Analysis results for subdetectors

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "" << std::endl; + + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; -*/ - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - htmlFile << ""<< std::endl; - htmlFile << "
HBHEHOHFHBHEHOHF
"<< std::endl; - htmlFile << "
"<< std::endl; - - htmlFile << " " << std::endl; - htmlFile << " " << std::endl; - htmlFile.close(); -//====================================================================== - -//====================================================================== -// Close and delete all possible things: - hfile->Close(); -// hfile->Delete(); -// Exit Root - gSystem->Exit(0); -//====================================================================== +*/ + htmlFile << " HB" << std::endl; + htmlFile << " HE" << std::endl; + htmlFile << " HO" << std::endl; + htmlFile << " HF" << std::endl; -} + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + //====================================================================== + //====================================================================== + // Close and delete all possible things: + hfile->Close(); + // hfile->Delete(); + // Exit Root + gSystem->Exit(0); + //====================================================================== +} diff --git a/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSMTEST.cc b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSMTEST.cc index e0f0336da09ea..6b361e2ec90ef 100644 --- a/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSMTEST.cc +++ b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringIMPSMTEST.cc @@ -1,9 +1,8 @@ // How to run: ./RemoteMonitoringIMPSM.cc.exe root_file1 root_file_ref Global // // -// // - +// #include "LogEleMapdb.h" @@ -25,3868 +24,5334 @@ #include "TGraph.h" using namespace std; -int -main(int argc, char *argv[]){ +int main(int argc, char* argv[]) { std::string dirnm = "Analyzer"; gROOT->Reset(); gROOT->SetStyle("Plain"); gStyle->SetOptStat(0); gStyle->SetOptTitle(1); // ok change - if(argc<3) return 1; + if (argc < 3) + return 1; char fname[300]; char refname[300]; char runtypeC[300]; - sprintf(fname,"%s",argv[1]); - sprintf(refname,"%s",argv[2]); - sprintf(runtypeC,"%s",argv[3]); + sprintf(fname, "%s", argv[1]); + sprintf(refname, "%s", argv[2]); + sprintf(runtypeC, "%s", argv[3]); // std::cout<ls(); - TDirectory *dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str()); - + TDirectory* dir = (TDirectory*)hfile->FindObjectAny(dirnm.c_str()); + // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny - + //====================================================================== // Prepare histograms and plot them to .png files - + // Phi-symmetry for Calibration Group: - - TCanvas *c1x0 = new TCanvas("c1x0","c1x0",300,10,800,700); - - TCanvas *c1x1 = new TCanvas("c1x1","c1x1",100,10,600,700); - - TCanvas *c2x1 = new TCanvas("c2x1","c2x1",200,300,1600,800); - - TCanvas *c3x5 = new TCanvas("c3x5","c3x5",1000,1500); + + TCanvas* c1x0 = new TCanvas("c1x0", "c1x0", 300, 10, 800, 700); + + TCanvas* c1x1 = new TCanvas("c1x1", "c1x1", 100, 10, 600, 700); + + TCanvas* c2x1 = new TCanvas("c2x1", "c2x1", 200, 300, 1600, 800); + + TCanvas* c3x5 = new TCanvas("c3x5", "c3x5", 1000, 1500); // - - - char *str = (char*)alloca(10000); - + + char* str = (char*)alloca(10000); + // before upgrade 2017: // depth: HB depth1,2; HE depth1,2,3; HO depth4; HF depth1,2 // 5 depthes: 0(empty), 1,2,3,4 - + // upgrade 2017: // depth: HB depth1,2; HE depth1,2,3,4,5,6,7; HO depth4; HF depth1,2,3,4 // 8 depthes: 0(empty), 1,2,3,4,5,6,7 - + // upgrade 2021: // depth: HB depth1,2,3,4; HE depth1,2,3,4,5,6,7; HO depth4; HF depth1,2,3,4 // 10 depthes: 0(empty), 1,2,3,4,5,6,7,8,9 - + // Int_t ALLDEPTH = 5; // Int_t ALLDEPTH = 8; Int_t ALLDEPTH = 10; - - int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet - // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet - // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet - int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + + int k_min[5] = {0, 1, 1, 4, 1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + int k_max[5] = {0, 4, 7, 4, 4}; // maximum depth for each subdet /////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - const int nsub = 4; const int neta = 82; const int nphi = 72; - int njeta = neta; int njphi = nphi; - //const int ndepth = 7; + + const int nsub = 4; + const int neta = 82; + const int nphi = 72; + int njeta = neta; + int njphi = nphi; + //const int ndepth = 7; int ndepth; ///////////// ///////////// ////////////////////////// ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: ///////////// ///////////// ////////////////////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: ///////////// ///////////// ///////////// ///////////// ///////////// ///////////// ///////////// //////////////////// Phi-symmetry for Calibration Group: - - - - - ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start - ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start - ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start + ////////////////////// Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start Recosignal Start //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB //////////////////////////////////////////////////////////////////////////////////////////////////// Recosignal HB - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 4; - double arecosignalHB[ndepth][njeta][njphi]; - double recosignalvarianceHB[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double arecosignalHB[ndepth][njeta][njphi]; + double recosignalvarianceHB[ndepth][njeta][njphi]; // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HB recSignalEnergy - TH2F *recSignalEnergy1HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB1"); - TH2F *recSignalEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + TH2F* recSignalEnergy1HB1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB1"); + TH2F* recSignalEnergy0HB1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); TH2F* recSignalEnergyHB1 = (TH2F*)recSignalEnergy1HB1->Clone("recSignalEnergyHB1"); - recSignalEnergyHB1->Divide(recSignalEnergy1HB1,recSignalEnergy0HB1, 1, 1, "B"); - TH2F *recSignalEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB2"); - TH2F *recSignalEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + recSignalEnergyHB1->Divide(recSignalEnergy1HB1, recSignalEnergy0HB1, 1, 1, "B"); + TH2F* recSignalEnergy1HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB2"); + TH2F* recSignalEnergy0HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); TH2F* recSignalEnergyHB2 = (TH2F*)recSignalEnergy1HB2->Clone("recSignalEnergyHB2"); - recSignalEnergyHB2->Divide(recSignalEnergy1HB2,recSignalEnergy0HB2, 1, 1, "B"); - TH2F *recSignalEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB3"); - TH2F *recSignalEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + recSignalEnergyHB2->Divide(recSignalEnergy1HB2, recSignalEnergy0HB2, 1, 1, "B"); + TH2F* recSignalEnergy1HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB3"); + TH2F* recSignalEnergy0HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); TH2F* recSignalEnergyHB3 = (TH2F*)recSignalEnergy1HB3->Clone("recSignalEnergyHB3"); - recSignalEnergyHB3->Divide(recSignalEnergy1HB3,recSignalEnergy0HB3, 1, 1, "B"); - TH2F *recSignalEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB4"); - TH2F *recSignalEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + recSignalEnergyHB3->Divide(recSignalEnergy1HB3, recSignalEnergy0HB3, 1, 1, "B"); + TH2F* recSignalEnergy1HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB4"); + TH2F* recSignalEnergy0HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); TH2F* recSignalEnergyHB4 = (TH2F*)recSignalEnergy1HB4->Clone("recSignalEnergyHB4"); - recSignalEnergyHB4->Divide(recSignalEnergy1HB4,recSignalEnergy0HB4, 1, 1, "B"); - for(int jeta=0;jetaDivide(recSignalEnergy1HB4, recSignalEnergy0HB4, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { //====================================================================== PHI normalization & put R into massive arecosignalHB //preparation for PHI normalization: - double sumrecosignalHB0=0;int nsumrecosignalHB0=0;double sumrecosignalHB1=0;int nsumrecosignalHB1=0;double sumrecosignalHB2=0;int nsumrecosignalHB2=0;double sumrecosignalHB3=0;int nsumrecosignalHB3=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - arecosignalHB[1][jeta][jphi] = recSignalEnergyHB2->GetBinContent(jeta+1,jphi+1); - arecosignalHB[2][jeta][jphi] = recSignalEnergyHB3->GetBinContent(jeta+1,jphi+1); - arecosignalHB[3][jeta][jphi] = recSignalEnergyHB4->GetBinContent(jeta+1,jphi+1); - if(arecosignalHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += arecosignalHB[0][jeta][jphi];++nsumrecosignalHB0;} - if(arecosignalHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += arecosignalHB[1][jeta][jphi];++nsumrecosignalHB1;} - if(arecosignalHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += arecosignalHB[2][jeta][jphi];++nsumrecosignalHB2;} - if(arecosignalHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += arecosignalHB[3][jeta][jphi];++nsumrecosignalHB3;} - }// phi + double sumrecosignalHB0 = 0; + int nsumrecosignalHB0 = 0; + double sumrecosignalHB1 = 0; + int nsumrecosignalHB1 = 0; + double sumrecosignalHB2 = 0; + int nsumrecosignalHB2 = 0; + double sumrecosignalHB3 = 0; + int nsumrecosignalHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + arecosignalHB[0][jeta][jphi] = recSignalEnergyHB1->GetBinContent(jeta + 1, jphi + 1); + arecosignalHB[1][jeta][jphi] = recSignalEnergyHB2->GetBinContent(jeta + 1, jphi + 1); + arecosignalHB[2][jeta][jphi] = recSignalEnergyHB3->GetBinContent(jeta + 1, jphi + 1); + arecosignalHB[3][jeta][jphi] = recSignalEnergyHB4->GetBinContent(jeta + 1, jphi + 1); + if (arecosignalHB[0][jeta][jphi] > 0.) { + sumrecosignalHB0 += arecosignalHB[0][jeta][jphi]; + ++nsumrecosignalHB0; + } + if (arecosignalHB[1][jeta][jphi] > 0.) { + sumrecosignalHB1 += arecosignalHB[1][jeta][jphi]; + ++nsumrecosignalHB1; + } + if (arecosignalHB[2][jeta][jphi] > 0.) { + sumrecosignalHB2 += arecosignalHB[2][jeta][jphi]; + ++nsumrecosignalHB2; + } + if (arecosignalHB[3][jeta][jphi] > 0.) { + sumrecosignalHB3 += arecosignalHB[3][jeta][jphi]; + ++nsumrecosignalHB3; + } + } // phi // PHI normalization: - for(int jphi=0;jphi 0.) arecosignalHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; - if(arecosignalHB[1][jeta][jphi] > 0.) arecosignalHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; - if(arecosignalHB[2][jeta][jphi] > 0.) arecosignalHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; - if(arecosignalHB[3][jeta][jphi] > 0.) arecosignalHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; - }// phi - }//eta + for (int jphi = 0; jphi < njphi; jphi++) { + if (arecosignalHB[0][jeta][jphi] > 0.) + arecosignalHB[0][jeta][jphi] /= (sumrecosignalHB0 / nsumrecosignalHB0); + if (arecosignalHB[1][jeta][jphi] > 0.) + arecosignalHB[1][jeta][jphi] /= (sumrecosignalHB1 / nsumrecosignalHB1); + if (arecosignalHB[2][jeta][jphi] > 0.) + arecosignalHB[2][jeta][jphi] /= (sumrecosignalHB2 / nsumrecosignalHB2); + if (arecosignalHB[3][jeta][jphi] > 0.) + arecosignalHB[3][jeta][jphi] /= (sumrecosignalHB3 / nsumrecosignalHB3); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthfs //====================================================================== //====================================================================== //cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRrecosignalHB42D = new TH2F("GefzRrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRrecosignalHB42D0 = new TH2F("GefzRrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHB42D = new TH2F("GefzRrecosignalHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRrecosignalHB42D0 = new TH2F("GefzRrecosignalHB42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRrecosignalHB42DF = (TH2F*)GefzRrecosignalHB42D0->Clone("GefzRrecosignalHB42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRrecosignalHB42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHB42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRrecosignalHB42DF->Divide(GefzRrecosignalHB42D,GefzRrecosignalHB42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHB42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHB42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRrecosignalHB42D->Fill(kkk, jphi, ccc1); + GefzRrecosignalHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRrecosignalHB42DF->Divide(GefzRrecosignalHB42D, GefzRrecosignalHB42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB42DF->SetXTitle("_depth #eta \b"); + GefzRrecosignalHB42DF->SetYTitle(" #phi \b"); GefzRrecosignalHB42DF->Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitSignal_HB= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HB"); - energyhitSignal_HB ->SetMarkerStyle(20);energyhitSignal_HB ->SetMarkerSize(0.4);energyhitSignal_HB ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HB ->SetXTitle("energyhitSignal_HB \b");energyhitSignal_HB ->SetMarkerColor(2);energyhitSignal_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HB ->Draw("Error"); + TH1F* energyhitSignal_HB = (TH1F*)dir->FindObjectAny("h_energyhitSignal_HB"); + energyhitSignal_HB->SetMarkerStyle(20); + energyhitSignal_HB->SetMarkerSize(0.4); + energyhitSignal_HB->GetYaxis()->SetLabelSize(0.04); + energyhitSignal_HB->SetXTitle("energyhitSignal_HB \b"); + energyhitSignal_HB->SetMarkerColor(2); + energyhitSignal_HB->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitSignal_HB->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RrecosignalGeneralD2PhiSymmetryHB.png"); c2x1->Clear(); // clean-up - if (GefzRrecosignalHB42D) delete GefzRrecosignalHB42D; - if (GefzRrecosignalHB42D0) delete GefzRrecosignalHB42D0; - if (GefzRrecosignalHB42DF) delete GefzRrecosignalHB42DF; + if (GefzRrecosignalHB42D) + delete GefzRrecosignalHB42D; + if (GefzRrecosignalHB42D0) + delete GefzRrecosignalHB42D0; + if (GefzRrecosignalHB42DF) + delete GefzRrecosignalHB42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRrecosignalHB41D = new TH1F("GefzRrecosignalHB41D","", nphi, 0., 72. ); - TH1F* GefzRrecosignalHB41D0 = new TH1F("GefzRrecosignalHB41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHB41D = new TH1F("GefzRrecosignalHB41D", "", nphi, 0., 72.); + TH1F* GefzRrecosignalHB41D0 = new TH1F("GefzRrecosignalHB41D0", "", nphi, 0., 72.); TH1F* GefzRrecosignalHB41DF = (TH1F*)GefzRrecosignalHB41D0->Clone("GefzRrecosignalHB41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHB41D0 ->Fill(jphi,1.); } - }}} - GefzRrecosignalHB41DF->Divide(GefzRrecosignalHB41D,GefzRrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRrecosignalHB41D->Fill(jphi, ccc1); + GefzRrecosignalHB41D0->Fill(jphi, 1.); + } + } + } + } + GefzRrecosignalHB41DF->Divide( + GefzRrecosignalHB41D, GefzRrecosignalHB41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRrecosignalHB41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHB41DF->SetMarkerStyle(20); GefzRrecosignalHB41DF->SetMarkerSize(1.4); GefzRrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHB41DF->SetXTitle("#phi \b"); GefzRrecosignalHB41DF->SetYTitle(" \b"); GefzRrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHB41DF->SetMarkerColor(4); GefzRrecosignalHB41DF->SetLineColor(4);// GefzRrecosignalHB41DF->SetMinimum(0.8); // GefzRrecosignalHB41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB41DF->SetMarkerStyle(20); + GefzRrecosignalHB41DF->SetMarkerSize(1.4); + GefzRrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); + GefzRrecosignalHB41DF->SetXTitle("#phi \b"); + GefzRrecosignalHB41DF->SetYTitle(" \b"); + GefzRrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRrecosignalHB41DF->SetMarkerColor(4); + GefzRrecosignalHB41DF->SetLineColor( + 4); // GefzRrecosignalHB41DF->SetMinimum(0.8); // GefzRrecosignalHB41DF->SetMaximum(1.000); GefzRrecosignalHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RrecosignalGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (GefzRrecosignalHB41D) delete GefzRrecosignalHB41D; - if (GefzRrecosignalHB41D0) delete GefzRrecosignalHB41D0; - if (GefzRrecosignalHB41DF) delete GefzRrecosignalHB41DF; - //========================================================================================== 4 + if (GefzRrecosignalHB41D) + delete GefzRrecosignalHB41D; + if (GefzRrecosignalHB41D0) + delete GefzRrecosignalHB41D0; + if (GefzRrecosignalHB41DF) + delete GefzRrecosignalHB41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionRecosignal1=1; - TH1F* h2CeffHBpositivedirectionRecosignal1 = new TH1F("h2CeffHBpositivedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBpositivedirectionRecosignal1 = "<SetMarkerColor(2);HBpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal1 == 1) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 2) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 3) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 4) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 5) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 6) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 7) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 8) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 9) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==10) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==11) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==12) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==13) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==14) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==15) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==16) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionRecosignal1->Draw("Error"); - kcountHBpositivedirectionRecosignal1++; - if(kcountHBpositivedirectionRecosignal1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBpositivedirectionRecosignal1 = (TH1F*)h2CeffHBpositivedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBpositivedirectionRecosignal1 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal1 == 1) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 2) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 3) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 4) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 5) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 6) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 7) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 8) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 9) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 10) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 11) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 12) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 13) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 14) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 15) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 16) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignal1->Draw("Error"); + kcountHBpositivedirectionRecosignal1++; + if (kcountHBpositivedirectionRecosignal1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal1) delete h2CeffHBpositivedirectionRecosignal1; - + if (h2CeffHBpositivedirectionRecosignal1) + delete h2CeffHBpositivedirectionRecosignal1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignal2=1; - TH1F* h2CeffHBpositivedirectionRecosignal2 = new TH1F("h2CeffHBpositivedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBpositivedirectionRecosignal2 = "<SetMarkerColor(2);HBpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal2 == 1) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 2) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 3) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 4) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 5) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 6) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 7) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 8) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 9) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==10) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==11) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==12) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==13) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==14) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==15) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==16) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionRecosignal2->Draw("Error"); - kcountHBpositivedirectionRecosignal2++; - if(kcountHBpositivedirectionRecosignal2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal2 = 1; + TH1F* h2CeffHBpositivedirectionRecosignal2 = new TH1F("h2CeffHBpositivedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBpositivedirectionRecosignal2 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal2 == 1) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 2) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 3) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 4) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 5) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 6) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 7) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 8) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 9) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 10) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 11) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 12) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 13) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 14) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 15) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 16) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignal2->Draw("Error"); + kcountHBpositivedirectionRecosignal2++; + if (kcountHBpositivedirectionRecosignal2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal2) delete h2CeffHBpositivedirectionRecosignal2; - //========================================================================================== 6 + if (h2CeffHBpositivedirectionRecosignal2) + delete h2CeffHBpositivedirectionRecosignal2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignal3=1; - TH1F* h2CeffHBpositivedirectionRecosignal3 = new TH1F("h2CeffHBpositivedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBpositivedirectionRecosignal3 = "<SetMarkerColor(2);HBpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal3 == 1) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 2) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 3) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 4) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 5) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 6) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 7) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 8) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 9) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==10) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==11) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==12) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==13) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==14) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==15) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==16) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionRecosignal3->Draw("Error"); - kcountHBpositivedirectionRecosignal3++; - if(kcountHBpositivedirectionRecosignal3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal3 = 1; + TH1F* h2CeffHBpositivedirectionRecosignal3 = new TH1F("h2CeffHBpositivedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBpositivedirectionRecosignal3 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal3 == 1) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 2) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 3) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 4) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 5) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 6) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 7) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 8) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 9) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 10) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 11) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 12) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 13) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 14) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 15) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 16) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignal3->Draw("Error"); + kcountHBpositivedirectionRecosignal3++; + if (kcountHBpositivedirectionRecosignal3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal3) delete h2CeffHBpositivedirectionRecosignal3; - //========================================================================================== 7 + if (h2CeffHBpositivedirectionRecosignal3) + delete h2CeffHBpositivedirectionRecosignal3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignal4=1; - TH1F* h2CeffHBpositivedirectionRecosignal4 = new TH1F("h2CeffHBpositivedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBpositivedirectionRecosignal4 = "<SetMarkerColor(2);HBpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal4 == 1) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 2) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 3) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 4) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 5) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 6) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 7) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 8) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 9) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==10) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==11) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==12) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==13) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==14) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==15) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==16) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionRecosignal4->Draw("Error"); - kcountHBpositivedirectionRecosignal4++; - if(kcountHBpositivedirectionRecosignal4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignal4 = 1; + TH1F* h2CeffHBpositivedirectionRecosignal4 = new TH1F("h2CeffHBpositivedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBpositivedirectionRecosignal4 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal4 == 1) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 2) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 3) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 4) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 5) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 6) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 7) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 8) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 9) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 10) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 11) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 12) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 13) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 14) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 15) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 16) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignal4->Draw("Error"); + kcountHBpositivedirectionRecosignal4++; + if (kcountHBpositivedirectionRecosignal4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal4) delete h2CeffHBpositivedirectionRecosignal4; + if (h2CeffHBpositivedirectionRecosignal4) + delete h2CeffHBpositivedirectionRecosignal4; - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionRecosignal1=1; - TH1F* h2CeffHBnegativedirectionRecosignal1 = new TH1F("h2CeffHBnegativedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBnegativedirectionRecosignal1 = "<SetMarkerColor(2);HBnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal1 == 1) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 2) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 3) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 4) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 5) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 6) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 7) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 8) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 9) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==10) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==11) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==12) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==13) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==14) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==15) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==16) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionRecosignal1->Draw("Error"); - kcountHBnegativedirectionRecosignal1++; - if(kcountHBnegativedirectionRecosignal1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBnegativedirectionRecosignal1 = (TH1F*)h2CeffHBnegativedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBnegativedirectionRecosignal1 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal1 == 1) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 2) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 3) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 4) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 5) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 6) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 7) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 8) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 9) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 10) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 11) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 12) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 13) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 14) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 15) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 16) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignal1->Draw("Error"); + kcountHBnegativedirectionRecosignal1++; + if (kcountHBnegativedirectionRecosignal1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal1) delete h2CeffHBnegativedirectionRecosignal1; - + if (h2CeffHBnegativedirectionRecosignal1) + delete h2CeffHBnegativedirectionRecosignal1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignal2=1; - TH1F* h2CeffHBnegativedirectionRecosignal2 = new TH1F("h2CeffHBnegativedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBnegativedirectionRecosignal2 = "<SetMarkerColor(2);HBnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal2 == 1) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 2) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 3) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 4) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 5) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 6) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 7) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 8) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 9) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==10) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==11) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==12) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==13) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==14) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==15) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==16) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); - HBnegativedirectionRecosignal2->Draw("Error"); - kcountHBnegativedirectionRecosignal2++; - if(kcountHBnegativedirectionRecosignal2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal2 = 1; + TH1F* h2CeffHBnegativedirectionRecosignal2 = new TH1F("h2CeffHBnegativedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBnegativedirectionRecosignal2 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal2 == 1) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 2) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 3) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 4) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 5) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 6) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 7) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 8) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 9) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 10) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 11) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 12) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 13) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 14) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 15) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 16) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionRecosignal2->Draw("Error"); + kcountHBnegativedirectionRecosignal2++; + if (kcountHBnegativedirectionRecosignal2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal2) delete h2CeffHBnegativedirectionRecosignal2; - //========================================================================================== 1116 + if (h2CeffHBnegativedirectionRecosignal2) + delete h2CeffHBnegativedirectionRecosignal2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignal3=1; - TH1F* h2CeffHBnegativedirectionRecosignal3 = new TH1F("h2CeffHBnegativedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBnegativedirectionRecosignal3 = "<SetMarkerColor(2);HBnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal3 == 1) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 2) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 3) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 4) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 5) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 6) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 7) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 8) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 9) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==10) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==11) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==12) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==13) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==14) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==15) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==16) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); - - HBnegativedirectionRecosignal3->Draw("Error"); - kcountHBnegativedirectionRecosignal3++; - if(kcountHBnegativedirectionRecosignal3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal3 = 1; + TH1F* h2CeffHBnegativedirectionRecosignal3 = new TH1F("h2CeffHBnegativedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBnegativedirectionRecosignal3 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal3 == 1) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 2) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 3) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 4) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 5) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 6) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 7) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 8) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 9) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 10) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 11) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 12) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 13) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 14) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 15) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 16) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionRecosignal3->Draw("Error"); + kcountHBnegativedirectionRecosignal3++; + if (kcountHBnegativedirectionRecosignal3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal3) delete h2CeffHBnegativedirectionRecosignal3; - //========================================================================================== 1117 + if (h2CeffHBnegativedirectionRecosignal3) + delete h2CeffHBnegativedirectionRecosignal3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignal4=1; - TH1F* h2CeffHBnegativedirectionRecosignal4 = new TH1F("h2CeffHBnegativedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBnegativedirectionRecosignal4 = "<SetMarkerColor(2);HBnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal4 == 1) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 2) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 3) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 4) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 5) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 6) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 7) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 8) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 9) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==10) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==11) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==12) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==13) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==14) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==15) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==16) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); - HBnegativedirectionRecosignal4->Draw("Error"); - kcountHBnegativedirectionRecosignal4++; - if(kcountHBnegativedirectionRecosignal4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignal4 = 1; + TH1F* h2CeffHBnegativedirectionRecosignal4 = new TH1F("h2CeffHBnegativedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBnegativedirectionRecosignal4 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal4 == 1) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 2) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 3) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 4) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 5) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 6) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 7) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 8) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 9) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 10) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 11) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 12) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 13) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 14) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 15) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 16) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionRecosignal4->Draw("Error"); + kcountHBnegativedirectionRecosignal4++; + if (kcountHBnegativedirectionRecosignal4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal4) delete h2CeffHBnegativedirectionRecosignal4; + if (h2CeffHBnegativedirectionRecosignal4) + delete h2CeffHBnegativedirectionRecosignal4; //====================================================================================================================== //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HB1"); - TH2F *recosignalVariance0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HB1"); + TH2F* recosignalVariance0HB1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); TH2F* recosignalVarianceHB1 = (TH2F*)recosignalVariance1HB1->Clone("recosignalVarianceHB1"); - recosignalVarianceHB1->Divide(recosignalVariance1HB1,recosignalVariance0HB1, 1, 1, "B"); - TH2F *recosignalVariance1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB2"); - TH2F *recosignalVariance0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + recosignalVarianceHB1->Divide(recosignalVariance1HB1, recosignalVariance0HB1, 1, 1, "B"); + TH2F* recosignalVariance1HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB2"); + TH2F* recosignalVariance0HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); TH2F* recosignalVarianceHB2 = (TH2F*)recosignalVariance1HB2->Clone("recosignalVarianceHB2"); - recosignalVarianceHB2->Divide(recosignalVariance1HB2,recosignalVariance0HB2, 1, 1, "B"); - TH2F *recosignalVariance1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB3"); - TH2F *recosignalVariance0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + recosignalVarianceHB2->Divide(recosignalVariance1HB2, recosignalVariance0HB2, 1, 1, "B"); + TH2F* recosignalVariance1HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB3"); + TH2F* recosignalVariance0HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); TH2F* recosignalVarianceHB3 = (TH2F*)recosignalVariance1HB3->Clone("recosignalVarianceHB3"); - recosignalVarianceHB3->Divide(recosignalVariance1HB3,recosignalVariance0HB3, 1, 1, "B"); - TH2F *recosignalVariance1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB4"); - TH2F *recosignalVariance0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + recosignalVarianceHB3->Divide(recosignalVariance1HB3, recosignalVariance0HB3, 1, 1, "B"); + TH2F* recosignalVariance1HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB4"); + TH2F* recosignalVariance0HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); TH2F* recosignalVarianceHB4 = (TH2F*)recosignalVariance1HB4->Clone("recosignalVarianceHB4"); - recosignalVarianceHB4->Divide(recosignalVariance1HB4,recosignalVariance0HB4, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHB - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - recosignalvarianceHB[1][jeta][jphi] = recosignalVarianceHB2->GetBinContent(jeta+1,jphi+1); - recosignalvarianceHB[2][jeta][jphi] = recosignalVarianceHB3->GetBinContent(jeta+1,jphi+1); - recosignalvarianceHB[3][jeta][jphi] = recosignalVarianceHB4->GetBinContent(jeta+1,jphi+1); - if(recosignalvarianceHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += recosignalvarianceHB[0][jeta][jphi];++nsumrecosignalHB0;} - if(recosignalvarianceHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += recosignalvarianceHB[1][jeta][jphi];++nsumrecosignalHB1;} - if(recosignalvarianceHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += recosignalvarianceHB[2][jeta][jphi];++nsumrecosignalHB2;} - if(recosignalvarianceHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += recosignalvarianceHB[3][jeta][jphi];++nsumrecosignalHB3;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) recosignalvarianceHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; - if(recosignalvarianceHB[1][jeta][jphi] > 0.) recosignalvarianceHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; - if(recosignalvarianceHB[2][jeta][jphi] > 0.) recosignalvarianceHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; - if(recosignalvarianceHB[3][jeta][jphi] > 0.) recosignalvarianceHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; - }// phi - // recosignalvarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive recosignalvarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumrecosignalHB0 = 0; + int nsumrecosignalHB0 = 0; + double sumrecosignalHB1 = 0; + int nsumrecosignalHB1 = 0; + double sumrecosignalHB2 = 0; + int nsumrecosignalHB2 = 0; + double sumrecosignalHB3 = 0; + int nsumrecosignalHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + recosignalvarianceHB[0][jeta][jphi] = recosignalVarianceHB1->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHB[1][jeta][jphi] = recosignalVarianceHB2->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHB[2][jeta][jphi] = recosignalVarianceHB3->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHB[3][jeta][jphi] = recosignalVarianceHB4->GetBinContent(jeta + 1, jphi + 1); + if (recosignalvarianceHB[0][jeta][jphi] > 0.) { + sumrecosignalHB0 += recosignalvarianceHB[0][jeta][jphi]; + ++nsumrecosignalHB0; + } + if (recosignalvarianceHB[1][jeta][jphi] > 0.) { + sumrecosignalHB1 += recosignalvarianceHB[1][jeta][jphi]; + ++nsumrecosignalHB1; + } + if (recosignalvarianceHB[2][jeta][jphi] > 0.) { + sumrecosignalHB2 += recosignalvarianceHB[2][jeta][jphi]; + ++nsumrecosignalHB2; + } + if (recosignalvarianceHB[3][jeta][jphi] > 0.) { + sumrecosignalHB3 += recosignalvarianceHB[3][jeta][jphi]; + ++nsumrecosignalHB3; } - //cout<<" Vaiance: DONE*****" < 0.) + recosignalvarianceHB[0][jeta][jphi] /= (sumrecosignalHB0 / nsumrecosignalHB0); + if (recosignalvarianceHB[1][jeta][jphi] > 0.) + recosignalvarianceHB[1][jeta][jphi] /= (sumrecosignalHB1 / nsumrecosignalHB1); + if (recosignalvarianceHB[2][jeta][jphi] > 0.) + recosignalvarianceHB[2][jeta][jphi] /= (sumrecosignalHB2 / nsumrecosignalHB2); + if (recosignalvarianceHB[3][jeta][jphi] > 0.) + recosignalvarianceHB[3][jeta][jphi] /= (sumrecosignalHB3 / nsumrecosignalHB3); + } // phi + // recosignalvarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDrecosignalHB42D = new TH2F("DefzDrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHB42D0 = new TH2F("DefzDrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHB42DF = (TH2F*)DefzDrecosignalHB42D0->Clone("DefzDrecosignalHB42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(arecosignalHB[i][jeta][jphi]>0.) {DefzDrecosignalHB42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHB42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDrecosignalHB42DF->Divide(DefzDrecosignalHB42D,DefzDrecosignalHB42D0, 1, 1, "B");// average A - // DefzDrecosignalHB1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHB42DF->SetMarkerStyle(20); DefzDrecosignalHB42DF->SetMarkerSize(0.4); DefzDrecosignalHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHB42DF->SetYTitle(" #phi \b"); DefzDrecosignalHB42DF->SetZTitle("_depth \b"); DefzDrecosignalHB42DF->SetMarkerColor(2); DefzDrecosignalHB42DF->SetLineColor(0); // DefzDrecosignalHB42DF->SetMaximum(1.000); // DefzDrecosignalHB42DF->SetMinimum(1.0); - DefzDrecosignalHB42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DrecosignalGeneralD2PhiSymmetryHB.png"); - c1x0->Clear(); - // clean-up - if (DefzDrecosignalHB42D) delete DefzDrecosignalHB42D; - if (DefzDrecosignalHB42D0) delete DefzDrecosignalHB42D0; - if (DefzDrecosignalHB42DF) delete DefzDrecosignalHB42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDrecosignalHB42D = new TH2F("DefzDrecosignalHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHB42D0 = new TH2F("DefzDrecosignalHB42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHB42DF = (TH2F*)DefzDrecosignalHB42D0->Clone("DefzDrecosignalHB42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (arecosignalHB[i][jeta][jphi] > 0.) { + DefzDrecosignalHB42D->Fill(kkk, jphi, ccc1); + DefzDrecosignalHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDrecosignalHB42DF->Divide(DefzDrecosignalHB42D, DefzDrecosignalHB42D0, 1, 1, "B"); // average A + // DefzDrecosignalHB1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB42DF->SetMarkerStyle(20); + DefzDrecosignalHB42DF->SetMarkerSize(0.4); + DefzDrecosignalHB42DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHB42DF->SetXTitle("_depth #eta \b"); + DefzDrecosignalHB42DF->SetYTitle(" #phi \b"); + DefzDrecosignalHB42DF->SetZTitle("_depth \b"); + DefzDrecosignalHB42DF->SetMarkerColor(2); + DefzDrecosignalHB42DF->SetLineColor( + 0); // DefzDrecosignalHB42DF->SetMaximum(1.000); // DefzDrecosignalHB42DF->SetMinimum(1.0); + DefzDrecosignalHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHB42D) + delete DefzDrecosignalHB42D; + if (DefzDrecosignalHB42D0) + delete DefzDrecosignalHB42D0; + if (DefzDrecosignalHB42DF) + delete DefzDrecosignalHB42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDrecosignalHB41D = new TH1F("DefzDrecosignalHB41D","", nphi, 0., 72. ); - TH1F* DefzDrecosignalHB41D0 = new TH1F("DefzDrecosignalHB41D0","",nphi, 0., 72. ); - TH1F* DefzDrecosignalHB41DF = (TH1F*)DefzDrecosignalHB41D0->Clone("DefzDrecosignalHB41DF"); - - for (int jphi=0;jphi0.) {DefzDrecosignalHB41D ->Fill(jphi,ccc1); DefzDrecosignalHB41D0 ->Fill(jphi,1.); } - }}} - // DefzDrecosignalHB41D->Sumw2();DefzDrecosignalHB41D0->Sumw2(); - - DefzDrecosignalHB41DF->Divide(DefzDrecosignalHB41D,DefzDrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDrecosignalHB41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHB41DF->SetMarkerStyle(20); DefzDrecosignalHB41DF->SetMarkerSize(1.4); DefzDrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB41DF->SetXTitle("#phi \b"); DefzDrecosignalHB41DF->SetYTitle(" \b"); DefzDrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHB41DF->SetMarkerColor(4); DefzDrecosignalHB41DF->SetLineColor(4);// DefzDrecosignalHB41DF->SetMinimum(0.8); DefzDrecosignalHB41DF->SetMinimum(-0.015); - DefzDrecosignalHB41DF->Draw("Error"); + TH1F* DefzDrecosignalHB41D = new TH1F("DefzDrecosignalHB41D", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHB41D0 = new TH1F("DefzDrecosignalHB41D0", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHB41DF = (TH1F*)DefzDrecosignalHB41D0->Clone("DefzDrecosignalHB41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + DefzDrecosignalHB41D->Fill(jphi, ccc1); + DefzDrecosignalHB41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDrecosignalHB41D->Sumw2();DefzDrecosignalHB41D0->Sumw2(); + + DefzDrecosignalHB41DF->Divide( + DefzDrecosignalHB41D, DefzDrecosignalHB41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDrecosignalHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB41DF->SetMarkerStyle(20); + DefzDrecosignalHB41DF->SetMarkerSize(1.4); + DefzDrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHB41DF->SetXTitle("#phi \b"); + DefzDrecosignalHB41DF->SetYTitle(" \b"); + DefzDrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDrecosignalHB41DF->SetMarkerColor(4); + DefzDrecosignalHB41DF->SetLineColor( + 4); // DefzDrecosignalHB41DF->SetMinimum(0.8); DefzDrecosignalHB41DF->SetMinimum(-0.015); + DefzDrecosignalHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DrecosignalGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (DefzDrecosignalHB41D) delete DefzDrecosignalHB41D; - if (DefzDrecosignalHB41D0) delete DefzDrecosignalHB41D0; - if (DefzDrecosignalHB41DF) delete DefzDrecosignalHB41DF; + if (DefzDrecosignalHB41D) + delete DefzDrecosignalHB41D; + if (DefzDrecosignalHB41D0) + delete DefzDrecosignalHB41D0; + if (DefzDrecosignalHB41DF) + delete DefzDrecosignalHB41DF; - //========================================================================================== 14 + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD1=1; - TH1F* h2CeffHBpositivedirectionRecosignalD1 = new TH1F("h2CeffHBpositivedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD1 == 1) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 2) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 3) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 4) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 5) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 6) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 7) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 8) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 9) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==10) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==11) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==12) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==13) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==14) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==15) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==16) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionRecosignalD1->Draw("Error"); - kcountHBpositivedirectionRecosignalD1++; - if(kcountHBpositivedirectionRecosignalD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD1 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD1 = new TH1F("h2CeffHBpositivedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBpositivedirectionRecosignalD1 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD1 == 1) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 2) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 3) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 4) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 5) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 6) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 7) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 8) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 9) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 10) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 11) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 12) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 13) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 14) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 15) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 16) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignalD1->Draw("Error"); + kcountHBpositivedirectionRecosignalD1++; + if (kcountHBpositivedirectionRecosignalD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD1) delete h2CeffHBpositivedirectionRecosignalD1; - //========================================================================================== 15 + if (h2CeffHBpositivedirectionRecosignalD1) + delete h2CeffHBpositivedirectionRecosignalD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD2=1; - TH1F* h2CeffHBpositivedirectionRecosignalD2 = new TH1F("h2CeffHBpositivedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD2 == 1) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 2) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 3) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 4) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 5) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 6) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 7) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 8) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 9) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==10) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==11) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==12) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==13) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==14) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==15) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==16) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionRecosignalD2->Draw("Error"); - kcountHBpositivedirectionRecosignalD2++; - if(kcountHBpositivedirectionRecosignalD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD2 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD2 = new TH1F("h2CeffHBpositivedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBpositivedirectionRecosignalD2 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD2 == 1) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 2) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 3) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 4) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 5) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 6) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 7) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 8) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 9) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 10) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 11) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 12) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 13) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 14) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 15) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 16) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignalD2->Draw("Error"); + kcountHBpositivedirectionRecosignalD2++; + if (kcountHBpositivedirectionRecosignalD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD2) delete h2CeffHBpositivedirectionRecosignalD2; - //========================================================================================== 16 + if (h2CeffHBpositivedirectionRecosignalD2) + delete h2CeffHBpositivedirectionRecosignalD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD3=1; - TH1F* h2CeffHBpositivedirectionRecosignalD3 = new TH1F("h2CeffHBpositivedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD3 == 1) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 2) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 3) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 4) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 5) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 6) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 7) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 8) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 9) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==10) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==11) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==12) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==13) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==14) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==15) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==16) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionRecosignalD3->Draw("Error"); - kcountHBpositivedirectionRecosignalD3++; - if(kcountHBpositivedirectionRecosignalD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD3 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD3 = new TH1F("h2CeffHBpositivedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBpositivedirectionRecosignalD3 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD3 == 1) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 2) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 3) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 4) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 5) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 6) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 7) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 8) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 9) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 10) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 11) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 12) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 13) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 14) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 15) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 16) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignalD3->Draw("Error"); + kcountHBpositivedirectionRecosignalD3++; + if (kcountHBpositivedirectionRecosignalD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD3) delete h2CeffHBpositivedirectionRecosignalD3; - //========================================================================================== 17 + if (h2CeffHBpositivedirectionRecosignalD3) + delete h2CeffHBpositivedirectionRecosignalD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD4=1; - TH1F* h2CeffHBpositivedirectionRecosignalD4 = new TH1F("h2CeffHBpositivedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD4 == 1) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 2) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 3) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 4) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 5) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 6) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 7) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 8) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 9) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==10) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==11) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==12) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==13) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==14) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==15) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==16) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionRecosignalD4->Draw("Error"); - kcountHBpositivedirectionRecosignalD4++; - if(kcountHBpositivedirectionRecosignalD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionRecosignalD4 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD4 = new TH1F("h2CeffHBpositivedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBpositivedirectionRecosignalD4 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD4 == 1) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 2) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 3) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 4) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 5) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 6) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 7) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 8) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 9) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 10) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 11) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 12) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 13) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 14) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 15) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 16) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignalD4->Draw("Error"); + kcountHBpositivedirectionRecosignalD4++; + if (kcountHBpositivedirectionRecosignalD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD4) delete h2CeffHBpositivedirectionRecosignalD4; + if (h2CeffHBpositivedirectionRecosignalD4) + delete h2CeffHBpositivedirectionRecosignalD4; - - //========================================================================================== 22214 + //========================================================================================== 22214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD1=1; - TH1F* h2CeffHBnegativedirectionRecosignalD1 = new TH1F("h2CeffHBnegativedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD1 == 1) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 2) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 3) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 4) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 5) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 6) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 7) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 8) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 9) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==10) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==11) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==12) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==13) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==14) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==15) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==16) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionRecosignalD1->Draw("Error"); - kcountHBnegativedirectionRecosignalD1++; - if(kcountHBnegativedirectionRecosignalD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD1 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD1 = new TH1F("h2CeffHBnegativedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBnegativedirectionRecosignalD1 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD1 == 1) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 2) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 3) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 4) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 5) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 6) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 7) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 8) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 9) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 10) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 11) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 12) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 13) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 14) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 15) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 16) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignalD1->Draw("Error"); + kcountHBnegativedirectionRecosignalD1++; + if (kcountHBnegativedirectionRecosignalD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD1) delete h2CeffHBnegativedirectionRecosignalD1; - //========================================================================================== 22215 + if (h2CeffHBnegativedirectionRecosignalD1) + delete h2CeffHBnegativedirectionRecosignalD1; + //========================================================================================== 22215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD2=1; - TH1F* h2CeffHBnegativedirectionRecosignalD2 = new TH1F("h2CeffHBnegativedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD2 == 1) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 2) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 3) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 4) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 5) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 6) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 7) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 8) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-9 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 9) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-8 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==10) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-7 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==11) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-6 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==12) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-5 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==13) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-4 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==14) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-3 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==15) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-2 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==16) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-1 ; depth = 2 \b"); - HBnegativedirectionRecosignalD2->Draw("Error"); - kcountHBnegativedirectionRecosignalD2++; - if(kcountHBnegativedirectionRecosignalD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD2 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD2 = new TH1F("h2CeffHBnegativedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBnegativedirectionRecosignalD2 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD2 == 1) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 2) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 3) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 4) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 5) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 6) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 7) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 8) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-9 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 9) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-8 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 10) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-7 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 11) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-6 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 12) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-5 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 13) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-4 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 14) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-3 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 15) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-2 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 16) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-1 ; depth = 2 \b"); + HBnegativedirectionRecosignalD2->Draw("Error"); + kcountHBnegativedirectionRecosignalD2++; + if (kcountHBnegativedirectionRecosignalD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD2) delete h2CeffHBnegativedirectionRecosignalD2; - //========================================================================================== 22216 + if (h2CeffHBnegativedirectionRecosignalD2) + delete h2CeffHBnegativedirectionRecosignalD2; + //========================================================================================== 22216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD3=1; - TH1F* h2CeffHBnegativedirectionRecosignalD3 = new TH1F("h2CeffHBnegativedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD3 == 1) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 2) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 3) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 4) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 5) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 6) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 7) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 8) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-9 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 9) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-8 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==10) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-7 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==11) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-6 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==12) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-5 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==13) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-4 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==14) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-3 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==15) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-2 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==16) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-1 ; depth = 3 \b"); - HBnegativedirectionRecosignalD3->Draw("Error"); - kcountHBnegativedirectionRecosignalD3++; - if(kcountHBnegativedirectionRecosignalD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD3 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD3 = new TH1F("h2CeffHBnegativedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBnegativedirectionRecosignalD3 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD3 == 1) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 2) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 3) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 4) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 5) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 6) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 7) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 8) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-9 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 9) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-8 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 10) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-7 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 11) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-6 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 12) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-5 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 13) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-4 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 14) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-3 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 15) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-2 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 16) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-1 ; depth = 3 \b"); + HBnegativedirectionRecosignalD3->Draw("Error"); + kcountHBnegativedirectionRecosignalD3++; + if (kcountHBnegativedirectionRecosignalD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD3) delete h2CeffHBnegativedirectionRecosignalD3; + if (h2CeffHBnegativedirectionRecosignalD3) + delete h2CeffHBnegativedirectionRecosignalD3; //========================================================================================== 22217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD4=1; - TH1F* h2CeffHBnegativedirectionRecosignalD4 = new TH1F("h2CeffHBnegativedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD4 == 1) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 2) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 3) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 4) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 5) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 6) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 7) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 8) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-9 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 9) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-8 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==10) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-7 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==11) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-6 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==12) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-5 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==13) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-4 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==14) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-3 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==15) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-2 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==16) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-1 ; depth = 4 \b"); - HBnegativedirectionRecosignalD4->Draw("Error"); - kcountHBnegativedirectionRecosignalD4++; - if(kcountHBnegativedirectionRecosignalD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionRecosignalD4 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD4 = new TH1F("h2CeffHBnegativedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBnegativedirectionRecosignalD4 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD4 == 1) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 2) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 3) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 4) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 5) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 6) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 7) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 8) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-9 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 9) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-8 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 10) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-7 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 11) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-6 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 12) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-5 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 13) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-4 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 14) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-3 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 15) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-2 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 16) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-1 ; depth = 4 \b"); + HBnegativedirectionRecosignalD4->Draw("Error"); + kcountHBnegativedirectionRecosignalD4++; + if (kcountHBnegativedirectionRecosignalD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD4) delete h2CeffHBnegativedirectionRecosignalD4; - - - + if (h2CeffHBnegativedirectionRecosignalD4) + delete h2CeffHBnegativedirectionRecosignalD4; //===================================================================== END of Recosignal HB for phi-symmetry //===================================================================== END of Recosignal HB for phi-symmetry //===================================================================== END of Recosignal HB for phi-symmetry - - - - - - //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[3]; - ndepth = 7; - // const int ndepth = 7; - double arecosignalhe[ndepth][njeta][njphi]; - double recosignalvariancehe[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double arecosignalhe[ndepth][njeta][njphi]; + double recosignalvariancehe[ndepth][njeta][njphi]; // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HE - TH2F *recSignalEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE1"); - TH2F *recSignalEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + TH2F* recSignalEnergy1HE1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE1"); + TH2F* recSignalEnergy0HE1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); TH2F* recSignalEnergyHE1 = (TH2F*)recSignalEnergy1HE1->Clone("recSignalEnergyHE1"); - recSignalEnergyHE1->Divide(recSignalEnergy1HE1,recSignalEnergy0HE1, 1, 1, "B"); - TH2F *recSignalEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE2"); - TH2F *recSignalEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + recSignalEnergyHE1->Divide(recSignalEnergy1HE1, recSignalEnergy0HE1, 1, 1, "B"); + TH2F* recSignalEnergy1HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE2"); + TH2F* recSignalEnergy0HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); TH2F* recSignalEnergyHE2 = (TH2F*)recSignalEnergy1HE2->Clone("recSignalEnergyHE2"); - recSignalEnergyHE2->Divide(recSignalEnergy1HE2,recSignalEnergy0HE2, 1, 1, "B"); - TH2F *recSignalEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE3"); - TH2F *recSignalEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + recSignalEnergyHE2->Divide(recSignalEnergy1HE2, recSignalEnergy0HE2, 1, 1, "B"); + TH2F* recSignalEnergy1HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE3"); + TH2F* recSignalEnergy0HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); TH2F* recSignalEnergyHE3 = (TH2F*)recSignalEnergy1HE3->Clone("recSignalEnergyHE3"); - recSignalEnergyHE3->Divide(recSignalEnergy1HE3,recSignalEnergy0HE3, 1, 1, "B"); - TH2F *recSignalEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE4"); - TH2F *recSignalEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + recSignalEnergyHE3->Divide(recSignalEnergy1HE3, recSignalEnergy0HE3, 1, 1, "B"); + TH2F* recSignalEnergy1HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE4"); + TH2F* recSignalEnergy0HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); TH2F* recSignalEnergyHE4 = (TH2F*)recSignalEnergy1HE4->Clone("recSignalEnergyHE4"); - recSignalEnergyHE4->Divide(recSignalEnergy1HE4,recSignalEnergy0HE4, 1, 1, "B"); - TH2F *recSignalEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE5"); - TH2F *recSignalEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + recSignalEnergyHE4->Divide(recSignalEnergy1HE4, recSignalEnergy0HE4, 1, 1, "B"); + TH2F* recSignalEnergy1HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE5"); + TH2F* recSignalEnergy0HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); TH2F* recSignalEnergyHE5 = (TH2F*)recSignalEnergy1HE5->Clone("recSignalEnergyHE5"); - recSignalEnergyHE5->Divide(recSignalEnergy1HE5,recSignalEnergy0HE5, 1, 1, "B"); - TH2F *recSignalEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE6"); - TH2F *recSignalEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + recSignalEnergyHE5->Divide(recSignalEnergy1HE5, recSignalEnergy0HE5, 1, 1, "B"); + TH2F* recSignalEnergy1HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE6"); + TH2F* recSignalEnergy0HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); TH2F* recSignalEnergyHE6 = (TH2F*)recSignalEnergy1HE6->Clone("recSignalEnergyHE6"); - recSignalEnergyHE6->Divide(recSignalEnergy1HE6,recSignalEnergy0HE6, 1, 1, "B"); - TH2F *recSignalEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE7"); - TH2F *recSignalEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + recSignalEnergyHE6->Divide(recSignalEnergy1HE6, recSignalEnergy0HE6, 1, 1, "B"); + TH2F* recSignalEnergy1HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE7"); + TH2F* recSignalEnergy0HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); TH2F* recSignalEnergyHE7 = (TH2F*)recSignalEnergy1HE7->Clone("recSignalEnergyHE7"); - recSignalEnergyHE7->Divide(recSignalEnergy1HE7,recSignalEnergy0HE7, 1, 1, "B"); - for(int jeta=0;jetaDivide(recSignalEnergy1HE7, recSignalEnergy0HE7, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { //====================================================================== PHI normalization & put R into massive arecosignalhe - //preparation for PHI normalization: - double sumrecosignalHE0=0;int nsumrecosignalHE0=0;double sumrecosignalHE1=0;int nsumrecosignalHE1=0;double sumrecosignalHE2=0;int nsumrecosignalHE2=0;double sumrecosignalHE3=0;int nsumrecosignalHE3=0; - double sumrecosignalHE4=0;int nsumrecosignalHE4=0;double sumrecosignalHE5=0;int nsumrecosignalHE5=0;double sumrecosignalHE6=0;int nsumrecosignalHE6=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - arecosignalhe[1][jeta][jphi] = recSignalEnergyHE2->GetBinContent(jeta+1,jphi+1); - arecosignalhe[2][jeta][jphi] = recSignalEnergyHE3->GetBinContent(jeta+1,jphi+1); - arecosignalhe[3][jeta][jphi] = recSignalEnergyHE4->GetBinContent(jeta+1,jphi+1); - arecosignalhe[4][jeta][jphi] = recSignalEnergyHE5->GetBinContent(jeta+1,jphi+1); - arecosignalhe[5][jeta][jphi] = recSignalEnergyHE6->GetBinContent(jeta+1,jphi+1); - arecosignalhe[6][jeta][jphi] = recSignalEnergyHE7->GetBinContent(jeta+1,jphi+1); - if(arecosignalhe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += arecosignalhe[0][jeta][jphi];++nsumrecosignalHE0;} - if(arecosignalhe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += arecosignalhe[1][jeta][jphi];++nsumrecosignalHE1;} - if(arecosignalhe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += arecosignalhe[2][jeta][jphi];++nsumrecosignalHE2;} - if(arecosignalhe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += arecosignalhe[3][jeta][jphi];++nsumrecosignalHE3;} - if(arecosignalhe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += arecosignalhe[4][jeta][jphi];++nsumrecosignalHE4;} - if(arecosignalhe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += arecosignalhe[5][jeta][jphi];++nsumrecosignalHE5;} - if(arecosignalhe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += arecosignalhe[6][jeta][jphi];++nsumrecosignalHE6;} - }// phi - // PHI normalization: - for(int jphi=0;jphi 0.) arecosignalhe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; - if(arecosignalhe[1][jeta][jphi] > 0.) arecosignalhe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; - if(arecosignalhe[2][jeta][jphi] > 0.) arecosignalhe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; - if(arecosignalhe[3][jeta][jphi] > 0.) arecosignalhe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; - if(arecosignalhe[4][jeta][jphi] > 0.) arecosignalhe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; - if(arecosignalhe[5][jeta][jphi] > 0.) arecosignalhe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; - if(arecosignalhe[6][jeta][jphi] > 0.) arecosignalhe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; - }// phi - }//eta + //preparation for PHI normalization: + double sumrecosignalHE0 = 0; + int nsumrecosignalHE0 = 0; + double sumrecosignalHE1 = 0; + int nsumrecosignalHE1 = 0; + double sumrecosignalHE2 = 0; + int nsumrecosignalHE2 = 0; + double sumrecosignalHE3 = 0; + int nsumrecosignalHE3 = 0; + double sumrecosignalHE4 = 0; + int nsumrecosignalHE4 = 0; + double sumrecosignalHE5 = 0; + int nsumrecosignalHE5 = 0; + double sumrecosignalHE6 = 0; + int nsumrecosignalHE6 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + arecosignalhe[0][jeta][jphi] = recSignalEnergyHE1->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[1][jeta][jphi] = recSignalEnergyHE2->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[2][jeta][jphi] = recSignalEnergyHE3->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[3][jeta][jphi] = recSignalEnergyHE4->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[4][jeta][jphi] = recSignalEnergyHE5->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[5][jeta][jphi] = recSignalEnergyHE6->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[6][jeta][jphi] = recSignalEnergyHE7->GetBinContent(jeta + 1, jphi + 1); + if (arecosignalhe[0][jeta][jphi] > 0.) { + sumrecosignalHE0 += arecosignalhe[0][jeta][jphi]; + ++nsumrecosignalHE0; + } + if (arecosignalhe[1][jeta][jphi] > 0.) { + sumrecosignalHE1 += arecosignalhe[1][jeta][jphi]; + ++nsumrecosignalHE1; + } + if (arecosignalhe[2][jeta][jphi] > 0.) { + sumrecosignalHE2 += arecosignalhe[2][jeta][jphi]; + ++nsumrecosignalHE2; + } + if (arecosignalhe[3][jeta][jphi] > 0.) { + sumrecosignalHE3 += arecosignalhe[3][jeta][jphi]; + ++nsumrecosignalHE3; + } + if (arecosignalhe[4][jeta][jphi] > 0.) { + sumrecosignalHE4 += arecosignalhe[4][jeta][jphi]; + ++nsumrecosignalHE4; + } + if (arecosignalhe[5][jeta][jphi] > 0.) { + sumrecosignalHE5 += arecosignalhe[5][jeta][jphi]; + ++nsumrecosignalHE5; + } + if (arecosignalhe[6][jeta][jphi] > 0.) { + sumrecosignalHE6 += arecosignalhe[6][jeta][jphi]; + ++nsumrecosignalHE6; + } + } // phi + // PHI normalization: + for (int jphi = 0; jphi < njphi; jphi++) { + if (arecosignalhe[0][jeta][jphi] > 0.) + arecosignalhe[0][jeta][jphi] /= (sumrecosignalHE0 / nsumrecosignalHE0); + if (arecosignalhe[1][jeta][jphi] > 0.) + arecosignalhe[1][jeta][jphi] /= (sumrecosignalHE1 / nsumrecosignalHE1); + if (arecosignalhe[2][jeta][jphi] > 0.) + arecosignalhe[2][jeta][jphi] /= (sumrecosignalHE2 / nsumrecosignalHE2); + if (arecosignalhe[3][jeta][jphi] > 0.) + arecosignalhe[3][jeta][jphi] /= (sumrecosignalHE3 / nsumrecosignalHE3); + if (arecosignalhe[4][jeta][jphi] > 0.) + arecosignalhe[4][jeta][jphi] /= (sumrecosignalHE4 / nsumrecosignalHE4); + if (arecosignalhe[5][jeta][jphi] > 0.) + arecosignalhe[5][jeta][jphi] /= (sumrecosignalHE5 / nsumrecosignalHE5); + if (arecosignalhe[6][jeta][jphi] > 0.) + arecosignalhe[6][jeta][jphi] /= (sumrecosignalHE6 / nsumrecosignalHE6); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthes //====================================================================== //====================================================================== //cout<<" R2D-eta/phi-plot: R, averaged over depthes *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRrecosignalHE42D = new TH2F("GefzRrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRrecosignalHE42D0 = new TH2F("GefzRrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHE42D = new TH2F("GefzRrecosignalHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRrecosignalHE42D0 = new TH2F("GefzRrecosignalHE42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRrecosignalHE42DF = (TH2F*)GefzRrecosignalHE42D0->Clone("GefzRrecosignalHE42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRrecosignalHE42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHE42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRrecosignalHE42DF->Divide(GefzRrecosignalHE42D,GefzRrecosignalHE42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHE42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHE42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRrecosignalHE42D->Fill(kkk, jphi, ccc1); + GefzRrecosignalHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRrecosignalHE42DF->Divide(GefzRrecosignalHE42D, GefzRrecosignalHE42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE42DF->SetXTitle("_depth #eta \b"); + GefzRrecosignalHE42DF->SetYTitle(" #phi \b"); GefzRrecosignalHE42DF->Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitSignal_HE= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HE"); - energyhitSignal_HE ->SetMarkerStyle(20);energyhitSignal_HE ->SetMarkerSize(0.4);energyhitSignal_HE ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HE ->SetXTitle("energyhitSignal_HE \b");energyhitSignal_HE ->SetMarkerColor(2);energyhitSignal_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HE ->Draw("Error"); - - + TH1F* energyhitSignal_HE = (TH1F*)dir->FindObjectAny("h_energyhitSignal_HE"); + energyhitSignal_HE->SetMarkerStyle(20); + energyhitSignal_HE->SetMarkerSize(0.4); + energyhitSignal_HE->GetYaxis()->SetLabelSize(0.04); + energyhitSignal_HE->SetXTitle("energyhitSignal_HE \b"); + energyhitSignal_HE->SetMarkerColor(2); + energyhitSignal_HE->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitSignal_HE->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RrecosignalGeneralD2PhiSymmetryHE.png"); c2x1->Clear(); // clean-up - if (GefzRrecosignalHE42D) delete GefzRrecosignalHE42D; - if (GefzRrecosignalHE42D0) delete GefzRrecosignalHE42D0; - if (GefzRrecosignalHE42DF) delete GefzRrecosignalHE42DF; + if (GefzRrecosignalHE42D) + delete GefzRrecosignalHE42D; + if (GefzRrecosignalHE42D0) + delete GefzRrecosignalHE42D0; + if (GefzRrecosignalHE42DF) + delete GefzRrecosignalHE42DF; //====================================================================== 1D plot: R vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRrecosignalHE41D = new TH1F("GefzRrecosignalHE41D","", nphi, 0., 72. ); - TH1F* GefzRrecosignalHE41D0 = new TH1F("GefzRrecosignalHE41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHE41D = new TH1F("GefzRrecosignalHE41D", "", nphi, 0., 72.); + TH1F* GefzRrecosignalHE41D0 = new TH1F("GefzRrecosignalHE41D0", "", nphi, 0., 72.); TH1F* GefzRrecosignalHE41DF = (TH1F*)GefzRrecosignalHE41D0->Clone("GefzRrecosignalHE41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHE41D0 ->Fill(jphi,1.); } - }}} - GefzRrecosignalHE41DF->Divide(GefzRrecosignalHE41D,GefzRrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRrecosignalHE41D->Fill(jphi, ccc1); + GefzRrecosignalHE41D0->Fill(jphi, 1.); + } + } + } + } + GefzRrecosignalHE41DF->Divide( + GefzRrecosignalHE41D, GefzRrecosignalHE41D0, 1, 1, "B"); // R averaged over depthes & eta GefzRrecosignalHE41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHE41DF->SetMarkerStyle(20); GefzRrecosignalHE41DF->SetMarkerSize(1.4); GefzRrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHE41DF->SetXTitle("#phi \b"); GefzRrecosignalHE41DF->SetYTitle(" \b"); GefzRrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRrecosignalHE41DF->SetMarkerColor(4); GefzRrecosignalHE41DF->SetLineColor(4);// GefzRrecosignalHE41DF->SetMinimum(0.8); // GefzRrecosignalHE41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE41DF->SetMarkerStyle(20); + GefzRrecosignalHE41DF->SetMarkerSize(1.4); + GefzRrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); + GefzRrecosignalHE41DF->SetXTitle("#phi \b"); + GefzRrecosignalHE41DF->SetYTitle(" \b"); + GefzRrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); + GefzRrecosignalHE41DF->SetMarkerColor(4); + GefzRrecosignalHE41DF->SetLineColor( + 4); // GefzRrecosignalHE41DF->SetMinimum(0.8); // GefzRrecosignalHE41DF->SetMaximum(1.000); GefzRrecosignalHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RrecosignalGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (GefzRrecosignalHE41D) delete GefzRrecosignalHE41D; - if (GefzRrecosignalHE41D0) delete GefzRrecosignalHE41D0; - if (GefzRrecosignalHE41DF) delete GefzRrecosignalHE41DF; - + if (GefzRrecosignalHE41D) + delete GefzRrecosignalHE41D; + if (GefzRrecosignalHE41D0) + delete GefzRrecosignalHE41D0; + if (GefzRrecosignalHE41DF) + delete GefzRrecosignalHE41DF; - //========================================================================================== 4 + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignal1=1; - TH1F* h2CeffHEpositivedirectionRecosignal1 = new TH1F("h2CeffHEpositivedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEpositivedirectionRecosignal1 = "<SetMarkerColor(2);HEpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal1 == 1) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 2) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 3) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 4) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 5) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 6) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 7) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 8) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 9) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 ==10) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 ==11) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 ==12) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionRecosignal1->Draw("Error"); - kcountHEpositivedirectionRecosignal1++; - if(kcountHEpositivedirectionRecosignal1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEpositivedirectionRecosignal1 = (TH1F*)h2CeffHEpositivedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEpositivedirectionRecosignal1 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal1 == 1) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 2) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 3) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 4) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 5) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 6) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 7) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 8) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 9) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 10) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 11) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 12) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignal1->Draw("Error"); + kcountHEpositivedirectionRecosignal1++; + if (kcountHEpositivedirectionRecosignal1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal1) delete h2CeffHEpositivedirectionRecosignal1; - + if (h2CeffHEpositivedirectionRecosignal1) + delete h2CeffHEpositivedirectionRecosignal1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal2=1; - TH1F* h2CeffHEpositivedirectionRecosignal2 = new TH1F("h2CeffHEpositivedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEpositivedirectionRecosignal2 = "<SetMarkerColor(2);HEpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal2 == 1) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 2) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 3) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 4) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 5) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 6) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 7) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 8) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 9) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==10) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==11) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==12) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==13) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionRecosignal2->Draw("Error"); - kcountHEpositivedirectionRecosignal2++; - if(kcountHEpositivedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal2 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal2 = new TH1F("h2CeffHEpositivedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEpositivedirectionRecosignal2 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal2 == 1) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 2) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 3) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 4) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 5) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 6) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 7) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 8) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 9) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 10) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 11) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 12) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 13) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignal2->Draw("Error"); + kcountHEpositivedirectionRecosignal2++; + if (kcountHEpositivedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal2) delete h2CeffHEpositivedirectionRecosignal2; - //========================================================================================== 6 + if (h2CeffHEpositivedirectionRecosignal2) + delete h2CeffHEpositivedirectionRecosignal2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal3=1; - TH1F* h2CeffHEpositivedirectionRecosignal3 = new TH1F("h2CeffHEpositivedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEpositivedirectionRecosignal3 = "<SetMarkerColor(2);HEpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal3 == 1) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 2) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 3) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 4) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 5) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 6) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 7) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 8) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 9) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==10) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==11) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==12) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==13) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionRecosignal3->Draw("Error"); - kcountHEpositivedirectionRecosignal3++; - if(kcountHEpositivedirectionRecosignal3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal3 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal3 = new TH1F("h2CeffHEpositivedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEpositivedirectionRecosignal3 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal3 == 1) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 2) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 3) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 4) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 5) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 6) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 7) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 8) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 9) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 10) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 11) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 12) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 13) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignal3->Draw("Error"); + kcountHEpositivedirectionRecosignal3++; + if (kcountHEpositivedirectionRecosignal3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal3) delete h2CeffHEpositivedirectionRecosignal3; - //========================================================================================== 7 + if (h2CeffHEpositivedirectionRecosignal3) + delete h2CeffHEpositivedirectionRecosignal3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal4=1; - TH1F* h2CeffHEpositivedirectionRecosignal4 = new TH1F("h2CeffHEpositivedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEpositivedirectionRecosignal4 = "<SetMarkerColor(2);HEpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal4 == 1) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 2) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 3) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 4) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 5) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 6) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 7) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 8) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 9) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 ==10) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 ==11) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 ==12) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionRecosignal4->Draw("Error"); - kcountHEpositivedirectionRecosignal4++; - if(kcountHEpositivedirectionRecosignal4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal4 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal4 = new TH1F("h2CeffHEpositivedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEpositivedirectionRecosignal4 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal4 == 1) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 2) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 3) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 4) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 5) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 6) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 7) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 8) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 9) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 10) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 11) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 12) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignal4->Draw("Error"); + kcountHEpositivedirectionRecosignal4++; + if (kcountHEpositivedirectionRecosignal4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal4) delete h2CeffHEpositivedirectionRecosignal4; - //========================================================================================== 8 + if (h2CeffHEpositivedirectionRecosignal4) + delete h2CeffHEpositivedirectionRecosignal4; + //========================================================================================== 8 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal5=1; - TH1F* h2CeffHEpositivedirectionRecosignal5 = new TH1F("h2CeffHEpositivedirectionRecosignal5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal5 == 1) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 2) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 3) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 4) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 5) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 6) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 7) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 8) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 9) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 ==10) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 ==11) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionRecosignal5->Draw("Error"); - kcountHEpositivedirectionRecosignal5++; - if(kcountHEpositivedirectionRecosignal5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal5 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal5 = new TH1F("h2CeffHEpositivedirectionRecosignal5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEpositivedirectionRecosignal5 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal5 == 1) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 2) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 3) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 4) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 5) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 6) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 7) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 8) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 9) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 10) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 11) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignal5->Draw("Error"); + kcountHEpositivedirectionRecosignal5++; + if (kcountHEpositivedirectionRecosignal5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal5) delete h2CeffHEpositivedirectionRecosignal5; - //========================================================================================== 9 + if (h2CeffHEpositivedirectionRecosignal5) + delete h2CeffHEpositivedirectionRecosignal5; + //========================================================================================== 9 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal6=1; - TH1F* h2CeffHEpositivedirectionRecosignal6 = new TH1F("h2CeffHEpositivedirectionRecosignal6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEpositivedirectionRecosignal6 = "<SetMarkerColor(2);HEpositivedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal6 == 1) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 2) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 3) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 4) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 5) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 6) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 7) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 8) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 9) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 ==10) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionRecosignal6->Draw("Error"); - kcountHEpositivedirectionRecosignal6++; - if(kcountHEpositivedirectionRecosignal6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal6 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal6 = new TH1F("h2CeffHEpositivedirectionRecosignal6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEpositivedirectionRecosignal6 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal6 == 1) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 2) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 3) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 4) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 5) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 6) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 7) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 8) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 9) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 10) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignal6->Draw("Error"); + kcountHEpositivedirectionRecosignal6++; + if (kcountHEpositivedirectionRecosignal6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal6) delete h2CeffHEpositivedirectionRecosignal6; - //========================================================================================== 10 + if (h2CeffHEpositivedirectionRecosignal6) + delete h2CeffHEpositivedirectionRecosignal6; + //========================================================================================== 10 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignal7=1; - TH1F* h2CeffHEpositivedirectionRecosignal7 = new TH1F("h2CeffHEpositivedirectionRecosignal7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEpositivedirectionRecosignal7 = "<SetMarkerColor(2);HEpositivedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal7 == 1) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignal7 == 2) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignal7 == 3) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionRecosignal7->Draw("Error"); - kcountHEpositivedirectionRecosignal7++; - if(kcountHEpositivedirectionRecosignal7>3) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignal7 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal7 = new TH1F("h2CeffHEpositivedirectionRecosignal7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEpositivedirectionRecosignal7 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal7 == 1) + HEpositivedirectionRecosignal7->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignal7 == 2) + HEpositivedirectionRecosignal7->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignal7 == 3) + HEpositivedirectionRecosignal7->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignal7->Draw("Error"); + kcountHEpositivedirectionRecosignal7++; + if (kcountHEpositivedirectionRecosignal7 > 3) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal7) delete h2CeffHEpositivedirectionRecosignal7; + if (h2CeffHEpositivedirectionRecosignal7) + delete h2CeffHEpositivedirectionRecosignal7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignal1=1; - TH1F* h2CeffHEnegativedirectionRecosignal1 = new TH1F("h2CeffHEnegativedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEnegativedirectionRecosignal1 = "<SetMarkerColor(2);HEnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal1 == 1) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 2) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 3) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 4) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 5) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 6) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 7) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 8) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 9) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 ==10) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 ==11) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 ==12) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionRecosignal1->Draw("Error"); - kcountHEnegativedirectionRecosignal1++; - if(kcountHEnegativedirectionRecosignal1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEnegativedirectionRecosignal1 = (TH1F*)h2CeffHEnegativedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEnegativedirectionRecosignal1 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal1 == 1) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 2) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 3) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 4) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 5) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 6) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 7) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 8) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 9) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 10) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 11) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 12) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignal1->Draw("Error"); + kcountHEnegativedirectionRecosignal1++; + if (kcountHEnegativedirectionRecosignal1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal1) delete h2CeffHEnegativedirectionRecosignal1; - + if (h2CeffHEnegativedirectionRecosignal1) + delete h2CeffHEnegativedirectionRecosignal1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal2=1; - TH1F* h2CeffHEnegativedirectionRecosignal2 = new TH1F("h2CeffHEnegativedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEnegativedirectionRecosignal2 = "<SetMarkerColor(2);HEnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal2 == 1) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 2) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 3) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 4) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 5) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 6) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 7) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 8) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 9) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==10) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==11) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==12) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==13) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionRecosignal2->Draw("Error"); - kcountHEnegativedirectionRecosignal2++; - if(kcountHEnegativedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal2 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal2 = new TH1F("h2CeffHEnegativedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEnegativedirectionRecosignal2 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal2 == 1) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 2) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 3) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 4) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 5) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 6) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 7) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 8) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 9) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 10) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 11) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 12) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 13) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignal2->Draw("Error"); + kcountHEnegativedirectionRecosignal2++; + if (kcountHEnegativedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal2) delete h2CeffHEnegativedirectionRecosignal2; - //========================================================================================== 1116 + if (h2CeffHEnegativedirectionRecosignal2) + delete h2CeffHEnegativedirectionRecosignal2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal3=1; - TH1F* h2CeffHEnegativedirectionRecosignal3 = new TH1F("h2CeffHEnegativedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEnegativedirectionRecosignal3 = "<SetMarkerColor(2);HEnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal3 == 1) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 2) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 3) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 4) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 5) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 6) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 7) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 8) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 9) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==10) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==11) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==12) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==13) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionRecosignal3->Draw("Error"); - kcountHEnegativedirectionRecosignal3++; - if(kcountHEnegativedirectionRecosignal3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal3 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal3 = new TH1F("h2CeffHEnegativedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEnegativedirectionRecosignal3 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal3 == 1) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 2) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 3) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 4) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 5) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 6) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 7) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 8) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 9) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 10) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 11) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 12) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 13) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignal3->Draw("Error"); + kcountHEnegativedirectionRecosignal3++; + if (kcountHEnegativedirectionRecosignal3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal3) delete h2CeffHEnegativedirectionRecosignal3; - //========================================================================================== 1117 + if (h2CeffHEnegativedirectionRecosignal3) + delete h2CeffHEnegativedirectionRecosignal3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal4=1; - TH1F* h2CeffHEnegativedirectionRecosignal4 = new TH1F("h2CeffHEnegativedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEnegativedirectionRecosignal4 = "<SetMarkerColor(2);HEnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal4 == 1) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 2) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 3) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 4) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 5) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 6) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 7) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 8) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 9) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 ==10) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 ==11) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 ==12) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionRecosignal4->Draw("Error"); - kcountHEnegativedirectionRecosignal4++; - if(kcountHEnegativedirectionRecosignal4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal4 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal4 = new TH1F("h2CeffHEnegativedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEnegativedirectionRecosignal4 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal4 == 1) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 2) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 3) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 4) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 5) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 6) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 7) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 8) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 9) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 10) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 11) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 12) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignal4->Draw("Error"); + kcountHEnegativedirectionRecosignal4++; + if (kcountHEnegativedirectionRecosignal4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal4) delete h2CeffHEnegativedirectionRecosignal4; - //========================================================================================== 1118 + if (h2CeffHEnegativedirectionRecosignal4) + delete h2CeffHEnegativedirectionRecosignal4; + //========================================================================================== 1118 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal5=1; - TH1F* h2CeffHEnegativedirectionRecosignal5 = new TH1F("h2CeffHEnegativedirectionRecosignal5","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal5 == 1) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 2) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 3) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 4) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 5) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 6) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 7) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 8) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 9) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 ==10) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 ==11) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionRecosignal5->Draw("Error"); - kcountHEnegativedirectionRecosignal5++; - if(kcountHEnegativedirectionRecosignal5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal5 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal5 = new TH1F("h2CeffHEnegativedirectionRecosignal5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEnegativedirectionRecosignal5 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal5 == 1) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 2) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 3) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 4) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 5) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 6) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 7) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 8) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 9) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 10) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 11) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignal5->Draw("Error"); + kcountHEnegativedirectionRecosignal5++; + if (kcountHEnegativedirectionRecosignal5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal5) delete h2CeffHEnegativedirectionRecosignal5; - //========================================================================================== 1119 + if (h2CeffHEnegativedirectionRecosignal5) + delete h2CeffHEnegativedirectionRecosignal5; + //========================================================================================== 1119 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal6=1; - TH1F* h2CeffHEnegativedirectionRecosignal6 = new TH1F("h2CeffHEnegativedirectionRecosignal6","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEnegativedirectionRecosignal6 = "<SetMarkerColor(2);HEnegativedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal6 == 1) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 2) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 3) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 4) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 5) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 6) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 7) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 8) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 9) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 ==10) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionRecosignal6->Draw("Error"); - kcountHEnegativedirectionRecosignal6++; - if(kcountHEnegativedirectionRecosignal6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal6 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal6 = new TH1F("h2CeffHEnegativedirectionRecosignal6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEnegativedirectionRecosignal6 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal6 == 1) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 2) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 3) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 4) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 5) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 6) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 7) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 8) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 9) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 10) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignal6->Draw("Error"); + kcountHEnegativedirectionRecosignal6++; + if (kcountHEnegativedirectionRecosignal6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal6) delete h2CeffHEnegativedirectionRecosignal6; - //========================================================================================== 11110 + if (h2CeffHEnegativedirectionRecosignal6) + delete h2CeffHEnegativedirectionRecosignal6; + //========================================================================================== 11110 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignal7=1; - TH1F* h2CeffHEnegativedirectionRecosignal7 = new TH1F("h2CeffHEnegativedirectionRecosignal7","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEnegativedirectionRecosignal7 = "<SetMarkerColor(2);HEnegativedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal7 == 1) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignal7 == 2) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignal7 == 3) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionRecosignal7->Draw("Error"); - kcountHEnegativedirectionRecosignal7++; - if(kcountHEnegativedirectionRecosignal7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignal7 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal7 = new TH1F("h2CeffHEnegativedirectionRecosignal7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEnegativedirectionRecosignal7 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal7 == 1) + HEnegativedirectionRecosignal7->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignal7 == 2) + HEnegativedirectionRecosignal7->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignal7 == 3) + HEnegativedirectionRecosignal7->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignal7->Draw("Error"); + kcountHEnegativedirectionRecosignal7++; + if (kcountHEnegativedirectionRecosignal7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal7) delete h2CeffHEnegativedirectionRecosignal7; + if (h2CeffHEnegativedirectionRecosignal7) + delete h2CeffHEnegativedirectionRecosignal7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HE1"); - TH2F *recosignalVariance0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HE1"); + TH2F* recosignalVariance0HE1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); TH2F* recosignalVarianceHE1 = (TH2F*)recosignalVariance1HE1->Clone("recosignalVarianceHE1"); - recosignalVarianceHE1->Divide(recosignalVariance1HE1,recosignalVariance0HE1, 1, 1, "B"); - TH2F *recosignalVariance1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE2"); - TH2F *recosignalVariance0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + recosignalVarianceHE1->Divide(recosignalVariance1HE1, recosignalVariance0HE1, 1, 1, "B"); + TH2F* recosignalVariance1HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE2"); + TH2F* recosignalVariance0HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); TH2F* recosignalVarianceHE2 = (TH2F*)recosignalVariance1HE2->Clone("recosignalVarianceHE2"); - recosignalVarianceHE2->Divide(recosignalVariance1HE2,recosignalVariance0HE2, 1, 1, "B"); - TH2F *recosignalVariance1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE3"); - TH2F *recosignalVariance0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + recosignalVarianceHE2->Divide(recosignalVariance1HE2, recosignalVariance0HE2, 1, 1, "B"); + TH2F* recosignalVariance1HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE3"); + TH2F* recosignalVariance0HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); TH2F* recosignalVarianceHE3 = (TH2F*)recosignalVariance1HE3->Clone("recosignalVarianceHE3"); - recosignalVarianceHE3->Divide(recosignalVariance1HE3,recosignalVariance0HE3, 1, 1, "B"); - TH2F *recosignalVariance1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE4"); - TH2F *recosignalVariance0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + recosignalVarianceHE3->Divide(recosignalVariance1HE3, recosignalVariance0HE3, 1, 1, "B"); + TH2F* recosignalVariance1HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE4"); + TH2F* recosignalVariance0HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); TH2F* recosignalVarianceHE4 = (TH2F*)recosignalVariance1HE4->Clone("recosignalVarianceHE4"); - recosignalVarianceHE4->Divide(recosignalVariance1HE4,recosignalVariance0HE4, 1, 1, "B"); - TH2F *recosignalVariance1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE5"); - TH2F *recosignalVariance0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + recosignalVarianceHE4->Divide(recosignalVariance1HE4, recosignalVariance0HE4, 1, 1, "B"); + TH2F* recosignalVariance1HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE5"); + TH2F* recosignalVariance0HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); TH2F* recosignalVarianceHE5 = (TH2F*)recosignalVariance1HE5->Clone("recosignalVarianceHE5"); - recosignalVarianceHE5->Divide(recosignalVariance1HE5,recosignalVariance0HE5, 1, 1, "B"); - TH2F *recosignalVariance1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE6"); - TH2F *recosignalVariance0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + recosignalVarianceHE5->Divide(recosignalVariance1HE5, recosignalVariance0HE5, 1, 1, "B"); + TH2F* recosignalVariance1HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE6"); + TH2F* recosignalVariance0HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); TH2F* recosignalVarianceHE6 = (TH2F*)recosignalVariance1HE6->Clone("recosignalVarianceHE6"); - recosignalVarianceHE6->Divide(recosignalVariance1HE6,recosignalVariance0HE6, 1, 1, "B"); - TH2F *recosignalVariance1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE7"); - TH2F *recosignalVariance0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + recosignalVarianceHE6->Divide(recosignalVariance1HE6, recosignalVariance0HE6, 1, 1, "B"); + TH2F* recosignalVariance1HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE7"); + TH2F* recosignalVariance0HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); TH2F* recosignalVarianceHE7 = (TH2F*)recosignalVariance1HE7->Clone("recosignalVarianceHE7"); - recosignalVarianceHE7->Divide(recosignalVariance1HE7,recosignalVariance0HE7, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvariancehe - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - recosignalvariancehe[1][jeta][jphi] = recosignalVarianceHE2->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[2][jeta][jphi] = recosignalVarianceHE3->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[3][jeta][jphi] = recosignalVarianceHE4->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[4][jeta][jphi] = recosignalVarianceHE5->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[5][jeta][jphi] = recosignalVarianceHE6->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[6][jeta][jphi] = recosignalVarianceHE7->GetBinContent(jeta+1,jphi+1); - if(recosignalvariancehe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += recosignalvariancehe[0][jeta][jphi];++nsumrecosignalHE0;} - if(recosignalvariancehe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += recosignalvariancehe[1][jeta][jphi];++nsumrecosignalHE1;} - if(recosignalvariancehe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += recosignalvariancehe[2][jeta][jphi];++nsumrecosignalHE2;} - if(recosignalvariancehe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += recosignalvariancehe[3][jeta][jphi];++nsumrecosignalHE3;} - if(recosignalvariancehe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += recosignalvariancehe[4][jeta][jphi];++nsumrecosignalHE4;} - if(recosignalvariancehe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += recosignalvariancehe[5][jeta][jphi];++nsumrecosignalHE5;} - if(recosignalvariancehe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += recosignalvariancehe[6][jeta][jphi];++nsumrecosignalHE6;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) recosignalvariancehe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; - if(recosignalvariancehe[1][jeta][jphi] > 0.) recosignalvariancehe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; - if(recosignalvariancehe[2][jeta][jphi] > 0.) recosignalvariancehe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; - if(recosignalvariancehe[3][jeta][jphi] > 0.) recosignalvariancehe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; - if(recosignalvariancehe[4][jeta][jphi] > 0.) recosignalvariancehe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; - if(recosignalvariancehe[5][jeta][jphi] > 0.) recosignalvariancehe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; - if(recosignalvariancehe[6][jeta][jphi] > 0.) recosignalvariancehe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; - }// phi - // recosignalvariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive recosignalvariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumrecosignalHE0 = 0; + int nsumrecosignalHE0 = 0; + double sumrecosignalHE1 = 0; + int nsumrecosignalHE1 = 0; + double sumrecosignalHE2 = 0; + int nsumrecosignalHE2 = 0; + double sumrecosignalHE3 = 0; + int nsumrecosignalHE3 = 0; + double sumrecosignalHE4 = 0; + int nsumrecosignalHE4 = 0; + double sumrecosignalHE5 = 0; + int nsumrecosignalHE5 = 0; + double sumrecosignalHE6 = 0; + int nsumrecosignalHE6 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + recosignalvariancehe[0][jeta][jphi] = recosignalVarianceHE1->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[1][jeta][jphi] = recosignalVarianceHE2->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[2][jeta][jphi] = recosignalVarianceHE3->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[3][jeta][jphi] = recosignalVarianceHE4->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[4][jeta][jphi] = recosignalVarianceHE5->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[5][jeta][jphi] = recosignalVarianceHE6->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[6][jeta][jphi] = recosignalVarianceHE7->GetBinContent(jeta + 1, jphi + 1); + if (recosignalvariancehe[0][jeta][jphi] > 0.) { + sumrecosignalHE0 += recosignalvariancehe[0][jeta][jphi]; + ++nsumrecosignalHE0; + } + if (recosignalvariancehe[1][jeta][jphi] > 0.) { + sumrecosignalHE1 += recosignalvariancehe[1][jeta][jphi]; + ++nsumrecosignalHE1; + } + if (recosignalvariancehe[2][jeta][jphi] > 0.) { + sumrecosignalHE2 += recosignalvariancehe[2][jeta][jphi]; + ++nsumrecosignalHE2; } - //cout<<" Vaiance: DONE*****" < 0.) { + sumrecosignalHE3 += recosignalvariancehe[3][jeta][jphi]; + ++nsumrecosignalHE3; + } + if (recosignalvariancehe[4][jeta][jphi] > 0.) { + sumrecosignalHE4 += recosignalvariancehe[4][jeta][jphi]; + ++nsumrecosignalHE4; + } + if (recosignalvariancehe[5][jeta][jphi] > 0.) { + sumrecosignalHE5 += recosignalvariancehe[5][jeta][jphi]; + ++nsumrecosignalHE5; + } + if (recosignalvariancehe[6][jeta][jphi] > 0.) { + sumrecosignalHE6 += recosignalvariancehe[6][jeta][jphi]; + ++nsumrecosignalHE6; + } + } // phi + // PHI normalization : + for (int jphi = 0; jphi < njphi; jphi++) { + if (recosignalvariancehe[0][jeta][jphi] > 0.) + recosignalvariancehe[0][jeta][jphi] /= (sumrecosignalHE0 / nsumrecosignalHE0); + if (recosignalvariancehe[1][jeta][jphi] > 0.) + recosignalvariancehe[1][jeta][jphi] /= (sumrecosignalHE1 / nsumrecosignalHE1); + if (recosignalvariancehe[2][jeta][jphi] > 0.) + recosignalvariancehe[2][jeta][jphi] /= (sumrecosignalHE2 / nsumrecosignalHE2); + if (recosignalvariancehe[3][jeta][jphi] > 0.) + recosignalvariancehe[3][jeta][jphi] /= (sumrecosignalHE3 / nsumrecosignalHE3); + if (recosignalvariancehe[4][jeta][jphi] > 0.) + recosignalvariancehe[4][jeta][jphi] /= (sumrecosignalHE4 / nsumrecosignalHE4); + if (recosignalvariancehe[5][jeta][jphi] > 0.) + recosignalvariancehe[5][jeta][jphi] /= (sumrecosignalHE5 / nsumrecosignalHE5); + if (recosignalvariancehe[6][jeta][jphi] > 0.) + recosignalvariancehe[6][jeta][jphi] /= (sumrecosignalHE6 / nsumrecosignalHE6); + } // phi + // recosignalvariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDrecosignalHE42D = new TH2F("DefzDrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHE42D0 = new TH2F("DefzDrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHE42DF = (TH2F*)DefzDrecosignalHE42D0->Clone("DefzDrecosignalHE42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(arecosignalhe[i][jeta][jphi]>0.) {DefzDrecosignalHE42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHE42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDrecosignalHE42DF->Divide(DefzDrecosignalHE42D,DefzDrecosignalHE42D0, 1, 1, "B");// average A - // DefzDrecosignalHE1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHE42DF->SetMarkerStyle(20); DefzDrecosignalHE42DF->SetMarkerSize(0.4); DefzDrecosignalHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHE42DF->SetYTitle(" #phi \b"); DefzDrecosignalHE42DF->SetZTitle("_depth \b"); DefzDrecosignalHE42DF->SetMarkerColor(2); DefzDrecosignalHE42DF->SetLineColor(0); // DefzDrecosignalHE42DF->SetMaximum(1.000); // DefzDrecosignalHE42DF->SetMinimum(1.0); - DefzDrecosignalHE42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DrecosignalGeneralD2PhiSymmetryHE.png"); - c1x0->Clear(); - // clean-up - if (DefzDrecosignalHE42D) delete DefzDrecosignalHE42D; - if (DefzDrecosignalHE42D0) delete DefzDrecosignalHE42D0; - if (DefzDrecosignalHE42DF) delete DefzDrecosignalHE42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthes *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDrecosignalHE42D = new TH2F("DefzDrecosignalHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHE42D0 = new TH2F("DefzDrecosignalHE42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHE42DF = (TH2F*)DefzDrecosignalHE42D0->Clone("DefzDrecosignalHE42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (arecosignalhe[i][jeta][jphi] > 0.) { + DefzDrecosignalHE42D->Fill(kkk, jphi, ccc1); + DefzDrecosignalHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDrecosignalHE42DF->Divide(DefzDrecosignalHE42D, DefzDrecosignalHE42D0, 1, 1, "B"); // average A + // DefzDrecosignalHE1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE42DF->SetMarkerStyle(20); + DefzDrecosignalHE42DF->SetMarkerSize(0.4); + DefzDrecosignalHE42DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHE42DF->SetXTitle("_depth #eta \b"); + DefzDrecosignalHE42DF->SetYTitle(" #phi \b"); + DefzDrecosignalHE42DF->SetZTitle("_depth \b"); + DefzDrecosignalHE42DF->SetMarkerColor(2); + DefzDrecosignalHE42DF->SetLineColor( + 0); // DefzDrecosignalHE42DF->SetMaximum(1.000); // DefzDrecosignalHE42DF->SetMinimum(1.0); + DefzDrecosignalHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHE42D) + delete DefzDrecosignalHE42D; + if (DefzDrecosignalHE42D0) + delete DefzDrecosignalHE42D0; + if (DefzDrecosignalHE42DF) + delete DefzDrecosignalHE42DF; //====================================================================== 1D plot: D vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDrecosignalHE41D = new TH1F("DefzDrecosignalHE41D","", nphi, 0., 72. ); - TH1F* DefzDrecosignalHE41D0 = new TH1F("DefzDrecosignalHE41D0","",nphi, 0., 72. ); - TH1F* DefzDrecosignalHE41DF = (TH1F*)DefzDrecosignalHE41D0->Clone("DefzDrecosignalHE41DF"); - - for (int jphi=0;jphi0.) {DefzDrecosignalHE41D ->Fill(jphi,ccc1); DefzDrecosignalHE41D0 ->Fill(jphi,1.); } - }}} - // DefzDrecosignalHE41D->Sumw2();DefzDrecosignalHE41D0->Sumw2(); - - DefzDrecosignalHE41DF->Divide(DefzDrecosignalHE41D,DefzDrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta - DefzDrecosignalHE41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHE41DF->SetMarkerStyle(20); DefzDrecosignalHE41DF->SetMarkerSize(1.4); DefzDrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE41DF->SetXTitle("#phi \b"); DefzDrecosignalHE41DF->SetYTitle(" \b"); DefzDrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDrecosignalHE41DF->SetMarkerColor(4); DefzDrecosignalHE41DF->SetLineColor(4); // DefzDrecosignalHE41DF->SetMinimum(0.8); DefzDrecosignalHE41DF->SetMinimum(-0.015); - DefzDrecosignalHE41DF->Draw("Error"); + TH1F* DefzDrecosignalHE41D = new TH1F("DefzDrecosignalHE41D", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHE41D0 = new TH1F("DefzDrecosignalHE41D0", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHE41DF = (TH1F*)DefzDrecosignalHE41D0->Clone("DefzDrecosignalHE41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + DefzDrecosignalHE41D->Fill(jphi, ccc1); + DefzDrecosignalHE41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDrecosignalHE41D->Sumw2();DefzDrecosignalHE41D0->Sumw2(); + + DefzDrecosignalHE41DF->Divide( + DefzDrecosignalHE41D, DefzDrecosignalHE41D0, 1, 1, "B"); // R averaged over depthes & eta + DefzDrecosignalHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE41DF->SetMarkerStyle(20); + DefzDrecosignalHE41DF->SetMarkerSize(1.4); + DefzDrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHE41DF->SetXTitle("#phi \b"); + DefzDrecosignalHE41DF->SetYTitle(" \b"); + DefzDrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); + DefzDrecosignalHE41DF->SetMarkerColor(4); + DefzDrecosignalHE41DF->SetLineColor( + 4); // DefzDrecosignalHE41DF->SetMinimum(0.8); DefzDrecosignalHE41DF->SetMinimum(-0.015); + DefzDrecosignalHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DrecosignalGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (DefzDrecosignalHE41D) delete DefzDrecosignalHE41D; - if (DefzDrecosignalHE41D0) delete DefzDrecosignalHE41D0; - if (DefzDrecosignalHE41DF) delete DefzDrecosignalHE41DF; - //========================================================================================== 14 + if (DefzDrecosignalHE41D) + delete DefzDrecosignalHE41D; + if (DefzDrecosignalHE41D0) + delete DefzDrecosignalHE41D0; + if (DefzDrecosignalHE41DF) + delete DefzDrecosignalHE41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD1=1; - TH1F* h2CeffHEpositivedirectionRecosignalD1 = new TH1F("h2CeffHEpositivedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD1 == 1) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 2) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 3) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 4) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 5) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 6) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 7) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 8) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 9) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 ==10) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 ==11) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 ==12) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionRecosignalD1->Draw("Error"); - kcountHEpositivedirectionRecosignalD1++; - if(kcountHEpositivedirectionRecosignalD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD1 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD1 = new TH1F("h2CeffHEpositivedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEpositivedirectionRecosignalD1 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD1 == 1) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 2) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 3) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 4) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 5) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 6) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 7) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 8) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 9) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 10) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 11) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 12) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignalD1->Draw("Error"); + kcountHEpositivedirectionRecosignalD1++; + if (kcountHEpositivedirectionRecosignalD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD1) delete h2CeffHEpositivedirectionRecosignalD1; - //========================================================================================== 15 + if (h2CeffHEpositivedirectionRecosignalD1) + delete h2CeffHEpositivedirectionRecosignalD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD2=1; - TH1F* h2CeffHEpositivedirectionRecosignalD2 = new TH1F("h2CeffHEpositivedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD2 == 1) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 2) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 3) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 4) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 5) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 6) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 7) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 8) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 9) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==10) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==11) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==12) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==13) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionRecosignalD2->Draw("Error"); - kcountHEpositivedirectionRecosignalD2++; - if(kcountHEpositivedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD2 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD2 = new TH1F("h2CeffHEpositivedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEpositivedirectionRecosignalD2 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD2 == 1) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 2) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 3) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 4) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 5) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 6) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 7) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 8) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 9) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 10) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 11) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 12) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 13) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignalD2->Draw("Error"); + kcountHEpositivedirectionRecosignalD2++; + if (kcountHEpositivedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD2) delete h2CeffHEpositivedirectionRecosignalD2; - //========================================================================================== 16 + if (h2CeffHEpositivedirectionRecosignalD2) + delete h2CeffHEpositivedirectionRecosignalD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD3=1; - TH1F* h2CeffHEpositivedirectionRecosignalD3 = new TH1F("h2CeffHEpositivedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD3 == 1) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 2) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 3) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 4) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 5) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 6) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 7) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 8) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 9) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==10) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==11) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==12) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==13) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionRecosignalD3->Draw("Error"); - kcountHEpositivedirectionRecosignalD3++; - if(kcountHEpositivedirectionRecosignalD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD3 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD3 = new TH1F("h2CeffHEpositivedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEpositivedirectionRecosignalD3 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD3 == 1) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 2) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 3) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 4) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 5) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 6) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 7) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 8) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 9) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 10) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 11) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 12) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 13) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignalD3->Draw("Error"); + kcountHEpositivedirectionRecosignalD3++; + if (kcountHEpositivedirectionRecosignalD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD3) delete h2CeffHEpositivedirectionRecosignalD3; - //========================================================================================== 17 + if (h2CeffHEpositivedirectionRecosignalD3) + delete h2CeffHEpositivedirectionRecosignalD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD4=1; - TH1F* h2CeffHEpositivedirectionRecosignalD4 = new TH1F("h2CeffHEpositivedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD4 == 1) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 2) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 3) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 4) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 5) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 6) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 7) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 8) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 9) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 ==10) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 ==11) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 ==12) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionRecosignalD4->Draw("Error"); - kcountHEpositivedirectionRecosignalD4++; - if(kcountHEpositivedirectionRecosignalD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD4 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD4 = new TH1F("h2CeffHEpositivedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEpositivedirectionRecosignalD4 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD4 == 1) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 2) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 3) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 4) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 5) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 6) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 7) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 8) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 9) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 10) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 11) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 12) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignalD4->Draw("Error"); + kcountHEpositivedirectionRecosignalD4++; + if (kcountHEpositivedirectionRecosignalD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD4) delete h2CeffHEpositivedirectionRecosignalD4; - //========================================================================================== 18 + if (h2CeffHEpositivedirectionRecosignalD4) + delete h2CeffHEpositivedirectionRecosignalD4; + //========================================================================================== 18 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD5=1; - TH1F* h2CeffHEpositivedirectionRecosignalD5 = new TH1F("h2CeffHEpositivedirectionRecosignalD5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEpositivedirectionRecosignalD5 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD5 == 1) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 2) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 3) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 4) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 5) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 6) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 7) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 8) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 9) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 ==10) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 ==11) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionRecosignalD5->Draw("Error"); - kcountHEpositivedirectionRecosignalD5++; - if(kcountHEpositivedirectionRecosignalD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD5 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD5 = new TH1F("h2CeffHEpositivedirectionRecosignalD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD5->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEpositivedirectionRecosignalD5 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD5 == 1) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 2) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 3) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 4) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 5) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 6) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 7) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 8) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 9) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 10) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 11) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignalD5->Draw("Error"); + kcountHEpositivedirectionRecosignalD5++; + if (kcountHEpositivedirectionRecosignalD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD5) delete h2CeffHEpositivedirectionRecosignalD5; - //========================================================================================== 19 + if (h2CeffHEpositivedirectionRecosignalD5) + delete h2CeffHEpositivedirectionRecosignalD5; + //========================================================================================== 19 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD6=1; - TH1F* h2CeffHEpositivedirectionRecosignalD6 = new TH1F("h2CeffHEpositivedirectionRecosignalD6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEpositivedirectionRecosignalD6 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD6 == 1) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 2) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 3) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 4) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 5) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 6) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 7) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 8) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 9) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 ==10) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionRecosignalD6->Draw("Error"); - kcountHEpositivedirectionRecosignalD6++; - if(kcountHEpositivedirectionRecosignalD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD6 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD6 = new TH1F("h2CeffHEpositivedirectionRecosignalD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEpositivedirectionRecosignalD6 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD6 == 1) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 2) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 3) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 4) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 5) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 6) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 7) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 8) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 9) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 10) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignalD6->Draw("Error"); + kcountHEpositivedirectionRecosignalD6++; + if (kcountHEpositivedirectionRecosignalD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD6) delete h2CeffHEpositivedirectionRecosignalD6; - //========================================================================================== 20 + if (h2CeffHEpositivedirectionRecosignalD6) + delete h2CeffHEpositivedirectionRecosignalD6; + //========================================================================================== 20 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD7=1; - TH1F* h2CeffHEpositivedirectionRecosignalD7 = new TH1F("h2CeffHEpositivedirectionRecosignalD7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEpositivedirectionRecosignalD7 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD7 == 1) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignalD7 == 2) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignalD7 == 3) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionRecosignalD7->Draw("Error"); - kcountHEpositivedirectionRecosignalD7++; - if(kcountHEpositivedirectionRecosignalD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionRecosignalD7 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD7 = new TH1F("h2CeffHEpositivedirectionRecosignalD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEpositivedirectionRecosignalD7 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD7 == 1) + HEpositivedirectionRecosignalD7->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignalD7 == 2) + HEpositivedirectionRecosignalD7->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignalD7 == 3) + HEpositivedirectionRecosignalD7->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignalD7->Draw("Error"); + kcountHEpositivedirectionRecosignalD7++; + if (kcountHEpositivedirectionRecosignalD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD7) delete h2CeffHEpositivedirectionRecosignalD7; - + if (h2CeffHEpositivedirectionRecosignalD7) + delete h2CeffHEpositivedirectionRecosignalD7; - //========================================================================================== 22222214 + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD1=1; - TH1F* h2CeffHEnegativedirectionRecosignalD1 = new TH1F("h2CeffHEnegativedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD1 == 1) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 2) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 3) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 4) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 5) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 6) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 7) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 8) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 9) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 ==10) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 ==11) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 ==12) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionRecosignalD1->Draw("Error"); - kcountHEnegativedirectionRecosignalD1++; - if(kcountHEnegativedirectionRecosignalD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD1 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD1 = new TH1F("h2CeffHEnegativedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEnegativedirectionRecosignalD1 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD1 == 1) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 2) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 3) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 4) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 5) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 6) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 7) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 8) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 9) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 10) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 11) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 12) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignalD1->Draw("Error"); + kcountHEnegativedirectionRecosignalD1++; + if (kcountHEnegativedirectionRecosignalD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD1) delete h2CeffHEnegativedirectionRecosignalD1; - //========================================================================================== 22222215 + if (h2CeffHEnegativedirectionRecosignalD1) + delete h2CeffHEnegativedirectionRecosignalD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD2=1; - TH1F* h2CeffHEnegativedirectionRecosignalD2 = new TH1F("h2CeffHEnegativedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD2 == 1) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 2) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 3) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 4) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 5) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 6) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 7) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 8) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 9) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==10) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==11) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==12) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==13) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionRecosignalD2->Draw("Error"); - kcountHEnegativedirectionRecosignalD2++; - if(kcountHEnegativedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD2 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD2 = new TH1F("h2CeffHEnegativedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEnegativedirectionRecosignalD2 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD2 == 1) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 2) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 3) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 4) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 5) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 6) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 7) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 8) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 9) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 10) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 11) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 12) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 13) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignalD2->Draw("Error"); + kcountHEnegativedirectionRecosignalD2++; + if (kcountHEnegativedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD2) delete h2CeffHEnegativedirectionRecosignalD2; - //========================================================================================== 22222216 + if (h2CeffHEnegativedirectionRecosignalD2) + delete h2CeffHEnegativedirectionRecosignalD2; + //========================================================================================== 22222216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD3=1; - TH1F* h2CeffHEnegativedirectionRecosignalD3 = new TH1F("h2CeffHEnegativedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD3 == 1) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 2) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 3) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 4) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 5) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 6) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 7) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 8) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 9) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==10) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==11) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==12) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==13) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionRecosignalD3->Draw("Error"); - kcountHEnegativedirectionRecosignalD3++; - if(kcountHEnegativedirectionRecosignalD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD3 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD3 = new TH1F("h2CeffHEnegativedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEnegativedirectionRecosignalD3 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD3 == 1) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 2) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 3) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 4) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 5) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 6) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 7) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 8) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 9) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 10) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 11) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 12) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 13) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignalD3->Draw("Error"); + kcountHEnegativedirectionRecosignalD3++; + if (kcountHEnegativedirectionRecosignalD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD3) delete h2CeffHEnegativedirectionRecosignalD3; - //========================================================================================== 22222217 + if (h2CeffHEnegativedirectionRecosignalD3) + delete h2CeffHEnegativedirectionRecosignalD3; + //========================================================================================== 22222217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD4=1; - TH1F* h2CeffHEnegativedirectionRecosignalD4 = new TH1F("h2CeffHEnegativedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD4 == 1) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 2) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 3) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 4) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 5) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 6) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 7) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 8) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 9) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 ==10) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 ==11) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 ==12) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionRecosignalD4->Draw("Error"); - kcountHEnegativedirectionRecosignalD4++; - if(kcountHEnegativedirectionRecosignalD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD4 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD4 = new TH1F("h2CeffHEnegativedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEnegativedirectionRecosignalD4 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD4 == 1) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 2) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 3) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 4) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 5) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 6) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 7) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 8) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 9) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 10) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 11) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 12) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignalD4->Draw("Error"); + kcountHEnegativedirectionRecosignalD4++; + if (kcountHEnegativedirectionRecosignalD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD4) delete h2CeffHEnegativedirectionRecosignalD4; - //========================================================================================== 22222218 + if (h2CeffHEnegativedirectionRecosignalD4) + delete h2CeffHEnegativedirectionRecosignalD4; + //========================================================================================== 22222218 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD5=1; - TH1F* h2CeffHEnegativedirectionRecosignalD5 = new TH1F("h2CeffHEnegativedirectionRecosignalD5","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEnegativedirectionRecosignalD5 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD5 == 1) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 2) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 3) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 4) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 5) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 6) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 7) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 8) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 9) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 ==10) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 ==11) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionRecosignalD5->Draw("Error"); - kcountHEnegativedirectionRecosignalD5++; - if(kcountHEnegativedirectionRecosignalD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD5 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD5 = new TH1F("h2CeffHEnegativedirectionRecosignalD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD5->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEnegativedirectionRecosignalD5 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD5 == 1) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 2) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 3) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 4) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 5) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 6) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 7) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 8) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 9) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 10) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 11) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignalD5->Draw("Error"); + kcountHEnegativedirectionRecosignalD5++; + if (kcountHEnegativedirectionRecosignalD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD5) delete h2CeffHEnegativedirectionRecosignalD5; - //========================================================================================== 22222219 + if (h2CeffHEnegativedirectionRecosignalD5) + delete h2CeffHEnegativedirectionRecosignalD5; + //========================================================================================== 22222219 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD6=1; - TH1F* h2CeffHEnegativedirectionRecosignalD6 = new TH1F("h2CeffHEnegativedirectionRecosignalD6","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEnegativedirectionRecosignalD6 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD6 == 1) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 2) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 3) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 4) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 5) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 6) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 7) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 8) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 9) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 ==10) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionRecosignalD6->Draw("Error"); - kcountHEnegativedirectionRecosignalD6++; - if(kcountHEnegativedirectionRecosignalD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD6 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD6 = new TH1F("h2CeffHEnegativedirectionRecosignalD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEnegativedirectionRecosignalD6 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD6 == 1) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 2) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 3) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 4) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 5) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 6) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 7) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 8) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 9) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 10) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignalD6->Draw("Error"); + kcountHEnegativedirectionRecosignalD6++; + if (kcountHEnegativedirectionRecosignalD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD6) delete h2CeffHEnegativedirectionRecosignalD6; - //========================================================================================== 22222220 + if (h2CeffHEnegativedirectionRecosignalD6) + delete h2CeffHEnegativedirectionRecosignalD6; + //========================================================================================== 22222220 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD7=1; - TH1F* h2CeffHEnegativedirectionRecosignalD7 = new TH1F("h2CeffHEnegativedirectionRecosignalD7","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEnegativedirectionRecosignalD7 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD7 == 1) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignalD7 == 2) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignalD7 == 3) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionRecosignalD7->Draw("Error"); - kcountHEnegativedirectionRecosignalD7++; - if(kcountHEnegativedirectionRecosignalD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionRecosignalD7 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD7 = new TH1F("h2CeffHEnegativedirectionRecosignalD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEnegativedirectionRecosignalD7 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD7 == 1) + HEnegativedirectionRecosignalD7->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignalD7 == 2) + HEnegativedirectionRecosignalD7->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignalD7 == 3) + HEnegativedirectionRecosignalD7->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignalD7->Draw("Error"); + kcountHEnegativedirectionRecosignalD7++; + if (kcountHEnegativedirectionRecosignalD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD7) delete h2CeffHEnegativedirectionRecosignalD7; + if (h2CeffHEnegativedirectionRecosignalD7) + delete h2CeffHEnegativedirectionRecosignalD7; //===================================================================== END of Recosignal HE for phi-symmetry //===================================================================== END of Recosignal HE for phi-symmetry //===================================================================== END of Recosignal HE for phi-symmetry //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 2; - double arecosignalHF[ndepth][njeta][njphi]; - double recosignalvarianceHF[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double arecosignalHF[ndepth][njeta][njphi]; + double recosignalvarianceHF[ndepth][njeta][njphi]; //cout<<"111RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <FindObjectAny("h_recSignalEnergy1_HF1"); - TH2F *recSignalEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + TH2F* recSignalEnergy1HF1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF1"); + TH2F* recSignalEnergy0HF1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); TH2F* recSignalEnergyHF1 = (TH2F*)recSignalEnergy1HF1->Clone("recSignalEnergyHF1"); - recSignalEnergyHF1->Divide(recSignalEnergy1HF1,recSignalEnergy0HF1, 1, 1, "B"); - TH2F *recSignalEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF2"); - TH2F *recSignalEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + recSignalEnergyHF1->Divide(recSignalEnergy1HF1, recSignalEnergy0HF1, 1, 1, "B"); + TH2F* recSignalEnergy1HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF2"); + TH2F* recSignalEnergy0HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); TH2F* recSignalEnergyHF2 = (TH2F*)recSignalEnergy1HF2->Clone("recSignalEnergyHF2"); - recSignalEnergyHF2->Divide(recSignalEnergy1HF2,recSignalEnergy0HF2, 1, 1, "B"); -// cout<<"222RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <GetBinContent(jeta+1,jphi+1); - arecosignalHF[1][jeta][jphi] = recSignalEnergyHF2->GetBinContent(jeta+1,jphi+1); - if(arecosignalHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += arecosignalHF[0][jeta][jphi];++nsumrecosignalHF0;} - if(arecosignalHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += arecosignalHF[1][jeta][jphi];++nsumrecosignalHF1;} - }// phi - // PHI normalization: - for(int jphi=0;jphi 0.) arecosignalHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; - if(arecosignalHF[1][jeta][jphi] > 0.) arecosignalHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; - }// phi - }//eta + recSignalEnergyHF2->Divide(recSignalEnergy1HF2, recSignalEnergy0HF2, 1, 1, "B"); + // cout<<"222RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <GetBinContent(jeta + 1, jphi + 1); + arecosignalHF[1][jeta][jphi] = recSignalEnergyHF2->GetBinContent(jeta + 1, jphi + 1); + if (arecosignalHF[0][jeta][jphi] > 0.) { + sumrecosignalHF0 += arecosignalHF[0][jeta][jphi]; + ++nsumrecosignalHF0; + } + if (arecosignalHF[1][jeta][jphi] > 0.) { + sumrecosignalHF1 += arecosignalHF[1][jeta][jphi]; + ++nsumrecosignalHF1; + } + } // phi + // PHI normalization: + for (int jphi = 0; jphi < njphi; jphi++) { + if (arecosignalHF[0][jeta][jphi] > 0.) + arecosignalHF[0][jeta][jphi] /= (sumrecosignalHF0 / nsumrecosignalHF0); + if (arecosignalHF[1][jeta][jphi] > 0.) + arecosignalHF[1][jeta][jphi] /= (sumrecosignalHF1 / nsumrecosignalHF1); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthfs //====================================================================== //====================================================================== -// cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRrecosignalHF42D = new TH2F("GefzRrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRrecosignalHF42D0 = new TH2F("GefzRrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHF42D = new TH2F("GefzRrecosignalHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRrecosignalHF42D0 = new TH2F("GefzRrecosignalHF42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRrecosignalHF42DF = (TH2F*)GefzRrecosignalHF42D0->Clone("GefzRrecosignalHF42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRrecosignalHF42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHF42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRrecosignalHF42DF->Divide(GefzRrecosignalHF42D,GefzRrecosignalHF42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHF42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHF42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRrecosignalHF42D->Fill(kkk, jphi, ccc1); + GefzRrecosignalHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRrecosignalHF42DF->Divide(GefzRrecosignalHF42D, GefzRrecosignalHF42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF42DF->SetXTitle("_depth #eta \b"); + GefzRrecosignalHF42DF->SetYTitle(" #phi \b"); GefzRrecosignalHF42DF->Draw("COLZ"); - c2x1->cd(2); - TH1F *energyhitSignal_HF= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HF"); - energyhitSignal_HF ->SetMarkerStyle(20);energyhitSignal_HF ->SetMarkerSize(0.4);energyhitSignal_HF ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HF ->SetXTitle("energyhitSignal_HF \b");energyhitSignal_HF ->SetMarkerColor(2);energyhitSignal_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HF ->Draw("Error"); - - + TH1F* energyhitSignal_HF = (TH1F*)dir->FindObjectAny("h_energyhitSignal_HF"); + energyhitSignal_HF->SetMarkerStyle(20); + energyhitSignal_HF->SetMarkerSize(0.4); + energyhitSignal_HF->GetYaxis()->SetLabelSize(0.04); + energyhitSignal_HF->SetXTitle("energyhitSignal_HF \b"); + energyhitSignal_HF->SetMarkerColor(2); + energyhitSignal_HF->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitSignal_HF->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RrecosignalGeneralD2PhiSymmetryHF.png"); c2x1->Clear(); // clean-up - if (GefzRrecosignalHF42D) delete GefzRrecosignalHF42D; - if (GefzRrecosignalHF42D0) delete GefzRrecosignalHF42D0; - if (GefzRrecosignalHF42DF) delete GefzRrecosignalHF42DF; + if (GefzRrecosignalHF42D) + delete GefzRrecosignalHF42D; + if (GefzRrecosignalHF42D0) + delete GefzRrecosignalHF42D0; + if (GefzRrecosignalHF42DF) + delete GefzRrecosignalHF42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRrecosignalHF41D = new TH1F("GefzRrecosignalHF41D","", nphi, 0., 72. ); - TH1F* GefzRrecosignalHF41D0 = new TH1F("GefzRrecosignalHF41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHF41D = new TH1F("GefzRrecosignalHF41D", "", nphi, 0., 72.); + TH1F* GefzRrecosignalHF41D0 = new TH1F("GefzRrecosignalHF41D0", "", nphi, 0., 72.); TH1F* GefzRrecosignalHF41DF = (TH1F*)GefzRrecosignalHF41D0->Clone("GefzRrecosignalHF41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHF41D0 ->Fill(jphi,1.); } - }}} - GefzRrecosignalHF41DF->Divide(GefzRrecosignalHF41D,GefzRrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRrecosignalHF41D->Fill(jphi, ccc1); + GefzRrecosignalHF41D0->Fill(jphi, 1.); + } + } + } + } + GefzRrecosignalHF41DF->Divide( + GefzRrecosignalHF41D, GefzRrecosignalHF41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRrecosignalHF41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHF41DF->SetMarkerStyle(20); GefzRrecosignalHF41DF->SetMarkerSize(1.4); GefzRrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHF41DF->SetXTitle("#phi \b"); GefzRrecosignalHF41DF->SetYTitle(" \b"); GefzRrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHF41DF->SetMarkerColor(4); GefzRrecosignalHF41DF->SetLineColor(4);// GefzRrecosignalHF41DF->SetMinimum(0.8); // GefzRrecosignalHF41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF41DF->SetMarkerStyle(20); + GefzRrecosignalHF41DF->SetMarkerSize(1.4); + GefzRrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); + GefzRrecosignalHF41DF->SetXTitle("#phi \b"); + GefzRrecosignalHF41DF->SetYTitle(" \b"); + GefzRrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRrecosignalHF41DF->SetMarkerColor(4); + GefzRrecosignalHF41DF->SetLineColor( + 4); // GefzRrecosignalHF41DF->SetMinimum(0.8); // GefzRrecosignalHF41DF->SetMaximum(1.000); GefzRrecosignalHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RrecosignalGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (GefzRrecosignalHF41D) delete GefzRrecosignalHF41D; - if (GefzRrecosignalHF41D0) delete GefzRrecosignalHF41D0; - if (GefzRrecosignalHF41DF) delete GefzRrecosignalHF41DF; - //========================================================================================== 4 + if (GefzRrecosignalHF41D) + delete GefzRrecosignalHF41D; + if (GefzRrecosignalHF41D0) + delete GefzRrecosignalHF41D0; + if (GefzRrecosignalHF41DF) + delete GefzRrecosignalHF41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionRecosignal1=1; - TH1F* h2CeffHFpositivedirectionRecosignal1 = new TH1F("h2CeffHFpositivedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFpositivedirectionRecosignal1 = "<SetMarkerColor(2);HFpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignal1 == 1) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 2) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 3) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 4) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 5) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 6) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 7) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 8) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 9) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==10) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==11) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==12) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==13) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionRecosignal1->Draw("Error"); - kcountHFpositivedirectionRecosignal1++; - if(kcountHFpositivedirectionRecosignal1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFpositivedirectionRecosignal1 = (TH1F*)h2CeffHFpositivedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFpositivedirectionRecosignal1 = "<SetMarkerColor(2); + HFpositivedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignal1 == 1) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 2) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 3) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 4) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 5) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 6) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 7) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 8) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 9) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 10) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 11) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 12) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 13) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignal1->Draw("Error"); + kcountHFpositivedirectionRecosignal1++; + if (kcountHFpositivedirectionRecosignal1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignal1) delete h2CeffHFpositivedirectionRecosignal1; - + if (h2CeffHFpositivedirectionRecosignal1) + delete h2CeffHFpositivedirectionRecosignal1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionRecosignal2=1; - TH1F* h2CeffHFpositivedirectionRecosignal2 = new TH1F("h2CeffHFpositivedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFpositivedirectionRecosignal2 = "<SetMarkerColor(2);HFpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignal2 == 1) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 2) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 3) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 4) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 5) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 6) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 7) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 8) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 9) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==10) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==11) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==12) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==13) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionRecosignal2->Draw("Error"); - kcountHFpositivedirectionRecosignal2++; - if(kcountHFpositivedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignal2 = 1; + TH1F* h2CeffHFpositivedirectionRecosignal2 = new TH1F("h2CeffHFpositivedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFpositivedirectionRecosignal2 = "<SetMarkerColor(2); + HFpositivedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignal2 == 1) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 2) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 3) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 4) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 5) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 6) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 7) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 8) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 9) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 10) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 11) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 12) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 13) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignal2->Draw("Error"); + kcountHFpositivedirectionRecosignal2++; + if (kcountHFpositivedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignal2) delete h2CeffHFpositivedirectionRecosignal2; + if (h2CeffHFpositivedirectionRecosignal2) + delete h2CeffHFpositivedirectionRecosignal2; - //========================================================================================== 1111114 + //========================================================================================== 1111114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionRecosignal1=1; - TH1F* h2CeffHFnegativedirectionRecosignal1 = new TH1F("h2CeffHFnegativedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFnegativedirectionRecosignal1 = "<SetMarkerColor(2);HFnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignal1 == 1) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 2) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 3) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 4) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 5) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 6) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 7) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 8) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 9) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==10) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==11) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==12) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==13) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionRecosignal1->Draw("Error"); - kcountHFnegativedirectionRecosignal1++; - if(kcountHFnegativedirectionRecosignal1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFnegativedirectionRecosignal1 = (TH1F*)h2CeffHFnegativedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFnegativedirectionRecosignal1 = "<SetMarkerColor(2); + HFnegativedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignal1 == 1) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 2) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 3) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 4) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 5) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 6) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 7) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 8) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 9) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 10) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 11) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 12) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 13) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignal1->Draw("Error"); + kcountHFnegativedirectionRecosignal1++; + if (kcountHFnegativedirectionRecosignal1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignal1) delete h2CeffHFnegativedirectionRecosignal1; - + if (h2CeffHFnegativedirectionRecosignal1) + delete h2CeffHFnegativedirectionRecosignal1; - //========================================================================================== 1111115 + //========================================================================================== 1111115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionRecosignal2=1; - TH1F* h2CeffHFnegativedirectionRecosignal2 = new TH1F("h2CeffHFnegativedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFnegativedirectionRecosignal2 = "<SetMarkerColor(2);HFnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignal2 == 1) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 2) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 3) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 4) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 5) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 6) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 7) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 8) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 9) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==10) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==11) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==12) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==13) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); - HFnegativedirectionRecosignal2->Draw("Error"); - kcountHFnegativedirectionRecosignal2++; - if(kcountHFnegativedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignal2 = 1; + TH1F* h2CeffHFnegativedirectionRecosignal2 = new TH1F("h2CeffHFnegativedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFnegativedirectionRecosignal2 = "<SetMarkerColor(2); + HFnegativedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignal2 == 1) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 2) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 3) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 4) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 5) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 6) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 7) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 8) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 9) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 10) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 11) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 12) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 13) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionRecosignal2->Draw("Error"); + kcountHFnegativedirectionRecosignal2++; + if (kcountHFnegativedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignal2) delete h2CeffHFnegativedirectionRecosignal2; + if (h2CeffHFnegativedirectionRecosignal2) + delete h2CeffHFnegativedirectionRecosignal2; //====================================================================================================================== //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HF1"); - TH2F *recosignalVariance0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HF1"); + TH2F* recosignalVariance0HF1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); TH2F* recosignalVarianceHF1 = (TH2F*)recosignalVariance1HF1->Clone("recosignalVarianceHF1"); - recosignalVarianceHF1->Divide(recosignalVariance1HF1,recosignalVariance0HF1, 1, 1, "B"); - TH2F *recosignalVariance1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HF2"); - TH2F *recosignalVariance0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + recosignalVarianceHF1->Divide(recosignalVariance1HF1, recosignalVariance0HF1, 1, 1, "B"); + TH2F* recosignalVariance1HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HF2"); + TH2F* recosignalVariance0HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); TH2F* recosignalVarianceHF2 = (TH2F*)recosignalVariance1HF2->Clone("recosignalVarianceHF2"); - recosignalVarianceHF2->Divide(recosignalVariance1HF2,recosignalVariance0HF2, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHF - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - recosignalvarianceHF[1][jeta][jphi] = recosignalVarianceHF2->GetBinContent(jeta+1,jphi+1); - if(recosignalvarianceHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += recosignalvarianceHF[0][jeta][jphi];++nsumrecosignalHF0;} - if(recosignalvarianceHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += recosignalvarianceHF[1][jeta][jphi];++nsumrecosignalHF1;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) recosignalvarianceHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; - if(recosignalvarianceHF[1][jeta][jphi] > 0.) recosignalvarianceHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; - }// phi - // recosignalvarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive recosignalvarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumrecosignalHF0 = 0; + int nsumrecosignalHF0 = 0; + double sumrecosignalHF1 = 0; + int nsumrecosignalHF1 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + recosignalvarianceHF[0][jeta][jphi] = recosignalVarianceHF1->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHF[1][jeta][jphi] = recosignalVarianceHF2->GetBinContent(jeta + 1, jphi + 1); + if (recosignalvarianceHF[0][jeta][jphi] > 0.) { + sumrecosignalHF0 += recosignalvarianceHF[0][jeta][jphi]; + ++nsumrecosignalHF0; + } + if (recosignalvarianceHF[1][jeta][jphi] > 0.) { + sumrecosignalHF1 += recosignalvarianceHF[1][jeta][jphi]; + ++nsumrecosignalHF1; } - //cout<<" Vaiance: DONE*****" < 0.) + recosignalvarianceHF[0][jeta][jphi] /= (sumrecosignalHF0 / nsumrecosignalHF0); + if (recosignalvarianceHF[1][jeta][jphi] > 0.) + recosignalvarianceHF[1][jeta][jphi] /= (sumrecosignalHF1 / nsumrecosignalHF1); + } // phi + // recosignalvarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDrecosignalHF42D = new TH2F("DefzDrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHF42D0 = new TH2F("DefzDrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHF42DF = (TH2F*)DefzDrecosignalHF42D0->Clone("DefzDrecosignalHF42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(arecosignalHF[i][jeta][jphi]>0.) {DefzDrecosignalHF42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHF42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDrecosignalHF42DF->Divide(DefzDrecosignalHF42D,DefzDrecosignalHF42D0, 1, 1, "B");// average A - // DefzDrecosignalHF1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHF42DF->SetMarkerStyle(20); DefzDrecosignalHF42DF->SetMarkerSize(0.4); DefzDrecosignalHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHF42DF->SetYTitle(" #phi \b"); DefzDrecosignalHF42DF->SetZTitle("_depth \b"); DefzDrecosignalHF42DF->SetMarkerColor(2); DefzDrecosignalHF42DF->SetLineColor(0); // DefzDrecosignalHF42DF->SetMaximum(1.000); // DefzDrecosignalHF42DF->SetMinimum(1.0); - DefzDrecosignalHF42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DrecosignalGeneralD2PhiSymmetryHF.png"); - c1x0->Clear(); - // clean-up - if (DefzDrecosignalHF42D) delete DefzDrecosignalHF42D; - if (DefzDrecosignalHF42D0) delete DefzDrecosignalHF42D0; - if (DefzDrecosignalHF42DF) delete DefzDrecosignalHF42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDrecosignalHF42D = new TH2F("DefzDrecosignalHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHF42D0 = new TH2F("DefzDrecosignalHF42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHF42DF = (TH2F*)DefzDrecosignalHF42D0->Clone("DefzDrecosignalHF42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (arecosignalHF[i][jeta][jphi] > 0.) { + DefzDrecosignalHF42D->Fill(kkk, jphi, ccc1); + DefzDrecosignalHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDrecosignalHF42DF->Divide(DefzDrecosignalHF42D, DefzDrecosignalHF42D0, 1, 1, "B"); // average A + // DefzDrecosignalHF1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF42DF->SetMarkerStyle(20); + DefzDrecosignalHF42DF->SetMarkerSize(0.4); + DefzDrecosignalHF42DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHF42DF->SetXTitle("_depth #eta \b"); + DefzDrecosignalHF42DF->SetYTitle(" #phi \b"); + DefzDrecosignalHF42DF->SetZTitle("_depth \b"); + DefzDrecosignalHF42DF->SetMarkerColor(2); + DefzDrecosignalHF42DF->SetLineColor( + 0); // DefzDrecosignalHF42DF->SetMaximum(1.000); // DefzDrecosignalHF42DF->SetMinimum(1.0); + DefzDrecosignalHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHF42D) + delete DefzDrecosignalHF42D; + if (DefzDrecosignalHF42D0) + delete DefzDrecosignalHF42D0; + if (DefzDrecosignalHF42DF) + delete DefzDrecosignalHF42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDrecosignalHF41D = new TH1F("DefzDrecosignalHF41D","", nphi, 0., 72. ); - TH1F* DefzDrecosignalHF41D0 = new TH1F("DefzDrecosignalHF41D0","",nphi, 0., 72. ); - TH1F* DefzDrecosignalHF41DF = (TH1F*)DefzDrecosignalHF41D0->Clone("DefzDrecosignalHF41DF"); - - for (int jphi=0;jphi0.) {DefzDrecosignalHF41D ->Fill(jphi,ccc1); DefzDrecosignalHF41D0 ->Fill(jphi,1.); } - }}} - // DefzDrecosignalHF41D->Sumw2();DefzDrecosignalHF41D0->Sumw2(); - - DefzDrecosignalHF41DF->Divide(DefzDrecosignalHF41D,DefzDrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDrecosignalHF41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHF41DF->SetMarkerStyle(20); DefzDrecosignalHF41DF->SetMarkerSize(1.4); DefzDrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF41DF->SetXTitle("#phi \b"); DefzDrecosignalHF41DF->SetYTitle(" \b"); DefzDrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHF41DF->SetMarkerColor(4); DefzDrecosignalHF41DF->SetLineColor(4);// DefzDrecosignalHF41DF->SetMinimum(0.8); DefzDrecosignalHF41DF->SetMinimum(-0.015); - DefzDrecosignalHF41DF->Draw("Error"); + TH1F* DefzDrecosignalHF41D = new TH1F("DefzDrecosignalHF41D", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHF41D0 = new TH1F("DefzDrecosignalHF41D0", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHF41DF = (TH1F*)DefzDrecosignalHF41D0->Clone("DefzDrecosignalHF41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + DefzDrecosignalHF41D->Fill(jphi, ccc1); + DefzDrecosignalHF41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDrecosignalHF41D->Sumw2();DefzDrecosignalHF41D0->Sumw2(); + + DefzDrecosignalHF41DF->Divide( + DefzDrecosignalHF41D, DefzDrecosignalHF41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDrecosignalHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF41DF->SetMarkerStyle(20); + DefzDrecosignalHF41DF->SetMarkerSize(1.4); + DefzDrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHF41DF->SetXTitle("#phi \b"); + DefzDrecosignalHF41DF->SetYTitle(" \b"); + DefzDrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDrecosignalHF41DF->SetMarkerColor(4); + DefzDrecosignalHF41DF->SetLineColor( + 4); // DefzDrecosignalHF41DF->SetMinimum(0.8); DefzDrecosignalHF41DF->SetMinimum(-0.015); + DefzDrecosignalHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DrecosignalGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (DefzDrecosignalHF41D) delete DefzDrecosignalHF41D; - if (DefzDrecosignalHF41D0) delete DefzDrecosignalHF41D0; - if (DefzDrecosignalHF41DF) delete DefzDrecosignalHF41DF; - //========================================================================================== 14 + if (DefzDrecosignalHF41D) + delete DefzDrecosignalHF41D; + if (DefzDrecosignalHF41D0) + delete DefzDrecosignalHF41D0; + if (DefzDrecosignalHF41DF) + delete DefzDrecosignalHF41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionRecosignalD1=1; - TH1F* h2CeffHFpositivedirectionRecosignalD1 = new TH1F("h2CeffHFpositivedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignalD1 == 1) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 2) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 3) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 4) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 5) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 6) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 7) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 8) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 9) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==10) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==11) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==12) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==13) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionRecosignalD1->Draw("Error"); - kcountHFpositivedirectionRecosignalD1++; - if(kcountHFpositivedirectionRecosignalD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignalD1 = 1; + TH1F* h2CeffHFpositivedirectionRecosignalD1 = new TH1F("h2CeffHFpositivedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFpositivedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFpositivedirectionRecosignalD1 = "<SetMarkerColor(2); + HFpositivedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignalD1 == 1) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 2) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 3) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 4) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 5) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 6) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 7) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 8) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 9) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 10) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 11) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 12) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 13) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignalD1->Draw("Error"); + kcountHFpositivedirectionRecosignalD1++; + if (kcountHFpositivedirectionRecosignalD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignalD1) delete h2CeffHFpositivedirectionRecosignalD1; - //========================================================================================== 15 + if (h2CeffHFpositivedirectionRecosignalD1) + delete h2CeffHFpositivedirectionRecosignalD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionRecosignalD2=1; - TH1F* h2CeffHFpositivedirectionRecosignalD2 = new TH1F("h2CeffHFpositivedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignalD2 == 1) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 2) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 3) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 4) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 5) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 6) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 7) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 8) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 9) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==10) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==11) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==12) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==13) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionRecosignalD2->Draw("Error"); - kcountHFpositivedirectionRecosignalD2++; - if(kcountHFpositivedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionRecosignalD2 = 1; + TH1F* h2CeffHFpositivedirectionRecosignalD2 = new TH1F("h2CeffHFpositivedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFpositivedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFpositivedirectionRecosignalD2 = "<SetMarkerColor(2); + HFpositivedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignalD2 == 1) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 2) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 3) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 4) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 5) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 6) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 7) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 8) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 9) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 10) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 11) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 12) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 13) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignalD2->Draw("Error"); + kcountHFpositivedirectionRecosignalD2++; + if (kcountHFpositivedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignalD2) delete h2CeffHFpositivedirectionRecosignalD2; - //========================================================================================== 22222214 + if (h2CeffHFpositivedirectionRecosignalD2) + delete h2CeffHFpositivedirectionRecosignalD2; + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionRecosignalD1=1; - TH1F* h2CeffHFnegativedirectionRecosignalD1 = new TH1F("h2CeffHFnegativedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignalD1 == 1) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 2) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 3) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 4) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 5) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 6) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 7) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 8) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 9) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==10) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==11) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==12) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==13) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionRecosignalD1->Draw("Error"); - kcountHFnegativedirectionRecosignalD1++; - if(kcountHFnegativedirectionRecosignalD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignalD1 = 1; + TH1F* h2CeffHFnegativedirectionRecosignalD1 = new TH1F("h2CeffHFnegativedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFnegativedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFnegativedirectionRecosignalD1 = "<SetMarkerColor(2); + HFnegativedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignalD1 == 1) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 2) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 3) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 4) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 5) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 6) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 7) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 8) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 9) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 10) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 11) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 12) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 13) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignalD1->Draw("Error"); + kcountHFnegativedirectionRecosignalD1++; + if (kcountHFnegativedirectionRecosignalD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignalD1) delete h2CeffHFnegativedirectionRecosignalD1; - //========================================================================================== 22222215 + if (h2CeffHFnegativedirectionRecosignalD1) + delete h2CeffHFnegativedirectionRecosignalD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionRecosignalD2=1; - TH1F* h2CeffHFnegativedirectionRecosignalD2 = new TH1F("h2CeffHFnegativedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignalD2 == 1) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 2) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 3) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 4) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 5) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 6) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 7) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 8) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 9) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==10) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==11) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==12) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==13) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); - HFnegativedirectionRecosignalD2->Draw("Error"); - kcountHFnegativedirectionRecosignalD2++; - if(kcountHFnegativedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionRecosignalD2 = 1; + TH1F* h2CeffHFnegativedirectionRecosignalD2 = new TH1F("h2CeffHFnegativedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFnegativedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFnegativedirectionRecosignalD2 = "<SetMarkerColor(2); + HFnegativedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignalD2 == 1) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 2) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 3) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 4) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 5) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 6) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 7) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 8) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 9) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 10) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 11) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 12) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 13) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionRecosignalD2->Draw("Error"); + kcountHFnegativedirectionRecosignalD2++; + if (kcountHFnegativedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignalD2) delete h2CeffHFnegativedirectionRecosignalD2; + if (h2CeffHFnegativedirectionRecosignalD2) + delete h2CeffHFnegativedirectionRecosignalD2; //===================================================================== END of Recosignal HF for phi-symmetry //===================================================================== END of Recosignal HF for phi-symmetry @@ -3895,620 +5360,890 @@ main(int argc, char *argv[]){ //============================================================================================================ END of Recosignal for phi-symmetry //============================================================================================================ END of Recosignal for phi-symmetry -////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start -////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start -////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start + ////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start + ////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start + ////////////////////// Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start Reconoise Start //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB //////////////////////////////////////////////////////////////////////////////////////////////////// Reconoise HB - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 4; - double areconoiseHB[ndepth][njeta][njphi]; - double breconoiseHB[ndepth][njeta][njphi]; - double reconoisevarianceHB[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double areconoiseHB[ndepth][njeta][njphi]; + double breconoiseHB[ndepth][njeta][njphi]; + double reconoisevarianceHB[ndepth][njeta][njphi]; // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HB recNoiseEnergy - TH2F *recNoiseEnergy1HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB1"); - TH2F *recNoiseEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + TH2F* recNoiseEnergy1HB1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB1"); + TH2F* recNoiseEnergy0HB1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); TH2F* recNoiseEnergyHB1 = (TH2F*)recNoiseEnergy1HB1->Clone("recNoiseEnergyHB1"); - recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1,recNoiseEnergy0HB1, 1, 1, "B"); - TH2F *recNoiseEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB2"); - TH2F *recNoiseEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1, recNoiseEnergy0HB1, 1, 1, "B"); + TH2F* recNoiseEnergy1HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB2"); + TH2F* recNoiseEnergy0HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); TH2F* recNoiseEnergyHB2 = (TH2F*)recNoiseEnergy1HB2->Clone("recNoiseEnergyHB2"); - recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2,recNoiseEnergy0HB2, 1, 1, "B"); - TH2F *recNoiseEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB3"); - TH2F *recNoiseEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2, recNoiseEnergy0HB2, 1, 1, "B"); + TH2F* recNoiseEnergy1HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB3"); + TH2F* recNoiseEnergy0HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); TH2F* recNoiseEnergyHB3 = (TH2F*)recNoiseEnergy1HB3->Clone("recNoiseEnergyHB3"); - recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3,recNoiseEnergy0HB3, 1, 1, "B"); - TH2F *recNoiseEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB4"); - TH2F *recNoiseEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3, recNoiseEnergy0HB3, 1, 1, "B"); + TH2F* recNoiseEnergy1HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB4"); + TH2F* recNoiseEnergy0HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); TH2F* recNoiseEnergyHB4 = (TH2F*)recNoiseEnergy1HB4->Clone("recNoiseEnergyHB4"); - recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4,recNoiseEnergy0HB4, 1, 1, "B"); - for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4, recNoiseEnergy0HB4, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { //====================================================================== PHI normalization & put R into massive areconoiseHB //preparation for PHI normalization: - double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - areconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); - areconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); - areconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); - breconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta+1,jphi+1); - breconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); - breconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); - breconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); - if(areconoiseHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += areconoiseHB[0][jeta][jphi];++nsumreconoiseHB0;} - if(areconoiseHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += areconoiseHB[1][jeta][jphi];++nsumreconoiseHB1;} - if(areconoiseHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += areconoiseHB[2][jeta][jphi];++nsumreconoiseHB2;} - if(areconoiseHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += areconoiseHB[3][jeta][jphi];++nsumreconoiseHB3;} - }// phi + double sumreconoiseHB0 = 0; + int nsumreconoiseHB0 = 0; + double sumreconoiseHB1 = 0; + int nsumreconoiseHB1 = 0; + double sumreconoiseHB2 = 0; + int nsumreconoiseHB2 = 0; + double sumreconoiseHB3 = 0; + int nsumreconoiseHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + areconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta + 1, jphi + 1); + areconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta + 1, jphi + 1); + areconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta + 1, jphi + 1); + areconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta + 1, jphi + 1); + if (areconoiseHB[0][jeta][jphi] != 0.) { + sumreconoiseHB0 += areconoiseHB[0][jeta][jphi]; + ++nsumreconoiseHB0; + } + if (areconoiseHB[1][jeta][jphi] != 0.) { + sumreconoiseHB1 += areconoiseHB[1][jeta][jphi]; + ++nsumreconoiseHB1; + } + if (areconoiseHB[2][jeta][jphi] != 0.) { + sumreconoiseHB2 += areconoiseHB[2][jeta][jphi]; + ++nsumreconoiseHB2; + } + if (areconoiseHB[3][jeta][jphi] != 0.) { + sumreconoiseHB3 += areconoiseHB[3][jeta][jphi]; + ++nsumreconoiseHB3; + } + } // phi // PHI normalization: DIF - for(int jphi=0;jphiClear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRreconoiseHB42D = new TH2F("GefzRreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRreconoiseHB42D0 = new TH2F("GefzRreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHB42D = new TH2F("GefzRreconoiseHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRreconoiseHB42D0 = new TH2F("GefzRreconoiseHB42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRreconoiseHB42DF = (TH2F*)GefzRreconoiseHB42D0->Clone("GefzRreconoiseHB42DF"); - for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHB42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzRreconoiseHB42DF->Divide(GefzRreconoiseHB42D,GefzRreconoiseHB42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHB42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRreconoiseHB42D->Fill(kkk, jphi, ccc1); + GefzRreconoiseHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzRreconoiseHB42DF->Divide(GefzRreconoiseHB42D, GefzRreconoiseHB42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB42DF->SetXTitle("_depth #eta \b"); + GefzRreconoiseHB42DF->SetYTitle(" #phi \b"); GefzRreconoiseHB42DF->Draw("COLZ"); - c2x1->cd(2); - TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); - energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); - - + TH1F* energyhitNoise_HB = (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); + energyhitNoise_HB->SetMarkerStyle(20); + energyhitNoise_HB->SetMarkerSize(0.4); + energyhitNoise_HB->GetYaxis()->SetLabelSize(0.04); + energyhitNoise_HB->SetXTitle("energyhitNoise_HB \b"); + energyhitNoise_HB->SetMarkerColor(2); + energyhitNoise_HB->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitNoise_HB->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RreconoiseGeneralD2PhiSymmetryHB.png"); c2x1->Clear(); // clean-up - if (GefzRreconoiseHB42D) delete GefzRreconoiseHB42D; - if (GefzRreconoiseHB42D0) delete GefzRreconoiseHB42D0; - if (GefzRreconoiseHB42DF) delete GefzRreconoiseHB42DF; + if (GefzRreconoiseHB42D) + delete GefzRreconoiseHB42D; + if (GefzRreconoiseHB42D0) + delete GefzRreconoiseHB42D0; + if (GefzRreconoiseHB42DF) + delete GefzRreconoiseHB42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRreconoiseHB41D = new TH1F("GefzRreconoiseHB41D","", nphi, 0., 72. ); - TH1F* GefzRreconoiseHB41D0 = new TH1F("GefzRreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHB41D = new TH1F("GefzRreconoiseHB41D", "", nphi, 0., 72.); + TH1F* GefzRreconoiseHB41D0 = new TH1F("GefzRreconoiseHB41D0", "", nphi, 0., 72.); TH1F* GefzRreconoiseHB41DF = (TH1F*)GefzRreconoiseHB41D0->Clone("GefzRreconoiseHB41DF"); - for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHB41D0 ->Fill(jphi,1.); } - }}}} - GefzRreconoiseHB41DF->Divide(GefzRreconoiseHB41D,GefzRreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRreconoiseHB41D->Fill(jphi, ccc1); + GefzRreconoiseHB41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzRreconoiseHB41DF->Divide(GefzRreconoiseHB41D, GefzRreconoiseHB41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRreconoiseHB41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHB41DF->SetMarkerStyle(20); GefzRreconoiseHB41DF->SetMarkerSize(1.4); GefzRreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHB41DF->SetXTitle("#phi \b"); GefzRreconoiseHB41DF->SetYTitle(" \b"); GefzRreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHB41DF->SetMarkerColor(4); GefzRreconoiseHB41DF->SetLineColor(4);//GefzRreconoiseHB41DF->SetMinimum(0.8); // GefzRreconoiseHB41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB41DF->SetMarkerStyle(20); + GefzRreconoiseHB41DF->SetMarkerSize(1.4); + GefzRreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); + GefzRreconoiseHB41DF->SetXTitle("#phi \b"); + GefzRreconoiseHB41DF->SetYTitle(" \b"); + GefzRreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRreconoiseHB41DF->SetMarkerColor(4); + GefzRreconoiseHB41DF->SetLineColor( + 4); //GefzRreconoiseHB41DF->SetMinimum(0.8); // GefzRreconoiseHB41DF->SetMaximum(1.000); GefzRreconoiseHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RreconoiseGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (GefzRreconoiseHB41D) delete GefzRreconoiseHB41D; - if (GefzRreconoiseHB41D0) delete GefzRreconoiseHB41D0; - if (GefzRreconoiseHB41DF) delete GefzRreconoiseHB41DF; - //========================================================================================== 4 + if (GefzRreconoiseHB41D) + delete GefzRreconoiseHB41D; + if (GefzRreconoiseHB41D0) + delete GefzRreconoiseHB41D0; + if (GefzRreconoiseHB41DF) + delete GefzRreconoiseHB41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoise1=1; - TH1F* h2CeffHBpositivedirectionReconoise1 = new TH1F("h2CeffHBpositivedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + if (jeta - 41 >= 0 && jeta - 41 <= 15) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBpositivedirectionReconoise1 = "<SetMarkerColor(2);HBpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise1 == 1) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 2) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 3) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 4) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 5) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 6) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 7) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 8) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 9) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==10) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==11) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==12) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==13) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==14) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==15) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==16) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionReconoise1->Draw("Error"); - kcountHBpositivedirectionReconoise1++; - if(kcountHBpositivedirectionReconoise1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBpositivedirectionReconoise1 = (TH1F*)h2CeffHBpositivedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBpositivedirectionReconoise1 = "<SetMarkerColor(2); + HBpositivedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise1 == 1) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 2) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 3) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 4) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 5) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 6) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 7) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 8) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 9) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 10) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 11) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 12) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 13) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 14) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 15) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 16) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoise1->Draw("Error"); + kcountHBpositivedirectionReconoise1++; + if (kcountHBpositivedirectionReconoise1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise1) delete h2CeffHBpositivedirectionReconoise1; - + if (h2CeffHBpositivedirectionReconoise1) + delete h2CeffHBpositivedirectionReconoise1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoise2=1; - TH1F* h2CeffHBpositivedirectionReconoise2 = new TH1F("h2CeffHBpositivedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBpositivedirectionReconoise2 = "<SetMarkerColor(2);HBpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise2 == 1) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 2) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 3) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 4) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 5) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 6) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 7) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 8) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 9) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==10) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==11) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==12) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==13) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==14) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==15) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==16) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionReconoise2->Draw("Error"); - kcountHBpositivedirectionReconoise2++; - if(kcountHBpositivedirectionReconoise2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise2 = 1; + TH1F* h2CeffHBpositivedirectionReconoise2 = new TH1F("h2CeffHBpositivedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBpositivedirectionReconoise2 = "<SetMarkerColor(2); + HBpositivedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise2 == 1) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 2) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 3) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 4) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 5) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 6) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 7) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 8) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 9) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 10) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 11) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 12) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 13) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 14) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 15) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 16) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoise2->Draw("Error"); + kcountHBpositivedirectionReconoise2++; + if (kcountHBpositivedirectionReconoise2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise2) delete h2CeffHBpositivedirectionReconoise2; - //========================================================================================== 6 + if (h2CeffHBpositivedirectionReconoise2) + delete h2CeffHBpositivedirectionReconoise2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoise3=1; - TH1F* h2CeffHBpositivedirectionReconoise3 = new TH1F("h2CeffHBpositivedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBpositivedirectionReconoise3 = "<SetMarkerColor(2);HBpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise3 == 1) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 2) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 3) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 4) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 5) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 6) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 7) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 8) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 9) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==10) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==11) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==12) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==13) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==14) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==15) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==16) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionReconoise3->Draw("Error"); - kcountHBpositivedirectionReconoise3++; - if(kcountHBpositivedirectionReconoise3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise3 = 1; + TH1F* h2CeffHBpositivedirectionReconoise3 = new TH1F("h2CeffHBpositivedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBpositivedirectionReconoise3 = "<SetMarkerColor(2); + HBpositivedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise3 == 1) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 2) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 3) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 4) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 5) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 6) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 7) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 8) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 9) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 10) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 11) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 12) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 13) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 14) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 15) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 16) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoise3->Draw("Error"); + kcountHBpositivedirectionReconoise3++; + if (kcountHBpositivedirectionReconoise3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise3) delete h2CeffHBpositivedirectionReconoise3; - //========================================================================================== 7 + if (h2CeffHBpositivedirectionReconoise3) + delete h2CeffHBpositivedirectionReconoise3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoise4=1; - TH1F* h2CeffHBpositivedirectionReconoise4 = new TH1F("h2CeffHBpositivedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBpositivedirectionReconoise4 = "<SetMarkerColor(2);HBpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise4 == 1) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 2) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 3) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 4) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 5) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 6) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 7) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 8) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 9) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==10) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==11) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==12) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==13) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==14) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==15) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==16) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionReconoise4->Draw("Error"); - kcountHBpositivedirectionReconoise4++; - if(kcountHBpositivedirectionReconoise4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoise4 = 1; + TH1F* h2CeffHBpositivedirectionReconoise4 = new TH1F("h2CeffHBpositivedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBpositivedirectionReconoise4 = "<SetMarkerColor(2); + HBpositivedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise4 == 1) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 2) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 3) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 4) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 5) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 6) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 7) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 8) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 9) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 10) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 11) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 12) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 13) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 14) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 15) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 16) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoise4->Draw("Error"); + kcountHBpositivedirectionReconoise4++; + if (kcountHBpositivedirectionReconoise4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise4) delete h2CeffHBpositivedirectionReconoise4; + if (h2CeffHBpositivedirectionReconoise4) + delete h2CeffHBpositivedirectionReconoise4; - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoise1=1; - TH1F* h2CeffHBnegativedirectionReconoise1 = new TH1F("h2CeffHBnegativedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + if (jeta - 41 >= -16 && jeta - 41 <= -1) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBnegativedirectionReconoise1 = "<SetMarkerColor(2);HBnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise1 == 1) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 2) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 3) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 4) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 5) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 6) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 7) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 8) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 9) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==10) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==11) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==12) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==13) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==14) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==15) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==16) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionReconoise1->Draw("Error"); - kcountHBnegativedirectionReconoise1++; - if(kcountHBnegativedirectionReconoise1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBnegativedirectionReconoise1 = (TH1F*)h2CeffHBnegativedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBnegativedirectionReconoise1 = "<SetMarkerColor(2); + HBnegativedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise1 == 1) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 2) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 3) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 4) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 5) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 6) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 7) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 8) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 9) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 10) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 11) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 12) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 13) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 14) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 15) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 16) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoise1->Draw("Error"); + kcountHBnegativedirectionReconoise1++; + if (kcountHBnegativedirectionReconoise1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise1) delete h2CeffHBnegativedirectionReconoise1; - + if (h2CeffHBnegativedirectionReconoise1) + delete h2CeffHBnegativedirectionReconoise1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoise2=1; - TH1F* h2CeffHBnegativedirectionReconoise2 = new TH1F("h2CeffHBnegativedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBnegativedirectionReconoise2 = "<SetMarkerColor(2);HBnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise2 == 1) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 2) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 3) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 4) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 5) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 6) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 7) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 8) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 9) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==10) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==11) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==12) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==13) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==14) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==15) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==16) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); - HBnegativedirectionReconoise2->Draw("Error"); - kcountHBnegativedirectionReconoise2++; - if(kcountHBnegativedirectionReconoise2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise2 = 1; + TH1F* h2CeffHBnegativedirectionReconoise2 = new TH1F("h2CeffHBnegativedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBnegativedirectionReconoise2 = "<SetMarkerColor(2); + HBnegativedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise2 == 1) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 2) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 3) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 4) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 5) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 6) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 7) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 8) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 9) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 10) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 11) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 12) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 13) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 14) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 15) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 16) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoise2->Draw("Error"); + kcountHBnegativedirectionReconoise2++; + if (kcountHBnegativedirectionReconoise2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise2) delete h2CeffHBnegativedirectionReconoise2; - //========================================================================================== 1116 + if (h2CeffHBnegativedirectionReconoise2) + delete h2CeffHBnegativedirectionReconoise2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoise3=1; - TH1F* h2CeffHBnegativedirectionReconoise3 = new TH1F("h2CeffHBnegativedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBnegativedirectionReconoise3 = "<SetMarkerColor(2);HBnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise3 == 1) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 2) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 3) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 4) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 5) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 6) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 7) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 8) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 9) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==10) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==11) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==12) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==13) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==14) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==15) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==16) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); - - HBnegativedirectionReconoise3->Draw("Error"); - kcountHBnegativedirectionReconoise3++; - if(kcountHBnegativedirectionReconoise3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise3 = 1; + TH1F* h2CeffHBnegativedirectionReconoise3 = new TH1F("h2CeffHBnegativedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBnegativedirectionReconoise3 = "<SetMarkerColor(2); + HBnegativedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise3 == 1) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 2) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 3) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 4) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 5) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 6) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 7) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 8) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 9) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 10) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 11) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 12) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 13) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 14) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 15) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 16) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoise3->Draw("Error"); + kcountHBnegativedirectionReconoise3++; + if (kcountHBnegativedirectionReconoise3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise3) delete h2CeffHBnegativedirectionReconoise3; - //========================================================================================== 1117 + if (h2CeffHBnegativedirectionReconoise3) + delete h2CeffHBnegativedirectionReconoise3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoise4=1; - TH1F* h2CeffHBnegativedirectionReconoise4 = new TH1F("h2CeffHBnegativedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBnegativedirectionReconoise4 = "<SetMarkerColor(2);HBnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise4 == 1) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 2) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 3) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 4) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 5) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 6) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 7) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 8) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 9) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==10) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==11) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==12) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==13) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==14) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==15) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==16) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); - HBnegativedirectionReconoise4->Draw("Error"); - kcountHBnegativedirectionReconoise4++; - if(kcountHBnegativedirectionReconoise4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoise4 = 1; + TH1F* h2CeffHBnegativedirectionReconoise4 = new TH1F("h2CeffHBnegativedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBnegativedirectionReconoise4 = "<SetMarkerColor(2); + HBnegativedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise4 == 1) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 2) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 3) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 4) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 5) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 6) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 7) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 8) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 9) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 10) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 11) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 12) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 13) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 14) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 15) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 16) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoise4->Draw("Error"); + kcountHBnegativedirectionReconoise4++; + if (kcountHBnegativedirectionReconoise4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise4) delete h2CeffHBnegativedirectionReconoise4; + if (h2CeffHBnegativedirectionReconoise4) + delete h2CeffHBnegativedirectionReconoise4; //====================================================================================================================== // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HE @@ -4517,2146 +6252,2980 @@ main(int argc, char *argv[]){ //cout<<" R2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzDIFreconoiseHB42D = new TH2F("GefzDIFreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzDIFreconoiseHB42D0 = new TH2F("GefzDIFreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHB42D = new TH2F("GefzDIFreconoiseHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzDIFreconoiseHB42D0 = new TH2F("GefzDIFreconoiseHB42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzDIFreconoiseHB42DF = (TH2F*)GefzDIFreconoiseHB42D0->Clone("GefzDIFreconoiseHB42DF"); - for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzDIFreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHB42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzDIFreconoiseHB42DF->Divide(GefzDIFreconoiseHB42D,GefzDIFreconoiseHB42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHB42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzDIFreconoiseHB42D->Fill(kkk, jphi, ccc1); + GefzDIFreconoiseHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHB42DF->Divide(GefzDIFreconoiseHB42D, GefzDIFreconoiseHB42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB42DF->SetXTitle("_depth #eta \b"); + GefzDIFreconoiseHB42DF->SetYTitle(" #phi \b"); GefzDIFreconoiseHB42DF->Draw("COLZ"); - // c2x1->cd(2); // TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); - // energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); - - + // energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHB.png"); c2x1->Clear(); // clean-up - if (GefzDIFreconoiseHB42D) delete GefzDIFreconoiseHB42D; - if (GefzDIFreconoiseHB42D0) delete GefzDIFreconoiseHB42D0; - if (GefzDIFreconoiseHB42DF) delete GefzDIFreconoiseHB42DF; + if (GefzDIFreconoiseHB42D) + delete GefzDIFreconoiseHB42D; + if (GefzDIFreconoiseHB42D0) + delete GefzDIFreconoiseHB42D0; + if (GefzDIFreconoiseHB42DF) + delete GefzDIFreconoiseHB42DF; //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzDIFreconoiseHB41D = new TH1F("GefzDIFreconoiseHB41D","", nphi, 0., 72. ); - TH1F* GefzDIFreconoiseHB41D0 = new TH1F("GefzDIFreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHB41D = new TH1F("GefzDIFreconoiseHB41D", "", nphi, 0., 72.); + TH1F* GefzDIFreconoiseHB41D0 = new TH1F("GefzDIFreconoiseHB41D0", "", nphi, 0., 72.); TH1F* GefzDIFreconoiseHB41DF = (TH1F*)GefzDIFreconoiseHB41D0->Clone("GefzDIFreconoiseHB41DF"); - for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHB41D0 ->Fill(jphi,1.); } - }}}} - GefzDIFreconoiseHB41DF->Divide(GefzDIFreconoiseHB41D,GefzDIFreconoiseHB41D0, 1, 1, "B");// DIF averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzDIFreconoiseHB41D->Fill(jphi, ccc1); + GefzDIFreconoiseHB41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHB41DF->Divide( + GefzDIFreconoiseHB41D, GefzDIFreconoiseHB41D0, 1, 1, "B"); // DIF averaged over depthfs & eta GefzDIFreconoiseHB41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHB41DF->SetMarkerStyle(20); GefzDIFreconoiseHB41DF->SetMarkerSize(1.4); GefzDIFreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHB41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHB41DF->SetYTitle(" \b"); GefzDIFreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHB41DF->SetMarkerColor(4); GefzDIFreconoiseHB41DF->SetLineColor(4);//GefzDIFreconoiseHB41DF->SetMinimum(0.8); // GefzDIFreconoiseHB41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB41DF->SetMarkerStyle(20); + GefzDIFreconoiseHB41DF->SetMarkerSize(1.4); + GefzDIFreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); + GefzDIFreconoiseHB41DF->SetXTitle("#phi \b"); + GefzDIFreconoiseHB41DF->SetYTitle(" \b"); + GefzDIFreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzDIFreconoiseHB41DF->SetMarkerColor(4); + GefzDIFreconoiseHB41DF->SetLineColor( + 4); //GefzDIFreconoiseHB41DF->SetMinimum(0.8); // GefzDIFreconoiseHB41DF->SetMaximum(1.000); GefzDIFreconoiseHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (GefzDIFreconoiseHB41D) delete GefzDIFreconoiseHB41D; - if (GefzDIFreconoiseHB41D0) delete GefzDIFreconoiseHB41D0; - if (GefzDIFreconoiseHB41DF) delete GefzDIFreconoiseHB41DF; - //========================================================================================== 4 + if (GefzDIFreconoiseHB41D) + delete GefzDIFreconoiseHB41D; + if (GefzDIFreconoiseHB41D0) + delete GefzDIFreconoiseHB41D0; + if (GefzDIFreconoiseHB41DF) + delete GefzDIFreconoiseHB41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF1=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + if (jeta - 41 >= 0 && jeta - 41 <= 15) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF1 == 1) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 2) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 3) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 4) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 5) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 6) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 7) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 8) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 9) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==10) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==11) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==12) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==13) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==14) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==15) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==16) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionReconoiseDIF1->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF1++; - if(kcountHBpositivedirectionReconoiseDIF1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBpositivedirectionReconoiseDIF1 = (TH1F*)h2CeffHBpositivedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF1 == 1) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 2) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 3) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 4) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 5) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 6) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 7) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 8) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 9) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 10) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 11) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 12) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 13) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 14) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 15) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 16) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF1++; + if (kcountHBpositivedirectionReconoiseDIF1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF1) delete h2CeffHBpositivedirectionReconoiseDIF1; - + if (h2CeffHBpositivedirectionReconoiseDIF1) + delete h2CeffHBpositivedirectionReconoiseDIF1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF2=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF2 == 1) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 2) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 3) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 4) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 5) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 6) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 7) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 8) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 9) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==10) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==11) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==12) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==13) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==14) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==15) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==16) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionReconoiseDIF2->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF2++; - if(kcountHBpositivedirectionReconoiseDIF2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF2 == 1) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 2) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 3) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 4) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 5) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 6) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 7) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 8) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 9) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 10) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 11) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 12) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 13) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 14) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 15) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 16) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF2++; + if (kcountHBpositivedirectionReconoiseDIF2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF2) delete h2CeffHBpositivedirectionReconoiseDIF2; - //========================================================================================== 6 + if (h2CeffHBpositivedirectionReconoiseDIF2) + delete h2CeffHBpositivedirectionReconoiseDIF2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF3=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF3 == 1) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 2) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 3) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 4) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 5) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 6) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 7) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 8) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 9) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==10) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==11) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==12) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==13) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==14) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==15) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==16) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionReconoiseDIF3->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF3++; - if(kcountHBpositivedirectionReconoiseDIF3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF3 == 1) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 2) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 3) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 4) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 5) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 6) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 7) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 8) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 9) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 10) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 11) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 12) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 13) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 14) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 15) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 16) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF3++; + if (kcountHBpositivedirectionReconoiseDIF3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF3) delete h2CeffHBpositivedirectionReconoiseDIF3; - //========================================================================================== 7 + if (h2CeffHBpositivedirectionReconoiseDIF3) + delete h2CeffHBpositivedirectionReconoiseDIF3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF4=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF4 == 1) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 2) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 3) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 4) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 5) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 6) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 7) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 8) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 9) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==10) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==11) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==12) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==13) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==14) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==15) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==16) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionReconoiseDIF4->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF4++; - if(kcountHBpositivedirectionReconoiseDIF4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF4 == 1) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 2) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 3) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 4) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 5) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 6) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 7) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 8) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 9) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 10) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 11) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 12) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 13) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 14) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 15) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 16) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF4++; + if (kcountHBpositivedirectionReconoiseDIF4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF4) delete h2CeffHBpositivedirectionReconoiseDIF4; + if (h2CeffHBpositivedirectionReconoiseDIF4) + delete h2CeffHBpositivedirectionReconoiseDIF4; - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF1=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + if (jeta - 41 >= -16 && jeta - 41 <= -1) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF1 == 1) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 2) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 3) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 4) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 5) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 6) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 7) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 8) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 9) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==10) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==11) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==12) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==13) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==14) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==15) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==16) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionReconoiseDIF1->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF1++; - if(kcountHBnegativedirectionReconoiseDIF1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBnegativedirectionReconoiseDIF1 = (TH1F*)h2CeffHBnegativedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF1 == 1) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 2) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 3) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 4) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 5) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 6) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 7) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 8) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 9) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 10) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 11) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 12) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 13) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 14) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 15) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 16) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF1++; + if (kcountHBnegativedirectionReconoiseDIF1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF1) delete h2CeffHBnegativedirectionReconoiseDIF1; - + if (h2CeffHBnegativedirectionReconoiseDIF1) + delete h2CeffHBnegativedirectionReconoiseDIF1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF2=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF2 == 1) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -16; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 2) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -15; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 3) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -14; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 4) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -13; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 5) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -12; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 6) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -11; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 7) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -10; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 8) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -9; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 9) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -8; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==10) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -7; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==11) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -6; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==12) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -5; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==13) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -4; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==14) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -3; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==15) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -2; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==16) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -1; depth = 2 \b"); - HBnegativedirectionReconoiseDIF2->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF2++; - if(kcountHBnegativedirectionReconoiseDIF2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF2 == 1) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -16; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 2) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -15; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 3) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -14; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 4) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -13; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 5) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -12; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 6) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -11; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 7) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -10; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 8) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -9; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 9) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -8; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 10) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -7; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 11) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -6; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 12) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -5; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 13) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -4; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 14) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -3; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 15) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -2; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 16) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF2++; + if (kcountHBnegativedirectionReconoiseDIF2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF2) delete h2CeffHBnegativedirectionReconoiseDIF2; - //========================================================================================== 1116 + if (h2CeffHBnegativedirectionReconoiseDIF2) + delete h2CeffHBnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF3=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF3 == 1) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -16; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 2) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -15; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 3) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -14; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 4) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -13; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 5) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -12; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 6) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -11; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 7) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -10; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 8) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -9; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 9) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -8; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==10) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -7; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==11) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -6; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==12) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -5; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==13) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -4; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==14) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -3; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==15) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -2; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==16) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -1; depth = 3 \b"); - - HBnegativedirectionReconoiseDIF3->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF3++; - if(kcountHBnegativedirectionReconoiseDIF3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF3 == 1) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -16; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 2) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -15; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 3) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -14; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 4) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -13; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 5) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -12; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 6) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -11; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 7) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -10; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 8) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -9; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 9) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -8; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 10) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -7; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 11) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -6; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 12) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -5; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 13) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -4; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 14) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -3; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 15) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -2; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 16) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF3++; + if (kcountHBnegativedirectionReconoiseDIF3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF3) delete h2CeffHBnegativedirectionReconoiseDIF3; - //========================================================================================== 1117 + if (h2CeffHBnegativedirectionReconoiseDIF3) + delete h2CeffHBnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF4=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF4 == 1) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -16; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 2) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -15; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 3) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -14; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 4) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -13; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 5) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -12; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 6) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -11; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 7) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -10; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 8) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -9; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 9) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -8; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==10) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -7; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==11) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -6; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==12) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -5; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==13) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -4; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==14) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -3; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==15) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -2; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==16) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -1; depth = 4 \b"); - HBnegativedirectionReconoiseDIF4->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF4++; - if(kcountHBnegativedirectionReconoiseDIF4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF4 == 1) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -16; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 2) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -15; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 3) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -14; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 4) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -13; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 5) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -12; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 6) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -11; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 7) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -10; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 8) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -9; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 9) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -8; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 10) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -7; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 11) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -6; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 12) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -5; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 13) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -4; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 14) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -3; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 15) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -2; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 16) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF4++; + if (kcountHBnegativedirectionReconoiseDIF4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF4) delete h2CeffHBnegativedirectionReconoiseDIF4; + if (h2CeffHBnegativedirectionReconoiseDIF4) + delete h2CeffHBnegativedirectionReconoiseDIF4; //====================================================================================================================== //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HB1"); - TH2F *reconoiseVariance0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HB1"); + TH2F* reconoiseVariance0HB1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); TH2F* reconoiseVarianceHB1 = (TH2F*)reconoiseVariance1HB1->Clone("reconoiseVarianceHB1"); - reconoiseVarianceHB1->Divide(reconoiseVariance1HB1,reconoiseVariance0HB1, 1, 1, "B"); - TH2F *reconoiseVariance1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB2"); - TH2F *reconoiseVariance0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + reconoiseVarianceHB1->Divide(reconoiseVariance1HB1, reconoiseVariance0HB1, 1, 1, "B"); + TH2F* reconoiseVariance1HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB2"); + TH2F* reconoiseVariance0HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); TH2F* reconoiseVarianceHB2 = (TH2F*)reconoiseVariance1HB2->Clone("reconoiseVarianceHB2"); - reconoiseVarianceHB2->Divide(reconoiseVariance1HB2,reconoiseVariance0HB2, 1, 1, "B"); - TH2F *reconoiseVariance1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB3"); - TH2F *reconoiseVariance0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + reconoiseVarianceHB2->Divide(reconoiseVariance1HB2, reconoiseVariance0HB2, 1, 1, "B"); + TH2F* reconoiseVariance1HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB3"); + TH2F* reconoiseVariance0HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); TH2F* reconoiseVarianceHB3 = (TH2F*)reconoiseVariance1HB3->Clone("reconoiseVarianceHB3"); - reconoiseVarianceHB3->Divide(reconoiseVariance1HB3,reconoiseVariance0HB3, 1, 1, "B"); - TH2F *reconoiseVariance1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB4"); - TH2F *reconoiseVariance0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + reconoiseVarianceHB3->Divide(reconoiseVariance1HB3, reconoiseVariance0HB3, 1, 1, "B"); + TH2F* reconoiseVariance1HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB4"); + TH2F* reconoiseVariance0HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); TH2F* reconoiseVarianceHB4 = (TH2F*)reconoiseVariance1HB4->Clone("reconoiseVarianceHB4"); - reconoiseVarianceHB4->Divide(reconoiseVariance1HB4,reconoiseVariance0HB4, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHB - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + reconoiseVarianceHB4->Divide(reconoiseVariance1HB4, reconoiseVariance0HB4, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { //preparation for PHI normalization: - double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - reconoisevarianceHB[1][jeta][jphi] = reconoiseVarianceHB2->GetBinContent(jeta+1,jphi+1); - reconoisevarianceHB[2][jeta][jphi] = reconoiseVarianceHB3->GetBinContent(jeta+1,jphi+1); - reconoisevarianceHB[3][jeta][jphi] = reconoiseVarianceHB4->GetBinContent(jeta+1,jphi+1); - if(reconoisevarianceHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += reconoisevarianceHB[0][jeta][jphi];++nsumreconoiseHB0;} - if(reconoisevarianceHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += reconoisevarianceHB[1][jeta][jphi];++nsumreconoiseHB1;} - if(reconoisevarianceHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += reconoisevarianceHB[2][jeta][jphi];++nsumreconoiseHB2;} - if(reconoisevarianceHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += reconoisevarianceHB[3][jeta][jphi];++nsumreconoiseHB3;} - }// phi + double sumreconoiseHB0 = 0; + int nsumreconoiseHB0 = 0; + double sumreconoiseHB1 = 0; + int nsumreconoiseHB1 = 0; + double sumreconoiseHB2 = 0; + int nsumreconoiseHB2 = 0; + double sumreconoiseHB3 = 0; + int nsumreconoiseHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + reconoisevarianceHB[0][jeta][jphi] = reconoiseVarianceHB1->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHB[1][jeta][jphi] = reconoiseVarianceHB2->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHB[2][jeta][jphi] = reconoiseVarianceHB3->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHB[3][jeta][jphi] = reconoiseVarianceHB4->GetBinContent(jeta + 1, jphi + 1); + if (reconoisevarianceHB[0][jeta][jphi] != 0.) { + sumreconoiseHB0 += reconoisevarianceHB[0][jeta][jphi]; + ++nsumreconoiseHB0; + } + if (reconoisevarianceHB[1][jeta][jphi] != 0.) { + sumreconoiseHB1 += reconoisevarianceHB[1][jeta][jphi]; + ++nsumreconoiseHB1; + } + if (reconoisevarianceHB[2][jeta][jphi] != 0.) { + sumreconoiseHB2 += reconoisevarianceHB[2][jeta][jphi]; + ++nsumreconoiseHB2; + } + if (reconoisevarianceHB[3][jeta][jphi] != 0.) { + sumreconoiseHB3 += reconoisevarianceHB[3][jeta][jphi]; + ++nsumreconoiseHB3; + } + } // phi // PHI normalization : - for(int jphi=0;jphiClear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDreconoiseHB42D = new TH2F("DefzDreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHB42D0 = new TH2F("DefzDreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHB42DF = (TH2F*)DefzDreconoiseHB42D0->Clone("DefzDreconoiseHB42DF"); - for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 - if(areconoiseHB[i][jeta][jphi]>0.) {DefzDreconoiseHB42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHB42D0 ->Fill(kkk,jphi,1.); } - }}}} - DefzDreconoiseHB42DF->Divide(DefzDreconoiseHB42D,DefzDreconoiseHB42D0, 1, 1, "B");// average A - // DefzDreconoiseHB1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHB42DF->SetMarkerStyle(20); DefzDreconoiseHB42DF->SetMarkerSize(0.4); DefzDreconoiseHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHB42DF->SetYTitle(" #phi \b"); DefzDreconoiseHB42DF->SetZTitle("_depth \b"); DefzDreconoiseHB42DF->SetMarkerColor(2); DefzDreconoiseHB42DF->SetLineColor(0); // DefzDreconoiseHB42DF->SetMaximum(1.000); // DefzDreconoiseHB42DF->SetMinimum(1.0); - DefzDreconoiseHB42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DreconoiseGeneralD2PhiSymmetryHB.png"); - c1x0->Clear(); - // clean-up - if (DefzDreconoiseHB42D) delete DefzDreconoiseHB42D; - if (DefzDreconoiseHB42D0) delete DefzDreconoiseHB42D0; - if (DefzDreconoiseHB42DF) delete DefzDreconoiseHB42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDreconoiseHB42D = new TH2F("DefzDreconoiseHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHB42D0 = new TH2F("DefzDreconoiseHB42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHB42DF = (TH2F*)DefzDreconoiseHB42D0->Clone("DefzDreconoiseHB42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (areconoiseHB[i][jeta][jphi] > 0.) { + DefzDreconoiseHB42D->Fill(kkk, jphi, ccc1); + DefzDreconoiseHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + DefzDreconoiseHB42DF->Divide(DefzDreconoiseHB42D, DefzDreconoiseHB42D0, 1, 1, "B"); // average A + // DefzDreconoiseHB1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB42DF->SetMarkerStyle(20); + DefzDreconoiseHB42DF->SetMarkerSize(0.4); + DefzDreconoiseHB42DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHB42DF->SetXTitle("_depth #eta \b"); + DefzDreconoiseHB42DF->SetYTitle(" #phi \b"); + DefzDreconoiseHB42DF->SetZTitle("_depth \b"); + DefzDreconoiseHB42DF->SetMarkerColor(2); + DefzDreconoiseHB42DF->SetLineColor( + 0); // DefzDreconoiseHB42DF->SetMaximum(1.000); // DefzDreconoiseHB42DF->SetMinimum(1.0); + DefzDreconoiseHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHB42D) + delete DefzDreconoiseHB42D; + if (DefzDreconoiseHB42D0) + delete DefzDreconoiseHB42D0; + if (DefzDreconoiseHB42DF) + delete DefzDreconoiseHB42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDreconoiseHB41D = new TH1F("DefzDreconoiseHB41D","", nphi, 0., 72. ); - TH1F* DefzDreconoiseHB41D0 = new TH1F("DefzDreconoiseHB41D0","",nphi, 0., 72. ); - TH1F* DefzDreconoiseHB41DF = (TH1F*)DefzDreconoiseHB41D0->Clone("DefzDreconoiseHB41DF"); - - for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int i=0;i0.) {DefzDreconoiseHB41D ->Fill(jphi,ccc1); DefzDreconoiseHB41D0 ->Fill(jphi,1.); } - }}}} - // DefzDreconoiseHB41D->Sumw2();DefzDreconoiseHB41D0->Sumw2(); - - DefzDreconoiseHB41DF->Divide(DefzDreconoiseHB41D,DefzDreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDreconoiseHB41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHB41DF->SetMarkerStyle(20); DefzDreconoiseHB41DF->SetMarkerSize(1.4); DefzDreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB41DF->SetXTitle("#phi \b"); DefzDreconoiseHB41DF->SetYTitle(" \b"); DefzDreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHB41DF->SetMarkerColor(4); DefzDreconoiseHB41DF->SetLineColor(4); //DefzDreconoiseHB41DF->SetMinimum(0.8); DefzDreconoiseHB41DF->SetMinimum(-0.015); - DefzDreconoiseHB41DF->Draw("Error"); + TH1F* DefzDreconoiseHB41D = new TH1F("DefzDreconoiseHB41D", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHB41D0 = new TH1F("DefzDreconoiseHB41D0", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHB41DF = (TH1F*)DefzDreconoiseHB41D0->Clone("DefzDreconoiseHB41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + DefzDreconoiseHB41D->Fill(jphi, ccc1); + DefzDreconoiseHB41D0->Fill(jphi, 1.); + } + } + } + } + } + // DefzDreconoiseHB41D->Sumw2();DefzDreconoiseHB41D0->Sumw2(); + + DefzDreconoiseHB41DF->Divide(DefzDreconoiseHB41D, DefzDreconoiseHB41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB41DF->SetMarkerStyle(20); + DefzDreconoiseHB41DF->SetMarkerSize(1.4); + DefzDreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHB41DF->SetXTitle("#phi \b"); + DefzDreconoiseHB41DF->SetYTitle(" \b"); + DefzDreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDreconoiseHB41DF->SetMarkerColor(4); + DefzDreconoiseHB41DF->SetLineColor( + 4); //DefzDreconoiseHB41DF->SetMinimum(0.8); DefzDreconoiseHB41DF->SetMinimum(-0.015); + DefzDreconoiseHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DreconoiseGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (DefzDreconoiseHB41D) delete DefzDreconoiseHB41D; - if (DefzDreconoiseHB41D0) delete DefzDreconoiseHB41D0; - if (DefzDreconoiseHB41DF) delete DefzDreconoiseHB41DF; + if (DefzDreconoiseHB41D) + delete DefzDreconoiseHB41D; + if (DefzDreconoiseHB41D0) + delete DefzDreconoiseHB41D0; + if (DefzDreconoiseHB41DF) + delete DefzDreconoiseHB41DF; - //========================================================================================== 14 + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD1=1; - TH1F* h2CeffHBpositivedirectionReconoiseD1 = new TH1F("h2CeffHBpositivedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD1 == 1) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 2) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 3) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 4) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 5) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 6) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 7) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 8) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 9) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==10) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==11) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==12) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==13) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==14) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==15) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==16) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionReconoiseD1->Draw("Error"); - kcountHBpositivedirectionReconoiseD1++; - if(kcountHBpositivedirectionReconoiseD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD1 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD1 = new TH1F("h2CeffHBpositivedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBpositivedirectionReconoiseD1 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD1 == 1) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 2) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 3) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 4) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 5) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 6) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 7) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 8) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 9) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 10) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 11) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 12) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 13) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 14) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 15) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 16) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseD1->Draw("Error"); + kcountHBpositivedirectionReconoiseD1++; + if (kcountHBpositivedirectionReconoiseD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD1) delete h2CeffHBpositivedirectionReconoiseD1; - //========================================================================================== 15 + if (h2CeffHBpositivedirectionReconoiseD1) + delete h2CeffHBpositivedirectionReconoiseD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD2=1; - TH1F* h2CeffHBpositivedirectionReconoiseD2 = new TH1F("h2CeffHBpositivedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD2 == 1) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 2) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 3) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 4) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 5) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 6) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 7) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 8) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 9) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==10) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==11) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==12) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==13) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==14) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==15) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==16) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionReconoiseD2->Draw("Error"); - kcountHBpositivedirectionReconoiseD2++; - if(kcountHBpositivedirectionReconoiseD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD2 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD2 = new TH1F("h2CeffHBpositivedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBpositivedirectionReconoiseD2 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD2 == 1) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 2) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 3) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 4) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 5) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 6) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 7) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 8) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 9) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 10) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 11) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 12) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 13) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 14) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 15) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 16) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseD2->Draw("Error"); + kcountHBpositivedirectionReconoiseD2++; + if (kcountHBpositivedirectionReconoiseD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD2) delete h2CeffHBpositivedirectionReconoiseD2; - //========================================================================================== 16 + if (h2CeffHBpositivedirectionReconoiseD2) + delete h2CeffHBpositivedirectionReconoiseD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD3=1; - TH1F* h2CeffHBpositivedirectionReconoiseD3 = new TH1F("h2CeffHBpositivedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD3 == 1) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 2) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 3) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 4) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 5) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 6) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 7) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 8) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 9) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==10) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==11) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==12) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==13) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==14) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==15) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==16) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionReconoiseD3->Draw("Error"); - kcountHBpositivedirectionReconoiseD3++; - if(kcountHBpositivedirectionReconoiseD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD3 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD3 = new TH1F("h2CeffHBpositivedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBpositivedirectionReconoiseD3 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD3 == 1) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 2) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 3) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 4) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 5) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 6) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 7) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 8) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 9) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 10) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 11) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 12) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 13) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 14) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 15) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 16) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseD3->Draw("Error"); + kcountHBpositivedirectionReconoiseD3++; + if (kcountHBpositivedirectionReconoiseD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD3) delete h2CeffHBpositivedirectionReconoiseD3; - //========================================================================================== 17 + if (h2CeffHBpositivedirectionReconoiseD3) + delete h2CeffHBpositivedirectionReconoiseD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD4=1; - TH1F* h2CeffHBpositivedirectionReconoiseD4 = new TH1F("h2CeffHBpositivedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD4 == 1) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 2) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 3) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 4) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 5) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 6) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 7) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 8) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 9) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==10) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==11) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==12) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==13) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==14) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==15) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==16) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionReconoiseD4->Draw("Error"); - kcountHBpositivedirectionReconoiseD4++; - if(kcountHBpositivedirectionReconoiseD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBpositivedirectionReconoiseD4 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD4 = new TH1F("h2CeffHBpositivedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBpositivedirectionReconoiseD4 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD4 == 1) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 2) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 3) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 4) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 5) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 6) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 7) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 8) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 9) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 10) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 11) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 12) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 13) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 14) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 15) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 16) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseD4->Draw("Error"); + kcountHBpositivedirectionReconoiseD4++; + if (kcountHBpositivedirectionReconoiseD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD4) delete h2CeffHBpositivedirectionReconoiseD4; - + if (h2CeffHBpositivedirectionReconoiseD4) + delete h2CeffHBpositivedirectionReconoiseD4; - //========================================================================================== 22214 + //========================================================================================== 22214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD1=1; - TH1F* h2CeffHBnegativedirectionReconoiseD1 = new TH1F("h2CeffHBnegativedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD1 == 1) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 2) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 3) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 4) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 5) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 6) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 7) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 8) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 9) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==10) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==11) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==12) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==13) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==14) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==15) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==16) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); - HBnegativedirectionReconoiseD1->Draw("Error"); - kcountHBnegativedirectionReconoiseD1++; - if(kcountHBnegativedirectionReconoiseD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD1 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD1 = new TH1F("h2CeffHBnegativedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBnegativedirectionReconoiseD1 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD1 == 1) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 2) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 3) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 4) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 5) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 6) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 7) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 8) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 9) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 10) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 11) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 12) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 13) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 14) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 15) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 16) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); + HBnegativedirectionReconoiseD1->Draw("Error"); + kcountHBnegativedirectionReconoiseD1++; + if (kcountHBnegativedirectionReconoiseD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD1) delete h2CeffHBnegativedirectionReconoiseD1; - //========================================================================================== 22215 + if (h2CeffHBnegativedirectionReconoiseD1) + delete h2CeffHBnegativedirectionReconoiseD1; + //========================================================================================== 22215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD2=1; - TH1F* h2CeffHBnegativedirectionReconoiseD2 = new TH1F("h2CeffHBnegativedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD2 == 1) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 2) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 3) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 4) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 5) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 6) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 7) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 8) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 9) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==10) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==11) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==12) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==13) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==14) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==15) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==16) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); - HBnegativedirectionReconoiseD2->Draw("Error"); - kcountHBnegativedirectionReconoiseD2++; - if(kcountHBnegativedirectionReconoiseD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD2 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD2 = new TH1F("h2CeffHBnegativedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBnegativedirectionReconoiseD2 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD2 == 1) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 2) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 3) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 4) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 5) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 6) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 7) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 8) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 9) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 10) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 11) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 12) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 13) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 14) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 15) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 16) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); + HBnegativedirectionReconoiseD2->Draw("Error"); + kcountHBnegativedirectionReconoiseD2++; + if (kcountHBnegativedirectionReconoiseD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD2) delete h2CeffHBnegativedirectionReconoiseD2; - //========================================================================================== 22216 + if (h2CeffHBnegativedirectionReconoiseD2) + delete h2CeffHBnegativedirectionReconoiseD2; + //========================================================================================== 22216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD3=1; - TH1F* h2CeffHBnegativedirectionReconoiseD3 = new TH1F("h2CeffHBnegativedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD3 == 1) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 2) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 3) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 4) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 5) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 6) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 7) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 8) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 9) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==10) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==11) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==12) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==13) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==14) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==15) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==16) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); - HBnegativedirectionReconoiseD3->Draw("Error"); - kcountHBnegativedirectionReconoiseD3++; - if(kcountHBnegativedirectionReconoiseD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD3 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD3 = new TH1F("h2CeffHBnegativedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBnegativedirectionReconoiseD3 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD3 == 1) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 2) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 3) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 4) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 5) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 6) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 7) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 8) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 9) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 10) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 11) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 12) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 13) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 14) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 15) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 16) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); + HBnegativedirectionReconoiseD3->Draw("Error"); + kcountHBnegativedirectionReconoiseD3++; + if (kcountHBnegativedirectionReconoiseD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD3) delete h2CeffHBnegativedirectionReconoiseD3; + if (h2CeffHBnegativedirectionReconoiseD3) + delete h2CeffHBnegativedirectionReconoiseD3; //========================================================================================== 22217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); - c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD4=1; - TH1F* h2CeffHBnegativedirectionReconoiseD4 = new TH1F("h2CeffHBnegativedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD4 == 1) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 2) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 3) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 4) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 5) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 6) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 7) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 8) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 9) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==10) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==11) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==12) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==13) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==14) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==15) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==16) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); - HBnegativedirectionReconoiseD4->Draw("Error"); - kcountHBnegativedirectionReconoiseD4++; - if(kcountHBnegativedirectionReconoiseD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(4, 4); + c3x5->cd(1); + int kcountHBnegativedirectionReconoiseD4 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD4 = new TH1F("h2CeffHBnegativedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBnegativedirectionReconoiseD4 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD4 == 1) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 2) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 3) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 4) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 5) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 6) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 7) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 8) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 9) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 10) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 11) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 12) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 13) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 14) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 15) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 16) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); + HBnegativedirectionReconoiseD4->Draw("Error"); + kcountHBnegativedirectionReconoiseD4++; + if (kcountHBnegativedirectionReconoiseD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD4) delete h2CeffHBnegativedirectionReconoiseD4; - - - + if (h2CeffHBnegativedirectionReconoiseD4) + delete h2CeffHBnegativedirectionReconoiseD4; //===================================================================== END of Reconoise HB for phi-symmetry //===================================================================== END of Reconoise HB for phi-symmetry //===================================================================== END of Reconoise HB for phi-symmetry - - - - - - //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[3]; - ndepth = 7; - // const int ndepth = 7; - double areconoisehe[ndepth][njeta][njphi]; - double breconoisehe[ndepth][njeta][njphi]; - double reconoisevariancehe[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double areconoisehe[ndepth][njeta][njphi]; + double breconoisehe[ndepth][njeta][njphi]; + double reconoisevariancehe[ndepth][njeta][njphi]; //////////////////////////////////////////////////////////////////////////////////////////////////////////// - TH2F *recNoiseEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE1"); - TH2F *recNoiseEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + TH2F* recNoiseEnergy1HE1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE1"); + TH2F* recNoiseEnergy0HE1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); TH2F* recNoiseEnergyHE1 = (TH2F*)recNoiseEnergy1HE1->Clone("recNoiseEnergyHE1"); - recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1,recNoiseEnergy0HE1, 1, 1, "B"); - TH2F *recNoiseEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE2"); - TH2F *recNoiseEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1, recNoiseEnergy0HE1, 1, 1, "B"); + TH2F* recNoiseEnergy1HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE2"); + TH2F* recNoiseEnergy0HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); TH2F* recNoiseEnergyHE2 = (TH2F*)recNoiseEnergy1HE2->Clone("recNoiseEnergyHE2"); - recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2,recNoiseEnergy0HE2, 1, 1, "B"); - TH2F *recNoiseEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE3"); - TH2F *recNoiseEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2, recNoiseEnergy0HE2, 1, 1, "B"); + TH2F* recNoiseEnergy1HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE3"); + TH2F* recNoiseEnergy0HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); TH2F* recNoiseEnergyHE3 = (TH2F*)recNoiseEnergy1HE3->Clone("recNoiseEnergyHE3"); - recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3,recNoiseEnergy0HE3, 1, 1, "B"); - TH2F *recNoiseEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE4"); - TH2F *recNoiseEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3, recNoiseEnergy0HE3, 1, 1, "B"); + TH2F* recNoiseEnergy1HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE4"); + TH2F* recNoiseEnergy0HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); TH2F* recNoiseEnergyHE4 = (TH2F*)recNoiseEnergy1HE4->Clone("recNoiseEnergyHE4"); - recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4,recNoiseEnergy0HE4, 1, 1, "B"); - TH2F *recNoiseEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE5"); - TH2F *recNoiseEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4, recNoiseEnergy0HE4, 1, 1, "B"); + TH2F* recNoiseEnergy1HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE5"); + TH2F* recNoiseEnergy0HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); TH2F* recNoiseEnergyHE5 = (TH2F*)recNoiseEnergy1HE5->Clone("recNoiseEnergyHE5"); - recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5,recNoiseEnergy0HE5, 1, 1, "B"); - TH2F *recNoiseEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE6"); - TH2F *recNoiseEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5, recNoiseEnergy0HE5, 1, 1, "B"); + TH2F* recNoiseEnergy1HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE6"); + TH2F* recNoiseEnergy0HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); TH2F* recNoiseEnergyHE6 = (TH2F*)recNoiseEnergy1HE6->Clone("recNoiseEnergyHE6"); - recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6,recNoiseEnergy0HE6, 1, 1, "B"); - TH2F *recNoiseEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE7"); - TH2F *recNoiseEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6, recNoiseEnergy0HE6, 1, 1, "B"); + TH2F* recNoiseEnergy1HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE7"); + TH2F* recNoiseEnergy0HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); TH2F* recNoiseEnergyHE7 = (TH2F*)recNoiseEnergy1HE7->Clone("recNoiseEnergyHE7"); - recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7,recNoiseEnergy0HE7, 1, 1, "B"); - for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7, recNoiseEnergy0HE7, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { //====================================================================== PHI normalization & put R into massive areconoisehe //preparation for PHI normalization: - double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; - double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - areconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); - areconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); - areconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); - areconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); - areconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); - areconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); - - breconoisehe[0][jeta][jphi] = recNoiseEnergyHE1->GetBinContent(jeta+1,jphi+1); - breconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); - breconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); - breconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); - breconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); - breconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); - breconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); - - if(areconoisehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += areconoisehe[0][jeta][jphi];++nsumreconoiseHE0;} - if(areconoisehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += areconoisehe[1][jeta][jphi];++nsumreconoiseHE1;} - if(areconoisehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += areconoisehe[2][jeta][jphi];++nsumreconoiseHE2;} - if(areconoisehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += areconoisehe[3][jeta][jphi];++nsumreconoiseHE3;} - if(areconoisehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += areconoisehe[4][jeta][jphi];++nsumreconoiseHE4;} - if(areconoisehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += areconoisehe[5][jeta][jphi];++nsumreconoiseHE5;} - if(areconoisehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += areconoisehe[6][jeta][jphi];++nsumreconoiseHE6;} - }// phi - - // PHI normalization for DIF: - for(int jphi=0;jphiGetBinContent(jeta + 1, jphi + 1); + areconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta + 1, jphi + 1); + + breconoisehe[0][jeta][jphi] = recNoiseEnergyHE1->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta + 1, jphi + 1); + + if (areconoisehe[0][jeta][jphi] != 0.) { + sumreconoiseHE0 += areconoisehe[0][jeta][jphi]; + ++nsumreconoiseHE0; + } + if (areconoisehe[1][jeta][jphi] != 0.) { + sumreconoiseHE1 += areconoisehe[1][jeta][jphi]; + ++nsumreconoiseHE1; + } + if (areconoisehe[2][jeta][jphi] != 0.) { + sumreconoiseHE2 += areconoisehe[2][jeta][jphi]; + ++nsumreconoiseHE2; + } + if (areconoisehe[3][jeta][jphi] != 0.) { + sumreconoiseHE3 += areconoisehe[3][jeta][jphi]; + ++nsumreconoiseHE3; + } + if (areconoisehe[4][jeta][jphi] != 0.) { + sumreconoiseHE4 += areconoisehe[4][jeta][jphi]; + ++nsumreconoiseHE4; + } + if (areconoisehe[5][jeta][jphi] != 0.) { + sumreconoiseHE5 += areconoisehe[5][jeta][jphi]; + ++nsumreconoiseHE5; + } + if (areconoisehe[6][jeta][jphi] != 0.) { + sumreconoiseHE6 += areconoisehe[6][jeta][jphi]; + ++nsumreconoiseHE6; + } + } // phi + + // PHI normalization for DIF: + for (int jphi = 0; jphi < njphi; jphi++) { + if (sumreconoiseHE0 != 0.) + breconoisehe[0][jeta][jphi] -= (sumreconoiseHE0 / nsumreconoiseHE0); + if (sumreconoiseHE1 != 0.) + breconoisehe[1][jeta][jphi] -= (sumreconoiseHE1 / nsumreconoiseHE1); + if (sumreconoiseHE2 != 0.) + breconoisehe[2][jeta][jphi] -= (sumreconoiseHE2 / nsumreconoiseHE2); + if (sumreconoiseHE3 != 0.) + breconoisehe[3][jeta][jphi] -= (sumreconoiseHE3 / nsumreconoiseHE3); + if (sumreconoiseHE4 != 0.) + breconoisehe[4][jeta][jphi] -= (sumreconoiseHE4 / nsumreconoiseHE4); + if (sumreconoiseHE5 != 0.) + breconoisehe[5][jeta][jphi] -= (sumreconoiseHE5 / nsumreconoiseHE5); + if (sumreconoiseHE6 != 0.) + breconoisehe[6][jeta][jphi] -= (sumreconoiseHE6 / nsumreconoiseHE6); + } // phi // PHI normalization for R: - for(int jphi=0;jphi= - }//eta + for (int jphi = 0; jphi < njphi; jphi++) { + if (sumreconoiseHE0 != 0.) + areconoisehe[0][jeta][jphi] /= (sumreconoiseHE0 / nsumreconoiseHE0); + if (sumreconoiseHE1 != 0.) + areconoisehe[1][jeta][jphi] /= (sumreconoiseHE1 / nsumreconoiseHE1); + if (sumreconoiseHE2 != 0.) + areconoisehe[2][jeta][jphi] /= (sumreconoiseHE2 / nsumreconoiseHE2); + if (sumreconoiseHE3 != 0.) + areconoisehe[3][jeta][jphi] /= (sumreconoiseHE3 / nsumreconoiseHE3); + if (sumreconoiseHE4 != 0.) + areconoisehe[4][jeta][jphi] /= (sumreconoiseHE4 / nsumreconoiseHE4); + if (sumreconoiseHE5 != 0.) + areconoisehe[5][jeta][jphi] /= (sumreconoiseHE5 / nsumreconoiseHE5); + if (sumreconoiseHE6 != 0.) + areconoisehe[6][jeta][jphi] /= (sumreconoiseHE6 / nsumreconoiseHE6); + } // phi + } //if( (jeta-41 >= + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthes //====================================================================== // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HE //====================================================================== c2x1->Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRreconoiseHE42D = new TH2F("GefzRreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRreconoiseHE42D0 = new TH2F("GefzRreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHE42D = new TH2F("GefzRreconoiseHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRreconoiseHE42D0 = new TH2F("GefzRreconoiseHE42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRreconoiseHE42DF = (TH2F*)GefzRreconoiseHE42D0->Clone("GefzRreconoiseHE42DF"); - for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHE42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzRreconoiseHE42DF->Divide(GefzRreconoiseHE42D,GefzRreconoiseHE42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHE42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRreconoiseHE42D->Fill(kkk, jphi, ccc1); + GefzRreconoiseHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzRreconoiseHE42DF->Divide(GefzRreconoiseHE42D, GefzRreconoiseHE42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE42DF->SetXTitle("_depth #eta \b"); + GefzRreconoiseHE42DF->SetYTitle(" #phi \b"); GefzRreconoiseHE42DF->Draw("COLZ"); - c2x1->cd(2); - TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); - energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); - - - + TH1F* energyhitNoise_HE = (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); + energyhitNoise_HE->SetMarkerStyle(20); + energyhitNoise_HE->SetMarkerSize(0.4); + energyhitNoise_HE->GetYaxis()->SetLabelSize(0.04); + energyhitNoise_HE->SetXTitle("energyhitNoise_HE \b"); + energyhitNoise_HE->SetMarkerColor(2); + energyhitNoise_HE->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitNoise_HE->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RreconoiseGeneralD2PhiSymmetryHE.png"); c2x1->Clear(); // clean-up - if (GefzRreconoiseHE42D) delete GefzRreconoiseHE42D; - if (GefzRreconoiseHE42D0) delete GefzRreconoiseHE42D0; - if (GefzRreconoiseHE42DF) delete GefzRreconoiseHE42DF; + if (GefzRreconoiseHE42D) + delete GefzRreconoiseHE42D; + if (GefzRreconoiseHE42D0) + delete GefzRreconoiseHE42D0; + if (GefzRreconoiseHE42DF) + delete GefzRreconoiseHE42DF; //====================================================================== 1D plot: R vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRreconoiseHE41D = new TH1F("GefzRreconoiseHE41D","", nphi, 0., 72. ); - TH1F* GefzRreconoiseHE41D0 = new TH1F("GefzRreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHE41D = new TH1F("GefzRreconoiseHE41D", "", nphi, 0., 72.); + TH1F* GefzRreconoiseHE41D0 = new TH1F("GefzRreconoiseHE41D0", "", nphi, 0., 72.); TH1F* GefzRreconoiseHE41DF = (TH1F*)GefzRreconoiseHE41D0->Clone("GefzRreconoiseHE41DF"); - for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHE41D0 ->Fill(jphi,1.); } - }}}} - GefzRreconoiseHE41DF->Divide(GefzRreconoiseHE41D,GefzRreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRreconoiseHE41D->Fill(jphi, ccc1); + GefzRreconoiseHE41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzRreconoiseHE41DF->Divide(GefzRreconoiseHE41D, GefzRreconoiseHE41D0, 1, 1, "B"); // R averaged over depthes & eta GefzRreconoiseHE41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHE41DF->SetMarkerStyle(20); GefzRreconoiseHE41DF->SetMarkerSize(1.4); GefzRreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHE41DF->SetXTitle("#phi \b"); GefzRreconoiseHE41DF->SetYTitle(" \b"); GefzRreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRreconoiseHE41DF->SetMarkerColor(4); GefzRreconoiseHE41DF->SetLineColor(4); // GefzRreconoiseHE41DF->SetMinimum(0.8); // GefzRreconoiseHE41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE41DF->SetMarkerStyle(20); + GefzRreconoiseHE41DF->SetMarkerSize(1.4); + GefzRreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); + GefzRreconoiseHE41DF->SetXTitle("#phi \b"); + GefzRreconoiseHE41DF->SetYTitle(" \b"); + GefzRreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); + GefzRreconoiseHE41DF->SetMarkerColor(4); + GefzRreconoiseHE41DF->SetLineColor( + 4); // GefzRreconoiseHE41DF->SetMinimum(0.8); // GefzRreconoiseHE41DF->SetMaximum(1.000); GefzRreconoiseHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RreconoiseGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (GefzRreconoiseHE41D) delete GefzRreconoiseHE41D; - if (GefzRreconoiseHE41D0) delete GefzRreconoiseHE41D0; - if (GefzRreconoiseHE41DF) delete GefzRreconoiseHE41DF; + if (GefzRreconoiseHE41D) + delete GefzRreconoiseHE41D; + if (GefzRreconoiseHE41D0) + delete GefzRreconoiseHE41D0; + if (GefzRreconoiseHE41DF) + delete GefzRreconoiseHE41DF; - - //========================================================================================== 4 + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoise1=1; - TH1F* h2CeffHEpositivedirectionReconoise1 = new TH1F("h2CeffHEpositivedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + if (jeta - 41 >= 15 && jeta - 41 <= 28) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEpositivedirectionReconoise1 = "<SetMarkerColor(2);HEpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise1 == 1) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 2) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 3) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 4) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 5) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 6) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 7) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 8) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 9) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 ==10) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 ==11) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 ==12) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionReconoise1->Draw("Error"); - kcountHEpositivedirectionReconoise1++; - if(kcountHEpositivedirectionReconoise1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 15 && jeta-41 <= 28 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEpositivedirectionReconoise1 = (TH1F*)h2CeffHEpositivedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEpositivedirectionReconoise1 = "<SetMarkerColor(2); + HEpositivedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise1 == 1) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 2) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 3) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 4) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 5) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 6) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 7) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 8) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 9) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 10) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 11) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 12) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoise1->Draw("Error"); + kcountHEpositivedirectionReconoise1++; + if (kcountHEpositivedirectionReconoise1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 15 && jeta-41 <= 28 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise1) delete h2CeffHEpositivedirectionReconoise1; - + if (h2CeffHEpositivedirectionReconoise1) + delete h2CeffHEpositivedirectionReconoise1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise2=1; - TH1F* h2CeffHEpositivedirectionReconoise2 = new TH1F("h2CeffHEpositivedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEpositivedirectionReconoise2 = "<SetMarkerColor(2);HEpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise2 == 1) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 2) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 3) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 4) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 5) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 6) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 7) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 8) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 9) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==10) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==11) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==12) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==13) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionReconoise2->Draw("Error"); - kcountHEpositivedirectionReconoise2++; - if(kcountHEpositivedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise2 = 1; + TH1F* h2CeffHEpositivedirectionReconoise2 = new TH1F("h2CeffHEpositivedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEpositivedirectionReconoise2 = "<SetMarkerColor(2); + HEpositivedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise2 == 1) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 2) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 3) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 4) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 5) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 6) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 7) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 8) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 9) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 10) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 11) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 12) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 13) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoise2->Draw("Error"); + kcountHEpositivedirectionReconoise2++; + if (kcountHEpositivedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise2) delete h2CeffHEpositivedirectionReconoise2; - //========================================================================================== 6 + if (h2CeffHEpositivedirectionReconoise2) + delete h2CeffHEpositivedirectionReconoise2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise3=1; - TH1F* h2CeffHEpositivedirectionReconoise3 = new TH1F("h2CeffHEpositivedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEpositivedirectionReconoise3 = "<SetMarkerColor(2);HEpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise3 == 1) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 2) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 3) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 4) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 5) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 6) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 7) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 8) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 9) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==10) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==11) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==12) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==13) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionReconoise3->Draw("Error"); - kcountHEpositivedirectionReconoise3++; - if(kcountHEpositivedirectionReconoise3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise3 = 1; + TH1F* h2CeffHEpositivedirectionReconoise3 = new TH1F("h2CeffHEpositivedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEpositivedirectionReconoise3 = "<SetMarkerColor(2); + HEpositivedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise3 == 1) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 2) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 3) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 4) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 5) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 6) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 7) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 8) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 9) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 10) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 11) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 12) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 13) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoise3->Draw("Error"); + kcountHEpositivedirectionReconoise3++; + if (kcountHEpositivedirectionReconoise3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise3) delete h2CeffHEpositivedirectionReconoise3; - //========================================================================================== 7 + if (h2CeffHEpositivedirectionReconoise3) + delete h2CeffHEpositivedirectionReconoise3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise4=1; - TH1F* h2CeffHEpositivedirectionReconoise4 = new TH1F("h2CeffHEpositivedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEpositivedirectionReconoise4 = "<SetMarkerColor(2);HEpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise4 == 1) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 2) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 3) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 4) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 5) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 6) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 7) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 8) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 9) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 ==10) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 ==11) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 ==12) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionReconoise4->Draw("Error"); - kcountHEpositivedirectionReconoise4++; - if(kcountHEpositivedirectionReconoise4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise4 = 1; + TH1F* h2CeffHEpositivedirectionReconoise4 = new TH1F("h2CeffHEpositivedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEpositivedirectionReconoise4 = "<SetMarkerColor(2); + HEpositivedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise4 == 1) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 2) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 3) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 4) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 5) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 6) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 7) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 8) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 9) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 10) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 11) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 12) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoise4->Draw("Error"); + kcountHEpositivedirectionReconoise4++; + if (kcountHEpositivedirectionReconoise4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise4) delete h2CeffHEpositivedirectionReconoise4; - //========================================================================================== 8 + if (h2CeffHEpositivedirectionReconoise4) + delete h2CeffHEpositivedirectionReconoise4; + //========================================================================================== 8 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise5=1; - TH1F* h2CeffHEpositivedirectionReconoise5 = new TH1F("h2CeffHEpositivedirectionReconoise5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise5 == 1) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 2) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 3) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 4) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 5) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 6) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 7) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 8) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 9) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 ==10) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 ==11) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionReconoise5->Draw("Error"); - kcountHEpositivedirectionReconoise5++; - if(kcountHEpositivedirectionReconoise5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise5 = 1; + TH1F* h2CeffHEpositivedirectionReconoise5 = new TH1F("h2CeffHEpositivedirectionReconoise5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEpositivedirectionReconoise5 = "<SetMarkerColor(2); + HEpositivedirectionReconoise5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise5 == 1) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 2) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 3) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 4) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 5) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 6) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 7) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 8) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 9) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 10) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 11) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoise5->Draw("Error"); + kcountHEpositivedirectionReconoise5++; + if (kcountHEpositivedirectionReconoise5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise5) delete h2CeffHEpositivedirectionReconoise5; - //========================================================================================== 9 + if (h2CeffHEpositivedirectionReconoise5) + delete h2CeffHEpositivedirectionReconoise5; + //========================================================================================== 9 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise6=1; - TH1F* h2CeffHEpositivedirectionReconoise6 = new TH1F("h2CeffHEpositivedirectionReconoise6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEpositivedirectionReconoise6 = "<SetMarkerColor(2);HEpositivedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise6 == 1) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 2) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 3) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 4) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 5) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 6) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 7) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 8) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 9) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 ==10) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionReconoise6->Draw("Error"); - kcountHEpositivedirectionReconoise6++; - if(kcountHEpositivedirectionReconoise6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise6 = 1; + TH1F* h2CeffHEpositivedirectionReconoise6 = new TH1F("h2CeffHEpositivedirectionReconoise6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEpositivedirectionReconoise6 = "<SetMarkerColor(2); + HEpositivedirectionReconoise6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise6 == 1) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 2) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 3) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 4) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 5) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 6) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 7) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 8) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 9) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 10) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoise6->Draw("Error"); + kcountHEpositivedirectionReconoise6++; + if (kcountHEpositivedirectionReconoise6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise6) delete h2CeffHEpositivedirectionReconoise6; - //========================================================================================== 10 + if (h2CeffHEpositivedirectionReconoise6) + delete h2CeffHEpositivedirectionReconoise6; + //========================================================================================== 10 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoise7=1; - TH1F* h2CeffHEpositivedirectionReconoise7 = new TH1F("h2CeffHEpositivedirectionReconoise7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEpositivedirectionReconoise7 = "<SetMarkerColor(2);HEpositivedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise7 == 1) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionReconoise7 == 2) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionReconoise7 == 3) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionReconoise7->Draw("Error"); - kcountHEpositivedirectionReconoise7++; - if(kcountHEpositivedirectionReconoise7>3) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoise7 = 1; + TH1F* h2CeffHEpositivedirectionReconoise7 = new TH1F("h2CeffHEpositivedirectionReconoise7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEpositivedirectionReconoise7 = "<SetMarkerColor(2); + HEpositivedirectionReconoise7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise7 == 1) + HEpositivedirectionReconoise7->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionReconoise7 == 2) + HEpositivedirectionReconoise7->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionReconoise7 == 3) + HEpositivedirectionReconoise7->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoise7->Draw("Error"); + kcountHEpositivedirectionReconoise7++; + if (kcountHEpositivedirectionReconoise7 > 3) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise7) delete h2CeffHEpositivedirectionReconoise7; + if (h2CeffHEpositivedirectionReconoise7) + delete h2CeffHEpositivedirectionReconoise7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoise1=1; - TH1F* h2CeffHEnegativedirectionReconoise1 = new TH1F("h2CeffHEnegativedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + if (jeta - 41 >= -29 && jeta - 41 <= -16) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEnegativedirectionReconoise1 = "<SetMarkerColor(2);HEnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise1 == 1) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 2) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 3) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 4) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 5) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 6) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 7) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 8) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 9) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 ==10) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 ==11) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 ==12) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionReconoise1->Draw("Error"); - kcountHEnegativedirectionReconoise1++; - if(kcountHEnegativedirectionReconoise1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEnegativedirectionReconoise1 = (TH1F*)h2CeffHEnegativedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEnegativedirectionReconoise1 = "<SetMarkerColor(2); + HEnegativedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise1 == 1) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 2) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 3) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 4) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 5) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 6) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 7) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 8) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 9) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 10) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 11) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 12) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoise1->Draw("Error"); + kcountHEnegativedirectionReconoise1++; + if (kcountHEnegativedirectionReconoise1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise1) delete h2CeffHEnegativedirectionReconoise1; - + if (h2CeffHEnegativedirectionReconoise1) + delete h2CeffHEnegativedirectionReconoise1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise2=1; - TH1F* h2CeffHEnegativedirectionReconoise2 = new TH1F("h2CeffHEnegativedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEnegativedirectionReconoise2 = "<SetMarkerColor(2);HEnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise2 == 1) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 2) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 3) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 4) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 5) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 6) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 7) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 8) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 9) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==10) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==11) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==12) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==13) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionReconoise2->Draw("Error"); - kcountHEnegativedirectionReconoise2++; - if(kcountHEnegativedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise2 = 1; + TH1F* h2CeffHEnegativedirectionReconoise2 = new TH1F("h2CeffHEnegativedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEnegativedirectionReconoise2 = "<SetMarkerColor(2); + HEnegativedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise2 == 1) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 2) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 3) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 4) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 5) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 6) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 7) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 8) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 9) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 10) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 11) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 12) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 13) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoise2->Draw("Error"); + kcountHEnegativedirectionReconoise2++; + if (kcountHEnegativedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise2) delete h2CeffHEnegativedirectionReconoise2; - //========================================================================================== 1116 + if (h2CeffHEnegativedirectionReconoise2) + delete h2CeffHEnegativedirectionReconoise2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise3=1; - TH1F* h2CeffHEnegativedirectionReconoise3 = new TH1F("h2CeffHEnegativedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEnegativedirectionReconoise3 = "<SetMarkerColor(2);HEnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise3 == 1) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 2) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 3) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 4) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 5) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 6) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 7) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 8) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 9) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==10) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==11) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==12) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==13) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionReconoise3->Draw("Error"); - kcountHEnegativedirectionReconoise3++; - if(kcountHEnegativedirectionReconoise3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise3 = 1; + TH1F* h2CeffHEnegativedirectionReconoise3 = new TH1F("h2CeffHEnegativedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEnegativedirectionReconoise3 = "<SetMarkerColor(2); + HEnegativedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise3 == 1) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 2) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 3) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 4) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 5) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 6) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 7) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 8) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 9) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 10) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 11) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 12) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 13) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoise3->Draw("Error"); + kcountHEnegativedirectionReconoise3++; + if (kcountHEnegativedirectionReconoise3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise3) delete h2CeffHEnegativedirectionReconoise3; - //========================================================================================== 1117 + if (h2CeffHEnegativedirectionReconoise3) + delete h2CeffHEnegativedirectionReconoise3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise4=1; - TH1F* h2CeffHEnegativedirectionReconoise4 = new TH1F("h2CeffHEnegativedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEnegativedirectionReconoise4 = "<SetMarkerColor(2);HEnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise4 == 1) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 2) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 3) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 4) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 5) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 6) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 7) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 8) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 9) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 ==10) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 ==11) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 ==12) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionReconoise4->Draw("Error"); - kcountHEnegativedirectionReconoise4++; - if(kcountHEnegativedirectionReconoise4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise4 = 1; + TH1F* h2CeffHEnegativedirectionReconoise4 = new TH1F("h2CeffHEnegativedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEnegativedirectionReconoise4 = "<SetMarkerColor(2); + HEnegativedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise4 == 1) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 2) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 3) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 4) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 5) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 6) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 7) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 8) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 9) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 10) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 11) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 12) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoise4->Draw("Error"); + kcountHEnegativedirectionReconoise4++; + if (kcountHEnegativedirectionReconoise4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise4) delete h2CeffHEnegativedirectionReconoise4; - //========================================================================================== 1118 + if (h2CeffHEnegativedirectionReconoise4) + delete h2CeffHEnegativedirectionReconoise4; + //========================================================================================== 1118 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise5=1; - TH1F* h2CeffHEnegativedirectionReconoise5 = new TH1F("h2CeffHEnegativedirectionReconoise5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise5 == 1) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 2) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 3) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 4) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 5) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 6) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 7) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 8) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 9) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 ==10) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 ==11) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionReconoise5->Draw("Error"); - kcountHEnegativedirectionReconoise5++; - if(kcountHEnegativedirectionReconoise5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise5 = 1; + TH1F* h2CeffHEnegativedirectionReconoise5 = new TH1F("h2CeffHEnegativedirectionReconoise5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEnegativedirectionReconoise5 = "<SetMarkerColor(2); + HEnegativedirectionReconoise5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise5 == 1) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 2) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 3) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 4) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 5) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 6) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 7) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 8) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 9) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 10) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 11) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoise5->Draw("Error"); + kcountHEnegativedirectionReconoise5++; + if (kcountHEnegativedirectionReconoise5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise5) delete h2CeffHEnegativedirectionReconoise5; - //========================================================================================== 1119 + if (h2CeffHEnegativedirectionReconoise5) + delete h2CeffHEnegativedirectionReconoise5; + //========================================================================================== 1119 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise6=1; - TH1F* h2CeffHEnegativedirectionReconoise6 = new TH1F("h2CeffHEnegativedirectionReconoise6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEnegativedirectionReconoise6 = "<SetMarkerColor(2);HEnegativedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise6 == 1) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 2) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 3) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 4) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 5) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 6) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 7) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 8) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 9) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 ==10) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionReconoise6->Draw("Error"); - kcountHEnegativedirectionReconoise6++; - if(kcountHEnegativedirectionReconoise6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise6 = 1; + TH1F* h2CeffHEnegativedirectionReconoise6 = new TH1F("h2CeffHEnegativedirectionReconoise6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEnegativedirectionReconoise6 = "<SetMarkerColor(2); + HEnegativedirectionReconoise6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise6 == 1) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 2) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 3) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 4) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 5) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 6) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 7) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 8) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 9) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 10) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoise6->Draw("Error"); + kcountHEnegativedirectionReconoise6++; + if (kcountHEnegativedirectionReconoise6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise6) delete h2CeffHEnegativedirectionReconoise6; - //========================================================================================== 11110 + if (h2CeffHEnegativedirectionReconoise6) + delete h2CeffHEnegativedirectionReconoise6; + //========================================================================================== 11110 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoise7=1; - TH1F* h2CeffHEnegativedirectionReconoise7 = new TH1F("h2CeffHEnegativedirectionReconoise7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEnegativedirectionReconoise7 = "<SetMarkerColor(2);HEnegativedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise7 == 1) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionReconoise7 == 2) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionReconoise7 == 3) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionReconoise7->Draw("Error"); - kcountHEnegativedirectionReconoise7++; - if(kcountHEnegativedirectionReconoise7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoise7 = 1; + TH1F* h2CeffHEnegativedirectionReconoise7 = new TH1F("h2CeffHEnegativedirectionReconoise7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEnegativedirectionReconoise7 = "<SetMarkerColor(2); + HEnegativedirectionReconoise7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise7 == 1) + HEnegativedirectionReconoise7->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionReconoise7 == 2) + HEnegativedirectionReconoise7->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionReconoise7 == 3) + HEnegativedirectionReconoise7->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoise7->Draw("Error"); + kcountHEnegativedirectionReconoise7++; + if (kcountHEnegativedirectionReconoise7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise7) delete h2CeffHEnegativedirectionReconoise7; + if (h2CeffHEnegativedirectionReconoise7) + delete h2CeffHEnegativedirectionReconoise7; //====================================================================================================================== //====================================================================================================================== @@ -6667,857 +9236,1161 @@ main(int argc, char *argv[]){ //====================================================================== c2x1->Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzDIFreconoiseHE42D = new TH2F("GefzDIFreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzDIFreconoiseHE42D0 = new TH2F("GefzDIFreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHE42D = new TH2F("GefzDIFreconoiseHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzDIFreconoiseHE42D0 = new TH2F("GefzDIFreconoiseHE42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzDIFreconoiseHE42DF = (TH2F*)GefzDIFreconoiseHE42D0->Clone("GefzDIFreconoiseHE42DF"); - for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzDIFreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHE42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzDIFreconoiseHE42DF->Divide(GefzDIFreconoiseHE42D,GefzDIFreconoiseHE42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHE42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzDIFreconoiseHE42D->Fill(kkk, jphi, ccc1); + GefzDIFreconoiseHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHE42DF->Divide(GefzDIFreconoiseHE42D, GefzDIFreconoiseHE42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE42DF->SetXTitle("_depth #eta \b"); + GefzDIFreconoiseHE42DF->SetYTitle(" #phi \b"); GefzDIFreconoiseHE42DF->Draw("COLZ"); - //c2x1->cd(2); //TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); - //energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); - - - + //energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHE.png"); c2x1->Clear(); // clean-up - if (GefzDIFreconoiseHE42D) delete GefzDIFreconoiseHE42D; - if (GefzDIFreconoiseHE42D0) delete GefzDIFreconoiseHE42D0; - if (GefzDIFreconoiseHE42DF) delete GefzDIFreconoiseHE42DF; + if (GefzDIFreconoiseHE42D) + delete GefzDIFreconoiseHE42D; + if (GefzDIFreconoiseHE42D0) + delete GefzDIFreconoiseHE42D0; + if (GefzDIFreconoiseHE42DF) + delete GefzDIFreconoiseHE42DF; //====================================================================== 1D plot: DIF vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: DIF vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzDIFreconoiseHE41D = new TH1F("GefzDIFreconoiseHE41D","", nphi, 0., 72. ); - TH1F* GefzDIFreconoiseHE41D0 = new TH1F("GefzDIFreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHE41D = new TH1F("GefzDIFreconoiseHE41D", "", nphi, 0., 72.); + TH1F* GefzDIFreconoiseHE41D0 = new TH1F("GefzDIFreconoiseHE41D0", "", nphi, 0., 72.); TH1F* GefzDIFreconoiseHE41DF = (TH1F*)GefzDIFreconoiseHE41D0->Clone("GefzDIFreconoiseHE41DF"); - for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHE41D0 ->Fill(jphi,1.); } - }}}} - GefzDIFreconoiseHE41DF->Divide(GefzDIFreconoiseHE41D,GefzDIFreconoiseHE41D0, 1, 1, "B");// DIF averaged over depthes & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzDIFreconoiseHE41D->Fill(jphi, ccc1); + GefzDIFreconoiseHE41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHE41DF->Divide( + GefzDIFreconoiseHE41D, GefzDIFreconoiseHE41D0, 1, 1, "B"); // DIF averaged over depthes & eta GefzDIFreconoiseHE41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHE41DF->SetMarkerStyle(20); GefzDIFreconoiseHE41DF->SetMarkerSize(1.4); GefzDIFreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHE41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHE41DF->SetYTitle(" \b"); GefzDIFreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzDIFreconoiseHE41DF->SetMarkerColor(4); GefzDIFreconoiseHE41DF->SetLineColor(4); // GefzDIFreconoiseHE41DF->SetMinimum(0.8); // GefzDIFreconoiseHE41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE41DF->SetMarkerStyle(20); + GefzDIFreconoiseHE41DF->SetMarkerSize(1.4); + GefzDIFreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); + GefzDIFreconoiseHE41DF->SetXTitle("#phi \b"); + GefzDIFreconoiseHE41DF->SetYTitle(" \b"); + GefzDIFreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); + GefzDIFreconoiseHE41DF->SetMarkerColor(4); + GefzDIFreconoiseHE41DF->SetLineColor( + 4); // GefzDIFreconoiseHE41DF->SetMinimum(0.8); // GefzDIFreconoiseHE41DF->SetMaximum(1.000); GefzDIFreconoiseHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (GefzDIFreconoiseHE41D) delete GefzDIFreconoiseHE41D; - if (GefzDIFreconoiseHE41D0) delete GefzDIFreconoiseHE41D0; - if (GefzDIFreconoiseHE41DF) delete GefzDIFreconoiseHE41DF; - + if (GefzDIFreconoiseHE41D) + delete GefzDIFreconoiseHE41D; + if (GefzDIFreconoiseHE41D0) + delete GefzDIFreconoiseHE41D0; + if (GefzDIFreconoiseHE41DF) + delete GefzDIFreconoiseHE41DF; - //========================================================================================== 4 + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF1=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + if (jeta - 41 >= 15 && jeta - 41 <= 28) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF1 == 1) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 2) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 3) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 4) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 5) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 6) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 7) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 8) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 9) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 ==10) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 ==11) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 ==12) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionReconoiseDIF1->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF1++; - if(kcountHEpositivedirectionReconoiseDIF1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 15 && jeta-41 <= 28 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEpositivedirectionReconoiseDIF1 = (TH1F*)h2CeffHEpositivedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF1 == 1) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 2) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 3) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 4) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 5) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 6) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 7) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 8) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 9) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 10) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 11) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 12) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF1++; + if (kcountHEpositivedirectionReconoiseDIF1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 15 && jeta-41 <= 28 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF1) delete h2CeffHEpositivedirectionReconoiseDIF1; - + if (h2CeffHEpositivedirectionReconoiseDIF1) + delete h2CeffHEpositivedirectionReconoiseDIF1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF2=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF2 == 1) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 2) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 3) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 4) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 5) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 6) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 7) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 8) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 9) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==10) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==11) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==12) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==13) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionReconoiseDIF2->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF2++; - if(kcountHEpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF2 == 1) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 2) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 3) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 4) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 5) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 6) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 7) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 8) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 9) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 10) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 11) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 12) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 13) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF2++; + if (kcountHEpositivedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF2) delete h2CeffHEpositivedirectionReconoiseDIF2; - //========================================================================================== 6 + if (h2CeffHEpositivedirectionReconoiseDIF2) + delete h2CeffHEpositivedirectionReconoiseDIF2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF3=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF3 == 1) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 2) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 3) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 4) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 5) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 6) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 7) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 8) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 9) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==10) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==11) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==12) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==13) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionReconoiseDIF3->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF3++; - if(kcountHEpositivedirectionReconoiseDIF3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF3 == 1) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 2) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 3) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 4) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 5) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 6) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 7) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 8) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 9) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 10) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 11) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 12) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 13) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF3++; + if (kcountHEpositivedirectionReconoiseDIF3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF3) delete h2CeffHEpositivedirectionReconoiseDIF3; - //========================================================================================== 7 + if (h2CeffHEpositivedirectionReconoiseDIF3) + delete h2CeffHEpositivedirectionReconoiseDIF3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF4=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF4 == 1) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 2) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 3) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 4) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 5) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 6) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 7) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 8) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 9) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 ==10) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 ==11) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 ==12) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionReconoiseDIF4->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF4++; - if(kcountHEpositivedirectionReconoiseDIF4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF4 == 1) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 2) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 3) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 4) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 5) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 6) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 7) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 8) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 9) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 10) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 11) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 12) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF4++; + if (kcountHEpositivedirectionReconoiseDIF4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF4) delete h2CeffHEpositivedirectionReconoiseDIF4; - //========================================================================================== 8 + if (h2CeffHEpositivedirectionReconoiseDIF4) + delete h2CeffHEpositivedirectionReconoiseDIF4; + //========================================================================================== 8 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF5=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF5 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF5 == 1) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 2) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 3) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 4) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 5) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 6) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 7) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 8) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 9) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 ==10) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 ==11) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionReconoiseDIF5->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF5++; - if(kcountHEpositivedirectionReconoiseDIF5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF5 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF5 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEpositivedirectionReconoiseDIF5 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF5 == 1) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 2) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 3) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 4) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 5) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 6) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 7) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 8) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 9) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 10) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 11) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseDIF5->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF5++; + if (kcountHEpositivedirectionReconoiseDIF5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF5) delete h2CeffHEpositivedirectionReconoiseDIF5; - //========================================================================================== 9 + if (h2CeffHEpositivedirectionReconoiseDIF5) + delete h2CeffHEpositivedirectionReconoiseDIF5; + //========================================================================================== 9 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF6=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF6 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEpositivedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF6 == 1) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 2) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 3) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 4) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 5) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 6) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 7) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 8) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 9) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 ==10) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionReconoiseDIF6->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF6++; - if(kcountHEpositivedirectionReconoiseDIF6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF6 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF6 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEpositivedirectionReconoiseDIF6 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF6 == 1) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 2) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 3) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 4) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 5) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 6) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 7) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 8) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 9) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 10) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseDIF6->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF6++; + if (kcountHEpositivedirectionReconoiseDIF6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF6) delete h2CeffHEpositivedirectionReconoiseDIF6; - //========================================================================================== 10 + if (h2CeffHEpositivedirectionReconoiseDIF6) + delete h2CeffHEpositivedirectionReconoiseDIF6; + //========================================================================================== 10 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF7=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF7 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEpositivedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF7 == 1) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseDIF7 == 2) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseDIF7 == 3) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionReconoiseDIF7->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF7++; - if(kcountHEpositivedirectionReconoiseDIF7>3) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseDIF7 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF7 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEpositivedirectionReconoiseDIF7 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF7 == 1) + HEpositivedirectionReconoiseDIF7->SetXTitle("DIF for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseDIF7 == 2) + HEpositivedirectionReconoiseDIF7->SetXTitle("DIF for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseDIF7 == 3) + HEpositivedirectionReconoiseDIF7->SetXTitle("DIF for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseDIF7->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF7++; + if (kcountHEpositivedirectionReconoiseDIF7 > 3) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF7) delete h2CeffHEpositivedirectionReconoiseDIF7; + if (h2CeffHEpositivedirectionReconoiseDIF7) + delete h2CeffHEpositivedirectionReconoiseDIF7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF1=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + if (jeta - 41 >= -29 && jeta - 41 <= -16) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF1 == 1) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 2) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 3) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 4) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 5) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 6) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 7) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 8) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 9) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 ==10) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 ==11) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 ==12) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionReconoiseDIF1->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF1++; - if(kcountHEnegativedirectionReconoiseDIF1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEnegativedirectionReconoiseDIF1 = (TH1F*)h2CeffHEnegativedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF1 == 1) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 2) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 3) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 4) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 5) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 6) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 7) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 8) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 9) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 10) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 11) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 12) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF1++; + if (kcountHEnegativedirectionReconoiseDIF1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF1) delete h2CeffHEnegativedirectionReconoiseDIF1; - + if (h2CeffHEnegativedirectionReconoiseDIF1) + delete h2CeffHEnegativedirectionReconoiseDIF1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF2=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF2 == 1) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 2) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 3) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 4) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 5) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 6) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 7) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 8) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 9) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==10) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==11) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==12) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==13) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionReconoiseDIF2->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF2++; - if(kcountHEnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF2 == 1) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 2) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 3) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 4) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 5) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 6) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 7) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 8) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 9) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 10) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 11) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 12) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 13) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF2++; + if (kcountHEnegativedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF2) delete h2CeffHEnegativedirectionReconoiseDIF2; - //========================================================================================== 1116 + if (h2CeffHEnegativedirectionReconoiseDIF2) + delete h2CeffHEnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF3=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF3 == 1) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 2) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 3) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 4) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 5) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 6) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 7) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 8) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 9) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==10) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==11) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==12) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==13) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionReconoiseDIF3->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF3++; - if(kcountHEnegativedirectionReconoiseDIF3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF3 == 1) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 2) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 3) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 4) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 5) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 6) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 7) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 8) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 9) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 10) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 11) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 12) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 13) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF3++; + if (kcountHEnegativedirectionReconoiseDIF3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF3) delete h2CeffHEnegativedirectionReconoiseDIF3; - //========================================================================================== 1117 + if (h2CeffHEnegativedirectionReconoiseDIF3) + delete h2CeffHEnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF4=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF4 == 1) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 2) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 3) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 4) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 5) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 6) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 7) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 8) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 9) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 ==10) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 ==11) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 ==12) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionReconoiseDIF4->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF4++; - if(kcountHEnegativedirectionReconoiseDIF4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF4 == 1) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 2) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 3) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 4) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 5) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 6) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 7) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 8) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 9) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 10) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 11) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 12) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF4++; + if (kcountHEnegativedirectionReconoiseDIF4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF4) delete h2CeffHEnegativedirectionReconoiseDIF4; - //========================================================================================== 1118 + if (h2CeffHEnegativedirectionReconoiseDIF4) + delete h2CeffHEnegativedirectionReconoiseDIF4; + //========================================================================================== 1118 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF5=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF5 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF5 == 1) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 2) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 3) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 4) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 5) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 6) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 7) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 8) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 9) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 ==10) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 ==11) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionReconoiseDIF5->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF5++; - if(kcountHEnegativedirectionReconoiseDIF5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF5 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF5 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEnegativedirectionReconoiseDIF5 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF5 == 1) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 2) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 3) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 4) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 5) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 6) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 7) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 8) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 9) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 10) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 11) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseDIF5->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF5++; + if (kcountHEnegativedirectionReconoiseDIF5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF5) delete h2CeffHEnegativedirectionReconoiseDIF5; - //========================================================================================== 1119 + if (h2CeffHEnegativedirectionReconoiseDIF5) + delete h2CeffHEnegativedirectionReconoiseDIF5; + //========================================================================================== 1119 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF6=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF6 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEnegativedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF6 == 1) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 2) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 3) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 4) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 5) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 6) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 7) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 8) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 9) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 ==10) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionReconoiseDIF6->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF6++; - if(kcountHEnegativedirectionReconoiseDIF6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF6 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF6 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEnegativedirectionReconoiseDIF6 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF6 == 1) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 2) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 3) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 4) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 5) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 6) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 7) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 8) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 9) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 10) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseDIF6->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF6++; + if (kcountHEnegativedirectionReconoiseDIF6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF6) delete h2CeffHEnegativedirectionReconoiseDIF6; - //========================================================================================== 11110 + if (h2CeffHEnegativedirectionReconoiseDIF6) + delete h2CeffHEnegativedirectionReconoiseDIF6; + //========================================================================================== 11110 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF7=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF7 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEnegativedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF7 == 1) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseDIF7 == 2) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseDIF7 == 3) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionReconoiseDIF7->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF7++; - if(kcountHEnegativedirectionReconoiseDIF7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseDIF7 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF7 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEnegativedirectionReconoiseDIF7 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF7 == 1) + HEnegativedirectionReconoiseDIF7->SetXTitle("DIF for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseDIF7 == 2) + HEnegativedirectionReconoiseDIF7->SetXTitle("DIF for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseDIF7 == 3) + HEnegativedirectionReconoiseDIF7->SetXTitle("DIF for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseDIF7->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF7++; + if (kcountHEnegativedirectionReconoiseDIF7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF7) delete h2CeffHEnegativedirectionReconoiseDIF7; + if (h2CeffHEnegativedirectionReconoiseDIF7) + delete h2CeffHEnegativedirectionReconoiseDIF7; //====================================================================================================================== //====================================================================================================================== @@ -7527,1605 +10400,2194 @@ main(int argc, char *argv[]){ //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HE1"); - TH2F *reconoiseVariance0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HE1"); + TH2F* reconoiseVariance0HE1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); TH2F* reconoiseVarianceHE1 = (TH2F*)reconoiseVariance1HE1->Clone("reconoiseVarianceHE1"); - reconoiseVarianceHE1->Divide(reconoiseVariance1HE1,reconoiseVariance0HE1, 1, 1, "B"); - TH2F *reconoiseVariance1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE2"); - TH2F *reconoiseVariance0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + reconoiseVarianceHE1->Divide(reconoiseVariance1HE1, reconoiseVariance0HE1, 1, 1, "B"); + TH2F* reconoiseVariance1HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE2"); + TH2F* reconoiseVariance0HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); TH2F* reconoiseVarianceHE2 = (TH2F*)reconoiseVariance1HE2->Clone("reconoiseVarianceHE2"); - reconoiseVarianceHE2->Divide(reconoiseVariance1HE2,reconoiseVariance0HE2, 1, 1, "B"); - TH2F *reconoiseVariance1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE3"); - TH2F *reconoiseVariance0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + reconoiseVarianceHE2->Divide(reconoiseVariance1HE2, reconoiseVariance0HE2, 1, 1, "B"); + TH2F* reconoiseVariance1HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE3"); + TH2F* reconoiseVariance0HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); TH2F* reconoiseVarianceHE3 = (TH2F*)reconoiseVariance1HE3->Clone("reconoiseVarianceHE3"); - reconoiseVarianceHE3->Divide(reconoiseVariance1HE3,reconoiseVariance0HE3, 1, 1, "B"); - TH2F *reconoiseVariance1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE4"); - TH2F *reconoiseVariance0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + reconoiseVarianceHE3->Divide(reconoiseVariance1HE3, reconoiseVariance0HE3, 1, 1, "B"); + TH2F* reconoiseVariance1HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE4"); + TH2F* reconoiseVariance0HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); TH2F* reconoiseVarianceHE4 = (TH2F*)reconoiseVariance1HE4->Clone("reconoiseVarianceHE4"); - reconoiseVarianceHE4->Divide(reconoiseVariance1HE4,reconoiseVariance0HE4, 1, 1, "B"); - TH2F *reconoiseVariance1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE5"); - TH2F *reconoiseVariance0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + reconoiseVarianceHE4->Divide(reconoiseVariance1HE4, reconoiseVariance0HE4, 1, 1, "B"); + TH2F* reconoiseVariance1HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE5"); + TH2F* reconoiseVariance0HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); TH2F* reconoiseVarianceHE5 = (TH2F*)reconoiseVariance1HE5->Clone("reconoiseVarianceHE5"); - reconoiseVarianceHE5->Divide(reconoiseVariance1HE5,reconoiseVariance0HE5, 1, 1, "B"); - TH2F *reconoiseVariance1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE6"); - TH2F *reconoiseVariance0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + reconoiseVarianceHE5->Divide(reconoiseVariance1HE5, reconoiseVariance0HE5, 1, 1, "B"); + TH2F* reconoiseVariance1HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE6"); + TH2F* reconoiseVariance0HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); TH2F* reconoiseVarianceHE6 = (TH2F*)reconoiseVariance1HE6->Clone("reconoiseVarianceHE6"); - reconoiseVarianceHE6->Divide(reconoiseVariance1HE6,reconoiseVariance0HE6, 1, 1, "B"); - TH2F *reconoiseVariance1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE7"); - TH2F *reconoiseVariance0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + reconoiseVarianceHE6->Divide(reconoiseVariance1HE6, reconoiseVariance0HE6, 1, 1, "B"); + TH2F* reconoiseVariance1HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE7"); + TH2F* reconoiseVariance0HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); TH2F* reconoiseVarianceHE7 = (TH2F*)reconoiseVariance1HE7->Clone("reconoiseVarianceHE7"); - reconoiseVarianceHE7->Divide(reconoiseVariance1HE7,reconoiseVariance0HE7, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevariancehe - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + reconoiseVarianceHE7->Divide(reconoiseVariance1HE7, reconoiseVariance0HE7, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { //preparation for PHI normalization: - double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; - double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - reconoisevariancehe[1][jeta][jphi] = reconoiseVarianceHE2->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[2][jeta][jphi] = reconoiseVarianceHE3->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[3][jeta][jphi] = reconoiseVarianceHE4->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[4][jeta][jphi] = reconoiseVarianceHE5->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[5][jeta][jphi] = reconoiseVarianceHE6->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[6][jeta][jphi] = reconoiseVarianceHE7->GetBinContent(jeta+1,jphi+1); - if(reconoisevariancehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += reconoisevariancehe[0][jeta][jphi];++nsumreconoiseHE0;} - if(reconoisevariancehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += reconoisevariancehe[1][jeta][jphi];++nsumreconoiseHE1;} - if(reconoisevariancehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += reconoisevariancehe[2][jeta][jphi];++nsumreconoiseHE2;} - if(reconoisevariancehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += reconoisevariancehe[3][jeta][jphi];++nsumreconoiseHE3;} - if(reconoisevariancehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += reconoisevariancehe[4][jeta][jphi];++nsumreconoiseHE4;} - if(reconoisevariancehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += reconoisevariancehe[5][jeta][jphi];++nsumreconoiseHE5;} - if(reconoisevariancehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += reconoisevariancehe[6][jeta][jphi];++nsumreconoiseHE6;} - }// phi + double sumreconoiseHE0 = 0; + int nsumreconoiseHE0 = 0; + double sumreconoiseHE1 = 0; + int nsumreconoiseHE1 = 0; + double sumreconoiseHE2 = 0; + int nsumreconoiseHE2 = 0; + double sumreconoiseHE3 = 0; + int nsumreconoiseHE3 = 0; + double sumreconoiseHE4 = 0; + int nsumreconoiseHE4 = 0; + double sumreconoiseHE5 = 0; + int nsumreconoiseHE5 = 0; + double sumreconoiseHE6 = 0; + int nsumreconoiseHE6 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + reconoisevariancehe[0][jeta][jphi] = reconoiseVarianceHE1->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[1][jeta][jphi] = reconoiseVarianceHE2->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[2][jeta][jphi] = reconoiseVarianceHE3->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[3][jeta][jphi] = reconoiseVarianceHE4->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[4][jeta][jphi] = reconoiseVarianceHE5->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[5][jeta][jphi] = reconoiseVarianceHE6->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[6][jeta][jphi] = reconoiseVarianceHE7->GetBinContent(jeta + 1, jphi + 1); + if (reconoisevariancehe[0][jeta][jphi] != 0.) { + sumreconoiseHE0 += reconoisevariancehe[0][jeta][jphi]; + ++nsumreconoiseHE0; + } + if (reconoisevariancehe[1][jeta][jphi] != 0.) { + sumreconoiseHE1 += reconoisevariancehe[1][jeta][jphi]; + ++nsumreconoiseHE1; + } + if (reconoisevariancehe[2][jeta][jphi] != 0.) { + sumreconoiseHE2 += reconoisevariancehe[2][jeta][jphi]; + ++nsumreconoiseHE2; + } + if (reconoisevariancehe[3][jeta][jphi] != 0.) { + sumreconoiseHE3 += reconoisevariancehe[3][jeta][jphi]; + ++nsumreconoiseHE3; + } + if (reconoisevariancehe[4][jeta][jphi] != 0.) { + sumreconoiseHE4 += reconoisevariancehe[4][jeta][jphi]; + ++nsumreconoiseHE4; + } + if (reconoisevariancehe[5][jeta][jphi] != 0.) { + sumreconoiseHE5 += reconoisevariancehe[5][jeta][jphi]; + ++nsumreconoiseHE5; + } + if (reconoisevariancehe[6][jeta][jphi] != 0.) { + sumreconoiseHE6 += reconoisevariancehe[6][jeta][jphi]; + ++nsumreconoiseHE6; + } + } // phi // PHI normalization : - for(int jphi=0;jphiClear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDreconoiseHE42D = new TH2F("DefzDreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHE42D0 = new TH2F("DefzDreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHE42DF = (TH2F*)DefzDreconoiseHE42D0->Clone("DefzDreconoiseHE42DF"); - for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 - if(areconoisehe[i][jeta][jphi]>0.) {DefzDreconoiseHE42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHE42D0 ->Fill(kkk,jphi,1.); } - }}}} - DefzDreconoiseHE42DF->Divide(DefzDreconoiseHE42D,DefzDreconoiseHE42D0, 1, 1, "B");// average A - // DefzDreconoiseHE1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHE42DF->SetMarkerStyle(20); DefzDreconoiseHE42DF->SetMarkerSize(0.4); DefzDreconoiseHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHE42DF->SetYTitle(" #phi \b"); DefzDreconoiseHE42DF->SetZTitle("_depth \b"); DefzDreconoiseHE42DF->SetMarkerColor(2); DefzDreconoiseHE42DF->SetLineColor(0); // DefzDreconoiseHE42DF->SetMaximum(1.000); // DefzDreconoiseHE42DF->SetMinimum(1.0); - DefzDreconoiseHE42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DreconoiseGeneralD2PhiSymmetryHE.png"); - c1x0->Clear(); - // clean-up - if (DefzDreconoiseHE42D) delete DefzDreconoiseHE42D; - if (DefzDreconoiseHE42D0) delete DefzDreconoiseHE42D0; - if (DefzDreconoiseHE42DF) delete DefzDreconoiseHE42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthes *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDreconoiseHE42D = new TH2F("DefzDreconoiseHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHE42D0 = new TH2F("DefzDreconoiseHE42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHE42DF = (TH2F*)DefzDreconoiseHE42D0->Clone("DefzDreconoiseHE42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (areconoisehe[i][jeta][jphi] > 0.) { + DefzDreconoiseHE42D->Fill(kkk, jphi, ccc1); + DefzDreconoiseHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + DefzDreconoiseHE42DF->Divide(DefzDreconoiseHE42D, DefzDreconoiseHE42D0, 1, 1, "B"); // average A + // DefzDreconoiseHE1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE42DF->SetMarkerStyle(20); + DefzDreconoiseHE42DF->SetMarkerSize(0.4); + DefzDreconoiseHE42DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHE42DF->SetXTitle("_depth #eta \b"); + DefzDreconoiseHE42DF->SetYTitle(" #phi \b"); + DefzDreconoiseHE42DF->SetZTitle("_depth \b"); + DefzDreconoiseHE42DF->SetMarkerColor(2); + DefzDreconoiseHE42DF->SetLineColor( + 0); // DefzDreconoiseHE42DF->SetMaximum(1.000); // DefzDreconoiseHE42DF->SetMinimum(1.0); + DefzDreconoiseHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHE42D) + delete DefzDreconoiseHE42D; + if (DefzDreconoiseHE42D0) + delete DefzDreconoiseHE42D0; + if (DefzDreconoiseHE42DF) + delete DefzDreconoiseHE42DF; //====================================================================== 1D plot: D vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDreconoiseHE41D = new TH1F("DefzDreconoiseHE41D","", nphi, 0., 72. ); - TH1F* DefzDreconoiseHE41D0 = new TH1F("DefzDreconoiseHE41D0","",nphi, 0., 72. ); - TH1F* DefzDreconoiseHE41DF = (TH1F*)DefzDreconoiseHE41D0->Clone("DefzDreconoiseHE41DF"); - - for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int i=0;i0.) {DefzDreconoiseHE41D ->Fill(jphi,ccc1); DefzDreconoiseHE41D0 ->Fill(jphi,1.); } - }}}} - // DefzDreconoiseHE41D->Sumw2();DefzDreconoiseHE41D0->Sumw2(); - - DefzDreconoiseHE41DF->Divide(DefzDreconoiseHE41D,DefzDreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta - DefzDreconoiseHE41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHE41DF->SetMarkerStyle(20); DefzDreconoiseHE41DF->SetMarkerSize(1.4); DefzDreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE41DF->SetXTitle("#phi \b"); DefzDreconoiseHE41DF->SetYTitle(" \b"); DefzDreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDreconoiseHE41DF->SetMarkerColor(4); DefzDreconoiseHE41DF->SetLineColor(4); // DefzDreconoiseHE41DF->SetMinimum(0.8); DefzDreconoiseHE41DF->SetMinimum(-0.015); - DefzDreconoiseHE41DF->Draw("Error"); + TH1F* DefzDreconoiseHE41D = new TH1F("DefzDreconoiseHE41D", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHE41D0 = new TH1F("DefzDreconoiseHE41D0", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHE41DF = (TH1F*)DefzDreconoiseHE41D0->Clone("DefzDreconoiseHE41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + DefzDreconoiseHE41D->Fill(jphi, ccc1); + DefzDreconoiseHE41D0->Fill(jphi, 1.); + } + } + } + } + } + // DefzDreconoiseHE41D->Sumw2();DefzDreconoiseHE41D0->Sumw2(); + + DefzDreconoiseHE41DF->Divide(DefzDreconoiseHE41D, DefzDreconoiseHE41D0, 1, 1, "B"); // R averaged over depthes & eta + DefzDreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE41DF->SetMarkerStyle(20); + DefzDreconoiseHE41DF->SetMarkerSize(1.4); + DefzDreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHE41DF->SetXTitle("#phi \b"); + DefzDreconoiseHE41DF->SetYTitle(" \b"); + DefzDreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); + DefzDreconoiseHE41DF->SetMarkerColor(4); + DefzDreconoiseHE41DF->SetLineColor( + 4); // DefzDreconoiseHE41DF->SetMinimum(0.8); DefzDreconoiseHE41DF->SetMinimum(-0.015); + DefzDreconoiseHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DreconoiseGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (DefzDreconoiseHE41D) delete DefzDreconoiseHE41D; - if (DefzDreconoiseHE41D0) delete DefzDreconoiseHE41D0; - if (DefzDreconoiseHE41DF) delete DefzDreconoiseHE41DF; - //========================================================================================== 14 + if (DefzDreconoiseHE41D) + delete DefzDreconoiseHE41D; + if (DefzDreconoiseHE41D0) + delete DefzDreconoiseHE41D0; + if (DefzDreconoiseHE41DF) + delete DefzDreconoiseHE41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD1=1; - TH1F* h2CeffHEpositivedirectionReconoiseD1 = new TH1F("h2CeffHEpositivedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD1 == 1) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 2) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 3) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 4) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 5) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 6) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 7) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 8) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 9) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 ==10) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 ==11) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 ==12) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionReconoiseD1->Draw("Error"); - kcountHEpositivedirectionReconoiseD1++; - if(kcountHEpositivedirectionReconoiseD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD1 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD1 = new TH1F("h2CeffHEpositivedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEpositivedirectionReconoiseD1 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD1 == 1) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 2) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 3) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 4) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 5) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 6) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 7) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 8) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 9) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 10) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 11) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 12) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseD1->Draw("Error"); + kcountHEpositivedirectionReconoiseD1++; + if (kcountHEpositivedirectionReconoiseD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD1) delete h2CeffHEpositivedirectionReconoiseD1; - //========================================================================================== 15 + if (h2CeffHEpositivedirectionReconoiseD1) + delete h2CeffHEpositivedirectionReconoiseD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD2=1; - TH1F* h2CeffHEpositivedirectionReconoiseD2 = new TH1F("h2CeffHEpositivedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD2 == 1) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 2) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 3) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 4) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 5) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 6) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 7) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 8) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 9) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==10) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==11) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==12) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==13) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionReconoiseD2->Draw("Error"); - kcountHEpositivedirectionReconoiseD2++; - if(kcountHEpositivedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD2 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD2 = new TH1F("h2CeffHEpositivedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEpositivedirectionReconoiseD2 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD2 == 1) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 2) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 3) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 4) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 5) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 6) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 7) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 8) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 9) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 10) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 11) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 12) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 13) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseD2->Draw("Error"); + kcountHEpositivedirectionReconoiseD2++; + if (kcountHEpositivedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD2) delete h2CeffHEpositivedirectionReconoiseD2; - //========================================================================================== 16 + if (h2CeffHEpositivedirectionReconoiseD2) + delete h2CeffHEpositivedirectionReconoiseD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD3=1; - TH1F* h2CeffHEpositivedirectionReconoiseD3 = new TH1F("h2CeffHEpositivedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD3 == 1) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 2) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 3) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 4) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 5) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 6) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 7) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 8) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 9) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==10) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==11) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==12) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==13) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionReconoiseD3->Draw("Error"); - kcountHEpositivedirectionReconoiseD3++; - if(kcountHEpositivedirectionReconoiseD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD3 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD3 = new TH1F("h2CeffHEpositivedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEpositivedirectionReconoiseD3 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD3 == 1) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 2) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 3) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 4) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 5) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 6) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 7) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 8) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 9) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 10) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 11) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 12) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 13) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseD3->Draw("Error"); + kcountHEpositivedirectionReconoiseD3++; + if (kcountHEpositivedirectionReconoiseD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD3) delete h2CeffHEpositivedirectionReconoiseD3; - //========================================================================================== 17 + if (h2CeffHEpositivedirectionReconoiseD3) + delete h2CeffHEpositivedirectionReconoiseD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD4=1; - TH1F* h2CeffHEpositivedirectionReconoiseD4 = new TH1F("h2CeffHEpositivedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD4 == 1) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 2) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 3) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 4) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 5) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 6) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 7) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 8) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 9) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 ==10) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 ==11) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 ==12) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionReconoiseD4->Draw("Error"); - kcountHEpositivedirectionReconoiseD4++; - if(kcountHEpositivedirectionReconoiseD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD4 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD4 = new TH1F("h2CeffHEpositivedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEpositivedirectionReconoiseD4 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD4 == 1) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 2) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 3) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 4) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 5) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 6) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 7) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 8) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 9) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 10) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 11) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 12) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseD4->Draw("Error"); + kcountHEpositivedirectionReconoiseD4++; + if (kcountHEpositivedirectionReconoiseD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD4) delete h2CeffHEpositivedirectionReconoiseD4; - //========================================================================================== 18 + if (h2CeffHEpositivedirectionReconoiseD4) + delete h2CeffHEpositivedirectionReconoiseD4; + //========================================================================================== 18 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD5=1; - TH1F* h2CeffHEpositivedirectionReconoiseD5 = new TH1F("h2CeffHEpositivedirectionReconoiseD5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEpositivedirectionReconoiseD5 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD5 == 1) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 2) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 3) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 4) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 5) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 6) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 7) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 8) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 9) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 ==10) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 ==11) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionReconoiseD5->Draw("Error"); - kcountHEpositivedirectionReconoiseD5++; - if(kcountHEpositivedirectionReconoiseD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD5 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD5 = new TH1F("h2CeffHEpositivedirectionReconoiseD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD5->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEpositivedirectionReconoiseD5 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD5 == 1) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 2) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 3) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 4) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 5) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 6) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 7) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 8) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 9) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 10) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 11) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseD5->Draw("Error"); + kcountHEpositivedirectionReconoiseD5++; + if (kcountHEpositivedirectionReconoiseD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD5) delete h2CeffHEpositivedirectionReconoiseD5; - //========================================================================================== 19 + if (h2CeffHEpositivedirectionReconoiseD5) + delete h2CeffHEpositivedirectionReconoiseD5; + //========================================================================================== 19 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD6=1; - TH1F* h2CeffHEpositivedirectionReconoiseD6 = new TH1F("h2CeffHEpositivedirectionReconoiseD6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEpositivedirectionReconoiseD6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD6 == 1) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 2) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 3) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 4) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 5) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 6) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 7) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 8) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 9) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 ==10) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionReconoiseD6->Draw("Error"); - kcountHEpositivedirectionReconoiseD6++; - if(kcountHEpositivedirectionReconoiseD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD6 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD6 = new TH1F("h2CeffHEpositivedirectionReconoiseD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEpositivedirectionReconoiseD6 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD6 == 1) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 2) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 3) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 4) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 5) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 6) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 7) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 8) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 9) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 10) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseD6->Draw("Error"); + kcountHEpositivedirectionReconoiseD6++; + if (kcountHEpositivedirectionReconoiseD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD6) delete h2CeffHEpositivedirectionReconoiseD6; - //========================================================================================== 20 + if (h2CeffHEpositivedirectionReconoiseD6) + delete h2CeffHEpositivedirectionReconoiseD6; + //========================================================================================== 20 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD7=1; - TH1F* h2CeffHEpositivedirectionReconoiseD7 = new TH1F("h2CeffHEpositivedirectionReconoiseD7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEpositivedirectionReconoiseD7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD7 == 1) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseD7 == 2) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseD7 == 3) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionReconoiseD7->Draw("Error"); - kcountHEpositivedirectionReconoiseD7++; - if(kcountHEpositivedirectionReconoiseD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEpositivedirectionReconoiseD7 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD7 = new TH1F("h2CeffHEpositivedirectionReconoiseD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEpositivedirectionReconoiseD7 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD7 == 1) + HEpositivedirectionReconoiseD7->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseD7 == 2) + HEpositivedirectionReconoiseD7->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseD7 == 3) + HEpositivedirectionReconoiseD7->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseD7->Draw("Error"); + kcountHEpositivedirectionReconoiseD7++; + if (kcountHEpositivedirectionReconoiseD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD7) delete h2CeffHEpositivedirectionReconoiseD7; + if (h2CeffHEpositivedirectionReconoiseD7) + delete h2CeffHEpositivedirectionReconoiseD7; - - //========================================================================================== 22222214 + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD1=1; - TH1F* h2CeffHEnegativedirectionReconoiseD1 = new TH1F("h2CeffHEnegativedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD1 == 1) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 2) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 3) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 4) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 5) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 6) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 7) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 8) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 9) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 ==10) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 ==11) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 ==12) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionReconoiseD1->Draw("Error"); - kcountHEnegativedirectionReconoiseD1++; - if(kcountHEnegativedirectionReconoiseD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD1 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD1 = new TH1F("h2CeffHEnegativedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEnegativedirectionReconoiseD1 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD1 == 1) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 2) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 3) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 4) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 5) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 6) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 7) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 8) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 9) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 10) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 11) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 12) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseD1->Draw("Error"); + kcountHEnegativedirectionReconoiseD1++; + if (kcountHEnegativedirectionReconoiseD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD1) delete h2CeffHEnegativedirectionReconoiseD1; - //========================================================================================== 22222215 + if (h2CeffHEnegativedirectionReconoiseD1) + delete h2CeffHEnegativedirectionReconoiseD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD2=1; - TH1F* h2CeffHEnegativedirectionReconoiseD2 = new TH1F("h2CeffHEnegativedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD2 == 1) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 2) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 3) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 4) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 5) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 6) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 7) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 8) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 9) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==10) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==11) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==12) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==13) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionReconoiseD2->Draw("Error"); - kcountHEnegativedirectionReconoiseD2++; - if(kcountHEnegativedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD2 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD2 = new TH1F("h2CeffHEnegativedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEnegativedirectionReconoiseD2 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD2 == 1) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 2) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 3) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 4) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 5) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 6) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 7) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 8) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 9) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 10) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 11) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 12) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 13) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseD2->Draw("Error"); + kcountHEnegativedirectionReconoiseD2++; + if (kcountHEnegativedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD2) delete h2CeffHEnegativedirectionReconoiseD2; - //========================================================================================== 22222216 + if (h2CeffHEnegativedirectionReconoiseD2) + delete h2CeffHEnegativedirectionReconoiseD2; + //========================================================================================== 22222216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD3=1; - TH1F* h2CeffHEnegativedirectionReconoiseD3 = new TH1F("h2CeffHEnegativedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD3 == 1) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 2) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 3) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 4) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 5) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 6) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 7) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 8) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 9) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==10) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==11) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==12) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==13) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionReconoiseD3->Draw("Error"); - kcountHEnegativedirectionReconoiseD3++; - if(kcountHEnegativedirectionReconoiseD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD3 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD3 = new TH1F("h2CeffHEnegativedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEnegativedirectionReconoiseD3 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD3 == 1) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 2) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 3) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 4) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 5) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 6) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 7) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 8) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 9) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 10) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 11) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 12) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 13) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseD3->Draw("Error"); + kcountHEnegativedirectionReconoiseD3++; + if (kcountHEnegativedirectionReconoiseD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD3) delete h2CeffHEnegativedirectionReconoiseD3; - //========================================================================================== 22222217 + if (h2CeffHEnegativedirectionReconoiseD3) + delete h2CeffHEnegativedirectionReconoiseD3; + //========================================================================================== 22222217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD4=1; - TH1F* h2CeffHEnegativedirectionReconoiseD4 = new TH1F("h2CeffHEnegativedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD4 == 1) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 2) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 3) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 4) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 5) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 6) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 7) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 8) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 9) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 ==10) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 ==11) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 ==12) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionReconoiseD4->Draw("Error"); - kcountHEnegativedirectionReconoiseD4++; - if(kcountHEnegativedirectionReconoiseD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD4 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD4 = new TH1F("h2CeffHEnegativedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEnegativedirectionReconoiseD4 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD4 == 1) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 2) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 3) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 4) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 5) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 6) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 7) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 8) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 9) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 10) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 11) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 12) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseD4->Draw("Error"); + kcountHEnegativedirectionReconoiseD4++; + if (kcountHEnegativedirectionReconoiseD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD4) delete h2CeffHEnegativedirectionReconoiseD4; - //========================================================================================== 22222218 + if (h2CeffHEnegativedirectionReconoiseD4) + delete h2CeffHEnegativedirectionReconoiseD4; + //========================================================================================== 22222218 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD5=1; - TH1F* h2CeffHEnegativedirectionReconoiseD5 = new TH1F("h2CeffHEnegativedirectionReconoiseD5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEnegativedirectionReconoiseD5 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD5 == 1) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 2) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 3) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 4) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 5) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 6) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 7) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 8) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 9) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 ==10) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 ==11) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionReconoiseD5->Draw("Error"); - kcountHEnegativedirectionReconoiseD5++; - if(kcountHEnegativedirectionReconoiseD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD5 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD5 = new TH1F("h2CeffHEnegativedirectionReconoiseD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD5->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEnegativedirectionReconoiseD5 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD5 == 1) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 2) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 3) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 4) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 5) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 6) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 7) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 8) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 9) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 10) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 11) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseD5->Draw("Error"); + kcountHEnegativedirectionReconoiseD5++; + if (kcountHEnegativedirectionReconoiseD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD5) delete h2CeffHEnegativedirectionReconoiseD5; - //========================================================================================== 22222219 + if (h2CeffHEnegativedirectionReconoiseD5) + delete h2CeffHEnegativedirectionReconoiseD5; + //========================================================================================== 22222219 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD6=1; - TH1F* h2CeffHEnegativedirectionReconoiseD6 = new TH1F("h2CeffHEnegativedirectionReconoiseD6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEnegativedirectionReconoiseD6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD6 == 1) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 2) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 3) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 4) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 5) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 6) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 7) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 8) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 9) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 ==10) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionReconoiseD6->Draw("Error"); - kcountHEnegativedirectionReconoiseD6++; - if(kcountHEnegativedirectionReconoiseD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD6 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD6 = new TH1F("h2CeffHEnegativedirectionReconoiseD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEnegativedirectionReconoiseD6 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD6 == 1) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 2) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 3) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 4) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 5) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 6) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 7) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 8) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 9) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 10) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseD6->Draw("Error"); + kcountHEnegativedirectionReconoiseD6++; + if (kcountHEnegativedirectionReconoiseD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD6) delete h2CeffHEnegativedirectionReconoiseD6; - //========================================================================================== 22222220 + if (h2CeffHEnegativedirectionReconoiseD6) + delete h2CeffHEnegativedirectionReconoiseD6; + //========================================================================================== 22222220 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD7=1; - TH1F* h2CeffHEnegativedirectionReconoiseD7 = new TH1F("h2CeffHEnegativedirectionReconoiseD7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEnegativedirectionReconoiseD7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD7 == 1) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseD7 == 2) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseD7 == 3) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionReconoiseD7->Draw("Error"); - kcountHEnegativedirectionReconoiseD7++; - if(kcountHEnegativedirectionReconoiseD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHEnegativedirectionReconoiseD7 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD7 = new TH1F("h2CeffHEnegativedirectionReconoiseD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEnegativedirectionReconoiseD7 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD7 == 1) + HEnegativedirectionReconoiseD7->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseD7 == 2) + HEnegativedirectionReconoiseD7->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseD7 == 3) + HEnegativedirectionReconoiseD7->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseD7->Draw("Error"); + kcountHEnegativedirectionReconoiseD7++; + if (kcountHEnegativedirectionReconoiseD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD7) delete h2CeffHEnegativedirectionReconoiseD7; + if (h2CeffHEnegativedirectionReconoiseD7) + delete h2CeffHEnegativedirectionReconoiseD7; //===================================================================== END of Reconoise HE for phi-symmetry //===================================================================== END of Reconoise HE for phi-symmetry //===================================================================== END of Reconoise HE for phi-symmetry //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 2; - double areconoiseHF[ndepth][njeta][njphi]; - double breconoiseHF[ndepth][njeta][njphi]; - double reconoisevarianceHF[ndepth][njeta][njphi]; - - - TH2F *recNoiseEnergy1HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF1"); - TH2F *recNoiseEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double areconoiseHF[ndepth][njeta][njphi]; + double breconoiseHF[ndepth][njeta][njphi]; + double reconoisevarianceHF[ndepth][njeta][njphi]; + + TH2F* recNoiseEnergy1HF1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF1"); + TH2F* recNoiseEnergy0HF1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); TH2F* recNoiseEnergyHF1 = (TH2F*)recNoiseEnergy1HF1->Clone("recNoiseEnergyHF1"); - recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1,recNoiseEnergy0HF1, 1, 1, "B"); - TH2F *recNoiseEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF2"); - TH2F *recNoiseEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1, recNoiseEnergy0HF1, 1, 1, "B"); + TH2F* recNoiseEnergy1HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF2"); + TH2F* recNoiseEnergy0HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); TH2F* recNoiseEnergyHF2 = (TH2F*)recNoiseEnergy1HF2->Clone("recNoiseEnergyHF2"); - recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2,recNoiseEnergy0HF2, 1, 1, "B"); - //====================================================================== PHI normalization & put R into massive areconoiseHF - for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2, recNoiseEnergy0HF2, 1, 1, "B"); + //====================================================================== PHI normalization & put R into massive areconoiseHF + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { //preparation for PHI normalization: - double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - areconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); - breconoiseHF[0][jeta][jphi] = recNoiseEnergyHF1->GetBinContent(jeta+1,jphi+1); - breconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); - sumreconoiseHF0 += areconoiseHF[0][jeta][jphi];++nsumreconoiseHF0; - sumreconoiseHF1 += areconoiseHF[1][jeta][jphi];++nsumreconoiseHF1; - }// phi - - // PHI normalization for DIF: - for(int jphi=0;jphiGetBinContent(jeta + 1, jphi + 1); + areconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta + 1, jphi + 1); + breconoiseHF[0][jeta][jphi] = recNoiseEnergyHF1->GetBinContent(jeta + 1, jphi + 1); + breconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta + 1, jphi + 1); + sumreconoiseHF0 += areconoiseHF[0][jeta][jphi]; + ++nsumreconoiseHF0; + sumreconoiseHF1 += areconoiseHF[1][jeta][jphi]; + ++nsumreconoiseHF1; + } // phi + + // PHI normalization for DIF: + for (int jphi = 0; jphi < njphi; jphi++) { + if (sumreconoiseHF0 != 0.) + breconoiseHF[0][jeta][jphi] -= (sumreconoiseHF0 / nsumreconoiseHF0); + if (sumreconoiseHF1 != 0.) + breconoiseHF[1][jeta][jphi] -= (sumreconoiseHF1 / nsumreconoiseHF1); + } // phi // PHI normalization for R: - for(int jphi=0;jphiClear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRreconoiseHF42D = new TH2F("GefzRreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRreconoiseHF42D0 = new TH2F("GefzRreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHF42D = new TH2F("GefzRreconoiseHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRreconoiseHF42D0 = new TH2F("GefzRreconoiseHF42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRreconoiseHF42DF = (TH2F*)GefzRreconoiseHF42D0->Clone("GefzRreconoiseHF42DF"); - for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHF42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzRreconoiseHF42DF->Divide(GefzRreconoiseHF42D,GefzRreconoiseHF42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHF42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRreconoiseHF42D->Fill(kkk, jphi, ccc1); + GefzRreconoiseHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzRreconoiseHF42DF->Divide(GefzRreconoiseHF42D, GefzRreconoiseHF42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF42DF->SetXTitle("_depth #eta \b"); + GefzRreconoiseHF42DF->SetYTitle(" #phi \b"); GefzRreconoiseHF42DF->Draw("COLZ"); - - c2x1->cd(2); - TH1F *energyhitNoise_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HF"); - energyhitNoise_HF ->SetMarkerStyle(20);energyhitNoise_HF ->SetMarkerSize(0.4);energyhitNoise_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HF ->SetXTitle("energyhitNoise_HF \b");energyhitNoise_HF ->SetMarkerColor(2);energyhitNoise_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HF ->Draw("Error"); - - + TH1F* energyhitNoise_HF = (TH1F*)dir->FindObjectAny("h_energyhitNoise_HF"); + energyhitNoise_HF->SetMarkerStyle(20); + energyhitNoise_HF->SetMarkerSize(0.4); + energyhitNoise_HF->GetYaxis()->SetLabelSize(0.04); + energyhitNoise_HF->SetXTitle("energyhitNoise_HF \b"); + energyhitNoise_HF->SetMarkerColor(2); + energyhitNoise_HF->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitNoise_HF->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RreconoiseGeneralD2PhiSymmetryHF.png"); c2x1->Clear(); // clean-up - if (GefzRreconoiseHF42D) delete GefzRreconoiseHF42D; - if (GefzRreconoiseHF42D0) delete GefzRreconoiseHF42D0; - if (GefzRreconoiseHF42DF) delete GefzRreconoiseHF42DF; + if (GefzRreconoiseHF42D) + delete GefzRreconoiseHF42D; + if (GefzRreconoiseHF42D0) + delete GefzRreconoiseHF42D0; + if (GefzRreconoiseHF42DF) + delete GefzRreconoiseHF42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRreconoiseHF41D = new TH1F("GefzRreconoiseHF41D","", nphi, 0., 72. ); - TH1F* GefzRreconoiseHF41D0 = new TH1F("GefzRreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHF41D = new TH1F("GefzRreconoiseHF41D", "", nphi, 0., 72.); + TH1F* GefzRreconoiseHF41D0 = new TH1F("GefzRreconoiseHF41D0", "", nphi, 0., 72.); TH1F* GefzRreconoiseHF41DF = (TH1F*)GefzRreconoiseHF41D0->Clone("GefzRreconoiseHF41DF"); - for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHF41D0 ->Fill(jphi,1.); } - }}}} - GefzRreconoiseHF41DF->Divide(GefzRreconoiseHF41D,GefzRreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRreconoiseHF41D->Fill(jphi, ccc1); + GefzRreconoiseHF41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzRreconoiseHF41DF->Divide(GefzRreconoiseHF41D, GefzRreconoiseHF41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRreconoiseHF41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHF41DF->SetMarkerStyle(20); GefzRreconoiseHF41DF->SetMarkerSize(1.4); GefzRreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHF41DF->SetXTitle("#phi \b"); GefzRreconoiseHF41DF->SetYTitle(" \b"); GefzRreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHF41DF->SetMarkerColor(4); GefzRreconoiseHF41DF->SetLineColor(4);// GefzRreconoiseHF41DF->SetMinimum(0.8); // GefzRreconoiseHF41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF41DF->SetMarkerStyle(20); + GefzRreconoiseHF41DF->SetMarkerSize(1.4); + GefzRreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); + GefzRreconoiseHF41DF->SetXTitle("#phi \b"); + GefzRreconoiseHF41DF->SetYTitle(" \b"); + GefzRreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRreconoiseHF41DF->SetMarkerColor(4); + GefzRreconoiseHF41DF->SetLineColor( + 4); // GefzRreconoiseHF41DF->SetMinimum(0.8); // GefzRreconoiseHF41DF->SetMaximum(1.000); GefzRreconoiseHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RreconoiseGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (GefzRreconoiseHF41D) delete GefzRreconoiseHF41D; - if (GefzRreconoiseHF41D0) delete GefzRreconoiseHF41D0; - if (GefzRreconoiseHF41DF) delete GefzRreconoiseHF41DF; - //========================================================================================== 4 + if (GefzRreconoiseHF41D) + delete GefzRreconoiseHF41D; + if (GefzRreconoiseHF41D0) + delete GefzRreconoiseHF41D0; + if (GefzRreconoiseHF41DF) + delete GefzRreconoiseHF41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionReconoise1=1; - TH1F* h2CeffHFpositivedirectionReconoise1 = new TH1F("h2CeffHFpositivedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + if (jeta - 41 >= 28 && jeta - 41 <= 40) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFpositivedirectionReconoise1 = "<SetMarkerColor(2);HFpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoise1 == 1) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 2) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 3) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 4) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 5) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 6) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 7) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 8) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 9) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==10) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==11) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==12) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==13) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionReconoise1->Draw("Error"); - kcountHFpositivedirectionReconoise1++; - if(kcountHFpositivedirectionReconoise1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFpositivedirectionReconoise1 = (TH1F*)h2CeffHFpositivedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFpositivedirectionReconoise1 = "<SetMarkerColor(2); + HFpositivedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoise1 == 1) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 2) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 3) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 4) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 5) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 6) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 7) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 8) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 9) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 10) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 11) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 12) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 13) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoise1->Draw("Error"); + kcountHFpositivedirectionReconoise1++; + if (kcountHFpositivedirectionReconoise1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoise1) delete h2CeffHFpositivedirectionReconoise1; - + if (h2CeffHFpositivedirectionReconoise1) + delete h2CeffHFpositivedirectionReconoise1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionReconoise2=1; - TH1F* h2CeffHFpositivedirectionReconoise2 = new TH1F("h2CeffHFpositivedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFpositivedirectionReconoise2 = "<SetMarkerColor(2);HFpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoise2 == 1) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 2) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 3) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 4) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 5) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 6) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 7) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 8) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 9) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==10) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==11) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==12) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==13) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionReconoise2->Draw("Error"); - kcountHFpositivedirectionReconoise2++; - if(kcountHFpositivedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoise2 = 1; + TH1F* h2CeffHFpositivedirectionReconoise2 = new TH1F("h2CeffHFpositivedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFpositivedirectionReconoise2 = "<SetMarkerColor(2); + HFpositivedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoise2 == 1) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 2) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 3) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 4) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 5) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 6) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 7) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 8) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 9) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 10) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 11) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 12) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 13) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoise2->Draw("Error"); + kcountHFpositivedirectionReconoise2++; + if (kcountHFpositivedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoise2) delete h2CeffHFpositivedirectionReconoise2; + if (h2CeffHFpositivedirectionReconoise2) + delete h2CeffHFpositivedirectionReconoise2; - //========================================================================================== 1111114 + //========================================================================================== 1111114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionReconoise1=1; - TH1F* h2CeffHFnegativedirectionReconoise1 = new TH1F("h2CeffHFnegativedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + if (jeta - 41 >= -41 && jeta - 41 <= -29) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFnegativedirectionReconoise1 = "<SetMarkerColor(2);HFnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoise1 == 1) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 2) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 3) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 4) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 5) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 6) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 7) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 8) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 9) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==10) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==11) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==12) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==13) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionReconoise1->Draw("Error"); - kcountHFnegativedirectionReconoise1++; - if(kcountHFnegativedirectionReconoise1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFnegativedirectionReconoise1 = (TH1F*)h2CeffHFnegativedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFnegativedirectionReconoise1 = "<SetMarkerColor(2); + HFnegativedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoise1 == 1) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 2) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 3) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 4) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 5) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 6) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 7) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 8) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 9) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 10) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 11) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 12) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 13) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoise1->Draw("Error"); + kcountHFnegativedirectionReconoise1++; + if (kcountHFnegativedirectionReconoise1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoise1) delete h2CeffHFnegativedirectionReconoise1; - + if (h2CeffHFnegativedirectionReconoise1) + delete h2CeffHFnegativedirectionReconoise1; - //========================================================================================== 1111115 + //========================================================================================== 1111115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionReconoise2=1; - TH1F* h2CeffHFnegativedirectionReconoise2 = new TH1F("h2CeffHFnegativedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFnegativedirectionReconoise2 = "<SetMarkerColor(2);HFnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoise2 == 1) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 2) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 3) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 4) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 5) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 6) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 7) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 8) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 9) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==10) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==11) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==12) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==13) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); - HFnegativedirectionReconoise2->Draw("Error"); - kcountHFnegativedirectionReconoise2++; - if(kcountHFnegativedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoise2 = 1; + TH1F* h2CeffHFnegativedirectionReconoise2 = new TH1F("h2CeffHFnegativedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFnegativedirectionReconoise2 = "<SetMarkerColor(2); + HFnegativedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoise2 == 1) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 2) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 3) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 4) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 5) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 6) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 7) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 8) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 9) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 10) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 11) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 12) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 13) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoise2->Draw("Error"); + kcountHFnegativedirectionReconoise2++; + if (kcountHFnegativedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoise2) delete h2CeffHFnegativedirectionReconoise2; + if (h2CeffHFnegativedirectionReconoise2) + delete h2CeffHFnegativedirectionReconoise2; //====================================================================================================================== // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HF //------------------------ 2D-eta/phi-plot: DIF, averaged over depthfs //====================================================================== //====================================================================== -// cout<<" DIF2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzDIFreconoiseHF42D = new TH2F("GefzDIFreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzDIFreconoiseHF42D0 = new TH2F("GefzDIFreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHF42D = new TH2F("GefzDIFreconoiseHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzDIFreconoiseHF42D0 = new TH2F("GefzDIFreconoiseHF42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzDIFreconoiseHF42DF = (TH2F*)GefzDIFreconoiseHF42D0->Clone("GefzDIFreconoiseHF42DF"); - for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzDIFreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHF42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzDIFreconoiseHF42DF->Divide(GefzDIFreconoiseHF42D,GefzDIFreconoiseHF42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHF42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzDIFreconoiseHF42D->Fill(kkk, jphi, ccc1); + GefzDIFreconoiseHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHF42DF->Divide(GefzDIFreconoiseHF42D, GefzDIFreconoiseHF42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF42DF->SetXTitle("_depth #eta \b"); + GefzDIFreconoiseHF42DF->SetYTitle(" #phi \b"); GefzDIFreconoiseHF42DF->Draw("COLZ"); - - c2x1->cd(2); // TH1F *energyhitNoiseCut_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoiseCut_HF"); - // energyhitNoiseCut_HF ->SetMarkerStyle(20);energyhitNoiseCut_HF ->SetMarkerSize(0.4);energyhitNoiseCut_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoiseCut_HF ->SetXTitle("energyhitNoiseCut_HF \b");energyhitNoiseCut_HF ->SetMarkerColor(2);energyhitNoiseCut_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoiseCut_HF ->Draw("Error"); - - + // energyhitNoiseCut_HF ->SetMarkerStyle(20);energyhitNoiseCut_HF ->SetMarkerSize(0.4);energyhitNoiseCut_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoiseCut_HF ->SetXTitle("energyhitNoiseCut_HF \b");energyhitNoiseCut_HF ->SetMarkerColor(2);energyhitNoiseCut_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoiseCut_HF ->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHF.png"); c2x1->Clear(); // clean-up - if (GefzDIFreconoiseHF42D) delete GefzDIFreconoiseHF42D; - if (GefzDIFreconoiseHF42D0) delete GefzDIFreconoiseHF42D0; - if (GefzDIFreconoiseHF42DF) delete GefzDIFreconoiseHF42DF; + if (GefzDIFreconoiseHF42D) + delete GefzDIFreconoiseHF42D; + if (GefzDIFreconoiseHF42D0) + delete GefzDIFreconoiseHF42D0; + if (GefzDIFreconoiseHF42DF) + delete GefzDIFreconoiseHF42DF; //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzDIFreconoiseHF41D = new TH1F("GefzDIFreconoiseHF41D","", nphi, 0., 72. ); - TH1F* GefzDIFreconoiseHF41D0 = new TH1F("GefzDIFreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHF41D = new TH1F("GefzDIFreconoiseHF41D", "", nphi, 0., 72.); + TH1F* GefzDIFreconoiseHF41D0 = new TH1F("GefzDIFreconoiseHF41D0", "", nphi, 0., 72.); TH1F* GefzDIFreconoiseHF41DF = (TH1F*)GefzDIFreconoiseHF41D0->Clone("GefzDIFreconoiseHF41DF"); - for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHF41D0 ->Fill(jphi,1.); } - }}}} - GefzDIFreconoiseHF41DF->Divide(GefzDIFreconoiseHF41D,GefzDIFreconoiseHF41D0, 1, 1, "B");// DIF averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzDIFreconoiseHF41D->Fill(jphi, ccc1); + GefzDIFreconoiseHF41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHF41DF->Divide( + GefzDIFreconoiseHF41D, GefzDIFreconoiseHF41D0, 1, 1, "B"); // DIF averaged over depthfs & eta GefzDIFreconoiseHF41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHF41DF->SetMarkerStyle(20); GefzDIFreconoiseHF41DF->SetMarkerSize(1.4); GefzDIFreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHF41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHF41DF->SetYTitle(" \b"); GefzDIFreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHF41DF->SetMarkerColor(4); GefzDIFreconoiseHF41DF->SetLineColor(4);// GefzDIFreconoiseHF41DF->SetMinimum(0.8); // GefzDIFreconoiseHF41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF41DF->SetMarkerStyle(20); + GefzDIFreconoiseHF41DF->SetMarkerSize(1.4); + GefzDIFreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); + GefzDIFreconoiseHF41DF->SetXTitle("#phi \b"); + GefzDIFreconoiseHF41DF->SetYTitle(" \b"); + GefzDIFreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzDIFreconoiseHF41DF->SetMarkerColor(4); + GefzDIFreconoiseHF41DF->SetLineColor( + 4); // GefzDIFreconoiseHF41DF->SetMinimum(0.8); // GefzDIFreconoiseHF41DF->SetMaximum(1.000); GefzDIFreconoiseHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (GefzDIFreconoiseHF41D) delete GefzDIFreconoiseHF41D; - if (GefzDIFreconoiseHF41D0) delete GefzDIFreconoiseHF41D0; - if (GefzDIFreconoiseHF41DF) delete GefzDIFreconoiseHF41DF; - //========================================================================================== 4 + if (GefzDIFreconoiseHF41D) + delete GefzDIFreconoiseHF41D; + if (GefzDIFreconoiseHF41D0) + delete GefzDIFreconoiseHF41D0; + if (GefzDIFreconoiseHF41DF) + delete GefzDIFreconoiseHF41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionReconoiseDIF1=1; - TH1F* h2CeffHFpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + if (jeta - 41 >= 28 && jeta - 41 <= 40) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseDIF1 == 1) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 2) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 3) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 4) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 5) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 6) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 7) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 8) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 9) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==10) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==11) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==12) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==13) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionReconoiseDIF1->Draw("Error"); - kcountHFpositivedirectionReconoiseDIF1++; - if(kcountHFpositivedirectionReconoiseDIF1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFpositivedirectionReconoiseDIF1 = (TH1F*)h2CeffHFpositivedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseDIF1 == 1) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 2) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 3) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 4) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 5) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 6) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 7) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 8) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 9) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 10) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 11) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 12) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 13) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF1++; + if (kcountHFpositivedirectionReconoiseDIF1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseDIF1) delete h2CeffHFpositivedirectionReconoiseDIF1; - + if (h2CeffHFpositivedirectionReconoiseDIF1) + delete h2CeffHFpositivedirectionReconoiseDIF1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionReconoiseDIF2=1; - TH1F* h2CeffHFpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseDIF2 == 1) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 2) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 3) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 4) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 5) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 6) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 7) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 8) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 9) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==10) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==11) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==12) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==13) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionReconoiseDIF2->Draw("Error"); - kcountHFpositivedirectionReconoiseDIF2++; - if(kcountHFpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHFpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseDIF2 == 1) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 2) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 3) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 4) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 5) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 6) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 7) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 8) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 9) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 10) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 11) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 12) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 13) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF2++; + if (kcountHFpositivedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseDIF2) delete h2CeffHFpositivedirectionReconoiseDIF2; + if (h2CeffHFpositivedirectionReconoiseDIF2) + delete h2CeffHFpositivedirectionReconoiseDIF2; - //========================================================================================== 1111114 + //========================================================================================== 1111114 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionReconoiseDIF1=1; - TH1F* h2CeffHFnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + if (jeta - 41 >= -41 && jeta - 41 <= -29) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseDIF1 == 1) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 2) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 3) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 4) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 5) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 6) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 7) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 8) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 9) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==10) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==11) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==12) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==13) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionReconoiseDIF1->Draw("Error"); - kcountHFnegativedirectionReconoiseDIF1++; - if(kcountHFnegativedirectionReconoiseDIF1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFnegativedirectionReconoiseDIF1 = (TH1F*)h2CeffHFnegativedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseDIF1 == 1) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 2) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 3) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 4) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 5) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 6) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 7) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 8) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 9) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 10) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 11) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 12) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 13) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF1++; + if (kcountHFnegativedirectionReconoiseDIF1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseDIF1) delete h2CeffHFnegativedirectionReconoiseDIF1; - + if (h2CeffHFnegativedirectionReconoiseDIF1) + delete h2CeffHFnegativedirectionReconoiseDIF1; - //========================================================================================== 1111115 + //========================================================================================== 1111115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionReconoiseDIF2=1; - TH1F* h2CeffHFnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseDIF2 == 1) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 2) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 3) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 4) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 5) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 6) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 7) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 8) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 9) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==10) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==11) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==12) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==13) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-20; depth = 2 \b"); - HFnegativedirectionReconoiseDIF2->Draw("Error"); - kcountHFnegativedirectionReconoiseDIF2++; - if(kcountHFnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHFnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseDIF2 == 1) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 2) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 3) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 4) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 5) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 6) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 7) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 8) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 9) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 10) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 11) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 12) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 13) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF2++; + if (kcountHFnegativedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseDIF2) delete h2CeffHFnegativedirectionReconoiseDIF2; + if (h2CeffHFnegativedirectionReconoiseDIF2) + delete h2CeffHFnegativedirectionReconoiseDIF2; //====================================================================================================================== //====================================================================================================================== @@ -9135,349 +12597,477 @@ main(int argc, char *argv[]){ //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HF1"); - TH2F *reconoiseVariance0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HF1"); + TH2F* reconoiseVariance0HF1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); TH2F* reconoiseVarianceHF1 = (TH2F*)reconoiseVariance1HF1->Clone("reconoiseVarianceHF1"); - reconoiseVarianceHF1->Divide(reconoiseVariance1HF1,reconoiseVariance0HF1, 1, 1, "B"); - TH2F *reconoiseVariance1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HF2"); - TH2F *reconoiseVariance0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + reconoiseVarianceHF1->Divide(reconoiseVariance1HF1, reconoiseVariance0HF1, 1, 1, "B"); + TH2F* reconoiseVariance1HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HF2"); + TH2F* reconoiseVariance0HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); TH2F* reconoiseVarianceHF2 = (TH2F*)reconoiseVariance1HF2->Clone("reconoiseVarianceHF2"); - reconoiseVarianceHF2->Divide(reconoiseVariance1HF2,reconoiseVariance0HF2, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHF - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + reconoiseVarianceHF2->Divide(reconoiseVariance1HF2, reconoiseVariance0HF2, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { //preparation for PHI normalization: - double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - reconoisevarianceHF[1][jeta][jphi] = reconoiseVarianceHF2->GetBinContent(jeta+1,jphi+1); - sumreconoiseHF0 += reconoisevarianceHF[0][jeta][jphi];++nsumreconoiseHF0; - sumreconoiseHF1 += reconoisevarianceHF[1][jeta][jphi];++nsumreconoiseHF1; - }// phi + double sumreconoiseHF0 = 0; + int nsumreconoiseHF0 = 0; + double sumreconoiseHF1 = 0; + int nsumreconoiseHF1 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + reconoisevarianceHF[0][jeta][jphi] = reconoiseVarianceHF1->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHF[1][jeta][jphi] = reconoiseVarianceHF2->GetBinContent(jeta + 1, jphi + 1); + sumreconoiseHF0 += reconoisevarianceHF[0][jeta][jphi]; + ++nsumreconoiseHF0; + sumreconoiseHF1 += reconoisevarianceHF[1][jeta][jphi]; + ++nsumreconoiseHF1; + } // phi // PHI normalization : - for(int jphi=0;jphiClear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDreconoiseHF42D = new TH2F("DefzDreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHF42D0 = new TH2F("DefzDreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHF42DF = (TH2F*)DefzDreconoiseHF42D0->Clone("DefzDreconoiseHF42DF"); - for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 - if(areconoiseHF[i][jeta][jphi]>0.) {DefzDreconoiseHF42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHF42D0 ->Fill(kkk,jphi,1.); } - }}}} - DefzDreconoiseHF42DF->Divide(DefzDreconoiseHF42D,DefzDreconoiseHF42D0, 1, 1, "B");// average A - // DefzDreconoiseHF1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHF42DF->SetMarkerStyle(20); DefzDreconoiseHF42DF->SetMarkerSize(0.4); DefzDreconoiseHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHF42DF->SetYTitle(" #phi \b"); DefzDreconoiseHF42DF->SetZTitle("_depth \b"); DefzDreconoiseHF42DF->SetMarkerColor(2); DefzDreconoiseHF42DF->SetLineColor(0); // DefzDreconoiseHF42DF->SetMaximum(1.000); // DefzDreconoiseHF42DF->SetMinimum(1.0); - DefzDreconoiseHF42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DreconoiseGeneralD2PhiSymmetryHF.png"); - c1x0->Clear(); - // clean-up - if (DefzDreconoiseHF42D) delete DefzDreconoiseHF42D; - if (DefzDreconoiseHF42D0) delete DefzDreconoiseHF42D0; - if (DefzDreconoiseHF42DF) delete DefzDreconoiseHF42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDreconoiseHF42D = new TH2F("DefzDreconoiseHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHF42D0 = new TH2F("DefzDreconoiseHF42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHF42DF = (TH2F*)DefzDreconoiseHF42D0->Clone("DefzDreconoiseHF42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (areconoiseHF[i][jeta][jphi] > 0.) { + DefzDreconoiseHF42D->Fill(kkk, jphi, ccc1); + DefzDreconoiseHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + DefzDreconoiseHF42DF->Divide(DefzDreconoiseHF42D, DefzDreconoiseHF42D0, 1, 1, "B"); // average A + // DefzDreconoiseHF1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF42DF->SetMarkerStyle(20); + DefzDreconoiseHF42DF->SetMarkerSize(0.4); + DefzDreconoiseHF42DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHF42DF->SetXTitle("_depth #eta \b"); + DefzDreconoiseHF42DF->SetYTitle(" #phi \b"); + DefzDreconoiseHF42DF->SetZTitle("_depth \b"); + DefzDreconoiseHF42DF->SetMarkerColor(2); + DefzDreconoiseHF42DF->SetLineColor( + 0); // DefzDreconoiseHF42DF->SetMaximum(1.000); // DefzDreconoiseHF42DF->SetMinimum(1.0); + DefzDreconoiseHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHF42D) + delete DefzDreconoiseHF42D; + if (DefzDreconoiseHF42D0) + delete DefzDreconoiseHF42D0; + if (DefzDreconoiseHF42DF) + delete DefzDreconoiseHF42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDreconoiseHF41D = new TH1F("DefzDreconoiseHF41D","", nphi, 0., 72. ); - TH1F* DefzDreconoiseHF41D0 = new TH1F("DefzDreconoiseHF41D0","",nphi, 0., 72. ); - TH1F* DefzDreconoiseHF41DF = (TH1F*)DefzDreconoiseHF41D0->Clone("DefzDreconoiseHF41DF"); - - for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int i=0;i0.) {DefzDreconoiseHF41D ->Fill(jphi,ccc1); DefzDreconoiseHF41D0 ->Fill(jphi,1.); } - }}}} - // DefzDreconoiseHF41D->Sumw2();DefzDreconoiseHF41D0->Sumw2(); - - DefzDreconoiseHF41DF->Divide(DefzDreconoiseHF41D,DefzDreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDreconoiseHF41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHF41DF->SetMarkerStyle(20); DefzDreconoiseHF41DF->SetMarkerSize(1.4); DefzDreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF41DF->SetXTitle("#phi \b"); DefzDreconoiseHF41DF->SetYTitle(" \b"); DefzDreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHF41DF->SetMarkerColor(4); DefzDreconoiseHF41DF->SetLineColor(4);// DefzDreconoiseHF41DF->SetMinimum(0.8); DefzDreconoiseHF41DF->SetMinimum(-0.015); - DefzDreconoiseHF41DF->Draw("Error"); + TH1F* DefzDreconoiseHF41D = new TH1F("DefzDreconoiseHF41D", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHF41D0 = new TH1F("DefzDreconoiseHF41D0", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHF41DF = (TH1F*)DefzDreconoiseHF41D0->Clone("DefzDreconoiseHF41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + DefzDreconoiseHF41D->Fill(jphi, ccc1); + DefzDreconoiseHF41D0->Fill(jphi, 1.); + } + } + } + } + } + // DefzDreconoiseHF41D->Sumw2();DefzDreconoiseHF41D0->Sumw2(); + + DefzDreconoiseHF41DF->Divide(DefzDreconoiseHF41D, DefzDreconoiseHF41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF41DF->SetMarkerStyle(20); + DefzDreconoiseHF41DF->SetMarkerSize(1.4); + DefzDreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHF41DF->SetXTitle("#phi \b"); + DefzDreconoiseHF41DF->SetYTitle(" \b"); + DefzDreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDreconoiseHF41DF->SetMarkerColor(4); + DefzDreconoiseHF41DF->SetLineColor( + 4); // DefzDreconoiseHF41DF->SetMinimum(0.8); DefzDreconoiseHF41DF->SetMinimum(-0.015); + DefzDreconoiseHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DreconoiseGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (DefzDreconoiseHF41D) delete DefzDreconoiseHF41D; - if (DefzDreconoiseHF41D0) delete DefzDreconoiseHF41D0; - if (DefzDreconoiseHF41DF) delete DefzDreconoiseHF41DF; - //========================================================================================== 14 + if (DefzDreconoiseHF41D) + delete DefzDreconoiseHF41D; + if (DefzDreconoiseHF41D0) + delete DefzDreconoiseHF41D0; + if (DefzDreconoiseHF41DF) + delete DefzDreconoiseHF41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionReconoiseD1=1; - TH1F* h2CeffHFpositivedirectionReconoiseD1 = new TH1F("h2CeffHFpositivedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseD1 == 1) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 2) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 3) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 4) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 5) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 6) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 7) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 8) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 9) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==10) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==11) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==12) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==13) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionReconoiseD1->Draw("Error"); - kcountHFpositivedirectionReconoiseD1++; - if(kcountHFpositivedirectionReconoiseD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseD1 = 1; + TH1F* h2CeffHFpositivedirectionReconoiseD1 = new TH1F("h2CeffHFpositivedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFpositivedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFpositivedirectionReconoiseD1 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseD1 == 1) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 2) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 3) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 4) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 5) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 6) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 7) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 8) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 9) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 10) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 11) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 12) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 13) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseD1->Draw("Error"); + kcountHFpositivedirectionReconoiseD1++; + if (kcountHFpositivedirectionReconoiseD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseD1) delete h2CeffHFpositivedirectionReconoiseD1; - //========================================================================================== 15 + if (h2CeffHFpositivedirectionReconoiseD1) + delete h2CeffHFpositivedirectionReconoiseD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFpositivedirectionReconoiseD2=1; - TH1F* h2CeffHFpositivedirectionReconoiseD2 = new TH1F("h2CeffHFpositivedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseD2 == 1) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 2) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 3) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 4) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 5) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 6) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 7) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 8) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 9) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==10) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==11) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==12) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==13) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionReconoiseD2->Draw("Error"); - kcountHFpositivedirectionReconoiseD2++; - if(kcountHFpositivedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFpositivedirectionReconoiseD2 = 1; + TH1F* h2CeffHFpositivedirectionReconoiseD2 = new TH1F("h2CeffHFpositivedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFpositivedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFpositivedirectionReconoiseD2 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseD2 == 1) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 2) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 3) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 4) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 5) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 6) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 7) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 8) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 9) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 10) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 11) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 12) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 13) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseD2->Draw("Error"); + kcountHFpositivedirectionReconoiseD2++; + if (kcountHFpositivedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseD2) delete h2CeffHFpositivedirectionReconoiseD2; - //========================================================================================== 22222214 + if (h2CeffHFpositivedirectionReconoiseD2) + delete h2CeffHFpositivedirectionReconoiseD2; + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionReconoiseD1=1; - TH1F* h2CeffHFnegativedirectionReconoiseD1 = new TH1F("h2CeffHFnegativedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseD1 == 1) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 2) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 3) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 4) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 5) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 6) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 7) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 8) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 9) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==10) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==11) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==12) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==13) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionReconoiseD1->Draw("Error"); - kcountHFnegativedirectionReconoiseD1++; - if(kcountHFnegativedirectionReconoiseD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseD1 = 1; + TH1F* h2CeffHFnegativedirectionReconoiseD1 = new TH1F("h2CeffHFnegativedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFnegativedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFnegativedirectionReconoiseD1 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseD1 == 1) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 2) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 3) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 4) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 5) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 6) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 7) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 8) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 9) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 10) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 11) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 12) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 13) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseD1->Draw("Error"); + kcountHFnegativedirectionReconoiseD1++; + if (kcountHFnegativedirectionReconoiseD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseD1) delete h2CeffHFnegativedirectionReconoiseD1; - //========================================================================================== 22222215 + if (h2CeffHFnegativedirectionReconoiseD1) + delete h2CeffHFnegativedirectionReconoiseD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); - c3x5->cd(1); - int kcountHFnegativedirectionReconoiseD2=1; - TH1F* h2CeffHFnegativedirectionReconoiseD2 = new TH1F("h2CeffHFnegativedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseD2 == 1) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 2) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 3) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 4) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 5) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 6) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 7) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 8) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 9) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==10) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==11) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==12) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==13) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); - HFnegativedirectionReconoiseD2->Draw("Error"); - kcountHFnegativedirectionReconoiseD2++; - if(kcountHFnegativedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + c3x5->Divide(3, 5); + c3x5->cd(1); + int kcountHFnegativedirectionReconoiseD2 = 1; + TH1F* h2CeffHFnegativedirectionReconoiseD2 = new TH1F("h2CeffHFnegativedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFnegativedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFnegativedirectionReconoiseD2 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseD2 == 1) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 2) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 3) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 4) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 5) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 6) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 7) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 8) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 9) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 10) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 11) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 12) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 13) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionReconoiseD2->Draw("Error"); + kcountHFnegativedirectionReconoiseD2++; + if (kcountHFnegativedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseD2) delete h2CeffHFnegativedirectionReconoiseD2; + if (h2CeffHFnegativedirectionReconoiseD2) + delete h2CeffHFnegativedirectionReconoiseD2; //===================================================================== END of Reconoise HF for phi-symmetry //===================================================================== END of Reconoise HF for phi-symmetry @@ -9491,858 +13081,1079 @@ main(int argc, char *argv[]){ //==================================================================================================================================================== END for phi-symmetry //==================================================================================================================================================== + //====================================================================== + // Creating each test kind for each subdet html pages: + std::string raw_class, raw_class1, raw_class2, raw_class3; + int ind = 0; + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + ofstream htmlFileR, htmlFileN; + if (sub == 1) { + htmlFileR.open("HB_PhiSymmetryRecoSignal.html"); + htmlFileN.open("HB_PhiSymmetryRecoNoise.html"); + } + if (sub == 2) { + htmlFileR.open("HE_PhiSymmetryRecoSignal.html"); + htmlFileN.open("HE_PhiSymmetryRecoNoise.html"); + } + if (sub == 4) { + htmlFileR.open("HF_PhiSymmetryRecoSignal.html"); + htmlFileN.open("HF_PhiSymmetryRecoNoise.html"); + } -//====================================================================== -// Creating each test kind for each subdet html pages: - std::string raw_class, raw_class1, raw_class2, raw_class3; - int ind = 0; - - for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO - ofstream htmlFileR,htmlFileN ; - if (sub==1) {htmlFileR.open("HB_PhiSymmetryRecoSignal.html");htmlFileN.open("HB_PhiSymmetryRecoNoise.html");} - if (sub==2) {htmlFileR.open("HE_PhiSymmetryRecoSignal.html");htmlFileN.open("HE_PhiSymmetryRecoNoise.html");} - - if (sub==4) {htmlFileR.open("HF_PhiSymmetryRecoSignal.html");htmlFileN.open("HF_PhiSymmetryRecoNoise.html");} - - - -////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: -////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: -////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: - - htmlFileR << ""<< std::endl; - htmlFileR << ""<< std::endl; - htmlFileR << ""<< std::endl; - htmlFileR << " Remote Monitoring Tool "<< std::endl; - htmlFileR << ""<< std::endl; - htmlFileR << ""<< std::endl; - - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - - if (sub==1) htmlFileR << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileR << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileR << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileR << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; -// htmlFileR << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - - /////////////////////////////////////////////// R different Depthes: - htmlFileR << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileR << "

1C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

1D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

1E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

1F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

1G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

1H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

1I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileR << "

2: D(recosignalvarianceSignalhe)

"<< std::endl; - htmlFileR << "

2A: eta/phi-plot: D(recosignalvarianceSignalhe), averaged over depthes

"<< std::endl; -// htmlFileR << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

2B: D(recosignalvarianceSignalhe) vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - ///////////////////////////////////////////////D different Depthes: - htmlFileR << "

Positive direction, D(recosignalvarianceSignalhe)

"<< std::endl; - htmlFileR << "

2C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

2.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

2E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

2F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

2G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

2H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

2I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - /////////////////////////////////////////// NegativeDirection: - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - htmlFileR << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - - /////////////////////////////////////////////// different Depthes: - htmlFileR << "

3C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

3D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

3E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

3F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

3G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

3H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

3I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileR << "

4: Negative direction, D(recosignalvarianceSignalhe)

"<< std::endl; - /////////////////////////////////////////////// different Depthes: - htmlFileR << "

4C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

4.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

4E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

4F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

4G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

4H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

4I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - /////////////////////////////////////////// - htmlFileR.close(); - /////////////////////////////////////////// end of Recosignal - // -////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: -////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: -////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: - - htmlFileN << ""<< std::endl; - htmlFileN << ""<< std::endl; - htmlFileN << ""<< std::endl; - htmlFileN << " Remote Monitoring Tool "<< std::endl; - htmlFileN << ""<< std::endl; - htmlFileN << ""<< std::endl; - - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - - if (sub==1) htmlFileN << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileN << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileN << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileN << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; -// htmlFileN << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - - /////////////////////////////////////////////// R different Depthes: - htmlFileN << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileN << "

1C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

1D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

1E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

1F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

1G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

1H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

1I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileN << "

2: D(reconoisevarianceNoisehe)

"<< std::endl; - htmlFileN << "

2A: eta/phi-plot: D(reconoisevarianceNoisehe), averaged over depthes

"<< std::endl; -// htmlFileN << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

2B: D(reconoisevarianceNoisehe) vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - ///////////////////////////////////////////////D different Depthes: - htmlFileN << "

Positive direction, D(reconoisevarianceNoisehe)

"<< std::endl; - htmlFileN << "

2C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

2.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

2E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

2F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

2G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

2H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

2I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - /////////////////////////////////////////// NegativeDirection: - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - htmlFileN << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - - /////////////////////////////////////////////// different Depthes: - htmlFileN << "

3C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

3D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

3E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

3F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

3G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

3H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

3I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileN << "

4: Negative direction, D(reconoisevarianceNoisehe)

"<< std::endl; - /////////////////////////////////////////////// different Depthes: - htmlFileN << "

4C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

4.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

4E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

4F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

4G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

4H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

4I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - /////////////////////////////////////////// - - - - /////////////////////////////////////////////// DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF - - if (sub==1) htmlFileN << "

Only for Noise RecHits these lines below, HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileN << "

Only for Noise RecHits these lines below, HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileN << "

Only for Noise RecHits these lines below, HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5: DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; - htmlFileN << "

5A: eta/phi-plot: DIF, averaged over depthes

"<< std::endl; -// htmlFileN << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5B: DIF vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// DIF PositiveDirection: - - /////////////////////////////////////////////// DIF different Depthes: - htmlFileN << "

Positive direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; - htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

1E: DIF vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// DIF NegativeDirection: - - /////////////////////////////////////////////// DIF different Depthes: - htmlFileN << "

Negative direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; - htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

5E: DIF vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// end of Reconoise - - // - // - htmlFileN.close(); - - /////////////////////////////////////////// end of Reconoise - /////////////////////////////////////////// end of Reconoise - - - - - - // - // - }// end sub //for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO - - - -//====================================================================== - - std::cout<<"********"<"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << " Remote Monitoring Tool "<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - if (sub==1) htmlFile << "

HCAL BARREL, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFile << "

HCAL ENDCAP, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==3) htmlFile << "

HCAL OUTER, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFile << "

HCAL FORWARD, RUN = "<< runnumber <<"

"<< std::endl; - htmlFile << "
"<< std::endl; - if (sub==1) htmlFile << "

1. Analysis results for HB

"<< std::endl; - if (sub==2) htmlFile << "

1. Analysis results for HE

"<< std::endl; - if (sub==3) htmlFile << "

1. Analysis results for HO

"<< std::endl; - if (sub==4) htmlFile << "

1. Analysis results for HF

"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - - - if (sub==1) { - - - - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - - - - /* + ////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + + htmlFileR << "" << std::endl; + htmlFileR << "" << std::endl; + htmlFileR << "" << std::endl; + htmlFileR << " Remote Monitoring Tool " << std::endl; + htmlFileR << "" << std::endl; + htmlFileR << "" << std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub == 1) + htmlFileR << "

Phi-symmetry for Calibration Group, HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileR << "

Phi-symmetry for Calibration Group, HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileR << "

Phi-symmetry for Calibration Group, HF, RUN = " << runnumber << "

" << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileR << "

1A: eta/phi-plot: R, averaged over depthes

" << std::endl; + // htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

1B: R vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileR << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileR << "

1C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

1D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

1E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

1F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

1G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

1H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

1I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

2: D(recosignalvarianceSignalhe)

" << std::endl; + htmlFileR << "

2A: eta/phi-plot: D(recosignalvarianceSignalhe), averaged over depthes

" << std::endl; + // htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

2B: D(recosignalvarianceSignalhe) vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileR << "

Positive direction, D(recosignalvarianceSignalhe)

" << std::endl; + htmlFileR << "

2C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

2.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

2E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

2F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

2G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

2H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

2I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileR << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" + << std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

3C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

3D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

3E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

3F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

3G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

3H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

3I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

4: Negative direction, D(recosignalvarianceSignalhe)

" << std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

4C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

4.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

4E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

4F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

4G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

4H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

4I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + /////////////////////////////////////////// + htmlFileR.close(); + /////////////////////////////////////////// end of Recosignal + // + ////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + + htmlFileN << "" << std::endl; + htmlFileN << "" << std::endl; + htmlFileN << "" << std::endl; + htmlFileN << " Remote Monitoring Tool " << std::endl; + htmlFileN << "" << std::endl; + htmlFileN << "" << std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub == 1) + htmlFileN << "

Phi-symmetry for Calibration Group, HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileN << "

Phi-symmetry for Calibration Group, HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileN << "

Phi-symmetry for Calibration Group, HF, RUN = " << runnumber << "

" << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileN << "

1A: eta/phi-plot: R, averaged over depthes

" << std::endl; + // htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

1B: R vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileN << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileN << "

1C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

1D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

1E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

1F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

1G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

1H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

1I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

2: D(reconoisevarianceNoisehe)

" << std::endl; + htmlFileN << "

2A: eta/phi-plot: D(reconoisevarianceNoisehe), averaged over depthes

" << std::endl; + // htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

2B: D(reconoisevarianceNoisehe) vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileN << "

Positive direction, D(reconoisevarianceNoisehe)

" << std::endl; + htmlFileN << "

2C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

2.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

2E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

2F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

2G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

2H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

2I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileN << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" + << std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

3C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

3D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

3E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

3F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

3G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

3H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

3I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

4: Negative direction, D(reconoisevarianceNoisehe)

" << std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

4C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

4.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

4E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

4F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

4G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

4H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

4I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + /////////////////////////////////////////// + + /////////////////////////////////////////////// DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF + + if (sub == 1) + htmlFileN << "

Only for Noise RecHits these lines below, HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileN << "

Only for Noise RecHits these lines below, HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileN << "

Only for Noise RecHits these lines below, HF, RUN = " << runnumber << "

" << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5: DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

" << std::endl; + htmlFileN << "

5A: eta/phi-plot: DIF, averaged over depthes

" << std::endl; + // htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5B: DIF vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// DIF PositiveDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Positive direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

" + << std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

1E: DIF vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

5F: DIF vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5G: DIF vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5H: DIF vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5I: DIF vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// DIF NegativeDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Negative direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

" + << std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

5E: DIF vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

5F: DIF vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5G: DIF vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5H: DIF vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5I: DIF vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// end of Reconoise + + // + // + htmlFileN.close(); + + /////////////////////////////////////////// end of Reconoise + /////////////////////////////////////////// end of Reconoise + + // + // + } // end sub //for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + + //====================================================================== + + std::cout << "********" << std::endl; + std::cout << "************ Start creating subdet html pages: - rather long time needed, waiting please" + << std::endl; + //====================================================================== + // Creating subdet html pages: + + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + ofstream htmlFile; + if (sub == 1) + htmlFile.open("HB.html"); + if (sub == 2) + htmlFile.open("HE.html"); + if (sub == 3) + htmlFile.open("HO.html"); + if (sub == 4) + htmlFile.open("HF.html"); + + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << " Remote Monitoring Tool " << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + if (sub == 1) + htmlFile << "

HCAL BARREL, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFile << "

HCAL ENDCAP, RUN = " << runnumber << "

" << std::endl; + if (sub == 3) + htmlFile << "

HCAL OUTER, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFile << "

HCAL FORWARD, RUN = " << runnumber << "

" << std::endl; + htmlFile << "
" << std::endl; + if (sub == 1) + htmlFile << "

1. Analysis results for HB

" << std::endl; + if (sub == 2) + htmlFile << "

1. Analysis results for HE

" << std::endl; + if (sub == 3) + htmlFile << "

1. Analysis results for HO

" << std::endl; + if (sub == 4) + htmlFile << "

1. Analysis results for HF

" << std::endl; + htmlFile << "

Phi-symmetryRecoSignalPhi-symmetryRecoNoise
" << std::endl; + htmlFile << "" << std::endl; + + if (sub == 1) { + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; */ + } + if (sub == 2) { + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; - - } - if (sub==2) { - - - - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - - - - - /* + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; */ + } + if (sub == 4) { + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; - } - - - - if (sub==4) { - - - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - - - - /* + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; */ - - - } - - htmlFile << ""<< std::endl; - htmlFile << "
Phi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-SymmetryRecoSignalPhi-SymmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoisePhi-symmetryRecoSignalPhi-symmetryRecoNoise
"<< std::endl; - htmlFile << "
"<< std::endl; - - - htmlFile << " " << std::endl; - htmlFile << " " << std::endl; - htmlFile.close(); + } + + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "
" << std::endl; + + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); } - -//====================================================================== - - - std::cout<<"********"<"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << " Remote Monitoring Tool "<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << "

Description of Remote Monitoring Tool criteria for bad channel selection

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- C means CAPID Errors assuming we inspect CAPID non-rotation,error & validation bits, and for this criterion - no need to apply any cuts to select bcs.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- A means full amplitude, collected over all time slices

"<< std::endl; - htmlFile << "

- R means ratio criterion where we define as a bad, the channels, for which the signal portion in 4 middle TSs(plus one, minus two around TS with maximal amplitude) is out of some range of reasonable values

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- W means width of shape distribution. Width is defined as square root from dispersion.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- TN means mean time position of adc signal.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- TX means TS number of maximum signal

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- m means megatile channels. For example Am means Amplitude criteria for megatile channels

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- c means calibration channels. For example Ac means Amplitude criteria for calibration channels

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- Pm means Pedestals.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- pWm means pedestal Width.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << " " << std::endl; - htmlFile << " " << std::endl; - htmlFile.close(); - -//====================================================================== - - std::cout<<"********"<"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << " Remote Monitoring Tool "<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - - htmlFile << "

Remote Monitoring Tool, RUN = "<< runnumber <<".

"<< std::endl; - htmlFile << "
"<< std::endl; - - htmlFile << "

1. Analysis results for subdetectors

"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - - /* + + //====================================================================== + + std::cout << "********" << std::endl; + std::cout << "************ Start creating description HELP html file:" << std::endl; + //====================================================================== + // Creating description html file: + ofstream htmlFile; + htmlFile.open("HELP.html"); + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << " Remote Monitoring Tool " << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "

Description of Remote Monitoring Tool criteria for bad channel selection

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- C means CAPID Errors assuming we inspect CAPID non-rotation,error & validation bits, and for " + "this criterion - no need to apply any cuts to select bcs.

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- A means full amplitude, collected over all time slices

" << std::endl; + htmlFile << "

- R means ratio criterion where we define as a bad, the channels, for which the signal portion in " + "4 middle TSs(plus one, minus two around TS with maximal amplitude) is out of some range of reasonable " + "values

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- W means width of shape distribution. Width is defined as square root from dispersion.

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- TN means mean time position of adc signal.

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- TX means TS number of maximum signal

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- m means megatile channels. For example Am means Amplitude criteria for megatile channels

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile + << "

- c means calibration channels. For example Ac means Amplitude criteria for calibration channels

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- Pm means Pedestals.

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- pWm means pedestal Width.

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + + //====================================================================== + + std::cout << "********" << std::endl; + std::cout << "************ Start creating MAP html file: - rather long time needed, waiting please" << std::endl; + //====================================================================== + // Creating main html file: + htmlFile.open("MAP.html"); + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << " Remote Monitoring Tool " << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + + htmlFile << "

Remote Monitoring Tool, RUN = " << runnumber << ".

" << std::endl; + htmlFile << "
" << std::endl; + + htmlFile << "

1. Analysis results for subdetectors

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "" << std::endl; + + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; -*/ - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - htmlFile << ""<< std::endl; - htmlFile << "
HBHEHOHFHBHEHOHF
"<< std::endl; - htmlFile << "
"<< std::endl; - - htmlFile << " " << std::endl; - htmlFile << " " << std::endl; - htmlFile.close(); -//====================================================================== - -//====================================================================== -// Close and delete all possible things: - hfile->Close(); -// hfile->Delete(); -// Exit Root - gSystem->Exit(0); -//====================================================================== +*/ + htmlFile << " HB" << std::endl; + htmlFile << " HE" << std::endl; + htmlFile << " HO" << std::endl; + htmlFile << " HF" << std::endl; -} + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + //====================================================================== + //====================================================================== + // Close and delete all possible things: + hfile->Close(); + // hfile->Delete(); + // Exit Root + gSystem->Exit(0); + //====================================================================== +} diff --git a/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringPSM.cc b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringPSM.cc index 1a9208d5bbdec..a897c569d2e06 100644 --- a/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringPSM.cc +++ b/DPGAnalysis/HcalTools/macros/psm/RemoteMonitoringPSM.cc @@ -20,182 +20,272 @@ #include "TGraph.h" using namespace std; -int -main(int argc, char *argv[]){ +int main(int argc, char* argv[]) { std::string dirnm = "Analyzer"; gROOT->Reset(); gROOT->SetStyle("Plain"); gStyle->SetOptStat(0); gStyle->SetOptTitle(1); // ok change - if(argc<3) return 1; - char fname[300]; - char refname[300]; - char runtypeC[300]; - sprintf(fname,"%s",argv[1]); - sprintf(refname,"%s",argv[2]); - sprintf(runtypeC,"%s",argv[3]); - // std::cout<ls(); - TDirectory *dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str()); - - TFile *hreffile = new TFile(refname, "READ"); - hreffile->ls(); - TDirectory *refdir = (TDirectory *)hreffile->FindObjectAny(dirnm.c_str()); - + if (argc < 3) + return 1; + char fname[300]; + char refname[300]; + char runtypeC[300]; + sprintf(fname, "%s", argv[1]); + sprintf(refname, "%s", argv[2]); + sprintf(runtypeC, "%s", argv[3]); + // std::cout<ls(); + TDirectory* dir = (TDirectory*)hfile->FindObjectAny(dirnm.c_str()); + + TFile* hreffile = new TFile(refname, "READ"); + hreffile->ls(); + TDirectory* refdir = (TDirectory*)hreffile->FindObjectAny(dirnm.c_str()); + // with TfileService implementation, change everywhere below: hreffile->Get to refdir->FindObjectAny // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny - double MIN_M[7][5]; - double MAX_M[7][5]; - double MIN_C[7][5]; - double MAX_C[7][5]; - double porog[5]; - double Pedest[2][5]; - - if (runtype=="LED") - { - //CUTS: [test][subdetector] ADC amplitude Am Width for Wm Ratio cut for Rm TS mean for TNm TS max for TXm - double MIN_M_LED[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 100.,70.,40.,40.}, {0, 0.7, 0.7, 0.1, 0.1}, {0, 0.7, 0.6, 0.40, 0.45}, {0, 2.5, 1.0, 1.0, 1.0}, {0, 1.5, 1.5, 0.5, 0.5}}; - double MAX_M_LED[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 3000,500000,3000,150000}, {0, 2.5, 2.5, 2.8, 2.6}, {0, 0.94, 0.95, 1.04, 1.02}, {0, 5.5, 5.2, 4.8, 4.2}, {0, 6.5, 6.5, 8.5, 8.5}}; - double MIN_C_LED[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.},{0, 1000.,1000.,1000.,100.}, {0, 1.3, 1.3, 0.7, 0.3}, {0, 0.76 , 0.76, 0.85, 0.5}, {0, 2.4, 2.4, 1.5, 3.5}, {0, 1.5, 1.5, 1.5, 3.5}}; - double MAX_C_LED[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 1E20,1E20,1E20,1E20},{0, 1.9, 1.9, 1.65, 1.5}, {0, 0.94, 0.94, 0.99, 0.8}, {0, 3.7, 3.7, 2.7, 4.5}, {0, 2.5, 2.5, 2.5, 4.5}}; - double porog_LED[5] = {0., 2., 2., 2., 2.}; // Cut for GS test in pro cents - double Pedest_LED[2][5] = {{0.,0.1,0.6,0.1,0.8},{0.,0.1,0.1,0.1,0.4}};//Cuts for Pedestal and pedestal Width - for (int i=0;i<=6;i++) - for (int j=0;j<=4;j++) { - MIN_M[i][j]=MIN_M_LED[i][j]; - MAX_M[i][j]=MAX_M_LED[i][j]; - MIN_C[i][j]=MIN_C_LED[i][j]; - MAX_C[i][j]=MAX_C_LED[i][j]; - } - for (int i=0;i<=4;i++) { - porog[i]=porog_LED[i]; - Pedest[0][i]=Pedest_LED[0][i]; - Pedest[1][i]=Pedest_LED[1][i]; - } + double MIN_M[7][5]; + double MAX_M[7][5]; + double MIN_C[7][5]; + double MAX_C[7][5]; + double porog[5]; + double Pedest[2][5]; + + if (runtype == "LED") { + //CUTS: [test][subdetector] ADC amplitude Am Width for Wm Ratio cut for Rm TS mean for TNm TS max for TXm + double MIN_M_LED[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 100., 70., 40., 40.}, + {0, 0.7, 0.7, 0.1, 0.1}, + {0, 0.7, 0.6, 0.40, 0.45}, + {0, 2.5, 1.0, 1.0, 1.0}, + {0, 1.5, 1.5, 0.5, 0.5}}; + double MAX_M_LED[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 3000, 500000, 3000, 150000}, + {0, 2.5, 2.5, 2.8, 2.6}, + {0, 0.94, 0.95, 1.04, 1.02}, + {0, 5.5, 5.2, 4.8, 4.2}, + {0, 6.5, 6.5, 8.5, 8.5}}; + double MIN_C_LED[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 1000., 1000., 1000., 100.}, + {0, 1.3, 1.3, 0.7, 0.3}, + {0, 0.76, 0.76, 0.85, 0.5}, + {0, 2.4, 2.4, 1.5, 3.5}, + {0, 1.5, 1.5, 1.5, 3.5}}; + double MAX_C_LED[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 1E20, 1E20, 1E20, 1E20}, + {0, 1.9, 1.9, 1.65, 1.5}, + {0, 0.94, 0.94, 0.99, 0.8}, + {0, 3.7, 3.7, 2.7, 4.5}, + {0, 2.5, 2.5, 2.5, 4.5}}; + double porog_LED[5] = {0., 2., 2., 2., 2.}; // Cut for GS test in pro cents + double Pedest_LED[2][5] = {{0., 0.1, 0.6, 0.1, 0.8}, + {0., 0.1, 0.1, 0.1, 0.4}}; //Cuts for Pedestal and pedestal Width + for (int i = 0; i <= 6; i++) + for (int j = 0; j <= 4; j++) { + MIN_M[i][j] = MIN_M_LED[i][j]; + MAX_M[i][j] = MAX_M_LED[i][j]; + MIN_C[i][j] = MIN_C_LED[i][j]; + MAX_C[i][j] = MAX_C_LED[i][j]; + } + for (int i = 0; i <= 4; i++) { + porog[i] = porog_LED[i]; + Pedest[0][i] = Pedest_LED[0][i]; + Pedest[1][i] = Pedest_LED[1][i]; } + } - if (runtype=="LASER") - { - //CUTS: [test][subdetector] ADC amplitude Am Width for Wm Ratio cut for Rm TS mean for TNm TS max for TXm - double MIN_M_LASER[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 40.,40.,100.,40.}, {0, 0.3, 0.9, 0.2, 0.2}, {0, 0.5, 0.55, 0.55, 0.60}, {0, 5.0, 2.5, 1.1, 5.5}, {0, 1.5, 1.5, 1.5, 1.5}}; - double MAX_M_LASER[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 3500,350000,3500,150000}, {0, 2.5, 3.6, 2.6, 2.1}, {0, 1.00, 1.00, 1.04, 1.02}, {0, 7.5, 6.5, 4.4, 8.5}, {0, 8.5, 8.5, 6.5, 8.5}}; - double MIN_C_LASER[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.},{0, 1000.,1000.,1000.,100.}, {0, 1.3, 1.3, 0.7, 0.3}, {0, 0.76 , 0.76, 0.85, 0.5}, {0, 2.4, 2.4, 1.5, 3.5}, {0, 1.5, 1.5, 1.5, 3.5}}; - double MAX_C_LASER[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 1E20,1E20,1E20,1E20},{0, 1.9, 1.9, 1.65, 1.5}, {0, 0.94, 0.94, 1.0, 0.8}, {0, 3.7, 3.7, 2.7, 4.5}, {0, 2.5, 2.5, 2.5, 4.5}}; - double porog_LASER[5] = {0., 2., 2., 2., 2.}; // Cut for GS test in pro cents -// double porog_LASER[5] = {0., 200., 200., 100., 100.}; // Cut for GS test in pro cents - double Pedest_LASER[2][5] = {{0.,0.1,0.6,0.1,0.8},{0.,0.1,0.1,0.1,0.4}};//Cuts for Pedestal and pedestal Width - for (int i=0;i<=6;i++) - for (int j=0;j<=4;j++) { - MIN_M[i][j]=MIN_M_LASER[i][j]; - MAX_M[i][j]=MAX_M_LASER[i][j]; - MIN_C[i][j]=MIN_C_LASER[i][j]; - MAX_C[i][j]=MAX_C_LASER[i][j]; - } - for (int i=0;i<=4;i++) { - porog[i]=porog_LASER[i]; - Pedest[0][i]=Pedest_LASER[0][i]; - Pedest[1][i]=Pedest_LASER[1][i]; - } + if (runtype == "LASER") { + //CUTS: [test][subdetector] ADC amplitude Am Width for Wm Ratio cut for Rm TS mean for TNm TS max for TXm + double MIN_M_LASER[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 40., 40., 100., 40.}, + {0, 0.3, 0.9, 0.2, 0.2}, + {0, 0.5, 0.55, 0.55, 0.60}, + {0, 5.0, 2.5, 1.1, 5.5}, + {0, 1.5, 1.5, 1.5, 1.5}}; + double MAX_M_LASER[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 3500, 350000, 3500, 150000}, + {0, 2.5, 3.6, 2.6, 2.1}, + {0, 1.00, 1.00, 1.04, 1.02}, + {0, 7.5, 6.5, 4.4, 8.5}, + {0, 8.5, 8.5, 6.5, 8.5}}; + double MIN_C_LASER[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 1000., 1000., 1000., 100.}, + {0, 1.3, 1.3, 0.7, 0.3}, + {0, 0.76, 0.76, 0.85, 0.5}, + {0, 2.4, 2.4, 1.5, 3.5}, + {0, 1.5, 1.5, 1.5, 3.5}}; + double MAX_C_LASER[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 1E20, 1E20, 1E20, 1E20}, + {0, 1.9, 1.9, 1.65, 1.5}, + {0, 0.94, 0.94, 1.0, 0.8}, + {0, 3.7, 3.7, 2.7, 4.5}, + {0, 2.5, 2.5, 2.5, 4.5}}; + double porog_LASER[5] = {0., 2., 2., 2., 2.}; // Cut for GS test in pro cents + // double porog_LASER[5] = {0., 200., 200., 100., 100.}; // Cut for GS test in pro cents + double Pedest_LASER[2][5] = {{0., 0.1, 0.6, 0.1, 0.8}, + {0., 0.1, 0.1, 0.1, 0.4}}; //Cuts for Pedestal and pedestal Width + for (int i = 0; i <= 6; i++) + for (int j = 0; j <= 4; j++) { + MIN_M[i][j] = MIN_M_LASER[i][j]; + MAX_M[i][j] = MAX_M_LASER[i][j]; + MIN_C[i][j] = MIN_C_LASER[i][j]; + MAX_C[i][j] = MAX_C_LASER[i][j]; + } + for (int i = 0; i <= 4; i++) { + porog[i] = porog_LASER[i]; + Pedest[0][i] = Pedest_LASER[0][i]; + Pedest[1][i] = Pedest_LASER[1][i]; } + } + if (runtype == "PEDESTAL") { + //CUTS: [test][subdetector] ADC amplitude Am Width for Wm Ratio cut for Rm TS mean for TNm TS max for TXm + double MIN_M_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 10., 10., 200., 5.}, + {0, 2.7, 2.7, 2.7, 0.2}, + {0, 0.31, 0.31, 0.05, 0.15}, + {0, 4.5, 4.5, 4.5, 2.0}, + {0, 0.5, 0.5, 0.5, 0.5}}; + double MAX_M_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 2500., 250000., 2500., 150000.}, + {0, 3.0, 3.0, 5.0, 3.0}, + {0, 0.95, 0.95, 1.00, 0.98}, + {0, 4.6, 4.6, 4.6, 7.0}, + {0, 9.5, 9.5, 8.5, 8.5}}; + double MIN_C_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 1000., 1000., 1000., 100.}, + {0, 1.3, 1.3, 0.7, 0.3}, + {0, 0.76, 0.76, 0.85, 0.5}, + {0, 2.4, 2.4, 1.5, 3.5}, + {0, 1.5, 1.5, 1.5, 3.5}}; + double MAX_C_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 1E20, 1E20, 1E20, 1E20}, + {0, 1.9, 1.9, 1.65, 1.5}, + {0, 0.94, 0.94, 1.0, 0.8}, + {0, 3.7, 3.7, 2.7, 4.5}, + {0, 2.5, 2.5, 2.5, 4.5}}; + double porog_PEDESTAL[5] = {0., 2., 2., 2., 2.}; // Cut for GS test in pro cents + // double porog_PEDESTAL[5] = {0., 200., 200., 100., 100.}; // Cut for GS test in pro cents + double Pedest_PEDESTAL[2][5] = {{0., 0.1, 0.6, 0.1, 0.8}, + {0., 0.1, 0.1, 0.1, 0.4}}; //Cuts for Pedestal and pedestal Width + for (int i = 0; i <= 6; i++) + for (int j = 0; j <= 4; j++) { + MIN_M[i][j] = MIN_M_PEDESTAL[i][j]; + MAX_M[i][j] = MAX_M_PEDESTAL[i][j]; + MIN_C[i][j] = MIN_C_PEDESTAL[i][j]; + MAX_C[i][j] = MAX_C_PEDESTAL[i][j]; + } + for (int i = 0; i <= 4; i++) { + porog[i] = porog_PEDESTAL[i]; + Pedest[0][i] = Pedest_PEDESTAL[0][i]; + Pedest[1][i] = Pedest_PEDESTAL[1][i]; + } + } + + if (runtype == "Global") { + //CUTS: [test][subdetector] ADC amplitude Am Width for Wm Ratio cut for Rm TS mean for TNm TS max for TXm + double MIN_M_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 10., 10., 200., 5.}, + {0, 2.7, 2.7, 2.7, 0.2}, + {0, 0.31, 0.31, 0.05, 0.15}, + {0, 4.5, 4.5, 4.5, 2.0}, + {0, 0.5, 0.5, 0.5, 0.5}}; + double MAX_M_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 2500., 250000., 2500., 150000.}, + {0, 3.0, 3.0, 5.0, 3.0}, + {0, 0.95, 0.95, 1.00, 0.98}, + {0, 4.6, 4.6, 4.6, 7.0}, + {0, 9.5, 9.5, 8.5, 8.5}}; + double MIN_C_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 1000., 1000., 1000., 100.}, + {0, 1.3, 1.3, 0.7, 0.3}, + {0, 0.76, 0.76, 0.85, 0.5}, + {0, 2.4, 2.4, 1.5, 3.5}, + {0, 1.5, 1.5, 1.5, 3.5}}; + double MAX_C_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.}, + {0., 0., 0., 0., 0.}, + {0, 1E20, 1E20, 1E20, 1E20}, + {0, 1.9, 1.9, 1.65, 1.5}, + {0, 0.94, 0.94, 1.0, 0.8}, + {0, 3.7, 3.7, 2.7, 4.5}, + {0, 2.5, 2.5, 2.5, 4.5}}; + double porog_PEDESTAL[5] = {0., 2., 2., 2., 2.}; // Cut for GS test in pro cents + // double porog_PEDESTAL[5] = {0., 200., 200., 100., 100.}; // Cut for GS test in pro cents + double Pedest_PEDESTAL[2][5] = {{0., 0.1, 0.6, 0.1, 0.8}, + {0., 0.1, 0.1, 0.1, 0.4}}; //Cuts for Pedestal and pedestal Width + for (int i = 0; i <= 6; i++) + for (int j = 0; j <= 4; j++) { + MIN_M[i][j] = MIN_M_PEDESTAL[i][j]; + MAX_M[i][j] = MAX_M_PEDESTAL[i][j]; + MIN_C[i][j] = MIN_C_PEDESTAL[i][j]; + MAX_C[i][j] = MAX_C_PEDESTAL[i][j]; + } + for (int i = 0; i <= 4; i++) { + porog[i] = porog_PEDESTAL[i]; + Pedest[0][i] = Pedest_PEDESTAL[0][i]; + Pedest[1][i] = Pedest_PEDESTAL[1][i]; + } + } - if (runtype=="PEDESTAL") - { - //CUTS: [test][subdetector] ADC amplitude Am Width for Wm Ratio cut for Rm TS mean for TNm TS max for TXm - double MIN_M_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 10.,10.,200.,5.}, {0, 2.7, 2.7, 2.7, 0.2}, {0, 0.31, 0.31, 0.05, 0.15}, {0, 4.5, 4.5, 4.5, 2.0}, {0, 0.5, 0.5, 0.5, 0.5}}; - double MAX_M_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 2500.,250000.,2500.,150000.}, {0, 3.0, 3.0, 5.0, 3.0}, {0, 0.95, 0.95, 1.00, 0.98}, {0, 4.6, 4.6, 4.6, 7.0}, {0, 9.5, 9.5, 8.5, 8.5}}; - double MIN_C_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.},{0, 1000.,1000.,1000.,100.}, {0, 1.3, 1.3, 0.7, 0.3}, {0, 0.76 , 0.76, 0.85, 0.5}, {0, 2.4, 2.4, 1.5, 3.5}, {0, 1.5, 1.5, 1.5, 3.5}}; - double MAX_C_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 1E20,1E20,1E20,1E20},{0, 1.9, 1.9, 1.65, 1.5}, {0, 0.94, 0.94, 1.0, 0.8}, {0, 3.7, 3.7, 2.7, 4.5}, {0, 2.5, 2.5, 2.5, 4.5}}; - double porog_PEDESTAL[5] = {0., 2., 2., 2., 2.}; // Cut for GS test in pro cents -// double porog_PEDESTAL[5] = {0., 200., 200., 100., 100.}; // Cut for GS test in pro cents - double Pedest_PEDESTAL[2][5] = {{0.,0.1,0.6,0.1,0.8},{0.,0.1,0.1,0.1,0.4}};//Cuts for Pedestal and pedestal Width - for (int i=0;i<=6;i++) - for (int j=0;j<=4;j++) { - MIN_M[i][j]=MIN_M_PEDESTAL[i][j]; - MAX_M[i][j]=MAX_M_PEDESTAL[i][j]; - MIN_C[i][j]=MIN_C_PEDESTAL[i][j]; - MAX_C[i][j]=MAX_C_PEDESTAL[i][j]; - } - for (int i=0;i<=4;i++) { - porog[i]=porog_PEDESTAL[i]; - Pedest[0][i]=Pedest_PEDESTAL[0][i]; - Pedest[1][i]=Pedest_PEDESTAL[1][i]; - } - } - - - if (runtype=="Global") - { - //CUTS: [test][subdetector] ADC amplitude Am Width for Wm Ratio cut for Rm TS mean for TNm TS max for TXm - double MIN_M_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 10.,10.,200.,5.}, {0, 2.7, 2.7, 2.7, 0.2}, {0, 0.31, 0.31, 0.05, 0.15}, {0, 4.5, 4.5, 4.5, 2.0}, {0, 0.5, 0.5, 0.5, 0.5}}; - double MAX_M_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 2500.,250000.,2500.,150000.}, {0, 3.0, 3.0, 5.0, 3.0}, {0, 0.95, 0.95, 1.00, 0.98}, {0, 4.6, 4.6, 4.6, 7.0}, {0, 9.5, 9.5, 8.5, 8.5}}; - double MIN_C_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.},{0, 1000.,1000.,1000.,100.}, {0, 1.3, 1.3, 0.7, 0.3}, {0, 0.76 , 0.76, 0.85, 0.5}, {0, 2.4, 2.4, 1.5, 3.5}, {0, 1.5, 1.5, 1.5, 3.5}}; - double MAX_C_PEDESTAL[7][5]={{0., 0.,0.,0.,0.}, {0., 0.,0.,0.,0.}, {0, 1E20,1E20,1E20,1E20},{0, 1.9, 1.9, 1.65, 1.5}, {0, 0.94, 0.94, 1.0, 0.8}, {0, 3.7, 3.7, 2.7, 4.5}, {0, 2.5, 2.5, 2.5, 4.5}}; - double porog_PEDESTAL[5] = {0., 2., 2., 2., 2.}; // Cut for GS test in pro cents -// double porog_PEDESTAL[5] = {0., 200., 200., 100., 100.}; // Cut for GS test in pro cents - double Pedest_PEDESTAL[2][5] = {{0.,0.1,0.6,0.1,0.8},{0.,0.1,0.1,0.1,0.4}};//Cuts for Pedestal and pedestal Width - for (int i=0;i<=6;i++) - for (int j=0;j<=4;j++) { - MIN_M[i][j]=MIN_M_PEDESTAL[i][j]; - MAX_M[i][j]=MAX_M_PEDESTAL[i][j]; - MIN_C[i][j]=MIN_C_PEDESTAL[i][j]; - MAX_C[i][j]=MAX_C_PEDESTAL[i][j]; - } - for (int i=0;i<=4;i++) { - porog[i]=porog_PEDESTAL[i]; - Pedest[0][i]=Pedest_PEDESTAL[0][i]; - Pedest[1][i]=Pedest_PEDESTAL[1][i]; - } - } - - -//====================================================================== -// Prepare histograms and plot them to .png files + //====================================================================== + // Prepare histograms and plot them to .png files - -//TCanvas *cHB = new TCanvas("cHB","cHB",1000,500); - TCanvas *cHB = new TCanvas("cHB","cHB",1000,1000); + //TCanvas *cHB = new TCanvas("cHB","cHB",1000,500); + TCanvas* cHB = new TCanvas("cHB", "cHB", 1000, 1000); //TCanvas *cHE = new TCanvas("cHE","cHE",1500,500); - TCanvas *cHE = new TCanvas("cHE","cHE",1500,1500); + TCanvas* cHE = new TCanvas("cHE", "cHE", 1500, 1500); //TCanvas *cONE = new TCanvas("cONE","cONE",500,500); - TCanvas *cONE = new TCanvas("cONE","cONE",1500,500); - TCanvas *cPED = new TCanvas("cPED","cPED",1000,500); + TCanvas* cONE = new TCanvas("cONE", "cONE", 1500, 500); + TCanvas* cPED = new TCanvas("cPED", "cPED", 1000, 500); //TCanvas *cHF = new TCanvas("cHF","cHF",1000,1000); - TCanvas *cHF = new TCanvas("cHF","cHF",1000,1000); - + TCanvas* cHF = new TCanvas("cHF", "cHF", 1000, 1000); + // Phi-symmetry for Calibration Group: - // Phi-symmetry for Calibration Group: + TCanvas* c1x0 = new TCanvas("c1x0", "c1x0", 300, 10, 800, 700); - TCanvas *c1x0 = new TCanvas("c1x0","c1x0",300,10,800,700); + TCanvas* c1x1 = new TCanvas("c1x1", "c1x1", 100, 10, 600, 700); - TCanvas *c1x1 = new TCanvas("c1x1","c1x1",100,10,600,700); + TCanvas* c2x1 = new TCanvas("c2x1", "c2x1", 200, 300, 1600, 800); - TCanvas *c2x1 = new TCanvas("c2x1","c2x1",200,300,1600,800); + TCanvas* c3x5 = new TCanvas("c3x5", "c3x5", 1000, 1500); + // - TCanvas *c3x5 = new TCanvas("c3x5","c3x5",1000,1500); - // - - - - char *str = (char*)alloca(10000); + char* str = (char*)alloca(10000); // before upgrade 2017: // depth: HB depth1,2; HE depth1,2,3; HO depth4; HF depth1,2 @@ -204,1109 +294,1673 @@ std::cout<<" We are here to print fname refname runtypeC " < test 33 - TH1F *hist_GoodTSshape[5]; // 1d histogramm for TS shape subdet -> test 41 - TH1F *hist_GoodTSshape0[5]; // 1d histogramm for TS shape subdet -> test 41 - TH1F *hist_BadTSshape[5]; // 1d histogramm for TS shape subdet -> test 41 - TH1F *hist_BadTSshape0[5]; // 1d histogramm for TS shape subdet -> test 41 - TH1F *hist_ADC_All[5]; // 1d histogramm for TS shape subdet -> test 42 - TH1F *hist_ADC_DS[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 42 - TH1F *hist_SumADC[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 - TH1F *hist_SumADC0[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 - TH1F *hist_SumADC1[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 + int k_min[5] = {0, 1, 1, 4, 1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + int k_max[5] = {0, 4, 7, 4, 4}; // maximum depth for each subdet + + TH2F* Map_Ampl[33][5][ALLDEPTH]; // 2D histogramm for test,subdet,depth + TH2F* Map_SUB[5][ALLDEPTH]; // 2d histogramm for subdet, depth + TH1F* HistAmplDepth[22][5][ALLDEPTH]; // 1d histogramm for test,subdet, depth + TH1F* HistAmpl[22][5]; // 1d histogramm for test,subdet + + TH1F* HistPed[3][5][4]; // 1d histogramm for test,subdet, CapID + TH2F* Map_Ped[3][5]; // 2d histogramm for test,subdet -> test 33 + TH1F* hist_GoodTSshape[5]; // 1d histogramm for TS shape subdet -> test 41 + TH1F* hist_GoodTSshape0[5]; // 1d histogramm for TS shape subdet -> test 41 + TH1F* hist_BadTSshape[5]; // 1d histogramm for TS shape subdet -> test 41 + TH1F* hist_BadTSshape0[5]; // 1d histogramm for TS shape subdet -> test 41 + TH1F* hist_ADC_All[5]; // 1d histogramm for TS shape subdet -> test 42 + TH1F* hist_ADC_DS[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 42 + TH1F* hist_SumADC[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 + TH1F* hist_SumADC0[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 + TH1F* hist_SumADC1[5][ALLDEPTH]; // 1d histogramm for TS shape subdet, depth -> test 43 Map_SUB[1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1_HB"); - Map_SUB[1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2_HB"); + Map_SUB[1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2_HB"); Map_SUB[2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1_HE"); - Map_SUB[2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2_HE"); - Map_SUB[2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3_HE"); - Map_SUB[3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4_HO"); + Map_SUB[2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2_HE"); + Map_SUB[2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3_HE"); + Map_SUB[3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4_HO"); Map_SUB[4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1_HF"); - Map_SUB[4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2_HF"); + Map_SUB[4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2_HF"); Map_SUB[1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3_HB"); - Map_SUB[1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4_HB"); + Map_SUB[1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4_HB"); Map_SUB[2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4_HE"); - Map_SUB[2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5_HE"); - Map_SUB[2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6_HE"); - Map_SUB[2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7_HE"); + Map_SUB[2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5_HE"); + Map_SUB[2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6_HE"); + Map_SUB[2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7_HE"); Map_SUB[4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3_HF"); - Map_SUB[4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4_HF"); + Map_SUB[4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4_HF"); + + //+++++++++++++++++++++++++++++ + //Test 0 Entries + //+++++++++++++++++++++++++++++ + + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + // if (sub==1) cHB->Divide(2,1); + if (sub == 1) + cHB->Divide(2, 2); + // if (sub==2) cHE->Divide(3,1); + if (sub == 2) + cHE->Divide(3, 3); + if (sub == 3) + cONE->Divide(1, 1); + // if (sub==4) cHF->Divide(2,1); + if (sub == 4) + cHF->Divide(2, 2); + // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + for (int k = k_min[sub]; k <= k_max[sub]; k++) { //Depth + if (sub == 1) + cHB->cd(k); + if (sub == 2) + cHE->cd(k); + if (sub == 3) + cONE->cd(k - 3); + if (sub == 4) + cHF->cd(k); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub == 1) + sprintf(str, "HB, Depth%d \b", k); + if (sub == 2) + sprintf(str, "HE, Depth%d \b", k); + if (sub == 3) + sprintf(str, "HO, Depth%d \b", k); + if (sub == 4) + sprintf(str, "HF, Depth%d \b", k); + Map_SUB[sub][k]->SetTitle(str); + Map_SUB[sub][k]->SetXTitle("#eta \b"); + Map_SUB[sub][k]->SetYTitle("#phi \b"); + Map_SUB[sub][k]->SetZTitle("Number of events \b"); + if (sub == 3) + Map_SUB[sub][k]->SetTitleOffset(0.8, "Z"); + Map_SUB[sub][k]->Draw("COLZ"); + Map_SUB[sub][k]->GetYaxis()->SetRangeUser(0, 72.); + // Map_SUB[sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); + if (sub == 1) { + cHB->Modified(); + cHB->Update(); + } + if (sub == 2) { + cHE->Modified(); + cHE->Update(); + } + if (sub == 3) { + cONE->Modified(); + cONE->Update(); + } + if (sub == 4) { + cHF->Modified(); + cHF->Update(); + } + } //end depth + + if (sub == 1) { + cHB->Print("MapRateEntryHB.png"); + cHB->Clear(); + } + if (sub == 2) { + cHE->Print("MapRateEntryHE.png"); + cHE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateEntryHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cHF->Print("MapRateEntryHF.png"); + cHF->Clear(); + } + } // end sub + + //+++++++++++++++++++++++++++++ + //Test 1 (Cm) Rate of Cap ID errors + //+++++++++++++++++++++++++++++ -//+++++++++++++++++++++++++++++ -//Test 0 Entries -//+++++++++++++++++++++++++++++ - - for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO - // if (sub==1) cHB->Divide(2,1); - if (sub==1) cHB->Divide(2,2); - // if (sub==2) cHE->Divide(3,1); - if (sub==2) cHE->Divide(3,3); - if (sub==3) cONE->Divide(1,1); - // if (sub==4) cHF->Divide(2,1); - if (sub==4) cHF->Divide(2,2); - // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet - // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet - // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet - for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth - if (sub==1) cHB->cd(k); - if (sub==2) cHE->cd(k); - if (sub==3) cONE->cd(k-3); - if (sub==4) cHF->cd(k); - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogz(); - if (sub==1) sprintf(str,"HB, Depth%d \b", k); - if (sub==2) sprintf(str,"HE, Depth%d \b", k); - if (sub==3) sprintf(str,"HO, Depth%d \b", k); - if (sub==4) sprintf(str,"HF, Depth%d \b", k); - Map_SUB[sub][k]->SetTitle(str); - Map_SUB[sub][k]->SetXTitle("#eta \b"); - Map_SUB[sub][k]->SetYTitle("#phi \b"); - Map_SUB[sub][k]->SetZTitle("Number of events \b"); - if (sub==3) Map_SUB[sub][k]->SetTitleOffset(0.8,"Z"); - Map_SUB[sub][k]->Draw("COLZ"); - Map_SUB[sub][k]->GetYaxis()->SetRangeUser(0, 72.); -// Map_SUB[sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); - if (sub==1) {cHB->Modified(); cHB->Update();} - if (sub==2) {cHE->Modified(); cHE->Update();} - if (sub==3) {cONE->Modified();cONE->Update();} - if (sub==4) {cHF->Modified(); cHF->Update();} - }//end depth - - if (sub==1) {cHB->Print("MapRateEntryHB.png"); cHB->Clear();} - if (sub==2) {cHE->Print("MapRateEntryHE.png"); cHE->Clear();} - if (sub==3) {cONE->Print("MapRateEntryHO.png"); cONE->Clear();} - if (sub==4) {cHF->Print("MapRateEntryHF.png"); cHF->Clear();} - }// end sub - - - -//+++++++++++++++++++++++++++++ -//Test 1 (Cm) Rate of Cap ID errors -//+++++++++++++++++++++++++++++ - Map_Ampl[1][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Error_HB"); - Map_Ampl[1][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Error_HB"); + Map_Ampl[1][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Error_HB"); Map_Ampl[1][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Error_HE"); - Map_Ampl[1][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Error_HE"); - Map_Ampl[1][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Error_HE"); + Map_Ampl[1][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Error_HE"); + Map_Ampl[1][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Error_HE"); Map_Ampl[1][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Error_HO"); Map_Ampl[1][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Error_HF"); - Map_Ampl[1][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Error_HF"); - + Map_Ampl[1][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Error_HF"); + Map_Ampl[1][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Error_HB"); - Map_Ampl[1][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Error_HB"); + Map_Ampl[1][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Error_HB"); Map_Ampl[1][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Error_HE"); - Map_Ampl[1][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5Error_HE"); - Map_Ampl[1][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6Error_HE"); - Map_Ampl[1][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7Error_HE"); + Map_Ampl[1][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5Error_HE"); + Map_Ampl[1][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6Error_HE"); + Map_Ampl[1][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7Error_HE"); Map_Ampl[1][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Error_HF"); - Map_Ampl[1][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Error_HF"); + Map_Ampl[1][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Error_HF"); + + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + // if (sub==1) cHB->Divide(2,1); + if (sub == 1) + cHB->Divide(2, 2); + // if (sub==2) cHE->Divide(3,1); + if (sub == 2) + cHE->Divide(3, 3); + if (sub == 3) + cONE->Divide(1, 1); + // if (sub==4) cHF->Divide(2,1); + if (sub == 4) + cHF->Divide(2, 2); + // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + for (int k = k_min[sub]; k <= k_max[sub]; k++) { //Depth + if (sub == 1) + cHB->cd(k); + if (sub == 2) + cHE->cd(k); + if (sub == 3) + cONE->cd(k - 3); + if (sub == 4) + cHF->cd(k); + Map_Ampl[1][sub][k]->Divide(Map_Ampl[1][sub][k], Map_SUB[sub][k], 1, 1, "B"); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub == 1) + sprintf(str, "HB, Depth%d \b", k); + if (sub == 2) + sprintf(str, "HE, Depth%d \b", k); + if (sub == 3) + sprintf(str, "HO, Depth%d \b", k); + if (sub == 4) + sprintf(str, "HF, Depth%d \b", k); + Map_Ampl[1][sub][k]->SetTitle(str); + Map_Ampl[1][sub][k]->SetXTitle("#eta \b"); + Map_Ampl[1][sub][k]->SetYTitle("#phi \b"); + Map_Ampl[1][sub][k]->SetZTitle("Rate \b"); + if (sub == 3) + Map_Ampl[1][sub][k]->SetTitleOffset(0.8, "Z"); + Map_Ampl[1][sub][k]->Draw("COLZ"); + Map_Ampl[1][sub][k]->GetYaxis()->SetRangeUser(0, 72.); + Map_Ampl[1][sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); + if (sub == 1) { + cHB->Modified(); + cHB->Update(); + } + if (sub == 2) { + cHE->Modified(); + cHE->Update(); + } + if (sub == 3) { + cONE->Modified(); + cONE->Update(); + } + if (sub == 4) { + cHF->Modified(); + cHF->Update(); + } + } //end depth - for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO - // if (sub==1) cHB->Divide(2,1); - if (sub==1) cHB->Divide(2,2); - // if (sub==2) cHE->Divide(3,1); - if (sub==2) cHE->Divide(3,3); - if (sub==3) cONE->Divide(1,1); - // if (sub==4) cHF->Divide(2,1); - if (sub==4) cHF->Divide(2,2); - // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet - // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet - // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet - for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth - if (sub==1) cHB->cd(k); - if (sub==2) cHE->cd(k); - if (sub==3) cONE->cd(k-3); - if (sub==4) cHF->cd(k); - Map_Ampl[1][sub][k]->Divide(Map_Ampl[1][sub][k],Map_SUB[sub][k], 1, 1, "B"); - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogz(); - if (sub==1) sprintf(str,"HB, Depth%d \b", k); - if (sub==2) sprintf(str,"HE, Depth%d \b", k); - if (sub==3) sprintf(str,"HO, Depth%d \b", k); - if (sub==4) sprintf(str,"HF, Depth%d \b", k); - Map_Ampl[1][sub][k]->SetTitle(str); - Map_Ampl[1][sub][k]->SetXTitle("#eta \b"); - Map_Ampl[1][sub][k]->SetYTitle("#phi \b"); - Map_Ampl[1][sub][k]->SetZTitle("Rate \b"); - if (sub==3) Map_Ampl[1][sub][k]->SetTitleOffset(0.8,"Z"); - Map_Ampl[1][sub][k]->Draw("COLZ"); - Map_Ampl[1][sub][k]->GetYaxis()->SetRangeUser(0, 72.); - Map_Ampl[1][sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); - if (sub==1) {cHB->Modified(); cHB->Update();} - if (sub==2) {cHE->Modified(); cHE->Update();} - if (sub==3) {cONE->Modified();cONE->Update();} - if (sub==4) {cHF->Modified(); cHF->Update();} - }//end depth - - if (sub==1) {cHB->Print("MapRateCapIDHB.png"); cHB->Clear();} - if (sub==2) {cHE->Print("MapRateCapIDHE.png"); cHE->Clear();} - if (sub==3) {cONE->Print("MapRateCapIDHO.png"); cONE->Clear();} - if (sub==4) {cHF->Print("MapRateCapIDHF.png"); cHF->Clear();} - }// end sub + if (sub == 1) { + cHB->Print("MapRateCapIDHB.png"); + cHB->Clear(); + } + if (sub == 2) { + cHE->Print("MapRateCapIDHE.png"); + cHE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateCapIDHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cHF->Print("MapRateCapIDHF.png"); + cHF->Clear(); + } + } // end sub + //+++++++++++++++++++++++++++++ + //Test 2 (Am) ADC amplitude + //+++++++++++++++++++++++++++++ -//+++++++++++++++++++++++++++++ -//Test 2 (Am) ADC amplitude -//+++++++++++++++++++++++++++++ - Map_Ampl[2][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HB"); - Map_Ampl[2][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HB"); + Map_Ampl[2][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HB"); Map_Ampl[2][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HE"); - Map_Ampl[2][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HE"); - Map_Ampl[2][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HE"); + Map_Ampl[2][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HE"); + Map_Ampl[2][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HE"); Map_Ampl[2][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HO"); Map_Ampl[2][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1ADCAmpl225_HF"); - Map_Ampl[2][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HF"); - + Map_Ampl[2][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2ADCAmpl225_HF"); + Map_Ampl[2][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HB"); - Map_Ampl[2][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HB"); + Map_Ampl[2][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HB"); Map_Ampl[2][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HE"); - Map_Ampl[2][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5ADCAmpl225_HE"); - Map_Ampl[2][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6ADCAmpl225_HE"); - Map_Ampl[2][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7ADCAmpl225_HE"); + Map_Ampl[2][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5ADCAmpl225_HE"); + Map_Ampl[2][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6ADCAmpl225_HE"); + Map_Ampl[2][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7ADCAmpl225_HE"); Map_Ampl[2][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3ADCAmpl225_HF"); - Map_Ampl[2][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HF"); + Map_Ampl[2][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4ADCAmpl225_HF"); - HistAmpl[2][1] = (TH1F*)dir->FindObjectAny("h_ADCAmpl_HB"); HistAmpl[2][2] = (TH1F*)dir->FindObjectAny("h_ADCAmpl_HE"); HistAmpl[2][3] = (TH1F*)dir->FindObjectAny("h_ADCAmpl_HO"); HistAmpl[2][4] = (TH1F*)dir->FindObjectAny("h_ADCAmpl_HF"); - -//+++++++++++++++++++++++++++++ -//Test 3 (Wm) Rate of RMS -//+++++++++++++++++++++++++++++ - + //+++++++++++++++++++++++++++++ + //Test 3 (Wm) Rate of RMS + //+++++++++++++++++++++++++++++ + Map_Ampl[3][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Amplitude225_HB"); - Map_Ampl[3][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Amplitude225_HB"); + Map_Ampl[3][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Amplitude225_HB"); Map_Ampl[3][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Amplitude225_HE"); - Map_Ampl[3][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Amplitude225_HE"); - Map_Ampl[3][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Amplitude225_HE"); + Map_Ampl[3][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Amplitude225_HE"); + Map_Ampl[3][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Amplitude225_HE"); Map_Ampl[3][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Amplitude225_HO"); Map_Ampl[3][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Amplitude225_HF"); - Map_Ampl[3][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Amplitude225_HF"); - + Map_Ampl[3][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Amplitude225_HF"); + Map_Ampl[3][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Amplitude225_HB"); - Map_Ampl[3][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Amplitude225_HB"); + Map_Ampl[3][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Amplitude225_HB"); Map_Ampl[3][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Amplitude225_HE"); - Map_Ampl[3][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5Amplitude225_HE"); - Map_Ampl[3][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6Amplitude225_HE"); - Map_Ampl[3][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7Amplitude225_HE"); + Map_Ampl[3][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5Amplitude225_HE"); + Map_Ampl[3][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6Amplitude225_HE"); + Map_Ampl[3][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7Amplitude225_HE"); Map_Ampl[3][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Amplitude225_HF"); - Map_Ampl[3][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Amplitude225_HF"); + Map_Ampl[3][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Amplitude225_HF"); - HistAmpl[3][1] = (TH1F*)dir->FindObjectAny("h_Amplitude_HB"); HistAmpl[3][2] = (TH1F*)dir->FindObjectAny("h_Amplitude_HE"); HistAmpl[3][3] = (TH1F*)dir->FindObjectAny("h_Amplitude_HO"); HistAmpl[3][4] = (TH1F*)dir->FindObjectAny("h_Amplitude_HF"); - - //+++++++++++++++++++++++++++++ -//Test 4 (Rm) Rate of ratio 4 near max TS/ All TS -//+++++++++++++++++++++++++++++ - + + //+++++++++++++++++++++++++++++ + //Test 4 (Rm) Rate of ratio 4 near max TS/ All TS + //+++++++++++++++++++++++++++++ + Map_Ampl[4][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Ampl047_HB"); - Map_Ampl[4][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Ampl047_HB"); + Map_Ampl[4][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Ampl047_HB"); Map_Ampl[4][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Ampl047_HE"); - Map_Ampl[4][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Ampl047_HE"); - Map_Ampl[4][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Ampl047_HE"); + Map_Ampl[4][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Ampl047_HE"); + Map_Ampl[4][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Ampl047_HE"); Map_Ampl[4][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Ampl047_HO"); Map_Ampl[4][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1Ampl047_HF"); - Map_Ampl[4][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Ampl047_HF"); - + Map_Ampl[4][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2Ampl047_HF"); + Map_Ampl[4][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Ampl047_HB"); - Map_Ampl[4][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Ampl047_HB"); + Map_Ampl[4][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Ampl047_HB"); Map_Ampl[4][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Ampl047_HE"); - Map_Ampl[4][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5Ampl047_HE"); - Map_Ampl[4][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6Ampl047_HE"); - Map_Ampl[4][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7Ampl047_HE"); + Map_Ampl[4][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5Ampl047_HE"); + Map_Ampl[4][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6Ampl047_HE"); + Map_Ampl[4][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7Ampl047_HE"); Map_Ampl[4][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3Ampl047_HF"); - Map_Ampl[4][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Ampl047_HF"); + Map_Ampl[4][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4Ampl047_HF"); - HistAmpl[4][1] = (TH1F*)dir->FindObjectAny("h_Ampl_HB"); HistAmpl[4][2] = (TH1F*)dir->FindObjectAny("h_Ampl_HE"); HistAmpl[4][3] = (TH1F*)dir->FindObjectAny("h_Ampl_HO"); - HistAmpl[4][4] = (TH1F*)dir->FindObjectAny("h_Ampl_HF"); - -//+++++++++++++++++++++++++++++ -//Test 5 (TNm) Mean position in 1-8 TS range -//+++++++++++++++++++++++++++++ - + HistAmpl[4][4] = (TH1F*)dir->FindObjectAny("h_Ampl_HF"); + + //+++++++++++++++++++++++++++++ + //Test 5 (TNm) Mean position in 1-8 TS range + //+++++++++++++++++++++++++++++ + Map_Ampl[5][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1TSmeanA225_HB"); - Map_Ampl[5][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmeanA225_HB"); + Map_Ampl[5][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmeanA225_HB"); Map_Ampl[5][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1TSmeanA225_HE"); - Map_Ampl[5][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmeanA225_HE"); - Map_Ampl[5][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3TSmeanA225_HE"); + Map_Ampl[5][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmeanA225_HE"); + Map_Ampl[5][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3TSmeanA225_HE"); Map_Ampl[5][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmeanA225_HO"); Map_Ampl[5][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1TSmeanA225_HF"); - Map_Ampl[5][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmeanA225_HF"); - + Map_Ampl[5][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmeanA225_HF"); + Map_Ampl[5][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3TSmeanA225_HB"); - Map_Ampl[5][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmeanA225_HB"); + Map_Ampl[5][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmeanA225_HB"); Map_Ampl[5][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmeanA225_HE"); - Map_Ampl[5][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5TSmeanA225_HE"); - Map_Ampl[5][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6TSmeanA225_HE"); - Map_Ampl[5][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7TSmeanA225_HE"); + Map_Ampl[5][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5TSmeanA225_HE"); + Map_Ampl[5][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6TSmeanA225_HE"); + Map_Ampl[5][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7TSmeanA225_HE"); Map_Ampl[5][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3TSmeanA225_HF"); - Map_Ampl[5][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmeanA225_HF"); + Map_Ampl[5][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmeanA225_HF"); - HistAmpl[5][1] = (TH1F*)dir->FindObjectAny("h_TSmeanA_HB"); HistAmpl[5][2] = (TH1F*)dir->FindObjectAny("h_TSmeanA_HE"); HistAmpl[5][3] = (TH1F*)dir->FindObjectAny("h_TSmeanA_HO"); HistAmpl[5][4] = (TH1F*)dir->FindObjectAny("h_TSmeanA_HF"); + //+++++++++++++++++++++++++++++ + //Test 6 (TXm) Maximum position in 1-8 TS range + //+++++++++++++++++++++++++++++ -//+++++++++++++++++++++++++++++ -//Test 6 (TXm) Maximum position in 1-8 TS range -//+++++++++++++++++++++++++++++ - Map_Ampl[6][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1TSmaxA225_HB"); - Map_Ampl[6][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmaxA225_HB"); + Map_Ampl[6][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmaxA225_HB"); Map_Ampl[6][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1TSmaxA225_HE"); - Map_Ampl[6][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmaxA225_HE"); - Map_Ampl[6][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3TSmaxA225_HE"); + Map_Ampl[6][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmaxA225_HE"); + Map_Ampl[6][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3TSmaxA225_HE"); Map_Ampl[6][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmaxA225_HO"); Map_Ampl[6][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1TSmaxA225_HF"); - Map_Ampl[6][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmaxA225_HF"); - + Map_Ampl[6][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2TSmaxA225_HF"); + Map_Ampl[6][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3TSmaxA225_HB"); - Map_Ampl[6][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmaxA225_HB"); + Map_Ampl[6][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmaxA225_HB"); Map_Ampl[6][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmaxA225_HE"); - Map_Ampl[6][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5TSmaxA225_HE"); - Map_Ampl[6][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6TSmaxA225_HE"); - Map_Ampl[6][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7TSmaxA225_HE"); + Map_Ampl[6][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5TSmaxA225_HE"); + Map_Ampl[6][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6TSmaxA225_HE"); + Map_Ampl[6][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7TSmaxA225_HE"); Map_Ampl[6][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3TSmaxA225_HF"); - Map_Ampl[6][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmaxA225_HF"); + Map_Ampl[6][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4TSmaxA225_HF"); HistAmpl[6][1] = (TH1F*)dir->FindObjectAny("h_TSmaxA_HB"); HistAmpl[6][2] = (TH1F*)dir->FindObjectAny("h_TSmaxA_HE"); HistAmpl[6][3] = (TH1F*)dir->FindObjectAny("h_TSmaxA_HO"); HistAmpl[6][4] = (TH1F*)dir->FindObjectAny("h_TSmaxA_HF"); - - for (int test=2;test<=6;test++) { //Test: 2-Am, 3-Wm, 4-Rm, 5-TNm, 6-TXm, - for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO - // if (sub==1) cHB->Divide(2,1); - if (sub==1) cHB->Divide(2,2); - // if (sub==2) cHE->Divide(3,1); - if (sub==2) cHE->Divide(3,3); - if (sub==3) cONE->Divide(1,1); - // if (sub==4) cHF->Divide(2,1); - if (sub==4) cHF->Divide(2,2); - // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet - // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet - // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet - for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth - if (sub==1) cHB->cd(k); - if (sub==2) cHE->cd(k); - if (sub==3) cONE->cd(k-3); - if (sub==4) cHF->cd(k); - Map_Ampl[test][sub][k]->Divide(Map_Ampl[test][sub][k],Map_SUB[sub][k], 1, 1, "B"); - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogz(); - if (sub==1) sprintf(str,"HB, Depth%d \b", k); - if (sub==2) sprintf(str,"HE, Depth%d \b", k); - if (sub==3) sprintf(str,"HO, Depth%d \b", k); - if (sub==4) sprintf(str,"HF, Depth%d \b", k); - Map_Ampl[test][sub][k]->SetTitle(str); - Map_Ampl[test][sub][k]->SetXTitle("#eta \b"); - Map_Ampl[test][sub][k]->SetYTitle("#phi \b"); - Map_Ampl[test][sub][k]->SetZTitle("Rate \b"); - if (sub==3) Map_Ampl[test][sub][k]->SetTitleOffset(0.8,"Z"); - Map_Ampl[test][sub][k]->Draw("COLZ"); - Map_Ampl[test][sub][k]->GetYaxis()->SetRangeUser(0, 72.); - Map_Ampl[test][sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); - if (sub==1) {cHB->Modified(); cHB->Update();} - if (sub==2) {cHE->Modified(); cHE->Update();} - if (sub==3) {cONE->Modified();cONE->Update();} - if (sub==4) {cHF->Modified(); cHF->Update();} - }//end depth - if (test==2){ - if (sub==1) {cHB->Print("MapRateAmplHB.png"); cHB->Clear();} - if (sub==2) {cHE->Print("MapRateAmplHE.png"); cHE->Clear();} - if (sub==3) {cONE->Print("MapRateAmplHO.png"); cONE->Clear();} - if (sub==4) {cHF->Print("MapRateAmplHF.png"); cHF->Clear();} - } - if (test==3){ - if (sub==1) {cHB->Print("MapRateRMSHB.png"); cHB->Clear();} - if (sub==2) {cHE->Print("MapRateRMSHE.png"); cHE->Clear();} - if (sub==3) {cONE->Print("MapRateRMSHO.png"); cONE->Clear();} - if (sub==4) {cHF->Print("MapRateRMSHF.png"); cHF->Clear();} - } - if (test==4){ - if (sub==1) {cHB->Print("MapRate43TStoAllTSHB.png"); cHB->Clear();} - if (sub==2) {cHE->Print("MapRate43TStoAllTSHE.png"); cHE->Clear();} - if (sub==3) {cONE->Print("MapRate43TStoAllTSHO.png"); cONE->Clear();} - if (sub==4) {cHF->Print("MapRate43TStoAllTSHF.png"); cHF->Clear();} - } - if (test==5){ - if (sub==1) {cHB->Print("MapRateMeanPosHB.png"); cHB->Clear();} - if (sub==2) {cHE->Print("MapRateMeanPosHE.png"); cHE->Clear();} - if (sub==3) {cONE->Print("MapRateMeanPosHO.png"); cONE->Clear();} - if (sub==4) {cHF->Print("MapRateMeanPosHF.png"); cHF->Clear();} - } - if (test==6){ - if (sub==1) {cHB->Print("MapRateMaxPosHB.png"); cHB->Clear();} - if (sub==2) {cHE->Print("MapRateMaxPosHE.png"); cHE->Clear();} - if (sub==3) {cONE->Print("MapRateMaxPosHO.png"); cONE->Clear();} - if (sub==4) {cHF->Print("MapRateMaxPosHF.png"); cHF->Clear();} - } - - // cONE->Divide(1,1); - cONE->Divide(3,1); - if(test == 2 && sub == 2 ) { - cONE->cd(2); - TH1F *kjkjkhj2= (TH1F*)dir->FindObjectAny("h_AmplitudeHEtest1");kjkjkhj2->Draw("");kjkjkhj2->SetTitle("HE, All Depth: shunt1"); - cONE->cd(3); - TH1F *kjkjkhj3= (TH1F*)dir->FindObjectAny("h_AmplitudeHEtest6");kjkjkhj3->Draw("");kjkjkhj3->SetTitle("HE, All Depth: shunt6"); - } - if(test == 2 && sub == 1 ) { - cONE->cd(2); - TH1F *kjkjkhb2= (TH1F*)dir->FindObjectAny("h_AmplitudeHBtest1");kjkjkhb2->Draw("");kjkjkhb2->SetTitle("HB, All Depth: shunt1"); - cONE->cd(3); - TH1F *kjkjkhb3= (TH1F*)dir->FindObjectAny("h_AmplitudeHBtest6");kjkjkhb3->Draw("");kjkjkhb3->SetTitle("HB, All Depth: shunt6"); - } - cONE->cd(1); - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogy(); - if (sub==1) HistAmpl[test][sub]->SetTitle("HB, All Depth: shunt6"); - if (sub==2) HistAmpl[test][sub]->SetTitle("HE, All Depth: shunt6"); - if (sub==3) HistAmpl[test][sub]->SetTitle("HO, All Depth"); - if (sub==4) HistAmpl[test][sub]->SetTitle("HF, All Depth"); - if (test==2) HistAmpl[test][sub]->SetXTitle("ADC Amlitude in each event & cell \b"); - if (test==3) HistAmpl[test][sub]->SetXTitle("RMS in each event & cell \b"); - if (test==4) HistAmpl[test][sub]->SetXTitle("Ratio in each event & cell \b"); - if (test==5) HistAmpl[test][sub]->SetXTitle("Mean TS position in each event & cell \b"); - if (test==6) HistAmpl[test][sub]->SetXTitle("Max TS position in each event & cell \b"); - HistAmpl[test][sub]->SetYTitle("Number of cell-events \b"); - HistAmpl[test][sub]->SetLineColor(4); - HistAmpl[test][sub]->SetLineWidth(2); - HistAmpl[test][sub]->SetTitleOffset(1.4,"Y"); - HistAmpl[test][sub]->Draw(""); - // // HistAmpl[test][sub]->GetYaxis()->SetRangeUser(1., 100.); -// if (test==2) {gPad->SetLogx(); HistAmpl[test][sub]->GetXaxis()->SetRangeUser(1., 10000.);} - if (test==2) {gPad->SetLogx(); } - if (test==3) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 5.);// width - if (test==4) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 1.);// R - if (test==5) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 9.);//Tn - if (test==6) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 9.);//Tx - cONE->Modified(); - cONE->Update(); - double min_x[] = {MIN_M[test][sub],MIN_M[test][sub]}; - double min_y[] = {0.,100000000.}; - TGraph* MIN = new TGraph(2, min_x, min_y); - MIN->SetLineStyle(2); - MIN->SetLineColor(2); - MIN->SetLineWidth(2 + 100*100); - MIN->SetFillStyle(3005); - MIN->SetFillColor(2); - MIN->Draw("L"); - double max_x[] = {MAX_M[test][sub],MAX_M[test][sub]}; - double max_y[] = {0.,100000000.}; - TGraph* MAX = new TGraph(2, max_x, max_y); - MAX->SetLineStyle(2); - MAX->SetLineColor(2); - MAX->SetLineWidth(-2 - 100*100); - MAX->SetFillStyle(3004); - MAX->SetFillColor(2); - MAX->Draw("L"); - if (test==2){ - if (sub==1) {cONE->Print("HistAmplHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("HistAmplHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("HistAmplHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("HistAmplHF.png"); cONE->Clear();} - } - if (test==3){ - if (sub==1) {cONE->Print("HistRMSHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("HistRMSHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("HistRMSHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("HistRMSHF.png"); cONE->Clear();} - } - if (test==4){ - if (sub==1) {cONE->Print("Hist43TStoAllTSHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("Hist43TStoAllTSHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("Hist43TStoAllTSHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("Hist43TStoAllTSHF.png"); cONE->Clear();} - } - if (test==5){ - if (sub==1) {cONE->Print("HistMeanPosHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("HistMeanPosHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("HistMeanPosHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("HistMeanPosHF.png"); cONE->Clear();} - } - if (test==6){ - if (sub==1) {cONE->Print("HistMaxPosHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("HistMaxPosHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("HistMaxPosHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("HistMaxPosHF.png"); cONE->Clear();} - } - }// end sub - }//end test - - TH2F *Map_Calib[5][5]; // 2d histogramm for subdet, depth - + + for (int test = 2; test <= 6; test++) { //Test: 2-Am, 3-Wm, 4-Rm, 5-TNm, 6-TXm, + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + // if (sub==1) cHB->Divide(2,1); + if (sub == 1) + cHB->Divide(2, 2); + // if (sub==2) cHE->Divide(3,1); + if (sub == 2) + cHE->Divide(3, 3); + if (sub == 3) + cONE->Divide(1, 1); + // if (sub==4) cHF->Divide(2,1); + if (sub == 4) + cHF->Divide(2, 2); + // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + for (int k = k_min[sub]; k <= k_max[sub]; k++) { //Depth + if (sub == 1) + cHB->cd(k); + if (sub == 2) + cHE->cd(k); + if (sub == 3) + cONE->cd(k - 3); + if (sub == 4) + cHF->cd(k); + Map_Ampl[test][sub][k]->Divide(Map_Ampl[test][sub][k], Map_SUB[sub][k], 1, 1, "B"); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub == 1) + sprintf(str, "HB, Depth%d \b", k); + if (sub == 2) + sprintf(str, "HE, Depth%d \b", k); + if (sub == 3) + sprintf(str, "HO, Depth%d \b", k); + if (sub == 4) + sprintf(str, "HF, Depth%d \b", k); + Map_Ampl[test][sub][k]->SetTitle(str); + Map_Ampl[test][sub][k]->SetXTitle("#eta \b"); + Map_Ampl[test][sub][k]->SetYTitle("#phi \b"); + Map_Ampl[test][sub][k]->SetZTitle("Rate \b"); + if (sub == 3) + Map_Ampl[test][sub][k]->SetTitleOffset(0.8, "Z"); + Map_Ampl[test][sub][k]->Draw("COLZ"); + Map_Ampl[test][sub][k]->GetYaxis()->SetRangeUser(0, 72.); + Map_Ampl[test][sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); + if (sub == 1) { + cHB->Modified(); + cHB->Update(); + } + if (sub == 2) { + cHE->Modified(); + cHE->Update(); + } + if (sub == 3) { + cONE->Modified(); + cONE->Update(); + } + if (sub == 4) { + cHF->Modified(); + cHF->Update(); + } + } //end depth + if (test == 2) { + if (sub == 1) { + cHB->Print("MapRateAmplHB.png"); + cHB->Clear(); + } + if (sub == 2) { + cHE->Print("MapRateAmplHE.png"); + cHE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateAmplHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cHF->Print("MapRateAmplHF.png"); + cHF->Clear(); + } + } + if (test == 3) { + if (sub == 1) { + cHB->Print("MapRateRMSHB.png"); + cHB->Clear(); + } + if (sub == 2) { + cHE->Print("MapRateRMSHE.png"); + cHE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateRMSHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cHF->Print("MapRateRMSHF.png"); + cHF->Clear(); + } + } + if (test == 4) { + if (sub == 1) { + cHB->Print("MapRate43TStoAllTSHB.png"); + cHB->Clear(); + } + if (sub == 2) { + cHE->Print("MapRate43TStoAllTSHE.png"); + cHE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRate43TStoAllTSHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cHF->Print("MapRate43TStoAllTSHF.png"); + cHF->Clear(); + } + } + if (test == 5) { + if (sub == 1) { + cHB->Print("MapRateMeanPosHB.png"); + cHB->Clear(); + } + if (sub == 2) { + cHE->Print("MapRateMeanPosHE.png"); + cHE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateMeanPosHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cHF->Print("MapRateMeanPosHF.png"); + cHF->Clear(); + } + } + if (test == 6) { + if (sub == 1) { + cHB->Print("MapRateMaxPosHB.png"); + cHB->Clear(); + } + if (sub == 2) { + cHE->Print("MapRateMaxPosHE.png"); + cHE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateMaxPosHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cHF->Print("MapRateMaxPosHF.png"); + cHF->Clear(); + } + } + + // cONE->Divide(1,1); + cONE->Divide(3, 1); + if (test == 2 && sub == 2) { + cONE->cd(2); + TH1F* kjkjkhj2 = (TH1F*)dir->FindObjectAny("h_AmplitudeHEtest1"); + kjkjkhj2->Draw(""); + kjkjkhj2->SetTitle("HE, All Depth: shunt1"); + cONE->cd(3); + TH1F* kjkjkhj3 = (TH1F*)dir->FindObjectAny("h_AmplitudeHEtest6"); + kjkjkhj3->Draw(""); + kjkjkhj3->SetTitle("HE, All Depth: shunt6"); + } + if (test == 2 && sub == 1) { + cONE->cd(2); + TH1F* kjkjkhb2 = (TH1F*)dir->FindObjectAny("h_AmplitudeHBtest1"); + kjkjkhb2->Draw(""); + kjkjkhb2->SetTitle("HB, All Depth: shunt1"); + cONE->cd(3); + TH1F* kjkjkhb3 = (TH1F*)dir->FindObjectAny("h_AmplitudeHBtest6"); + kjkjkhb3->Draw(""); + kjkjkhb3->SetTitle("HB, All Depth: shunt6"); + } + cONE->cd(1); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogy(); + if (sub == 1) + HistAmpl[test][sub]->SetTitle("HB, All Depth: shunt6"); + if (sub == 2) + HistAmpl[test][sub]->SetTitle("HE, All Depth: shunt6"); + if (sub == 3) + HistAmpl[test][sub]->SetTitle("HO, All Depth"); + if (sub == 4) + HistAmpl[test][sub]->SetTitle("HF, All Depth"); + if (test == 2) + HistAmpl[test][sub]->SetXTitle("ADC Amlitude in each event & cell \b"); + if (test == 3) + HistAmpl[test][sub]->SetXTitle("RMS in each event & cell \b"); + if (test == 4) + HistAmpl[test][sub]->SetXTitle("Ratio in each event & cell \b"); + if (test == 5) + HistAmpl[test][sub]->SetXTitle("Mean TS position in each event & cell \b"); + if (test == 6) + HistAmpl[test][sub]->SetXTitle("Max TS position in each event & cell \b"); + HistAmpl[test][sub]->SetYTitle("Number of cell-events \b"); + HistAmpl[test][sub]->SetLineColor(4); + HistAmpl[test][sub]->SetLineWidth(2); + HistAmpl[test][sub]->SetTitleOffset(1.4, "Y"); + HistAmpl[test][sub]->Draw(""); + // // HistAmpl[test][sub]->GetYaxis()->SetRangeUser(1., 100.); + // if (test==2) {gPad->SetLogx(); HistAmpl[test][sub]->GetXaxis()->SetRangeUser(1., 10000.);} + if (test == 2) { + gPad->SetLogx(); + } + if (test == 3) + HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 5.); // width + if (test == 4) + HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 1.); // R + if (test == 5) + HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 9.); //Tn + if (test == 6) + HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 9.); //Tx + cONE->Modified(); + cONE->Update(); + double min_x[] = {MIN_M[test][sub], MIN_M[test][sub]}; + double min_y[] = {0., 100000000.}; + TGraph* MIN = new TGraph(2, min_x, min_y); + MIN->SetLineStyle(2); + MIN->SetLineColor(2); + MIN->SetLineWidth(2 + 100 * 100); + MIN->SetFillStyle(3005); + MIN->SetFillColor(2); + MIN->Draw("L"); + double max_x[] = {MAX_M[test][sub], MAX_M[test][sub]}; + double max_y[] = {0., 100000000.}; + TGraph* MAX = new TGraph(2, max_x, max_y); + MAX->SetLineStyle(2); + MAX->SetLineColor(2); + MAX->SetLineWidth(-2 - 100 * 100); + MAX->SetFillStyle(3004); + MAX->SetFillColor(2); + MAX->Draw("L"); + if (test == 2) { + if (sub == 1) { + cONE->Print("HistAmplHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("HistAmplHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("HistAmplHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("HistAmplHF.png"); + cONE->Clear(); + } + } + if (test == 3) { + if (sub == 1) { + cONE->Print("HistRMSHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("HistRMSHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("HistRMSHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("HistRMSHF.png"); + cONE->Clear(); + } + } + if (test == 4) { + if (sub == 1) { + cONE->Print("Hist43TStoAllTSHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("Hist43TStoAllTSHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("Hist43TStoAllTSHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("Hist43TStoAllTSHF.png"); + cONE->Clear(); + } + } + if (test == 5) { + if (sub == 1) { + cONE->Print("HistMeanPosHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("HistMeanPosHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("HistMeanPosHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("HistMeanPosHF.png"); + cONE->Clear(); + } + } + if (test == 6) { + if (sub == 1) { + cONE->Print("HistMaxPosHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("HistMaxPosHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("HistMaxPosHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("HistMaxPosHF.png"); + cONE->Clear(); + } + } + } // end sub + } //end test + + TH2F* Map_Calib[5][5]; // 2d histogramm for subdet, depth + Map_Calib[1][1] = (TH2F*)dir->FindObjectAny("h_map_HB"); - Map_Calib[1][2] = (TH2F*)dir->FindObjectAny("h_map_HB"); + Map_Calib[1][2] = (TH2F*)dir->FindObjectAny("h_map_HB"); Map_Calib[2][1] = (TH2F*)dir->FindObjectAny("h_map_HE"); - Map_Calib[2][2] = (TH2F*)dir->FindObjectAny("h_map_HE"); - Map_Calib[2][3] = (TH2F*)dir->FindObjectAny("h_map_HE"); + Map_Calib[2][2] = (TH2F*)dir->FindObjectAny("h_map_HE"); + Map_Calib[2][3] = (TH2F*)dir->FindObjectAny("h_map_HE"); Map_Calib[3][4] = (TH2F*)dir->FindObjectAny("h_map_HO"); Map_Calib[4][1] = (TH2F*)dir->FindObjectAny("h_map_HF"); Map_Calib[4][2] = (TH2F*)dir->FindObjectAny("h_map_HF"); + //+++++++++++++++++++++++++++++ + //Test 0 Entries + //+++++++++++++++++++++++++++++ + + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + // if (sub==1) cHB->Divide(2,1); + // if (sub==2) cHE->Divide(3,1); + cONE->Divide(1, 1); + // if (sub==4) cHB->Divide(2,1); + // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth + int k = 1; + cONE->cd(k); + // if (sub==1) cHB->cd(k); + // if (sub==2) cHE->cd(k); + if (sub == 3) + k = 4; + // if (sub==4) cHB->cd(k); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub == 1) + sprintf(str, "HB"); + if (sub == 2) + sprintf(str, "HE"); + if (sub == 3) + sprintf(str, "HO"); + if (sub == 4) + sprintf(str, "HF"); + Map_Calib[sub][k]->SetTitle(str); + Map_Calib[sub][k]->SetXTitle("#eta \b"); + Map_Calib[sub][k]->SetYTitle("#phi \b"); + Map_Calib[sub][k]->SetZTitle("Number of events\b"); + if (sub == 3) + Map_Calib[sub][k]->SetTitleOffset(0.8, "Z"); + Map_Calib[sub][k]->Draw("COLZ"); + Map_Calib[sub][k]->GetYaxis()->SetRangeUser(0, 72.); + // Map_Calib[sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); + // if (sub==1) {cHB->Modified(); cHB->Update();} + // if (sub==2) {cHE->Modified(); cHE->Update();} + cONE->Modified(); + cONE->Update(); + // if (sub==4) {cHB->Modified(); cHB->Update();} + // }//end depth + + if (sub == 1) { + cONE->Print("MapRateCalibEntryHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("MapRateCalibEntryHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateCalibEntryHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("MapRateCalibEntryHF.png"); + cONE->Clear(); + } + } // end sub -//+++++++++++++++++++++++++++++ -//Test 0 Entries -//+++++++++++++++++++++++++++++ - - for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO -// if (sub==1) cHB->Divide(2,1); -// if (sub==2) cHE->Divide(3,1); - cONE->Divide(1,1); - // if (sub==4) cHB->Divide(2,1); -// int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet -// int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet -// for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth - int k=1; - cONE->cd(k); -// if (sub==1) cHB->cd(k); -// if (sub==2) cHE->cd(k); - if (sub==3) k=4; -// if (sub==4) cHB->cd(k); - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogz(); - if (sub==1) sprintf(str,"HB"); - if (sub==2) sprintf(str,"HE"); - if (sub==3) sprintf(str,"HO"); - if (sub==4) sprintf(str,"HF"); - Map_Calib[sub][k]->SetTitle(str); - Map_Calib[sub][k]->SetXTitle("#eta \b"); - Map_Calib[sub][k]->SetYTitle("#phi \b"); - Map_Calib[sub][k]->SetZTitle("Number of events\b"); - if (sub==3) Map_Calib[sub][k]->SetTitleOffset(0.8,"Z"); - Map_Calib[sub][k]->Draw("COLZ"); - Map_Calib[sub][k]->GetYaxis()->SetRangeUser(0, 72.); -// Map_Calib[sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); -// if (sub==1) {cHB->Modified(); cHB->Update();} -// if (sub==2) {cHE->Modified(); cHE->Update();} - cONE->Modified();cONE->Update(); -// if (sub==4) {cHB->Modified(); cHB->Update();} -// }//end depth - - if (sub==1) {cONE->Print("MapRateCalibEntryHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("MapRateCalibEntryHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("MapRateCalibEntryHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("MapRateCalibEntryHF.png"); cONE->Clear();} - }// end sub + //+++++++++++++++++++++++++++++ + //Test 11 (Cc) Rate of Cap ID errors for calibration channels + //+++++++++++++++++++++++++++++ - -//+++++++++++++++++++++++++++++ -//Test 11 (Cc) Rate of Cap ID errors for calibration channels -//+++++++++++++++++++++++++++++ - - Map_Ampl[11][1][1] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HB"); - Map_Ampl[11][1][2] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HB"); + Map_Ampl[11][1][2] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HB"); Map_Ampl[11][2][1] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HE"); - Map_Ampl[11][2][2] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HE"); - Map_Ampl[11][2][3] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HE"); + Map_Ampl[11][2][2] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HE"); + Map_Ampl[11][2][3] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HE"); Map_Ampl[11][3][4] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HO"); Map_Ampl[11][4][1] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HF"); - Map_Ampl[11][4][2] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HF"); - - for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO -// if (sub==1) cHB->Divide(2,1); -// if (sub==2) cHE->Divide(3,1); - cONE->Divide(1,1); - // if (sub==4) cHB->Divide(2,1); -// int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet -// int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet -// for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth - int k=1; - cONE->cd(k); -// if (sub==1) cHB->cd(k); -// if (sub==2) cHE->cd(k); - if (sub==3) k=4; -// if (sub==4) cHB->cd(k); - Map_Ampl[11][sub][k]->Divide(Map_Ampl[11][sub][k],Map_Calib[sub][k], 1, 1, "B"); - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogz(); - if (sub==1) sprintf(str,"HB"); - if (sub==2) sprintf(str,"HE"); - if (sub==3) sprintf(str,"HO"); - if (sub==4) sprintf(str,"HF"); - Map_Ampl[11][sub][k]->SetTitle(str); - Map_Ampl[11][sub][k]->SetXTitle("#eta \b"); - Map_Ampl[11][sub][k]->SetYTitle("#phi \b"); - Map_Ampl[11][sub][k]->SetZTitle("Rate \b"); - Map_Ampl[11][sub][k]->SetTitleOffset(0.75,"Z"); - Map_Ampl[11][sub][k]->Draw("COLZ"); - Map_Ampl[11][sub][k]->GetYaxis()->SetRangeUser(0, 72.); - Map_Ampl[11][sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); -// if (sub==1) {cHB->Modified(); cHB->Update();} -// if (sub==2) {cHE->Modified(); cHE->Update();} - cONE->Modified();cONE->Update(); -// if (sub==4) {cHB->Modified(); cHB->Update();} -// }//end depth - - if (sub==1) {cONE->Print("MapRateCapCalibHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("MapRateCapCalibHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("MapRateCapCalibHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("MapRateCapCalibHF.png"); cONE->Clear();} - }// end sub + Map_Ampl[11][4][2] = (TH2F*)dir->FindObjectAny("h_mapCapCalib047_HF"); + + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + // if (sub==1) cHB->Divide(2,1); + // if (sub==2) cHE->Divide(3,1); + cONE->Divide(1, 1); + // if (sub==4) cHB->Divide(2,1); + // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth + int k = 1; + cONE->cd(k); + // if (sub==1) cHB->cd(k); + // if (sub==2) cHE->cd(k); + if (sub == 3) + k = 4; + // if (sub==4) cHB->cd(k); + Map_Ampl[11][sub][k]->Divide(Map_Ampl[11][sub][k], Map_Calib[sub][k], 1, 1, "B"); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub == 1) + sprintf(str, "HB"); + if (sub == 2) + sprintf(str, "HE"); + if (sub == 3) + sprintf(str, "HO"); + if (sub == 4) + sprintf(str, "HF"); + Map_Ampl[11][sub][k]->SetTitle(str); + Map_Ampl[11][sub][k]->SetXTitle("#eta \b"); + Map_Ampl[11][sub][k]->SetYTitle("#phi \b"); + Map_Ampl[11][sub][k]->SetZTitle("Rate \b"); + Map_Ampl[11][sub][k]->SetTitleOffset(0.75, "Z"); + Map_Ampl[11][sub][k]->Draw("COLZ"); + Map_Ampl[11][sub][k]->GetYaxis()->SetRangeUser(0, 72.); + Map_Ampl[11][sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); + // if (sub==1) {cHB->Modified(); cHB->Update();} + // if (sub==2) {cHE->Modified(); cHE->Update();} + cONE->Modified(); + cONE->Update(); + // if (sub==4) {cHB->Modified(); cHB->Update();} + // }//end depth + + if (sub == 1) { + cONE->Print("MapRateCapCalibHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("MapRateCapCalibHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateCapCalibHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("MapRateCapCalibHF.png"); + cONE->Clear(); + } + } // end sub + //+++++++++++++++++++++++++++++ + //Test 12 (Ac) ADC amplitude for calibration chanels + //+++++++++++++++++++++++++++++ -//+++++++++++++++++++++++++++++ -//Test 12 (Ac) ADC amplitude for calibration chanels -//+++++++++++++++++++++++++++++ - Map_Ampl[12][1][1] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HB"); - Map_Ampl[12][1][2] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HB"); + Map_Ampl[12][1][2] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HB"); Map_Ampl[12][2][1] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HE"); - Map_Ampl[12][2][2] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HE"); - Map_Ampl[12][2][3] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HE"); + Map_Ampl[12][2][2] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HE"); + Map_Ampl[12][2][3] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HE"); Map_Ampl[12][3][4] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HO"); Map_Ampl[12][4][1] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HF"); - Map_Ampl[12][4][2] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HF"); - + Map_Ampl[12][4][2] = (TH2F*)dir->FindObjectAny("h_mapADCCalib047_HF"); + HistAmpl[12][1] = (TH1F*)dir->FindObjectAny("h_ADCCalib_HB"); HistAmpl[12][2] = (TH1F*)dir->FindObjectAny("h_ADCCalib_HE"); HistAmpl[12][3] = (TH1F*)dir->FindObjectAny("h_ADCCalib_HO"); HistAmpl[12][4] = (TH1F*)dir->FindObjectAny("h_ADCCalib_HF"); - -//+++++++++++++++++++++++++++++ -//Test 13 (Wc) Rate of RMS -//+++++++++++++++++++++++++++++ - + //+++++++++++++++++++++++++++++ + //Test 13 (Wc) Rate of RMS + //+++++++++++++++++++++++++++++ + Map_Ampl[13][1][1] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HB"); - Map_Ampl[13][1][2] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HB"); + Map_Ampl[13][1][2] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HB"); Map_Ampl[13][2][1] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HE"); - Map_Ampl[13][2][2] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HE"); - Map_Ampl[13][2][3] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HE"); + Map_Ampl[13][2][2] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HE"); + Map_Ampl[13][2][3] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HE"); Map_Ampl[13][3][4] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HO"); Map_Ampl[13][4][1] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HF"); - Map_Ampl[13][4][2] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HF"); - + Map_Ampl[13][4][2] = (TH2F*)dir->FindObjectAny("h_mapWidthCalib047_HF"); + HistAmpl[13][1] = (TH1F*)dir->FindObjectAny("h_WidthCalib_HB"); HistAmpl[13][2] = (TH1F*)dir->FindObjectAny("h_WidthCalib_HE"); HistAmpl[13][3] = (TH1F*)dir->FindObjectAny("h_WidthCalib_HO"); HistAmpl[13][4] = (TH1F*)dir->FindObjectAny("h_WidthCalib_HF"); - - //+++++++++++++++++++++++++++++ -//Test 14 (Rc) Rate of ratio 4 near max TS/ All TS -//+++++++++++++++++++++++++++++ - + + //+++++++++++++++++++++++++++++ + //Test 14 (Rc) Rate of ratio 4 near max TS/ All TS + //+++++++++++++++++++++++++++++ + Map_Ampl[14][1][1] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HB"); - Map_Ampl[14][1][2] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HB"); + Map_Ampl[14][1][2] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HB"); Map_Ampl[14][2][1] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HE"); - Map_Ampl[14][2][2] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HE"); - Map_Ampl[14][2][3] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HE"); + Map_Ampl[14][2][2] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HE"); + Map_Ampl[14][2][3] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HE"); Map_Ampl[14][3][4] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HO"); Map_Ampl[14][4][1] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HF"); - Map_Ampl[14][4][2] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HF"); - - + Map_Ampl[14][4][2] = (TH2F*)dir->FindObjectAny("h_mapRatioCalib047_HF"); + HistAmpl[14][1] = (TH1F*)dir->FindObjectAny("h_RatioCalib_HB"); HistAmpl[14][2] = (TH1F*)dir->FindObjectAny("h_RatioCalib_HE"); HistAmpl[14][3] = (TH1F*)dir->FindObjectAny("h_RatioCalib_HO"); - HistAmpl[14][4] = (TH1F*)dir->FindObjectAny("h_RatioCalib_HF"); - -//+++++++++++++++++++++++++++++ -//Test 15 (TNc) Mean position in 1-8 TS range -//+++++++++++++++++++++++++++++ - + HistAmpl[14][4] = (TH1F*)dir->FindObjectAny("h_RatioCalib_HF"); + + //+++++++++++++++++++++++++++++ + //Test 15 (TNc) Mean position in 1-8 TS range + //+++++++++++++++++++++++++++++ + Map_Ampl[15][1][1] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HB"); - Map_Ampl[15][1][2] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HB"); + Map_Ampl[15][1][2] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HB"); Map_Ampl[15][2][1] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); - Map_Ampl[15][2][2] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); - Map_Ampl[15][2][3] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); + Map_Ampl[15][2][2] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); + Map_Ampl[15][2][3] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HE"); Map_Ampl[15][3][4] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HO"); Map_Ampl[15][4][1] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HF"); - Map_Ampl[15][4][2] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HF"); - + Map_Ampl[15][4][2] = (TH2F*)dir->FindObjectAny("h_mapTSmeanCalib047_HF"); + HistAmpl[15][1] = (TH1F*)dir->FindObjectAny("h_TSmeanCalib_HB"); HistAmpl[15][2] = (TH1F*)dir->FindObjectAny("h_TSmeanCalib_HE"); HistAmpl[15][3] = (TH1F*)dir->FindObjectAny("h_TSmeanCalib_HO"); HistAmpl[15][4] = (TH1F*)dir->FindObjectAny("h_TSmeanCalib_HF"); -//+++++++++++++++++++++++++++++ -//Test 16 (TXc) Maximum position in 1-8 TS range -//+++++++++++++++++++++++++++++ - + //+++++++++++++++++++++++++++++ + //Test 16 (TXc) Maximum position in 1-8 TS range + //+++++++++++++++++++++++++++++ + Map_Ampl[16][1][1] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HB"); - Map_Ampl[16][1][2] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HB"); + Map_Ampl[16][1][2] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HB"); Map_Ampl[16][2][1] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); - Map_Ampl[16][2][2] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); - Map_Ampl[16][2][3] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); + Map_Ampl[16][2][2] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); + Map_Ampl[16][2][3] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HE"); Map_Ampl[16][3][4] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HO"); Map_Ampl[16][4][1] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HF"); - Map_Ampl[16][4][2] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HF"); - + Map_Ampl[16][4][2] = (TH2F*)dir->FindObjectAny("h_mapTSmaxCalib047_HF"); + HistAmpl[16][1] = (TH1F*)dir->FindObjectAny("h_TSmaxCalib_HB"); HistAmpl[16][2] = (TH1F*)dir->FindObjectAny("h_TSmaxCalib_HE"); HistAmpl[16][3] = (TH1F*)dir->FindObjectAny("h_TSmaxCalib_HO"); HistAmpl[16][4] = (TH1F*)dir->FindObjectAny("h_TSmaxCalib_HF"); - for (int test=12;test<=16;test++) { //Test: 2-Am, 3-Wm, 4-Rm, 5-TNm, 6-TXm, - for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO - if (sub==1) cONE->Divide(1,1);//cHB->Divide(2,1); - if (sub==2) cONE->Divide(1,1);//cHE->Divide(3,1); - if (sub==3) cONE->Divide(1,1); - if (sub==4) cONE->Divide(1,1);//cHB->Divide(2,1); -// int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet -// int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet -// for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth - int k=1; - if (sub==1) {k=1;cONE->cd(k);}//cHB->cd(k); } - if (sub==2) {k=1;cONE->cd(k);}//cHE->cd(k); } - if (sub==3) {k=4;cONE->cd(k-3);} - if (sub==4) {k=1;cONE->cd(k);}//cHB->cd(k); } - Map_Ampl[test][sub][k]->Divide(Map_Ampl[test][sub][k],Map_Calib[sub][k], 1, 1, "B"); - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogz(); - if (sub==1) sprintf(str,"HB"); - if (sub==2) sprintf(str,"HE"); - if (sub==3) sprintf(str,"HO"); - if (sub==4) sprintf(str,"HF"); - Map_Ampl[test][sub][k]->SetTitle(str); - Map_Ampl[test][sub][k]->SetXTitle("#eta \b"); - Map_Ampl[test][sub][k]->SetYTitle("#phi \b"); - Map_Ampl[test][sub][k]->SetZTitle("Rate \b"); - Map_Ampl[test][sub][k]->SetTitleOffset(0.8,"Z"); - Map_Ampl[test][sub][k]->Draw("COLZ"); - Map_Ampl[test][sub][k]->GetYaxis()->SetRangeUser(0, 72.); - Map_Ampl[test][sub][k]->GetZaxis()->SetRangeUser(0.00001, 1.); -// if (sub==1) {cHB->Modified(); cHB->Update();} -// if (sub==2) {cHE->Modified(); cHE->Update();} - cONE->Modified();cONE->Update(); -// if (sub==4) {cHB->Modified(); cHB->Update();} -// }//end depth - if (test==12){ - if (sub==1) {cONE->Print("MapRateAmplCalibHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("MapRateAmplCalibHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("MapRateAmplCalibHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("MapRateAmplCalibHF.png"); cONE->Clear();} - } - if (test==13){ - if (sub==1) {cONE->Print("MapRateRMSCalibHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("MapRateRMSCalibHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("MapRateRMSCalibHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("MapRateRMSCalibHF.png"); cONE->Clear();} - } - if (test==14){ - if (sub==1) {cONE->Print("MapRate43TStoAllTSCalibHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("MapRate43TStoAllTSCalibHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("MapRate43TStoAllTSCalibHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("MapRate43TStoAllTSCalibHF.png"); cONE->Clear();} - } - if (test==15){ - if (sub==1) {cONE->Print("MapRateMeanPosCalibHB.png");cONE->Clear();} - if (sub==2) {cONE->Print("MapRateMeanPosCalibHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("MapRateMeanPosCalibHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("MapRateMeanPosCalibHF.png"); cONE->Clear();} - } - if (test==16){ - if (sub==1) {cONE->Print("MapRateMaxPosCalibHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("MapRateMaxPosCalibHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("MapRateMaxPosCalibHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("MapRateMaxPosCalibHF.png"); cONE->Clear();} - } - - cONE->Divide(1,1); - cONE->cd(1); - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogy(); - if (sub==1) HistAmpl[test][sub]->SetTitle("HB, All Depth"); - if (sub==2) HistAmpl[test][sub]->SetTitle("HE, All Depth"); - if (sub==3) HistAmpl[test][sub]->SetTitle("HO, All Depth"); - if (sub==4) HistAmpl[test][sub]->SetTitle("HF, All Depth"); - if (test==12) HistAmpl[test][sub]->SetXTitle("ADC Amlitude in each event & cell \b"); - if (test==13) HistAmpl[test][sub]->SetXTitle("Amplitude RMS in each event & cell \b"); - if (test==14) HistAmpl[test][sub]->SetXTitle("Ratio in each event & cell \b"); - if (test==15) HistAmpl[test][sub]->SetXTitle("Mean TS position in each event & cell \b"); - if (test==16) HistAmpl[test][sub]->SetXTitle("Max TS position in each event & cell \b"); - HistAmpl[test][sub]->SetYTitle("Number of cell-events \b"); - HistAmpl[test][sub]->SetLineColor(4); - HistAmpl[test][sub]->SetLineWidth(2); - HistAmpl[test][sub]->SetTitleOffset(1.4,"Y"); - HistAmpl[test][sub]->Draw(""); -// HistAmpl[test][sub]->GetYaxis()->SetRangeUser(1., 100.); - if (test==12) {gPad->SetLogx(); HistAmpl[test][sub]->GetXaxis()->SetRangeUser(1., 10000.);} - if (test==13) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 5.); - if (test==14) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 1.); - if (test==15) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 9.); - if (test==16) HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 9.); - cONE->Modified(); - cONE->Update(); - double min_x[] = {MIN_C[test-10][sub],MIN_C[test-10][sub]}; - double min_y[] = {0.,100000000.}; - TGraph* MIN = new TGraph(2, min_x, min_y); - MIN->SetLineStyle(2); - MIN->SetLineColor(2); - MIN->SetLineWidth(2 + 100*100); - MIN->SetFillStyle(3005); - MIN->SetFillColor(2); - MIN->Draw("L"); - double max_x[] = {MAX_C[test-10][sub],MAX_C[test-10][sub]}; - double max_y[] = {0.,100000000.}; - TGraph* MAX = new TGraph(2, max_x, max_y); - MAX->SetLineStyle(2); - MAX->SetLineColor(2); - MAX->SetLineWidth(-2 - 100*100); - MAX->SetFillStyle(3004); - MAX->SetFillColor(2); - MAX->Draw("L"); - if (test==12){ - if (sub==1) {cONE->Print("HistAmplCalibHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("HistAmplCalibHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("HistAmplCalibHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("HistAmplCalibHF.png"); cONE->Clear();} - } - if (test==13){ - if (sub==1) {cONE->Print("HistRMSCalibHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("HistRMSCalibHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("HistRMSCalibHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("HistRMSCalibHF.png"); cONE->Clear();} - } - if (test==14){ - if (sub==1) {cONE->Print("Hist43TStoAllTSCalibHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("Hist43TStoAllTSCalibHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("Hist43TStoAllTSCalibHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("Hist43TStoAllTSCalibHF.png"); cONE->Clear();} - } - if (test==15){ - if (sub==1) {cONE->Print("HistMeanPosCalibHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("HistMeanPosCalibHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("HistMeanPosCalibHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("HistMeanPosCalibHF.png"); cONE->Clear();} - } - if (test==16){ - if (sub==1) {cONE->Print("HistMaxPosCalibHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("HistMaxPosCalibHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("HistMaxPosCalibHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("HistMaxPosCalibHF.png"); cONE->Clear();} - } - }// end sub - }//end test - -//+++++++++++++++++++++++++++++ -//Test 21 (GS) Amplitude drift -//+++++++++++++++++++++++++++++ - + for (int test = 12; test <= 16; test++) { //Test: 2-Am, 3-Wm, 4-Rm, 5-TNm, 6-TXm, + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + if (sub == 1) + cONE->Divide(1, 1); //cHB->Divide(2,1); + if (sub == 2) + cONE->Divide(1, 1); //cHE->Divide(3,1); + if (sub == 3) + cONE->Divide(1, 1); + if (sub == 4) + cONE->Divide(1, 1); //cHB->Divide(2,1); + // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth + int k = 1; + if (sub == 1) { + k = 1; + cONE->cd(k); + } //cHB->cd(k); } + if (sub == 2) { + k = 1; + cONE->cd(k); + } //cHE->cd(k); } + if (sub == 3) { + k = 4; + cONE->cd(k - 3); + } + if (sub == 4) { + k = 1; + cONE->cd(k); + } //cHB->cd(k); } + Map_Ampl[test][sub][k]->Divide(Map_Ampl[test][sub][k], Map_Calib[sub][k], 1, 1, "B"); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub == 1) + sprintf(str, "HB"); + if (sub == 2) + sprintf(str, "HE"); + if (sub == 3) + sprintf(str, "HO"); + if (sub == 4) + sprintf(str, "HF"); + Map_Ampl[test][sub][k]->SetTitle(str); + Map_Ampl[test][sub][k]->SetXTitle("#eta \b"); + Map_Ampl[test][sub][k]->SetYTitle("#phi \b"); + Map_Ampl[test][sub][k]->SetZTitle("Rate \b"); + Map_Ampl[test][sub][k]->SetTitleOffset(0.8, "Z"); + Map_Ampl[test][sub][k]->Draw("COLZ"); + Map_Ampl[test][sub][k]->GetYaxis()->SetRangeUser(0, 72.); + Map_Ampl[test][sub][k]->GetZaxis()->SetRangeUser(0.00001, 1.); + // if (sub==1) {cHB->Modified(); cHB->Update();} + // if (sub==2) {cHE->Modified(); cHE->Update();} + cONE->Modified(); + cONE->Update(); + // if (sub==4) {cHB->Modified(); cHB->Update();} + // }//end depth + if (test == 12) { + if (sub == 1) { + cONE->Print("MapRateAmplCalibHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("MapRateAmplCalibHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateAmplCalibHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("MapRateAmplCalibHF.png"); + cONE->Clear(); + } + } + if (test == 13) { + if (sub == 1) { + cONE->Print("MapRateRMSCalibHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("MapRateRMSCalibHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateRMSCalibHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("MapRateRMSCalibHF.png"); + cONE->Clear(); + } + } + if (test == 14) { + if (sub == 1) { + cONE->Print("MapRate43TStoAllTSCalibHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("MapRate43TStoAllTSCalibHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRate43TStoAllTSCalibHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("MapRate43TStoAllTSCalibHF.png"); + cONE->Clear(); + } + } + if (test == 15) { + if (sub == 1) { + cONE->Print("MapRateMeanPosCalibHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("MapRateMeanPosCalibHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateMeanPosCalibHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("MapRateMeanPosCalibHF.png"); + cONE->Clear(); + } + } + if (test == 16) { + if (sub == 1) { + cONE->Print("MapRateMaxPosCalibHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("MapRateMaxPosCalibHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateMaxPosCalibHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("MapRateMaxPosCalibHF.png"); + cONE->Clear(); + } + } + + cONE->Divide(1, 1); + cONE->cd(1); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogy(); + if (sub == 1) + HistAmpl[test][sub]->SetTitle("HB, All Depth"); + if (sub == 2) + HistAmpl[test][sub]->SetTitle("HE, All Depth"); + if (sub == 3) + HistAmpl[test][sub]->SetTitle("HO, All Depth"); + if (sub == 4) + HistAmpl[test][sub]->SetTitle("HF, All Depth"); + if (test == 12) + HistAmpl[test][sub]->SetXTitle("ADC Amlitude in each event & cell \b"); + if (test == 13) + HistAmpl[test][sub]->SetXTitle("Amplitude RMS in each event & cell \b"); + if (test == 14) + HistAmpl[test][sub]->SetXTitle("Ratio in each event & cell \b"); + if (test == 15) + HistAmpl[test][sub]->SetXTitle("Mean TS position in each event & cell \b"); + if (test == 16) + HistAmpl[test][sub]->SetXTitle("Max TS position in each event & cell \b"); + HistAmpl[test][sub]->SetYTitle("Number of cell-events \b"); + HistAmpl[test][sub]->SetLineColor(4); + HistAmpl[test][sub]->SetLineWidth(2); + HistAmpl[test][sub]->SetTitleOffset(1.4, "Y"); + HistAmpl[test][sub]->Draw(""); + // HistAmpl[test][sub]->GetYaxis()->SetRangeUser(1., 100.); + if (test == 12) { + gPad->SetLogx(); + HistAmpl[test][sub]->GetXaxis()->SetRangeUser(1., 10000.); + } + if (test == 13) + HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 5.); + if (test == 14) + HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 1.); + if (test == 15) + HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 9.); + if (test == 16) + HistAmpl[test][sub]->GetXaxis()->SetRangeUser(0., 9.); + cONE->Modified(); + cONE->Update(); + double min_x[] = {MIN_C[test - 10][sub], MIN_C[test - 10][sub]}; + double min_y[] = {0., 100000000.}; + TGraph* MIN = new TGraph(2, min_x, min_y); + MIN->SetLineStyle(2); + MIN->SetLineColor(2); + MIN->SetLineWidth(2 + 100 * 100); + MIN->SetFillStyle(3005); + MIN->SetFillColor(2); + MIN->Draw("L"); + double max_x[] = {MAX_C[test - 10][sub], MAX_C[test - 10][sub]}; + double max_y[] = {0., 100000000.}; + TGraph* MAX = new TGraph(2, max_x, max_y); + MAX->SetLineStyle(2); + MAX->SetLineColor(2); + MAX->SetLineWidth(-2 - 100 * 100); + MAX->SetFillStyle(3004); + MAX->SetFillColor(2); + MAX->Draw("L"); + if (test == 12) { + if (sub == 1) { + cONE->Print("HistAmplCalibHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("HistAmplCalibHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("HistAmplCalibHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("HistAmplCalibHF.png"); + cONE->Clear(); + } + } + if (test == 13) { + if (sub == 1) { + cONE->Print("HistRMSCalibHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("HistRMSCalibHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("HistRMSCalibHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("HistRMSCalibHF.png"); + cONE->Clear(); + } + } + if (test == 14) { + if (sub == 1) { + cONE->Print("Hist43TStoAllTSCalibHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("Hist43TStoAllTSCalibHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("Hist43TStoAllTSCalibHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("Hist43TStoAllTSCalibHF.png"); + cONE->Clear(); + } + } + if (test == 15) { + if (sub == 1) { + cONE->Print("HistMeanPosCalibHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("HistMeanPosCalibHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("HistMeanPosCalibHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("HistMeanPosCalibHF.png"); + cONE->Clear(); + } + } + if (test == 16) { + if (sub == 1) { + cONE->Print("HistMaxPosCalibHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("HistMaxPosCalibHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("HistMaxPosCalibHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("HistMaxPosCalibHF.png"); + cONE->Clear(); + } + } + } // end sub + } //end test + + //+++++++++++++++++++++++++++++ + //Test 21 (GS) Amplitude drift + //+++++++++++++++++++++++++++++ + Map_Ampl[21][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1AmplE34_HB"); - Map_Ampl[21][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2AmplE34_HB"); + Map_Ampl[21][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2AmplE34_HB"); Map_Ampl[21][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3AmplE34_HB"); - Map_Ampl[21][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4AmplE34_HB"); + Map_Ampl[21][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4AmplE34_HB"); Map_Ampl[21][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1AmplE34_HE"); - Map_Ampl[21][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2AmplE34_HE"); - Map_Ampl[21][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3AmplE34_HE"); - Map_Ampl[21][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4AmplE34_HE"); - Map_Ampl[21][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5AmplE34_HE"); - Map_Ampl[21][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6AmplE34_HE"); - Map_Ampl[21][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7AmplE34_HE"); + Map_Ampl[21][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2AmplE34_HE"); + Map_Ampl[21][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3AmplE34_HE"); + Map_Ampl[21][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4AmplE34_HE"); + Map_Ampl[21][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5AmplE34_HE"); + Map_Ampl[21][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6AmplE34_HE"); + Map_Ampl[21][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7AmplE34_HE"); Map_Ampl[21][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4AmplE34_HO"); Map_Ampl[21][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1AmplE34_HF"); - Map_Ampl[21][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2AmplE34_HF"); - Map_Ampl[21][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3AmplE34_HF"); - Map_Ampl[21][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4AmplE34_HF"); - - TH2F *Map_RefAmpl[5][ALLDEPTH]; // 2D histogramm for subdet, depth - TH2F *Map_RefSUB[5][ALLDEPTH]; // 2d histogramm for subdet, depth + Map_Ampl[21][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2AmplE34_HF"); + Map_Ampl[21][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3AmplE34_HF"); + Map_Ampl[21][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4AmplE34_HF"); + + TH2F* Map_RefAmpl[5][ALLDEPTH]; // 2D histogramm for subdet, depth + TH2F* Map_RefSUB[5][ALLDEPTH]; // 2d histogramm for subdet, depth Map_RefAmpl[1][1] = (TH2F*)refdir->FindObjectAny("h_mapDepth1AmplE34_HB"); - Map_RefAmpl[1][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2AmplE34_HB"); + Map_RefAmpl[1][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2AmplE34_HB"); Map_RefAmpl[1][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3AmplE34_HB"); - Map_RefAmpl[1][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4AmplE34_HB"); + Map_RefAmpl[1][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4AmplE34_HB"); Map_RefAmpl[2][1] = (TH2F*)refdir->FindObjectAny("h_mapDepth1AmplE34_HE"); - Map_RefAmpl[2][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2AmplE34_HE"); - Map_RefAmpl[2][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3AmplE34_HE"); - Map_RefAmpl[2][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4AmplE34_HE"); - Map_RefAmpl[2][5] = (TH2F*)refdir->FindObjectAny("h_mapDepth5AmplE34_HE"); - Map_RefAmpl[2][6] = (TH2F*)refdir->FindObjectAny("h_mapDepth6AmplE34_HE"); - Map_RefAmpl[2][7] = (TH2F*)refdir->FindObjectAny("h_mapDepth7AmplE34_HE"); + Map_RefAmpl[2][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2AmplE34_HE"); + Map_RefAmpl[2][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3AmplE34_HE"); + Map_RefAmpl[2][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4AmplE34_HE"); + Map_RefAmpl[2][5] = (TH2F*)refdir->FindObjectAny("h_mapDepth5AmplE34_HE"); + Map_RefAmpl[2][6] = (TH2F*)refdir->FindObjectAny("h_mapDepth6AmplE34_HE"); + Map_RefAmpl[2][7] = (TH2F*)refdir->FindObjectAny("h_mapDepth7AmplE34_HE"); Map_RefAmpl[3][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4AmplE34_HO"); Map_RefAmpl[4][1] = (TH2F*)refdir->FindObjectAny("h_mapDepth1AmplE34_HF"); - Map_RefAmpl[4][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2AmplE34_HF"); - Map_RefAmpl[4][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3AmplE34_HF"); - Map_RefAmpl[4][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4AmplE34_HF"); + Map_RefAmpl[4][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2AmplE34_HF"); + Map_RefAmpl[4][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3AmplE34_HF"); + Map_RefAmpl[4][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4AmplE34_HF"); Map_RefSUB[1][1] = (TH2F*)refdir->FindObjectAny("h_mapDepth1_HB"); - Map_RefSUB[1][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2_HB"); + Map_RefSUB[1][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2_HB"); Map_RefSUB[1][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3_HB"); - Map_RefSUB[1][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4_HB"); + Map_RefSUB[1][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4_HB"); Map_RefSUB[2][1] = (TH2F*)refdir->FindObjectAny("h_mapDepth1_HE"); - Map_RefSUB[2][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2_HE"); - Map_RefSUB[2][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3_HE"); - Map_RefSUB[2][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4_HE"); - Map_RefSUB[2][5] = (TH2F*)refdir->FindObjectAny("h_mapDepth5_HE"); - Map_RefSUB[2][6] = (TH2F*)refdir->FindObjectAny("h_mapDepth6_HE"); - Map_RefSUB[2][7] = (TH2F*)refdir->FindObjectAny("h_mapDepth7_HE"); + Map_RefSUB[2][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2_HE"); + Map_RefSUB[2][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3_HE"); + Map_RefSUB[2][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4_HE"); + Map_RefSUB[2][5] = (TH2F*)refdir->FindObjectAny("h_mapDepth5_HE"); + Map_RefSUB[2][6] = (TH2F*)refdir->FindObjectAny("h_mapDepth6_HE"); + Map_RefSUB[2][7] = (TH2F*)refdir->FindObjectAny("h_mapDepth7_HE"); Map_RefSUB[3][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4_HO"); Map_RefSUB[4][1] = (TH2F*)refdir->FindObjectAny("h_mapDepth1_HF"); - Map_RefSUB[4][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2_HF"); - Map_RefSUB[4][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3_HF"); - Map_RefSUB[4][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4_HF"); - - HistAmplDepth[21][1][1] = new TH1F("diffAmpl_Depth1_HB","", 100, -10., 10.); - HistAmplDepth[21][1][2] = new TH1F("diffAmpl_Depth2_HB","", 100, -10., 10.); - HistAmplDepth[21][1][3] = new TH1F("diffAmpl_Depth3_HB","", 100, -10., 10.); - HistAmplDepth[21][1][4] = new TH1F("diffAmpl_Depth4_HB","", 100, -10., 10.); - HistAmplDepth[21][2][1] = new TH1F("diffAmpl_Depth1_HE","", 100, -10., 10.); - HistAmplDepth[21][2][2] = new TH1F("diffAmpl_Depth2_HE","", 100, -10., 10.); - HistAmplDepth[21][2][3] = new TH1F("diffAmpl_Depth3_HE","", 100, -10., 10.); - HistAmplDepth[21][2][4] = new TH1F("diffAmpl_Depth4_HE","", 100, -10., 10.); - HistAmplDepth[21][2][5] = new TH1F("diffAmpl_Depth5_HE","", 100, -10., 10.); - HistAmplDepth[21][2][6] = new TH1F("diffAmpl_Depth6_HE","", 100, -10., 10.); - HistAmplDepth[21][2][7] = new TH1F("diffAmpl_Depth7_HE","", 100, -10., 10.); - HistAmplDepth[21][3][4] = new TH1F("diffAmpl_Depth4_HO","", 100, -10., 10.); - HistAmplDepth[21][4][1] = new TH1F("diffAmpl_Depth1_HF","", 100, -10., 10.); - HistAmplDepth[21][4][2] = new TH1F("diffAmpl_Depth2_HF","", 100, -10., 10.); - HistAmplDepth[21][4][3] = new TH1F("diffAmpl_Depth3_HF","", 100, -10., 10.); - HistAmplDepth[21][4][4] = new TH1F("diffAmpl_Depth4_HF","", 100, -10., 10.); - - for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + Map_RefSUB[4][2] = (TH2F*)refdir->FindObjectAny("h_mapDepth2_HF"); + Map_RefSUB[4][3] = (TH2F*)refdir->FindObjectAny("h_mapDepth3_HF"); + Map_RefSUB[4][4] = (TH2F*)refdir->FindObjectAny("h_mapDepth4_HF"); + + HistAmplDepth[21][1][1] = new TH1F("diffAmpl_Depth1_HB", "", 100, -10., 10.); + HistAmplDepth[21][1][2] = new TH1F("diffAmpl_Depth2_HB", "", 100, -10., 10.); + HistAmplDepth[21][1][3] = new TH1F("diffAmpl_Depth3_HB", "", 100, -10., 10.); + HistAmplDepth[21][1][4] = new TH1F("diffAmpl_Depth4_HB", "", 100, -10., 10.); + HistAmplDepth[21][2][1] = new TH1F("diffAmpl_Depth1_HE", "", 100, -10., 10.); + HistAmplDepth[21][2][2] = new TH1F("diffAmpl_Depth2_HE", "", 100, -10., 10.); + HistAmplDepth[21][2][3] = new TH1F("diffAmpl_Depth3_HE", "", 100, -10., 10.); + HistAmplDepth[21][2][4] = new TH1F("diffAmpl_Depth4_HE", "", 100, -10., 10.); + HistAmplDepth[21][2][5] = new TH1F("diffAmpl_Depth5_HE", "", 100, -10., 10.); + HistAmplDepth[21][2][6] = new TH1F("diffAmpl_Depth6_HE", "", 100, -10., 10.); + HistAmplDepth[21][2][7] = new TH1F("diffAmpl_Depth7_HE", "", 100, -10., 10.); + HistAmplDepth[21][3][4] = new TH1F("diffAmpl_Depth4_HO", "", 100, -10., 10.); + HistAmplDepth[21][4][1] = new TH1F("diffAmpl_Depth1_HF", "", 100, -10., 10.); + HistAmplDepth[21][4][2] = new TH1F("diffAmpl_Depth2_HF", "", 100, -10., 10.); + HistAmplDepth[21][4][3] = new TH1F("diffAmpl_Depth3_HF", "", 100, -10., 10.); + HistAmplDepth[21][4][4] = new TH1F("diffAmpl_Depth4_HF", "", 100, -10., 10.); + + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + // if (sub==1) cHB->Divide(2,1); + if (sub == 1) + cHB->Divide(2, 2); + // if (sub==2) cHE->Divide(3,1); + if (sub == 2) + cHE->Divide(3, 3); + if (sub == 3) + cONE->Divide(1, 1); + // if (sub==4) cHF->Divide(2,1); + if (sub == 4) + cHF->Divide(2, 2); + // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + for (int k = k_min[sub]; k <= k_max[sub]; k++) { //Depth + if (sub == 1) + cHB->cd(k); + if (sub == 2) + cHE->cd(k); + if (sub == 3) + cONE->cd(k - 3); + if (sub == 4) + cHF->cd(k); + Map_Ampl[21][sub][k]->Divide(Map_Ampl[21][sub][k], Map_SUB[sub][k], 1, 1, "B"); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub == 1) + sprintf(str, "HB, Depth%d \b", k); + if (sub == 2) + sprintf(str, "HE, Depth%d \b", k); + if (sub == 3) + sprintf(str, "HO, Depth%d \b", k); + if (sub == 4) + sprintf(str, "HF, Depth%d \b", k); + Map_Ampl[21][sub][k]->SetTitle(str); + Map_Ampl[21][sub][k]->SetXTitle("#eta \b"); + Map_Ampl[21][sub][k]->SetYTitle("#phi \b"); + Map_Ampl[21][sub][k]->SetZTitle("Response \b"); + Map_Ampl[21][sub][k]->SetTitleOffset(1.1, "Z"); + Map_Ampl[21][sub][k]->Draw("COLZ"); + Map_Ampl[21][sub][k]->GetYaxis()->SetRangeUser(0, 71.); + // Map_Ampl[21][sub][k]->GetZaxis()->SetRangeUser(1., 10.); + if (sub == 1) { + cHB->Modified(); + cHB->Update(); + } + if (sub == 2) { + cHE->Modified(); + cHE->Update(); + } + if (sub == 3) { + cONE->Modified(); + cONE->Update(); + } + if (sub == 4) { + cHF->Modified(); + cHF->Update(); + } + } //end depth + if (sub == 1) { + cHB->Print("MapRateAmpl1HB.png"); + cHB->Clear(); + } + if (sub == 2) { + cHE->Print("MapRateAmpl1HE.png"); + cHE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateAmpl1HO.png"); + cONE->Clear(); + } + if (sub == 4) { + cHF->Print("MapRateAmpl1HF.png"); + cHF->Clear(); + } + // if (sub==1) cHB->Divide(2,1); - if (sub==1) cHB->Divide(2,2); - // if (sub==2) cHE->Divide(3,1); - if (sub==2) cHE->Divide(3,3); - if (sub==3) cONE->Divide(1,1); - // if (sub==4) cHF->Divide(2,1); - if (sub==4) cHF->Divide(2,2); - // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet - // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet - // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet - for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth - if (sub==1) cHB->cd(k); - if (sub==2) cHE->cd(k); - if (sub==3) cONE->cd(k-3); - if (sub==4) cHF->cd(k); - Map_Ampl[21][sub][k]->Divide(Map_Ampl[21][sub][k], Map_SUB[sub][k], 1, 1, "B"); - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogz(); - if (sub==1) sprintf(str,"HB, Depth%d \b", k); - if (sub==2) sprintf(str,"HE, Depth%d \b", k); - if (sub==3) sprintf(str,"HO, Depth%d \b", k); - if (sub==4) sprintf(str,"HF, Depth%d \b", k); - Map_Ampl[21][sub][k]->SetTitle(str); - Map_Ampl[21][sub][k]->SetXTitle("#eta \b"); - Map_Ampl[21][sub][k]->SetYTitle("#phi \b"); - Map_Ampl[21][sub][k]->SetZTitle("Response \b"); - Map_Ampl[21][sub][k]->SetTitleOffset(1.1,"Z"); - Map_Ampl[21][sub][k]->Draw("COLZ"); - Map_Ampl[21][sub][k]->GetYaxis()->SetRangeUser(0, 71.); -// Map_Ampl[21][sub][k]->GetZaxis()->SetRangeUser(1., 10.); - if (sub==1) {cHB->Modified(); cHB->Update();} - if (sub==2) {cHE->Modified(); cHE->Update();} - if (sub==3) {cONE->Modified();cONE->Update();} - if (sub==4) {cHF->Modified(); cHF->Update();} - } //end depth - if (sub==1) {cHB->Print("MapRateAmpl1HB.png"); cHB->Clear();} - if (sub==2) {cHE->Print("MapRateAmpl1HE.png"); cHE->Clear();} - if (sub==3) {cONE->Print("MapRateAmpl1HO.png"); cONE->Clear();} - if (sub==4) {cHF->Print("MapRateAmpl1HF.png"); cHF->Clear();} - - // if (sub==1) cHB->Divide(2,1); - if (sub==1) cHB->Divide(2,2); - // if (sub==2) cHE->Divide(3,1); - if (sub==2) cHE->Divide(3,3); - if (sub==3) cONE->Divide(1,1); - // if (sub==4) cHF->Divide(2,1); - if (sub==4) cHF->Divide(2,2); - - for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth - if (sub==1) cHB->cd(k); - if (sub==2) cHE->cd(k); - if (sub==3) cONE->cd(k-3); - if (sub==4) cHF->cd(k); - Map_RefAmpl[sub][k]->Divide(Map_RefAmpl[sub][k], Map_RefSUB[sub][k], 1, 1, "B"); - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogz(); - if (sub==1) sprintf(str,"HB, Depth%d \b", k); - if (sub==2) sprintf(str,"HE, Depth%d \b", k); - if (sub==3) sprintf(str,"HO, Depth%d \b", k); - if (sub==4) sprintf(str,"HF, Depth%d \b", k); - Map_RefAmpl[sub][k]->SetTitle(str); - Map_RefAmpl[sub][k]->SetXTitle("#eta \b"); - Map_RefAmpl[sub][k]->SetYTitle("#phi \b"); - Map_RefAmpl[sub][k]->SetZTitle("Response\b"); - Map_RefAmpl[sub][k]->SetTitleOffset(1.1,"Z"); - Map_RefAmpl[sub][k]->Draw("COLZ"); - Map_RefAmpl[sub][k]->GetYaxis()->SetRangeUser(0, 71.); -// Map_RefAmpl[21][sub][k]->GetZaxis()->SetRangeUser(1., 10.); - if (sub==1) {cHB->Modified(); cHB->Update();} - if (sub==2) {cHE->Modified(); cHE->Update();} - if (sub==3) {cONE->Modified();cONE->Update();} - if (sub==4) {cHF->Modified(); cHF->Update();} - }//end depth - if (sub==1) {cHB->Print("MapRateAmpl2HB.png"); cHB->Clear();} - if (sub==2) {cHE->Print("MapRateAmpl2HE.png"); cHE->Clear();} - if (sub==3) {cONE->Print("MapRateAmpl2HO.png"); cONE->Clear();} - if (sub==4) {cHF->Print("MapRateAmpl2HF.png"); cHF->Clear();} - - // if (sub==1) cHB->Divide(2,1); - if (sub==1) cHB->Divide(2,2); - // if (sub==2) cHE->Divide(3,1); - if (sub==2) cHE->Divide(3,3); - if (sub==3) cONE->Divide(1,1); - // if (sub==4) cHF->Divide(2,1); - if (sub==4) cHF->Divide(2,2); - - for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth - if (sub==1) cHB->cd(k); - if (sub==2) cHE->cd(k); - if (sub==3) cONE->cd(k-3); - if (sub==4) cHF->cd(k); - TH2F* TTT = new TH2F("Map","Map", 82, -41, 40, 72, 0, 71); - for (int x=1;x<=Map_Ampl[21][sub][k]->GetXaxis()->GetNbins();x++) { - for (int y=1;y<=Map_Ampl[21][sub][k]->GetYaxis()->GetNbins(); y++) { - if (Map_Ampl[21][sub][k]->GetBinContent(x,y) !=0 && Map_RefAmpl[sub][k]->GetBinContent(x,y) !=0 ) { - double ccc1 = Map_Ampl[21][sub][k]->GetBinContent(x,y) - Map_RefAmpl[sub][k]->GetBinContent(x,y) ; - ccc1 = 100.*ccc1/Map_Ampl[21][sub][k]->GetBinContent(x,y);// in % - HistAmplDepth[21][sub][k]->Fill(ccc1); - Map_Ampl[21][sub][k]->SetBinContent(x,y,fabs(ccc1)); - if(fabs(ccc1) > porog[sub]) TTT->SetBinContent(x,y,fabs(ccc1)); - else TTT->SetBinContent(x,y,0); - } - }//end y - }//esnd x - gPad->SetGridy(); - gPad->SetGridx(); -// gPad->SetLogz(); - if (sub==1) sprintf(str,"HB, Depth%d \b", k); - if (sub==2) sprintf(str,"HE, Depth%d \b", k); - if (sub==3) sprintf(str,"HO, Depth%d \b", k); - if (sub==4) sprintf(str,"HF, Depth%d \b", k); - TTT->SetTitle(str); - TTT->SetXTitle("#eta \b"); - TTT->SetYTitle("#phi \b"); - TTT->SetZTitle("Relative difference, % \b"); - TTT->SetTitleOffset(0.9,"Z"); - TTT->Draw("COLZ"); - TTT->GetYaxis()->SetRangeUser(0, 71.); - TTT->GetZaxis()->SetRangeUser(0, 10.); - if (sub==1) {cHB->Modified(); cHB->Update();} - if (sub==2) {cHE->Modified(); cHE->Update();} - if (sub==3) {cONE->Modified();cONE->Update();} - if (sub==4) {cHF->Modified(); cHF->Update();} - }//end depth - - if (sub==1) {cHB->Print("MapRateAmplDriftHB.png"); cHB->Clear(); } - if (sub==2) {cHE->Print("MapRateAmplDriftHE.png"); cHE->Clear();} - if (sub==3) {cONE->Print("MapRateAmplDriftHO.png"); cONE->Clear();} - if (sub==4) {cHF->Print("MapRateAmplDriftHF.png"); cHF->Clear();} - //////////////////////////////////////////////////////////////////////////////////// - - - - // if (sub==1) cHB->Divide(2,1); - if (sub==1) cHB->Divide(2,2); - // if (sub==2) cHE->Divide(3,1); - if (sub==2) cHE->Divide(3,3); - if (sub==3) cONE->Divide(1,1); - // if (sub==4) cHF->Divide(2,1); - if (sub==4) cHF->Divide(2,2); - - for (int k=k_min[sub];k<=k_max[sub];k++) { //Depth - if (sub==1) cHB->cd(k); - if (sub==2) cHE->cd(k); - if (sub==3) cONE->cd(k-3); - if (sub==4) cHF->cd(k); - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogy(); - if (sub==1) sprintf(str,"HB, Depth%d \b", k); - if (sub==2) sprintf(str,"HE, Depth%d \b", k); - if (sub==3) sprintf(str,"HO, Depth%d \b", k); - if (sub==4) sprintf(str,"HF, Depth%d \b", k); - HistAmplDepth[21][sub][k]->SetTitle(str); - HistAmplDepth[21][sub][k]->SetYTitle("Number of cell-events \b"); - HistAmplDepth[21][sub][k]->SetXTitle("Per cent \b"); - HistAmplDepth[21][sub][k]->SetLineColor(4); - HistAmplDepth[21][sub][k]->SetLineWidth(2); - HistAmplDepth[21][sub][k]->SetTitleOffset(1.4,"Y"); - HistAmplDepth[21][sub][k]->Draw(); -// HistAmplDepth[21][sub][k]->GetYaxis()->SetRangeUser(0, 72.); - HistAmplDepth[21][sub][k]->GetXaxis()->SetRangeUser(-10., 10.); - if (sub==1) {cHB->Modified(); cHB->Update();} - if (sub==2) {cHE->Modified(); cHE->Update();} - if (sub==3) {cONE->Modified();cONE->Update();} - if (sub==4) {cHF->Modified(); cHF->Update();} - double min_x[] = {-1*porog[sub],-1*porog[sub]}; - double min_y[] = {0.,100000000.}; - TGraph* MIN = new TGraph(2, min_x, min_y); - MIN->SetLineStyle(2); - MIN->SetLineColor(2); - MIN->SetLineWidth(2 + 100*100); - MIN->SetFillStyle(3005); - MIN->SetFillColor(2); - MIN->Draw("L"); - double max_x[] = {porog[sub],porog[sub]}; - double max_y[] = {0.,100000000.}; - TGraph* MAX = new TGraph(2, max_x, max_y); - MAX->SetLineStyle(2); - MAX->SetLineColor(2); - MAX->SetLineWidth(-2 - 100*100); - MAX->SetFillStyle(3004); - MAX->SetFillColor(2); - MAX->Draw("L"); - } // end depth - if (sub==1) {cHB->Print("HistAmplDriftDepthHB.png"); cHB->Clear();} - if (sub==2) {cHE->Print("HistAmplDriftDepthHE.png"); cHE->Clear();} - if (sub==3) {cONE->Print("HistAmplDriftDepthHO.png"); cONE->Clear();} - if (sub==4) {cHF->Print("HistAmplDriftDepthHF.png"); cHF->Clear();} - } //end sub - - - //+++++++++++++++++++++++++++++++++++ -//Test 31, 32 Pedestal, pedestalWidths -//++++++++++++++++++++++++++++++++++++ - + if (sub == 1) + cHB->Divide(2, 2); + // if (sub==2) cHE->Divide(3,1); + if (sub == 2) + cHE->Divide(3, 3); + if (sub == 3) + cONE->Divide(1, 1); + // if (sub==4) cHF->Divide(2,1); + if (sub == 4) + cHF->Divide(2, 2); + + for (int k = k_min[sub]; k <= k_max[sub]; k++) { //Depth + if (sub == 1) + cHB->cd(k); + if (sub == 2) + cHE->cd(k); + if (sub == 3) + cONE->cd(k - 3); + if (sub == 4) + cHF->cd(k); + Map_RefAmpl[sub][k]->Divide(Map_RefAmpl[sub][k], Map_RefSUB[sub][k], 1, 1, "B"); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub == 1) + sprintf(str, "HB, Depth%d \b", k); + if (sub == 2) + sprintf(str, "HE, Depth%d \b", k); + if (sub == 3) + sprintf(str, "HO, Depth%d \b", k); + if (sub == 4) + sprintf(str, "HF, Depth%d \b", k); + Map_RefAmpl[sub][k]->SetTitle(str); + Map_RefAmpl[sub][k]->SetXTitle("#eta \b"); + Map_RefAmpl[sub][k]->SetYTitle("#phi \b"); + Map_RefAmpl[sub][k]->SetZTitle("Response\b"); + Map_RefAmpl[sub][k]->SetTitleOffset(1.1, "Z"); + Map_RefAmpl[sub][k]->Draw("COLZ"); + Map_RefAmpl[sub][k]->GetYaxis()->SetRangeUser(0, 71.); + // Map_RefAmpl[21][sub][k]->GetZaxis()->SetRangeUser(1., 10.); + if (sub == 1) { + cHB->Modified(); + cHB->Update(); + } + if (sub == 2) { + cHE->Modified(); + cHE->Update(); + } + if (sub == 3) { + cONE->Modified(); + cONE->Update(); + } + if (sub == 4) { + cHF->Modified(); + cHF->Update(); + } + } //end depth + if (sub == 1) { + cHB->Print("MapRateAmpl2HB.png"); + cHB->Clear(); + } + if (sub == 2) { + cHE->Print("MapRateAmpl2HE.png"); + cHE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateAmpl2HO.png"); + cONE->Clear(); + } + if (sub == 4) { + cHF->Print("MapRateAmpl2HF.png"); + cHF->Clear(); + } + + // if (sub==1) cHB->Divide(2,1); + if (sub == 1) + cHB->Divide(2, 2); + // if (sub==2) cHE->Divide(3,1); + if (sub == 2) + cHE->Divide(3, 3); + if (sub == 3) + cONE->Divide(1, 1); + // if (sub==4) cHF->Divide(2,1); + if (sub == 4) + cHF->Divide(2, 2); + + for (int k = k_min[sub]; k <= k_max[sub]; k++) { //Depth + if (sub == 1) + cHB->cd(k); + if (sub == 2) + cHE->cd(k); + if (sub == 3) + cONE->cd(k - 3); + if (sub == 4) + cHF->cd(k); + TH2F* TTT = new TH2F("Map", "Map", 82, -41, 40, 72, 0, 71); + for (int x = 1; x <= Map_Ampl[21][sub][k]->GetXaxis()->GetNbins(); x++) { + for (int y = 1; y <= Map_Ampl[21][sub][k]->GetYaxis()->GetNbins(); y++) { + if (Map_Ampl[21][sub][k]->GetBinContent(x, y) != 0 && Map_RefAmpl[sub][k]->GetBinContent(x, y) != 0) { + double ccc1 = Map_Ampl[21][sub][k]->GetBinContent(x, y) - Map_RefAmpl[sub][k]->GetBinContent(x, y); + ccc1 = 100. * ccc1 / Map_Ampl[21][sub][k]->GetBinContent(x, y); // in % + HistAmplDepth[21][sub][k]->Fill(ccc1); + Map_Ampl[21][sub][k]->SetBinContent(x, y, fabs(ccc1)); + if (fabs(ccc1) > porog[sub]) + TTT->SetBinContent(x, y, fabs(ccc1)); + else + TTT->SetBinContent(x, y, 0); + } + } //end y + } //esnd x + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogz(); + if (sub == 1) + sprintf(str, "HB, Depth%d \b", k); + if (sub == 2) + sprintf(str, "HE, Depth%d \b", k); + if (sub == 3) + sprintf(str, "HO, Depth%d \b", k); + if (sub == 4) + sprintf(str, "HF, Depth%d \b", k); + TTT->SetTitle(str); + TTT->SetXTitle("#eta \b"); + TTT->SetYTitle("#phi \b"); + TTT->SetZTitle("Relative difference, % \b"); + TTT->SetTitleOffset(0.9, "Z"); + TTT->Draw("COLZ"); + TTT->GetYaxis()->SetRangeUser(0, 71.); + TTT->GetZaxis()->SetRangeUser(0, 10.); + if (sub == 1) { + cHB->Modified(); + cHB->Update(); + } + if (sub == 2) { + cHE->Modified(); + cHE->Update(); + } + if (sub == 3) { + cONE->Modified(); + cONE->Update(); + } + if (sub == 4) { + cHF->Modified(); + cHF->Update(); + } + } //end depth + + if (sub == 1) { + cHB->Print("MapRateAmplDriftHB.png"); + cHB->Clear(); + } + if (sub == 2) { + cHE->Print("MapRateAmplDriftHE.png"); + cHE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRateAmplDriftHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cHF->Print("MapRateAmplDriftHF.png"); + cHF->Clear(); + } + //////////////////////////////////////////////////////////////////////////////////// + + // if (sub==1) cHB->Divide(2,1); + if (sub == 1) + cHB->Divide(2, 2); + // if (sub==2) cHE->Divide(3,1); + if (sub == 2) + cHE->Divide(3, 3); + if (sub == 3) + cONE->Divide(1, 1); + // if (sub==4) cHF->Divide(2,1); + if (sub == 4) + cHF->Divide(2, 2); + + for (int k = k_min[sub]; k <= k_max[sub]; k++) { //Depth + if (sub == 1) + cHB->cd(k); + if (sub == 2) + cHE->cd(k); + if (sub == 3) + cONE->cd(k - 3); + if (sub == 4) + cHF->cd(k); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogy(); + if (sub == 1) + sprintf(str, "HB, Depth%d \b", k); + if (sub == 2) + sprintf(str, "HE, Depth%d \b", k); + if (sub == 3) + sprintf(str, "HO, Depth%d \b", k); + if (sub == 4) + sprintf(str, "HF, Depth%d \b", k); + HistAmplDepth[21][sub][k]->SetTitle(str); + HistAmplDepth[21][sub][k]->SetYTitle("Number of cell-events \b"); + HistAmplDepth[21][sub][k]->SetXTitle("Per cent \b"); + HistAmplDepth[21][sub][k]->SetLineColor(4); + HistAmplDepth[21][sub][k]->SetLineWidth(2); + HistAmplDepth[21][sub][k]->SetTitleOffset(1.4, "Y"); + HistAmplDepth[21][sub][k]->Draw(); + // HistAmplDepth[21][sub][k]->GetYaxis()->SetRangeUser(0, 72.); + HistAmplDepth[21][sub][k]->GetXaxis()->SetRangeUser(-10., 10.); + if (sub == 1) { + cHB->Modified(); + cHB->Update(); + } + if (sub == 2) { + cHE->Modified(); + cHE->Update(); + } + if (sub == 3) { + cONE->Modified(); + cONE->Update(); + } + if (sub == 4) { + cHF->Modified(); + cHF->Update(); + } + double min_x[] = {-1 * porog[sub], -1 * porog[sub]}; + double min_y[] = {0., 100000000.}; + TGraph* MIN = new TGraph(2, min_x, min_y); + MIN->SetLineStyle(2); + MIN->SetLineColor(2); + MIN->SetLineWidth(2 + 100 * 100); + MIN->SetFillStyle(3005); + MIN->SetFillColor(2); + MIN->Draw("L"); + double max_x[] = {porog[sub], porog[sub]}; + double max_y[] = {0., 100000000.}; + TGraph* MAX = new TGraph(2, max_x, max_y); + MAX->SetLineStyle(2); + MAX->SetLineColor(2); + MAX->SetLineWidth(-2 - 100 * 100); + MAX->SetFillStyle(3004); + MAX->SetFillColor(2); + MAX->Draw("L"); + } // end depth + if (sub == 1) { + cHB->Print("HistAmplDriftDepthHB.png"); + cHB->Clear(); + } + if (sub == 2) { + cHE->Print("HistAmplDriftDepthHE.png"); + cHE->Clear(); + } + if (sub == 3) { + cONE->Print("HistAmplDriftDepthHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cHF->Print("HistAmplDriftDepthHF.png"); + cHF->Clear(); + } + } //end sub + + //+++++++++++++++++++++++++++++++++++ + //Test 31, 32 Pedestal, pedestalWidths + //++++++++++++++++++++++++++++++++++++ + Map_Ampl[31][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1pedestal_HB"); - Map_Ampl[31][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestal_HB"); + Map_Ampl[31][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestal_HB"); Map_Ampl[31][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3pedestal_HB"); - Map_Ampl[31][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestal_HB"); + Map_Ampl[31][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestal_HB"); Map_Ampl[31][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1pedestal_HE"); - Map_Ampl[31][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestal_HE"); - Map_Ampl[31][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3pedestal_HE"); - Map_Ampl[31][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestal_HE"); - Map_Ampl[31][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5pedestal_HE"); - Map_Ampl[31][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6pedestal_HE"); - Map_Ampl[31][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7pedestal_HE"); + Map_Ampl[31][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestal_HE"); + Map_Ampl[31][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3pedestal_HE"); + Map_Ampl[31][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestal_HE"); + Map_Ampl[31][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5pedestal_HE"); + Map_Ampl[31][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6pedestal_HE"); + Map_Ampl[31][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7pedestal_HE"); Map_Ampl[31][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestal_HO"); Map_Ampl[31][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1pedestal_HF"); Map_Ampl[31][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestal_HF"); @@ -1314,22 +1968,22 @@ std::cout<<" We are here to print fname refname runtypeC " <FindObjectAny("h_mapDepth4pedestal_HF"); Map_Ampl[32][1][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1pedestalw_HB"); - Map_Ampl[32][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestalw_HB"); + Map_Ampl[32][1][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestalw_HB"); Map_Ampl[32][1][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3pedestalw_HB"); - Map_Ampl[32][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestalw_HB"); + Map_Ampl[32][1][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestalw_HB"); Map_Ampl[32][2][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1pedestalw_HE"); - Map_Ampl[32][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestalw_HE"); - Map_Ampl[32][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3pedestalw_HE"); - Map_Ampl[32][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestalw_HE"); - Map_Ampl[32][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5pedestalw_HE"); - Map_Ampl[32][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6pedestalw_HE"); - Map_Ampl[32][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7pedestalw_HE"); + Map_Ampl[32][2][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestalw_HE"); + Map_Ampl[32][2][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3pedestalw_HE"); + Map_Ampl[32][2][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestalw_HE"); + Map_Ampl[32][2][5] = (TH2F*)dir->FindObjectAny("h_mapDepth5pedestalw_HE"); + Map_Ampl[32][2][6] = (TH2F*)dir->FindObjectAny("h_mapDepth6pedestalw_HE"); + Map_Ampl[32][2][7] = (TH2F*)dir->FindObjectAny("h_mapDepth7pedestalw_HE"); Map_Ampl[32][3][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestalw_HO"); Map_Ampl[32][4][1] = (TH2F*)dir->FindObjectAny("h_mapDepth1pedestalw_HF"); Map_Ampl[32][4][2] = (TH2F*)dir->FindObjectAny("h_mapDepth2pedestalw_HF"); Map_Ampl[32][4][3] = (TH2F*)dir->FindObjectAny("h_mapDepth3pedestalw_HF"); Map_Ampl[32][4][4] = (TH2F*)dir->FindObjectAny("h_mapDepth4pedestalw_HF"); - + HistPed[1][1][0] = (TH1F*)dir->FindObjectAny("h_pedestal0_HB"); HistPed[1][1][1] = (TH1F*)dir->FindObjectAny("h_pedestal1_HB"); HistPed[1][1][2] = (TH1F*)dir->FindObjectAny("h_pedestal2_HB"); @@ -1338,16 +1992,16 @@ std::cout<<" We are here to print fname refname runtypeC " <FindObjectAny("h_pedestalw1_HB"); HistPed[2][1][2] = (TH1F*)dir->FindObjectAny("h_pedestalw2_HB"); HistPed[2][1][3] = (TH1F*)dir->FindObjectAny("h_pedestalw3_HB"); - + HistPed[1][2][0] = (TH1F*)dir->FindObjectAny("h_pedestal0_HE"); HistPed[1][2][1] = (TH1F*)dir->FindObjectAny("h_pedestal1_HE"); HistPed[1][2][2] = (TH1F*)dir->FindObjectAny("h_pedestal2_HE"); - HistPed[1][2][3] = (TH1F*)dir->FindObjectAny("h_pedestal3_HE"); + HistPed[1][2][3] = (TH1F*)dir->FindObjectAny("h_pedestal3_HE"); HistPed[2][2][0] = (TH1F*)dir->FindObjectAny("h_pedestalw0_HE"); HistPed[2][2][1] = (TH1F*)dir->FindObjectAny("h_pedestalw1_HE"); HistPed[2][2][2] = (TH1F*)dir->FindObjectAny("h_pedestalw2_HE"); - HistPed[2][2][3] = (TH1F*)dir->FindObjectAny("h_pedestalw3_HE"); - + HistPed[2][2][3] = (TH1F*)dir->FindObjectAny("h_pedestalw3_HE"); + HistPed[1][3][0] = (TH1F*)dir->FindObjectAny("h_pedestal0_HO"); HistPed[1][3][1] = (TH1F*)dir->FindObjectAny("h_pedestal1_HO"); HistPed[1][3][2] = (TH1F*)dir->FindObjectAny("h_pedestal2_HO"); @@ -1356,7 +2010,7 @@ std::cout<<" We are here to print fname refname runtypeC " <FindObjectAny("h_pedestalw1_HO"); HistPed[2][3][2] = (TH1F*)dir->FindObjectAny("h_pedestalw2_HO"); HistPed[2][3][3] = (TH1F*)dir->FindObjectAny("h_pedestalw3_HO"); - + HistPed[1][4][0] = (TH1F*)dir->FindObjectAny("h_pedestal0_HF"); HistPed[1][4][1] = (TH1F*)dir->FindObjectAny("h_pedestal1_HF"); HistPed[1][4][2] = (TH1F*)dir->FindObjectAny("h_pedestal2_HF"); @@ -1366,122 +2020,196 @@ std::cout<<" We are here to print fname refname runtypeC " <FindObjectAny("h_pedestalw2_HF"); HistPed[2][4][3] = (TH1F*)dir->FindObjectAny("h_pedestalw3_HF"); + for (int test = 31; test <= 32; test++) { //Test: 31-Pedestals, 32-pedestal Widths, + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF + // if (sub==1) cHB->Divide(2,1); + if (sub == 1) + cHB->Divide(2, 2); + // if (sub==2) cHE->Divide(3,1); + if (sub == 2) + cHE->Divide(3, 3); + if (sub == 3) + cONE->Divide(1, 1); + // if (sub==4) cHF->Divide(2,1); + if (sub == 4) + cHF->Divide(2, 2); + // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet + // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet + // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet + for (int k = k_min[sub]; k <= k_max[sub]; k++) { //Depths + if (sub == 1) + cHB->cd(k); + if (sub == 2) + cHE->cd(k); + if (sub == 3) + cONE->cd(k - 3); + if (sub == 4) + cHF->cd(k); + Map_Ampl[test][sub][k]->Divide(Map_Ampl[test][sub][k], Map_SUB[sub][k], 1, 1, "B"); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + if (sub == 1) + sprintf(str, "HB, Depth%d \b", k); + if (sub == 2) + sprintf(str, "HE, Depth%d \b", k); + if (sub == 3) + sprintf(str, "HO, Depth%d \b", k); + if (sub == 4) + sprintf(str, "HF, Depth%d \b", k); + Map_Ampl[test][sub][k]->SetTitle(str); + Map_Ampl[test][sub][k]->SetXTitle("#eta \b"); + Map_Ampl[test][sub][k]->SetYTitle("#phi \b"); + Map_Ampl[test][sub][k]->SetZTitle("Rate \b"); + if (sub == 3) + Map_Ampl[test][sub][k]->SetTitleOffset(0.8, "Z"); + Map_Ampl[test][sub][k]->Draw("COLZ"); + Map_Ampl[test][sub][k]->GetYaxis()->SetRangeUser(0, 72.); + Map_Ampl[test][sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); + if (sub == 1) { + cHB->Modified(); + cHB->Update(); + } + if (sub == 2) { + cHE->Modified(); + cHE->Update(); + } + if (sub == 3) { + cONE->Modified(); + cONE->Update(); + } + if (sub == 4) { + cHF->Modified(); + cHF->Update(); + } + } //end depth + if (test == 31) { + if (sub == 1) { + cHB->Print("MapRatePedHB.png"); + cHB->Clear(); + } + if (sub == 2) { + cHE->Print("MapRatePedHE.png"); + cHE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRatePedHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cHF->Print("MapRatePedHF.png"); + cHF->Clear(); + } + } + if (test == 32) { + if (sub == 1) { + cHB->Print("MapRatePedWidthsHB.png"); + cHB->Clear(); + } + if (sub == 2) { + cHE->Print("MapRatePedWidthsHE.png"); + cHE->Clear(); + } + if (sub == 3) { + cONE->Print("MapRatePedWidthsHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cHF->Print("MapRatePedWidthsHF.png"); + cHF->Clear(); + } + } - for (int test=31;test<=32;test++) { //Test: 31-Pedestals, 32-pedestal Widths, - for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF - // if (sub==1) cHB->Divide(2,1); - if (sub==1) cHB->Divide(2,2); - // if (sub==2) cHE->Divide(3,1); - if (sub==2) cHE->Divide(3,3); - if (sub==3) cONE->Divide(1,1); - // if (sub==4) cHF->Divide(2,1); - if (sub==4) cHF->Divide(2,2); - // int k_min[5]={0,1,1,4,1}; // minimum depth for each subdet - // int k_max[5]={0,2,3,4,2}; // maximum depth for each subdet - // int k_max[5]={0,2,7,4,4}; // maximum depth for each subdet - for (int k=k_min[sub];k<=k_max[sub];k++) { //Depths - if (sub==1) cHB->cd(k); - if (sub==2) cHE->cd(k); - if (sub==3) cONE->cd(k-3); - if (sub==4) cHF->cd(k); - Map_Ampl[test][sub][k]->Divide(Map_Ampl[test][sub][k],Map_SUB[sub][k], 1, 1, "B"); - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogz(); - if (sub==1) sprintf(str,"HB, Depth%d \b", k); - if (sub==2) sprintf(str,"HE, Depth%d \b", k); - if (sub==3) sprintf(str,"HO, Depth%d \b", k); - if (sub==4) sprintf(str,"HF, Depth%d \b", k); - Map_Ampl[test][sub][k]->SetTitle(str); - Map_Ampl[test][sub][k]->SetXTitle("#eta \b"); - Map_Ampl[test][sub][k]->SetYTitle("#phi \b"); - Map_Ampl[test][sub][k]->SetZTitle("Rate \b"); - if (sub==3) Map_Ampl[test][sub][k]->SetTitleOffset(0.8,"Z"); - Map_Ampl[test][sub][k]->Draw("COLZ"); - Map_Ampl[test][sub][k]->GetYaxis()->SetRangeUser(0, 72.); - Map_Ampl[test][sub][k]->GetZaxis()->SetRangeUser(0.0001, 1.); - if (sub==1) {cHB->Modified(); cHB->Update();} - if (sub==2) {cHE->Modified(); cHE->Update();} - if (sub==3) {cONE->Modified();cONE->Update();} - if (sub==4) {cHF->Modified(); cHF->Update();} - }//end depth - if (test==31){ - if (sub==1) {cHB->Print("MapRatePedHB.png"); cHB->Clear();} - if (sub==2) {cHE->Print("MapRatePedHE.png"); cHE->Clear();} - if (sub==3) {cONE->Print("MapRatePedHO.png"); cONE->Clear();} - if (sub==4) {cHF->Print("MapRatePedHF.png"); cHF->Clear();} - } - if (test==32){ - if (sub==1) {cHB->Print("MapRatePedWidthsHB.png"); cHB->Clear();} - if (sub==2) {cHE->Print("MapRatePedWidthsHE.png"); cHE->Clear();} - if (sub==3) {cONE->Print("MapRatePedWidthsHO.png"); cONE->Clear();} - if (sub==4) {cHF->Print("MapRatePedWidthsHF.png"); cHF->Clear();} - } - - - - - - /////////////////////////////////////////////// - - cPED->Divide(2,2); - for(int cap=0;cap<=3;cap++) { - cPED->cd(cap+1); - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogy(); - - if (sub==1) sprintf(str,"HB, Cap%d, all depth\b", cap); - if (sub==2) sprintf(str,"HE, Cap%d, all depth\b", cap); - if (sub==3) sprintf(str,"HO, Cap%d, all depth\b", cap); - if (sub==4) sprintf(str,"HF, Cap%d, all depth\b", cap); - - HistPed[test-30][sub][cap]->SetTitle(str); - - if (test==31) HistPed[test-30][sub][cap]->SetXTitle("Pedestals in each event & cell \b"); - if (test==32) HistPed[test-30][sub][cap]->SetXTitle("Pedestal Widths in each event & cell \b"); - - HistPed[test-30][sub][cap]->SetYTitle("Number of channel-events \b"); - HistPed[test-30][sub][cap]->SetLineColor(4); - HistPed[test-30][sub][cap]->SetLineWidth(2); - HistPed[test-30][sub][cap]->SetTitleOffset(1.4,"Y"); - HistPed[test-30][sub][cap]->Draw(""); -// HistPed[test-30][sub][cap]->GetYaxis()->SetRangeUser(1., 100.); -// if (test==31) {gPad->SetLogx(); HistPed[test-30][sub][cap]->GetXaxis()->SetRangeUser(1., 10000.);} -// if (test==32) HistPed[test-30][sub][cap]->GetXaxis()->SetRangeUser(0., 5.); - - cPED->Modified(); - cPED->Update(); - double min_x[] = {Pedest[test-31][sub],Pedest[test-31][sub]}; - double min_y[] = {0.,100000000.}; - TGraph* MIN = new TGraph(2, min_x, min_y); - MIN->SetLineStyle(2); - MIN->SetLineColor(2); - MIN->SetLineWidth(2 + 100*100); - MIN->SetFillStyle(3005); - MIN->SetFillColor(2); - MIN->Draw("L"); - } - if (test==31){ - if (sub==1) {cPED->Print("HistPedestalsHB.png"); cPED->Clear();} - if (sub==2) {cPED->Print("HistPedestalsHE.png"); cPED->Clear();} - if (sub==3) {cPED->Print("HistPedestalsHO.png"); cPED->Clear();} - if (sub==4) {cPED->Print("HistPedestalsHF.png"); cPED->Clear();} - } - if (test==32){ - if (sub==1) {cPED->Print("HistPedestalWidthsHB.png"); cPED->Clear();} - if (sub==2) {cPED->Print("HistPedestalWidthsHE.png"); cPED->Clear();} - if (sub==3) {cPED->Print("HistPedestalWidthsHO.png"); cPED->Clear();} - if (sub==4) {cPED->Print("HistPedestalWidthsHF.png"); cPED->Clear();} - } - }// end sub - }//end test 31,32 + /////////////////////////////////////////////// + + cPED->Divide(2, 2); + for (int cap = 0; cap <= 3; cap++) { + cPED->cd(cap + 1); + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogy(); + + if (sub == 1) + sprintf(str, "HB, Cap%d, all depth\b", cap); + if (sub == 2) + sprintf(str, "HE, Cap%d, all depth\b", cap); + if (sub == 3) + sprintf(str, "HO, Cap%d, all depth\b", cap); + if (sub == 4) + sprintf(str, "HF, Cap%d, all depth\b", cap); + + HistPed[test - 30][sub][cap]->SetTitle(str); + + if (test == 31) + HistPed[test - 30][sub][cap]->SetXTitle("Pedestals in each event & cell \b"); + if (test == 32) + HistPed[test - 30][sub][cap]->SetXTitle("Pedestal Widths in each event & cell \b"); + + HistPed[test - 30][sub][cap]->SetYTitle("Number of channel-events \b"); + HistPed[test - 30][sub][cap]->SetLineColor(4); + HistPed[test - 30][sub][cap]->SetLineWidth(2); + HistPed[test - 30][sub][cap]->SetTitleOffset(1.4, "Y"); + HistPed[test - 30][sub][cap]->Draw(""); + // HistPed[test-30][sub][cap]->GetYaxis()->SetRangeUser(1., 100.); + // if (test==31) {gPad->SetLogx(); HistPed[test-30][sub][cap]->GetXaxis()->SetRangeUser(1., 10000.);} + // if (test==32) HistPed[test-30][sub][cap]->GetXaxis()->SetRangeUser(0., 5.); + + cPED->Modified(); + cPED->Update(); + double min_x[] = {Pedest[test - 31][sub], Pedest[test - 31][sub]}; + double min_y[] = {0., 100000000.}; + TGraph* MIN = new TGraph(2, min_x, min_y); + MIN->SetLineStyle(2); + MIN->SetLineColor(2); + MIN->SetLineWidth(2 + 100 * 100); + MIN->SetFillStyle(3005); + MIN->SetFillColor(2); + MIN->Draw("L"); + } + if (test == 31) { + if (sub == 1) { + cPED->Print("HistPedestalsHB.png"); + cPED->Clear(); + } + if (sub == 2) { + cPED->Print("HistPedestalsHE.png"); + cPED->Clear(); + } + if (sub == 3) { + cPED->Print("HistPedestalsHO.png"); + cPED->Clear(); + } + if (sub == 4) { + cPED->Print("HistPedestalsHF.png"); + cPED->Clear(); + } + } + if (test == 32) { + if (sub == 1) { + cPED->Print("HistPedestalWidthsHB.png"); + cPED->Clear(); + } + if (sub == 2) { + cPED->Print("HistPedestalWidthsHE.png"); + cPED->Clear(); + } + if (sub == 3) { + cPED->Print("HistPedestalWidthsHO.png"); + cPED->Clear(); + } + if (sub == 4) { + cPED->Print("HistPedestalWidthsHF.png"); + cPED->Clear(); + } + } + } // end sub + } //end test 31,32 - //+++++++++++++++++++++++++++++++++++ -//Test 33 Correlation of Pedestal, pedestalWidths Vs fullAmplitude -//++++++++++++++++++++++++++++++++++++ - - cPED->Clear(); + //+++++++++++++++++++++++++++++++++++ + //Test 33 Correlation of Pedestal, pedestalWidths Vs fullAmplitude + //++++++++++++++++++++++++++++++++++++ + + cPED->Clear(); Map_Ped[1][1] = (TH2F*)dir->FindObjectAny("h2_pedvsampl_HB"); Map_Ped[1][2] = (TH2F*)dir->FindObjectAny("h2_pedvsampl_HE"); Map_Ped[1][3] = (TH2F*)dir->FindObjectAny("h2_pedvsampl_HO"); @@ -1490,39 +2218,53 @@ std::cout<<" We are here to print fname refname runtypeC " <FindObjectAny("h2_pedwvsampl_HE"); Map_Ped[2][3] = (TH2F*)dir->FindObjectAny("h2_pedwvsampl_HO"); Map_Ped[2][4] = (TH2F*)dir->FindObjectAny("h2_pedwvsampl_HF"); - for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF - cPED->Divide(2,1); - for(int test=1;test<=2;test++) { - cPED->cd(test); + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF + cPED->Divide(2, 1); + for (int test = 1; test <= 2; test++) { + cPED->cd(test); gPad->SetGridy(); gPad->SetGridx(); gPad->SetLogz(); - if (test==1) Map_Ped[test][sub]->SetXTitle("Pedestal, fC \b"); - if (test==2) Map_Ped[test][sub]->SetXTitle("pedestal Width, fC \b"); + if (test == 1) + Map_Ped[test][sub]->SetXTitle("Pedestal, fC \b"); + if (test == 2) + Map_Ped[test][sub]->SetXTitle("pedestal Width, fC \b"); Map_Ped[test][sub]->SetYTitle("Amplitude, fC \b"); Map_Ped[test][sub]->SetZTitle("entries \b"); - if (test==1) sprintf(str,"Cap0 Pedestal vs Amplitude \b"); - if (test==2) sprintf(str,"Cap0 pedestalWidth vs Amplitude \b"); + if (test == 1) + sprintf(str, "Cap0 Pedestal vs Amplitude \b"); + if (test == 2) + sprintf(str, "Cap0 pedestalWidth vs Amplitude \b"); Map_Ped[test][sub]->SetTitle(str); Map_Ped[test][sub]->Draw("COLZ"); // Map_Ped[test][sub]->GetYaxis()->SetRangeUser(0, 72.); // Map_Ped[test][sub]->GetZaxis()->SetRangeUser(0.0001, 1.); - cPED->Modified(); cPED->Update(); - }// test 1,2 - if (sub==1) {cPED->Print("CorrelationsMapPedestalVsfullAmplitudeHB.png"); cPED->Clear();} - if (sub==2) {cPED->Print("CorrelationsMapPedestalVsfullAmplitudeHE.png"); cPED->Clear();} - if (sub==3) {cPED->Print("CorrelationsMapPedestalVsfullAmplitudeHO.png"); cPED->Clear();} - if (sub==4) {cPED->Print("CorrelationsMapPedestalVsfullAmplitudeHF.png"); cPED->Clear();} - }// end sub - - + cPED->Modified(); + cPED->Update(); + } // test 1,2 + if (sub == 1) { + cPED->Print("CorrelationsMapPedestalVsfullAmplitudeHB.png"); + cPED->Clear(); + } + if (sub == 2) { + cPED->Print("CorrelationsMapPedestalVsfullAmplitudeHE.png"); + cPED->Clear(); + } + if (sub == 3) { + cPED->Print("CorrelationsMapPedestalVsfullAmplitudeHO.png"); + cPED->Clear(); + } + if (sub == 4) { + cPED->Print("CorrelationsMapPedestalVsfullAmplitudeHF.png"); + cPED->Clear(); + } + } // end sub - //+++++++++++++++++++++++++++++++++++ -//Test 41 Time Slices shape for good and bad channels -//++++++++++++++++++++++++++++++++++++ + //+++++++++++++++++++++++++++++++++++ + //Test 41 Time Slices shape for good and bad channels + //++++++++++++++++++++++++++++++++++++ - - cONE->Clear(); + cONE->Clear(); hist_GoodTSshape[1] = (TH1F*)dir->FindObjectAny("h_shape_good_channels_HB"); hist_GoodTSshape[2] = (TH1F*)dir->FindObjectAny("h_shape_good_channels_HE"); hist_GoodTSshape[3] = (TH1F*)dir->FindObjectAny("h_shape_good_channels_HO"); @@ -1543,52 +2285,74 @@ std::cout<<" We are here to print fname refname runtypeC " <FindObjectAny("h_shape0_bad_channels_HO"); hist_BadTSshape0[4] = (TH1F*)dir->FindObjectAny("h_shape0_bad_channels_HF"); - cONE->cd(1); - for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF - - - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogz(); - hist_GoodTSshape[sub]->Divide(hist_GoodTSshape[sub],hist_GoodTSshape0[sub], 1, 1, "B"); - hist_GoodTSshape[sub]->SetXTitle("Time slice \b"); - hist_GoodTSshape[sub]->SetYTitle("ADC counts \b"); - sprintf(str,"Mean ADC Shape \b"); - hist_GoodTSshape[sub]->SetTitle(str); - hist_GoodTSshape[sub]->Draw(""); - // hist_GoodTSshape[sub]->GetYaxis()->SetRangeUser(0, 72.); - // hist_GoodTSshape[sub]->GetZaxis()->SetRangeUser(0.0001, 1.); - cONE->Modified(); cONE->Update(); - if (sub==1) {cONE->Print("HistGoodTSshapesHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("HistGoodTSshapesHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("HistGoodTSshapesHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("HistGoodTSshapesHF.png"); cONE->Clear();} - }// end sub - + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF + + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + hist_GoodTSshape[sub]->Divide(hist_GoodTSshape[sub], hist_GoodTSshape0[sub], 1, 1, "B"); + hist_GoodTSshape[sub]->SetXTitle("Time slice \b"); + hist_GoodTSshape[sub]->SetYTitle("ADC counts \b"); + sprintf(str, "Mean ADC Shape \b"); + hist_GoodTSshape[sub]->SetTitle(str); + hist_GoodTSshape[sub]->Draw(""); + // hist_GoodTSshape[sub]->GetYaxis()->SetRangeUser(0, 72.); + // hist_GoodTSshape[sub]->GetZaxis()->SetRangeUser(0.0001, 1.); + cONE->Modified(); + cONE->Update(); + if (sub == 1) { + cONE->Print("HistGoodTSshapesHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("HistGoodTSshapesHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("HistGoodTSshapesHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("HistGoodTSshapesHF.png"); + cONE->Clear(); + } + } // end sub + + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF + + gPad->SetGridy(); + gPad->SetGridx(); + gPad->SetLogz(); + hist_BadTSshape[sub]->Divide(hist_BadTSshape[sub], hist_BadTSshape0[sub], 1, 1, "B"); + hist_BadTSshape[sub]->SetXTitle("Time slice \b"); + hist_BadTSshape[sub]->SetYTitle("ADC counts \b"); + sprintf(str, "Mean ADC Shape \b"); + hist_BadTSshape[sub]->SetTitle(str); + hist_BadTSshape[sub]->Draw(""); + // hist_BadTSshape[sub]->GetYaxis()->SetRangeUser(0, 72.); + // hist_BadTSshape[sub]->GetZaxis()->SetRangeUser(0.0001, 1.); + cONE->Modified(); + cONE->Update(); + if (sub == 1) { + cONE->Print("HistBadTSshapesHB.png"); + cONE->Clear(); + } + if (sub == 2) { + cONE->Print("HistBadTSshapesHE.png"); + cONE->Clear(); + } + if (sub == 3) { + cONE->Print("HistBadTSshapesHO.png"); + cONE->Clear(); + } + if (sub == 4) { + cONE->Print("HistBadTSshapesHF.png"); + cONE->Clear(); + } + } // end sub - for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HO, 4-HF - - - gPad->SetGridy(); - gPad->SetGridx(); - gPad->SetLogz(); - hist_BadTSshape[sub]->Divide(hist_BadTSshape[sub],hist_BadTSshape0[sub], 1, 1, "B"); - hist_BadTSshape[sub]->SetXTitle("Time slice \b"); - hist_BadTSshape[sub]->SetYTitle("ADC counts \b"); - sprintf(str,"Mean ADC Shape \b"); - hist_BadTSshape[sub]->SetTitle(str); - hist_BadTSshape[sub]->Draw(""); - // hist_BadTSshape[sub]->GetYaxis()->SetRangeUser(0, 72.); - // hist_BadTSshape[sub]->GetZaxis()->SetRangeUser(0.0001, 1.); - cONE->Modified(); cONE->Update(); - if (sub==1) {cONE->Print("HistBadTSshapesHB.png"); cONE->Clear();} - if (sub==2) {cONE->Print("HistBadTSshapesHE.png"); cONE->Clear();} - if (sub==3) {cONE->Print("HistBadTSshapesHO.png"); cONE->Clear();} - if (sub==4) {cONE->Print("HistBadTSshapesHF.png"); cONE->Clear();} - }// end sub - /* //+++++++++++++++++++++++++++++++++++ //Test 42 ADC in TS distributions @@ -1817,14 +2581,12 @@ std::cout<<" We are here to print ADC "<FindObjectAny("h_amplitudechannel1_HB1"); - TH2F *amplitudechannel0HB1= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB1"); + TH2F* amplitudechannel1HB1 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HB1"); + TH2F* amplitudechannel0HB1 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB1"); TH2F* amplitudechannelHB1 = (TH2F*)amplitudechannel1HB1->Clone("amplitudechannelHB1"); - amplitudechannelHB1->Divide(amplitudechannel1HB1,amplitudechannel0HB1, 1, 1, "B"); - TH2F *amplitudechannel1HB2= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HB2"); - TH2F *amplitudechannel0HB2= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB2"); + amplitudechannelHB1->Divide(amplitudechannel1HB1, amplitudechannel0HB1, 1, 1, "B"); + TH2F* amplitudechannel1HB2 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HB2"); + TH2F* amplitudechannel0HB2 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB2"); TH2F* amplitudechannelHB2 = (TH2F*)amplitudechannel1HB2->Clone("amplitudechannelHB2"); - amplitudechannelHB2->Divide(amplitudechannel1HB2,amplitudechannel0HB2, 1, 1, "B"); - TH2F *amplitudechannel1HB3= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HB3"); - TH2F *amplitudechannel0HB3= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB3"); + amplitudechannelHB2->Divide(amplitudechannel1HB2, amplitudechannel0HB2, 1, 1, "B"); + TH2F* amplitudechannel1HB3 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HB3"); + TH2F* amplitudechannel0HB3 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB3"); TH2F* amplitudechannelHB3 = (TH2F*)amplitudechannel1HB3->Clone("amplitudechannelHB3"); - amplitudechannelHB3->Divide(amplitudechannel1HB3,amplitudechannel0HB3, 1, 1, "B"); - TH2F *amplitudechannel1HB4= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HB4"); - TH2F *amplitudechannel0HB4= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB4"); + amplitudechannelHB3->Divide(amplitudechannel1HB3, amplitudechannel0HB3, 1, 1, "B"); + TH2F* amplitudechannel1HB4 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HB4"); + TH2F* amplitudechannel0HB4 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB4"); TH2F* amplitudechannelHB4 = (TH2F*)amplitudechannel1HB4->Clone("amplitudechannelHB4"); - amplitudechannelHB4->Divide(amplitudechannel1HB4,amplitudechannel0HB4, 1, 1, "B"); - for(int jeta=0;jetaDivide(amplitudechannel1HB4, amplitudechannel0HB4, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { //====================================================================== PHI normalization & put R into massive adigiHB - //preparation for PHI normalization: - double sumdigiHB0=0;int nsumdigiHB0=0;double sumdigiHB1=0;int nsumdigiHB1=0;double sumdigiHB2=0;int nsumdigiHB2=0;double sumdigiHB3=0;int nsumdigiHB3=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - adigiHB[1][jeta][jphi] = amplitudechannelHB2->GetBinContent(jeta+1,jphi+1); - adigiHB[2][jeta][jphi] = amplitudechannelHB3->GetBinContent(jeta+1,jphi+1); - adigiHB[3][jeta][jphi] = amplitudechannelHB4->GetBinContent(jeta+1,jphi+1); - if(adigiHB[0][jeta][jphi] > 0.) {sumdigiHB0 += adigiHB[0][jeta][jphi];++nsumdigiHB0;} - if(adigiHB[1][jeta][jphi] > 0.) {sumdigiHB1 += adigiHB[1][jeta][jphi];++nsumdigiHB1;} - if(adigiHB[2][jeta][jphi] > 0.) {sumdigiHB2 += adigiHB[2][jeta][jphi];++nsumdigiHB2;} - if(adigiHB[3][jeta][jphi] > 0.) {sumdigiHB3 += adigiHB[3][jeta][jphi];++nsumdigiHB3;} - }// phi - // PHI normalization: - for(int jphi=0;jphi 0.) adigiHB[0][jeta][jphi] /= (sumdigiHB0/nsumdigiHB0) ; - if(adigiHB[1][jeta][jphi] > 0.) adigiHB[1][jeta][jphi] /= (sumdigiHB1/nsumdigiHB1) ; - if(adigiHB[2][jeta][jphi] > 0.) adigiHB[2][jeta][jphi] /= (sumdigiHB2/nsumdigiHB2) ; - if(adigiHB[3][jeta][jphi] > 0.) adigiHB[3][jeta][jphi] /= (sumdigiHB3/nsumdigiHB3) ; - }// phi - }//eta + //preparation for PHI normalization: + double sumdigiHB0 = 0; + int nsumdigiHB0 = 0; + double sumdigiHB1 = 0; + int nsumdigiHB1 = 0; + double sumdigiHB2 = 0; + int nsumdigiHB2 = 0; + double sumdigiHB3 = 0; + int nsumdigiHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + adigiHB[0][jeta][jphi] = amplitudechannelHB1->GetBinContent(jeta + 1, jphi + 1); + adigiHB[1][jeta][jphi] = amplitudechannelHB2->GetBinContent(jeta + 1, jphi + 1); + adigiHB[2][jeta][jphi] = amplitudechannelHB3->GetBinContent(jeta + 1, jphi + 1); + adigiHB[3][jeta][jphi] = amplitudechannelHB4->GetBinContent(jeta + 1, jphi + 1); + if (adigiHB[0][jeta][jphi] > 0.) { + sumdigiHB0 += adigiHB[0][jeta][jphi]; + ++nsumdigiHB0; + } + if (adigiHB[1][jeta][jphi] > 0.) { + sumdigiHB1 += adigiHB[1][jeta][jphi]; + ++nsumdigiHB1; + } + if (adigiHB[2][jeta][jphi] > 0.) { + sumdigiHB2 += adigiHB[2][jeta][jphi]; + ++nsumdigiHB2; + } + if (adigiHB[3][jeta][jphi] > 0.) { + sumdigiHB3 += adigiHB[3][jeta][jphi]; + ++nsumdigiHB3; + } + } // phi + // PHI normalization: + for (int jphi = 0; jphi < njphi; jphi++) { + if (adigiHB[0][jeta][jphi] > 0.) + adigiHB[0][jeta][jphi] /= (sumdigiHB0 / nsumdigiHB0); + if (adigiHB[1][jeta][jphi] > 0.) + adigiHB[1][jeta][jphi] /= (sumdigiHB1 / nsumdigiHB1); + if (adigiHB[2][jeta][jphi] > 0.) + adigiHB[2][jeta][jphi] /= (sumdigiHB2 / nsumdigiHB2); + if (adigiHB[3][jeta][jphi] > 0.) + adigiHB[3][jeta][jphi] /= (sumdigiHB3 / nsumdigiHB3); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthfs //====================================================================== //====================================================================== //cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); ///////////////// - c1x0->Divide(1,1); + c1x0->Divide(1, 1); c1x0->cd(1); - TH2F* GefzRdigiHB42D = new TH2F("GefzRdigiHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRdigiHB42D0 = new TH2F("GefzRdigiHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRdigiHB42D = new TH2F("GefzRdigiHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRdigiHB42D0 = new TH2F("GefzRdigiHB42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRdigiHB42DF = (TH2F*)GefzRdigiHB42D0->Clone("GefzRdigiHB42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRdigiHB42D ->Fill(kkk,jphi,ccc1); GefzRdigiHB42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRdigiHB42DF->Divide(GefzRdigiHB42D,GefzRdigiHB42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRdigiHB42DF->SetMarkerStyle(20); GefzRdigiHB42DF->SetMarkerSize(0.4); GefzRdigiHB42DF->GetZaxis()->SetLabelSize(0.08); GefzRdigiHB42DF->SetXTitle("_depth #eta \b"); GefzRdigiHB42DF->SetYTitle(" #phi \b"); GefzRdigiHB42DF->SetZTitle("_depth \b"); GefzRdigiHB42DF->SetMarkerColor(2); GefzRdigiHB42DF->SetLineColor(0); // GefzRdigiHB42DF->SetMaximum(1.000); // GefzRdigiHB42DF->SetMinimum(1.0); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRdigiHB42D->Fill(kkk, jphi, ccc1); + GefzRdigiHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRdigiHB42DF->Divide(GefzRdigiHB42D, GefzRdigiHB42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRdigiHB42DF->SetMarkerStyle(20); + GefzRdigiHB42DF->SetMarkerSize(0.4); + GefzRdigiHB42DF->GetZaxis()->SetLabelSize(0.08); + GefzRdigiHB42DF->SetXTitle("_depth #eta \b"); + GefzRdigiHB42DF->SetYTitle(" #phi \b"); + GefzRdigiHB42DF->SetZTitle("_depth \b"); + GefzRdigiHB42DF->SetMarkerColor(2); + GefzRdigiHB42DF->SetLineColor( + 0); // GefzRdigiHB42DF->SetMaximum(1.000); // GefzRdigiHB42DF->SetMinimum(1.0); GefzRdigiHB42DF->Draw("COLZ"); ///////////////// c1x0->Update(); c1x0->Print("RdigiGeneralD2PhiSymmetryHB.png"); c1x0->Clear(); // clean-up - if (GefzRdigiHB42D) delete GefzRdigiHB42D; - if (GefzRdigiHB42D0) delete GefzRdigiHB42D0; - if (GefzRdigiHB42DF) delete GefzRdigiHB42DF; + if (GefzRdigiHB42D) + delete GefzRdigiHB42D; + if (GefzRdigiHB42D0) + delete GefzRdigiHB42D0; + if (GefzRdigiHB42DF) + delete GefzRdigiHB42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRdigiHB41D = new TH1F("GefzRdigiHB41D","", nphi, 0., 72. ); - TH1F* GefzRdigiHB41D0 = new TH1F("GefzRdigiHB41D0","",nphi, 0., 72. ); + TH1F* GefzRdigiHB41D = new TH1F("GefzRdigiHB41D", "", nphi, 0., 72.); + TH1F* GefzRdigiHB41D0 = new TH1F("GefzRdigiHB41D0", "", nphi, 0., 72.); TH1F* GefzRdigiHB41DF = (TH1F*)GefzRdigiHB41D0->Clone("GefzRdigiHB41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRdigiHB41D0 ->Fill(jphi,1.); } - }}} - GefzRdigiHB41DF->Divide(GefzRdigiHB41D,GefzRdigiHB41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = adigiHB[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRdigiHB41D->Fill(jphi, ccc1); + GefzRdigiHB41D0->Fill(jphi, 1.); + } + } + } + } + GefzRdigiHB41DF->Divide(GefzRdigiHB41D, GefzRdigiHB41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRdigiHB41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRdigiHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRdigiHB41DF->SetMarkerStyle(20); GefzRdigiHB41DF->SetMarkerSize(1.4); GefzRdigiHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRdigiHB41DF->SetXTitle("#phi \b"); GefzRdigiHB41DF->SetYTitle(" \b"); GefzRdigiHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRdigiHB41DF->SetMarkerColor(4); GefzRdigiHB41DF->SetLineColor(4);// GefzRdigiHB41DF->SetMinimum(0.8); // GefzRdigiHB41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRdigiHB41DF->SetMarkerStyle(20); + GefzRdigiHB41DF->SetMarkerSize(1.4); + GefzRdigiHB41DF->GetZaxis()->SetLabelSize(0.08); + GefzRdigiHB41DF->SetXTitle("#phi \b"); + GefzRdigiHB41DF->SetYTitle(" \b"); + GefzRdigiHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRdigiHB41DF->SetMarkerColor(4); + GefzRdigiHB41DF->SetLineColor( + 4); // GefzRdigiHB41DF->SetMinimum(0.8); // GefzRdigiHB41DF->SetMaximum(1.000); GefzRdigiHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RdigiGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (GefzRdigiHB41D) delete GefzRdigiHB41D; - if (GefzRdigiHB41D0) delete GefzRdigiHB41D0; - if (GefzRdigiHB41DF) delete GefzRdigiHB41DF; - //========================================================================================== 4 + if (GefzRdigiHB41D) + delete GefzRdigiHB41D; + if (GefzRdigiHB41D0) + delete GefzRdigiHB41D0; + if (GefzRdigiHB41DF) + delete GefzRdigiHB41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionDigi1=1; - TH1F* h2CeffHBpositivedirectionDigi1 = new TH1F("h2CeffHBpositivedirectionDigi1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigi1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBpositivedirectionDigi1 = "<SetMarkerColor(2);HBpositivedirectionDigi1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionDigi1 == 1) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 == 2) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 == 3) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 == 4) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 == 5) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 == 6) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 == 7) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 == 8) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 == 9) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 ==10) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 ==11) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 ==12) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 ==13) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 ==14) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 ==15) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionDigi1 ==16) HBpositivedirectionDigi1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionDigi1->Draw("Error"); - kcountHBpositivedirectionDigi1++; - if(kcountHBpositivedirectionDigi1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBpositivedirectionDigi1 = (TH1F*)h2CeffHBpositivedirectionDigi1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionDigi1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionDigi1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBpositivedirectionDigi1 = "<SetMarkerColor(2); + HBpositivedirectionDigi1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionDigi1 == 1) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 2) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 3) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 4) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 5) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 6) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 7) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 8) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 9) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 10) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 11) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 12) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 13) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 14) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 15) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionDigi1 == 16) + HBpositivedirectionDigi1->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionDigi1->Draw("Error"); + kcountHBpositivedirectionDigi1++; + if (kcountHBpositivedirectionDigi1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionDigi1) delete h2CeffHBpositivedirectionDigi1; - + if (h2CeffHBpositivedirectionDigi1) + delete h2CeffHBpositivedirectionDigi1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionDigi2=1; - TH1F* h2CeffHBpositivedirectionDigi2 = new TH1F("h2CeffHBpositivedirectionDigi2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigi2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBpositivedirectionDigi2 = "<SetMarkerColor(2);HBpositivedirectionDigi2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionDigi2 == 1) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 == 2) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 == 3) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 == 4) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 == 5) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 == 6) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 == 7) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 == 8) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 == 9) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 ==10) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 ==11) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 ==12) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 ==13) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 ==14) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 ==15) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionDigi2 ==16) HBpositivedirectionDigi2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionDigi2->Draw("Error"); - kcountHBpositivedirectionDigi2++; - if(kcountHBpositivedirectionDigi2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionDigi2 = 1; + TH1F* h2CeffHBpositivedirectionDigi2 = new TH1F("h2CeffHBpositivedirectionDigi2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigi: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionDigi2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionDigi2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBpositivedirectionDigi2 = "<SetMarkerColor(2); + HBpositivedirectionDigi2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionDigi2 == 1) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 2) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 3) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 4) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 5) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 6) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 7) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 8) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 9) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 10) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 11) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 12) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 13) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 14) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 15) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionDigi2 == 16) + HBpositivedirectionDigi2->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionDigi2->Draw("Error"); + kcountHBpositivedirectionDigi2++; + if (kcountHBpositivedirectionDigi2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionDigi2) delete h2CeffHBpositivedirectionDigi2; - //========================================================================================== 6 + if (h2CeffHBpositivedirectionDigi2) + delete h2CeffHBpositivedirectionDigi2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionDigi3=1; - TH1F* h2CeffHBpositivedirectionDigi3 = new TH1F("h2CeffHBpositivedirectionDigi3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigi3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBpositivedirectionDigi3 = "<SetMarkerColor(2);HBpositivedirectionDigi3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionDigi3 == 1) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 == 2) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 == 3) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 == 4) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 == 5) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 == 6) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 == 7) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 == 8) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 == 9) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 ==10) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 ==11) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 ==12) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 ==13) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 ==14) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 ==15) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionDigi3 ==16) HBpositivedirectionDigi3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionDigi3->Draw("Error"); - kcountHBpositivedirectionDigi3++; - if(kcountHBpositivedirectionDigi3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionDigi3 = 1; + TH1F* h2CeffHBpositivedirectionDigi3 = new TH1F("h2CeffHBpositivedirectionDigi3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigi: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionDigi3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionDigi3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBpositivedirectionDigi3 = "<SetMarkerColor(2); + HBpositivedirectionDigi3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionDigi3 == 1) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 2) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 3) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 4) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 5) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 6) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 7) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 8) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 9) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 10) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 11) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 12) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 13) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 14) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 15) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionDigi3 == 16) + HBpositivedirectionDigi3->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionDigi3->Draw("Error"); + kcountHBpositivedirectionDigi3++; + if (kcountHBpositivedirectionDigi3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionDigi3) delete h2CeffHBpositivedirectionDigi3; - //========================================================================================== 7 + if (h2CeffHBpositivedirectionDigi3) + delete h2CeffHBpositivedirectionDigi3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionDigi4=1; - TH1F* h2CeffHBpositivedirectionDigi4 = new TH1F("h2CeffHBpositivedirectionDigi4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigi4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBpositivedirectionDigi4 = "<SetMarkerColor(2);HBpositivedirectionDigi4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionDigi4 == 1) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 == 2) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 == 3) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 == 4) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 == 5) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 == 6) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 == 7) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 == 8) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 == 9) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 ==10) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 ==11) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 ==12) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 ==13) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 ==14) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 ==15) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionDigi4 ==16) HBpositivedirectionDigi4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionDigi4->Draw("Error"); - kcountHBpositivedirectionDigi4++; - if(kcountHBpositivedirectionDigi4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionDigi4 = 1; + TH1F* h2CeffHBpositivedirectionDigi4 = new TH1F("h2CeffHBpositivedirectionDigi4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigi: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionDigi4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionDigi4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBpositivedirectionDigi4 = "<SetMarkerColor(2); + HBpositivedirectionDigi4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionDigi4 == 1) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 2) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 3) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 4) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 5) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 6) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 7) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 8) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 9) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 10) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 11) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 12) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 13) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 14) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 15) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionDigi4 == 16) + HBpositivedirectionDigi4->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionDigi4->Draw("Error"); + kcountHBpositivedirectionDigi4++; + if (kcountHBpositivedirectionDigi4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionDigi4) delete h2CeffHBpositivedirectionDigi4; + if (h2CeffHBpositivedirectionDigi4) + delete h2CeffHBpositivedirectionDigi4; - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionDigi1=1; - TH1F* h2CeffHBnegativedirectionDigi1 = new TH1F("h2CeffHBnegativedirectionDigi1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigi1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBnegativedirectionDigi1 = "<SetMarkerColor(2);HBnegativedirectionDigi1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionDigi1 == 1) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 == 2) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 == 3) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 == 4) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 == 5) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 == 6) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 == 7) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 == 8) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 == 9) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 ==10) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 ==11) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 ==12) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 ==13) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 ==14) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 ==15) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionDigi1 ==16) HBnegativedirectionDigi1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionDigi1->Draw("Error"); - kcountHBnegativedirectionDigi1++; - if(kcountHBnegativedirectionDigi1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBnegativedirectionDigi1 = (TH1F*)h2CeffHBnegativedirectionDigi1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionDigi1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionDigi1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBnegativedirectionDigi1 = "<SetMarkerColor(2); + HBnegativedirectionDigi1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionDigi1 == 1) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 2) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 3) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 4) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 5) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 6) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 7) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 8) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 9) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 10) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 11) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 12) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 13) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 14) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 15) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionDigi1 == 16) + HBnegativedirectionDigi1->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionDigi1->Draw("Error"); + kcountHBnegativedirectionDigi1++; + if (kcountHBnegativedirectionDigi1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionDigi1) delete h2CeffHBnegativedirectionDigi1; - + if (h2CeffHBnegativedirectionDigi1) + delete h2CeffHBnegativedirectionDigi1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionDigi2=1; - TH1F* h2CeffHBnegativedirectionDigi2 = new TH1F("h2CeffHBnegativedirectionDigi2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigi2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBnegativedirectionDigi2 = "<SetMarkerColor(2);HBnegativedirectionDigi2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionDigi2 == 1) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 == 2) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 == 3) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 == 4) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 == 5) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 == 6) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 == 7) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 == 8) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 == 9) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 ==10) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 ==11) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 ==12) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 ==13) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 ==14) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 ==15) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); - if(kcountHBnegativedirectionDigi2 ==16) HBnegativedirectionDigi2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); - HBnegativedirectionDigi2->Draw("Error"); - kcountHBnegativedirectionDigi2++; - if(kcountHBnegativedirectionDigi2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + int kcountHBnegativedirectionDigi2 = 1; + TH1F* h2CeffHBnegativedirectionDigi2 = new TH1F("h2CeffHBnegativedirectionDigi2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigi: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionDigi2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionDigi2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBnegativedirectionDigi2 = "<SetMarkerColor(2); + HBnegativedirectionDigi2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionDigi2 == 1) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 2) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 3) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 4) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 5) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 6) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 7) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 8) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 9) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 10) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 11) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 12) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 13) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 14) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 15) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if (kcountHBnegativedirectionDigi2 == 16) + HBnegativedirectionDigi2->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionDigi2->Draw("Error"); + kcountHBnegativedirectionDigi2++; + if (kcountHBnegativedirectionDigi2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionDigi2) delete h2CeffHBnegativedirectionDigi2; - //========================================================================================== 1116 + if (h2CeffHBnegativedirectionDigi2) + delete h2CeffHBnegativedirectionDigi2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionDigi3=1; - TH1F* h2CeffHBnegativedirectionDigi3 = new TH1F("h2CeffHBnegativedirectionDigi3","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigi3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBnegativedirectionDigi3 = "<SetMarkerColor(2);HBnegativedirectionDigi3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionDigi3 == 1) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 == 2) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 == 3) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 == 4) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 == 5) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 == 6) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 == 7) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 == 8) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 == 9) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 ==10) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 ==11) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 ==12) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 ==13) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 ==14) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 ==15) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); - if(kcountHBnegativedirectionDigi3 ==16) HBnegativedirectionDigi3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); - - HBnegativedirectionDigi3->Draw("Error"); - kcountHBnegativedirectionDigi3++; - if(kcountHBnegativedirectionDigi3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + int kcountHBnegativedirectionDigi3 = 1; + TH1F* h2CeffHBnegativedirectionDigi3 = new TH1F("h2CeffHBnegativedirectionDigi3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigi: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionDigi3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionDigi3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBnegativedirectionDigi3 = "<SetMarkerColor(2); + HBnegativedirectionDigi3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionDigi3 == 1) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 2) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 3) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 4) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 5) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 6) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 7) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 8) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 9) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 10) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 11) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 12) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 13) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 14) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 15) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if (kcountHBnegativedirectionDigi3 == 16) + HBnegativedirectionDigi3->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionDigi3->Draw("Error"); + kcountHBnegativedirectionDigi3++; + if (kcountHBnegativedirectionDigi3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionDigi3) delete h2CeffHBnegativedirectionDigi3; - //========================================================================================== 1117 + if (h2CeffHBnegativedirectionDigi3) + delete h2CeffHBnegativedirectionDigi3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionDigi4=1; - TH1F* h2CeffHBnegativedirectionDigi4 = new TH1F("h2CeffHBnegativedirectionDigi4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigi4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBnegativedirectionDigi4 = "<SetMarkerColor(2);HBnegativedirectionDigi4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionDigi4 == 1) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 == 2) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 == 3) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 == 4) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 == 5) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 == 6) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 == 7) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 == 8) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 == 9) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 ==10) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 ==11) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 ==12) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 ==13) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 ==14) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 ==15) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); - if(kcountHBnegativedirectionDigi4 ==16) HBnegativedirectionDigi4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); - HBnegativedirectionDigi4->Draw("Error"); - kcountHBnegativedirectionDigi4++; - if(kcountHBnegativedirectionDigi4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + int kcountHBnegativedirectionDigi4 = 1; + TH1F* h2CeffHBnegativedirectionDigi4 = new TH1F("h2CeffHBnegativedirectionDigi4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigi: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionDigi4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionDigi4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBnegativedirectionDigi4 = "<SetMarkerColor(2); + HBnegativedirectionDigi4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionDigi4 == 1) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 2) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 3) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 4) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 5) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 6) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 7) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 8) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 9) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 10) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 11) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 12) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 13) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 14) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 15) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if (kcountHBnegativedirectionDigi4 == 16) + HBnegativedirectionDigi4->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionDigi4->Draw("Error"); + kcountHBnegativedirectionDigi4++; + if (kcountHBnegativedirectionDigi4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionDigi4) delete h2CeffHBnegativedirectionDigi4; + if (h2CeffHBnegativedirectionDigi4) + delete h2CeffHBnegativedirectionDigi4; //====================================================================================================================== //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_amplitudechannel2_HB1"); - TH2F *digiVariance0HB1= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_amplitudechannel2_HB1"); + TH2F* digiVariance0HB1 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB1"); TH2F* digiVarianceHB1 = (TH2F*)digiVariance1HB1->Clone("digiVarianceHB1"); - digiVarianceHB1->Divide(digiVariance1HB1,digiVariance0HB1, 1, 1, "B"); - TH2F *digiVariance1HB2= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HB2"); - TH2F *digiVariance0HB2= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB2"); + digiVarianceHB1->Divide(digiVariance1HB1, digiVariance0HB1, 1, 1, "B"); + TH2F* digiVariance1HB2 = (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HB2"); + TH2F* digiVariance0HB2 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB2"); TH2F* digiVarianceHB2 = (TH2F*)digiVariance1HB2->Clone("digiVarianceHB2"); - digiVarianceHB2->Divide(digiVariance1HB2,digiVariance0HB2, 1, 1, "B"); - TH2F *digiVariance1HB3= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HB3"); - TH2F *digiVariance0HB3= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB3"); + digiVarianceHB2->Divide(digiVariance1HB2, digiVariance0HB2, 1, 1, "B"); + TH2F* digiVariance1HB3 = (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HB3"); + TH2F* digiVariance0HB3 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB3"); TH2F* digiVarianceHB3 = (TH2F*)digiVariance1HB3->Clone("digiVarianceHB3"); - digiVarianceHB3->Divide(digiVariance1HB3,digiVariance0HB3, 1, 1, "B"); - TH2F *digiVariance1HB4= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HB4"); - TH2F *digiVariance0HB4= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB4"); + digiVarianceHB3->Divide(digiVariance1HB3, digiVariance0HB3, 1, 1, "B"); + TH2F* digiVariance1HB4 = (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HB4"); + TH2F* digiVariance0HB4 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HB4"); TH2F* digiVarianceHB4 = (TH2F*)digiVariance1HB4->Clone("digiVarianceHB4"); - digiVarianceHB4->Divide(digiVariance1HB4,digiVariance0HB4, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive digivarianceHB - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - digivarianceHB[1][jeta][jphi] = digiVarianceHB2->GetBinContent(jeta+1,jphi+1); - digivarianceHB[2][jeta][jphi] = digiVarianceHB3->GetBinContent(jeta+1,jphi+1); - digivarianceHB[3][jeta][jphi] = digiVarianceHB4->GetBinContent(jeta+1,jphi+1); - if(digivarianceHB[0][jeta][jphi] > 0.) {sumdigiHB0 += digivarianceHB[0][jeta][jphi];++nsumdigiHB0;} - if(digivarianceHB[1][jeta][jphi] > 0.) {sumdigiHB1 += digivarianceHB[1][jeta][jphi];++nsumdigiHB1;} - if(digivarianceHB[2][jeta][jphi] > 0.) {sumdigiHB2 += digivarianceHB[2][jeta][jphi];++nsumdigiHB2;} - if(digivarianceHB[3][jeta][jphi] > 0.) {sumdigiHB3 += digivarianceHB[3][jeta][jphi];++nsumdigiHB3;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) digivarianceHB[0][jeta][jphi] /= (sumdigiHB0/nsumdigiHB0) ; - if(digivarianceHB[1][jeta][jphi] > 0.) digivarianceHB[1][jeta][jphi] /= (sumdigiHB1/nsumdigiHB1) ; - if(digivarianceHB[2][jeta][jphi] > 0.) digivarianceHB[2][jeta][jphi] /= (sumdigiHB2/nsumdigiHB2) ; - if(digivarianceHB[3][jeta][jphi] > 0.) digivarianceHB[3][jeta][jphi] /= (sumdigiHB3/nsumdigiHB3) ; - }// phi - // digivarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive digivarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumdigiHB0 = 0; + int nsumdigiHB0 = 0; + double sumdigiHB1 = 0; + int nsumdigiHB1 = 0; + double sumdigiHB2 = 0; + int nsumdigiHB2 = 0; + double sumdigiHB3 = 0; + int nsumdigiHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + digivarianceHB[0][jeta][jphi] = digiVarianceHB1->GetBinContent(jeta + 1, jphi + 1); + digivarianceHB[1][jeta][jphi] = digiVarianceHB2->GetBinContent(jeta + 1, jphi + 1); + digivarianceHB[2][jeta][jphi] = digiVarianceHB3->GetBinContent(jeta + 1, jphi + 1); + digivarianceHB[3][jeta][jphi] = digiVarianceHB4->GetBinContent(jeta + 1, jphi + 1); + if (digivarianceHB[0][jeta][jphi] > 0.) { + sumdigiHB0 += digivarianceHB[0][jeta][jphi]; + ++nsumdigiHB0; + } + if (digivarianceHB[1][jeta][jphi] > 0.) { + sumdigiHB1 += digivarianceHB[1][jeta][jphi]; + ++nsumdigiHB1; + } + if (digivarianceHB[2][jeta][jphi] > 0.) { + sumdigiHB2 += digivarianceHB[2][jeta][jphi]; + ++nsumdigiHB2; + } + if (digivarianceHB[3][jeta][jphi] > 0.) { + sumdigiHB3 += digivarianceHB[3][jeta][jphi]; + ++nsumdigiHB3; } - //cout<<" Vaiance: DONE*****" < 0.) + digivarianceHB[0][jeta][jphi] /= (sumdigiHB0 / nsumdigiHB0); + if (digivarianceHB[1][jeta][jphi] > 0.) + digivarianceHB[1][jeta][jphi] /= (sumdigiHB1 / nsumdigiHB1); + if (digivarianceHB[2][jeta][jphi] > 0.) + digivarianceHB[2][jeta][jphi] /= (sumdigiHB2 / nsumdigiHB2); + if (digivarianceHB[3][jeta][jphi] > 0.) + digivarianceHB[3][jeta][jphi] /= (sumdigiHB3 / nsumdigiHB3); + } // phi + // digivarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDdigiHB42D = new TH2F("DefzDdigiHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDdigiHB42D0 = new TH2F("DefzDdigiHB42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDdigiHB42DF = (TH2F*)DefzDdigiHB42D0->Clone("DefzDdigiHB42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(adigiHB[i][jeta][jphi]>0.) {DefzDdigiHB42D ->Fill(kkk,jphi,ccc1); DefzDdigiHB42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDdigiHB42DF->Divide(DefzDdigiHB42D,DefzDdigiHB42D0, 1, 1, "B");// average A - // DefzDdigiHB1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDdigiHB42DF->SetMarkerStyle(20); DefzDdigiHB42DF->SetMarkerSize(0.4); DefzDdigiHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDdigiHB42DF->SetXTitle("_depth #eta \b"); DefzDdigiHB42DF->SetYTitle(" #phi \b"); DefzDdigiHB42DF->SetZTitle("_depth \b"); DefzDdigiHB42DF->SetMarkerColor(2); DefzDdigiHB42DF->SetLineColor(0); // DefzDdigiHB42DF->SetMaximum(1.000); // DefzDdigiHB42DF->SetMinimum(1.0); - DefzDdigiHB42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DdigiGeneralD2PhiSymmetryHB.png"); - c1x0->Clear(); - // clean-up - if (DefzDdigiHB42D) delete DefzDdigiHB42D; - if (DefzDdigiHB42D0) delete DefzDdigiHB42D0; - if (DefzDdigiHB42DF) delete DefzDdigiHB42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDdigiHB42D = new TH2F("DefzDdigiHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDdigiHB42D0 = new TH2F("DefzDdigiHB42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDdigiHB42DF = (TH2F*)DefzDdigiHB42D0->Clone("DefzDdigiHB42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (adigiHB[i][jeta][jphi] > 0.) { + DefzDdigiHB42D->Fill(kkk, jphi, ccc1); + DefzDdigiHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDdigiHB42DF->Divide(DefzDdigiHB42D, DefzDdigiHB42D0, 1, 1, "B"); // average A + // DefzDdigiHB1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDdigiHB42DF->SetMarkerStyle(20); + DefzDdigiHB42DF->SetMarkerSize(0.4); + DefzDdigiHB42DF->GetZaxis()->SetLabelSize(0.08); + DefzDdigiHB42DF->SetXTitle("_depth #eta \b"); + DefzDdigiHB42DF->SetYTitle(" #phi \b"); + DefzDdigiHB42DF->SetZTitle("_depth \b"); + DefzDdigiHB42DF->SetMarkerColor(2); + DefzDdigiHB42DF->SetLineColor( + 0); // DefzDdigiHB42DF->SetMaximum(1.000); // DefzDdigiHB42DF->SetMinimum(1.0); + DefzDdigiHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DdigiGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDdigiHB42D) + delete DefzDdigiHB42D; + if (DefzDdigiHB42D0) + delete DefzDdigiHB42D0; + if (DefzDdigiHB42DF) + delete DefzDdigiHB42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDdigiHB41D = new TH1F("DefzDdigiHB41D","", nphi, 0., 72. ); - TH1F* DefzDdigiHB41D0 = new TH1F("DefzDdigiHB41D0","",nphi, 0., 72. ); - TH1F* DefzDdigiHB41DF = (TH1F*)DefzDdigiHB41D0->Clone("DefzDdigiHB41DF"); - - for (int jphi=0;jphi0.) {DefzDdigiHB41D ->Fill(jphi,ccc1); DefzDdigiHB41D0 ->Fill(jphi,1.); } - }}} - // DefzDdigiHB41D->Sumw2();DefzDdigiHB41D0->Sumw2(); - - DefzDdigiHB41DF->Divide(DefzDdigiHB41D,DefzDdigiHB41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDdigiHB41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDdigiHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDdigiHB41DF->SetMarkerStyle(20); DefzDdigiHB41DF->SetMarkerSize(1.4); DefzDdigiHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDdigiHB41DF->SetXTitle("#phi \b"); DefzDdigiHB41DF->SetYTitle(" \b"); DefzDdigiHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDdigiHB41DF->SetMarkerColor(4); DefzDdigiHB41DF->SetLineColor(4);// DefzDdigiHB41DF->SetMinimum(0.8); DefzDdigiHB41DF->SetMinimum(-0.015); - DefzDdigiHB41DF->Draw("Error"); + TH1F* DefzDdigiHB41D = new TH1F("DefzDdigiHB41D", "", nphi, 0., 72.); + TH1F* DefzDdigiHB41D0 = new TH1F("DefzDdigiHB41D0", "", nphi, 0., 72.); + TH1F* DefzDdigiHB41DF = (TH1F*)DefzDdigiHB41D0->Clone("DefzDdigiHB41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = digivarianceHB[i][jeta][jphi]; + if (adigiHB[i][jeta][jphi] > 0.) { + DefzDdigiHB41D->Fill(jphi, ccc1); + DefzDdigiHB41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDdigiHB41D->Sumw2();DefzDdigiHB41D0->Sumw2(); + + DefzDdigiHB41DF->Divide(DefzDdigiHB41D, DefzDdigiHB41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDdigiHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDdigiHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDdigiHB41DF->SetMarkerStyle(20); + DefzDdigiHB41DF->SetMarkerSize(1.4); + DefzDdigiHB41DF->GetZaxis()->SetLabelSize(0.08); + DefzDdigiHB41DF->SetXTitle("#phi \b"); + DefzDdigiHB41DF->SetYTitle(" \b"); + DefzDdigiHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDdigiHB41DF->SetMarkerColor(4); + DefzDdigiHB41DF->SetLineColor(4); // DefzDdigiHB41DF->SetMinimum(0.8); DefzDdigiHB41DF->SetMinimum(-0.015); + DefzDdigiHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DdigiGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (DefzDdigiHB41D) delete DefzDdigiHB41D; - if (DefzDdigiHB41D0) delete DefzDdigiHB41D0; - if (DefzDdigiHB41DF) delete DefzDdigiHB41DF; - - //========================================================================================== 14 + if (DefzDdigiHB41D) + delete DefzDdigiHB41D; + if (DefzDdigiHB41D0) + delete DefzDdigiHB41D0; + if (DefzDdigiHB41DF) + delete DefzDdigiHB41DF; + + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionDigiD1=1; - TH1F* h2CeffHBpositivedirectionDigiD1 = new TH1F("h2CeffHBpositivedirectionDigiD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionDigiD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigiD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBpositivedirectionDigiD1 = "<SetMarkerColor(2);HBpositivedirectionDigiD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionDigiD1 == 1) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 == 2) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 == 3) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 == 4) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 == 5) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 == 6) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 == 7) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 == 8) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 == 9) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 ==10) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 ==11) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 ==12) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 ==13) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 ==14) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 ==15) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionDigiD1 ==16) HBpositivedirectionDigiD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionDigiD1->Draw("Error"); - kcountHBpositivedirectionDigiD1++; - if(kcountHBpositivedirectionDigiD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionDigiD1 = 1; + TH1F* h2CeffHBpositivedirectionDigiD1 = new TH1F("h2CeffHBpositivedirectionDigiD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHB[i][jeta][jphi]; + if (adigiHB[i][jeta][jphi] > 0.) { + HBpositivedirectionDigiD1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionDigiD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBpositivedirectionDigiD1 = "<SetMarkerColor(2); + HBpositivedirectionDigiD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionDigiD1 == 1) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 2) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 3) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 4) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 5) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 6) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 7) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 8) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 9) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 10) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 11) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 12) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 13) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 14) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 15) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionDigiD1 == 16) + HBpositivedirectionDigiD1->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionDigiD1->Draw("Error"); + kcountHBpositivedirectionDigiD1++; + if (kcountHBpositivedirectionDigiD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionDigiD1) delete h2CeffHBpositivedirectionDigiD1; - //========================================================================================== 15 + if (h2CeffHBpositivedirectionDigiD1) + delete h2CeffHBpositivedirectionDigiD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionDigiD2=1; - TH1F* h2CeffHBpositivedirectionDigiD2 = new TH1F("h2CeffHBpositivedirectionDigiD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionDigiD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigiD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBpositivedirectionDigiD2 = "<SetMarkerColor(2);HBpositivedirectionDigiD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionDigiD2 == 1) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 == 2) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 == 3) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 == 4) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 == 5) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 == 6) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 == 7) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 == 8) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 == 9) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 ==10) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 ==11) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 ==12) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 ==13) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 ==14) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 ==15) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionDigiD2 ==16) HBpositivedirectionDigiD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionDigiD2->Draw("Error"); - kcountHBpositivedirectionDigiD2++; - if(kcountHBpositivedirectionDigiD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionDigiD2 = 1; + TH1F* h2CeffHBpositivedirectionDigiD2 = new TH1F("h2CeffHBpositivedirectionDigiD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHB[i][jeta][jphi]; + if (adigiHB[i][jeta][jphi] > 0.) { + HBpositivedirectionDigiD2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionDigiD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBpositivedirectionDigiD2 = "<SetMarkerColor(2); + HBpositivedirectionDigiD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionDigiD2 == 1) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 2) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 3) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 4) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 5) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 6) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 7) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 8) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 9) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 10) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 11) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 12) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 13) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 14) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 15) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionDigiD2 == 16) + HBpositivedirectionDigiD2->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionDigiD2->Draw("Error"); + kcountHBpositivedirectionDigiD2++; + if (kcountHBpositivedirectionDigiD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionDigiD2) delete h2CeffHBpositivedirectionDigiD2; - //========================================================================================== 16 + if (h2CeffHBpositivedirectionDigiD2) + delete h2CeffHBpositivedirectionDigiD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionDigiD3=1; - TH1F* h2CeffHBpositivedirectionDigiD3 = new TH1F("h2CeffHBpositivedirectionDigiD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionDigiD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigiD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBpositivedirectionDigiD3 = "<SetMarkerColor(2);HBpositivedirectionDigiD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionDigiD3 == 1) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 == 2) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 == 3) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 == 4) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 == 5) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 == 6) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 == 7) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 == 8) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 == 9) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 ==10) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 ==11) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 ==12) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 ==13) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 ==14) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 ==15) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionDigiD3 ==16) HBpositivedirectionDigiD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionDigiD3->Draw("Error"); - kcountHBpositivedirectionDigiD3++; - if(kcountHBpositivedirectionDigiD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionDigiD3 = 1; + TH1F* h2CeffHBpositivedirectionDigiD3 = new TH1F("h2CeffHBpositivedirectionDigiD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHB[i][jeta][jphi]; + if (adigiHB[i][jeta][jphi] > 0.) { + HBpositivedirectionDigiD3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionDigiD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBpositivedirectionDigiD3 = "<SetMarkerColor(2); + HBpositivedirectionDigiD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionDigiD3 == 1) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 2) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 3) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 4) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 5) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 6) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 7) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 8) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 9) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 10) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 11) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 12) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 13) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 14) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 15) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionDigiD3 == 16) + HBpositivedirectionDigiD3->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionDigiD3->Draw("Error"); + kcountHBpositivedirectionDigiD3++; + if (kcountHBpositivedirectionDigiD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionDigiD3) delete h2CeffHBpositivedirectionDigiD3; - //========================================================================================== 17 + if (h2CeffHBpositivedirectionDigiD3) + delete h2CeffHBpositivedirectionDigiD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionDigiD4=1; - TH1F* h2CeffHBpositivedirectionDigiD4 = new TH1F("h2CeffHBpositivedirectionDigiD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionDigiD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionDigiD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBpositivedirectionDigiD4 = "<SetMarkerColor(2);HBpositivedirectionDigiD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionDigiD4 == 1) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 == 2) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 == 3) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 == 4) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 == 5) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 == 6) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 == 7) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 == 8) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 == 9) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 ==10) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 ==11) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 ==12) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 ==13) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 ==14) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 ==15) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionDigiD4 ==16) HBpositivedirectionDigiD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionDigiD4->Draw("Error"); - kcountHBpositivedirectionDigiD4++; - if(kcountHBpositivedirectionDigiD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionDigiD4 = 1; + TH1F* h2CeffHBpositivedirectionDigiD4 = new TH1F("h2CeffHBpositivedirectionDigiD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHB[i][jeta][jphi]; + if (adigiHB[i][jeta][jphi] > 0.) { + HBpositivedirectionDigiD4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionDigiD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBpositivedirectionDigiD4 = "<SetMarkerColor(2); + HBpositivedirectionDigiD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionDigiD4 == 1) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 2) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 3) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 4) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 5) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 6) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 7) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 8) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 9) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 10) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 11) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 12) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 13) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 14) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 15) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionDigiD4 == 16) + HBpositivedirectionDigiD4->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionDigiD4->Draw("Error"); + kcountHBpositivedirectionDigiD4++; + if (kcountHBpositivedirectionDigiD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionDigiD4) delete h2CeffHBpositivedirectionDigiD4; + if (h2CeffHBpositivedirectionDigiD4) + delete h2CeffHBpositivedirectionDigiD4; - - //========================================================================================== 22214 + //========================================================================================== 22214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionDigiD1=1; - TH1F* h2CeffHBnegativedirectionDigiD1 = new TH1F("h2CeffHBnegativedirectionDigiD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionDigiD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigiD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBnegativedirectionDigiD1 = "<SetMarkerColor(2);HBnegativedirectionDigiD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionDigiD1 == 1) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 == 2) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 == 3) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 == 4) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 == 5) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 == 6) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 == 7) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 == 8) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 == 9) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 ==10) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 ==11) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 ==12) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 ==13) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 ==14) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 ==15) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); - if(kcountHBnegativedirectionDigiD1 ==16) HBnegativedirectionDigiD1 ->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); - HBnegativedirectionDigiD1->Draw("Error"); - kcountHBnegativedirectionDigiD1++; - if(kcountHBnegativedirectionDigiD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHBnegativedirectionDigiD1 = 1; + TH1F* h2CeffHBnegativedirectionDigiD1 = new TH1F("h2CeffHBnegativedirectionDigiD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHB[i][jeta][jphi]; + if (adigiHB[i][jeta][jphi] > 0.) { + HBnegativedirectionDigiD1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionDigiD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBnegativedirectionDigiD1 = "<SetMarkerColor(2); + HBnegativedirectionDigiD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionDigiD1 == 1) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 2) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 3) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 4) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 5) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 6) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 7) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 8) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 9) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 10) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 11) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 12) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 13) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 14) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 15) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); + if (kcountHBnegativedirectionDigiD1 == 16) + HBnegativedirectionDigiD1->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); + HBnegativedirectionDigiD1->Draw("Error"); + kcountHBnegativedirectionDigiD1++; + if (kcountHBnegativedirectionDigiD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionDigiD1) delete h2CeffHBnegativedirectionDigiD1; - //========================================================================================== 22215 + if (h2CeffHBnegativedirectionDigiD1) + delete h2CeffHBnegativedirectionDigiD1; + //========================================================================================== 22215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionDigiD2=1; - TH1F* h2CeffHBnegativedirectionDigiD2 = new TH1F("h2CeffHBnegativedirectionDigiD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionDigiD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigiD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBnegativedirectionDigiD2 = "<SetMarkerColor(2);HBnegativedirectionDigiD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionDigiD2 == 1) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 == 2) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 == 3) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 == 4) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 == 5) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 == 6) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 == 7) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 == 8) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 == 9) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 ==10) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 ==11) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 ==12) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 ==13) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 ==14) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 ==15) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); - if(kcountHBnegativedirectionDigiD2 ==16) HBnegativedirectionDigiD2 ->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); - HBnegativedirectionDigiD2->Draw("Error"); - kcountHBnegativedirectionDigiD2++; - if(kcountHBnegativedirectionDigiD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHBnegativedirectionDigiD2 = 1; + TH1F* h2CeffHBnegativedirectionDigiD2 = new TH1F("h2CeffHBnegativedirectionDigiD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHB[i][jeta][jphi]; + if (adigiHB[i][jeta][jphi] > 0.) { + HBnegativedirectionDigiD2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionDigiD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBnegativedirectionDigiD2 = "<SetMarkerColor(2); + HBnegativedirectionDigiD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionDigiD2 == 1) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 2) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 3) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 4) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 5) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 6) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 7) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 8) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 9) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 10) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 11) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 12) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 13) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 14) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 15) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); + if (kcountHBnegativedirectionDigiD2 == 16) + HBnegativedirectionDigiD2->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); + HBnegativedirectionDigiD2->Draw("Error"); + kcountHBnegativedirectionDigiD2++; + if (kcountHBnegativedirectionDigiD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionDigiD2) delete h2CeffHBnegativedirectionDigiD2; - //========================================================================================== 22216 + if (h2CeffHBnegativedirectionDigiD2) + delete h2CeffHBnegativedirectionDigiD2; + //========================================================================================== 22216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionDigiD3=1; - TH1F* h2CeffHBnegativedirectionDigiD3 = new TH1F("h2CeffHBnegativedirectionDigiD3","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionDigiD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigiD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBnegativedirectionDigiD3 = "<SetMarkerColor(2);HBnegativedirectionDigiD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionDigiD3 == 1) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 == 2) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 == 3) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 == 4) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 == 5) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 == 6) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 == 7) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 == 8) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 == 9) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 ==10) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 ==11) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 ==12) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 ==13) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 ==14) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 ==15) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); - if(kcountHBnegativedirectionDigiD3 ==16) HBnegativedirectionDigiD3 ->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); - HBnegativedirectionDigiD3->Draw("Error"); - kcountHBnegativedirectionDigiD3++; - if(kcountHBnegativedirectionDigiD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHBnegativedirectionDigiD3 = 1; + TH1F* h2CeffHBnegativedirectionDigiD3 = new TH1F("h2CeffHBnegativedirectionDigiD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHB[i][jeta][jphi]; + if (adigiHB[i][jeta][jphi] > 0.) { + HBnegativedirectionDigiD3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionDigiD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBnegativedirectionDigiD3 = "<SetMarkerColor(2); + HBnegativedirectionDigiD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionDigiD3 == 1) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 2) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 3) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 4) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 5) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 6) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 7) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 8) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 9) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 10) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 11) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 12) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 13) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 14) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 15) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); + if (kcountHBnegativedirectionDigiD3 == 16) + HBnegativedirectionDigiD3->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); + HBnegativedirectionDigiD3->Draw("Error"); + kcountHBnegativedirectionDigiD3++; + if (kcountHBnegativedirectionDigiD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionDigiD3) delete h2CeffHBnegativedirectionDigiD3; + if (h2CeffHBnegativedirectionDigiD3) + delete h2CeffHBnegativedirectionDigiD3; //========================================================================================== 22217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionDigiD4=1; - TH1F* h2CeffHBnegativedirectionDigiD4 = new TH1F("h2CeffHBnegativedirectionDigiD4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionDigiD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionDigiD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBnegativedirectionDigiD4 = "<SetMarkerColor(2);HBnegativedirectionDigiD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionDigiD4 == 1) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 == 2) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 == 3) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 == 4) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 == 5) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 == 6) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 == 7) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 == 8) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 == 9) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 ==10) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 ==11) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 ==12) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 ==13) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 ==14) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 ==15) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); - if(kcountHBnegativedirectionDigiD4 ==16) HBnegativedirectionDigiD4 ->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); - HBnegativedirectionDigiD4->Draw("Error"); - kcountHBnegativedirectionDigiD4++; - if(kcountHBnegativedirectionDigiD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHBnegativedirectionDigiD4 = 1; + TH1F* h2CeffHBnegativedirectionDigiD4 = new TH1F("h2CeffHBnegativedirectionDigiD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHB[i][jeta][jphi]; + if (adigiHB[i][jeta][jphi] > 0.) { + HBnegativedirectionDigiD4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionDigiD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBnegativedirectionDigiD4 = "<SetMarkerColor(2); + HBnegativedirectionDigiD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionDigiD4 == 1) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 2) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 3) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 4) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 5) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 6) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 7) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 8) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 9) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 10) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 11) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 12) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 13) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 14) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 15) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); + if (kcountHBnegativedirectionDigiD4 == 16) + HBnegativedirectionDigiD4->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); + HBnegativedirectionDigiD4->Draw("Error"); + kcountHBnegativedirectionDigiD4++; + if (kcountHBnegativedirectionDigiD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionDigiD4) delete h2CeffHBnegativedirectionDigiD4; - - - + if (h2CeffHBnegativedirectionDigiD4) + delete h2CeffHBnegativedirectionDigiD4; //===================================================================== END of Digi HB for phi-symmetry //===================================================================== END of Digi HB for phi-symmetry //===================================================================== END of Digi HB for phi-symmetry - - - - - - //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Digi HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Digi HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Digi HE - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[3]; - ndepth = 7; - // const int ndepth = 7; - double adigihe[ndepth][njeta][njphi]; - double digivariancehe[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double adigihe[ndepth][njeta][njphi]; + double digivariancehe[ndepth][njeta][njphi]; // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Digi HE - TH2F *amplitudechannel1HE1= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE1"); - TH2F *amplitudechannel0HE1= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE1"); + TH2F* amplitudechannel1HE1 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE1"); + TH2F* amplitudechannel0HE1 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE1"); TH2F* amplitudechannelHE1 = (TH2F*)amplitudechannel1HE1->Clone("amplitudechannelHE1"); - amplitudechannelHE1->Divide(amplitudechannel1HE1,amplitudechannel0HE1, 1, 1, "B"); - TH2F *amplitudechannel1HE2= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE2"); - TH2F *amplitudechannel0HE2= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE2"); + amplitudechannelHE1->Divide(amplitudechannel1HE1, amplitudechannel0HE1, 1, 1, "B"); + TH2F* amplitudechannel1HE2 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE2"); + TH2F* amplitudechannel0HE2 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE2"); TH2F* amplitudechannelHE2 = (TH2F*)amplitudechannel1HE2->Clone("amplitudechannelHE2"); - amplitudechannelHE2->Divide(amplitudechannel1HE2,amplitudechannel0HE2, 1, 1, "B"); - TH2F *amplitudechannel1HE3= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE3"); - TH2F *amplitudechannel0HE3= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE3"); + amplitudechannelHE2->Divide(amplitudechannel1HE2, amplitudechannel0HE2, 1, 1, "B"); + TH2F* amplitudechannel1HE3 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE3"); + TH2F* amplitudechannel0HE3 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE3"); TH2F* amplitudechannelHE3 = (TH2F*)amplitudechannel1HE3->Clone("amplitudechannelHE3"); - amplitudechannelHE3->Divide(amplitudechannel1HE3,amplitudechannel0HE3, 1, 1, "B"); - TH2F *amplitudechannel1HE4= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE4"); - TH2F *amplitudechannel0HE4= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE4"); + amplitudechannelHE3->Divide(amplitudechannel1HE3, amplitudechannel0HE3, 1, 1, "B"); + TH2F* amplitudechannel1HE4 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE4"); + TH2F* amplitudechannel0HE4 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE4"); TH2F* amplitudechannelHE4 = (TH2F*)amplitudechannel1HE4->Clone("amplitudechannelHE4"); - amplitudechannelHE4->Divide(amplitudechannel1HE4,amplitudechannel0HE4, 1, 1, "B"); - TH2F *amplitudechannel1HE5= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE5"); - TH2F *amplitudechannel0HE5= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE5"); + amplitudechannelHE4->Divide(amplitudechannel1HE4, amplitudechannel0HE4, 1, 1, "B"); + TH2F* amplitudechannel1HE5 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE5"); + TH2F* amplitudechannel0HE5 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE5"); TH2F* amplitudechannelHE5 = (TH2F*)amplitudechannel1HE5->Clone("amplitudechannelHE5"); - amplitudechannelHE5->Divide(amplitudechannel1HE5,amplitudechannel0HE5, 1, 1, "B"); - TH2F *amplitudechannel1HE6= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE6"); - TH2F *amplitudechannel0HE6= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE6"); + amplitudechannelHE5->Divide(amplitudechannel1HE5, amplitudechannel0HE5, 1, 1, "B"); + TH2F* amplitudechannel1HE6 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE6"); + TH2F* amplitudechannel0HE6 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE6"); TH2F* amplitudechannelHE6 = (TH2F*)amplitudechannel1HE6->Clone("amplitudechannelHE6"); - amplitudechannelHE6->Divide(amplitudechannel1HE6,amplitudechannel0HE6, 1, 1, "B"); - TH2F *amplitudechannel1HE7= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE7"); - TH2F *amplitudechannel0HE7= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE7"); + amplitudechannelHE6->Divide(amplitudechannel1HE6, amplitudechannel0HE6, 1, 1, "B"); + TH2F* amplitudechannel1HE7 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HE7"); + TH2F* amplitudechannel0HE7 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE7"); TH2F* amplitudechannelHE7 = (TH2F*)amplitudechannel1HE7->Clone("amplitudechannelHE7"); - amplitudechannelHE7->Divide(amplitudechannel1HE7,amplitudechannel0HE7, 1, 1, "B"); - for(int jeta=0;jetaDivide(amplitudechannel1HE7, amplitudechannel0HE7, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { //====================================================================== PHI normalization & put R into massive adigihe - //preparation for PHI normalization: - double sumdigiHE0=0;int nsumdigiHE0=0;double sumdigiHE1=0;int nsumdigiHE1=0;double sumdigiHE2=0;int nsumdigiHE2=0;double sumdigiHE3=0;int nsumdigiHE3=0; - double sumdigiHE4=0;int nsumdigiHE4=0;double sumdigiHE5=0;int nsumdigiHE5=0;double sumdigiHE6=0;int nsumdigiHE6=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - adigihe[1][jeta][jphi] = amplitudechannelHE2->GetBinContent(jeta+1,jphi+1); - adigihe[2][jeta][jphi] = amplitudechannelHE3->GetBinContent(jeta+1,jphi+1); - adigihe[3][jeta][jphi] = amplitudechannelHE4->GetBinContent(jeta+1,jphi+1); - adigihe[4][jeta][jphi] = amplitudechannelHE5->GetBinContent(jeta+1,jphi+1); - adigihe[5][jeta][jphi] = amplitudechannelHE6->GetBinContent(jeta+1,jphi+1); - adigihe[6][jeta][jphi] = amplitudechannelHE7->GetBinContent(jeta+1,jphi+1); - if(adigihe[0][jeta][jphi] > 0.) {sumdigiHE0 += adigihe[0][jeta][jphi];++nsumdigiHE0;} - if(adigihe[1][jeta][jphi] > 0.) {sumdigiHE1 += adigihe[1][jeta][jphi];++nsumdigiHE1;} - if(adigihe[2][jeta][jphi] > 0.) {sumdigiHE2 += adigihe[2][jeta][jphi];++nsumdigiHE2;} - if(adigihe[3][jeta][jphi] > 0.) {sumdigiHE3 += adigihe[3][jeta][jphi];++nsumdigiHE3;} - if(adigihe[4][jeta][jphi] > 0.) {sumdigiHE4 += adigihe[4][jeta][jphi];++nsumdigiHE4;} - if(adigihe[5][jeta][jphi] > 0.) {sumdigiHE5 += adigihe[5][jeta][jphi];++nsumdigiHE5;} - if(adigihe[6][jeta][jphi] > 0.) {sumdigiHE6 += adigihe[6][jeta][jphi];++nsumdigiHE6;} - }// phi - // PHI normalization: - for(int jphi=0;jphi 0.) adigihe[0][jeta][jphi] /= (sumdigiHE0/nsumdigiHE0) ; - if(adigihe[1][jeta][jphi] > 0.) adigihe[1][jeta][jphi] /= (sumdigiHE1/nsumdigiHE1) ; - if(adigihe[2][jeta][jphi] > 0.) adigihe[2][jeta][jphi] /= (sumdigiHE2/nsumdigiHE2) ; - if(adigihe[3][jeta][jphi] > 0.) adigihe[3][jeta][jphi] /= (sumdigiHE3/nsumdigiHE3) ; - if(adigihe[4][jeta][jphi] > 0.) adigihe[4][jeta][jphi] /= (sumdigiHE4/nsumdigiHE4) ; - if(adigihe[5][jeta][jphi] > 0.) adigihe[5][jeta][jphi] /= (sumdigiHE5/nsumdigiHE5) ; - if(adigihe[6][jeta][jphi] > 0.) adigihe[6][jeta][jphi] /= (sumdigiHE6/nsumdigiHE6) ; - }// phi - }//eta + //preparation for PHI normalization: + double sumdigiHE0 = 0; + int nsumdigiHE0 = 0; + double sumdigiHE1 = 0; + int nsumdigiHE1 = 0; + double sumdigiHE2 = 0; + int nsumdigiHE2 = 0; + double sumdigiHE3 = 0; + int nsumdigiHE3 = 0; + double sumdigiHE4 = 0; + int nsumdigiHE4 = 0; + double sumdigiHE5 = 0; + int nsumdigiHE5 = 0; + double sumdigiHE6 = 0; + int nsumdigiHE6 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + adigihe[0][jeta][jphi] = amplitudechannelHE1->GetBinContent(jeta + 1, jphi + 1); + adigihe[1][jeta][jphi] = amplitudechannelHE2->GetBinContent(jeta + 1, jphi + 1); + adigihe[2][jeta][jphi] = amplitudechannelHE3->GetBinContent(jeta + 1, jphi + 1); + adigihe[3][jeta][jphi] = amplitudechannelHE4->GetBinContent(jeta + 1, jphi + 1); + adigihe[4][jeta][jphi] = amplitudechannelHE5->GetBinContent(jeta + 1, jphi + 1); + adigihe[5][jeta][jphi] = amplitudechannelHE6->GetBinContent(jeta + 1, jphi + 1); + adigihe[6][jeta][jphi] = amplitudechannelHE7->GetBinContent(jeta + 1, jphi + 1); + if (adigihe[0][jeta][jphi] > 0.) { + sumdigiHE0 += adigihe[0][jeta][jphi]; + ++nsumdigiHE0; + } + if (adigihe[1][jeta][jphi] > 0.) { + sumdigiHE1 += adigihe[1][jeta][jphi]; + ++nsumdigiHE1; + } + if (adigihe[2][jeta][jphi] > 0.) { + sumdigiHE2 += adigihe[2][jeta][jphi]; + ++nsumdigiHE2; + } + if (adigihe[3][jeta][jphi] > 0.) { + sumdigiHE3 += adigihe[3][jeta][jphi]; + ++nsumdigiHE3; + } + if (adigihe[4][jeta][jphi] > 0.) { + sumdigiHE4 += adigihe[4][jeta][jphi]; + ++nsumdigiHE4; + } + if (adigihe[5][jeta][jphi] > 0.) { + sumdigiHE5 += adigihe[5][jeta][jphi]; + ++nsumdigiHE5; + } + if (adigihe[6][jeta][jphi] > 0.) { + sumdigiHE6 += adigihe[6][jeta][jphi]; + ++nsumdigiHE6; + } + } // phi + // PHI normalization: + for (int jphi = 0; jphi < njphi; jphi++) { + if (adigihe[0][jeta][jphi] > 0.) + adigihe[0][jeta][jphi] /= (sumdigiHE0 / nsumdigiHE0); + if (adigihe[1][jeta][jphi] > 0.) + adigihe[1][jeta][jphi] /= (sumdigiHE1 / nsumdigiHE1); + if (adigihe[2][jeta][jphi] > 0.) + adigihe[2][jeta][jphi] /= (sumdigiHE2 / nsumdigiHE2); + if (adigihe[3][jeta][jphi] > 0.) + adigihe[3][jeta][jphi] /= (sumdigiHE3 / nsumdigiHE3); + if (adigihe[4][jeta][jphi] > 0.) + adigihe[4][jeta][jphi] /= (sumdigiHE4 / nsumdigiHE4); + if (adigihe[5][jeta][jphi] > 0.) + adigihe[5][jeta][jphi] /= (sumdigiHE5 / nsumdigiHE5); + if (adigihe[6][jeta][jphi] > 0.) + adigihe[6][jeta][jphi] /= (sumdigiHE6 / nsumdigiHE6); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthes //====================================================================== //====================================================================== //cout<<" R2D-eta/phi-plot: R, averaged over depthes *****" <Clear(); ///////////////// - c1x0->Divide(1,1); + c1x0->Divide(1, 1); c1x0->cd(1); - TH2F* GefzRdigiHE42D = new TH2F("GefzRdigiHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRdigiHE42D0 = new TH2F("GefzRdigiHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRdigiHE42D = new TH2F("GefzRdigiHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRdigiHE42D0 = new TH2F("GefzRdigiHE42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRdigiHE42DF = (TH2F*)GefzRdigiHE42D0->Clone("GefzRdigiHE42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRdigiHE42D ->Fill(kkk,jphi,ccc1); GefzRdigiHE42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRdigiHE42DF->Divide(GefzRdigiHE42D,GefzRdigiHE42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRdigiHE42DF->SetMarkerStyle(20); GefzRdigiHE42DF->SetMarkerSize(0.4); GefzRdigiHE42DF->GetZaxis()->SetLabelSize(0.08); GefzRdigiHE42DF->SetXTitle("_depth #eta \b"); GefzRdigiHE42DF->SetYTitle(" #phi \b"); GefzRdigiHE42DF->SetZTitle("_depth \b"); GefzRdigiHE42DF->SetMarkerColor(2); GefzRdigiHE42DF->SetLineColor(0); // GefzRdigiHE42DF->SetMaximum(1.000); // GefzRdigiHE42DF->SetMinimum(1.0); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigihe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRdigiHE42D->Fill(kkk, jphi, ccc1); + GefzRdigiHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRdigiHE42DF->Divide(GefzRdigiHE42D, GefzRdigiHE42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRdigiHE42DF->SetMarkerStyle(20); + GefzRdigiHE42DF->SetMarkerSize(0.4); + GefzRdigiHE42DF->GetZaxis()->SetLabelSize(0.08); + GefzRdigiHE42DF->SetXTitle("_depth #eta \b"); + GefzRdigiHE42DF->SetYTitle(" #phi \b"); + GefzRdigiHE42DF->SetZTitle("_depth \b"); + GefzRdigiHE42DF->SetMarkerColor(2); + GefzRdigiHE42DF->SetLineColor( + 0); // GefzRdigiHE42DF->SetMaximum(1.000); // GefzRdigiHE42DF->SetMinimum(1.0); GefzRdigiHE42DF->Draw("COLZ"); ///////////////// c1x0->Update(); c1x0->Print("RdigiGeneralD2PhiSymmetryHE.png"); c1x0->Clear(); // clean-up - if (GefzRdigiHE42D) delete GefzRdigiHE42D; - if (GefzRdigiHE42D0) delete GefzRdigiHE42D0; - if (GefzRdigiHE42DF) delete GefzRdigiHE42DF; + if (GefzRdigiHE42D) + delete GefzRdigiHE42D; + if (GefzRdigiHE42D0) + delete GefzRdigiHE42D0; + if (GefzRdigiHE42DF) + delete GefzRdigiHE42DF; //====================================================================== 1D plot: R vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRdigiHE41D = new TH1F("GefzRdigiHE41D","", nphi, 0., 72. ); - TH1F* GefzRdigiHE41D0 = new TH1F("GefzRdigiHE41D0","",nphi, 0., 72. ); + TH1F* GefzRdigiHE41D = new TH1F("GefzRdigiHE41D", "", nphi, 0., 72.); + TH1F* GefzRdigiHE41D0 = new TH1F("GefzRdigiHE41D0", "", nphi, 0., 72.); TH1F* GefzRdigiHE41DF = (TH1F*)GefzRdigiHE41D0->Clone("GefzRdigiHE41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRdigiHE41D0 ->Fill(jphi,1.); } - }}} - GefzRdigiHE41DF->Divide(GefzRdigiHE41D,GefzRdigiHE41D0, 1, 1, "B");// R averaged over depthes & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = adigihe[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRdigiHE41D->Fill(jphi, ccc1); + GefzRdigiHE41D0->Fill(jphi, 1.); + } + } + } + } + GefzRdigiHE41DF->Divide(GefzRdigiHE41D, GefzRdigiHE41D0, 1, 1, "B"); // R averaged over depthes & eta GefzRdigiHE41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRdigiHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRdigiHE41DF->SetMarkerStyle(20); GefzRdigiHE41DF->SetMarkerSize(1.4); GefzRdigiHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRdigiHE41DF->SetXTitle("#phi \b"); GefzRdigiHE41DF->SetYTitle(" \b"); GefzRdigiHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRdigiHE41DF->SetMarkerColor(4); GefzRdigiHE41DF->SetLineColor(4);// GefzRdigiHE41DF->SetMinimum(0.8); // GefzRdigiHE41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRdigiHE41DF->SetMarkerStyle(20); + GefzRdigiHE41DF->SetMarkerSize(1.4); + GefzRdigiHE41DF->GetZaxis()->SetLabelSize(0.08); + GefzRdigiHE41DF->SetXTitle("#phi \b"); + GefzRdigiHE41DF->SetYTitle(" \b"); + GefzRdigiHE41DF->SetZTitle("_PHI - AllDepthes \b"); + GefzRdigiHE41DF->SetMarkerColor(4); + GefzRdigiHE41DF->SetLineColor( + 4); // GefzRdigiHE41DF->SetMinimum(0.8); // GefzRdigiHE41DF->SetMaximum(1.000); GefzRdigiHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RdigiGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (GefzRdigiHE41D) delete GefzRdigiHE41D; - if (GefzRdigiHE41D0) delete GefzRdigiHE41D0; - if (GefzRdigiHE41DF) delete GefzRdigiHE41DF; - - - //========================================================================================== 4 + if (GefzRdigiHE41D) + delete GefzRdigiHE41D; + if (GefzRdigiHE41D0) + delete GefzRdigiHE41D0; + if (GefzRdigiHE41DF) + delete GefzRdigiHE41DF; + + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionDigi1=1; - TH1F* h2CeffHEpositivedirectionDigi1 = new TH1F("h2CeffHEpositivedirectionDigi1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigi1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEpositivedirectionDigi1 = "<SetMarkerColor(2);HEpositivedirectionDigi1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionDigi1 == 1) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionDigi1 == 2) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionDigi1 == 3) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionDigi1 == 4) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionDigi1 == 5) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionDigi1 == 6) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionDigi1 == 7) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionDigi1 == 8) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionDigi1 == 9) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionDigi1 ==10) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionDigi1 ==11) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionDigi1 ==12) HEpositivedirectionDigi1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionDigi1->Draw("Error"); - kcountHEpositivedirectionDigi1++; - if(kcountHEpositivedirectionDigi1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEpositivedirectionDigi1 = (TH1F*)h2CeffHEpositivedirectionDigi1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigihe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionDigi1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionDigi1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEpositivedirectionDigi1 = "<SetMarkerColor(2); + HEpositivedirectionDigi1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionDigi1 == 1) + HEpositivedirectionDigi1->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionDigi1 == 2) + HEpositivedirectionDigi1->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionDigi1 == 3) + HEpositivedirectionDigi1->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionDigi1 == 4) + HEpositivedirectionDigi1->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionDigi1 == 5) + HEpositivedirectionDigi1->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionDigi1 == 6) + HEpositivedirectionDigi1->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionDigi1 == 7) + HEpositivedirectionDigi1->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionDigi1 == 8) + HEpositivedirectionDigi1->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionDigi1 == 9) + HEpositivedirectionDigi1->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionDigi1 == 10) + HEpositivedirectionDigi1->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionDigi1 == 11) + HEpositivedirectionDigi1->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionDigi1 == 12) + HEpositivedirectionDigi1->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionDigi1->Draw("Error"); + kcountHEpositivedirectionDigi1++; + if (kcountHEpositivedirectionDigi1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionDigi1) delete h2CeffHEpositivedirectionDigi1; - + if (h2CeffHEpositivedirectionDigi1) + delete h2CeffHEpositivedirectionDigi1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionDigi2=1; - TH1F* h2CeffHEpositivedirectionDigi2 = new TH1F("h2CeffHEpositivedirectionDigi2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigi2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEpositivedirectionDigi2 = "<SetMarkerColor(2);HEpositivedirectionDigi2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionDigi2 == 1) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionDigi2 == 2) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionDigi2 == 3) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionDigi2 == 4) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionDigi2 == 5) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionDigi2 == 6) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionDigi2 == 7) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionDigi2 == 8) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionDigi2 == 9) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionDigi2 ==10) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionDigi2 ==11) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionDigi2 ==12) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionDigi2 ==13) HEpositivedirectionDigi2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionDigi2->Draw("Error"); - kcountHEpositivedirectionDigi2++; - if(kcountHEpositivedirectionDigi2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionDigi2 = 1; + TH1F* h2CeffHEpositivedirectionDigi2 = new TH1F("h2CeffHEpositivedirectionDigi2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigi: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigihe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionDigi2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionDigi2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEpositivedirectionDigi2 = "<SetMarkerColor(2); + HEpositivedirectionDigi2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionDigi2 == 1) + HEpositivedirectionDigi2->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionDigi2 == 2) + HEpositivedirectionDigi2->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionDigi2 == 3) + HEpositivedirectionDigi2->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionDigi2 == 4) + HEpositivedirectionDigi2->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionDigi2 == 5) + HEpositivedirectionDigi2->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionDigi2 == 6) + HEpositivedirectionDigi2->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionDigi2 == 7) + HEpositivedirectionDigi2->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionDigi2 == 8) + HEpositivedirectionDigi2->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionDigi2 == 9) + HEpositivedirectionDigi2->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionDigi2 == 10) + HEpositivedirectionDigi2->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionDigi2 == 11) + HEpositivedirectionDigi2->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionDigi2 == 12) + HEpositivedirectionDigi2->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionDigi2 == 13) + HEpositivedirectionDigi2->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionDigi2->Draw("Error"); + kcountHEpositivedirectionDigi2++; + if (kcountHEpositivedirectionDigi2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionDigi2) delete h2CeffHEpositivedirectionDigi2; - //========================================================================================== 6 + if (h2CeffHEpositivedirectionDigi2) + delete h2CeffHEpositivedirectionDigi2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionDigi3=1; - TH1F* h2CeffHEpositivedirectionDigi3 = new TH1F("h2CeffHEpositivedirectionDigi3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigi3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEpositivedirectionDigi3 = "<SetMarkerColor(2);HEpositivedirectionDigi3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionDigi3 == 1) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionDigi3 == 2) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionDigi3 == 3) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionDigi3 == 4) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionDigi3 == 5) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionDigi3 == 6) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionDigi3 == 7) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionDigi3 == 8) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionDigi3 == 9) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionDigi3 ==10) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionDigi3 ==11) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionDigi3 ==12) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionDigi3 ==13) HEpositivedirectionDigi3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionDigi3->Draw("Error"); - kcountHEpositivedirectionDigi3++; - if(kcountHEpositivedirectionDigi3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionDigi3 = 1; + TH1F* h2CeffHEpositivedirectionDigi3 = new TH1F("h2CeffHEpositivedirectionDigi3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigi: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigihe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionDigi3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionDigi3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEpositivedirectionDigi3 = "<SetMarkerColor(2); + HEpositivedirectionDigi3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionDigi3 == 1) + HEpositivedirectionDigi3->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionDigi3 == 2) + HEpositivedirectionDigi3->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionDigi3 == 3) + HEpositivedirectionDigi3->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionDigi3 == 4) + HEpositivedirectionDigi3->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionDigi3 == 5) + HEpositivedirectionDigi3->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionDigi3 == 6) + HEpositivedirectionDigi3->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionDigi3 == 7) + HEpositivedirectionDigi3->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionDigi3 == 8) + HEpositivedirectionDigi3->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionDigi3 == 9) + HEpositivedirectionDigi3->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionDigi3 == 10) + HEpositivedirectionDigi3->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionDigi3 == 11) + HEpositivedirectionDigi3->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionDigi3 == 12) + HEpositivedirectionDigi3->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionDigi3 == 13) + HEpositivedirectionDigi3->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionDigi3->Draw("Error"); + kcountHEpositivedirectionDigi3++; + if (kcountHEpositivedirectionDigi3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionDigi3) delete h2CeffHEpositivedirectionDigi3; - //========================================================================================== 7 + if (h2CeffHEpositivedirectionDigi3) + delete h2CeffHEpositivedirectionDigi3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionDigi4=1; - TH1F* h2CeffHEpositivedirectionDigi4 = new TH1F("h2CeffHEpositivedirectionDigi4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigi4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEpositivedirectionDigi4 = "<SetMarkerColor(2);HEpositivedirectionDigi4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionDigi4 == 1) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionDigi4 == 2) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionDigi4 == 3) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionDigi4 == 4) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionDigi4 == 5) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionDigi4 == 6) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionDigi4 == 7) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionDigi4 == 8) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionDigi4 == 9) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionDigi4 ==10) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionDigi4 ==11) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionDigi4 ==12) HEpositivedirectionDigi4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionDigi4->Draw("Error"); - kcountHEpositivedirectionDigi4++; - if(kcountHEpositivedirectionDigi4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionDigi4 = 1; + TH1F* h2CeffHEpositivedirectionDigi4 = new TH1F("h2CeffHEpositivedirectionDigi4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigi: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigihe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionDigi4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionDigi4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEpositivedirectionDigi4 = "<SetMarkerColor(2); + HEpositivedirectionDigi4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionDigi4 == 1) + HEpositivedirectionDigi4->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionDigi4 == 2) + HEpositivedirectionDigi4->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionDigi4 == 3) + HEpositivedirectionDigi4->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionDigi4 == 4) + HEpositivedirectionDigi4->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionDigi4 == 5) + HEpositivedirectionDigi4->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionDigi4 == 6) + HEpositivedirectionDigi4->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionDigi4 == 7) + HEpositivedirectionDigi4->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionDigi4 == 8) + HEpositivedirectionDigi4->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionDigi4 == 9) + HEpositivedirectionDigi4->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionDigi4 == 10) + HEpositivedirectionDigi4->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionDigi4 == 11) + HEpositivedirectionDigi4->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionDigi4 == 12) + HEpositivedirectionDigi4->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionDigi4->Draw("Error"); + kcountHEpositivedirectionDigi4++; + if (kcountHEpositivedirectionDigi4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionDigi4) delete h2CeffHEpositivedirectionDigi4; - //========================================================================================== 8 + if (h2CeffHEpositivedirectionDigi4) + delete h2CeffHEpositivedirectionDigi4; + //========================================================================================== 8 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionDigi5=1; - TH1F* h2CeffHEpositivedirectionDigi5 = new TH1F("h2CeffHEpositivedirectionDigi5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionDigi5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionDigi5 == 1) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionDigi5 == 2) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionDigi5 == 3) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionDigi5 == 4) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionDigi5 == 5) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionDigi5 == 6) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionDigi5 == 7) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionDigi5 == 8) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionDigi5 == 9) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionDigi5 ==10) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionDigi5 ==11) HEpositivedirectionDigi5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionDigi5->Draw("Error"); - kcountHEpositivedirectionDigi5++; - if(kcountHEpositivedirectionDigi5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionDigi5 = 1; + TH1F* h2CeffHEpositivedirectionDigi5 = new TH1F("h2CeffHEpositivedirectionDigi5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigi: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEpositivedirectionDigi5 = "<SetMarkerColor(2); + HEpositivedirectionDigi5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionDigi5 == 1) + HEpositivedirectionDigi5->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionDigi5 == 2) + HEpositivedirectionDigi5->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionDigi5 == 3) + HEpositivedirectionDigi5->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionDigi5 == 4) + HEpositivedirectionDigi5->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionDigi5 == 5) + HEpositivedirectionDigi5->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionDigi5 == 6) + HEpositivedirectionDigi5->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionDigi5 == 7) + HEpositivedirectionDigi5->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionDigi5 == 8) + HEpositivedirectionDigi5->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionDigi5 == 9) + HEpositivedirectionDigi5->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionDigi5 == 10) + HEpositivedirectionDigi5->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionDigi5 == 11) + HEpositivedirectionDigi5->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionDigi5->Draw("Error"); + kcountHEpositivedirectionDigi5++; + if (kcountHEpositivedirectionDigi5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionDigi5) delete h2CeffHEpositivedirectionDigi5; - //========================================================================================== 9 + if (h2CeffHEpositivedirectionDigi5) + delete h2CeffHEpositivedirectionDigi5; + //========================================================================================== 9 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionDigi6=1; - TH1F* h2CeffHEpositivedirectionDigi6 = new TH1F("h2CeffHEpositivedirectionDigi6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigi6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEpositivedirectionDigi6 = "<SetMarkerColor(2);HEpositivedirectionDigi6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionDigi6 == 1) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionDigi6 == 2) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionDigi6 == 3) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionDigi6 == 4) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionDigi6 == 5) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionDigi6 == 6) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionDigi6 == 7) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionDigi6 == 8) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionDigi6 == 9) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionDigi6 ==10) HEpositivedirectionDigi6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionDigi6->Draw("Error"); - kcountHEpositivedirectionDigi6++; - if(kcountHEpositivedirectionDigi6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionDigi6 = 1; + TH1F* h2CeffHEpositivedirectionDigi6 = new TH1F("h2CeffHEpositivedirectionDigi6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigi: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigihe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionDigi6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionDigi6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEpositivedirectionDigi6 = "<SetMarkerColor(2); + HEpositivedirectionDigi6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionDigi6 == 1) + HEpositivedirectionDigi6->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionDigi6 == 2) + HEpositivedirectionDigi6->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionDigi6 == 3) + HEpositivedirectionDigi6->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionDigi6 == 4) + HEpositivedirectionDigi6->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionDigi6 == 5) + HEpositivedirectionDigi6->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionDigi6 == 6) + HEpositivedirectionDigi6->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionDigi6 == 7) + HEpositivedirectionDigi6->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionDigi6 == 8) + HEpositivedirectionDigi6->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionDigi6 == 9) + HEpositivedirectionDigi6->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionDigi6 == 10) + HEpositivedirectionDigi6->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionDigi6->Draw("Error"); + kcountHEpositivedirectionDigi6++; + if (kcountHEpositivedirectionDigi6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionDigi6) delete h2CeffHEpositivedirectionDigi6; - //========================================================================================== 10 + if (h2CeffHEpositivedirectionDigi6) + delete h2CeffHEpositivedirectionDigi6; + //========================================================================================== 10 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionDigi7=1; - TH1F* h2CeffHEpositivedirectionDigi7 = new TH1F("h2CeffHEpositivedirectionDigi7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigi7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEpositivedirectionDigi7 = "<SetMarkerColor(2);HEpositivedirectionDigi7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionDigi7 == 1) HEpositivedirectionDigi7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionDigi7 == 2) HEpositivedirectionDigi7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionDigi7 == 3) HEpositivedirectionDigi7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionDigi7->Draw("Error"); - kcountHEpositivedirectionDigi7++; - if(kcountHEpositivedirectionDigi7>3) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionDigi7 = 1; + TH1F* h2CeffHEpositivedirectionDigi7 = new TH1F("h2CeffHEpositivedirectionDigi7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigi: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigihe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionDigi7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionDigi7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEpositivedirectionDigi7 = "<SetMarkerColor(2); + HEpositivedirectionDigi7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionDigi7 == 1) + HEpositivedirectionDigi7->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionDigi7 == 2) + HEpositivedirectionDigi7->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionDigi7 == 3) + HEpositivedirectionDigi7->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionDigi7->Draw("Error"); + kcountHEpositivedirectionDigi7++; + if (kcountHEpositivedirectionDigi7 > 3) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionDigi7) delete h2CeffHEpositivedirectionDigi7; + if (h2CeffHEpositivedirectionDigi7) + delete h2CeffHEpositivedirectionDigi7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionDigi1=1; - TH1F* h2CeffHEnegativedirectionDigi1 = new TH1F("h2CeffHEnegativedirectionDigi1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigi1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEnegativedirectionDigi1 = "<SetMarkerColor(2);HEnegativedirectionDigi1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionDigi1 == 1) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionDigi1 == 2) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionDigi1 == 3) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionDigi1 == 4) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionDigi1 == 5) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionDigi1 == 6) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionDigi1 == 7) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionDigi1 == 8) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionDigi1 == 9) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionDigi1 ==10) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionDigi1 ==11) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionDigi1 ==12) HEnegativedirectionDigi1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionDigi1->Draw("Error"); - kcountHEnegativedirectionDigi1++; - if(kcountHEnegativedirectionDigi1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEnegativedirectionDigi1 = (TH1F*)h2CeffHEnegativedirectionDigi1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigihe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionDigi1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionDigi1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEnegativedirectionDigi1 = "<SetMarkerColor(2); + HEnegativedirectionDigi1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionDigi1 == 1) + HEnegativedirectionDigi1->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionDigi1 == 2) + HEnegativedirectionDigi1->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionDigi1 == 3) + HEnegativedirectionDigi1->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionDigi1 == 4) + HEnegativedirectionDigi1->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionDigi1 == 5) + HEnegativedirectionDigi1->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionDigi1 == 6) + HEnegativedirectionDigi1->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionDigi1 == 7) + HEnegativedirectionDigi1->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionDigi1 == 8) + HEnegativedirectionDigi1->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionDigi1 == 9) + HEnegativedirectionDigi1->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionDigi1 == 10) + HEnegativedirectionDigi1->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionDigi1 == 11) + HEnegativedirectionDigi1->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionDigi1 == 12) + HEnegativedirectionDigi1->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionDigi1->Draw("Error"); + kcountHEnegativedirectionDigi1++; + if (kcountHEnegativedirectionDigi1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionDigi1) delete h2CeffHEnegativedirectionDigi1; - + if (h2CeffHEnegativedirectionDigi1) + delete h2CeffHEnegativedirectionDigi1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionDigi2=1; - TH1F* h2CeffHEnegativedirectionDigi2 = new TH1F("h2CeffHEnegativedirectionDigi2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigi2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEnegativedirectionDigi2 = "<SetMarkerColor(2);HEnegativedirectionDigi2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionDigi2 == 1) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionDigi2 == 2) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionDigi2 == 3) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionDigi2 == 4) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionDigi2 == 5) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionDigi2 == 6) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionDigi2 == 7) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionDigi2 == 8) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionDigi2 == 9) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionDigi2 ==10) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionDigi2 ==11) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionDigi2 ==12) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionDigi2 ==13) HEnegativedirectionDigi2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionDigi2->Draw("Error"); - kcountHEnegativedirectionDigi2++; - if(kcountHEnegativedirectionDigi2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionDigi2 = 1; + TH1F* h2CeffHEnegativedirectionDigi2 = new TH1F("h2CeffHEnegativedirectionDigi2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigi: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigihe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionDigi2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionDigi2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEnegativedirectionDigi2 = "<SetMarkerColor(2); + HEnegativedirectionDigi2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionDigi2 == 1) + HEnegativedirectionDigi2->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionDigi2 == 2) + HEnegativedirectionDigi2->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionDigi2 == 3) + HEnegativedirectionDigi2->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionDigi2 == 4) + HEnegativedirectionDigi2->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionDigi2 == 5) + HEnegativedirectionDigi2->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionDigi2 == 6) + HEnegativedirectionDigi2->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionDigi2 == 7) + HEnegativedirectionDigi2->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionDigi2 == 8) + HEnegativedirectionDigi2->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionDigi2 == 9) + HEnegativedirectionDigi2->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionDigi2 == 10) + HEnegativedirectionDigi2->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionDigi2 == 11) + HEnegativedirectionDigi2->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionDigi2 == 12) + HEnegativedirectionDigi2->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionDigi2 == 13) + HEnegativedirectionDigi2->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionDigi2->Draw("Error"); + kcountHEnegativedirectionDigi2++; + if (kcountHEnegativedirectionDigi2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionDigi2) delete h2CeffHEnegativedirectionDigi2; - //========================================================================================== 1116 + if (h2CeffHEnegativedirectionDigi2) + delete h2CeffHEnegativedirectionDigi2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionDigi3=1; - TH1F* h2CeffHEnegativedirectionDigi3 = new TH1F("h2CeffHEnegativedirectionDigi3","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigi3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEnegativedirectionDigi3 = "<SetMarkerColor(2);HEnegativedirectionDigi3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionDigi3 == 1) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionDigi3 == 2) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionDigi3 == 3) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionDigi3 == 4) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionDigi3 == 5) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionDigi3 == 6) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionDigi3 == 7) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionDigi3 == 8) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionDigi3 == 9) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionDigi3 ==10) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionDigi3 ==11) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionDigi3 ==12) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionDigi3 ==13) HEnegativedirectionDigi3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionDigi3->Draw("Error"); - kcountHEnegativedirectionDigi3++; - if(kcountHEnegativedirectionDigi3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionDigi3 = 1; + TH1F* h2CeffHEnegativedirectionDigi3 = new TH1F("h2CeffHEnegativedirectionDigi3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigi: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigihe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionDigi3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionDigi3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEnegativedirectionDigi3 = "<SetMarkerColor(2); + HEnegativedirectionDigi3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionDigi3 == 1) + HEnegativedirectionDigi3->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionDigi3 == 2) + HEnegativedirectionDigi3->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionDigi3 == 3) + HEnegativedirectionDigi3->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionDigi3 == 4) + HEnegativedirectionDigi3->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionDigi3 == 5) + HEnegativedirectionDigi3->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionDigi3 == 6) + HEnegativedirectionDigi3->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionDigi3 == 7) + HEnegativedirectionDigi3->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionDigi3 == 8) + HEnegativedirectionDigi3->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionDigi3 == 9) + HEnegativedirectionDigi3->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionDigi3 == 10) + HEnegativedirectionDigi3->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionDigi3 == 11) + HEnegativedirectionDigi3->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionDigi3 == 12) + HEnegativedirectionDigi3->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionDigi3 == 13) + HEnegativedirectionDigi3->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionDigi3->Draw("Error"); + kcountHEnegativedirectionDigi3++; + if (kcountHEnegativedirectionDigi3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionDigi3) delete h2CeffHEnegativedirectionDigi3; - //========================================================================================== 1117 + if (h2CeffHEnegativedirectionDigi3) + delete h2CeffHEnegativedirectionDigi3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionDigi4=1; - TH1F* h2CeffHEnegativedirectionDigi4 = new TH1F("h2CeffHEnegativedirectionDigi4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigi4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEnegativedirectionDigi4 = "<SetMarkerColor(2);HEnegativedirectionDigi4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionDigi4 == 1) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionDigi4 == 2) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionDigi4 == 3) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionDigi4 == 4) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionDigi4 == 5) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionDigi4 == 6) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionDigi4 == 7) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionDigi4 == 8) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionDigi4 == 9) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionDigi4 ==10) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionDigi4 ==11) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionDigi4 ==12) HEnegativedirectionDigi4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionDigi4->Draw("Error"); - kcountHEnegativedirectionDigi4++; - if(kcountHEnegativedirectionDigi4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionDigi4 = 1; + TH1F* h2CeffHEnegativedirectionDigi4 = new TH1F("h2CeffHEnegativedirectionDigi4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigi: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigihe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionDigi4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionDigi4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEnegativedirectionDigi4 = "<SetMarkerColor(2); + HEnegativedirectionDigi4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionDigi4 == 1) + HEnegativedirectionDigi4->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionDigi4 == 2) + HEnegativedirectionDigi4->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionDigi4 == 3) + HEnegativedirectionDigi4->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionDigi4 == 4) + HEnegativedirectionDigi4->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionDigi4 == 5) + HEnegativedirectionDigi4->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionDigi4 == 6) + HEnegativedirectionDigi4->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionDigi4 == 7) + HEnegativedirectionDigi4->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionDigi4 == 8) + HEnegativedirectionDigi4->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionDigi4 == 9) + HEnegativedirectionDigi4->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionDigi4 == 10) + HEnegativedirectionDigi4->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionDigi4 == 11) + HEnegativedirectionDigi4->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionDigi4 == 12) + HEnegativedirectionDigi4->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionDigi4->Draw("Error"); + kcountHEnegativedirectionDigi4++; + if (kcountHEnegativedirectionDigi4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionDigi4) delete h2CeffHEnegativedirectionDigi4; - //========================================================================================== 1118 + if (h2CeffHEnegativedirectionDigi4) + delete h2CeffHEnegativedirectionDigi4; + //========================================================================================== 1118 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionDigi5=1; - TH1F* h2CeffHEnegativedirectionDigi5 = new TH1F("h2CeffHEnegativedirectionDigi5","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionDigi5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionDigi5 == 1) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionDigi5 == 2) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionDigi5 == 3) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionDigi5 == 4) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionDigi5 == 5) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionDigi5 == 6) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionDigi5 == 7) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionDigi5 == 8) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionDigi5 == 9) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionDigi5 ==10) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionDigi5 ==11) HEnegativedirectionDigi5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionDigi5->Draw("Error"); - kcountHEnegativedirectionDigi5++; - if(kcountHEnegativedirectionDigi5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionDigi5 = 1; + TH1F* h2CeffHEnegativedirectionDigi5 = new TH1F("h2CeffHEnegativedirectionDigi5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigi: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEnegativedirectionDigi5 = "<SetMarkerColor(2); + HEnegativedirectionDigi5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionDigi5 == 1) + HEnegativedirectionDigi5->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionDigi5 == 2) + HEnegativedirectionDigi5->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionDigi5 == 3) + HEnegativedirectionDigi5->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionDigi5 == 4) + HEnegativedirectionDigi5->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionDigi5 == 5) + HEnegativedirectionDigi5->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionDigi5 == 6) + HEnegativedirectionDigi5->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionDigi5 == 7) + HEnegativedirectionDigi5->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionDigi5 == 8) + HEnegativedirectionDigi5->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionDigi5 == 9) + HEnegativedirectionDigi5->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionDigi5 == 10) + HEnegativedirectionDigi5->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionDigi5 == 11) + HEnegativedirectionDigi5->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionDigi5->Draw("Error"); + kcountHEnegativedirectionDigi5++; + if (kcountHEnegativedirectionDigi5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionDigi5) delete h2CeffHEnegativedirectionDigi5; - //========================================================================================== 1119 + if (h2CeffHEnegativedirectionDigi5) + delete h2CeffHEnegativedirectionDigi5; + //========================================================================================== 1119 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionDigi6=1; - TH1F* h2CeffHEnegativedirectionDigi6 = new TH1F("h2CeffHEnegativedirectionDigi6","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigi6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEnegativedirectionDigi6 = "<SetMarkerColor(2);HEnegativedirectionDigi6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionDigi6 == 1) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionDigi6 == 2) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionDigi6 == 3) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionDigi6 == 4) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionDigi6 == 5) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionDigi6 == 6) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionDigi6 == 7) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionDigi6 == 8) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionDigi6 == 9) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionDigi6 ==10) HEnegativedirectionDigi6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionDigi6->Draw("Error"); - kcountHEnegativedirectionDigi6++; - if(kcountHEnegativedirectionDigi6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionDigi6 = 1; + TH1F* h2CeffHEnegativedirectionDigi6 = new TH1F("h2CeffHEnegativedirectionDigi6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigi: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigihe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionDigi6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionDigi6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEnegativedirectionDigi6 = "<SetMarkerColor(2); + HEnegativedirectionDigi6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionDigi6 == 1) + HEnegativedirectionDigi6->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionDigi6 == 2) + HEnegativedirectionDigi6->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionDigi6 == 3) + HEnegativedirectionDigi6->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionDigi6 == 4) + HEnegativedirectionDigi6->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionDigi6 == 5) + HEnegativedirectionDigi6->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionDigi6 == 6) + HEnegativedirectionDigi6->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionDigi6 == 7) + HEnegativedirectionDigi6->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionDigi6 == 8) + HEnegativedirectionDigi6->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionDigi6 == 9) + HEnegativedirectionDigi6->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionDigi6 == 10) + HEnegativedirectionDigi6->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionDigi6->Draw("Error"); + kcountHEnegativedirectionDigi6++; + if (kcountHEnegativedirectionDigi6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionDigi6) delete h2CeffHEnegativedirectionDigi6; - //========================================================================================== 11110 + if (h2CeffHEnegativedirectionDigi6) + delete h2CeffHEnegativedirectionDigi6; + //========================================================================================== 11110 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionDigi7=1; - TH1F* h2CeffHEnegativedirectionDigi7 = new TH1F("h2CeffHEnegativedirectionDigi7","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigi7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEnegativedirectionDigi7 = "<SetMarkerColor(2);HEnegativedirectionDigi7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionDigi7 == 1) HEnegativedirectionDigi7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionDigi7 == 2) HEnegativedirectionDigi7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionDigi7 == 3) HEnegativedirectionDigi7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionDigi7->Draw("Error"); - kcountHEnegativedirectionDigi7++; - if(kcountHEnegativedirectionDigi7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionDigi7 = 1; + TH1F* h2CeffHEnegativedirectionDigi7 = new TH1F("h2CeffHEnegativedirectionDigi7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigi: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigihe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionDigi7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionDigi7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEnegativedirectionDigi7 = "<SetMarkerColor(2); + HEnegativedirectionDigi7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionDigi7 == 1) + HEnegativedirectionDigi7->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionDigi7 == 2) + HEnegativedirectionDigi7->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionDigi7 == 3) + HEnegativedirectionDigi7->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionDigi7->Draw("Error"); + kcountHEnegativedirectionDigi7++; + if (kcountHEnegativedirectionDigi7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionDigi7) delete h2CeffHEnegativedirectionDigi7; + if (h2CeffHEnegativedirectionDigi7) + delete h2CeffHEnegativedirectionDigi7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_amplitudechannel2_HE1"); - TH2F *digiVariance0HE1= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_amplitudechannel2_HE1"); + TH2F* digiVariance0HE1 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE1"); TH2F* digiVarianceHE1 = (TH2F*)digiVariance1HE1->Clone("digiVarianceHE1"); - digiVarianceHE1->Divide(digiVariance1HE1,digiVariance0HE1, 1, 1, "B"); - TH2F *digiVariance1HE2= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE2"); - TH2F *digiVariance0HE2= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE2"); + digiVarianceHE1->Divide(digiVariance1HE1, digiVariance0HE1, 1, 1, "B"); + TH2F* digiVariance1HE2 = (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE2"); + TH2F* digiVariance0HE2 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE2"); TH2F* digiVarianceHE2 = (TH2F*)digiVariance1HE2->Clone("digiVarianceHE2"); - digiVarianceHE2->Divide(digiVariance1HE2,digiVariance0HE2, 1, 1, "B"); - TH2F *digiVariance1HE3= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE3"); - TH2F *digiVariance0HE3= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE3"); + digiVarianceHE2->Divide(digiVariance1HE2, digiVariance0HE2, 1, 1, "B"); + TH2F* digiVariance1HE3 = (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE3"); + TH2F* digiVariance0HE3 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE3"); TH2F* digiVarianceHE3 = (TH2F*)digiVariance1HE3->Clone("digiVarianceHE3"); - digiVarianceHE3->Divide(digiVariance1HE3,digiVariance0HE3, 1, 1, "B"); - TH2F *digiVariance1HE4= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE4"); - TH2F *digiVariance0HE4= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE4"); + digiVarianceHE3->Divide(digiVariance1HE3, digiVariance0HE3, 1, 1, "B"); + TH2F* digiVariance1HE4 = (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE4"); + TH2F* digiVariance0HE4 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE4"); TH2F* digiVarianceHE4 = (TH2F*)digiVariance1HE4->Clone("digiVarianceHE4"); - digiVarianceHE4->Divide(digiVariance1HE4,digiVariance0HE4, 1, 1, "B"); - TH2F *digiVariance1HE5= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE5"); - TH2F *digiVariance0HE5= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE5"); + digiVarianceHE4->Divide(digiVariance1HE4, digiVariance0HE4, 1, 1, "B"); + TH2F* digiVariance1HE5 = (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE5"); + TH2F* digiVariance0HE5 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE5"); TH2F* digiVarianceHE5 = (TH2F*)digiVariance1HE5->Clone("digiVarianceHE5"); - digiVarianceHE5->Divide(digiVariance1HE5,digiVariance0HE5, 1, 1, "B"); - TH2F *digiVariance1HE6= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE6"); - TH2F *digiVariance0HE6= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE6"); + digiVarianceHE5->Divide(digiVariance1HE5, digiVariance0HE5, 1, 1, "B"); + TH2F* digiVariance1HE6 = (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE6"); + TH2F* digiVariance0HE6 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE6"); TH2F* digiVarianceHE6 = (TH2F*)digiVariance1HE6->Clone("digiVarianceHE6"); - digiVarianceHE6->Divide(digiVariance1HE6,digiVariance0HE6, 1, 1, "B"); - TH2F *digiVariance1HE7= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE7"); - TH2F *digiVariance0HE7= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE7"); + digiVarianceHE6->Divide(digiVariance1HE6, digiVariance0HE6, 1, 1, "B"); + TH2F* digiVariance1HE7 = (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HE7"); + TH2F* digiVariance0HE7 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HE7"); TH2F* digiVarianceHE7 = (TH2F*)digiVariance1HE7->Clone("digiVarianceHE7"); - digiVarianceHE7->Divide(digiVariance1HE7,digiVariance0HE7, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive digivariancehe - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - digivariancehe[1][jeta][jphi] = digiVarianceHE2->GetBinContent(jeta+1,jphi+1); - digivariancehe[2][jeta][jphi] = digiVarianceHE3->GetBinContent(jeta+1,jphi+1); - digivariancehe[3][jeta][jphi] = digiVarianceHE4->GetBinContent(jeta+1,jphi+1); - digivariancehe[4][jeta][jphi] = digiVarianceHE5->GetBinContent(jeta+1,jphi+1); - digivariancehe[5][jeta][jphi] = digiVarianceHE6->GetBinContent(jeta+1,jphi+1); - digivariancehe[6][jeta][jphi] = digiVarianceHE7->GetBinContent(jeta+1,jphi+1); - if(digivariancehe[0][jeta][jphi] > 0.) {sumdigiHE0 += digivariancehe[0][jeta][jphi];++nsumdigiHE0;} - if(digivariancehe[1][jeta][jphi] > 0.) {sumdigiHE1 += digivariancehe[1][jeta][jphi];++nsumdigiHE1;} - if(digivariancehe[2][jeta][jphi] > 0.) {sumdigiHE2 += digivariancehe[2][jeta][jphi];++nsumdigiHE2;} - if(digivariancehe[3][jeta][jphi] > 0.) {sumdigiHE3 += digivariancehe[3][jeta][jphi];++nsumdigiHE3;} - if(digivariancehe[4][jeta][jphi] > 0.) {sumdigiHE4 += digivariancehe[4][jeta][jphi];++nsumdigiHE4;} - if(digivariancehe[5][jeta][jphi] > 0.) {sumdigiHE5 += digivariancehe[5][jeta][jphi];++nsumdigiHE5;} - if(digivariancehe[6][jeta][jphi] > 0.) {sumdigiHE6 += digivariancehe[6][jeta][jphi];++nsumdigiHE6;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) digivariancehe[0][jeta][jphi] /= (sumdigiHE0/nsumdigiHE0) ; - if(digivariancehe[1][jeta][jphi] > 0.) digivariancehe[1][jeta][jphi] /= (sumdigiHE1/nsumdigiHE1) ; - if(digivariancehe[2][jeta][jphi] > 0.) digivariancehe[2][jeta][jphi] /= (sumdigiHE2/nsumdigiHE2) ; - if(digivariancehe[3][jeta][jphi] > 0.) digivariancehe[3][jeta][jphi] /= (sumdigiHE3/nsumdigiHE3) ; - if(digivariancehe[4][jeta][jphi] > 0.) digivariancehe[4][jeta][jphi] /= (sumdigiHE4/nsumdigiHE4) ; - if(digivariancehe[5][jeta][jphi] > 0.) digivariancehe[5][jeta][jphi] /= (sumdigiHE5/nsumdigiHE5) ; - if(digivariancehe[6][jeta][jphi] > 0.) digivariancehe[6][jeta][jphi] /= (sumdigiHE6/nsumdigiHE6) ; - }// phi - // digivariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive digivariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumdigiHE0 = 0; + int nsumdigiHE0 = 0; + double sumdigiHE1 = 0; + int nsumdigiHE1 = 0; + double sumdigiHE2 = 0; + int nsumdigiHE2 = 0; + double sumdigiHE3 = 0; + int nsumdigiHE3 = 0; + double sumdigiHE4 = 0; + int nsumdigiHE4 = 0; + double sumdigiHE5 = 0; + int nsumdigiHE5 = 0; + double sumdigiHE6 = 0; + int nsumdigiHE6 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + digivariancehe[0][jeta][jphi] = digiVarianceHE1->GetBinContent(jeta + 1, jphi + 1); + digivariancehe[1][jeta][jphi] = digiVarianceHE2->GetBinContent(jeta + 1, jphi + 1); + digivariancehe[2][jeta][jphi] = digiVarianceHE3->GetBinContent(jeta + 1, jphi + 1); + digivariancehe[3][jeta][jphi] = digiVarianceHE4->GetBinContent(jeta + 1, jphi + 1); + digivariancehe[4][jeta][jphi] = digiVarianceHE5->GetBinContent(jeta + 1, jphi + 1); + digivariancehe[5][jeta][jphi] = digiVarianceHE6->GetBinContent(jeta + 1, jphi + 1); + digivariancehe[6][jeta][jphi] = digiVarianceHE7->GetBinContent(jeta + 1, jphi + 1); + if (digivariancehe[0][jeta][jphi] > 0.) { + sumdigiHE0 += digivariancehe[0][jeta][jphi]; + ++nsumdigiHE0; + } + if (digivariancehe[1][jeta][jphi] > 0.) { + sumdigiHE1 += digivariancehe[1][jeta][jphi]; + ++nsumdigiHE1; + } + if (digivariancehe[2][jeta][jphi] > 0.) { + sumdigiHE2 += digivariancehe[2][jeta][jphi]; + ++nsumdigiHE2; } - //cout<<" Vaiance: DONE*****" < 0.) { + sumdigiHE3 += digivariancehe[3][jeta][jphi]; + ++nsumdigiHE3; + } + if (digivariancehe[4][jeta][jphi] > 0.) { + sumdigiHE4 += digivariancehe[4][jeta][jphi]; + ++nsumdigiHE4; + } + if (digivariancehe[5][jeta][jphi] > 0.) { + sumdigiHE5 += digivariancehe[5][jeta][jphi]; + ++nsumdigiHE5; + } + if (digivariancehe[6][jeta][jphi] > 0.) { + sumdigiHE6 += digivariancehe[6][jeta][jphi]; + ++nsumdigiHE6; + } + } // phi + // PHI normalization : + for (int jphi = 0; jphi < njphi; jphi++) { + if (digivariancehe[0][jeta][jphi] > 0.) + digivariancehe[0][jeta][jphi] /= (sumdigiHE0 / nsumdigiHE0); + if (digivariancehe[1][jeta][jphi] > 0.) + digivariancehe[1][jeta][jphi] /= (sumdigiHE1 / nsumdigiHE1); + if (digivariancehe[2][jeta][jphi] > 0.) + digivariancehe[2][jeta][jphi] /= (sumdigiHE2 / nsumdigiHE2); + if (digivariancehe[3][jeta][jphi] > 0.) + digivariancehe[3][jeta][jphi] /= (sumdigiHE3 / nsumdigiHE3); + if (digivariancehe[4][jeta][jphi] > 0.) + digivariancehe[4][jeta][jphi] /= (sumdigiHE4 / nsumdigiHE4); + if (digivariancehe[5][jeta][jphi] > 0.) + digivariancehe[5][jeta][jphi] /= (sumdigiHE5 / nsumdigiHE5); + if (digivariancehe[6][jeta][jphi] > 0.) + digivariancehe[6][jeta][jphi] /= (sumdigiHE6 / nsumdigiHE6); + } // phi + // digivariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDdigiHE42D = new TH2F("DefzDdigiHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDdigiHE42D0 = new TH2F("DefzDdigiHE42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDdigiHE42DF = (TH2F*)DefzDdigiHE42D0->Clone("DefzDdigiHE42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(adigihe[i][jeta][jphi]>0.) {DefzDdigiHE42D ->Fill(kkk,jphi,ccc1); DefzDdigiHE42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDdigiHE42DF->Divide(DefzDdigiHE42D,DefzDdigiHE42D0, 1, 1, "B");// average A - // DefzDdigiHE1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDdigiHE42DF->SetMarkerStyle(20); DefzDdigiHE42DF->SetMarkerSize(0.4); DefzDdigiHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDdigiHE42DF->SetXTitle("_depth #eta \b"); DefzDdigiHE42DF->SetYTitle(" #phi \b"); DefzDdigiHE42DF->SetZTitle("_depth \b"); DefzDdigiHE42DF->SetMarkerColor(2); DefzDdigiHE42DF->SetLineColor(0); // DefzDdigiHE42DF->SetMaximum(1.000); // DefzDdigiHE42DF->SetMinimum(1.0); - DefzDdigiHE42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DdigiGeneralD2PhiSymmetryHE.png"); - c1x0->Clear(); - // clean-up - if (DefzDdigiHE42D) delete DefzDdigiHE42D; - if (DefzDdigiHE42D0) delete DefzDdigiHE42D0; - if (DefzDdigiHE42DF) delete DefzDdigiHE42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthes *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDdigiHE42D = new TH2F("DefzDdigiHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDdigiHE42D0 = new TH2F("DefzDdigiHE42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDdigiHE42DF = (TH2F*)DefzDdigiHE42D0->Clone("DefzDdigiHE42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (adigihe[i][jeta][jphi] > 0.) { + DefzDdigiHE42D->Fill(kkk, jphi, ccc1); + DefzDdigiHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDdigiHE42DF->Divide(DefzDdigiHE42D, DefzDdigiHE42D0, 1, 1, "B"); // average A + // DefzDdigiHE1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDdigiHE42DF->SetMarkerStyle(20); + DefzDdigiHE42DF->SetMarkerSize(0.4); + DefzDdigiHE42DF->GetZaxis()->SetLabelSize(0.08); + DefzDdigiHE42DF->SetXTitle("_depth #eta \b"); + DefzDdigiHE42DF->SetYTitle(" #phi \b"); + DefzDdigiHE42DF->SetZTitle("_depth \b"); + DefzDdigiHE42DF->SetMarkerColor(2); + DefzDdigiHE42DF->SetLineColor( + 0); // DefzDdigiHE42DF->SetMaximum(1.000); // DefzDdigiHE42DF->SetMinimum(1.0); + DefzDdigiHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DdigiGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDdigiHE42D) + delete DefzDdigiHE42D; + if (DefzDdigiHE42D0) + delete DefzDdigiHE42D0; + if (DefzDdigiHE42DF) + delete DefzDdigiHE42DF; //====================================================================== 1D plot: D vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDdigiHE41D = new TH1F("DefzDdigiHE41D","", nphi, 0., 72. ); - TH1F* DefzDdigiHE41D0 = new TH1F("DefzDdigiHE41D0","",nphi, 0., 72. ); - TH1F* DefzDdigiHE41DF = (TH1F*)DefzDdigiHE41D0->Clone("DefzDdigiHE41DF"); - - for (int jphi=0;jphi0.) {DefzDdigiHE41D ->Fill(jphi,ccc1); DefzDdigiHE41D0 ->Fill(jphi,1.); } - }}} - // DefzDdigiHE41D->Sumw2();DefzDdigiHE41D0->Sumw2(); - - DefzDdigiHE41DF->Divide(DefzDdigiHE41D,DefzDdigiHE41D0, 1, 1, "B");// R averaged over depthes & eta - DefzDdigiHE41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDdigiHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDdigiHE41DF->SetMarkerStyle(20); DefzDdigiHE41DF->SetMarkerSize(1.4); DefzDdigiHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDdigiHE41DF->SetXTitle("#phi \b"); DefzDdigiHE41DF->SetYTitle(" \b"); DefzDdigiHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDdigiHE41DF->SetMarkerColor(4); DefzDdigiHE41DF->SetLineColor(4);// DefzDdigiHE41DF->SetMinimum(0.8); DefzDdigiHE41DF->SetMinimum(-0.015); - DefzDdigiHE41DF->Draw("Error"); + TH1F* DefzDdigiHE41D = new TH1F("DefzDdigiHE41D", "", nphi, 0., 72.); + TH1F* DefzDdigiHE41D0 = new TH1F("DefzDdigiHE41D0", "", nphi, 0., 72.); + TH1F* DefzDdigiHE41DF = (TH1F*)DefzDdigiHE41D0->Clone("DefzDdigiHE41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + DefzDdigiHE41D->Fill(jphi, ccc1); + DefzDdigiHE41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDdigiHE41D->Sumw2();DefzDdigiHE41D0->Sumw2(); + + DefzDdigiHE41DF->Divide(DefzDdigiHE41D, DefzDdigiHE41D0, 1, 1, "B"); // R averaged over depthes & eta + DefzDdigiHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDdigiHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDdigiHE41DF->SetMarkerStyle(20); + DefzDdigiHE41DF->SetMarkerSize(1.4); + DefzDdigiHE41DF->GetZaxis()->SetLabelSize(0.08); + DefzDdigiHE41DF->SetXTitle("#phi \b"); + DefzDdigiHE41DF->SetYTitle(" \b"); + DefzDdigiHE41DF->SetZTitle("_PHI - AllDepthes \b"); + DefzDdigiHE41DF->SetMarkerColor(4); + DefzDdigiHE41DF->SetLineColor(4); // DefzDdigiHE41DF->SetMinimum(0.8); DefzDdigiHE41DF->SetMinimum(-0.015); + DefzDdigiHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DdigiGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (DefzDdigiHE41D) delete DefzDdigiHE41D; - if (DefzDdigiHE41D0) delete DefzDdigiHE41D0; - if (DefzDdigiHE41DF) delete DefzDdigiHE41DF; - //========================================================================================== 14 + if (DefzDdigiHE41D) + delete DefzDdigiHE41D; + if (DefzDdigiHE41D0) + delete DefzDdigiHE41D0; + if (DefzDdigiHE41DF) + delete DefzDdigiHE41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionDigiD1=1; - TH1F* h2CeffHEpositivedirectionDigiD1 = new TH1F("h2CeffHEpositivedirectionDigiD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionDigiD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigiD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEpositivedirectionDigiD1 = "<SetMarkerColor(2);HEpositivedirectionDigiD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionDigiD1 == 1) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionDigiD1 == 2) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionDigiD1 == 3) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionDigiD1 == 4) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionDigiD1 == 5) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionDigiD1 == 6) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionDigiD1 == 7) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionDigiD1 == 8) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionDigiD1 == 9) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionDigiD1 ==10) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionDigiD1 ==11) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionDigiD1 ==12) HEpositivedirectionDigiD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionDigiD1->Draw("Error"); - kcountHEpositivedirectionDigiD1++; - if(kcountHEpositivedirectionDigiD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionDigiD1 = 1; + TH1F* h2CeffHEpositivedirectionDigiD1 = new TH1F("h2CeffHEpositivedirectionDigiD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + HEpositivedirectionDigiD1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionDigiD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEpositivedirectionDigiD1 = "<SetMarkerColor(2); + HEpositivedirectionDigiD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionDigiD1 == 1) + HEpositivedirectionDigiD1->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionDigiD1 == 2) + HEpositivedirectionDigiD1->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionDigiD1 == 3) + HEpositivedirectionDigiD1->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionDigiD1 == 4) + HEpositivedirectionDigiD1->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionDigiD1 == 5) + HEpositivedirectionDigiD1->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionDigiD1 == 6) + HEpositivedirectionDigiD1->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionDigiD1 == 7) + HEpositivedirectionDigiD1->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionDigiD1 == 8) + HEpositivedirectionDigiD1->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionDigiD1 == 9) + HEpositivedirectionDigiD1->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionDigiD1 == 10) + HEpositivedirectionDigiD1->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionDigiD1 == 11) + HEpositivedirectionDigiD1->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionDigiD1 == 12) + HEpositivedirectionDigiD1->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionDigiD1->Draw("Error"); + kcountHEpositivedirectionDigiD1++; + if (kcountHEpositivedirectionDigiD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionDigiD1) delete h2CeffHEpositivedirectionDigiD1; - //========================================================================================== 15 + if (h2CeffHEpositivedirectionDigiD1) + delete h2CeffHEpositivedirectionDigiD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionDigiD2=1; - TH1F* h2CeffHEpositivedirectionDigiD2 = new TH1F("h2CeffHEpositivedirectionDigiD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionDigiD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigiD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEpositivedirectionDigiD2 = "<SetMarkerColor(2);HEpositivedirectionDigiD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionDigiD2 == 1) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionDigiD2 == 2) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionDigiD2 == 3) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionDigiD2 == 4) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionDigiD2 == 5) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionDigiD2 == 6) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionDigiD2 == 7) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionDigiD2 == 8) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionDigiD2 == 9) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionDigiD2 ==10) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionDigiD2 ==11) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionDigiD2 ==12) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionDigiD2 ==13) HEpositivedirectionDigiD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionDigiD2->Draw("Error"); - kcountHEpositivedirectionDigiD2++; - if(kcountHEpositivedirectionDigiD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionDigiD2 = 1; + TH1F* h2CeffHEpositivedirectionDigiD2 = new TH1F("h2CeffHEpositivedirectionDigiD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + HEpositivedirectionDigiD2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionDigiD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEpositivedirectionDigiD2 = "<SetMarkerColor(2); + HEpositivedirectionDigiD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionDigiD2 == 1) + HEpositivedirectionDigiD2->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionDigiD2 == 2) + HEpositivedirectionDigiD2->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionDigiD2 == 3) + HEpositivedirectionDigiD2->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionDigiD2 == 4) + HEpositivedirectionDigiD2->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionDigiD2 == 5) + HEpositivedirectionDigiD2->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionDigiD2 == 6) + HEpositivedirectionDigiD2->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionDigiD2 == 7) + HEpositivedirectionDigiD2->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionDigiD2 == 8) + HEpositivedirectionDigiD2->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionDigiD2 == 9) + HEpositivedirectionDigiD2->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionDigiD2 == 10) + HEpositivedirectionDigiD2->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionDigiD2 == 11) + HEpositivedirectionDigiD2->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionDigiD2 == 12) + HEpositivedirectionDigiD2->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionDigiD2 == 13) + HEpositivedirectionDigiD2->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionDigiD2->Draw("Error"); + kcountHEpositivedirectionDigiD2++; + if (kcountHEpositivedirectionDigiD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionDigiD2) delete h2CeffHEpositivedirectionDigiD2; - //========================================================================================== 16 + if (h2CeffHEpositivedirectionDigiD2) + delete h2CeffHEpositivedirectionDigiD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionDigiD3=1; - TH1F* h2CeffHEpositivedirectionDigiD3 = new TH1F("h2CeffHEpositivedirectionDigiD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionDigiD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigiD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEpositivedirectionDigiD3 = "<SetMarkerColor(2);HEpositivedirectionDigiD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionDigiD3 == 1) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionDigiD3 == 2) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionDigiD3 == 3) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionDigiD3 == 4) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionDigiD3 == 5) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionDigiD3 == 6) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionDigiD3 == 7) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionDigiD3 == 8) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionDigiD3 == 9) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionDigiD3 ==10) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionDigiD3 ==11) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionDigiD3 ==12) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionDigiD3 ==13) HEpositivedirectionDigiD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionDigiD3->Draw("Error"); - kcountHEpositivedirectionDigiD3++; - if(kcountHEpositivedirectionDigiD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionDigiD3 = 1; + TH1F* h2CeffHEpositivedirectionDigiD3 = new TH1F("h2CeffHEpositivedirectionDigiD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + HEpositivedirectionDigiD3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionDigiD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEpositivedirectionDigiD3 = "<SetMarkerColor(2); + HEpositivedirectionDigiD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionDigiD3 == 1) + HEpositivedirectionDigiD3->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionDigiD3 == 2) + HEpositivedirectionDigiD3->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionDigiD3 == 3) + HEpositivedirectionDigiD3->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionDigiD3 == 4) + HEpositivedirectionDigiD3->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionDigiD3 == 5) + HEpositivedirectionDigiD3->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionDigiD3 == 6) + HEpositivedirectionDigiD3->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionDigiD3 == 7) + HEpositivedirectionDigiD3->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionDigiD3 == 8) + HEpositivedirectionDigiD3->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionDigiD3 == 9) + HEpositivedirectionDigiD3->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionDigiD3 == 10) + HEpositivedirectionDigiD3->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionDigiD3 == 11) + HEpositivedirectionDigiD3->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionDigiD3 == 12) + HEpositivedirectionDigiD3->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionDigiD3 == 13) + HEpositivedirectionDigiD3->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionDigiD3->Draw("Error"); + kcountHEpositivedirectionDigiD3++; + if (kcountHEpositivedirectionDigiD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionDigiD3) delete h2CeffHEpositivedirectionDigiD3; - //========================================================================================== 17 + if (h2CeffHEpositivedirectionDigiD3) + delete h2CeffHEpositivedirectionDigiD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionDigiD4=1; - TH1F* h2CeffHEpositivedirectionDigiD4 = new TH1F("h2CeffHEpositivedirectionDigiD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionDigiD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigiD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEpositivedirectionDigiD4 = "<SetMarkerColor(2);HEpositivedirectionDigiD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionDigiD4 == 1) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionDigiD4 == 2) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionDigiD4 == 3) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionDigiD4 == 4) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionDigiD4 == 5) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionDigiD4 == 6) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionDigiD4 == 7) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionDigiD4 == 8) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionDigiD4 == 9) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionDigiD4 ==10) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionDigiD4 ==11) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionDigiD4 ==12) HEpositivedirectionDigiD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionDigiD4->Draw("Error"); - kcountHEpositivedirectionDigiD4++; - if(kcountHEpositivedirectionDigiD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionDigiD4 = 1; + TH1F* h2CeffHEpositivedirectionDigiD4 = new TH1F("h2CeffHEpositivedirectionDigiD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + HEpositivedirectionDigiD4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionDigiD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEpositivedirectionDigiD4 = "<SetMarkerColor(2); + HEpositivedirectionDigiD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionDigiD4 == 1) + HEpositivedirectionDigiD4->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionDigiD4 == 2) + HEpositivedirectionDigiD4->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionDigiD4 == 3) + HEpositivedirectionDigiD4->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionDigiD4 == 4) + HEpositivedirectionDigiD4->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionDigiD4 == 5) + HEpositivedirectionDigiD4->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionDigiD4 == 6) + HEpositivedirectionDigiD4->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionDigiD4 == 7) + HEpositivedirectionDigiD4->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionDigiD4 == 8) + HEpositivedirectionDigiD4->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionDigiD4 == 9) + HEpositivedirectionDigiD4->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionDigiD4 == 10) + HEpositivedirectionDigiD4->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionDigiD4 == 11) + HEpositivedirectionDigiD4->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionDigiD4 == 12) + HEpositivedirectionDigiD4->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionDigiD4->Draw("Error"); + kcountHEpositivedirectionDigiD4++; + if (kcountHEpositivedirectionDigiD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionDigiD4) delete h2CeffHEpositivedirectionDigiD4; - //========================================================================================== 18 + if (h2CeffHEpositivedirectionDigiD4) + delete h2CeffHEpositivedirectionDigiD4; + //========================================================================================== 18 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionDigiD5=1; - TH1F* h2CeffHEpositivedirectionDigiD5 = new TH1F("h2CeffHEpositivedirectionDigiD5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionDigiD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigiD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEpositivedirectionDigiD5 = "<SetMarkerColor(2);HEpositivedirectionDigiD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionDigiD5 == 1) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionDigiD5 == 2) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionDigiD5 == 3) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionDigiD5 == 4) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionDigiD5 == 5) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionDigiD5 == 6) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionDigiD5 == 7) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionDigiD5 == 8) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionDigiD5 == 9) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionDigiD5 ==10) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionDigiD5 ==11) HEpositivedirectionDigiD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionDigiD5->Draw("Error"); - kcountHEpositivedirectionDigiD5++; - if(kcountHEpositivedirectionDigiD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionDigiD5 = 1; + TH1F* h2CeffHEpositivedirectionDigiD5 = new TH1F("h2CeffHEpositivedirectionDigiD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + HEpositivedirectionDigiD5->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionDigiD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEpositivedirectionDigiD5 = "<SetMarkerColor(2); + HEpositivedirectionDigiD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionDigiD5 == 1) + HEpositivedirectionDigiD5->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionDigiD5 == 2) + HEpositivedirectionDigiD5->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionDigiD5 == 3) + HEpositivedirectionDigiD5->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionDigiD5 == 4) + HEpositivedirectionDigiD5->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionDigiD5 == 5) + HEpositivedirectionDigiD5->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionDigiD5 == 6) + HEpositivedirectionDigiD5->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionDigiD5 == 7) + HEpositivedirectionDigiD5->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionDigiD5 == 8) + HEpositivedirectionDigiD5->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionDigiD5 == 9) + HEpositivedirectionDigiD5->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionDigiD5 == 10) + HEpositivedirectionDigiD5->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionDigiD5 == 11) + HEpositivedirectionDigiD5->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionDigiD5->Draw("Error"); + kcountHEpositivedirectionDigiD5++; + if (kcountHEpositivedirectionDigiD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionDigiD5) delete h2CeffHEpositivedirectionDigiD5; - //========================================================================================== 19 + if (h2CeffHEpositivedirectionDigiD5) + delete h2CeffHEpositivedirectionDigiD5; + //========================================================================================== 19 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionDigiD6=1; - TH1F* h2CeffHEpositivedirectionDigiD6 = new TH1F("h2CeffHEpositivedirectionDigiD6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionDigiD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigiD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEpositivedirectionDigiD6 = "<SetMarkerColor(2);HEpositivedirectionDigiD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionDigiD6 == 1) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionDigiD6 == 2) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionDigiD6 == 3) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionDigiD6 == 4) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionDigiD6 == 5) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionDigiD6 == 6) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionDigiD6 == 7) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionDigiD6 == 8) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionDigiD6 == 9) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionDigiD6 ==10) HEpositivedirectionDigiD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionDigiD6->Draw("Error"); - kcountHEpositivedirectionDigiD6++; - if(kcountHEpositivedirectionDigiD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionDigiD6 = 1; + TH1F* h2CeffHEpositivedirectionDigiD6 = new TH1F("h2CeffHEpositivedirectionDigiD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + HEpositivedirectionDigiD6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionDigiD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEpositivedirectionDigiD6 = "<SetMarkerColor(2); + HEpositivedirectionDigiD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionDigiD6 == 1) + HEpositivedirectionDigiD6->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionDigiD6 == 2) + HEpositivedirectionDigiD6->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionDigiD6 == 3) + HEpositivedirectionDigiD6->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionDigiD6 == 4) + HEpositivedirectionDigiD6->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionDigiD6 == 5) + HEpositivedirectionDigiD6->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionDigiD6 == 6) + HEpositivedirectionDigiD6->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionDigiD6 == 7) + HEpositivedirectionDigiD6->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionDigiD6 == 8) + HEpositivedirectionDigiD6->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionDigiD6 == 9) + HEpositivedirectionDigiD6->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionDigiD6 == 10) + HEpositivedirectionDigiD6->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionDigiD6->Draw("Error"); + kcountHEpositivedirectionDigiD6++; + if (kcountHEpositivedirectionDigiD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionDigiD6) delete h2CeffHEpositivedirectionDigiD6; - //========================================================================================== 20 + if (h2CeffHEpositivedirectionDigiD6) + delete h2CeffHEpositivedirectionDigiD6; + //========================================================================================== 20 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionDigiD7=1; - TH1F* h2CeffHEpositivedirectionDigiD7 = new TH1F("h2CeffHEpositivedirectionDigiD7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionDigiD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionDigiD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEpositivedirectionDigiD7 = "<SetMarkerColor(2);HEpositivedirectionDigiD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionDigiD7 == 1) HEpositivedirectionDigiD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionDigiD7 == 2) HEpositivedirectionDigiD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionDigiD7 == 3) HEpositivedirectionDigiD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionDigiD7->Draw("Error"); - kcountHEpositivedirectionDigiD7++; - if(kcountHEpositivedirectionDigiD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionDigiD7 = 1; + TH1F* h2CeffHEpositivedirectionDigiD7 = new TH1F("h2CeffHEpositivedirectionDigiD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + HEpositivedirectionDigiD7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionDigiD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEpositivedirectionDigiD7 = "<SetMarkerColor(2); + HEpositivedirectionDigiD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionDigiD7 == 1) + HEpositivedirectionDigiD7->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionDigiD7 == 2) + HEpositivedirectionDigiD7->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionDigiD7 == 3) + HEpositivedirectionDigiD7->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionDigiD7->Draw("Error"); + kcountHEpositivedirectionDigiD7++; + if (kcountHEpositivedirectionDigiD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionDigiD7) delete h2CeffHEpositivedirectionDigiD7; + if (h2CeffHEpositivedirectionDigiD7) + delete h2CeffHEpositivedirectionDigiD7; - - //========================================================================================== 22222214 + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionDigiD1=1; - TH1F* h2CeffHEnegativedirectionDigiD1 = new TH1F("h2CeffHEnegativedirectionDigiD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionDigiD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigiD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEnegativedirectionDigiD1 = "<SetMarkerColor(2);HEnegativedirectionDigiD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionDigiD1 == 1) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionDigiD1 == 2) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionDigiD1 == 3) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionDigiD1 == 4) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionDigiD1 == 5) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionDigiD1 == 6) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionDigiD1 == 7) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionDigiD1 == 8) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionDigiD1 == 9) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionDigiD1 ==10) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionDigiD1 ==11) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionDigiD1 ==12) HEnegativedirectionDigiD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionDigiD1->Draw("Error"); - kcountHEnegativedirectionDigiD1++; - if(kcountHEnegativedirectionDigiD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionDigiD1 = 1; + TH1F* h2CeffHEnegativedirectionDigiD1 = new TH1F("h2CeffHEnegativedirectionDigiD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + HEnegativedirectionDigiD1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionDigiD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEnegativedirectionDigiD1 = "<SetMarkerColor(2); + HEnegativedirectionDigiD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionDigiD1 == 1) + HEnegativedirectionDigiD1->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionDigiD1 == 2) + HEnegativedirectionDigiD1->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionDigiD1 == 3) + HEnegativedirectionDigiD1->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionDigiD1 == 4) + HEnegativedirectionDigiD1->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionDigiD1 == 5) + HEnegativedirectionDigiD1->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionDigiD1 == 6) + HEnegativedirectionDigiD1->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionDigiD1 == 7) + HEnegativedirectionDigiD1->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionDigiD1 == 8) + HEnegativedirectionDigiD1->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionDigiD1 == 9) + HEnegativedirectionDigiD1->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionDigiD1 == 10) + HEnegativedirectionDigiD1->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionDigiD1 == 11) + HEnegativedirectionDigiD1->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionDigiD1 == 12) + HEnegativedirectionDigiD1->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionDigiD1->Draw("Error"); + kcountHEnegativedirectionDigiD1++; + if (kcountHEnegativedirectionDigiD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionDigiD1) delete h2CeffHEnegativedirectionDigiD1; - //========================================================================================== 22222215 + if (h2CeffHEnegativedirectionDigiD1) + delete h2CeffHEnegativedirectionDigiD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionDigiD2=1; - TH1F* h2CeffHEnegativedirectionDigiD2 = new TH1F("h2CeffHEnegativedirectionDigiD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionDigiD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigiD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEnegativedirectionDigiD2 = "<SetMarkerColor(2);HEnegativedirectionDigiD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionDigiD2 == 1) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionDigiD2 == 2) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionDigiD2 == 3) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionDigiD2 == 4) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionDigiD2 == 5) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionDigiD2 == 6) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionDigiD2 == 7) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionDigiD2 == 8) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionDigiD2 == 9) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionDigiD2 ==10) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionDigiD2 ==11) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionDigiD2 ==12) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionDigiD2 ==13) HEnegativedirectionDigiD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionDigiD2->Draw("Error"); - kcountHEnegativedirectionDigiD2++; - if(kcountHEnegativedirectionDigiD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionDigiD2 = 1; + TH1F* h2CeffHEnegativedirectionDigiD2 = new TH1F("h2CeffHEnegativedirectionDigiD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + HEnegativedirectionDigiD2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionDigiD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEnegativedirectionDigiD2 = "<SetMarkerColor(2); + HEnegativedirectionDigiD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionDigiD2 == 1) + HEnegativedirectionDigiD2->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionDigiD2 == 2) + HEnegativedirectionDigiD2->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionDigiD2 == 3) + HEnegativedirectionDigiD2->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionDigiD2 == 4) + HEnegativedirectionDigiD2->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionDigiD2 == 5) + HEnegativedirectionDigiD2->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionDigiD2 == 6) + HEnegativedirectionDigiD2->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionDigiD2 == 7) + HEnegativedirectionDigiD2->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionDigiD2 == 8) + HEnegativedirectionDigiD2->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionDigiD2 == 9) + HEnegativedirectionDigiD2->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionDigiD2 == 10) + HEnegativedirectionDigiD2->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionDigiD2 == 11) + HEnegativedirectionDigiD2->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionDigiD2 == 12) + HEnegativedirectionDigiD2->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionDigiD2 == 13) + HEnegativedirectionDigiD2->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionDigiD2->Draw("Error"); + kcountHEnegativedirectionDigiD2++; + if (kcountHEnegativedirectionDigiD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionDigiD2) delete h2CeffHEnegativedirectionDigiD2; - //========================================================================================== 22222216 + if (h2CeffHEnegativedirectionDigiD2) + delete h2CeffHEnegativedirectionDigiD2; + //========================================================================================== 22222216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionDigiD3=1; - TH1F* h2CeffHEnegativedirectionDigiD3 = new TH1F("h2CeffHEnegativedirectionDigiD3","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionDigiD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigiD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEnegativedirectionDigiD3 = "<SetMarkerColor(2);HEnegativedirectionDigiD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionDigiD3 == 1) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionDigiD3 == 2) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionDigiD3 == 3) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionDigiD3 == 4) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionDigiD3 == 5) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionDigiD3 == 6) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionDigiD3 == 7) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionDigiD3 == 8) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionDigiD3 == 9) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionDigiD3 ==10) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionDigiD3 ==11) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionDigiD3 ==12) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionDigiD3 ==13) HEnegativedirectionDigiD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionDigiD3->Draw("Error"); - kcountHEnegativedirectionDigiD3++; - if(kcountHEnegativedirectionDigiD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionDigiD3 = 1; + TH1F* h2CeffHEnegativedirectionDigiD3 = new TH1F("h2CeffHEnegativedirectionDigiD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + HEnegativedirectionDigiD3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionDigiD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEnegativedirectionDigiD3 = "<SetMarkerColor(2); + HEnegativedirectionDigiD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionDigiD3 == 1) + HEnegativedirectionDigiD3->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionDigiD3 == 2) + HEnegativedirectionDigiD3->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionDigiD3 == 3) + HEnegativedirectionDigiD3->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionDigiD3 == 4) + HEnegativedirectionDigiD3->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionDigiD3 == 5) + HEnegativedirectionDigiD3->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionDigiD3 == 6) + HEnegativedirectionDigiD3->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionDigiD3 == 7) + HEnegativedirectionDigiD3->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionDigiD3 == 8) + HEnegativedirectionDigiD3->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionDigiD3 == 9) + HEnegativedirectionDigiD3->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionDigiD3 == 10) + HEnegativedirectionDigiD3->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionDigiD3 == 11) + HEnegativedirectionDigiD3->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionDigiD3 == 12) + HEnegativedirectionDigiD3->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionDigiD3 == 13) + HEnegativedirectionDigiD3->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionDigiD3->Draw("Error"); + kcountHEnegativedirectionDigiD3++; + if (kcountHEnegativedirectionDigiD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionDigiD3) delete h2CeffHEnegativedirectionDigiD3; - //========================================================================================== 22222217 + if (h2CeffHEnegativedirectionDigiD3) + delete h2CeffHEnegativedirectionDigiD3; + //========================================================================================== 22222217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionDigiD4=1; - TH1F* h2CeffHEnegativedirectionDigiD4 = new TH1F("h2CeffHEnegativedirectionDigiD4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionDigiD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigiD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEnegativedirectionDigiD4 = "<SetMarkerColor(2);HEnegativedirectionDigiD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionDigiD4 == 1) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionDigiD4 == 2) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionDigiD4 == 3) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionDigiD4 == 4) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionDigiD4 == 5) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionDigiD4 == 6) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionDigiD4 == 7) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionDigiD4 == 8) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionDigiD4 == 9) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionDigiD4 ==10) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionDigiD4 ==11) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionDigiD4 ==12) HEnegativedirectionDigiD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionDigiD4->Draw("Error"); - kcountHEnegativedirectionDigiD4++; - if(kcountHEnegativedirectionDigiD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionDigiD4 = 1; + TH1F* h2CeffHEnegativedirectionDigiD4 = new TH1F("h2CeffHEnegativedirectionDigiD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + HEnegativedirectionDigiD4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionDigiD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEnegativedirectionDigiD4 = "<SetMarkerColor(2); + HEnegativedirectionDigiD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionDigiD4 == 1) + HEnegativedirectionDigiD4->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionDigiD4 == 2) + HEnegativedirectionDigiD4->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionDigiD4 == 3) + HEnegativedirectionDigiD4->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionDigiD4 == 4) + HEnegativedirectionDigiD4->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionDigiD4 == 5) + HEnegativedirectionDigiD4->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionDigiD4 == 6) + HEnegativedirectionDigiD4->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionDigiD4 == 7) + HEnegativedirectionDigiD4->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionDigiD4 == 8) + HEnegativedirectionDigiD4->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionDigiD4 == 9) + HEnegativedirectionDigiD4->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionDigiD4 == 10) + HEnegativedirectionDigiD4->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionDigiD4 == 11) + HEnegativedirectionDigiD4->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionDigiD4 == 12) + HEnegativedirectionDigiD4->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionDigiD4->Draw("Error"); + kcountHEnegativedirectionDigiD4++; + if (kcountHEnegativedirectionDigiD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionDigiD4) delete h2CeffHEnegativedirectionDigiD4; - //========================================================================================== 22222218 + if (h2CeffHEnegativedirectionDigiD4) + delete h2CeffHEnegativedirectionDigiD4; + //========================================================================================== 22222218 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionDigiD5=1; - TH1F* h2CeffHEnegativedirectionDigiD5 = new TH1F("h2CeffHEnegativedirectionDigiD5","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionDigiD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigiD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEnegativedirectionDigiD5 = "<SetMarkerColor(2);HEnegativedirectionDigiD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionDigiD5 == 1) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionDigiD5 == 2) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionDigiD5 == 3) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionDigiD5 == 4) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionDigiD5 == 5) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionDigiD5 == 6) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionDigiD5 == 7) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionDigiD5 == 8) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionDigiD5 == 9) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionDigiD5 ==10) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionDigiD5 ==11) HEnegativedirectionDigiD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionDigiD5->Draw("Error"); - kcountHEnegativedirectionDigiD5++; - if(kcountHEnegativedirectionDigiD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionDigiD5 = 1; + TH1F* h2CeffHEnegativedirectionDigiD5 = new TH1F("h2CeffHEnegativedirectionDigiD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + HEnegativedirectionDigiD5->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionDigiD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEnegativedirectionDigiD5 = "<SetMarkerColor(2); + HEnegativedirectionDigiD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionDigiD5 == 1) + HEnegativedirectionDigiD5->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionDigiD5 == 2) + HEnegativedirectionDigiD5->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionDigiD5 == 3) + HEnegativedirectionDigiD5->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionDigiD5 == 4) + HEnegativedirectionDigiD5->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionDigiD5 == 5) + HEnegativedirectionDigiD5->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionDigiD5 == 6) + HEnegativedirectionDigiD5->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionDigiD5 == 7) + HEnegativedirectionDigiD5->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionDigiD5 == 8) + HEnegativedirectionDigiD5->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionDigiD5 == 9) + HEnegativedirectionDigiD5->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionDigiD5 == 10) + HEnegativedirectionDigiD5->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionDigiD5 == 11) + HEnegativedirectionDigiD5->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionDigiD5->Draw("Error"); + kcountHEnegativedirectionDigiD5++; + if (kcountHEnegativedirectionDigiD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionDigiD5) delete h2CeffHEnegativedirectionDigiD5; - //========================================================================================== 22222219 + if (h2CeffHEnegativedirectionDigiD5) + delete h2CeffHEnegativedirectionDigiD5; + //========================================================================================== 22222219 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionDigiD6=1; - TH1F* h2CeffHEnegativedirectionDigiD6 = new TH1F("h2CeffHEnegativedirectionDigiD6","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionDigiD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigiD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEnegativedirectionDigiD6 = "<SetMarkerColor(2);HEnegativedirectionDigiD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionDigiD6 == 1) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionDigiD6 == 2) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionDigiD6 == 3) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionDigiD6 == 4) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionDigiD6 == 5) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionDigiD6 == 6) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionDigiD6 == 7) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionDigiD6 == 8) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionDigiD6 == 9) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionDigiD6 ==10) HEnegativedirectionDigiD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionDigiD6->Draw("Error"); - kcountHEnegativedirectionDigiD6++; - if(kcountHEnegativedirectionDigiD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionDigiD6 = 1; + TH1F* h2CeffHEnegativedirectionDigiD6 = new TH1F("h2CeffHEnegativedirectionDigiD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + HEnegativedirectionDigiD6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionDigiD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEnegativedirectionDigiD6 = "<SetMarkerColor(2); + HEnegativedirectionDigiD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionDigiD6 == 1) + HEnegativedirectionDigiD6->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionDigiD6 == 2) + HEnegativedirectionDigiD6->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionDigiD6 == 3) + HEnegativedirectionDigiD6->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionDigiD6 == 4) + HEnegativedirectionDigiD6->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionDigiD6 == 5) + HEnegativedirectionDigiD6->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionDigiD6 == 6) + HEnegativedirectionDigiD6->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionDigiD6 == 7) + HEnegativedirectionDigiD6->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionDigiD6 == 8) + HEnegativedirectionDigiD6->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionDigiD6 == 9) + HEnegativedirectionDigiD6->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionDigiD6 == 10) + HEnegativedirectionDigiD6->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionDigiD6->Draw("Error"); + kcountHEnegativedirectionDigiD6++; + if (kcountHEnegativedirectionDigiD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionDigiD6) delete h2CeffHEnegativedirectionDigiD6; - //========================================================================================== 22222220 + if (h2CeffHEnegativedirectionDigiD6) + delete h2CeffHEnegativedirectionDigiD6; + //========================================================================================== 22222220 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionDigiD7=1; - TH1F* h2CeffHEnegativedirectionDigiD7 = new TH1F("h2CeffHEnegativedirectionDigiD7","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionDigiD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionDigiD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEnegativedirectionDigiD7 = "<SetMarkerColor(2);HEnegativedirectionDigiD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionDigiD7 == 1) HEnegativedirectionDigiD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionDigiD7 == 2) HEnegativedirectionDigiD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionDigiD7 == 3) HEnegativedirectionDigiD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionDigiD7->Draw("Error"); - kcountHEnegativedirectionDigiD7++; - if(kcountHEnegativedirectionDigiD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionDigiD7 = 1; + TH1F* h2CeffHEnegativedirectionDigiD7 = new TH1F("h2CeffHEnegativedirectionDigiD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivariancehe[i][jeta][jphi]; + if (adigihe[i][jeta][jphi] > 0.) { + HEnegativedirectionDigiD7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionDigiD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEnegativedirectionDigiD7 = "<SetMarkerColor(2); + HEnegativedirectionDigiD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionDigiD7 == 1) + HEnegativedirectionDigiD7->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionDigiD7 == 2) + HEnegativedirectionDigiD7->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionDigiD7 == 3) + HEnegativedirectionDigiD7->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionDigiD7->Draw("Error"); + kcountHEnegativedirectionDigiD7++; + if (kcountHEnegativedirectionDigiD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionDigiD7) delete h2CeffHEnegativedirectionDigiD7; + if (h2CeffHEnegativedirectionDigiD7) + delete h2CeffHEnegativedirectionDigiD7; //===================================================================== END of Digi HE for phi-symmetry //===================================================================== END of Digi HE for phi-symmetry //===================================================================== END of Digi HE for phi-symmetry //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Digi HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Digi HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Digi HF - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 4; - double adigiHF[ndepth][njeta][njphi]; - double digivarianceHF[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 4; + double adigiHF[ndepth][njeta][njphi]; + double digivarianceHF[ndepth][njeta][njphi]; // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Digi HF - TH2F *amplitudechannel1HF1= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HF1"); - TH2F *amplitudechannel0HF1= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF1"); + TH2F* amplitudechannel1HF1 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HF1"); + TH2F* amplitudechannel0HF1 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF1"); TH2F* amplitudechannelHF1 = (TH2F*)amplitudechannel1HF1->Clone("amplitudechannelHF1"); - amplitudechannelHF1->Divide(amplitudechannel1HF1,amplitudechannel0HF1, 1, 1, "B"); - TH2F *amplitudechannel1HF2= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HF2"); - TH2F *amplitudechannel0HF2= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF2"); + amplitudechannelHF1->Divide(amplitudechannel1HF1, amplitudechannel0HF1, 1, 1, "B"); + TH2F* amplitudechannel1HF2 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HF2"); + TH2F* amplitudechannel0HF2 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF2"); TH2F* amplitudechannelHF2 = (TH2F*)amplitudechannel1HF2->Clone("amplitudechannelHF2"); - amplitudechannelHF2->Divide(amplitudechannel1HF2,amplitudechannel0HF2, 1, 1, "B"); - TH2F *amplitudechannel1HF3= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HF3"); - TH2F *amplitudechannel0HF3= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF3"); + amplitudechannelHF2->Divide(amplitudechannel1HF2, amplitudechannel0HF2, 1, 1, "B"); + TH2F* amplitudechannel1HF3 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HF3"); + TH2F* amplitudechannel0HF3 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF3"); TH2F* amplitudechannelHF3 = (TH2F*)amplitudechannel1HF3->Clone("amplitudechannelHF3"); - amplitudechannelHF3->Divide(amplitudechannel1HF3,amplitudechannel0HF3, 1, 1, "B"); - TH2F *amplitudechannel1HF4= (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HF4"); - TH2F *amplitudechannel0HF4= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF4"); + amplitudechannelHF3->Divide(amplitudechannel1HF3, amplitudechannel0HF3, 1, 1, "B"); + TH2F* amplitudechannel1HF4 = (TH2F*)dir->FindObjectAny("h_amplitudechannel1_HF4"); + TH2F* amplitudechannel0HF4 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF4"); TH2F* amplitudechannelHF4 = (TH2F*)amplitudechannel1HF4->Clone("amplitudechannelHF4"); - amplitudechannelHF4->Divide(amplitudechannel1HF4,amplitudechannel0HF4, 1, 1, "B"); - for(int jeta=0;jetaDivide(amplitudechannel1HF4, amplitudechannel0HF4, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { //====================================================================== PHI normalization & put R into massive adigiHF - //preparation for PHI normalization: - double sumdigiHF0=0;int nsumdigiHF0=0;double sumdigiHF1=0;int nsumdigiHF1=0;double sumdigiHF2=0;int nsumdigiHF2=0;double sumdigiHF3=0;int nsumdigiHF3=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - adigiHF[1][jeta][jphi] = amplitudechannelHF2->GetBinContent(jeta+1,jphi+1); - adigiHF[2][jeta][jphi] = amplitudechannelHF3->GetBinContent(jeta+1,jphi+1); - adigiHF[3][jeta][jphi] = amplitudechannelHF4->GetBinContent(jeta+1,jphi+1); - if(adigiHF[0][jeta][jphi] > 0.) {sumdigiHF0 += adigiHF[0][jeta][jphi];++nsumdigiHF0;} - if(adigiHF[1][jeta][jphi] > 0.) {sumdigiHF1 += adigiHF[1][jeta][jphi];++nsumdigiHF1;} - if(adigiHF[2][jeta][jphi] > 0.) {sumdigiHF2 += adigiHF[2][jeta][jphi];++nsumdigiHF2;} - if(adigiHF[3][jeta][jphi] > 0.) {sumdigiHF3 += adigiHF[3][jeta][jphi];++nsumdigiHF3;} - }// phi - // PHI normalization: - for(int jphi=0;jphi 0.) adigiHF[0][jeta][jphi] /= (sumdigiHF0/nsumdigiHF0) ; - if(adigiHF[1][jeta][jphi] > 0.) adigiHF[1][jeta][jphi] /= (sumdigiHF1/nsumdigiHF1) ; - if(adigiHF[2][jeta][jphi] > 0.) adigiHF[2][jeta][jphi] /= (sumdigiHF2/nsumdigiHF2) ; - if(adigiHF[3][jeta][jphi] > 0.) adigiHF[3][jeta][jphi] /= (sumdigiHF3/nsumdigiHF3) ; - }// phi - }//eta + //preparation for PHI normalization: + double sumdigiHF0 = 0; + int nsumdigiHF0 = 0; + double sumdigiHF1 = 0; + int nsumdigiHF1 = 0; + double sumdigiHF2 = 0; + int nsumdigiHF2 = 0; + double sumdigiHF3 = 0; + int nsumdigiHF3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + adigiHF[0][jeta][jphi] = amplitudechannelHF1->GetBinContent(jeta + 1, jphi + 1); + adigiHF[1][jeta][jphi] = amplitudechannelHF2->GetBinContent(jeta + 1, jphi + 1); + adigiHF[2][jeta][jphi] = amplitudechannelHF3->GetBinContent(jeta + 1, jphi + 1); + adigiHF[3][jeta][jphi] = amplitudechannelHF4->GetBinContent(jeta + 1, jphi + 1); + if (adigiHF[0][jeta][jphi] > 0.) { + sumdigiHF0 += adigiHF[0][jeta][jphi]; + ++nsumdigiHF0; + } + if (adigiHF[1][jeta][jphi] > 0.) { + sumdigiHF1 += adigiHF[1][jeta][jphi]; + ++nsumdigiHF1; + } + if (adigiHF[2][jeta][jphi] > 0.) { + sumdigiHF2 += adigiHF[2][jeta][jphi]; + ++nsumdigiHF2; + } + if (adigiHF[3][jeta][jphi] > 0.) { + sumdigiHF3 += adigiHF[3][jeta][jphi]; + ++nsumdigiHF3; + } + } // phi + // PHI normalization: + for (int jphi = 0; jphi < njphi; jphi++) { + if (adigiHF[0][jeta][jphi] > 0.) + adigiHF[0][jeta][jphi] /= (sumdigiHF0 / nsumdigiHF0); + if (adigiHF[1][jeta][jphi] > 0.) + adigiHF[1][jeta][jphi] /= (sumdigiHF1 / nsumdigiHF1); + if (adigiHF[2][jeta][jphi] > 0.) + adigiHF[2][jeta][jphi] /= (sumdigiHF2 / nsumdigiHF2); + if (adigiHF[3][jeta][jphi] > 0.) + adigiHF[3][jeta][jphi] /= (sumdigiHF3 / nsumdigiHF3); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthfs //====================================================================== //====================================================================== //cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); ///////////////// - c1x0->Divide(1,1); + c1x0->Divide(1, 1); c1x0->cd(1); - TH2F* GefzRdigiHF42D = new TH2F("GefzRdigiHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRdigiHF42D0 = new TH2F("GefzRdigiHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRdigiHF42D = new TH2F("GefzRdigiHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRdigiHF42D0 = new TH2F("GefzRdigiHF42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRdigiHF42DF = (TH2F*)GefzRdigiHF42D0->Clone("GefzRdigiHF42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRdigiHF42D ->Fill(kkk,jphi,ccc1); GefzRdigiHF42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRdigiHF42DF->Divide(GefzRdigiHF42D,GefzRdigiHF42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRdigiHF42DF->SetMarkerStyle(20); GefzRdigiHF42DF->SetMarkerSize(0.4); GefzRdigiHF42DF->GetZaxis()->SetLabelSize(0.08); GefzRdigiHF42DF->SetXTitle("_depth #eta \b"); GefzRdigiHF42DF->SetYTitle(" #phi \b"); GefzRdigiHF42DF->SetZTitle("_depth \b"); GefzRdigiHF42DF->SetMarkerColor(2); GefzRdigiHF42DF->SetLineColor(0); // GefzRdigiHF42DF->SetMaximum(1.000); // GefzRdigiHF42DF->SetMinimum(1.0); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRdigiHF42D->Fill(kkk, jphi, ccc1); + GefzRdigiHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRdigiHF42DF->Divide(GefzRdigiHF42D, GefzRdigiHF42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRdigiHF42DF->SetMarkerStyle(20); + GefzRdigiHF42DF->SetMarkerSize(0.4); + GefzRdigiHF42DF->GetZaxis()->SetLabelSize(0.08); + GefzRdigiHF42DF->SetXTitle("_depth #eta \b"); + GefzRdigiHF42DF->SetYTitle(" #phi \b"); + GefzRdigiHF42DF->SetZTitle("_depth \b"); + GefzRdigiHF42DF->SetMarkerColor(2); + GefzRdigiHF42DF->SetLineColor( + 0); // GefzRdigiHF42DF->SetMaximum(1.000); // GefzRdigiHF42DF->SetMinimum(1.0); GefzRdigiHF42DF->Draw("COLZ"); ///////////////// c1x0->Update(); c1x0->Print("RdigiGeneralD2PhiSymmetryHF.png"); c1x0->Clear(); // clean-up - if (GefzRdigiHF42D) delete GefzRdigiHF42D; - if (GefzRdigiHF42D0) delete GefzRdigiHF42D0; - if (GefzRdigiHF42DF) delete GefzRdigiHF42DF; + if (GefzRdigiHF42D) + delete GefzRdigiHF42D; + if (GefzRdigiHF42D0) + delete GefzRdigiHF42D0; + if (GefzRdigiHF42DF) + delete GefzRdigiHF42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRdigiHF41D = new TH1F("GefzRdigiHF41D","", nphi, 0., 72. ); - TH1F* GefzRdigiHF41D0 = new TH1F("GefzRdigiHF41D0","",nphi, 0., 72. ); + TH1F* GefzRdigiHF41D = new TH1F("GefzRdigiHF41D", "", nphi, 0., 72.); + TH1F* GefzRdigiHF41D0 = new TH1F("GefzRdigiHF41D0", "", nphi, 0., 72.); TH1F* GefzRdigiHF41DF = (TH1F*)GefzRdigiHF41D0->Clone("GefzRdigiHF41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRdigiHF41D0 ->Fill(jphi,1.); } - }}} - GefzRdigiHF41DF->Divide(GefzRdigiHF41D,GefzRdigiHF41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = adigiHF[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRdigiHF41D->Fill(jphi, ccc1); + GefzRdigiHF41D0->Fill(jphi, 1.); + } + } + } + } + GefzRdigiHF41DF->Divide(GefzRdigiHF41D, GefzRdigiHF41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRdigiHF41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRdigiHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRdigiHF41DF->SetMarkerStyle(20); GefzRdigiHF41DF->SetMarkerSize(1.4); GefzRdigiHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRdigiHF41DF->SetXTitle("#phi \b"); GefzRdigiHF41DF->SetYTitle(" \b"); GefzRdigiHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRdigiHF41DF->SetMarkerColor(4); GefzRdigiHF41DF->SetLineColor(4); // GefzRdigiHF41DF->SetMinimum(0.8); // GefzRdigiHF41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRdigiHF41DF->SetMarkerStyle(20); + GefzRdigiHF41DF->SetMarkerSize(1.4); + GefzRdigiHF41DF->GetZaxis()->SetLabelSize(0.08); + GefzRdigiHF41DF->SetXTitle("#phi \b"); + GefzRdigiHF41DF->SetYTitle(" \b"); + GefzRdigiHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRdigiHF41DF->SetMarkerColor(4); + GefzRdigiHF41DF->SetLineColor( + 4); // GefzRdigiHF41DF->SetMinimum(0.8); // GefzRdigiHF41DF->SetMaximum(1.000); GefzRdigiHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RdigiGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (GefzRdigiHF41D) delete GefzRdigiHF41D; - if (GefzRdigiHF41D0) delete GefzRdigiHF41D0; - if (GefzRdigiHF41DF) delete GefzRdigiHF41DF; - //========================================================================================== 4 + if (GefzRdigiHF41D) + delete GefzRdigiHF41D; + if (GefzRdigiHF41D0) + delete GefzRdigiHF41D0; + if (GefzRdigiHF41DF) + delete GefzRdigiHF41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionDigi1=1; - TH1F* h2CeffHFpositivedirectionDigi1 = new TH1F("h2CeffHFpositivedirectionDigi1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigi1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFpositivedirectionDigi1 = "<SetMarkerColor(2);HFpositivedirectionDigi1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionDigi1 == 1) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionDigi1 == 2) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionDigi1 == 3) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionDigi1 == 4) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionDigi1 == 5) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionDigi1 == 6) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionDigi1 == 7) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionDigi1 == 8) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionDigi1 == 9) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionDigi1 ==10) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionDigi1 ==11) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionDigi1 ==12) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionDigi1 ==13) HFpositivedirectionDigi1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionDigi1->Draw("Error"); - kcountHFpositivedirectionDigi1++; - if(kcountHFpositivedirectionDigi1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFpositivedirectionDigi1 = (TH1F*)h2CeffHFpositivedirectionDigi1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionDigi1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionDigi1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFpositivedirectionDigi1 = "<SetMarkerColor(2); + HFpositivedirectionDigi1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionDigi1 == 1) + HFpositivedirectionDigi1->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionDigi1 == 2) + HFpositivedirectionDigi1->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionDigi1 == 3) + HFpositivedirectionDigi1->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionDigi1 == 4) + HFpositivedirectionDigi1->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionDigi1 == 5) + HFpositivedirectionDigi1->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionDigi1 == 6) + HFpositivedirectionDigi1->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionDigi1 == 7) + HFpositivedirectionDigi1->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionDigi1 == 8) + HFpositivedirectionDigi1->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionDigi1 == 9) + HFpositivedirectionDigi1->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionDigi1 == 10) + HFpositivedirectionDigi1->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionDigi1 == 11) + HFpositivedirectionDigi1->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionDigi1 == 12) + HFpositivedirectionDigi1->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionDigi1 == 13) + HFpositivedirectionDigi1->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionDigi1->Draw("Error"); + kcountHFpositivedirectionDigi1++; + if (kcountHFpositivedirectionDigi1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionDigi1) delete h2CeffHFpositivedirectionDigi1; - + if (h2CeffHFpositivedirectionDigi1) + delete h2CeffHFpositivedirectionDigi1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionDigi2=1; - TH1F* h2CeffHFpositivedirectionDigi2 = new TH1F("h2CeffHFpositivedirectionDigi2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigi2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFpositivedirectionDigi2 = "<SetMarkerColor(2);HFpositivedirectionDigi2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionDigi2 == 1) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionDigi2 == 2) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionDigi2 == 3) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionDigi2 == 4) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionDigi2 == 5) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionDigi2 == 6) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionDigi2 == 7) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionDigi2 == 8) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionDigi2 == 9) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionDigi2 ==10) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionDigi2 ==11) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionDigi2 ==12) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionDigi2 ==13) HFpositivedirectionDigi2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionDigi2->Draw("Error"); - kcountHFpositivedirectionDigi2++; - if(kcountHFpositivedirectionDigi2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHFpositivedirectionDigi2 = 1; + TH1F* h2CeffHFpositivedirectionDigi2 = new TH1F("h2CeffHFpositivedirectionDigi2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigi: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionDigi2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionDigi2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFpositivedirectionDigi2 = "<SetMarkerColor(2); + HFpositivedirectionDigi2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionDigi2 == 1) + HFpositivedirectionDigi2->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionDigi2 == 2) + HFpositivedirectionDigi2->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionDigi2 == 3) + HFpositivedirectionDigi2->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionDigi2 == 4) + HFpositivedirectionDigi2->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionDigi2 == 5) + HFpositivedirectionDigi2->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionDigi2 == 6) + HFpositivedirectionDigi2->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionDigi2 == 7) + HFpositivedirectionDigi2->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionDigi2 == 8) + HFpositivedirectionDigi2->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionDigi2 == 9) + HFpositivedirectionDigi2->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionDigi2 == 10) + HFpositivedirectionDigi2->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionDigi2 == 11) + HFpositivedirectionDigi2->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionDigi2 == 12) + HFpositivedirectionDigi2->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionDigi2 == 13) + HFpositivedirectionDigi2->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionDigi2->Draw("Error"); + kcountHFpositivedirectionDigi2++; + if (kcountHFpositivedirectionDigi2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionDigi2) delete h2CeffHFpositivedirectionDigi2; - //========================================================================================== 6 + if (h2CeffHFpositivedirectionDigi2) + delete h2CeffHFpositivedirectionDigi2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionDigi3=1; - TH1F* h2CeffHFpositivedirectionDigi3 = new TH1F("h2CeffHFpositivedirectionDigi3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigi3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHFpositivedirectionDigi3 = "<SetMarkerColor(2);HFpositivedirectionDigi3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionDigi3 == 1) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 28; depth = 3 \b"); - if(kcountHFpositivedirectionDigi3 == 2) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 29; depth = 3 \b"); - if(kcountHFpositivedirectionDigi3 == 3) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 30; depth = 3 \b"); - if(kcountHFpositivedirectionDigi3 == 4) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 31; depth = 3 \b"); - if(kcountHFpositivedirectionDigi3 == 5) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 32; depth = 3 \b"); - if(kcountHFpositivedirectionDigi3 == 6) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 33; depth = 3 \b"); - if(kcountHFpositivedirectionDigi3 == 7) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 34; depth = 3 \b"); - if(kcountHFpositivedirectionDigi3 == 8) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 35; depth = 3 \b"); - if(kcountHFpositivedirectionDigi3 == 9) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 36; depth = 3 \b"); - if(kcountHFpositivedirectionDigi3 ==10) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 37; depth = 3 \b"); - if(kcountHFpositivedirectionDigi3 ==11) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 38; depth = 3 \b"); - if(kcountHFpositivedirectionDigi3 ==12) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 39; depth = 3 \b"); - if(kcountHFpositivedirectionDigi3 ==13) HFpositivedirectionDigi3 ->SetXTitle("R for HF+ jeta = 40; depth = 3 \b"); - HFpositivedirectionDigi3->Draw("Error"); - kcountHFpositivedirectionDigi3++; - if(kcountHFpositivedirectionDigi3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHFpositivedirectionDigi3 = 1; + TH1F* h2CeffHFpositivedirectionDigi3 = new TH1F("h2CeffHFpositivedirectionDigi3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigi: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionDigi3->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionDigi3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHFpositivedirectionDigi3 = "<SetMarkerColor(2); + HFpositivedirectionDigi3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionDigi3 == 1) + HFpositivedirectionDigi3->SetXTitle("R for HF+ jeta = 28; depth = 3 \b"); + if (kcountHFpositivedirectionDigi3 == 2) + HFpositivedirectionDigi3->SetXTitle("R for HF+ jeta = 29; depth = 3 \b"); + if (kcountHFpositivedirectionDigi3 == 3) + HFpositivedirectionDigi3->SetXTitle("R for HF+ jeta = 30; depth = 3 \b"); + if (kcountHFpositivedirectionDigi3 == 4) + HFpositivedirectionDigi3->SetXTitle("R for HF+ jeta = 31; depth = 3 \b"); + if (kcountHFpositivedirectionDigi3 == 5) + HFpositivedirectionDigi3->SetXTitle("R for HF+ jeta = 32; depth = 3 \b"); + if (kcountHFpositivedirectionDigi3 == 6) + HFpositivedirectionDigi3->SetXTitle("R for HF+ jeta = 33; depth = 3 \b"); + if (kcountHFpositivedirectionDigi3 == 7) + HFpositivedirectionDigi3->SetXTitle("R for HF+ jeta = 34; depth = 3 \b"); + if (kcountHFpositivedirectionDigi3 == 8) + HFpositivedirectionDigi3->SetXTitle("R for HF+ jeta = 35; depth = 3 \b"); + if (kcountHFpositivedirectionDigi3 == 9) + HFpositivedirectionDigi3->SetXTitle("R for HF+ jeta = 36; depth = 3 \b"); + if (kcountHFpositivedirectionDigi3 == 10) + HFpositivedirectionDigi3->SetXTitle("R for HF+ jeta = 37; depth = 3 \b"); + if (kcountHFpositivedirectionDigi3 == 11) + HFpositivedirectionDigi3->SetXTitle("R for HF+ jeta = 38; depth = 3 \b"); + if (kcountHFpositivedirectionDigi3 == 12) + HFpositivedirectionDigi3->SetXTitle("R for HF+ jeta = 39; depth = 3 \b"); + if (kcountHFpositivedirectionDigi3 == 13) + HFpositivedirectionDigi3->SetXTitle("R for HF+ jeta = 40; depth = 3 \b"); + HFpositivedirectionDigi3->Draw("Error"); + kcountHFpositivedirectionDigi3++; + if (kcountHFpositivedirectionDigi3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth3HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionDigi3) delete h2CeffHFpositivedirectionDigi3; - //========================================================================================== 7 + if (h2CeffHFpositivedirectionDigi3) + delete h2CeffHFpositivedirectionDigi3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionDigi4=1; - TH1F* h2CeffHFpositivedirectionDigi4 = new TH1F("h2CeffHFpositivedirectionDigi4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigi4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHFpositivedirectionDigi4 = "<SetMarkerColor(2);HFpositivedirectionDigi4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionDigi4 == 1) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 28; depth = 4 \b"); - if(kcountHFpositivedirectionDigi4 == 2) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 29; depth = 4 \b"); - if(kcountHFpositivedirectionDigi4 == 3) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 30; depth = 4 \b"); - if(kcountHFpositivedirectionDigi4 == 4) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 31; depth = 4 \b"); - if(kcountHFpositivedirectionDigi4 == 5) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 32; depth = 4 \b"); - if(kcountHFpositivedirectionDigi4 == 6) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 33; depth = 4 \b"); - if(kcountHFpositivedirectionDigi4 == 7) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 34; depth = 4 \b"); - if(kcountHFpositivedirectionDigi4 == 8) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 35; depth = 4 \b"); - if(kcountHFpositivedirectionDigi4 == 9) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 36; depth = 4 \b"); - if(kcountHFpositivedirectionDigi4 ==10) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 37; depth = 4 \b"); - if(kcountHFpositivedirectionDigi4 ==11) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 38; depth = 4 \b"); - if(kcountHFpositivedirectionDigi4 ==12) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 39; depth = 4 \b"); - if(kcountHFpositivedirectionDigi4 ==13) HFpositivedirectionDigi4 ->SetXTitle("R for HF+ jeta = 40; depth = 4 \b"); - HFpositivedirectionDigi4->Draw("Error"); - kcountHFpositivedirectionDigi4++; - if(kcountHFpositivedirectionDigi4>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHFpositivedirectionDigi4 = 1; + TH1F* h2CeffHFpositivedirectionDigi4 = new TH1F("h2CeffHFpositivedirectionDigi4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigi: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionDigi4->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionDigi4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHFpositivedirectionDigi4 = "<SetMarkerColor(2); + HFpositivedirectionDigi4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionDigi4 == 1) + HFpositivedirectionDigi4->SetXTitle("R for HF+ jeta = 28; depth = 4 \b"); + if (kcountHFpositivedirectionDigi4 == 2) + HFpositivedirectionDigi4->SetXTitle("R for HF+ jeta = 29; depth = 4 \b"); + if (kcountHFpositivedirectionDigi4 == 3) + HFpositivedirectionDigi4->SetXTitle("R for HF+ jeta = 30; depth = 4 \b"); + if (kcountHFpositivedirectionDigi4 == 4) + HFpositivedirectionDigi4->SetXTitle("R for HF+ jeta = 31; depth = 4 \b"); + if (kcountHFpositivedirectionDigi4 == 5) + HFpositivedirectionDigi4->SetXTitle("R for HF+ jeta = 32; depth = 4 \b"); + if (kcountHFpositivedirectionDigi4 == 6) + HFpositivedirectionDigi4->SetXTitle("R for HF+ jeta = 33; depth = 4 \b"); + if (kcountHFpositivedirectionDigi4 == 7) + HFpositivedirectionDigi4->SetXTitle("R for HF+ jeta = 34; depth = 4 \b"); + if (kcountHFpositivedirectionDigi4 == 8) + HFpositivedirectionDigi4->SetXTitle("R for HF+ jeta = 35; depth = 4 \b"); + if (kcountHFpositivedirectionDigi4 == 9) + HFpositivedirectionDigi4->SetXTitle("R for HF+ jeta = 36; depth = 4 \b"); + if (kcountHFpositivedirectionDigi4 == 10) + HFpositivedirectionDigi4->SetXTitle("R for HF+ jeta = 37; depth = 4 \b"); + if (kcountHFpositivedirectionDigi4 == 11) + HFpositivedirectionDigi4->SetXTitle("R for HF+ jeta = 38; depth = 4 \b"); + if (kcountHFpositivedirectionDigi4 == 12) + HFpositivedirectionDigi4->SetXTitle("R for HF+ jeta = 39; depth = 4 \b"); + if (kcountHFpositivedirectionDigi4 == 13) + HFpositivedirectionDigi4->SetXTitle("R for HF+ jeta = 40; depth = 4 \b"); + HFpositivedirectionDigi4->Draw("Error"); + kcountHFpositivedirectionDigi4++; + if (kcountHFpositivedirectionDigi4 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiPositiveDirectionhistD1PhiSymmetryDepth4HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionDigi4) delete h2CeffHFpositivedirectionDigi4; + if (h2CeffHFpositivedirectionDigi4) + delete h2CeffHFpositivedirectionDigi4; - //========================================================================================== 1111114 + //========================================================================================== 1111114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionDigi1=1; - TH1F* h2CeffHFnegativedirectionDigi1 = new TH1F("h2CeffHFnegativedirectionDigi1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigi1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFnegativedirectionDigi1 = "<SetMarkerColor(2);HFnegativedirectionDigi1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionDigi1 == 1) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionDigi1 == 2) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionDigi1 == 3) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionDigi1 == 4) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionDigi1 == 5) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionDigi1 == 6) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionDigi1 == 7) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionDigi1 == 8) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionDigi1 == 9) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionDigi1 ==10) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionDigi1 ==11) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionDigi1 ==12) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionDigi1 ==13) HFnegativedirectionDigi1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionDigi1->Draw("Error"); - kcountHFnegativedirectionDigi1++; - if(kcountHFnegativedirectionDigi1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFnegativedirectionDigi1 = (TH1F*)h2CeffHFnegativedirectionDigi1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionDigi1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionDigi1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFnegativedirectionDigi1 = "<SetMarkerColor(2); + HFnegativedirectionDigi1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionDigi1 == 1) + HFnegativedirectionDigi1->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionDigi1 == 2) + HFnegativedirectionDigi1->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionDigi1 == 3) + HFnegativedirectionDigi1->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionDigi1 == 4) + HFnegativedirectionDigi1->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionDigi1 == 5) + HFnegativedirectionDigi1->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionDigi1 == 6) + HFnegativedirectionDigi1->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionDigi1 == 7) + HFnegativedirectionDigi1->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionDigi1 == 8) + HFnegativedirectionDigi1->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionDigi1 == 9) + HFnegativedirectionDigi1->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionDigi1 == 10) + HFnegativedirectionDigi1->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionDigi1 == 11) + HFnegativedirectionDigi1->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionDigi1 == 12) + HFnegativedirectionDigi1->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionDigi1 == 13) + HFnegativedirectionDigi1->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionDigi1->Draw("Error"); + kcountHFnegativedirectionDigi1++; + if (kcountHFnegativedirectionDigi1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionDigi1) delete h2CeffHFnegativedirectionDigi1; - + if (h2CeffHFnegativedirectionDigi1) + delete h2CeffHFnegativedirectionDigi1; - //========================================================================================== 1111115 + //========================================================================================== 1111115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionDigi2=1; - TH1F* h2CeffHFnegativedirectionDigi2 = new TH1F("h2CeffHFnegativedirectionDigi2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigi2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFnegativedirectionDigi2 = "<SetMarkerColor(2);HFnegativedirectionDigi2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionDigi2 == 1) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionDigi2 == 2) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionDigi2 == 3) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionDigi2 == 4) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionDigi2 == 5) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionDigi2 == 6) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionDigi2 == 7) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionDigi2 == 8) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionDigi2 == 9) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionDigi2 ==10) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionDigi2 ==11) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionDigi2 ==12) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionDigi2 ==13) HFnegativedirectionDigi2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); - HFnegativedirectionDigi2->Draw("Error"); - kcountHFnegativedirectionDigi2++; - if(kcountHFnegativedirectionDigi2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + int kcountHFnegativedirectionDigi2 = 1; + TH1F* h2CeffHFnegativedirectionDigi2 = new TH1F("h2CeffHFnegativedirectionDigi2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigi: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionDigi2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionDigi2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFnegativedirectionDigi2 = "<SetMarkerColor(2); + HFnegativedirectionDigi2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionDigi2 == 1) + HFnegativedirectionDigi2->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionDigi2 == 2) + HFnegativedirectionDigi2->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionDigi2 == 3) + HFnegativedirectionDigi2->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionDigi2 == 4) + HFnegativedirectionDigi2->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionDigi2 == 5) + HFnegativedirectionDigi2->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionDigi2 == 6) + HFnegativedirectionDigi2->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionDigi2 == 7) + HFnegativedirectionDigi2->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionDigi2 == 8) + HFnegativedirectionDigi2->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionDigi2 == 9) + HFnegativedirectionDigi2->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionDigi2 == 10) + HFnegativedirectionDigi2->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionDigi2 == 11) + HFnegativedirectionDigi2->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionDigi2 == 12) + HFnegativedirectionDigi2->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionDigi2 == 13) + HFnegativedirectionDigi2->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionDigi2->Draw("Error"); + kcountHFnegativedirectionDigi2++; + if (kcountHFnegativedirectionDigi2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionDigi2) delete h2CeffHFnegativedirectionDigi2; - //========================================================================================== 1111116 + if (h2CeffHFnegativedirectionDigi2) + delete h2CeffHFnegativedirectionDigi2; + //========================================================================================== 1111116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionDigi3=1; - TH1F* h2CeffHFnegativedirectionDigi3 = new TH1F("h2CeffHFnegativedirectionDigi3","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigi3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHFnegativedirectionDigi3 = "<SetMarkerColor(2);HFnegativedirectionDigi3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionDigi3 == 1) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-41; depth = 3 \b"); - if(kcountHFnegativedirectionDigi3 == 2) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-40; depth = 3 \b"); - if(kcountHFnegativedirectionDigi3 == 3) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-39; depth = 3 \b"); - if(kcountHFnegativedirectionDigi3 == 4) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-38; depth = 3 \b"); - if(kcountHFnegativedirectionDigi3 == 5) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-37; depth = 3 \b"); - if(kcountHFnegativedirectionDigi3 == 6) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-36; depth = 3 \b"); - if(kcountHFnegativedirectionDigi3 == 7) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-35; depth = 3 \b"); - if(kcountHFnegativedirectionDigi3 == 8) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-34; depth = 3 \b"); - if(kcountHFnegativedirectionDigi3 == 9) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-33; depth = 3 \b"); - if(kcountHFnegativedirectionDigi3 ==10) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-32; depth = 3 \b"); - if(kcountHFnegativedirectionDigi3 ==11) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-31; depth = 3 \b"); - if(kcountHFnegativedirectionDigi3 ==12) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-30; depth = 3 \b"); - if(kcountHFnegativedirectionDigi3 ==13) HFnegativedirectionDigi3 ->SetXTitle("R for HF- jeta =-29; depth = 3 \b"); - HFnegativedirectionDigi3->Draw("Error"); - kcountHFnegativedirectionDigi3++; - if(kcountHFnegativedirectionDigi3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + int kcountHFnegativedirectionDigi3 = 1; + TH1F* h2CeffHFnegativedirectionDigi3 = new TH1F("h2CeffHFnegativedirectionDigi3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigi: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionDigi3->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionDigi3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHFnegativedirectionDigi3 = "<SetMarkerColor(2); + HFnegativedirectionDigi3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionDigi3 == 1) + HFnegativedirectionDigi3->SetXTitle("R for HF- jeta =-41; depth = 3 \b"); + if (kcountHFnegativedirectionDigi3 == 2) + HFnegativedirectionDigi3->SetXTitle("R for HF- jeta =-40; depth = 3 \b"); + if (kcountHFnegativedirectionDigi3 == 3) + HFnegativedirectionDigi3->SetXTitle("R for HF- jeta =-39; depth = 3 \b"); + if (kcountHFnegativedirectionDigi3 == 4) + HFnegativedirectionDigi3->SetXTitle("R for HF- jeta =-38; depth = 3 \b"); + if (kcountHFnegativedirectionDigi3 == 5) + HFnegativedirectionDigi3->SetXTitle("R for HF- jeta =-37; depth = 3 \b"); + if (kcountHFnegativedirectionDigi3 == 6) + HFnegativedirectionDigi3->SetXTitle("R for HF- jeta =-36; depth = 3 \b"); + if (kcountHFnegativedirectionDigi3 == 7) + HFnegativedirectionDigi3->SetXTitle("R for HF- jeta =-35; depth = 3 \b"); + if (kcountHFnegativedirectionDigi3 == 8) + HFnegativedirectionDigi3->SetXTitle("R for HF- jeta =-34; depth = 3 \b"); + if (kcountHFnegativedirectionDigi3 == 9) + HFnegativedirectionDigi3->SetXTitle("R for HF- jeta =-33; depth = 3 \b"); + if (kcountHFnegativedirectionDigi3 == 10) + HFnegativedirectionDigi3->SetXTitle("R for HF- jeta =-32; depth = 3 \b"); + if (kcountHFnegativedirectionDigi3 == 11) + HFnegativedirectionDigi3->SetXTitle("R for HF- jeta =-31; depth = 3 \b"); + if (kcountHFnegativedirectionDigi3 == 12) + HFnegativedirectionDigi3->SetXTitle("R for HF- jeta =-30; depth = 3 \b"); + if (kcountHFnegativedirectionDigi3 == 13) + HFnegativedirectionDigi3->SetXTitle("R for HF- jeta =-29; depth = 3 \b"); + HFnegativedirectionDigi3->Draw("Error"); + kcountHFnegativedirectionDigi3++; + if (kcountHFnegativedirectionDigi3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth3HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionDigi3) delete h2CeffHFnegativedirectionDigi3; - //========================================================================================== 1111117 + if (h2CeffHFnegativedirectionDigi3) + delete h2CeffHFnegativedirectionDigi3; + //========================================================================================== 1111117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionDigi4=1; - TH1F* h2CeffHFnegativedirectionDigi4 = new TH1F("h2CeffHFnegativedirectionDigi4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigi4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHFnegativedirectionDigi4 = "<SetMarkerColor(2);HFnegativedirectionDigi4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionDigi4 == 1) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-41; depth = 4 \b"); - if(kcountHFnegativedirectionDigi4 == 2) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-40; depth = 4 \b"); - if(kcountHFnegativedirectionDigi4 == 3) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-39; depth = 4 \b"); - if(kcountHFnegativedirectionDigi4 == 4) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-38; depth = 4 \b"); - if(kcountHFnegativedirectionDigi4 == 5) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-37; depth = 4 \b"); - if(kcountHFnegativedirectionDigi4 == 6) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-36; depth = 4 \b"); - if(kcountHFnegativedirectionDigi4 == 7) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-35; depth = 4 \b"); - if(kcountHFnegativedirectionDigi4 == 8) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-34; depth = 4 \b"); - if(kcountHFnegativedirectionDigi4 == 9) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-33; depth = 4 \b"); - if(kcountHFnegativedirectionDigi4 ==10) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-32; depth = 4 \b"); - if(kcountHFnegativedirectionDigi4 ==11) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-31; depth = 4 \b"); - if(kcountHFnegativedirectionDigi4 ==12) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-30; depth = 4 \b"); - if(kcountHFnegativedirectionDigi4 ==13) HFnegativedirectionDigi4 ->SetXTitle("R for HF- jeta =-29; depth = 4 \b"); - HFnegativedirectionDigi4->Draw("Error"); - kcountHFnegativedirectionDigi4++; - if(kcountHFnegativedirectionDigi4>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + int kcountHFnegativedirectionDigi4 = 1; + TH1F* h2CeffHFnegativedirectionDigi4 = new TH1F("h2CeffHFnegativedirectionDigi4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigi: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = adigiHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionDigi4->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionDigi4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHFnegativedirectionDigi4 = "<SetMarkerColor(2); + HFnegativedirectionDigi4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionDigi4 == 1) + HFnegativedirectionDigi4->SetXTitle("R for HF- jeta =-41; depth = 4 \b"); + if (kcountHFnegativedirectionDigi4 == 2) + HFnegativedirectionDigi4->SetXTitle("R for HF- jeta =-40; depth = 4 \b"); + if (kcountHFnegativedirectionDigi4 == 3) + HFnegativedirectionDigi4->SetXTitle("R for HF- jeta =-39; depth = 4 \b"); + if (kcountHFnegativedirectionDigi4 == 4) + HFnegativedirectionDigi4->SetXTitle("R for HF- jeta =-38; depth = 4 \b"); + if (kcountHFnegativedirectionDigi4 == 5) + HFnegativedirectionDigi4->SetXTitle("R for HF- jeta =-37; depth = 4 \b"); + if (kcountHFnegativedirectionDigi4 == 6) + HFnegativedirectionDigi4->SetXTitle("R for HF- jeta =-36; depth = 4 \b"); + if (kcountHFnegativedirectionDigi4 == 7) + HFnegativedirectionDigi4->SetXTitle("R for HF- jeta =-35; depth = 4 \b"); + if (kcountHFnegativedirectionDigi4 == 8) + HFnegativedirectionDigi4->SetXTitle("R for HF- jeta =-34; depth = 4 \b"); + if (kcountHFnegativedirectionDigi4 == 9) + HFnegativedirectionDigi4->SetXTitle("R for HF- jeta =-33; depth = 4 \b"); + if (kcountHFnegativedirectionDigi4 == 10) + HFnegativedirectionDigi4->SetXTitle("R for HF- jeta =-32; depth = 4 \b"); + if (kcountHFnegativedirectionDigi4 == 11) + HFnegativedirectionDigi4->SetXTitle("R for HF- jeta =-31; depth = 4 \b"); + if (kcountHFnegativedirectionDigi4 == 12) + HFnegativedirectionDigi4->SetXTitle("R for HF- jeta =-30; depth = 4 \b"); + if (kcountHFnegativedirectionDigi4 == 13) + HFnegativedirectionDigi4->SetXTitle("R for HF- jeta =-29; depth = 4 \b"); + HFnegativedirectionDigi4->Draw("Error"); + kcountHFnegativedirectionDigi4++; + if (kcountHFnegativedirectionDigi4 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RdigiNegativeDirectionhistD1PhiSymmetryDepth4HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionDigi4) delete h2CeffHFnegativedirectionDigi4; + if (h2CeffHFnegativedirectionDigi4) + delete h2CeffHFnegativedirectionDigi4; //====================================================================================================================== //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_amplitudechannel2_HF1"); - TH2F *digiVariance0HF1= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_amplitudechannel2_HF1"); + TH2F* digiVariance0HF1 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF1"); TH2F* digiVarianceHF1 = (TH2F*)digiVariance1HF1->Clone("digiVarianceHF1"); - digiVarianceHF1->Divide(digiVariance1HF1,digiVariance0HF1, 1, 1, "B"); - TH2F *digiVariance1HF2= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HF2"); - TH2F *digiVariance0HF2= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF2"); + digiVarianceHF1->Divide(digiVariance1HF1, digiVariance0HF1, 1, 1, "B"); + TH2F* digiVariance1HF2 = (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HF2"); + TH2F* digiVariance0HF2 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF2"); TH2F* digiVarianceHF2 = (TH2F*)digiVariance1HF2->Clone("digiVarianceHF2"); - digiVarianceHF2->Divide(digiVariance1HF2,digiVariance0HF2, 1, 1, "B"); - TH2F *digiVariance1HF3= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HF3"); - TH2F *digiVariance0HF3= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF3"); + digiVarianceHF2->Divide(digiVariance1HF2, digiVariance0HF2, 1, 1, "B"); + TH2F* digiVariance1HF3 = (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HF3"); + TH2F* digiVariance0HF3 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF3"); TH2F* digiVarianceHF3 = (TH2F*)digiVariance1HF3->Clone("digiVarianceHF3"); - digiVarianceHF3->Divide(digiVariance1HF3,digiVariance0HF3, 1, 1, "B"); - TH2F *digiVariance1HF4= (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HF4"); - TH2F *digiVariance0HF4= (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF4"); + digiVarianceHF3->Divide(digiVariance1HF3, digiVariance0HF3, 1, 1, "B"); + TH2F* digiVariance1HF4 = (TH2F*)dir->FindObjectAny("h_amplitudechannel2_HF4"); + TH2F* digiVariance0HF4 = (TH2F*)dir->FindObjectAny("h_amplitudechannel0_HF4"); TH2F* digiVarianceHF4 = (TH2F*)digiVariance1HF4->Clone("digiVarianceHF4"); - digiVarianceHF4->Divide(digiVariance1HF4,digiVariance0HF4, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive digivarianceHF - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - digivarianceHF[1][jeta][jphi] = digiVarianceHF2->GetBinContent(jeta+1,jphi+1); - digivarianceHF[2][jeta][jphi] = digiVarianceHF3->GetBinContent(jeta+1,jphi+1); - digivarianceHF[3][jeta][jphi] = digiVarianceHF4->GetBinContent(jeta+1,jphi+1); - if(digivarianceHF[0][jeta][jphi] > 0.) {sumdigiHF0 += digivarianceHF[0][jeta][jphi];++nsumdigiHF0;} - if(digivarianceHF[1][jeta][jphi] > 0.) {sumdigiHF1 += digivarianceHF[1][jeta][jphi];++nsumdigiHF1;} - if(digivarianceHF[2][jeta][jphi] > 0.) {sumdigiHF2 += digivarianceHF[2][jeta][jphi];++nsumdigiHF2;} - if(digivarianceHF[3][jeta][jphi] > 0.) {sumdigiHF3 += digivarianceHF[3][jeta][jphi];++nsumdigiHF3;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) digivarianceHF[0][jeta][jphi] /= (sumdigiHF0/nsumdigiHF0) ; - if(digivarianceHF[1][jeta][jphi] > 0.) digivarianceHF[1][jeta][jphi] /= (sumdigiHF1/nsumdigiHF1) ; - if(digivarianceHF[2][jeta][jphi] > 0.) digivarianceHF[2][jeta][jphi] /= (sumdigiHF2/nsumdigiHF2) ; - if(digivarianceHF[3][jeta][jphi] > 0.) digivarianceHF[3][jeta][jphi] /= (sumdigiHF3/nsumdigiHF3) ; - }// phi - // digivarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive digivarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumdigiHF0 = 0; + int nsumdigiHF0 = 0; + double sumdigiHF1 = 0; + int nsumdigiHF1 = 0; + double sumdigiHF2 = 0; + int nsumdigiHF2 = 0; + double sumdigiHF3 = 0; + int nsumdigiHF3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + digivarianceHF[0][jeta][jphi] = digiVarianceHF1->GetBinContent(jeta + 1, jphi + 1); + digivarianceHF[1][jeta][jphi] = digiVarianceHF2->GetBinContent(jeta + 1, jphi + 1); + digivarianceHF[2][jeta][jphi] = digiVarianceHF3->GetBinContent(jeta + 1, jphi + 1); + digivarianceHF[3][jeta][jphi] = digiVarianceHF4->GetBinContent(jeta + 1, jphi + 1); + if (digivarianceHF[0][jeta][jphi] > 0.) { + sumdigiHF0 += digivarianceHF[0][jeta][jphi]; + ++nsumdigiHF0; + } + if (digivarianceHF[1][jeta][jphi] > 0.) { + sumdigiHF1 += digivarianceHF[1][jeta][jphi]; + ++nsumdigiHF1; + } + if (digivarianceHF[2][jeta][jphi] > 0.) { + sumdigiHF2 += digivarianceHF[2][jeta][jphi]; + ++nsumdigiHF2; + } + if (digivarianceHF[3][jeta][jphi] > 0.) { + sumdigiHF3 += digivarianceHF[3][jeta][jphi]; + ++nsumdigiHF3; } - //cout<<" Vaiance: DONE*****" < 0.) + digivarianceHF[0][jeta][jphi] /= (sumdigiHF0 / nsumdigiHF0); + if (digivarianceHF[1][jeta][jphi] > 0.) + digivarianceHF[1][jeta][jphi] /= (sumdigiHF1 / nsumdigiHF1); + if (digivarianceHF[2][jeta][jphi] > 0.) + digivarianceHF[2][jeta][jphi] /= (sumdigiHF2 / nsumdigiHF2); + if (digivarianceHF[3][jeta][jphi] > 0.) + digivarianceHF[3][jeta][jphi] /= (sumdigiHF3 / nsumdigiHF3); + } // phi + // digivarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDdigiHF42D = new TH2F("DefzDdigiHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDdigiHF42D0 = new TH2F("DefzDdigiHF42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDdigiHF42DF = (TH2F*)DefzDdigiHF42D0->Clone("DefzDdigiHF42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(adigiHF[i][jeta][jphi]>0.) {DefzDdigiHF42D ->Fill(kkk,jphi,ccc1); DefzDdigiHF42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDdigiHF42DF->Divide(DefzDdigiHF42D,DefzDdigiHF42D0, 1, 1, "B");// average A - // DefzDdigiHF1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDdigiHF42DF->SetMarkerStyle(20); DefzDdigiHF42DF->SetMarkerSize(0.4); DefzDdigiHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDdigiHF42DF->SetXTitle("_depth #eta \b"); DefzDdigiHF42DF->SetYTitle(" #phi \b"); DefzDdigiHF42DF->SetZTitle("_depth \b"); DefzDdigiHF42DF->SetMarkerColor(2); DefzDdigiHF42DF->SetLineColor(0); // DefzDdigiHF42DF->SetMaximum(1.000); // DefzDdigiHF42DF->SetMinimum(1.0); - DefzDdigiHF42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DdigiGeneralD2PhiSymmetryHF.png"); - c1x0->Clear(); - // clean-up - if (DefzDdigiHF42D) delete DefzDdigiHF42D; - if (DefzDdigiHF42D0) delete DefzDdigiHF42D0; - if (DefzDdigiHF42DF) delete DefzDdigiHF42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDdigiHF42D = new TH2F("DefzDdigiHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDdigiHF42D0 = new TH2F("DefzDdigiHF42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDdigiHF42DF = (TH2F*)DefzDdigiHF42D0->Clone("DefzDdigiHF42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (adigiHF[i][jeta][jphi] > 0.) { + DefzDdigiHF42D->Fill(kkk, jphi, ccc1); + DefzDdigiHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDdigiHF42DF->Divide(DefzDdigiHF42D, DefzDdigiHF42D0, 1, 1, "B"); // average A + // DefzDdigiHF1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDdigiHF42DF->SetMarkerStyle(20); + DefzDdigiHF42DF->SetMarkerSize(0.4); + DefzDdigiHF42DF->GetZaxis()->SetLabelSize(0.08); + DefzDdigiHF42DF->SetXTitle("_depth #eta \b"); + DefzDdigiHF42DF->SetYTitle(" #phi \b"); + DefzDdigiHF42DF->SetZTitle("_depth \b"); + DefzDdigiHF42DF->SetMarkerColor(2); + DefzDdigiHF42DF->SetLineColor( + 0); // DefzDdigiHF42DF->SetMaximum(1.000); // DefzDdigiHF42DF->SetMinimum(1.0); + DefzDdigiHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DdigiGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDdigiHF42D) + delete DefzDdigiHF42D; + if (DefzDdigiHF42D0) + delete DefzDdigiHF42D0; + if (DefzDdigiHF42DF) + delete DefzDdigiHF42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDdigiHF41D = new TH1F("DefzDdigiHF41D","", nphi, 0., 72. ); - TH1F* DefzDdigiHF41D0 = new TH1F("DefzDdigiHF41D0","",nphi, 0., 72. ); - TH1F* DefzDdigiHF41DF = (TH1F*)DefzDdigiHF41D0->Clone("DefzDdigiHF41DF"); - - for (int jphi=0;jphi0.) {DefzDdigiHF41D ->Fill(jphi,ccc1); DefzDdigiHF41D0 ->Fill(jphi,1.); } - }}} - // DefzDdigiHF41D->Sumw2();DefzDdigiHF41D0->Sumw2(); - - DefzDdigiHF41DF->Divide(DefzDdigiHF41D,DefzDdigiHF41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDdigiHF41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDdigiHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDdigiHF41DF->SetMarkerStyle(20); DefzDdigiHF41DF->SetMarkerSize(1.4); DefzDdigiHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDdigiHF41DF->SetXTitle("#phi \b"); DefzDdigiHF41DF->SetYTitle(" \b"); DefzDdigiHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDdigiHF41DF->SetMarkerColor(4); DefzDdigiHF41DF->SetLineColor(4);// DefzDdigiHF41DF->SetMinimum(0.8); DefzDdigiHF41DF->SetMinimum(-0.015); - DefzDdigiHF41DF->Draw("Error"); + TH1F* DefzDdigiHF41D = new TH1F("DefzDdigiHF41D", "", nphi, 0., 72.); + TH1F* DefzDdigiHF41D0 = new TH1F("DefzDdigiHF41D0", "", nphi, 0., 72.); + TH1F* DefzDdigiHF41DF = (TH1F*)DefzDdigiHF41D0->Clone("DefzDdigiHF41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = digivarianceHF[i][jeta][jphi]; + if (adigiHF[i][jeta][jphi] > 0.) { + DefzDdigiHF41D->Fill(jphi, ccc1); + DefzDdigiHF41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDdigiHF41D->Sumw2();DefzDdigiHF41D0->Sumw2(); + + DefzDdigiHF41DF->Divide(DefzDdigiHF41D, DefzDdigiHF41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDdigiHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDdigiHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDdigiHF41DF->SetMarkerStyle(20); + DefzDdigiHF41DF->SetMarkerSize(1.4); + DefzDdigiHF41DF->GetZaxis()->SetLabelSize(0.08); + DefzDdigiHF41DF->SetXTitle("#phi \b"); + DefzDdigiHF41DF->SetYTitle(" \b"); + DefzDdigiHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDdigiHF41DF->SetMarkerColor(4); + DefzDdigiHF41DF->SetLineColor(4); // DefzDdigiHF41DF->SetMinimum(0.8); DefzDdigiHF41DF->SetMinimum(-0.015); + DefzDdigiHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DdigiGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (DefzDdigiHF41D) delete DefzDdigiHF41D; - if (DefzDdigiHF41D0) delete DefzDdigiHF41D0; - if (DefzDdigiHF41DF) delete DefzDdigiHF41DF; - //========================================================================================== 14 + if (DefzDdigiHF41D) + delete DefzDdigiHF41D; + if (DefzDdigiHF41D0) + delete DefzDdigiHF41D0; + if (DefzDdigiHF41DF) + delete DefzDdigiHF41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionDigiD1=1; - TH1F* h2CeffHFpositivedirectionDigiD1 = new TH1F("h2CeffHFpositivedirectionDigiD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionDigiD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigiD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFpositivedirectionDigiD1 = "<SetMarkerColor(2);HFpositivedirectionDigiD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionDigiD1 == 1) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionDigiD1 == 2) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionDigiD1 == 3) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionDigiD1 == 4) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionDigiD1 == 5) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionDigiD1 == 6) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionDigiD1 == 7) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionDigiD1 == 8) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionDigiD1 == 9) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionDigiD1 ==10) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionDigiD1 ==11) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionDigiD1 ==12) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionDigiD1 ==13) HFpositivedirectionDigiD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionDigiD1->Draw("Error"); - kcountHFpositivedirectionDigiD1++; - if(kcountHFpositivedirectionDigiD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHFpositivedirectionDigiD1 = 1; + TH1F* h2CeffHFpositivedirectionDigiD1 = new TH1F("h2CeffHFpositivedirectionDigiD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHF[i][jeta][jphi]; + if (adigiHF[i][jeta][jphi] > 0.) { + HFpositivedirectionDigiD1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionDigiD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFpositivedirectionDigiD1 = "<SetMarkerColor(2); + HFpositivedirectionDigiD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionDigiD1 == 1) + HFpositivedirectionDigiD1->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionDigiD1 == 2) + HFpositivedirectionDigiD1->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionDigiD1 == 3) + HFpositivedirectionDigiD1->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionDigiD1 == 4) + HFpositivedirectionDigiD1->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionDigiD1 == 5) + HFpositivedirectionDigiD1->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionDigiD1 == 6) + HFpositivedirectionDigiD1->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionDigiD1 == 7) + HFpositivedirectionDigiD1->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionDigiD1 == 8) + HFpositivedirectionDigiD1->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionDigiD1 == 9) + HFpositivedirectionDigiD1->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionDigiD1 == 10) + HFpositivedirectionDigiD1->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionDigiD1 == 11) + HFpositivedirectionDigiD1->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionDigiD1 == 12) + HFpositivedirectionDigiD1->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionDigiD1 == 13) + HFpositivedirectionDigiD1->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionDigiD1->Draw("Error"); + kcountHFpositivedirectionDigiD1++; + if (kcountHFpositivedirectionDigiD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionDigiD1) delete h2CeffHFpositivedirectionDigiD1; - //========================================================================================== 15 + if (h2CeffHFpositivedirectionDigiD1) + delete h2CeffHFpositivedirectionDigiD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionDigiD2=1; - TH1F* h2CeffHFpositivedirectionDigiD2 = new TH1F("h2CeffHFpositivedirectionDigiD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionDigiD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigiD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFpositivedirectionDigiD2 = "<SetMarkerColor(2);HFpositivedirectionDigiD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionDigiD2 == 1) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionDigiD2 == 2) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionDigiD2 == 3) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionDigiD2 == 4) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionDigiD2 == 5) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionDigiD2 == 6) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionDigiD2 == 7) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionDigiD2 == 8) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionDigiD2 == 9) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionDigiD2 ==10) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionDigiD2 ==11) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionDigiD2 ==12) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionDigiD2 ==13) HFpositivedirectionDigiD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionDigiD2->Draw("Error"); - kcountHFpositivedirectionDigiD2++; - if(kcountHFpositivedirectionDigiD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHFpositivedirectionDigiD2 = 1; + TH1F* h2CeffHFpositivedirectionDigiD2 = new TH1F("h2CeffHFpositivedirectionDigiD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHF[i][jeta][jphi]; + if (adigiHF[i][jeta][jphi] > 0.) { + HFpositivedirectionDigiD2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionDigiD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFpositivedirectionDigiD2 = "<SetMarkerColor(2); + HFpositivedirectionDigiD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionDigiD2 == 1) + HFpositivedirectionDigiD2->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionDigiD2 == 2) + HFpositivedirectionDigiD2->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionDigiD2 == 3) + HFpositivedirectionDigiD2->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionDigiD2 == 4) + HFpositivedirectionDigiD2->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionDigiD2 == 5) + HFpositivedirectionDigiD2->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionDigiD2 == 6) + HFpositivedirectionDigiD2->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionDigiD2 == 7) + HFpositivedirectionDigiD2->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionDigiD2 == 8) + HFpositivedirectionDigiD2->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionDigiD2 == 9) + HFpositivedirectionDigiD2->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionDigiD2 == 10) + HFpositivedirectionDigiD2->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionDigiD2 == 11) + HFpositivedirectionDigiD2->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionDigiD2 == 12) + HFpositivedirectionDigiD2->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionDigiD2 == 13) + HFpositivedirectionDigiD2->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionDigiD2->Draw("Error"); + kcountHFpositivedirectionDigiD2++; + if (kcountHFpositivedirectionDigiD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionDigiD2) delete h2CeffHFpositivedirectionDigiD2; - //========================================================================================== 16 + if (h2CeffHFpositivedirectionDigiD2) + delete h2CeffHFpositivedirectionDigiD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionDigiD3=1; - TH1F* h2CeffHFpositivedirectionDigiD3 = new TH1F("h2CeffHFpositivedirectionDigiD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionDigiD3 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigiD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHFpositivedirectionDigiD3 = "<SetMarkerColor(2);HFpositivedirectionDigiD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionDigiD3 == 1) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 28; depth = 3 \b"); - if(kcountHFpositivedirectionDigiD3 == 2) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 29; depth = 3 \b"); - if(kcountHFpositivedirectionDigiD3 == 3) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 30; depth = 3 \b"); - if(kcountHFpositivedirectionDigiD3 == 4) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 31; depth = 3 \b"); - if(kcountHFpositivedirectionDigiD3 == 5) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 32; depth = 3 \b"); - if(kcountHFpositivedirectionDigiD3 == 6) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 33; depth = 3 \b"); - if(kcountHFpositivedirectionDigiD3 == 7) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 34; depth = 3 \b"); - if(kcountHFpositivedirectionDigiD3 == 8) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 35; depth = 3 \b"); - if(kcountHFpositivedirectionDigiD3 == 9) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 36; depth = 3 \b"); - if(kcountHFpositivedirectionDigiD3 ==10) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 37; depth = 3 \b"); - if(kcountHFpositivedirectionDigiD3 ==11) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 38; depth = 3 \b"); - if(kcountHFpositivedirectionDigiD3 ==12) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 39; depth = 3 \b"); - if(kcountHFpositivedirectionDigiD3 ==13) HFpositivedirectionDigiD3 ->SetXTitle("D for HF+ jeta = 40; depth = 3 \b"); - HFpositivedirectionDigiD3->Draw("Error"); - kcountHFpositivedirectionDigiD3++; - if(kcountHFpositivedirectionDigiD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHFpositivedirectionDigiD3 = 1; + TH1F* h2CeffHFpositivedirectionDigiD3 = new TH1F("h2CeffHFpositivedirectionDigiD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHF[i][jeta][jphi]; + if (adigiHF[i][jeta][jphi] > 0.) { + HFpositivedirectionDigiD3->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionDigiD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHFpositivedirectionDigiD3 = "<SetMarkerColor(2); + HFpositivedirectionDigiD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionDigiD3 == 1) + HFpositivedirectionDigiD3->SetXTitle("D for HF+ jeta = 28; depth = 3 \b"); + if (kcountHFpositivedirectionDigiD3 == 2) + HFpositivedirectionDigiD3->SetXTitle("D for HF+ jeta = 29; depth = 3 \b"); + if (kcountHFpositivedirectionDigiD3 == 3) + HFpositivedirectionDigiD3->SetXTitle("D for HF+ jeta = 30; depth = 3 \b"); + if (kcountHFpositivedirectionDigiD3 == 4) + HFpositivedirectionDigiD3->SetXTitle("D for HF+ jeta = 31; depth = 3 \b"); + if (kcountHFpositivedirectionDigiD3 == 5) + HFpositivedirectionDigiD3->SetXTitle("D for HF+ jeta = 32; depth = 3 \b"); + if (kcountHFpositivedirectionDigiD3 == 6) + HFpositivedirectionDigiD3->SetXTitle("D for HF+ jeta = 33; depth = 3 \b"); + if (kcountHFpositivedirectionDigiD3 == 7) + HFpositivedirectionDigiD3->SetXTitle("D for HF+ jeta = 34; depth = 3 \b"); + if (kcountHFpositivedirectionDigiD3 == 8) + HFpositivedirectionDigiD3->SetXTitle("D for HF+ jeta = 35; depth = 3 \b"); + if (kcountHFpositivedirectionDigiD3 == 9) + HFpositivedirectionDigiD3->SetXTitle("D for HF+ jeta = 36; depth = 3 \b"); + if (kcountHFpositivedirectionDigiD3 == 10) + HFpositivedirectionDigiD3->SetXTitle("D for HF+ jeta = 37; depth = 3 \b"); + if (kcountHFpositivedirectionDigiD3 == 11) + HFpositivedirectionDigiD3->SetXTitle("D for HF+ jeta = 38; depth = 3 \b"); + if (kcountHFpositivedirectionDigiD3 == 12) + HFpositivedirectionDigiD3->SetXTitle("D for HF+ jeta = 39; depth = 3 \b"); + if (kcountHFpositivedirectionDigiD3 == 13) + HFpositivedirectionDigiD3->SetXTitle("D for HF+ jeta = 40; depth = 3 \b"); + HFpositivedirectionDigiD3->Draw("Error"); + kcountHFpositivedirectionDigiD3++; + if (kcountHFpositivedirectionDigiD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth3HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionDigiD3) delete h2CeffHFpositivedirectionDigiD3; - //========================================================================================== 17 + if (h2CeffHFpositivedirectionDigiD3) + delete h2CeffHFpositivedirectionDigiD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionDigiD4=1; - TH1F* h2CeffHFpositivedirectionDigiD4 = new TH1F("h2CeffHFpositivedirectionDigiD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionDigiD4 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionDigiD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHFpositivedirectionDigiD4 = "<SetMarkerColor(2);HFpositivedirectionDigiD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionDigiD4 == 1) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 28; depth = 4 \b"); - if(kcountHFpositivedirectionDigiD4 == 2) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 29; depth = 4 \b"); - if(kcountHFpositivedirectionDigiD4 == 3) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 30; depth = 4 \b"); - if(kcountHFpositivedirectionDigiD4 == 4) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 31; depth = 4 \b"); - if(kcountHFpositivedirectionDigiD4 == 5) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 32; depth = 4 \b"); - if(kcountHFpositivedirectionDigiD4 == 6) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 33; depth = 4 \b"); - if(kcountHFpositivedirectionDigiD4 == 7) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 34; depth = 4 \b"); - if(kcountHFpositivedirectionDigiD4 == 8) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 35; depth = 4 \b"); - if(kcountHFpositivedirectionDigiD4 == 9) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 36; depth = 4 \b"); - if(kcountHFpositivedirectionDigiD4 ==10) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 37; depth = 4 \b"); - if(kcountHFpositivedirectionDigiD4 ==11) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 38; depth = 4 \b"); - if(kcountHFpositivedirectionDigiD4 ==12) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 39; depth = 4 \b"); - if(kcountHFpositivedirectionDigiD4 ==13) HFpositivedirectionDigiD4 ->SetXTitle("D for HF+ jeta = 40; depth = 4 \b"); - HFpositivedirectionDigiD4->Draw("Error"); - kcountHFpositivedirectionDigiD4++; - if(kcountHFpositivedirectionDigiD4>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHFpositivedirectionDigiD4 = 1; + TH1F* h2CeffHFpositivedirectionDigiD4 = new TH1F("h2CeffHFpositivedirectionDigiD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionDigiD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHF[i][jeta][jphi]; + if (adigiHF[i][jeta][jphi] > 0.) { + HFpositivedirectionDigiD4->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionDigiD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHFpositivedirectionDigiD4 = "<SetMarkerColor(2); + HFpositivedirectionDigiD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionDigiD4 == 1) + HFpositivedirectionDigiD4->SetXTitle("D for HF+ jeta = 28; depth = 4 \b"); + if (kcountHFpositivedirectionDigiD4 == 2) + HFpositivedirectionDigiD4->SetXTitle("D for HF+ jeta = 29; depth = 4 \b"); + if (kcountHFpositivedirectionDigiD4 == 3) + HFpositivedirectionDigiD4->SetXTitle("D for HF+ jeta = 30; depth = 4 \b"); + if (kcountHFpositivedirectionDigiD4 == 4) + HFpositivedirectionDigiD4->SetXTitle("D for HF+ jeta = 31; depth = 4 \b"); + if (kcountHFpositivedirectionDigiD4 == 5) + HFpositivedirectionDigiD4->SetXTitle("D for HF+ jeta = 32; depth = 4 \b"); + if (kcountHFpositivedirectionDigiD4 == 6) + HFpositivedirectionDigiD4->SetXTitle("D for HF+ jeta = 33; depth = 4 \b"); + if (kcountHFpositivedirectionDigiD4 == 7) + HFpositivedirectionDigiD4->SetXTitle("D for HF+ jeta = 34; depth = 4 \b"); + if (kcountHFpositivedirectionDigiD4 == 8) + HFpositivedirectionDigiD4->SetXTitle("D for HF+ jeta = 35; depth = 4 \b"); + if (kcountHFpositivedirectionDigiD4 == 9) + HFpositivedirectionDigiD4->SetXTitle("D for HF+ jeta = 36; depth = 4 \b"); + if (kcountHFpositivedirectionDigiD4 == 10) + HFpositivedirectionDigiD4->SetXTitle("D for HF+ jeta = 37; depth = 4 \b"); + if (kcountHFpositivedirectionDigiD4 == 11) + HFpositivedirectionDigiD4->SetXTitle("D for HF+ jeta = 38; depth = 4 \b"); + if (kcountHFpositivedirectionDigiD4 == 12) + HFpositivedirectionDigiD4->SetXTitle("D for HF+ jeta = 39; depth = 4 \b"); + if (kcountHFpositivedirectionDigiD4 == 13) + HFpositivedirectionDigiD4->SetXTitle("D for HF+ jeta = 40; depth = 4 \b"); + HFpositivedirectionDigiD4->Draw("Error"); + kcountHFpositivedirectionDigiD4++; + if (kcountHFpositivedirectionDigiD4 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiPositiveDirectionhistD1PhiSymmetryDepth4HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionDigiD4) delete h2CeffHFpositivedirectionDigiD4; + if (h2CeffHFpositivedirectionDigiD4) + delete h2CeffHFpositivedirectionDigiD4; - //========================================================================================== 22222214 + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionDigiD1=1; - TH1F* h2CeffHFnegativedirectionDigiD1 = new TH1F("h2CeffHFnegativedirectionDigiD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionDigiD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigiD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFnegativedirectionDigiD1 = "<SetMarkerColor(2);HFnegativedirectionDigiD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionDigiD1 == 1) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionDigiD1 == 2) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionDigiD1 == 3) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionDigiD1 == 4) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionDigiD1 == 5) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionDigiD1 == 6) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionDigiD1 == 7) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionDigiD1 == 8) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionDigiD1 == 9) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionDigiD1 ==10) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionDigiD1 ==11) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionDigiD1 ==12) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionDigiD1 ==13) HFnegativedirectionDigiD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionDigiD1->Draw("Error"); - kcountHFnegativedirectionDigiD1++; - if(kcountHFnegativedirectionDigiD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + int kcountHFnegativedirectionDigiD1 = 1; + TH1F* h2CeffHFnegativedirectionDigiD1 = new TH1F("h2CeffHFnegativedirectionDigiD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHF[i][jeta][jphi]; + if (adigiHF[i][jeta][jphi] > 0.) { + HFnegativedirectionDigiD1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionDigiD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFnegativedirectionDigiD1 = "<SetMarkerColor(2); + HFnegativedirectionDigiD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionDigiD1 == 1) + HFnegativedirectionDigiD1->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionDigiD1 == 2) + HFnegativedirectionDigiD1->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionDigiD1 == 3) + HFnegativedirectionDigiD1->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionDigiD1 == 4) + HFnegativedirectionDigiD1->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionDigiD1 == 5) + HFnegativedirectionDigiD1->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionDigiD1 == 6) + HFnegativedirectionDigiD1->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionDigiD1 == 7) + HFnegativedirectionDigiD1->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionDigiD1 == 8) + HFnegativedirectionDigiD1->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionDigiD1 == 9) + HFnegativedirectionDigiD1->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionDigiD1 == 10) + HFnegativedirectionDigiD1->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionDigiD1 == 11) + HFnegativedirectionDigiD1->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionDigiD1 == 12) + HFnegativedirectionDigiD1->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionDigiD1 == 13) + HFnegativedirectionDigiD1->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionDigiD1->Draw("Error"); + kcountHFnegativedirectionDigiD1++; + if (kcountHFnegativedirectionDigiD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionDigiD1) delete h2CeffHFnegativedirectionDigiD1; - //========================================================================================== 22222215 + if (h2CeffHFnegativedirectionDigiD1) + delete h2CeffHFnegativedirectionDigiD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionDigiD2=1; - TH1F* h2CeffHFnegativedirectionDigiD2 = new TH1F("h2CeffHFnegativedirectionDigiD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionDigiD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigiD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFnegativedirectionDigiD2 = "<SetMarkerColor(2);HFnegativedirectionDigiD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionDigiD2 == 1) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionDigiD2 == 2) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionDigiD2 == 3) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionDigiD2 == 4) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionDigiD2 == 5) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionDigiD2 == 6) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionDigiD2 == 7) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionDigiD2 == 8) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionDigiD2 == 9) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionDigiD2 ==10) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionDigiD2 ==11) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionDigiD2 ==12) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionDigiD2 ==13) HFnegativedirectionDigiD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); - HFnegativedirectionDigiD2->Draw("Error"); - kcountHFnegativedirectionDigiD2++; - if(kcountHFnegativedirectionDigiD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + int kcountHFnegativedirectionDigiD2 = 1; + TH1F* h2CeffHFnegativedirectionDigiD2 = new TH1F("h2CeffHFnegativedirectionDigiD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHF[i][jeta][jphi]; + if (adigiHF[i][jeta][jphi] > 0.) { + HFnegativedirectionDigiD2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionDigiD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFnegativedirectionDigiD2 = "<SetMarkerColor(2); + HFnegativedirectionDigiD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionDigiD2 == 1) + HFnegativedirectionDigiD2->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionDigiD2 == 2) + HFnegativedirectionDigiD2->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionDigiD2 == 3) + HFnegativedirectionDigiD2->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionDigiD2 == 4) + HFnegativedirectionDigiD2->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionDigiD2 == 5) + HFnegativedirectionDigiD2->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionDigiD2 == 6) + HFnegativedirectionDigiD2->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionDigiD2 == 7) + HFnegativedirectionDigiD2->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionDigiD2 == 8) + HFnegativedirectionDigiD2->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionDigiD2 == 9) + HFnegativedirectionDigiD2->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionDigiD2 == 10) + HFnegativedirectionDigiD2->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionDigiD2 == 11) + HFnegativedirectionDigiD2->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionDigiD2 == 12) + HFnegativedirectionDigiD2->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionDigiD2 == 13) + HFnegativedirectionDigiD2->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionDigiD2->Draw("Error"); + kcountHFnegativedirectionDigiD2++; + if (kcountHFnegativedirectionDigiD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionDigiD2) delete h2CeffHFnegativedirectionDigiD2; - //========================================================================================== 22222216 + if (h2CeffHFnegativedirectionDigiD2) + delete h2CeffHFnegativedirectionDigiD2; + //========================================================================================== 22222216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionDigiD3=1; - TH1F* h2CeffHFnegativedirectionDigiD3 = new TH1F("h2CeffHFnegativedirectionDigiD3","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionDigiD3 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigiD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHFnegativedirectionDigiD3 = "<SetMarkerColor(2);HFnegativedirectionDigiD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionDigiD3 == 1) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-41; depth = 3 \b"); - if(kcountHFnegativedirectionDigiD3 == 2) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-40; depth = 3 \b"); - if(kcountHFnegativedirectionDigiD3 == 3) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-39; depth = 3 \b"); - if(kcountHFnegativedirectionDigiD3 == 4) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-38; depth = 3 \b"); - if(kcountHFnegativedirectionDigiD3 == 5) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-37; depth = 3 \b"); - if(kcountHFnegativedirectionDigiD3 == 6) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-36; depth = 3 \b"); - if(kcountHFnegativedirectionDigiD3 == 7) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-35; depth = 3 \b"); - if(kcountHFnegativedirectionDigiD3 == 8) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-34; depth = 3 \b"); - if(kcountHFnegativedirectionDigiD3 == 9) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-33; depth = 3 \b"); - if(kcountHFnegativedirectionDigiD3 ==10) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-32; depth = 3 \b"); - if(kcountHFnegativedirectionDigiD3 ==11) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-31; depth = 3 \b"); - if(kcountHFnegativedirectionDigiD3 ==12) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-30; depth = 3 \b"); - if(kcountHFnegativedirectionDigiD3 ==13) HFnegativedirectionDigiD3 ->SetXTitle("D for HF- jeta =-29; depth = 3 \b"); - HFnegativedirectionDigiD3->Draw("Error"); - kcountHFnegativedirectionDigiD3++; - if(kcountHFnegativedirectionDigiD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + int kcountHFnegativedirectionDigiD3 = 1; + TH1F* h2CeffHFnegativedirectionDigiD3 = new TH1F("h2CeffHFnegativedirectionDigiD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHF[i][jeta][jphi]; + if (adigiHF[i][jeta][jphi] > 0.) { + HFnegativedirectionDigiD3->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionDigiD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHFnegativedirectionDigiD3 = "<SetMarkerColor(2); + HFnegativedirectionDigiD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionDigiD3 == 1) + HFnegativedirectionDigiD3->SetXTitle("D for HF- jeta =-41; depth = 3 \b"); + if (kcountHFnegativedirectionDigiD3 == 2) + HFnegativedirectionDigiD3->SetXTitle("D for HF- jeta =-40; depth = 3 \b"); + if (kcountHFnegativedirectionDigiD3 == 3) + HFnegativedirectionDigiD3->SetXTitle("D for HF- jeta =-39; depth = 3 \b"); + if (kcountHFnegativedirectionDigiD3 == 4) + HFnegativedirectionDigiD3->SetXTitle("D for HF- jeta =-38; depth = 3 \b"); + if (kcountHFnegativedirectionDigiD3 == 5) + HFnegativedirectionDigiD3->SetXTitle("D for HF- jeta =-37; depth = 3 \b"); + if (kcountHFnegativedirectionDigiD3 == 6) + HFnegativedirectionDigiD3->SetXTitle("D for HF- jeta =-36; depth = 3 \b"); + if (kcountHFnegativedirectionDigiD3 == 7) + HFnegativedirectionDigiD3->SetXTitle("D for HF- jeta =-35; depth = 3 \b"); + if (kcountHFnegativedirectionDigiD3 == 8) + HFnegativedirectionDigiD3->SetXTitle("D for HF- jeta =-34; depth = 3 \b"); + if (kcountHFnegativedirectionDigiD3 == 9) + HFnegativedirectionDigiD3->SetXTitle("D for HF- jeta =-33; depth = 3 \b"); + if (kcountHFnegativedirectionDigiD3 == 10) + HFnegativedirectionDigiD3->SetXTitle("D for HF- jeta =-32; depth = 3 \b"); + if (kcountHFnegativedirectionDigiD3 == 11) + HFnegativedirectionDigiD3->SetXTitle("D for HF- jeta =-31; depth = 3 \b"); + if (kcountHFnegativedirectionDigiD3 == 12) + HFnegativedirectionDigiD3->SetXTitle("D for HF- jeta =-30; depth = 3 \b"); + if (kcountHFnegativedirectionDigiD3 == 13) + HFnegativedirectionDigiD3->SetXTitle("D for HF- jeta =-29; depth = 3 \b"); + HFnegativedirectionDigiD3->Draw("Error"); + kcountHFnegativedirectionDigiD3++; + if (kcountHFnegativedirectionDigiD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth3HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionDigiD3) delete h2CeffHFnegativedirectionDigiD3; - //========================================================================================== 22222217 + if (h2CeffHFnegativedirectionDigiD3) + delete h2CeffHFnegativedirectionDigiD3; + //========================================================================================== 22222217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionDigiD4=1; - TH1F* h2CeffHFnegativedirectionDigiD4 = new TH1F("h2CeffHFnegativedirectionDigiD4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionDigiD4 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionDigiD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHFnegativedirectionDigiD4 = "<SetMarkerColor(2);HFnegativedirectionDigiD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionDigiD4 == 1) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-41; depth = 4 \b"); - if(kcountHFnegativedirectionDigiD4 == 2) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-40; depth = 4 \b"); - if(kcountHFnegativedirectionDigiD4 == 3) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-39; depth = 4 \b"); - if(kcountHFnegativedirectionDigiD4 == 4) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-38; depth = 4 \b"); - if(kcountHFnegativedirectionDigiD4 == 5) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-37; depth = 4 \b"); - if(kcountHFnegativedirectionDigiD4 == 6) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-36; depth = 4 \b"); - if(kcountHFnegativedirectionDigiD4 == 7) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-35; depth = 4 \b"); - if(kcountHFnegativedirectionDigiD4 == 8) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-34; depth = 4 \b"); - if(kcountHFnegativedirectionDigiD4 == 9) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-33; depth = 4 \b"); - if(kcountHFnegativedirectionDigiD4 ==10) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-32; depth = 4 \b"); - if(kcountHFnegativedirectionDigiD4 ==11) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-31; depth = 4 \b"); - if(kcountHFnegativedirectionDigiD4 ==12) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-30; depth = 4 \b"); - if(kcountHFnegativedirectionDigiD4 ==13) HFnegativedirectionDigiD4 ->SetXTitle("D for HF- jeta =-29; depth = 4 \b"); - HFnegativedirectionDigiD4->Draw("Error"); - kcountHFnegativedirectionDigiD4++; - if(kcountHFnegativedirectionDigiD4>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + int kcountHFnegativedirectionDigiD4 = 1; + TH1F* h2CeffHFnegativedirectionDigiD4 = new TH1F("h2CeffHFnegativedirectionDigiD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionDigiD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = digivarianceHF[i][jeta][jphi]; + if (adigiHF[i][jeta][jphi] > 0.) { + HFnegativedirectionDigiD4->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionDigiD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHFnegativedirectionDigiD4 = "<SetMarkerColor(2); + HFnegativedirectionDigiD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionDigiD4 == 1) + HFnegativedirectionDigiD4->SetXTitle("D for HF- jeta =-41; depth = 4 \b"); + if (kcountHFnegativedirectionDigiD4 == 2) + HFnegativedirectionDigiD4->SetXTitle("D for HF- jeta =-40; depth = 4 \b"); + if (kcountHFnegativedirectionDigiD4 == 3) + HFnegativedirectionDigiD4->SetXTitle("D for HF- jeta =-39; depth = 4 \b"); + if (kcountHFnegativedirectionDigiD4 == 4) + HFnegativedirectionDigiD4->SetXTitle("D for HF- jeta =-38; depth = 4 \b"); + if (kcountHFnegativedirectionDigiD4 == 5) + HFnegativedirectionDigiD4->SetXTitle("D for HF- jeta =-37; depth = 4 \b"); + if (kcountHFnegativedirectionDigiD4 == 6) + HFnegativedirectionDigiD4->SetXTitle("D for HF- jeta =-36; depth = 4 \b"); + if (kcountHFnegativedirectionDigiD4 == 7) + HFnegativedirectionDigiD4->SetXTitle("D for HF- jeta =-35; depth = 4 \b"); + if (kcountHFnegativedirectionDigiD4 == 8) + HFnegativedirectionDigiD4->SetXTitle("D for HF- jeta =-34; depth = 4 \b"); + if (kcountHFnegativedirectionDigiD4 == 9) + HFnegativedirectionDigiD4->SetXTitle("D for HF- jeta =-33; depth = 4 \b"); + if (kcountHFnegativedirectionDigiD4 == 10) + HFnegativedirectionDigiD4->SetXTitle("D for HF- jeta =-32; depth = 4 \b"); + if (kcountHFnegativedirectionDigiD4 == 11) + HFnegativedirectionDigiD4->SetXTitle("D for HF- jeta =-31; depth = 4 \b"); + if (kcountHFnegativedirectionDigiD4 == 12) + HFnegativedirectionDigiD4->SetXTitle("D for HF- jeta =-30; depth = 4 \b"); + if (kcountHFnegativedirectionDigiD4 == 13) + HFnegativedirectionDigiD4->SetXTitle("D for HF- jeta =-29; depth = 4 \b"); + HFnegativedirectionDigiD4->Draw("Error"); + kcountHFnegativedirectionDigiD4++; + if (kcountHFnegativedirectionDigiD4 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DdigiNegativeDirectionhistD1PhiSymmetryDepth4HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionDigiD4) delete h2CeffHFnegativedirectionDigiD4; + if (h2CeffHFnegativedirectionDigiD4) + delete h2CeffHFnegativedirectionDigiD4; //===================================================================== END of Digi HF for phi-symmetry //===================================================================== END of Digi HF for phi-symmetry @@ -6111,3789 +8533,5253 @@ std::cout<<" We are here to print ADC "<FindObjectAny("h_recSignalEnergy1_HB1"); - TH2F *recSignalEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + TH2F* recSignalEnergy1HB1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB1"); + TH2F* recSignalEnergy0HB1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); TH2F* recSignalEnergyHB1 = (TH2F*)recSignalEnergy1HB1->Clone("recSignalEnergyHB1"); - recSignalEnergyHB1->Divide(recSignalEnergy1HB1,recSignalEnergy0HB1, 1, 1, "B"); - TH2F *recSignalEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB2"); - TH2F *recSignalEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + recSignalEnergyHB1->Divide(recSignalEnergy1HB1, recSignalEnergy0HB1, 1, 1, "B"); + TH2F* recSignalEnergy1HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB2"); + TH2F* recSignalEnergy0HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); TH2F* recSignalEnergyHB2 = (TH2F*)recSignalEnergy1HB2->Clone("recSignalEnergyHB2"); - recSignalEnergyHB2->Divide(recSignalEnergy1HB2,recSignalEnergy0HB2, 1, 1, "B"); - TH2F *recSignalEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB3"); - TH2F *recSignalEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + recSignalEnergyHB2->Divide(recSignalEnergy1HB2, recSignalEnergy0HB2, 1, 1, "B"); + TH2F* recSignalEnergy1HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB3"); + TH2F* recSignalEnergy0HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); TH2F* recSignalEnergyHB3 = (TH2F*)recSignalEnergy1HB3->Clone("recSignalEnergyHB3"); - recSignalEnergyHB3->Divide(recSignalEnergy1HB3,recSignalEnergy0HB3, 1, 1, "B"); - TH2F *recSignalEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB4"); - TH2F *recSignalEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + recSignalEnergyHB3->Divide(recSignalEnergy1HB3, recSignalEnergy0HB3, 1, 1, "B"); + TH2F* recSignalEnergy1HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HB4"); + TH2F* recSignalEnergy0HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); TH2F* recSignalEnergyHB4 = (TH2F*)recSignalEnergy1HB4->Clone("recSignalEnergyHB4"); - recSignalEnergyHB4->Divide(recSignalEnergy1HB4,recSignalEnergy0HB4, 1, 1, "B"); - for(int jeta=0;jetaDivide(recSignalEnergy1HB4, recSignalEnergy0HB4, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { //====================================================================== PHI normalization & put R into massive arecosignalHB - //preparation for PHI normalization: - double sumrecosignalHB0=0;int nsumrecosignalHB0=0;double sumrecosignalHB1=0;int nsumrecosignalHB1=0;double sumrecosignalHB2=0;int nsumrecosignalHB2=0;double sumrecosignalHB3=0;int nsumrecosignalHB3=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - arecosignalHB[1][jeta][jphi] = recSignalEnergyHB2->GetBinContent(jeta+1,jphi+1); - arecosignalHB[2][jeta][jphi] = recSignalEnergyHB3->GetBinContent(jeta+1,jphi+1); - arecosignalHB[3][jeta][jphi] = recSignalEnergyHB4->GetBinContent(jeta+1,jphi+1); - if(arecosignalHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += arecosignalHB[0][jeta][jphi];++nsumrecosignalHB0;} - if(arecosignalHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += arecosignalHB[1][jeta][jphi];++nsumrecosignalHB1;} - if(arecosignalHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += arecosignalHB[2][jeta][jphi];++nsumrecosignalHB2;} - if(arecosignalHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += arecosignalHB[3][jeta][jphi];++nsumrecosignalHB3;} - }// phi - // PHI normalization: - for(int jphi=0;jphi 0.) arecosignalHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; - if(arecosignalHB[1][jeta][jphi] > 0.) arecosignalHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; - if(arecosignalHB[2][jeta][jphi] > 0.) arecosignalHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; - if(arecosignalHB[3][jeta][jphi] > 0.) arecosignalHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; - }// phi - }//eta + //preparation for PHI normalization: + double sumrecosignalHB0 = 0; + int nsumrecosignalHB0 = 0; + double sumrecosignalHB1 = 0; + int nsumrecosignalHB1 = 0; + double sumrecosignalHB2 = 0; + int nsumrecosignalHB2 = 0; + double sumrecosignalHB3 = 0; + int nsumrecosignalHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + arecosignalHB[0][jeta][jphi] = recSignalEnergyHB1->GetBinContent(jeta + 1, jphi + 1); + arecosignalHB[1][jeta][jphi] = recSignalEnergyHB2->GetBinContent(jeta + 1, jphi + 1); + arecosignalHB[2][jeta][jphi] = recSignalEnergyHB3->GetBinContent(jeta + 1, jphi + 1); + arecosignalHB[3][jeta][jphi] = recSignalEnergyHB4->GetBinContent(jeta + 1, jphi + 1); + if (arecosignalHB[0][jeta][jphi] > 0.) { + sumrecosignalHB0 += arecosignalHB[0][jeta][jphi]; + ++nsumrecosignalHB0; + } + if (arecosignalHB[1][jeta][jphi] > 0.) { + sumrecosignalHB1 += arecosignalHB[1][jeta][jphi]; + ++nsumrecosignalHB1; + } + if (arecosignalHB[2][jeta][jphi] > 0.) { + sumrecosignalHB2 += arecosignalHB[2][jeta][jphi]; + ++nsumrecosignalHB2; + } + if (arecosignalHB[3][jeta][jphi] > 0.) { + sumrecosignalHB3 += arecosignalHB[3][jeta][jphi]; + ++nsumrecosignalHB3; + } + } // phi + // PHI normalization: + for (int jphi = 0; jphi < njphi; jphi++) { + if (arecosignalHB[0][jeta][jphi] > 0.) + arecosignalHB[0][jeta][jphi] /= (sumrecosignalHB0 / nsumrecosignalHB0); + if (arecosignalHB[1][jeta][jphi] > 0.) + arecosignalHB[1][jeta][jphi] /= (sumrecosignalHB1 / nsumrecosignalHB1); + if (arecosignalHB[2][jeta][jphi] > 0.) + arecosignalHB[2][jeta][jphi] /= (sumrecosignalHB2 / nsumrecosignalHB2); + if (arecosignalHB[3][jeta][jphi] > 0.) + arecosignalHB[3][jeta][jphi] /= (sumrecosignalHB3 / nsumrecosignalHB3); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthfs //====================================================================== //====================================================================== //cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRrecosignalHB42D = new TH2F("GefzRrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRrecosignalHB42D0 = new TH2F("GefzRrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHB42D = new TH2F("GefzRrecosignalHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRrecosignalHB42D0 = new TH2F("GefzRrecosignalHB42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRrecosignalHB42DF = (TH2F*)GefzRrecosignalHB42D0->Clone("GefzRrecosignalHB42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRrecosignalHB42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHB42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRrecosignalHB42DF->Divide(GefzRrecosignalHB42D,GefzRrecosignalHB42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHB42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHB42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRrecosignalHB42D->Fill(kkk, jphi, ccc1); + GefzRrecosignalHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRrecosignalHB42DF->Divide(GefzRrecosignalHB42D, GefzRrecosignalHB42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB42DF->SetXTitle("_depth #eta \b"); + GefzRrecosignalHB42DF->SetYTitle(" #phi \b"); GefzRrecosignalHB42DF->Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitSignal_HB= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HB"); - energyhitSignal_HB ->SetMarkerStyle(20);energyhitSignal_HB ->SetMarkerSize(0.4);energyhitSignal_HB ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HB ->SetXTitle("energyhitSignal_HB \b");energyhitSignal_HB ->SetMarkerColor(2);energyhitSignal_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HB ->Draw("Error"); + TH1F* energyhitSignal_HB = (TH1F*)dir->FindObjectAny("h_energyhitSignal_HB"); + energyhitSignal_HB->SetMarkerStyle(20); + energyhitSignal_HB->SetMarkerSize(0.4); + energyhitSignal_HB->GetYaxis()->SetLabelSize(0.04); + energyhitSignal_HB->SetXTitle("energyhitSignal_HB \b"); + energyhitSignal_HB->SetMarkerColor(2); + energyhitSignal_HB->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitSignal_HB->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RrecosignalGeneralD2PhiSymmetryHB.png"); c2x1->Clear(); // clean-up - if (GefzRrecosignalHB42D) delete GefzRrecosignalHB42D; - if (GefzRrecosignalHB42D0) delete GefzRrecosignalHB42D0; - if (GefzRrecosignalHB42DF) delete GefzRrecosignalHB42DF; + if (GefzRrecosignalHB42D) + delete GefzRrecosignalHB42D; + if (GefzRrecosignalHB42D0) + delete GefzRrecosignalHB42D0; + if (GefzRrecosignalHB42DF) + delete GefzRrecosignalHB42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRrecosignalHB41D = new TH1F("GefzRrecosignalHB41D","", nphi, 0., 72. ); - TH1F* GefzRrecosignalHB41D0 = new TH1F("GefzRrecosignalHB41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHB41D = new TH1F("GefzRrecosignalHB41D", "", nphi, 0., 72.); + TH1F* GefzRrecosignalHB41D0 = new TH1F("GefzRrecosignalHB41D0", "", nphi, 0., 72.); TH1F* GefzRrecosignalHB41DF = (TH1F*)GefzRrecosignalHB41D0->Clone("GefzRrecosignalHB41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHB41D0 ->Fill(jphi,1.); } - }}} - GefzRrecosignalHB41DF->Divide(GefzRrecosignalHB41D,GefzRrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRrecosignalHB41D->Fill(jphi, ccc1); + GefzRrecosignalHB41D0->Fill(jphi, 1.); + } + } + } + } + GefzRrecosignalHB41DF->Divide( + GefzRrecosignalHB41D, GefzRrecosignalHB41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRrecosignalHB41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHB41DF->SetMarkerStyle(20); GefzRrecosignalHB41DF->SetMarkerSize(1.4); GefzRrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHB41DF->SetXTitle("#phi \b"); GefzRrecosignalHB41DF->SetYTitle(" \b"); GefzRrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHB41DF->SetMarkerColor(4); GefzRrecosignalHB41DF->SetLineColor(4);// GefzRrecosignalHB41DF->SetMinimum(0.8); // GefzRrecosignalHB41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHB41DF->SetMarkerStyle(20); + GefzRrecosignalHB41DF->SetMarkerSize(1.4); + GefzRrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); + GefzRrecosignalHB41DF->SetXTitle("#phi \b"); + GefzRrecosignalHB41DF->SetYTitle(" \b"); + GefzRrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRrecosignalHB41DF->SetMarkerColor(4); + GefzRrecosignalHB41DF->SetLineColor( + 4); // GefzRrecosignalHB41DF->SetMinimum(0.8); // GefzRrecosignalHB41DF->SetMaximum(1.000); GefzRrecosignalHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RrecosignalGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (GefzRrecosignalHB41D) delete GefzRrecosignalHB41D; - if (GefzRrecosignalHB41D0) delete GefzRrecosignalHB41D0; - if (GefzRrecosignalHB41DF) delete GefzRrecosignalHB41DF; - //========================================================================================== 4 + if (GefzRrecosignalHB41D) + delete GefzRrecosignalHB41D; + if (GefzRrecosignalHB41D0) + delete GefzRrecosignalHB41D0; + if (GefzRrecosignalHB41DF) + delete GefzRrecosignalHB41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionRecosignal1=1; - TH1F* h2CeffHBpositivedirectionRecosignal1 = new TH1F("h2CeffHBpositivedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBpositivedirectionRecosignal1 = "<SetMarkerColor(2);HBpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal1 == 1) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 2) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 3) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 4) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 5) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 6) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 7) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 8) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 == 9) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==10) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==11) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==12) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==13) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==14) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==15) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignal1 ==16) HBpositivedirectionRecosignal1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionRecosignal1->Draw("Error"); - kcountHBpositivedirectionRecosignal1++; - if(kcountHBpositivedirectionRecosignal1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBpositivedirectionRecosignal1 = (TH1F*)h2CeffHBpositivedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBpositivedirectionRecosignal1 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal1 == 1) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 2) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 3) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 4) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 5) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 6) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 7) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 8) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 9) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 10) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 11) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 12) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 13) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 14) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 15) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignal1 == 16) + HBpositivedirectionRecosignal1->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignal1->Draw("Error"); + kcountHBpositivedirectionRecosignal1++; + if (kcountHBpositivedirectionRecosignal1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal1) delete h2CeffHBpositivedirectionRecosignal1; - + if (h2CeffHBpositivedirectionRecosignal1) + delete h2CeffHBpositivedirectionRecosignal1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionRecosignal2=1; - TH1F* h2CeffHBpositivedirectionRecosignal2 = new TH1F("h2CeffHBpositivedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBpositivedirectionRecosignal2 = "<SetMarkerColor(2);HBpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal2 == 1) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 2) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 3) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 4) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 5) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 6) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 7) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 8) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 == 9) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==10) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==11) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==12) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==13) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==14) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==15) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignal2 ==16) HBpositivedirectionRecosignal2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionRecosignal2->Draw("Error"); - kcountHBpositivedirectionRecosignal2++; - if(kcountHBpositivedirectionRecosignal2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionRecosignal2 = 1; + TH1F* h2CeffHBpositivedirectionRecosignal2 = new TH1F("h2CeffHBpositivedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBpositivedirectionRecosignal2 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal2 == 1) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 2) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 3) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 4) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 5) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 6) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 7) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 8) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 9) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 10) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 11) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 12) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 13) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 14) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 15) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignal2 == 16) + HBpositivedirectionRecosignal2->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignal2->Draw("Error"); + kcountHBpositivedirectionRecosignal2++; + if (kcountHBpositivedirectionRecosignal2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal2) delete h2CeffHBpositivedirectionRecosignal2; - //========================================================================================== 6 + if (h2CeffHBpositivedirectionRecosignal2) + delete h2CeffHBpositivedirectionRecosignal2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionRecosignal3=1; - TH1F* h2CeffHBpositivedirectionRecosignal3 = new TH1F("h2CeffHBpositivedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBpositivedirectionRecosignal3 = "<SetMarkerColor(2);HBpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal3 == 1) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 2) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 3) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 4) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 5) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 6) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 7) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 8) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 == 9) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==10) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==11) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==12) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==13) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==14) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==15) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignal3 ==16) HBpositivedirectionRecosignal3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionRecosignal3->Draw("Error"); - kcountHBpositivedirectionRecosignal3++; - if(kcountHBpositivedirectionRecosignal3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionRecosignal3 = 1; + TH1F* h2CeffHBpositivedirectionRecosignal3 = new TH1F("h2CeffHBpositivedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBpositivedirectionRecosignal3 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal3 == 1) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 2) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 3) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 4) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 5) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 6) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 7) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 8) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 9) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 10) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 11) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 12) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 13) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 14) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 15) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignal3 == 16) + HBpositivedirectionRecosignal3->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignal3->Draw("Error"); + kcountHBpositivedirectionRecosignal3++; + if (kcountHBpositivedirectionRecosignal3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal3) delete h2CeffHBpositivedirectionRecosignal3; - //========================================================================================== 7 + if (h2CeffHBpositivedirectionRecosignal3) + delete h2CeffHBpositivedirectionRecosignal3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionRecosignal4=1; - TH1F* h2CeffHBpositivedirectionRecosignal4 = new TH1F("h2CeffHBpositivedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBpositivedirectionRecosignal4 = "<SetMarkerColor(2);HBpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignal4 == 1) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 2) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 3) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 4) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 5) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 6) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 7) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 8) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 == 9) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==10) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==11) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==12) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==13) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==14) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==15) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignal4 ==16) HBpositivedirectionRecosignal4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionRecosignal4->Draw("Error"); - kcountHBpositivedirectionRecosignal4++; - if(kcountHBpositivedirectionRecosignal4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionRecosignal4 = 1; + TH1F* h2CeffHBpositivedirectionRecosignal4 = new TH1F("h2CeffHBpositivedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBpositivedirectionRecosignal4 = "<SetMarkerColor(2); + HBpositivedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignal4 == 1) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 2) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 3) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 4) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 5) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 6) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 7) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 8) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 9) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 10) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 11) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 12) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 13) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 14) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 15) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignal4 == 16) + HBpositivedirectionRecosignal4->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignal4->Draw("Error"); + kcountHBpositivedirectionRecosignal4++; + if (kcountHBpositivedirectionRecosignal4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignal4) delete h2CeffHBpositivedirectionRecosignal4; + if (h2CeffHBpositivedirectionRecosignal4) + delete h2CeffHBpositivedirectionRecosignal4; - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionRecosignal1=1; - TH1F* h2CeffHBnegativedirectionRecosignal1 = new TH1F("h2CeffHBnegativedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBnegativedirectionRecosignal1 = "<SetMarkerColor(2);HBnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal1 == 1) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 2) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 3) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 4) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 5) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 6) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 7) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 8) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 == 9) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==10) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==11) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==12) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==13) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==14) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==15) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignal1 ==16) HBnegativedirectionRecosignal1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionRecosignal1->Draw("Error"); - kcountHBnegativedirectionRecosignal1++; - if(kcountHBnegativedirectionRecosignal1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBnegativedirectionRecosignal1 = (TH1F*)h2CeffHBnegativedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBnegativedirectionRecosignal1 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal1 == 1) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 2) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 3) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 4) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 5) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 6) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 7) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 8) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 9) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 10) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 11) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 12) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 13) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 14) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 15) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignal1 == 16) + HBnegativedirectionRecosignal1->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignal1->Draw("Error"); + kcountHBnegativedirectionRecosignal1++; + if (kcountHBnegativedirectionRecosignal1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal1) delete h2CeffHBnegativedirectionRecosignal1; - + if (h2CeffHBnegativedirectionRecosignal1) + delete h2CeffHBnegativedirectionRecosignal1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionRecosignal2=1; - TH1F* h2CeffHBnegativedirectionRecosignal2 = new TH1F("h2CeffHBnegativedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBnegativedirectionRecosignal2 = "<SetMarkerColor(2);HBnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal2 == 1) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 2) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 3) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 4) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 5) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 6) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 7) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 8) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 == 9) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==10) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==11) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==12) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==13) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==14) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==15) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignal2 ==16) HBnegativedirectionRecosignal2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); - HBnegativedirectionRecosignal2->Draw("Error"); - kcountHBnegativedirectionRecosignal2++; - if(kcountHBnegativedirectionRecosignal2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + int kcountHBnegativedirectionRecosignal2 = 1; + TH1F* h2CeffHBnegativedirectionRecosignal2 = new TH1F("h2CeffHBnegativedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBnegativedirectionRecosignal2 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal2 == 1) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 2) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 3) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 4) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 5) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 6) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 7) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 8) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 9) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 10) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 11) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 12) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 13) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 14) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 15) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignal2 == 16) + HBnegativedirectionRecosignal2->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionRecosignal2->Draw("Error"); + kcountHBnegativedirectionRecosignal2++; + if (kcountHBnegativedirectionRecosignal2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal2) delete h2CeffHBnegativedirectionRecosignal2; - //========================================================================================== 1116 + if (h2CeffHBnegativedirectionRecosignal2) + delete h2CeffHBnegativedirectionRecosignal2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionRecosignal3=1; - TH1F* h2CeffHBnegativedirectionRecosignal3 = new TH1F("h2CeffHBnegativedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBnegativedirectionRecosignal3 = "<SetMarkerColor(2);HBnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal3 == 1) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 2) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 3) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 4) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 5) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 6) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 7) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 8) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 == 9) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==10) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==11) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==12) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==13) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==14) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==15) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignal3 ==16) HBnegativedirectionRecosignal3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); - - HBnegativedirectionRecosignal3->Draw("Error"); - kcountHBnegativedirectionRecosignal3++; - if(kcountHBnegativedirectionRecosignal3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + int kcountHBnegativedirectionRecosignal3 = 1; + TH1F* h2CeffHBnegativedirectionRecosignal3 = new TH1F("h2CeffHBnegativedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBnegativedirectionRecosignal3 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal3 == 1) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 2) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 3) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 4) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 5) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 6) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 7) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 8) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 9) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 10) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 11) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 12) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 13) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 14) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 15) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignal3 == 16) + HBnegativedirectionRecosignal3->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionRecosignal3->Draw("Error"); + kcountHBnegativedirectionRecosignal3++; + if (kcountHBnegativedirectionRecosignal3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal3) delete h2CeffHBnegativedirectionRecosignal3; - //========================================================================================== 1117 + if (h2CeffHBnegativedirectionRecosignal3) + delete h2CeffHBnegativedirectionRecosignal3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionRecosignal4=1; - TH1F* h2CeffHBnegativedirectionRecosignal4 = new TH1F("h2CeffHBnegativedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBnegativedirectionRecosignal4 = "<SetMarkerColor(2);HBnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignal4 == 1) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 2) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 3) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 4) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 5) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 6) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 7) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 8) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 == 9) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==10) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==11) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==12) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==13) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==14) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==15) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignal4 ==16) HBnegativedirectionRecosignal4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); - HBnegativedirectionRecosignal4->Draw("Error"); - kcountHBnegativedirectionRecosignal4++; - if(kcountHBnegativedirectionRecosignal4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + int kcountHBnegativedirectionRecosignal4 = 1; + TH1F* h2CeffHBnegativedirectionRecosignal4 = new TH1F("h2CeffHBnegativedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBnegativedirectionRecosignal4 = "<SetMarkerColor(2); + HBnegativedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignal4 == 1) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 2) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 3) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 4) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 5) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 6) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 7) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 8) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 9) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 10) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 11) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 12) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 13) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 14) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 15) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignal4 == 16) + HBnegativedirectionRecosignal4->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionRecosignal4->Draw("Error"); + kcountHBnegativedirectionRecosignal4++; + if (kcountHBnegativedirectionRecosignal4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignal4) delete h2CeffHBnegativedirectionRecosignal4; + if (h2CeffHBnegativedirectionRecosignal4) + delete h2CeffHBnegativedirectionRecosignal4; //====================================================================================================================== //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HB1"); - TH2F *recosignalVariance0HB1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HB1"); + TH2F* recosignalVariance0HB1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB1"); TH2F* recosignalVarianceHB1 = (TH2F*)recosignalVariance1HB1->Clone("recosignalVarianceHB1"); - recosignalVarianceHB1->Divide(recosignalVariance1HB1,recosignalVariance0HB1, 1, 1, "B"); - TH2F *recosignalVariance1HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB2"); - TH2F *recosignalVariance0HB2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); + recosignalVarianceHB1->Divide(recosignalVariance1HB1, recosignalVariance0HB1, 1, 1, "B"); + TH2F* recosignalVariance1HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB2"); + TH2F* recosignalVariance0HB2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB2"); TH2F* recosignalVarianceHB2 = (TH2F*)recosignalVariance1HB2->Clone("recosignalVarianceHB2"); - recosignalVarianceHB2->Divide(recosignalVariance1HB2,recosignalVariance0HB2, 1, 1, "B"); - TH2F *recosignalVariance1HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB3"); - TH2F *recosignalVariance0HB3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); + recosignalVarianceHB2->Divide(recosignalVariance1HB2, recosignalVariance0HB2, 1, 1, "B"); + TH2F* recosignalVariance1HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB3"); + TH2F* recosignalVariance0HB3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB3"); TH2F* recosignalVarianceHB3 = (TH2F*)recosignalVariance1HB3->Clone("recosignalVarianceHB3"); - recosignalVarianceHB3->Divide(recosignalVariance1HB3,recosignalVariance0HB3, 1, 1, "B"); - TH2F *recosignalVariance1HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB4"); - TH2F *recosignalVariance0HB4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); + recosignalVarianceHB3->Divide(recosignalVariance1HB3, recosignalVariance0HB3, 1, 1, "B"); + TH2F* recosignalVariance1HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HB4"); + TH2F* recosignalVariance0HB4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HB4"); TH2F* recosignalVarianceHB4 = (TH2F*)recosignalVariance1HB4->Clone("recosignalVarianceHB4"); - recosignalVarianceHB4->Divide(recosignalVariance1HB4,recosignalVariance0HB4, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHB - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - recosignalvarianceHB[1][jeta][jphi] = recosignalVarianceHB2->GetBinContent(jeta+1,jphi+1); - recosignalvarianceHB[2][jeta][jphi] = recosignalVarianceHB3->GetBinContent(jeta+1,jphi+1); - recosignalvarianceHB[3][jeta][jphi] = recosignalVarianceHB4->GetBinContent(jeta+1,jphi+1); - if(recosignalvarianceHB[0][jeta][jphi] > 0.) {sumrecosignalHB0 += recosignalvarianceHB[0][jeta][jphi];++nsumrecosignalHB0;} - if(recosignalvarianceHB[1][jeta][jphi] > 0.) {sumrecosignalHB1 += recosignalvarianceHB[1][jeta][jphi];++nsumrecosignalHB1;} - if(recosignalvarianceHB[2][jeta][jphi] > 0.) {sumrecosignalHB2 += recosignalvarianceHB[2][jeta][jphi];++nsumrecosignalHB2;} - if(recosignalvarianceHB[3][jeta][jphi] > 0.) {sumrecosignalHB3 += recosignalvarianceHB[3][jeta][jphi];++nsumrecosignalHB3;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) recosignalvarianceHB[0][jeta][jphi] /= (sumrecosignalHB0/nsumrecosignalHB0) ; - if(recosignalvarianceHB[1][jeta][jphi] > 0.) recosignalvarianceHB[1][jeta][jphi] /= (sumrecosignalHB1/nsumrecosignalHB1) ; - if(recosignalvarianceHB[2][jeta][jphi] > 0.) recosignalvarianceHB[2][jeta][jphi] /= (sumrecosignalHB2/nsumrecosignalHB2) ; - if(recosignalvarianceHB[3][jeta][jphi] > 0.) recosignalvarianceHB[3][jeta][jphi] /= (sumrecosignalHB3/nsumrecosignalHB3) ; - }// phi - // recosignalvarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive recosignalvarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumrecosignalHB0 = 0; + int nsumrecosignalHB0 = 0; + double sumrecosignalHB1 = 0; + int nsumrecosignalHB1 = 0; + double sumrecosignalHB2 = 0; + int nsumrecosignalHB2 = 0; + double sumrecosignalHB3 = 0; + int nsumrecosignalHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + recosignalvarianceHB[0][jeta][jphi] = recosignalVarianceHB1->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHB[1][jeta][jphi] = recosignalVarianceHB2->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHB[2][jeta][jphi] = recosignalVarianceHB3->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHB[3][jeta][jphi] = recosignalVarianceHB4->GetBinContent(jeta + 1, jphi + 1); + if (recosignalvarianceHB[0][jeta][jphi] > 0.) { + sumrecosignalHB0 += recosignalvarianceHB[0][jeta][jphi]; + ++nsumrecosignalHB0; } - //cout<<" Vaiance: DONE*****" < 0.) { + sumrecosignalHB1 += recosignalvarianceHB[1][jeta][jphi]; + ++nsumrecosignalHB1; + } + if (recosignalvarianceHB[2][jeta][jphi] > 0.) { + sumrecosignalHB2 += recosignalvarianceHB[2][jeta][jphi]; + ++nsumrecosignalHB2; + } + if (recosignalvarianceHB[3][jeta][jphi] > 0.) { + sumrecosignalHB3 += recosignalvarianceHB[3][jeta][jphi]; + ++nsumrecosignalHB3; + } + } // phi + // PHI normalization : + for (int jphi = 0; jphi < njphi; jphi++) { + if (recosignalvarianceHB[0][jeta][jphi] > 0.) + recosignalvarianceHB[0][jeta][jphi] /= (sumrecosignalHB0 / nsumrecosignalHB0); + if (recosignalvarianceHB[1][jeta][jphi] > 0.) + recosignalvarianceHB[1][jeta][jphi] /= (sumrecosignalHB1 / nsumrecosignalHB1); + if (recosignalvarianceHB[2][jeta][jphi] > 0.) + recosignalvarianceHB[2][jeta][jphi] /= (sumrecosignalHB2 / nsumrecosignalHB2); + if (recosignalvarianceHB[3][jeta][jphi] > 0.) + recosignalvarianceHB[3][jeta][jphi] /= (sumrecosignalHB3 / nsumrecosignalHB3); + } // phi + // recosignalvarianceHB (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDrecosignalHB42D = new TH2F("DefzDrecosignalHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHB42D0 = new TH2F("DefzDrecosignalHB42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHB42DF = (TH2F*)DefzDrecosignalHB42D0->Clone("DefzDrecosignalHB42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(arecosignalHB[i][jeta][jphi]>0.) {DefzDrecosignalHB42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHB42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDrecosignalHB42DF->Divide(DefzDrecosignalHB42D,DefzDrecosignalHB42D0, 1, 1, "B");// average A - // DefzDrecosignalHB1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHB42DF->SetMarkerStyle(20); DefzDrecosignalHB42DF->SetMarkerSize(0.4); DefzDrecosignalHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHB42DF->SetYTitle(" #phi \b"); DefzDrecosignalHB42DF->SetZTitle("_depth \b"); DefzDrecosignalHB42DF->SetMarkerColor(2); DefzDrecosignalHB42DF->SetLineColor(0); // DefzDrecosignalHB42DF->SetMaximum(1.000); // DefzDrecosignalHB42DF->SetMinimum(1.0); - DefzDrecosignalHB42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DrecosignalGeneralD2PhiSymmetryHB.png"); - c1x0->Clear(); - // clean-up - if (DefzDrecosignalHB42D) delete DefzDrecosignalHB42D; - if (DefzDrecosignalHB42D0) delete DefzDrecosignalHB42D0; - if (DefzDrecosignalHB42DF) delete DefzDrecosignalHB42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDrecosignalHB42D = new TH2F("DefzDrecosignalHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHB42D0 = new TH2F("DefzDrecosignalHB42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHB42DF = (TH2F*)DefzDrecosignalHB42D0->Clone("DefzDrecosignalHB42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (arecosignalHB[i][jeta][jphi] > 0.) { + DefzDrecosignalHB42D->Fill(kkk, jphi, ccc1); + DefzDrecosignalHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDrecosignalHB42DF->Divide(DefzDrecosignalHB42D, DefzDrecosignalHB42D0, 1, 1, "B"); // average A + // DefzDrecosignalHB1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB42DF->SetMarkerStyle(20); + DefzDrecosignalHB42DF->SetMarkerSize(0.4); + DefzDrecosignalHB42DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHB42DF->SetXTitle("_depth #eta \b"); + DefzDrecosignalHB42DF->SetYTitle(" #phi \b"); + DefzDrecosignalHB42DF->SetZTitle("_depth \b"); + DefzDrecosignalHB42DF->SetMarkerColor(2); + DefzDrecosignalHB42DF->SetLineColor( + 0); // DefzDrecosignalHB42DF->SetMaximum(1.000); // DefzDrecosignalHB42DF->SetMinimum(1.0); + DefzDrecosignalHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHB42D) + delete DefzDrecosignalHB42D; + if (DefzDrecosignalHB42D0) + delete DefzDrecosignalHB42D0; + if (DefzDrecosignalHB42DF) + delete DefzDrecosignalHB42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDrecosignalHB41D = new TH1F("DefzDrecosignalHB41D","", nphi, 0., 72. ); - TH1F* DefzDrecosignalHB41D0 = new TH1F("DefzDrecosignalHB41D0","",nphi, 0., 72. ); - TH1F* DefzDrecosignalHB41DF = (TH1F*)DefzDrecosignalHB41D0->Clone("DefzDrecosignalHB41DF"); - - for (int jphi=0;jphi0.) {DefzDrecosignalHB41D ->Fill(jphi,ccc1); DefzDrecosignalHB41D0 ->Fill(jphi,1.); } - }}} - // DefzDrecosignalHB41D->Sumw2();DefzDrecosignalHB41D0->Sumw2(); - - DefzDrecosignalHB41DF->Divide(DefzDrecosignalHB41D,DefzDrecosignalHB41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDrecosignalHB41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHB41DF->SetMarkerStyle(20); DefzDrecosignalHB41DF->SetMarkerSize(1.4); DefzDrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHB41DF->SetXTitle("#phi \b"); DefzDrecosignalHB41DF->SetYTitle(" \b"); DefzDrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHB41DF->SetMarkerColor(4); DefzDrecosignalHB41DF->SetLineColor(4);// DefzDrecosignalHB41DF->SetMinimum(0.8); DefzDrecosignalHB41DF->SetMinimum(-0.015); - DefzDrecosignalHB41DF->Draw("Error"); + TH1F* DefzDrecosignalHB41D = new TH1F("DefzDrecosignalHB41D", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHB41D0 = new TH1F("DefzDrecosignalHB41D0", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHB41DF = (TH1F*)DefzDrecosignalHB41D0->Clone("DefzDrecosignalHB41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + DefzDrecosignalHB41D->Fill(jphi, ccc1); + DefzDrecosignalHB41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDrecosignalHB41D->Sumw2();DefzDrecosignalHB41D0->Sumw2(); + + DefzDrecosignalHB41DF->Divide( + DefzDrecosignalHB41D, DefzDrecosignalHB41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDrecosignalHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHB41DF->SetMarkerStyle(20); + DefzDrecosignalHB41DF->SetMarkerSize(1.4); + DefzDrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHB41DF->SetXTitle("#phi \b"); + DefzDrecosignalHB41DF->SetYTitle(" \b"); + DefzDrecosignalHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDrecosignalHB41DF->SetMarkerColor(4); + DefzDrecosignalHB41DF->SetLineColor( + 4); // DefzDrecosignalHB41DF->SetMinimum(0.8); DefzDrecosignalHB41DF->SetMinimum(-0.015); + DefzDrecosignalHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DrecosignalGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (DefzDrecosignalHB41D) delete DefzDrecosignalHB41D; - if (DefzDrecosignalHB41D0) delete DefzDrecosignalHB41D0; - if (DefzDrecosignalHB41DF) delete DefzDrecosignalHB41DF; - - //========================================================================================== 14 + if (DefzDrecosignalHB41D) + delete DefzDrecosignalHB41D; + if (DefzDrecosignalHB41D0) + delete DefzDrecosignalHB41D0; + if (DefzDrecosignalHB41DF) + delete DefzDrecosignalHB41DF; + + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD1=1; - TH1F* h2CeffHBpositivedirectionRecosignalD1 = new TH1F("h2CeffHBpositivedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD1 == 1) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 2) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 3) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 4) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 5) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 6) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 7) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 8) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 == 9) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==10) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==11) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==12) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==13) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==14) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==15) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionRecosignalD1 ==16) HBpositivedirectionRecosignalD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionRecosignalD1->Draw("Error"); - kcountHBpositivedirectionRecosignalD1++; - if(kcountHBpositivedirectionRecosignalD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionRecosignalD1 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD1 = new TH1F("h2CeffHBpositivedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBpositivedirectionRecosignalD1 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD1 == 1) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 2) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 3) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 4) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 5) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 6) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 7) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 8) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 9) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 10) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 11) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 12) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 13) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 14) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 15) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionRecosignalD1 == 16) + HBpositivedirectionRecosignalD1->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionRecosignalD1->Draw("Error"); + kcountHBpositivedirectionRecosignalD1++; + if (kcountHBpositivedirectionRecosignalD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD1) delete h2CeffHBpositivedirectionRecosignalD1; - //========================================================================================== 15 + if (h2CeffHBpositivedirectionRecosignalD1) + delete h2CeffHBpositivedirectionRecosignalD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD2=1; - TH1F* h2CeffHBpositivedirectionRecosignalD2 = new TH1F("h2CeffHBpositivedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD2 == 1) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 2) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 3) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 4) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 5) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 6) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 7) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 8) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 == 9) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==10) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==11) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==12) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==13) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==14) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==15) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionRecosignalD2 ==16) HBpositivedirectionRecosignalD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionRecosignalD2->Draw("Error"); - kcountHBpositivedirectionRecosignalD2++; - if(kcountHBpositivedirectionRecosignalD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionRecosignalD2 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD2 = new TH1F("h2CeffHBpositivedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBpositivedirectionRecosignalD2 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD2 == 1) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 2) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 3) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 4) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 5) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 6) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 7) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 8) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 9) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 10) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 11) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 12) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 13) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 14) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 15) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionRecosignalD2 == 16) + HBpositivedirectionRecosignalD2->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionRecosignalD2->Draw("Error"); + kcountHBpositivedirectionRecosignalD2++; + if (kcountHBpositivedirectionRecosignalD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD2) delete h2CeffHBpositivedirectionRecosignalD2; - //========================================================================================== 16 + if (h2CeffHBpositivedirectionRecosignalD2) + delete h2CeffHBpositivedirectionRecosignalD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD3=1; - TH1F* h2CeffHBpositivedirectionRecosignalD3 = new TH1F("h2CeffHBpositivedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD3 == 1) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 2) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 3) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 4) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 5) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 6) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 7) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 8) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 == 9) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==10) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==11) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==12) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==13) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==14) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==15) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionRecosignalD3 ==16) HBpositivedirectionRecosignalD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionRecosignalD3->Draw("Error"); - kcountHBpositivedirectionRecosignalD3++; - if(kcountHBpositivedirectionRecosignalD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionRecosignalD3 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD3 = new TH1F("h2CeffHBpositivedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBpositivedirectionRecosignalD3 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD3 == 1) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 2) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 3) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 4) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 5) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 6) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 7) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 8) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 9) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 10) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 11) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 12) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 13) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 14) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 15) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionRecosignalD3 == 16) + HBpositivedirectionRecosignalD3->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionRecosignalD3->Draw("Error"); + kcountHBpositivedirectionRecosignalD3++; + if (kcountHBpositivedirectionRecosignalD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD3) delete h2CeffHBpositivedirectionRecosignalD3; - //========================================================================================== 17 + if (h2CeffHBpositivedirectionRecosignalD3) + delete h2CeffHBpositivedirectionRecosignalD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionRecosignalD4=1; - TH1F* h2CeffHBpositivedirectionRecosignalD4 = new TH1F("h2CeffHBpositivedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HBpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionRecosignalD4 == 1) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 2) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 3) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 4) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 5) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 6) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 7) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 8) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 == 9) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==10) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==11) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==12) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==13) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==14) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==15) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionRecosignalD4 ==16) HBpositivedirectionRecosignalD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionRecosignalD4->Draw("Error"); - kcountHBpositivedirectionRecosignalD4++; - if(kcountHBpositivedirectionRecosignalD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionRecosignalD4 = 1; + TH1F* h2CeffHBpositivedirectionRecosignalD4 = new TH1F("h2CeffHBpositivedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBpositivedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBpositivedirectionRecosignalD4 = "<SetMarkerColor(2); + HBpositivedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionRecosignalD4 == 1) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 2) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 3) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 4) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 5) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 6) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 7) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 8) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 9) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 10) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 11) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 12) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 13) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 14) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 15) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionRecosignalD4 == 16) + HBpositivedirectionRecosignalD4->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionRecosignalD4->Draw("Error"); + kcountHBpositivedirectionRecosignalD4++; + if (kcountHBpositivedirectionRecosignalD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionRecosignalD4) delete h2CeffHBpositivedirectionRecosignalD4; - + if (h2CeffHBpositivedirectionRecosignalD4) + delete h2CeffHBpositivedirectionRecosignalD4; - //========================================================================================== 22214 + //========================================================================================== 22214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD1=1; - TH1F* h2CeffHBnegativedirectionRecosignalD1 = new TH1F("h2CeffHBnegativedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD1 == 1) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 2) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 3) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 4) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 5) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 6) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 7) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 8) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 == 9) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==10) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==11) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==12) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==13) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==14) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==15) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionRecosignalD1 ==16) HBnegativedirectionRecosignalD1 ->SetXTitle("D for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionRecosignalD1->Draw("Error"); - kcountHBnegativedirectionRecosignalD1++; - if(kcountHBnegativedirectionRecosignalD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHBnegativedirectionRecosignalD1 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD1 = new TH1F("h2CeffHBnegativedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBnegativedirectionRecosignalD1 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD1 == 1) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 2) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 3) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 4) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 5) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 6) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 7) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 8) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 9) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 10) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 11) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 12) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 13) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 14) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 15) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionRecosignalD1 == 16) + HBnegativedirectionRecosignalD1->SetXTitle("D for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionRecosignalD1->Draw("Error"); + kcountHBnegativedirectionRecosignalD1++; + if (kcountHBnegativedirectionRecosignalD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD1) delete h2CeffHBnegativedirectionRecosignalD1; - //========================================================================================== 22215 + if (h2CeffHBnegativedirectionRecosignalD1) + delete h2CeffHBnegativedirectionRecosignalD1; + //========================================================================================== 22215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD2=1; - TH1F* h2CeffHBnegativedirectionRecosignalD2 = new TH1F("h2CeffHBnegativedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD2 == 1) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 2) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 3) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 4) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 5) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 6) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 7) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 8) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-9 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 == 9) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-8 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==10) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-7 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==11) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-6 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==12) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-5 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==13) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-4 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==14) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-3 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==15) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-2 ; depth = 2 \b"); - if(kcountHBnegativedirectionRecosignalD2 ==16) HBnegativedirectionRecosignalD2 ->SetXTitle("D for HB- jeta =-1 ; depth = 2 \b"); - HBnegativedirectionRecosignalD2->Draw("Error"); - kcountHBnegativedirectionRecosignalD2++; - if(kcountHBnegativedirectionRecosignalD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHBnegativedirectionRecosignalD2 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD2 = new TH1F("h2CeffHBnegativedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBnegativedirectionRecosignalD2 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD2 == 1) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 2) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 3) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 4) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 5) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 6) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 7) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 8) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-9 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 9) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-8 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 10) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-7 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 11) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-6 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 12) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-5 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 13) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-4 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 14) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-3 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 15) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-2 ; depth = 2 \b"); + if (kcountHBnegativedirectionRecosignalD2 == 16) + HBnegativedirectionRecosignalD2->SetXTitle("D for HB- jeta =-1 ; depth = 2 \b"); + HBnegativedirectionRecosignalD2->Draw("Error"); + kcountHBnegativedirectionRecosignalD2++; + if (kcountHBnegativedirectionRecosignalD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD2) delete h2CeffHBnegativedirectionRecosignalD2; - //========================================================================================== 22216 + if (h2CeffHBnegativedirectionRecosignalD2) + delete h2CeffHBnegativedirectionRecosignalD2; + //========================================================================================== 22216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD3=1; - TH1F* h2CeffHBnegativedirectionRecosignalD3 = new TH1F("h2CeffHBnegativedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD3 == 1) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 2) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 3) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 4) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 5) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 6) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 7) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 8) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-9 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 == 9) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-8 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==10) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-7 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==11) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-6 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==12) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-5 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==13) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-4 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==14) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-3 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==15) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-2 ; depth = 3 \b"); - if(kcountHBnegativedirectionRecosignalD3 ==16) HBnegativedirectionRecosignalD3 ->SetXTitle("D for HB- jeta =-1 ; depth = 3 \b"); - HBnegativedirectionRecosignalD3->Draw("Error"); - kcountHBnegativedirectionRecosignalD3++; - if(kcountHBnegativedirectionRecosignalD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHBnegativedirectionRecosignalD3 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD3 = new TH1F("h2CeffHBnegativedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBnegativedirectionRecosignalD3 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD3 == 1) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 2) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 3) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 4) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 5) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 6) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 7) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 8) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-9 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 9) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-8 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 10) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-7 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 11) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-6 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 12) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-5 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 13) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-4 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 14) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-3 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 15) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-2 ; depth = 3 \b"); + if (kcountHBnegativedirectionRecosignalD3 == 16) + HBnegativedirectionRecosignalD3->SetXTitle("D for HB- jeta =-1 ; depth = 3 \b"); + HBnegativedirectionRecosignalD3->Draw("Error"); + kcountHBnegativedirectionRecosignalD3++; + if (kcountHBnegativedirectionRecosignalD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD3) delete h2CeffHBnegativedirectionRecosignalD3; + if (h2CeffHBnegativedirectionRecosignalD3) + delete h2CeffHBnegativedirectionRecosignalD3; //========================================================================================== 22217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionRecosignalD4=1; - TH1F* h2CeffHBnegativedirectionRecosignalD4 = new TH1F("h2CeffHBnegativedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HBnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionRecosignalD4 == 1) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 2) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 3) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 4) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 5) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 6) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 7) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 8) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-9 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 == 9) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-8 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==10) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-7 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==11) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-6 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==12) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-5 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==13) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-4 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==14) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-3 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==15) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-2 ; depth = 4 \b"); - if(kcountHBnegativedirectionRecosignalD4 ==16) HBnegativedirectionRecosignalD4 ->SetXTitle("D for HB- jeta =-1 ; depth = 4 \b"); - HBnegativedirectionRecosignalD4->Draw("Error"); - kcountHBnegativedirectionRecosignalD4++; - if(kcountHBnegativedirectionRecosignalD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHBnegativedirectionRecosignalD4 = 1; + TH1F* h2CeffHBnegativedirectionRecosignalD4 = new TH1F("h2CeffHBnegativedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHB[i][jeta][jphi]; + if (arecosignalHB[i][jeta][jphi] > 0.) { + HBnegativedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBnegativedirectionRecosignalD4 = "<SetMarkerColor(2); + HBnegativedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionRecosignalD4 == 1) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 2) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 3) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 4) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 5) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 6) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 7) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 8) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-9 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 9) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-8 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 10) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-7 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 11) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-6 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 12) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-5 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 13) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-4 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 14) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-3 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 15) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-2 ; depth = 4 \b"); + if (kcountHBnegativedirectionRecosignalD4 == 16) + HBnegativedirectionRecosignalD4->SetXTitle("D for HB- jeta =-1 ; depth = 4 \b"); + HBnegativedirectionRecosignalD4->Draw("Error"); + kcountHBnegativedirectionRecosignalD4++; + if (kcountHBnegativedirectionRecosignalD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionRecosignalD4) delete h2CeffHBnegativedirectionRecosignalD4; - - - + if (h2CeffHBnegativedirectionRecosignalD4) + delete h2CeffHBnegativedirectionRecosignalD4; //===================================================================== END of Recosignal HB for phi-symmetry //===================================================================== END of Recosignal HB for phi-symmetry //===================================================================== END of Recosignal HB for phi-symmetry - - - - - - //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HE - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[3]; - ndepth = 7; - // const int ndepth = 7; - double arecosignalhe[ndepth][njeta][njphi]; - double recosignalvariancehe[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double arecosignalhe[ndepth][njeta][njphi]; + double recosignalvariancehe[ndepth][njeta][njphi]; // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Recosignal HE - TH2F *recSignalEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE1"); - TH2F *recSignalEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + TH2F* recSignalEnergy1HE1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE1"); + TH2F* recSignalEnergy0HE1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); TH2F* recSignalEnergyHE1 = (TH2F*)recSignalEnergy1HE1->Clone("recSignalEnergyHE1"); - recSignalEnergyHE1->Divide(recSignalEnergy1HE1,recSignalEnergy0HE1, 1, 1, "B"); - TH2F *recSignalEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE2"); - TH2F *recSignalEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + recSignalEnergyHE1->Divide(recSignalEnergy1HE1, recSignalEnergy0HE1, 1, 1, "B"); + TH2F* recSignalEnergy1HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE2"); + TH2F* recSignalEnergy0HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); TH2F* recSignalEnergyHE2 = (TH2F*)recSignalEnergy1HE2->Clone("recSignalEnergyHE2"); - recSignalEnergyHE2->Divide(recSignalEnergy1HE2,recSignalEnergy0HE2, 1, 1, "B"); - TH2F *recSignalEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE3"); - TH2F *recSignalEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + recSignalEnergyHE2->Divide(recSignalEnergy1HE2, recSignalEnergy0HE2, 1, 1, "B"); + TH2F* recSignalEnergy1HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE3"); + TH2F* recSignalEnergy0HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); TH2F* recSignalEnergyHE3 = (TH2F*)recSignalEnergy1HE3->Clone("recSignalEnergyHE3"); - recSignalEnergyHE3->Divide(recSignalEnergy1HE3,recSignalEnergy0HE3, 1, 1, "B"); - TH2F *recSignalEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE4"); - TH2F *recSignalEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + recSignalEnergyHE3->Divide(recSignalEnergy1HE3, recSignalEnergy0HE3, 1, 1, "B"); + TH2F* recSignalEnergy1HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE4"); + TH2F* recSignalEnergy0HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); TH2F* recSignalEnergyHE4 = (TH2F*)recSignalEnergy1HE4->Clone("recSignalEnergyHE4"); - recSignalEnergyHE4->Divide(recSignalEnergy1HE4,recSignalEnergy0HE4, 1, 1, "B"); - TH2F *recSignalEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE5"); - TH2F *recSignalEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + recSignalEnergyHE4->Divide(recSignalEnergy1HE4, recSignalEnergy0HE4, 1, 1, "B"); + TH2F* recSignalEnergy1HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE5"); + TH2F* recSignalEnergy0HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); TH2F* recSignalEnergyHE5 = (TH2F*)recSignalEnergy1HE5->Clone("recSignalEnergyHE5"); - recSignalEnergyHE5->Divide(recSignalEnergy1HE5,recSignalEnergy0HE5, 1, 1, "B"); - TH2F *recSignalEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE6"); - TH2F *recSignalEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + recSignalEnergyHE5->Divide(recSignalEnergy1HE5, recSignalEnergy0HE5, 1, 1, "B"); + TH2F* recSignalEnergy1HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE6"); + TH2F* recSignalEnergy0HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); TH2F* recSignalEnergyHE6 = (TH2F*)recSignalEnergy1HE6->Clone("recSignalEnergyHE6"); - recSignalEnergyHE6->Divide(recSignalEnergy1HE6,recSignalEnergy0HE6, 1, 1, "B"); - TH2F *recSignalEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE7"); - TH2F *recSignalEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + recSignalEnergyHE6->Divide(recSignalEnergy1HE6, recSignalEnergy0HE6, 1, 1, "B"); + TH2F* recSignalEnergy1HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HE7"); + TH2F* recSignalEnergy0HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); TH2F* recSignalEnergyHE7 = (TH2F*)recSignalEnergy1HE7->Clone("recSignalEnergyHE7"); - recSignalEnergyHE7->Divide(recSignalEnergy1HE7,recSignalEnergy0HE7, 1, 1, "B"); - for(int jeta=0;jetaDivide(recSignalEnergy1HE7, recSignalEnergy0HE7, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { //====================================================================== PHI normalization & put R into massive arecosignalhe - //preparation for PHI normalization: - double sumrecosignalHE0=0;int nsumrecosignalHE0=0;double sumrecosignalHE1=0;int nsumrecosignalHE1=0;double sumrecosignalHE2=0;int nsumrecosignalHE2=0;double sumrecosignalHE3=0;int nsumrecosignalHE3=0; - double sumrecosignalHE4=0;int nsumrecosignalHE4=0;double sumrecosignalHE5=0;int nsumrecosignalHE5=0;double sumrecosignalHE6=0;int nsumrecosignalHE6=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - arecosignalhe[1][jeta][jphi] = recSignalEnergyHE2->GetBinContent(jeta+1,jphi+1); - arecosignalhe[2][jeta][jphi] = recSignalEnergyHE3->GetBinContent(jeta+1,jphi+1); - arecosignalhe[3][jeta][jphi] = recSignalEnergyHE4->GetBinContent(jeta+1,jphi+1); - arecosignalhe[4][jeta][jphi] = recSignalEnergyHE5->GetBinContent(jeta+1,jphi+1); - arecosignalhe[5][jeta][jphi] = recSignalEnergyHE6->GetBinContent(jeta+1,jphi+1); - arecosignalhe[6][jeta][jphi] = recSignalEnergyHE7->GetBinContent(jeta+1,jphi+1); - if(arecosignalhe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += arecosignalhe[0][jeta][jphi];++nsumrecosignalHE0;} - if(arecosignalhe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += arecosignalhe[1][jeta][jphi];++nsumrecosignalHE1;} - if(arecosignalhe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += arecosignalhe[2][jeta][jphi];++nsumrecosignalHE2;} - if(arecosignalhe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += arecosignalhe[3][jeta][jphi];++nsumrecosignalHE3;} - if(arecosignalhe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += arecosignalhe[4][jeta][jphi];++nsumrecosignalHE4;} - if(arecosignalhe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += arecosignalhe[5][jeta][jphi];++nsumrecosignalHE5;} - if(arecosignalhe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += arecosignalhe[6][jeta][jphi];++nsumrecosignalHE6;} - }// phi - // PHI normalization: - for(int jphi=0;jphi 0.) arecosignalhe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; - if(arecosignalhe[1][jeta][jphi] > 0.) arecosignalhe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; - if(arecosignalhe[2][jeta][jphi] > 0.) arecosignalhe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; - if(arecosignalhe[3][jeta][jphi] > 0.) arecosignalhe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; - if(arecosignalhe[4][jeta][jphi] > 0.) arecosignalhe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; - if(arecosignalhe[5][jeta][jphi] > 0.) arecosignalhe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; - if(arecosignalhe[6][jeta][jphi] > 0.) arecosignalhe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; - }// phi - }//eta + //preparation for PHI normalization: + double sumrecosignalHE0 = 0; + int nsumrecosignalHE0 = 0; + double sumrecosignalHE1 = 0; + int nsumrecosignalHE1 = 0; + double sumrecosignalHE2 = 0; + int nsumrecosignalHE2 = 0; + double sumrecosignalHE3 = 0; + int nsumrecosignalHE3 = 0; + double sumrecosignalHE4 = 0; + int nsumrecosignalHE4 = 0; + double sumrecosignalHE5 = 0; + int nsumrecosignalHE5 = 0; + double sumrecosignalHE6 = 0; + int nsumrecosignalHE6 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + arecosignalhe[0][jeta][jphi] = recSignalEnergyHE1->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[1][jeta][jphi] = recSignalEnergyHE2->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[2][jeta][jphi] = recSignalEnergyHE3->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[3][jeta][jphi] = recSignalEnergyHE4->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[4][jeta][jphi] = recSignalEnergyHE5->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[5][jeta][jphi] = recSignalEnergyHE6->GetBinContent(jeta + 1, jphi + 1); + arecosignalhe[6][jeta][jphi] = recSignalEnergyHE7->GetBinContent(jeta + 1, jphi + 1); + if (arecosignalhe[0][jeta][jphi] > 0.) { + sumrecosignalHE0 += arecosignalhe[0][jeta][jphi]; + ++nsumrecosignalHE0; + } + if (arecosignalhe[1][jeta][jphi] > 0.) { + sumrecosignalHE1 += arecosignalhe[1][jeta][jphi]; + ++nsumrecosignalHE1; + } + if (arecosignalhe[2][jeta][jphi] > 0.) { + sumrecosignalHE2 += arecosignalhe[2][jeta][jphi]; + ++nsumrecosignalHE2; + } + if (arecosignalhe[3][jeta][jphi] > 0.) { + sumrecosignalHE3 += arecosignalhe[3][jeta][jphi]; + ++nsumrecosignalHE3; + } + if (arecosignalhe[4][jeta][jphi] > 0.) { + sumrecosignalHE4 += arecosignalhe[4][jeta][jphi]; + ++nsumrecosignalHE4; + } + if (arecosignalhe[5][jeta][jphi] > 0.) { + sumrecosignalHE5 += arecosignalhe[5][jeta][jphi]; + ++nsumrecosignalHE5; + } + if (arecosignalhe[6][jeta][jphi] > 0.) { + sumrecosignalHE6 += arecosignalhe[6][jeta][jphi]; + ++nsumrecosignalHE6; + } + } // phi + // PHI normalization: + for (int jphi = 0; jphi < njphi; jphi++) { + if (arecosignalhe[0][jeta][jphi] > 0.) + arecosignalhe[0][jeta][jphi] /= (sumrecosignalHE0 / nsumrecosignalHE0); + if (arecosignalhe[1][jeta][jphi] > 0.) + arecosignalhe[1][jeta][jphi] /= (sumrecosignalHE1 / nsumrecosignalHE1); + if (arecosignalhe[2][jeta][jphi] > 0.) + arecosignalhe[2][jeta][jphi] /= (sumrecosignalHE2 / nsumrecosignalHE2); + if (arecosignalhe[3][jeta][jphi] > 0.) + arecosignalhe[3][jeta][jphi] /= (sumrecosignalHE3 / nsumrecosignalHE3); + if (arecosignalhe[4][jeta][jphi] > 0.) + arecosignalhe[4][jeta][jphi] /= (sumrecosignalHE4 / nsumrecosignalHE4); + if (arecosignalhe[5][jeta][jphi] > 0.) + arecosignalhe[5][jeta][jphi] /= (sumrecosignalHE5 / nsumrecosignalHE5); + if (arecosignalhe[6][jeta][jphi] > 0.) + arecosignalhe[6][jeta][jphi] /= (sumrecosignalHE6 / nsumrecosignalHE6); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthes //====================================================================== //====================================================================== //cout<<" R2D-eta/phi-plot: R, averaged over depthes *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRrecosignalHE42D = new TH2F("GefzRrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRrecosignalHE42D0 = new TH2F("GefzRrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHE42D = new TH2F("GefzRrecosignalHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRrecosignalHE42D0 = new TH2F("GefzRrecosignalHE42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRrecosignalHE42DF = (TH2F*)GefzRrecosignalHE42D0->Clone("GefzRrecosignalHE42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRrecosignalHE42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHE42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRrecosignalHE42DF->Divide(GefzRrecosignalHE42D,GefzRrecosignalHE42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHE42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHE42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRrecosignalHE42D->Fill(kkk, jphi, ccc1); + GefzRrecosignalHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRrecosignalHE42DF->Divide(GefzRrecosignalHE42D, GefzRrecosignalHE42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE42DF->SetXTitle("_depth #eta \b"); + GefzRrecosignalHE42DF->SetYTitle(" #phi \b"); GefzRrecosignalHE42DF->Draw("COLZ"); c2x1->cd(2); - TH1F *energyhitSignal_HE= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HE"); - energyhitSignal_HE ->SetMarkerStyle(20);energyhitSignal_HE ->SetMarkerSize(0.4);energyhitSignal_HE ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HE ->SetXTitle("energyhitSignal_HE \b");energyhitSignal_HE ->SetMarkerColor(2);energyhitSignal_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HE ->Draw("Error"); - - + TH1F* energyhitSignal_HE = (TH1F*)dir->FindObjectAny("h_energyhitSignal_HE"); + energyhitSignal_HE->SetMarkerStyle(20); + energyhitSignal_HE->SetMarkerSize(0.4); + energyhitSignal_HE->GetYaxis()->SetLabelSize(0.04); + energyhitSignal_HE->SetXTitle("energyhitSignal_HE \b"); + energyhitSignal_HE->SetMarkerColor(2); + energyhitSignal_HE->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitSignal_HE->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RrecosignalGeneralD2PhiSymmetryHE.png"); c2x1->Clear(); // clean-up - if (GefzRrecosignalHE42D) delete GefzRrecosignalHE42D; - if (GefzRrecosignalHE42D0) delete GefzRrecosignalHE42D0; - if (GefzRrecosignalHE42DF) delete GefzRrecosignalHE42DF; + if (GefzRrecosignalHE42D) + delete GefzRrecosignalHE42D; + if (GefzRrecosignalHE42D0) + delete GefzRrecosignalHE42D0; + if (GefzRrecosignalHE42DF) + delete GefzRrecosignalHE42DF; //====================================================================== 1D plot: R vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRrecosignalHE41D = new TH1F("GefzRrecosignalHE41D","", nphi, 0., 72. ); - TH1F* GefzRrecosignalHE41D0 = new TH1F("GefzRrecosignalHE41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHE41D = new TH1F("GefzRrecosignalHE41D", "", nphi, 0., 72.); + TH1F* GefzRrecosignalHE41D0 = new TH1F("GefzRrecosignalHE41D0", "", nphi, 0., 72.); TH1F* GefzRrecosignalHE41DF = (TH1F*)GefzRrecosignalHE41D0->Clone("GefzRrecosignalHE41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHE41D0 ->Fill(jphi,1.); } - }}} - GefzRrecosignalHE41DF->Divide(GefzRrecosignalHE41D,GefzRrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRrecosignalHE41D->Fill(jphi, ccc1); + GefzRrecosignalHE41D0->Fill(jphi, 1.); + } + } + } + } + GefzRrecosignalHE41DF->Divide( + GefzRrecosignalHE41D, GefzRrecosignalHE41D0, 1, 1, "B"); // R averaged over depthes & eta GefzRrecosignalHE41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHE41DF->SetMarkerStyle(20); GefzRrecosignalHE41DF->SetMarkerSize(1.4); GefzRrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHE41DF->SetXTitle("#phi \b"); GefzRrecosignalHE41DF->SetYTitle(" \b"); GefzRrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRrecosignalHE41DF->SetMarkerColor(4); GefzRrecosignalHE41DF->SetLineColor(4);// GefzRrecosignalHE41DF->SetMinimum(0.8); // GefzRrecosignalHE41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHE41DF->SetMarkerStyle(20); + GefzRrecosignalHE41DF->SetMarkerSize(1.4); + GefzRrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); + GefzRrecosignalHE41DF->SetXTitle("#phi \b"); + GefzRrecosignalHE41DF->SetYTitle(" \b"); + GefzRrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); + GefzRrecosignalHE41DF->SetMarkerColor(4); + GefzRrecosignalHE41DF->SetLineColor( + 4); // GefzRrecosignalHE41DF->SetMinimum(0.8); // GefzRrecosignalHE41DF->SetMaximum(1.000); GefzRrecosignalHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RrecosignalGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (GefzRrecosignalHE41D) delete GefzRrecosignalHE41D; - if (GefzRrecosignalHE41D0) delete GefzRrecosignalHE41D0; - if (GefzRrecosignalHE41DF) delete GefzRrecosignalHE41DF; - - - //========================================================================================== 4 + if (GefzRrecosignalHE41D) + delete GefzRrecosignalHE41D; + if (GefzRrecosignalHE41D0) + delete GefzRrecosignalHE41D0; + if (GefzRrecosignalHE41DF) + delete GefzRrecosignalHE41DF; + + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignal1=1; - TH1F* h2CeffHEpositivedirectionRecosignal1 = new TH1F("h2CeffHEpositivedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEpositivedirectionRecosignal1 = "<SetMarkerColor(2);HEpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal1 == 1) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 2) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 3) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 4) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 5) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 6) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 7) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 8) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 == 9) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 ==10) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 ==11) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignal1 ==12) HEpositivedirectionRecosignal1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionRecosignal1->Draw("Error"); - kcountHEpositivedirectionRecosignal1++; - if(kcountHEpositivedirectionRecosignal1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEpositivedirectionRecosignal1 = (TH1F*)h2CeffHEpositivedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEpositivedirectionRecosignal1 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal1 == 1) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 2) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 3) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 4) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 5) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 6) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 7) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 8) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 9) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 10) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 11) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignal1 == 12) + HEpositivedirectionRecosignal1->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignal1->Draw("Error"); + kcountHEpositivedirectionRecosignal1++; + if (kcountHEpositivedirectionRecosignal1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal1) delete h2CeffHEpositivedirectionRecosignal1; - + if (h2CeffHEpositivedirectionRecosignal1) + delete h2CeffHEpositivedirectionRecosignal1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignal2=1; - TH1F* h2CeffHEpositivedirectionRecosignal2 = new TH1F("h2CeffHEpositivedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEpositivedirectionRecosignal2 = "<SetMarkerColor(2);HEpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal2 == 1) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 2) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 3) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 4) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 5) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 6) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 7) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 8) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 == 9) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==10) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==11) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==12) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignal2 ==13) HEpositivedirectionRecosignal2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionRecosignal2->Draw("Error"); - kcountHEpositivedirectionRecosignal2++; - if(kcountHEpositivedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionRecosignal2 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal2 = new TH1F("h2CeffHEpositivedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEpositivedirectionRecosignal2 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal2 == 1) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 2) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 3) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 4) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 5) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 6) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 7) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 8) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 9) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 10) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 11) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 12) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignal2 == 13) + HEpositivedirectionRecosignal2->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignal2->Draw("Error"); + kcountHEpositivedirectionRecosignal2++; + if (kcountHEpositivedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal2) delete h2CeffHEpositivedirectionRecosignal2; - //========================================================================================== 6 + if (h2CeffHEpositivedirectionRecosignal2) + delete h2CeffHEpositivedirectionRecosignal2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignal3=1; - TH1F* h2CeffHEpositivedirectionRecosignal3 = new TH1F("h2CeffHEpositivedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEpositivedirectionRecosignal3 = "<SetMarkerColor(2);HEpositivedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal3 == 1) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 2) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 3) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 4) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 5) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 6) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 7) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 8) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 == 9) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==10) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==11) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==12) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignal3 ==13) HEpositivedirectionRecosignal3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionRecosignal3->Draw("Error"); - kcountHEpositivedirectionRecosignal3++; - if(kcountHEpositivedirectionRecosignal3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionRecosignal3 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal3 = new TH1F("h2CeffHEpositivedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEpositivedirectionRecosignal3 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal3 == 1) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 2) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 3) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 4) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 5) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 6) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 7) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 8) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 9) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 10) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 11) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 12) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignal3 == 13) + HEpositivedirectionRecosignal3->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignal3->Draw("Error"); + kcountHEpositivedirectionRecosignal3++; + if (kcountHEpositivedirectionRecosignal3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal3) delete h2CeffHEpositivedirectionRecosignal3; - //========================================================================================== 7 + if (h2CeffHEpositivedirectionRecosignal3) + delete h2CeffHEpositivedirectionRecosignal3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignal4=1; - TH1F* h2CeffHEpositivedirectionRecosignal4 = new TH1F("h2CeffHEpositivedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEpositivedirectionRecosignal4 = "<SetMarkerColor(2);HEpositivedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal4 == 1) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 2) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 3) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 4) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 5) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 6) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 7) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 8) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 == 9) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 ==10) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 ==11) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignal4 ==12) HEpositivedirectionRecosignal4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionRecosignal4->Draw("Error"); - kcountHEpositivedirectionRecosignal4++; - if(kcountHEpositivedirectionRecosignal4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionRecosignal4 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal4 = new TH1F("h2CeffHEpositivedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEpositivedirectionRecosignal4 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal4 == 1) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 2) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 3) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 4) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 5) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 6) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 7) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 8) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 9) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 10) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 11) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignal4 == 12) + HEpositivedirectionRecosignal4->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignal4->Draw("Error"); + kcountHEpositivedirectionRecosignal4++; + if (kcountHEpositivedirectionRecosignal4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal4) delete h2CeffHEpositivedirectionRecosignal4; - //========================================================================================== 8 + if (h2CeffHEpositivedirectionRecosignal4) + delete h2CeffHEpositivedirectionRecosignal4; + //========================================================================================== 8 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignal5=1; - TH1F* h2CeffHEpositivedirectionRecosignal5 = new TH1F("h2CeffHEpositivedirectionRecosignal5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal5 == 1) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 2) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 3) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 4) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 5) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 6) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 7) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 8) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 == 9) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 ==10) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignal5 ==11) HEpositivedirectionRecosignal5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionRecosignal5->Draw("Error"); - kcountHEpositivedirectionRecosignal5++; - if(kcountHEpositivedirectionRecosignal5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionRecosignal5 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal5 = new TH1F("h2CeffHEpositivedirectionRecosignal5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEpositivedirectionRecosignal5 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal5 == 1) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 2) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 3) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 4) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 5) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 6) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 7) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 8) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 9) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 10) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignal5 == 11) + HEpositivedirectionRecosignal5->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignal5->Draw("Error"); + kcountHEpositivedirectionRecosignal5++; + if (kcountHEpositivedirectionRecosignal5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal5) delete h2CeffHEpositivedirectionRecosignal5; - //========================================================================================== 9 + if (h2CeffHEpositivedirectionRecosignal5) + delete h2CeffHEpositivedirectionRecosignal5; + //========================================================================================== 9 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignal6=1; - TH1F* h2CeffHEpositivedirectionRecosignal6 = new TH1F("h2CeffHEpositivedirectionRecosignal6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEpositivedirectionRecosignal6 = "<SetMarkerColor(2);HEpositivedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal6 == 1) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 2) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 3) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 4) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 5) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 6) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 7) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 8) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 == 9) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignal6 ==10) HEpositivedirectionRecosignal6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionRecosignal6->Draw("Error"); - kcountHEpositivedirectionRecosignal6++; - if(kcountHEpositivedirectionRecosignal6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionRecosignal6 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal6 = new TH1F("h2CeffHEpositivedirectionRecosignal6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEpositivedirectionRecosignal6 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal6 == 1) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 2) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 3) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 4) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 5) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 6) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 7) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 8) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 9) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignal6 == 10) + HEpositivedirectionRecosignal6->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignal6->Draw("Error"); + kcountHEpositivedirectionRecosignal6++; + if (kcountHEpositivedirectionRecosignal6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal6) delete h2CeffHEpositivedirectionRecosignal6; - //========================================================================================== 10 + if (h2CeffHEpositivedirectionRecosignal6) + delete h2CeffHEpositivedirectionRecosignal6; + //========================================================================================== 10 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignal7=1; - TH1F* h2CeffHEpositivedirectionRecosignal7 = new TH1F("h2CeffHEpositivedirectionRecosignal7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignal7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEpositivedirectionRecosignal7 = "<SetMarkerColor(2);HEpositivedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignal7 == 1) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignal7 == 2) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignal7 == 3) HEpositivedirectionRecosignal7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionRecosignal7->Draw("Error"); - kcountHEpositivedirectionRecosignal7++; - if(kcountHEpositivedirectionRecosignal7>3) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionRecosignal7 = 1; + TH1F* h2CeffHEpositivedirectionRecosignal7 = new TH1F("h2CeffHEpositivedirectionRecosignal7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionRecosignal7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignal7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEpositivedirectionRecosignal7 = "<SetMarkerColor(2); + HEpositivedirectionRecosignal7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignal7 == 1) + HEpositivedirectionRecosignal7->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignal7 == 2) + HEpositivedirectionRecosignal7->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignal7 == 3) + HEpositivedirectionRecosignal7->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignal7->Draw("Error"); + kcountHEpositivedirectionRecosignal7++; + if (kcountHEpositivedirectionRecosignal7 > 3) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignal7) delete h2CeffHEpositivedirectionRecosignal7; + if (h2CeffHEpositivedirectionRecosignal7) + delete h2CeffHEpositivedirectionRecosignal7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignal1=1; - TH1F* h2CeffHEnegativedirectionRecosignal1 = new TH1F("h2CeffHEnegativedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEnegativedirectionRecosignal1 = "<SetMarkerColor(2);HEnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal1 == 1) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 2) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 3) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 4) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 5) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 6) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 7) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 8) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 == 9) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 ==10) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 ==11) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignal1 ==12) HEnegativedirectionRecosignal1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionRecosignal1->Draw("Error"); - kcountHEnegativedirectionRecosignal1++; - if(kcountHEnegativedirectionRecosignal1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEnegativedirectionRecosignal1 = (TH1F*)h2CeffHEnegativedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEnegativedirectionRecosignal1 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal1 == 1) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 2) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 3) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 4) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 5) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 6) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 7) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 8) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 9) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 10) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 11) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignal1 == 12) + HEnegativedirectionRecosignal1->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignal1->Draw("Error"); + kcountHEnegativedirectionRecosignal1++; + if (kcountHEnegativedirectionRecosignal1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal1) delete h2CeffHEnegativedirectionRecosignal1; - + if (h2CeffHEnegativedirectionRecosignal1) + delete h2CeffHEnegativedirectionRecosignal1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignal2=1; - TH1F* h2CeffHEnegativedirectionRecosignal2 = new TH1F("h2CeffHEnegativedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEnegativedirectionRecosignal2 = "<SetMarkerColor(2);HEnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal2 == 1) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 2) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 3) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 4) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 5) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 6) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 7) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 8) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 == 9) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==10) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==11) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==12) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignal2 ==13) HEnegativedirectionRecosignal2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionRecosignal2->Draw("Error"); - kcountHEnegativedirectionRecosignal2++; - if(kcountHEnegativedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionRecosignal2 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal2 = new TH1F("h2CeffHEnegativedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEnegativedirectionRecosignal2 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal2 == 1) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 2) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 3) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 4) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 5) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 6) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 7) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 8) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 9) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 10) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 11) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 12) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignal2 == 13) + HEnegativedirectionRecosignal2->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignal2->Draw("Error"); + kcountHEnegativedirectionRecosignal2++; + if (kcountHEnegativedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal2) delete h2CeffHEnegativedirectionRecosignal2; - //========================================================================================== 1116 + if (h2CeffHEnegativedirectionRecosignal2) + delete h2CeffHEnegativedirectionRecosignal2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignal3=1; - TH1F* h2CeffHEnegativedirectionRecosignal3 = new TH1F("h2CeffHEnegativedirectionRecosignal3","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEnegativedirectionRecosignal3 = "<SetMarkerColor(2);HEnegativedirectionRecosignal3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal3 == 1) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 2) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 3) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 4) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 5) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 6) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 7) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 8) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 == 9) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==10) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==11) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==12) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignal3 ==13) HEnegativedirectionRecosignal3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionRecosignal3->Draw("Error"); - kcountHEnegativedirectionRecosignal3++; - if(kcountHEnegativedirectionRecosignal3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionRecosignal3 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal3 = new TH1F("h2CeffHEnegativedirectionRecosignal3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEnegativedirectionRecosignal3 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal3 == 1) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 2) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 3) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 4) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 5) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 6) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 7) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 8) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 9) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 10) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 11) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 12) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignal3 == 13) + HEnegativedirectionRecosignal3->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignal3->Draw("Error"); + kcountHEnegativedirectionRecosignal3++; + if (kcountHEnegativedirectionRecosignal3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal3) delete h2CeffHEnegativedirectionRecosignal3; - //========================================================================================== 1117 + if (h2CeffHEnegativedirectionRecosignal3) + delete h2CeffHEnegativedirectionRecosignal3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignal4=1; - TH1F* h2CeffHEnegativedirectionRecosignal4 = new TH1F("h2CeffHEnegativedirectionRecosignal4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEnegativedirectionRecosignal4 = "<SetMarkerColor(2);HEnegativedirectionRecosignal4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal4 == 1) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 2) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 3) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 4) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 5) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 6) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 7) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 8) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 == 9) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 ==10) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 ==11) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignal4 ==12) HEnegativedirectionRecosignal4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionRecosignal4->Draw("Error"); - kcountHEnegativedirectionRecosignal4++; - if(kcountHEnegativedirectionRecosignal4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionRecosignal4 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal4 = new TH1F("h2CeffHEnegativedirectionRecosignal4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEnegativedirectionRecosignal4 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal4 == 1) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 2) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 3) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 4) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 5) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 6) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 7) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 8) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 9) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 10) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 11) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignal4 == 12) + HEnegativedirectionRecosignal4->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignal4->Draw("Error"); + kcountHEnegativedirectionRecosignal4++; + if (kcountHEnegativedirectionRecosignal4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal4) delete h2CeffHEnegativedirectionRecosignal4; - //========================================================================================== 1118 + if (h2CeffHEnegativedirectionRecosignal4) + delete h2CeffHEnegativedirectionRecosignal4; + //========================================================================================== 1118 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignal5=1; - TH1F* h2CeffHEnegativedirectionRecosignal5 = new TH1F("h2CeffHEnegativedirectionRecosignal5","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionRecosignal5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal5 == 1) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 2) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 3) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 4) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 5) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 6) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 7) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 8) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 == 9) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 ==10) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignal5 ==11) HEnegativedirectionRecosignal5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionRecosignal5->Draw("Error"); - kcountHEnegativedirectionRecosignal5++; - if(kcountHEnegativedirectionRecosignal5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionRecosignal5 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal5 = new TH1F("h2CeffHEnegativedirectionRecosignal5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEnegativedirectionRecosignal5 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal5 == 1) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 2) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 3) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 4) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 5) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 6) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 7) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 8) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 9) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 10) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignal5 == 11) + HEnegativedirectionRecosignal5->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignal5->Draw("Error"); + kcountHEnegativedirectionRecosignal5++; + if (kcountHEnegativedirectionRecosignal5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal5) delete h2CeffHEnegativedirectionRecosignal5; - //========================================================================================== 1119 + if (h2CeffHEnegativedirectionRecosignal5) + delete h2CeffHEnegativedirectionRecosignal5; + //========================================================================================== 1119 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignal6=1; - TH1F* h2CeffHEnegativedirectionRecosignal6 = new TH1F("h2CeffHEnegativedirectionRecosignal6","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEnegativedirectionRecosignal6 = "<SetMarkerColor(2);HEnegativedirectionRecosignal6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal6 == 1) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 2) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 3) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 4) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 5) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 6) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 7) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 8) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 == 9) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignal6 ==10) HEnegativedirectionRecosignal6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionRecosignal6->Draw("Error"); - kcountHEnegativedirectionRecosignal6++; - if(kcountHEnegativedirectionRecosignal6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionRecosignal6 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal6 = new TH1F("h2CeffHEnegativedirectionRecosignal6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEnegativedirectionRecosignal6 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal6 == 1) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 2) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 3) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 4) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 5) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 6) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 7) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 8) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 9) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignal6 == 10) + HEnegativedirectionRecosignal6->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignal6->Draw("Error"); + kcountHEnegativedirectionRecosignal6++; + if (kcountHEnegativedirectionRecosignal6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal6) delete h2CeffHEnegativedirectionRecosignal6; - //========================================================================================== 11110 + if (h2CeffHEnegativedirectionRecosignal6) + delete h2CeffHEnegativedirectionRecosignal6; + //========================================================================================== 11110 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignal7=1; - TH1F* h2CeffHEnegativedirectionRecosignal7 = new TH1F("h2CeffHEnegativedirectionRecosignal7","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignal7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEnegativedirectionRecosignal7 = "<SetMarkerColor(2);HEnegativedirectionRecosignal7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignal7 == 1) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignal7 == 2) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignal7 == 3) HEnegativedirectionRecosignal7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionRecosignal7->Draw("Error"); - kcountHEnegativedirectionRecosignal7++; - if(kcountHEnegativedirectionRecosignal7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionRecosignal7 = 1; + TH1F* h2CeffHEnegativedirectionRecosignal7 = new TH1F("h2CeffHEnegativedirectionRecosignal7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalhe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionRecosignal7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignal7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEnegativedirectionRecosignal7 = "<SetMarkerColor(2); + HEnegativedirectionRecosignal7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignal7 == 1) + HEnegativedirectionRecosignal7->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignal7 == 2) + HEnegativedirectionRecosignal7->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignal7 == 3) + HEnegativedirectionRecosignal7->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignal7->Draw("Error"); + kcountHEnegativedirectionRecosignal7++; + if (kcountHEnegativedirectionRecosignal7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignal7) delete h2CeffHEnegativedirectionRecosignal7; + if (h2CeffHEnegativedirectionRecosignal7) + delete h2CeffHEnegativedirectionRecosignal7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HE1"); - TH2F *recosignalVariance0HE1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HE1"); + TH2F* recosignalVariance0HE1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE1"); TH2F* recosignalVarianceHE1 = (TH2F*)recosignalVariance1HE1->Clone("recosignalVarianceHE1"); - recosignalVarianceHE1->Divide(recosignalVariance1HE1,recosignalVariance0HE1, 1, 1, "B"); - TH2F *recosignalVariance1HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE2"); - TH2F *recosignalVariance0HE2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); + recosignalVarianceHE1->Divide(recosignalVariance1HE1, recosignalVariance0HE1, 1, 1, "B"); + TH2F* recosignalVariance1HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE2"); + TH2F* recosignalVariance0HE2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE2"); TH2F* recosignalVarianceHE2 = (TH2F*)recosignalVariance1HE2->Clone("recosignalVarianceHE2"); - recosignalVarianceHE2->Divide(recosignalVariance1HE2,recosignalVariance0HE2, 1, 1, "B"); - TH2F *recosignalVariance1HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE3"); - TH2F *recosignalVariance0HE3= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); + recosignalVarianceHE2->Divide(recosignalVariance1HE2, recosignalVariance0HE2, 1, 1, "B"); + TH2F* recosignalVariance1HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE3"); + TH2F* recosignalVariance0HE3 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE3"); TH2F* recosignalVarianceHE3 = (TH2F*)recosignalVariance1HE3->Clone("recosignalVarianceHE3"); - recosignalVarianceHE3->Divide(recosignalVariance1HE3,recosignalVariance0HE3, 1, 1, "B"); - TH2F *recosignalVariance1HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE4"); - TH2F *recosignalVariance0HE4= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); + recosignalVarianceHE3->Divide(recosignalVariance1HE3, recosignalVariance0HE3, 1, 1, "B"); + TH2F* recosignalVariance1HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE4"); + TH2F* recosignalVariance0HE4 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE4"); TH2F* recosignalVarianceHE4 = (TH2F*)recosignalVariance1HE4->Clone("recosignalVarianceHE4"); - recosignalVarianceHE4->Divide(recosignalVariance1HE4,recosignalVariance0HE4, 1, 1, "B"); - TH2F *recosignalVariance1HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE5"); - TH2F *recosignalVariance0HE5= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); + recosignalVarianceHE4->Divide(recosignalVariance1HE4, recosignalVariance0HE4, 1, 1, "B"); + TH2F* recosignalVariance1HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE5"); + TH2F* recosignalVariance0HE5 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE5"); TH2F* recosignalVarianceHE5 = (TH2F*)recosignalVariance1HE5->Clone("recosignalVarianceHE5"); - recosignalVarianceHE5->Divide(recosignalVariance1HE5,recosignalVariance0HE5, 1, 1, "B"); - TH2F *recosignalVariance1HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE6"); - TH2F *recosignalVariance0HE6= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); + recosignalVarianceHE5->Divide(recosignalVariance1HE5, recosignalVariance0HE5, 1, 1, "B"); + TH2F* recosignalVariance1HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE6"); + TH2F* recosignalVariance0HE6 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE6"); TH2F* recosignalVarianceHE6 = (TH2F*)recosignalVariance1HE6->Clone("recosignalVarianceHE6"); - recosignalVarianceHE6->Divide(recosignalVariance1HE6,recosignalVariance0HE6, 1, 1, "B"); - TH2F *recosignalVariance1HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE7"); - TH2F *recosignalVariance0HE7= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); + recosignalVarianceHE6->Divide(recosignalVariance1HE6, recosignalVariance0HE6, 1, 1, "B"); + TH2F* recosignalVariance1HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HE7"); + TH2F* recosignalVariance0HE7 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HE7"); TH2F* recosignalVarianceHE7 = (TH2F*)recosignalVariance1HE7->Clone("recosignalVarianceHE7"); - recosignalVarianceHE7->Divide(recosignalVariance1HE7,recosignalVariance0HE7, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvariancehe - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - recosignalvariancehe[1][jeta][jphi] = recosignalVarianceHE2->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[2][jeta][jphi] = recosignalVarianceHE3->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[3][jeta][jphi] = recosignalVarianceHE4->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[4][jeta][jphi] = recosignalVarianceHE5->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[5][jeta][jphi] = recosignalVarianceHE6->GetBinContent(jeta+1,jphi+1); - recosignalvariancehe[6][jeta][jphi] = recosignalVarianceHE7->GetBinContent(jeta+1,jphi+1); - if(recosignalvariancehe[0][jeta][jphi] > 0.) {sumrecosignalHE0 += recosignalvariancehe[0][jeta][jphi];++nsumrecosignalHE0;} - if(recosignalvariancehe[1][jeta][jphi] > 0.) {sumrecosignalHE1 += recosignalvariancehe[1][jeta][jphi];++nsumrecosignalHE1;} - if(recosignalvariancehe[2][jeta][jphi] > 0.) {sumrecosignalHE2 += recosignalvariancehe[2][jeta][jphi];++nsumrecosignalHE2;} - if(recosignalvariancehe[3][jeta][jphi] > 0.) {sumrecosignalHE3 += recosignalvariancehe[3][jeta][jphi];++nsumrecosignalHE3;} - if(recosignalvariancehe[4][jeta][jphi] > 0.) {sumrecosignalHE4 += recosignalvariancehe[4][jeta][jphi];++nsumrecosignalHE4;} - if(recosignalvariancehe[5][jeta][jphi] > 0.) {sumrecosignalHE5 += recosignalvariancehe[5][jeta][jphi];++nsumrecosignalHE5;} - if(recosignalvariancehe[6][jeta][jphi] > 0.) {sumrecosignalHE6 += recosignalvariancehe[6][jeta][jphi];++nsumrecosignalHE6;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) recosignalvariancehe[0][jeta][jphi] /= (sumrecosignalHE0/nsumrecosignalHE0) ; - if(recosignalvariancehe[1][jeta][jphi] > 0.) recosignalvariancehe[1][jeta][jphi] /= (sumrecosignalHE1/nsumrecosignalHE1) ; - if(recosignalvariancehe[2][jeta][jphi] > 0.) recosignalvariancehe[2][jeta][jphi] /= (sumrecosignalHE2/nsumrecosignalHE2) ; - if(recosignalvariancehe[3][jeta][jphi] > 0.) recosignalvariancehe[3][jeta][jphi] /= (sumrecosignalHE3/nsumrecosignalHE3) ; - if(recosignalvariancehe[4][jeta][jphi] > 0.) recosignalvariancehe[4][jeta][jphi] /= (sumrecosignalHE4/nsumrecosignalHE4) ; - if(recosignalvariancehe[5][jeta][jphi] > 0.) recosignalvariancehe[5][jeta][jphi] /= (sumrecosignalHE5/nsumrecosignalHE5) ; - if(recosignalvariancehe[6][jeta][jphi] > 0.) recosignalvariancehe[6][jeta][jphi] /= (sumrecosignalHE6/nsumrecosignalHE6) ; - }// phi - // recosignalvariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive recosignalvariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumrecosignalHE0 = 0; + int nsumrecosignalHE0 = 0; + double sumrecosignalHE1 = 0; + int nsumrecosignalHE1 = 0; + double sumrecosignalHE2 = 0; + int nsumrecosignalHE2 = 0; + double sumrecosignalHE3 = 0; + int nsumrecosignalHE3 = 0; + double sumrecosignalHE4 = 0; + int nsumrecosignalHE4 = 0; + double sumrecosignalHE5 = 0; + int nsumrecosignalHE5 = 0; + double sumrecosignalHE6 = 0; + int nsumrecosignalHE6 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + recosignalvariancehe[0][jeta][jphi] = recosignalVarianceHE1->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[1][jeta][jphi] = recosignalVarianceHE2->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[2][jeta][jphi] = recosignalVarianceHE3->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[3][jeta][jphi] = recosignalVarianceHE4->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[4][jeta][jphi] = recosignalVarianceHE5->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[5][jeta][jphi] = recosignalVarianceHE6->GetBinContent(jeta + 1, jphi + 1); + recosignalvariancehe[6][jeta][jphi] = recosignalVarianceHE7->GetBinContent(jeta + 1, jphi + 1); + if (recosignalvariancehe[0][jeta][jphi] > 0.) { + sumrecosignalHE0 += recosignalvariancehe[0][jeta][jphi]; + ++nsumrecosignalHE0; + } + if (recosignalvariancehe[1][jeta][jphi] > 0.) { + sumrecosignalHE1 += recosignalvariancehe[1][jeta][jphi]; + ++nsumrecosignalHE1; + } + if (recosignalvariancehe[2][jeta][jphi] > 0.) { + sumrecosignalHE2 += recosignalvariancehe[2][jeta][jphi]; + ++nsumrecosignalHE2; + } + if (recosignalvariancehe[3][jeta][jphi] > 0.) { + sumrecosignalHE3 += recosignalvariancehe[3][jeta][jphi]; + ++nsumrecosignalHE3; + } + if (recosignalvariancehe[4][jeta][jphi] > 0.) { + sumrecosignalHE4 += recosignalvariancehe[4][jeta][jphi]; + ++nsumrecosignalHE4; + } + if (recosignalvariancehe[5][jeta][jphi] > 0.) { + sumrecosignalHE5 += recosignalvariancehe[5][jeta][jphi]; + ++nsumrecosignalHE5; } - //cout<<" Vaiance: DONE*****" < 0.) { + sumrecosignalHE6 += recosignalvariancehe[6][jeta][jphi]; + ++nsumrecosignalHE6; + } + } // phi + // PHI normalization : + for (int jphi = 0; jphi < njphi; jphi++) { + if (recosignalvariancehe[0][jeta][jphi] > 0.) + recosignalvariancehe[0][jeta][jphi] /= (sumrecosignalHE0 / nsumrecosignalHE0); + if (recosignalvariancehe[1][jeta][jphi] > 0.) + recosignalvariancehe[1][jeta][jphi] /= (sumrecosignalHE1 / nsumrecosignalHE1); + if (recosignalvariancehe[2][jeta][jphi] > 0.) + recosignalvariancehe[2][jeta][jphi] /= (sumrecosignalHE2 / nsumrecosignalHE2); + if (recosignalvariancehe[3][jeta][jphi] > 0.) + recosignalvariancehe[3][jeta][jphi] /= (sumrecosignalHE3 / nsumrecosignalHE3); + if (recosignalvariancehe[4][jeta][jphi] > 0.) + recosignalvariancehe[4][jeta][jphi] /= (sumrecosignalHE4 / nsumrecosignalHE4); + if (recosignalvariancehe[5][jeta][jphi] > 0.) + recosignalvariancehe[5][jeta][jphi] /= (sumrecosignalHE5 / nsumrecosignalHE5); + if (recosignalvariancehe[6][jeta][jphi] > 0.) + recosignalvariancehe[6][jeta][jphi] /= (sumrecosignalHE6 / nsumrecosignalHE6); + } // phi + // recosignalvariancehe (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDrecosignalHE42D = new TH2F("DefzDrecosignalHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHE42D0 = new TH2F("DefzDrecosignalHE42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHE42DF = (TH2F*)DefzDrecosignalHE42D0->Clone("DefzDrecosignalHE42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(arecosignalhe[i][jeta][jphi]>0.) {DefzDrecosignalHE42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHE42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDrecosignalHE42DF->Divide(DefzDrecosignalHE42D,DefzDrecosignalHE42D0, 1, 1, "B");// average A - // DefzDrecosignalHE1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHE42DF->SetMarkerStyle(20); DefzDrecosignalHE42DF->SetMarkerSize(0.4); DefzDrecosignalHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHE42DF->SetYTitle(" #phi \b"); DefzDrecosignalHE42DF->SetZTitle("_depth \b"); DefzDrecosignalHE42DF->SetMarkerColor(2); DefzDrecosignalHE42DF->SetLineColor(0); // DefzDrecosignalHE42DF->SetMaximum(1.000); // DefzDrecosignalHE42DF->SetMinimum(1.0); - DefzDrecosignalHE42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DrecosignalGeneralD2PhiSymmetryHE.png"); - c1x0->Clear(); - // clean-up - if (DefzDrecosignalHE42D) delete DefzDrecosignalHE42D; - if (DefzDrecosignalHE42D0) delete DefzDrecosignalHE42D0; - if (DefzDrecosignalHE42DF) delete DefzDrecosignalHE42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthes *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDrecosignalHE42D = new TH2F("DefzDrecosignalHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHE42D0 = new TH2F("DefzDrecosignalHE42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHE42DF = (TH2F*)DefzDrecosignalHE42D0->Clone("DefzDrecosignalHE42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (arecosignalhe[i][jeta][jphi] > 0.) { + DefzDrecosignalHE42D->Fill(kkk, jphi, ccc1); + DefzDrecosignalHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDrecosignalHE42DF->Divide(DefzDrecosignalHE42D, DefzDrecosignalHE42D0, 1, 1, "B"); // average A + // DefzDrecosignalHE1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE42DF->SetMarkerStyle(20); + DefzDrecosignalHE42DF->SetMarkerSize(0.4); + DefzDrecosignalHE42DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHE42DF->SetXTitle("_depth #eta \b"); + DefzDrecosignalHE42DF->SetYTitle(" #phi \b"); + DefzDrecosignalHE42DF->SetZTitle("_depth \b"); + DefzDrecosignalHE42DF->SetMarkerColor(2); + DefzDrecosignalHE42DF->SetLineColor( + 0); // DefzDrecosignalHE42DF->SetMaximum(1.000); // DefzDrecosignalHE42DF->SetMinimum(1.0); + DefzDrecosignalHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHE42D) + delete DefzDrecosignalHE42D; + if (DefzDrecosignalHE42D0) + delete DefzDrecosignalHE42D0; + if (DefzDrecosignalHE42DF) + delete DefzDrecosignalHE42DF; //====================================================================== 1D plot: D vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDrecosignalHE41D = new TH1F("DefzDrecosignalHE41D","", nphi, 0., 72. ); - TH1F* DefzDrecosignalHE41D0 = new TH1F("DefzDrecosignalHE41D0","",nphi, 0., 72. ); - TH1F* DefzDrecosignalHE41DF = (TH1F*)DefzDrecosignalHE41D0->Clone("DefzDrecosignalHE41DF"); - - for (int jphi=0;jphi0.) {DefzDrecosignalHE41D ->Fill(jphi,ccc1); DefzDrecosignalHE41D0 ->Fill(jphi,1.); } - }}} - // DefzDrecosignalHE41D->Sumw2();DefzDrecosignalHE41D0->Sumw2(); - - DefzDrecosignalHE41DF->Divide(DefzDrecosignalHE41D,DefzDrecosignalHE41D0, 1, 1, "B");// R averaged over depthes & eta - DefzDrecosignalHE41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHE41DF->SetMarkerStyle(20); DefzDrecosignalHE41DF->SetMarkerSize(1.4); DefzDrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHE41DF->SetXTitle("#phi \b"); DefzDrecosignalHE41DF->SetYTitle(" \b"); DefzDrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDrecosignalHE41DF->SetMarkerColor(4); DefzDrecosignalHE41DF->SetLineColor(4); // DefzDrecosignalHE41DF->SetMinimum(0.8); DefzDrecosignalHE41DF->SetMinimum(-0.015); - DefzDrecosignalHE41DF->Draw("Error"); + TH1F* DefzDrecosignalHE41D = new TH1F("DefzDrecosignalHE41D", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHE41D0 = new TH1F("DefzDrecosignalHE41D0", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHE41DF = (TH1F*)DefzDrecosignalHE41D0->Clone("DefzDrecosignalHE41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + DefzDrecosignalHE41D->Fill(jphi, ccc1); + DefzDrecosignalHE41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDrecosignalHE41D->Sumw2();DefzDrecosignalHE41D0->Sumw2(); + + DefzDrecosignalHE41DF->Divide( + DefzDrecosignalHE41D, DefzDrecosignalHE41D0, 1, 1, "B"); // R averaged over depthes & eta + DefzDrecosignalHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHE41DF->SetMarkerStyle(20); + DefzDrecosignalHE41DF->SetMarkerSize(1.4); + DefzDrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHE41DF->SetXTitle("#phi \b"); + DefzDrecosignalHE41DF->SetYTitle(" \b"); + DefzDrecosignalHE41DF->SetZTitle("_PHI - AllDepthes \b"); + DefzDrecosignalHE41DF->SetMarkerColor(4); + DefzDrecosignalHE41DF->SetLineColor( + 4); // DefzDrecosignalHE41DF->SetMinimum(0.8); DefzDrecosignalHE41DF->SetMinimum(-0.015); + DefzDrecosignalHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DrecosignalGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (DefzDrecosignalHE41D) delete DefzDrecosignalHE41D; - if (DefzDrecosignalHE41D0) delete DefzDrecosignalHE41D0; - if (DefzDrecosignalHE41DF) delete DefzDrecosignalHE41DF; - //========================================================================================== 14 + if (DefzDrecosignalHE41D) + delete DefzDrecosignalHE41D; + if (DefzDrecosignalHE41D0) + delete DefzDrecosignalHE41D0; + if (DefzDrecosignalHE41DF) + delete DefzDrecosignalHE41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD1=1; - TH1F* h2CeffHEpositivedirectionRecosignalD1 = new TH1F("h2CeffHEpositivedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD1 == 1) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 2) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 3) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 4) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 5) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 6) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 7) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 8) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 == 9) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 ==10) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 ==11) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionRecosignalD1 ==12) HEpositivedirectionRecosignalD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionRecosignalD1->Draw("Error"); - kcountHEpositivedirectionRecosignalD1++; - if(kcountHEpositivedirectionRecosignalD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionRecosignalD1 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD1 = new TH1F("h2CeffHEpositivedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEpositivedirectionRecosignalD1 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD1 == 1) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 2) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 3) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 4) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 5) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 6) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 7) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 8) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 9) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 10) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 11) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionRecosignalD1 == 12) + HEpositivedirectionRecosignalD1->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionRecosignalD1->Draw("Error"); + kcountHEpositivedirectionRecosignalD1++; + if (kcountHEpositivedirectionRecosignalD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD1) delete h2CeffHEpositivedirectionRecosignalD1; - //========================================================================================== 15 + if (h2CeffHEpositivedirectionRecosignalD1) + delete h2CeffHEpositivedirectionRecosignalD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD2=1; - TH1F* h2CeffHEpositivedirectionRecosignalD2 = new TH1F("h2CeffHEpositivedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD2 == 1) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 2) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 3) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 4) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 5) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 6) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 7) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 8) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 == 9) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==10) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==11) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==12) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionRecosignalD2 ==13) HEpositivedirectionRecosignalD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionRecosignalD2->Draw("Error"); - kcountHEpositivedirectionRecosignalD2++; - if(kcountHEpositivedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionRecosignalD2 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD2 = new TH1F("h2CeffHEpositivedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEpositivedirectionRecosignalD2 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD2 == 1) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 2) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 3) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 4) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 5) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 6) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 7) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 8) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 9) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 10) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 11) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 12) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionRecosignalD2 == 13) + HEpositivedirectionRecosignalD2->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionRecosignalD2->Draw("Error"); + kcountHEpositivedirectionRecosignalD2++; + if (kcountHEpositivedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD2) delete h2CeffHEpositivedirectionRecosignalD2; - //========================================================================================== 16 + if (h2CeffHEpositivedirectionRecosignalD2) + delete h2CeffHEpositivedirectionRecosignalD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD3=1; - TH1F* h2CeffHEpositivedirectionRecosignalD3 = new TH1F("h2CeffHEpositivedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEpositivedirectionRecosignalD3 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD3 == 1) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 2) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 3) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 4) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 5) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 6) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 7) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 8) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 == 9) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==10) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==11) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==12) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionRecosignalD3 ==13) HEpositivedirectionRecosignalD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionRecosignalD3->Draw("Error"); - kcountHEpositivedirectionRecosignalD3++; - if(kcountHEpositivedirectionRecosignalD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionRecosignalD3 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD3 = new TH1F("h2CeffHEpositivedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEpositivedirectionRecosignalD3 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD3 == 1) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 2) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 3) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 4) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 5) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 6) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 7) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 8) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 9) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 10) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 11) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 12) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionRecosignalD3 == 13) + HEpositivedirectionRecosignalD3->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionRecosignalD3->Draw("Error"); + kcountHEpositivedirectionRecosignalD3++; + if (kcountHEpositivedirectionRecosignalD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD3) delete h2CeffHEpositivedirectionRecosignalD3; - //========================================================================================== 17 + if (h2CeffHEpositivedirectionRecosignalD3) + delete h2CeffHEpositivedirectionRecosignalD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD4=1; - TH1F* h2CeffHEpositivedirectionRecosignalD4 = new TH1F("h2CeffHEpositivedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEpositivedirectionRecosignalD4 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD4 == 1) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 2) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 3) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 4) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 5) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 6) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 7) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 8) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 == 9) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 ==10) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 ==11) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionRecosignalD4 ==12) HEpositivedirectionRecosignalD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionRecosignalD4->Draw("Error"); - kcountHEpositivedirectionRecosignalD4++; - if(kcountHEpositivedirectionRecosignalD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionRecosignalD4 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD4 = new TH1F("h2CeffHEpositivedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEpositivedirectionRecosignalD4 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD4 == 1) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 2) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 3) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 4) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 5) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 6) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 7) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 8) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 9) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 10) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 11) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionRecosignalD4 == 12) + HEpositivedirectionRecosignalD4->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionRecosignalD4->Draw("Error"); + kcountHEpositivedirectionRecosignalD4++; + if (kcountHEpositivedirectionRecosignalD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD4) delete h2CeffHEpositivedirectionRecosignalD4; - //========================================================================================== 18 + if (h2CeffHEpositivedirectionRecosignalD4) + delete h2CeffHEpositivedirectionRecosignalD4; + //========================================================================================== 18 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD5=1; - TH1F* h2CeffHEpositivedirectionRecosignalD5 = new TH1F("h2CeffHEpositivedirectionRecosignalD5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEpositivedirectionRecosignalD5 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD5 == 1) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 2) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 3) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 4) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 5) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 6) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 7) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 8) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 == 9) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 ==10) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionRecosignalD5 ==11) HEpositivedirectionRecosignalD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionRecosignalD5->Draw("Error"); - kcountHEpositivedirectionRecosignalD5++; - if(kcountHEpositivedirectionRecosignalD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionRecosignalD5 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD5 = new TH1F("h2CeffHEpositivedirectionRecosignalD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD5->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEpositivedirectionRecosignalD5 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD5 == 1) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 2) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 3) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 4) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 5) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 6) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 7) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 8) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 9) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 10) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionRecosignalD5 == 11) + HEpositivedirectionRecosignalD5->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionRecosignalD5->Draw("Error"); + kcountHEpositivedirectionRecosignalD5++; + if (kcountHEpositivedirectionRecosignalD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD5) delete h2CeffHEpositivedirectionRecosignalD5; - //========================================================================================== 19 + if (h2CeffHEpositivedirectionRecosignalD5) + delete h2CeffHEpositivedirectionRecosignalD5; + //========================================================================================== 19 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD6=1; - TH1F* h2CeffHEpositivedirectionRecosignalD6 = new TH1F("h2CeffHEpositivedirectionRecosignalD6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEpositivedirectionRecosignalD6 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD6 == 1) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 2) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 3) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 4) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 5) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 6) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 7) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 8) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 == 9) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionRecosignalD6 ==10) HEpositivedirectionRecosignalD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionRecosignalD6->Draw("Error"); - kcountHEpositivedirectionRecosignalD6++; - if(kcountHEpositivedirectionRecosignalD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionRecosignalD6 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD6 = new TH1F("h2CeffHEpositivedirectionRecosignalD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEpositivedirectionRecosignalD6 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD6 == 1) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 2) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 3) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 4) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 5) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 6) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 7) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 8) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 9) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionRecosignalD6 == 10) + HEpositivedirectionRecosignalD6->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionRecosignalD6->Draw("Error"); + kcountHEpositivedirectionRecosignalD6++; + if (kcountHEpositivedirectionRecosignalD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD6) delete h2CeffHEpositivedirectionRecosignalD6; - //========================================================================================== 20 + if (h2CeffHEpositivedirectionRecosignalD6) + delete h2CeffHEpositivedirectionRecosignalD6; + //========================================================================================== 20 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionRecosignalD7=1; - TH1F* h2CeffHEpositivedirectionRecosignalD7 = new TH1F("h2CeffHEpositivedirectionRecosignalD7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionRecosignalD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEpositivedirectionRecosignalD7 = "<SetMarkerColor(2);HEpositivedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionRecosignalD7 == 1) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignalD7 == 2) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionRecosignalD7 == 3) HEpositivedirectionRecosignalD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionRecosignalD7->Draw("Error"); - kcountHEpositivedirectionRecosignalD7++; - if(kcountHEpositivedirectionRecosignalD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionRecosignalD7 = 1; + TH1F* h2CeffHEpositivedirectionRecosignalD7 = new TH1F("h2CeffHEpositivedirectionRecosignalD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEpositivedirectionRecosignalD7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionRecosignalD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEpositivedirectionRecosignalD7 = "<SetMarkerColor(2); + HEpositivedirectionRecosignalD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionRecosignalD7 == 1) + HEpositivedirectionRecosignalD7->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignalD7 == 2) + HEpositivedirectionRecosignalD7->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionRecosignalD7 == 3) + HEpositivedirectionRecosignalD7->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionRecosignalD7->Draw("Error"); + kcountHEpositivedirectionRecosignalD7++; + if (kcountHEpositivedirectionRecosignalD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionRecosignalD7) delete h2CeffHEpositivedirectionRecosignalD7; - + if (h2CeffHEpositivedirectionRecosignalD7) + delete h2CeffHEpositivedirectionRecosignalD7; - //========================================================================================== 22222214 + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD1=1; - TH1F* h2CeffHEnegativedirectionRecosignalD1 = new TH1F("h2CeffHEnegativedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD1 == 1) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 2) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 3) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 4) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 5) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 6) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 7) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 8) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 == 9) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 ==10) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 ==11) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionRecosignalD1 ==12) HEnegativedirectionRecosignalD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionRecosignalD1->Draw("Error"); - kcountHEnegativedirectionRecosignalD1++; - if(kcountHEnegativedirectionRecosignalD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionRecosignalD1 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD1 = new TH1F("h2CeffHEnegativedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEnegativedirectionRecosignalD1 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD1 == 1) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 2) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 3) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 4) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 5) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 6) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 7) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 8) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 9) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 10) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 11) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionRecosignalD1 == 12) + HEnegativedirectionRecosignalD1->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionRecosignalD1->Draw("Error"); + kcountHEnegativedirectionRecosignalD1++; + if (kcountHEnegativedirectionRecosignalD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD1) delete h2CeffHEnegativedirectionRecosignalD1; - //========================================================================================== 22222215 + if (h2CeffHEnegativedirectionRecosignalD1) + delete h2CeffHEnegativedirectionRecosignalD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD2=1; - TH1F* h2CeffHEnegativedirectionRecosignalD2 = new TH1F("h2CeffHEnegativedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD2 == 1) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 2) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 3) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 4) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 5) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 6) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 7) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 8) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 == 9) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==10) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==11) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==12) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionRecosignalD2 ==13) HEnegativedirectionRecosignalD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionRecosignalD2->Draw("Error"); - kcountHEnegativedirectionRecosignalD2++; - if(kcountHEnegativedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionRecosignalD2 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD2 = new TH1F("h2CeffHEnegativedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEnegativedirectionRecosignalD2 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD2 == 1) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 2) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 3) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 4) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 5) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 6) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 7) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 8) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 9) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 10) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 11) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 12) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionRecosignalD2 == 13) + HEnegativedirectionRecosignalD2->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionRecosignalD2->Draw("Error"); + kcountHEnegativedirectionRecosignalD2++; + if (kcountHEnegativedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD2) delete h2CeffHEnegativedirectionRecosignalD2; - //========================================================================================== 22222216 + if (h2CeffHEnegativedirectionRecosignalD2) + delete h2CeffHEnegativedirectionRecosignalD2; + //========================================================================================== 22222216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD3=1; - TH1F* h2CeffHEnegativedirectionRecosignalD3 = new TH1F("h2CeffHEnegativedirectionRecosignalD3","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEnegativedirectionRecosignalD3 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD3 == 1) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 2) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 3) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 4) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 5) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 6) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 7) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 8) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 == 9) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==10) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==11) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==12) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionRecosignalD3 ==13) HEnegativedirectionRecosignalD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionRecosignalD3->Draw("Error"); - kcountHEnegativedirectionRecosignalD3++; - if(kcountHEnegativedirectionRecosignalD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionRecosignalD3 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD3 = new TH1F("h2CeffHEnegativedirectionRecosignalD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEnegativedirectionRecosignalD3 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD3 == 1) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 2) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 3) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 4) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 5) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 6) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 7) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 8) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 9) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 10) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 11) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 12) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionRecosignalD3 == 13) + HEnegativedirectionRecosignalD3->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionRecosignalD3->Draw("Error"); + kcountHEnegativedirectionRecosignalD3++; + if (kcountHEnegativedirectionRecosignalD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD3) delete h2CeffHEnegativedirectionRecosignalD3; - //========================================================================================== 22222217 + if (h2CeffHEnegativedirectionRecosignalD3) + delete h2CeffHEnegativedirectionRecosignalD3; + //========================================================================================== 22222217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD4=1; - TH1F* h2CeffHEnegativedirectionRecosignalD4 = new TH1F("h2CeffHEnegativedirectionRecosignalD4","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEnegativedirectionRecosignalD4 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD4 == 1) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 2) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 3) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 4) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 5) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 6) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 7) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 8) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 == 9) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 ==10) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 ==11) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionRecosignalD4 ==12) HEnegativedirectionRecosignalD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionRecosignalD4->Draw("Error"); - kcountHEnegativedirectionRecosignalD4++; - if(kcountHEnegativedirectionRecosignalD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionRecosignalD4 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD4 = new TH1F("h2CeffHEnegativedirectionRecosignalD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEnegativedirectionRecosignalD4 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD4 == 1) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 2) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 3) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 4) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 5) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 6) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 7) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 8) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 9) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 10) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 11) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionRecosignalD4 == 12) + HEnegativedirectionRecosignalD4->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionRecosignalD4->Draw("Error"); + kcountHEnegativedirectionRecosignalD4++; + if (kcountHEnegativedirectionRecosignalD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD4) delete h2CeffHEnegativedirectionRecosignalD4; - //========================================================================================== 22222218 + if (h2CeffHEnegativedirectionRecosignalD4) + delete h2CeffHEnegativedirectionRecosignalD4; + //========================================================================================== 22222218 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD5=1; - TH1F* h2CeffHEnegativedirectionRecosignalD5 = new TH1F("h2CeffHEnegativedirectionRecosignalD5","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEnegativedirectionRecosignalD5 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD5 == 1) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 2) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 3) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 4) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 5) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 6) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 7) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 8) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 == 9) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 ==10) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionRecosignalD5 ==11) HEnegativedirectionRecosignalD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionRecosignalD5->Draw("Error"); - kcountHEnegativedirectionRecosignalD5++; - if(kcountHEnegativedirectionRecosignalD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionRecosignalD5 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD5 = new TH1F("h2CeffHEnegativedirectionRecosignalD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD5->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEnegativedirectionRecosignalD5 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD5 == 1) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 2) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 3) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 4) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 5) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 6) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 7) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 8) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 9) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 10) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionRecosignalD5 == 11) + HEnegativedirectionRecosignalD5->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionRecosignalD5->Draw("Error"); + kcountHEnegativedirectionRecosignalD5++; + if (kcountHEnegativedirectionRecosignalD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD5) delete h2CeffHEnegativedirectionRecosignalD5; - //========================================================================================== 22222219 + if (h2CeffHEnegativedirectionRecosignalD5) + delete h2CeffHEnegativedirectionRecosignalD5; + //========================================================================================== 22222219 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD6=1; - TH1F* h2CeffHEnegativedirectionRecosignalD6 = new TH1F("h2CeffHEnegativedirectionRecosignalD6","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEnegativedirectionRecosignalD6 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD6 == 1) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 2) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 3) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 4) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 5) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 6) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 7) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 8) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 == 9) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionRecosignalD6 ==10) HEnegativedirectionRecosignalD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionRecosignalD6->Draw("Error"); - kcountHEnegativedirectionRecosignalD6++; - if(kcountHEnegativedirectionRecosignalD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionRecosignalD6 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD6 = new TH1F("h2CeffHEnegativedirectionRecosignalD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEnegativedirectionRecosignalD6 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD6 == 1) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 2) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 3) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 4) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 5) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 6) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 7) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 8) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 9) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionRecosignalD6 == 10) + HEnegativedirectionRecosignalD6->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionRecosignalD6->Draw("Error"); + kcountHEnegativedirectionRecosignalD6++; + if (kcountHEnegativedirectionRecosignalD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD6) delete h2CeffHEnegativedirectionRecosignalD6; - //========================================================================================== 22222220 + if (h2CeffHEnegativedirectionRecosignalD6) + delete h2CeffHEnegativedirectionRecosignalD6; + //========================================================================================== 22222220 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionRecosignalD7=1; - TH1F* h2CeffHEnegativedirectionRecosignalD7 = new TH1F("h2CeffHEnegativedirectionRecosignalD7","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionRecosignalD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionRecosignalD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEnegativedirectionRecosignalD7 = "<SetMarkerColor(2);HEnegativedirectionRecosignalD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionRecosignalD7 == 1) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignalD7 == 2) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionRecosignalD7 == 3) HEnegativedirectionRecosignalD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionRecosignalD7->Draw("Error"); - kcountHEnegativedirectionRecosignalD7++; - if(kcountHEnegativedirectionRecosignalD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionRecosignalD7 = 1; + TH1F* h2CeffHEnegativedirectionRecosignalD7 = new TH1F("h2CeffHEnegativedirectionRecosignalD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvariancehe[i][jeta][jphi]; + if (arecosignalhe[i][jeta][jphi] > 0.) { + HEnegativedirectionRecosignalD7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionRecosignalD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEnegativedirectionRecosignalD7 = "<SetMarkerColor(2); + HEnegativedirectionRecosignalD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionRecosignalD7 == 1) + HEnegativedirectionRecosignalD7->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignalD7 == 2) + HEnegativedirectionRecosignalD7->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionRecosignalD7 == 3) + HEnegativedirectionRecosignalD7->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionRecosignalD7->Draw("Error"); + kcountHEnegativedirectionRecosignalD7++; + if (kcountHEnegativedirectionRecosignalD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionRecosignalD7) delete h2CeffHEnegativedirectionRecosignalD7; + if (h2CeffHEnegativedirectionRecosignalD7) + delete h2CeffHEnegativedirectionRecosignalD7; //===================================================================== END of Recosignal HE for phi-symmetry //===================================================================== END of Recosignal HE for phi-symmetry //===================================================================== END of Recosignal HE for phi-symmetry //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Recosignal HF - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 2; - double arecosignalHF[ndepth][njeta][njphi]; - double recosignalvarianceHF[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double arecosignalHF[ndepth][njeta][njphi]; + double recosignalvarianceHF[ndepth][njeta][njphi]; //cout<<"111RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <FindObjectAny("h_recSignalEnergy1_HF1"); - TH2F *recSignalEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + TH2F* recSignalEnergy1HF1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF1"); + TH2F* recSignalEnergy0HF1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); TH2F* recSignalEnergyHF1 = (TH2F*)recSignalEnergy1HF1->Clone("recSignalEnergyHF1"); - recSignalEnergyHF1->Divide(recSignalEnergy1HF1,recSignalEnergy0HF1, 1, 1, "B"); - TH2F *recSignalEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF2"); - TH2F *recSignalEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + recSignalEnergyHF1->Divide(recSignalEnergy1HF1, recSignalEnergy0HF1, 1, 1, "B"); + TH2F* recSignalEnergy1HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy1_HF2"); + TH2F* recSignalEnergy0HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); TH2F* recSignalEnergyHF2 = (TH2F*)recSignalEnergy1HF2->Clone("recSignalEnergyHF2"); - recSignalEnergyHF2->Divide(recSignalEnergy1HF2,recSignalEnergy0HF2, 1, 1, "B"); -// cout<<"222RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <GetBinContent(jeta+1,jphi+1); - arecosignalHF[1][jeta][jphi] = recSignalEnergyHF2->GetBinContent(jeta+1,jphi+1); - if(arecosignalHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += arecosignalHF[0][jeta][jphi];++nsumrecosignalHF0;} - if(arecosignalHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += arecosignalHF[1][jeta][jphi];++nsumrecosignalHF1;} - }// phi - // PHI normalization: - for(int jphi=0;jphi 0.) arecosignalHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; - if(arecosignalHF[1][jeta][jphi] > 0.) arecosignalHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; - }// phi - }//eta + recSignalEnergyHF2->Divide(recSignalEnergy1HF2, recSignalEnergy0HF2, 1, 1, "B"); + // cout<<"222RRRRRRRRRRRRRRRRRRRRRRRRR Recosignal HF" <GetBinContent(jeta + 1, jphi + 1); + arecosignalHF[1][jeta][jphi] = recSignalEnergyHF2->GetBinContent(jeta + 1, jphi + 1); + if (arecosignalHF[0][jeta][jphi] > 0.) { + sumrecosignalHF0 += arecosignalHF[0][jeta][jphi]; + ++nsumrecosignalHF0; + } + if (arecosignalHF[1][jeta][jphi] > 0.) { + sumrecosignalHF1 += arecosignalHF[1][jeta][jphi]; + ++nsumrecosignalHF1; + } + } // phi + // PHI normalization: + for (int jphi = 0; jphi < njphi; jphi++) { + if (arecosignalHF[0][jeta][jphi] > 0.) + arecosignalHF[0][jeta][jphi] /= (sumrecosignalHF0 / nsumrecosignalHF0); + if (arecosignalHF[1][jeta][jphi] > 0.) + arecosignalHF[1][jeta][jphi] /= (sumrecosignalHF1 / nsumrecosignalHF1); + } // phi + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthfs //====================================================================== //====================================================================== -// cout<<" R2D-eta/phi-plot: R, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRrecosignalHF42D = new TH2F("GefzRrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRrecosignalHF42D0 = new TH2F("GefzRrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRrecosignalHF42D = new TH2F("GefzRrecosignalHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRrecosignalHF42D0 = new TH2F("GefzRrecosignalHF42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRrecosignalHF42DF = (TH2F*)GefzRrecosignalHF42D0->Clone("GefzRrecosignalHF42DF"); - for (int i=0;i0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRrecosignalHF42D ->Fill(kkk,jphi,ccc1); GefzRrecosignalHF42D0 ->Fill(kkk,jphi,1.); } - }}} - GefzRrecosignalHF42DF->Divide(GefzRrecosignalHF42D,GefzRrecosignalHF42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHF42DF->SetXTitle("_depth #eta \b"); GefzRrecosignalHF42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRrecosignalHF42D->Fill(kkk, jphi, ccc1); + GefzRrecosignalHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + GefzRrecosignalHF42DF->Divide(GefzRrecosignalHF42D, GefzRrecosignalHF42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF42DF->SetXTitle("_depth #eta \b"); + GefzRrecosignalHF42DF->SetYTitle(" #phi \b"); GefzRrecosignalHF42DF->Draw("COLZ"); - c2x1->cd(2); - TH1F *energyhitSignal_HF= (TH1F*)dir->FindObjectAny("h_energyhitSignal_HF"); - energyhitSignal_HF ->SetMarkerStyle(20);energyhitSignal_HF ->SetMarkerSize(0.4);energyhitSignal_HF ->GetYaxis()->SetLabelSize(0.04);energyhitSignal_HF ->SetXTitle("energyhitSignal_HF \b");energyhitSignal_HF ->SetMarkerColor(2);energyhitSignal_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitSignal_HF ->Draw("Error"); - - + TH1F* energyhitSignal_HF = (TH1F*)dir->FindObjectAny("h_energyhitSignal_HF"); + energyhitSignal_HF->SetMarkerStyle(20); + energyhitSignal_HF->SetMarkerSize(0.4); + energyhitSignal_HF->GetYaxis()->SetLabelSize(0.04); + energyhitSignal_HF->SetXTitle("energyhitSignal_HF \b"); + energyhitSignal_HF->SetMarkerColor(2); + energyhitSignal_HF->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitSignal_HF->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RrecosignalGeneralD2PhiSymmetryHF.png"); c2x1->Clear(); // clean-up - if (GefzRrecosignalHF42D) delete GefzRrecosignalHF42D; - if (GefzRrecosignalHF42D0) delete GefzRrecosignalHF42D0; - if (GefzRrecosignalHF42DF) delete GefzRrecosignalHF42DF; + if (GefzRrecosignalHF42D) + delete GefzRrecosignalHF42D; + if (GefzRrecosignalHF42D0) + delete GefzRrecosignalHF42D0; + if (GefzRrecosignalHF42DF) + delete GefzRrecosignalHF42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRrecosignalHF41D = new TH1F("GefzRrecosignalHF41D","", nphi, 0., 72. ); - TH1F* GefzRrecosignalHF41D0 = new TH1F("GefzRrecosignalHF41D0","",nphi, 0., 72. ); + TH1F* GefzRrecosignalHF41D = new TH1F("GefzRrecosignalHF41D", "", nphi, 0., 72.); + TH1F* GefzRrecosignalHF41D0 = new TH1F("GefzRrecosignalHF41D0", "", nphi, 0., 72.); TH1F* GefzRrecosignalHF41DF = (TH1F*)GefzRrecosignalHF41D0->Clone("GefzRrecosignalHF41DF"); - for (int jphi=0;jphiFill(jphi,ccc1); GefzRrecosignalHF41D0 ->Fill(jphi,1.); } - }}} - GefzRrecosignalHF41DF->Divide(GefzRrecosignalHF41D,GefzRrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRrecosignalHF41D->Fill(jphi, ccc1); + GefzRrecosignalHF41D0->Fill(jphi, 1.); + } + } + } + } + GefzRrecosignalHF41DF->Divide( + GefzRrecosignalHF41D, GefzRrecosignalHF41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRrecosignalHF41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRrecosignalHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRrecosignalHF41DF->SetMarkerStyle(20); GefzRrecosignalHF41DF->SetMarkerSize(1.4); GefzRrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRrecosignalHF41DF->SetXTitle("#phi \b"); GefzRrecosignalHF41DF->SetYTitle(" \b"); GefzRrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRrecosignalHF41DF->SetMarkerColor(4); GefzRrecosignalHF41DF->SetLineColor(4);// GefzRrecosignalHF41DF->SetMinimum(0.8); // GefzRrecosignalHF41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRrecosignalHF41DF->SetMarkerStyle(20); + GefzRrecosignalHF41DF->SetMarkerSize(1.4); + GefzRrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); + GefzRrecosignalHF41DF->SetXTitle("#phi \b"); + GefzRrecosignalHF41DF->SetYTitle(" \b"); + GefzRrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRrecosignalHF41DF->SetMarkerColor(4); + GefzRrecosignalHF41DF->SetLineColor( + 4); // GefzRrecosignalHF41DF->SetMinimum(0.8); // GefzRrecosignalHF41DF->SetMaximum(1.000); GefzRrecosignalHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RrecosignalGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (GefzRrecosignalHF41D) delete GefzRrecosignalHF41D; - if (GefzRrecosignalHF41D0) delete GefzRrecosignalHF41D0; - if (GefzRrecosignalHF41DF) delete GefzRrecosignalHF41DF; - //========================================================================================== 4 + if (GefzRrecosignalHF41D) + delete GefzRrecosignalHF41D; + if (GefzRrecosignalHF41D0) + delete GefzRrecosignalHF41D0; + if (GefzRrecosignalHF41DF) + delete GefzRrecosignalHF41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionRecosignal1=1; - TH1F* h2CeffHFpositivedirectionRecosignal1 = new TH1F("h2CeffHFpositivedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { + if (jeta - 41 >= 0) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFpositivedirectionRecosignal1 = "<SetMarkerColor(2);HFpositivedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignal1 == 1) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 2) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 3) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 4) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 5) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 6) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 7) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 8) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 == 9) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==10) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==11) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==12) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignal1 ==13) HFpositivedirectionRecosignal1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionRecosignal1->Draw("Error"); - kcountHFpositivedirectionRecosignal1++; - if(kcountHFpositivedirectionRecosignal1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFpositivedirectionRecosignal1 = (TH1F*)h2CeffHFpositivedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFpositivedirectionRecosignal1 = "<SetMarkerColor(2); + HFpositivedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignal1 == 1) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 2) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 3) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 4) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 5) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 6) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 7) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 8) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 9) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 10) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 11) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 12) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignal1 == 13) + HFpositivedirectionRecosignal1->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignal1->Draw("Error"); + kcountHFpositivedirectionRecosignal1++; + if (kcountHFpositivedirectionRecosignal1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignal1) delete h2CeffHFpositivedirectionRecosignal1; - + if (h2CeffHFpositivedirectionRecosignal1) + delete h2CeffHFpositivedirectionRecosignal1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionRecosignal2=1; - TH1F* h2CeffHFpositivedirectionRecosignal2 = new TH1F("h2CeffHFpositivedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFpositivedirectionRecosignal2 = "<SetMarkerColor(2);HFpositivedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignal2 == 1) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 2) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 3) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 4) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 5) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 6) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 7) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 8) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 == 9) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==10) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==11) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==12) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignal2 ==13) HFpositivedirectionRecosignal2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionRecosignal2->Draw("Error"); - kcountHFpositivedirectionRecosignal2++; - if(kcountHFpositivedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHFpositivedirectionRecosignal2 = 1; + TH1F* h2CeffHFpositivedirectionRecosignal2 = new TH1F("h2CeffHFpositivedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignal: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFpositivedirectionRecosignal2 = "<SetMarkerColor(2); + HFpositivedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignal2 == 1) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 2) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 3) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 4) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 5) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 6) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 7) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 8) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 9) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 10) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 11) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 12) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignal2 == 13) + HFpositivedirectionRecosignal2->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignal2->Draw("Error"); + kcountHFpositivedirectionRecosignal2++; + if (kcountHFpositivedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignal2) delete h2CeffHFpositivedirectionRecosignal2; + if (h2CeffHFpositivedirectionRecosignal2) + delete h2CeffHFpositivedirectionRecosignal2; - //========================================================================================== 1111114 + //========================================================================================== 1111114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionRecosignal1=1; - TH1F* h2CeffHFnegativedirectionRecosignal1 = new TH1F("h2CeffHFnegativedirectionRecosignal1","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFnegativedirectionRecosignal1 = "<SetMarkerColor(2);HFnegativedirectionRecosignal1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignal1 == 1) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 2) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 3) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 4) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 5) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 6) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 7) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 8) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 == 9) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==10) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==11) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==12) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignal1 ==13) HFnegativedirectionRecosignal1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionRecosignal1->Draw("Error"); - kcountHFnegativedirectionRecosignal1++; - if(kcountHFnegativedirectionRecosignal1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFnegativedirectionRecosignal1 = (TH1F*)h2CeffHFnegativedirectionRecosignal1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionRecosignal1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignal1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFnegativedirectionRecosignal1 = "<SetMarkerColor(2); + HFnegativedirectionRecosignal1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignal1 == 1) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 2) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 3) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 4) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 5) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 6) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 7) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 8) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 9) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 10) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 11) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 12) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignal1 == 13) + HFnegativedirectionRecosignal1->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignal1->Draw("Error"); + kcountHFnegativedirectionRecosignal1++; + if (kcountHFnegativedirectionRecosignal1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignal1) delete h2CeffHFnegativedirectionRecosignal1; - + if (h2CeffHFnegativedirectionRecosignal1) + delete h2CeffHFnegativedirectionRecosignal1; - //========================================================================================== 1111115 + //========================================================================================== 1111115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionRecosignal2=1; - TH1F* h2CeffHFnegativedirectionRecosignal2 = new TH1F("h2CeffHFnegativedirectionRecosignal2","", nphi, 0., 72. ); - for (int jeta=0;jetaClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignal2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFnegativedirectionRecosignal2 = "<SetMarkerColor(2);HFnegativedirectionRecosignal2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignal2 == 1) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 2) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 3) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 4) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 5) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 6) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 7) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 8) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 == 9) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==10) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==11) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==12) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignal2 ==13) HFnegativedirectionRecosignal2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); - HFnegativedirectionRecosignal2->Draw("Error"); - kcountHFnegativedirectionRecosignal2++; - if(kcountHFnegativedirectionRecosignal2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + int kcountHFnegativedirectionRecosignal2 = 1; + TH1F* h2CeffHFnegativedirectionRecosignal2 = new TH1F("h2CeffHFnegativedirectionRecosignal2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignal: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = arecosignalHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionRecosignal2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignal2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFnegativedirectionRecosignal2 = "<SetMarkerColor(2); + HFnegativedirectionRecosignal2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignal2 == 1) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 2) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 3) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 4) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 5) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 6) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 7) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 8) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 9) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 10) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 11) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 12) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignal2 == 13) + HFnegativedirectionRecosignal2->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionRecosignal2->Draw("Error"); + kcountHFnegativedirectionRecosignal2++; + if (kcountHFnegativedirectionRecosignal2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignal2) delete h2CeffHFnegativedirectionRecosignal2; + if (h2CeffHFnegativedirectionRecosignal2) + delete h2CeffHFnegativedirectionRecosignal2; //====================================================================================================================== //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HF1"); - TH2F *recosignalVariance0HF1= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recSignalEnergy2_HF1"); + TH2F* recosignalVariance0HF1 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF1"); TH2F* recosignalVarianceHF1 = (TH2F*)recosignalVariance1HF1->Clone("recosignalVarianceHF1"); - recosignalVarianceHF1->Divide(recosignalVariance1HF1,recosignalVariance0HF1, 1, 1, "B"); - TH2F *recosignalVariance1HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HF2"); - TH2F *recosignalVariance0HF2= (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); + recosignalVarianceHF1->Divide(recosignalVariance1HF1, recosignalVariance0HF1, 1, 1, "B"); + TH2F* recosignalVariance1HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy2_HF2"); + TH2F* recosignalVariance0HF2 = (TH2F*)dir->FindObjectAny("h_recSignalEnergy0_HF2"); TH2F* recosignalVarianceHF2 = (TH2F*)recosignalVariance1HF2->Clone("recosignalVarianceHF2"); - recosignalVarianceHF2->Divide(recosignalVariance1HF2,recosignalVariance0HF2, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive recosignalvarianceHF - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jetaGetBinContent(jeta+1,jphi+1); - recosignalvarianceHF[1][jeta][jphi] = recosignalVarianceHF2->GetBinContent(jeta+1,jphi+1); - if(recosignalvarianceHF[0][jeta][jphi] > 0.) {sumrecosignalHF0 += recosignalvarianceHF[0][jeta][jphi];++nsumrecosignalHF0;} - if(recosignalvarianceHF[1][jeta][jphi] > 0.) {sumrecosignalHF1 += recosignalvarianceHF[1][jeta][jphi];++nsumrecosignalHF1;} - }// phi - // PHI normalization : - for(int jphi=0;jphi 0.) recosignalvarianceHF[0][jeta][jphi] /= (sumrecosignalHF0/nsumrecosignalHF0) ; - if(recosignalvarianceHF[1][jeta][jphi] > 0.) recosignalvarianceHF[1][jeta][jphi] /= (sumrecosignalHF1/nsumrecosignalHF1) ; - }// phi - // recosignalvarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 - for(int jphi=0;jphi - ()**2 into massive recosignalvarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + //preparation for PHI normalization: + double sumrecosignalHF0 = 0; + int nsumrecosignalHF0 = 0; + double sumrecosignalHF1 = 0; + int nsumrecosignalHF1 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + recosignalvarianceHF[0][jeta][jphi] = recosignalVarianceHF1->GetBinContent(jeta + 1, jphi + 1); + recosignalvarianceHF[1][jeta][jphi] = recosignalVarianceHF2->GetBinContent(jeta + 1, jphi + 1); + if (recosignalvarianceHF[0][jeta][jphi] > 0.) { + sumrecosignalHF0 += recosignalvarianceHF[0][jeta][jphi]; + ++nsumrecosignalHF0; + } + if (recosignalvarianceHF[1][jeta][jphi] > 0.) { + sumrecosignalHF1 += recosignalvarianceHF[1][jeta][jphi]; + ++nsumrecosignalHF1; } - //cout<<" Vaiance: DONE*****" < 0.) + recosignalvarianceHF[0][jeta][jphi] /= (sumrecosignalHF0 / nsumrecosignalHF0); + if (recosignalvarianceHF[1][jeta][jphi] > 0.) + recosignalvarianceHF[1][jeta][jphi] /= (sumrecosignalHF1 / nsumrecosignalHF1); + } // phi + // recosignalvarianceHF (D) = sum(R*R)/N - (sum(R)/N)**2 + for (int jphi = 0; jphi < njphi; jphi++) { + // cout<<"12 12 12 jeta= "<< jeta <<" jphi = "<Clear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDrecosignalHF42D = new TH2F("DefzDrecosignalHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHF42D0 = new TH2F("DefzDrecosignalHF42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDrecosignalHF42DF = (TH2F*)DefzDrecosignalHF42D0->Clone("DefzDrecosignalHF42DF"); - for (int i=0;i0 kkk=k2plot+1; //-41 +41 !=0 - if(arecosignalHF[i][jeta][jphi]>0.) {DefzDrecosignalHF42D ->Fill(kkk,jphi,ccc1); DefzDrecosignalHF42D0 ->Fill(kkk,jphi,1.); } - }}} - DefzDrecosignalHF42DF->Divide(DefzDrecosignalHF42D,DefzDrecosignalHF42D0, 1, 1, "B");// average A - // DefzDrecosignalHF1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHF42DF->SetMarkerStyle(20); DefzDrecosignalHF42DF->SetMarkerSize(0.4); DefzDrecosignalHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF42DF->SetXTitle("_depth #eta \b"); DefzDrecosignalHF42DF->SetYTitle(" #phi \b"); DefzDrecosignalHF42DF->SetZTitle("_depth \b"); DefzDrecosignalHF42DF->SetMarkerColor(2); DefzDrecosignalHF42DF->SetLineColor(0); // DefzDrecosignalHF42DF->SetMaximum(1.000); // DefzDrecosignalHF42DF->SetMinimum(1.0); - DefzDrecosignalHF42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DrecosignalGeneralD2PhiSymmetryHF.png"); - c1x0->Clear(); - // clean-up - if (DefzDrecosignalHF42D) delete DefzDrecosignalHF42D; - if (DefzDrecosignalHF42D0) delete DefzDrecosignalHF42D0; - if (DefzDrecosignalHF42DF) delete DefzDrecosignalHF42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDrecosignalHF42D = new TH2F("DefzDrecosignalHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHF42D0 = new TH2F("DefzDrecosignalHF42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDrecosignalHF42DF = (TH2F*)DefzDrecosignalHF42D0->Clone("DefzDrecosignalHF42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (arecosignalHF[i][jeta][jphi] > 0.) { + DefzDrecosignalHF42D->Fill(kkk, jphi, ccc1); + DefzDrecosignalHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + DefzDrecosignalHF42DF->Divide(DefzDrecosignalHF42D, DefzDrecosignalHF42D0, 1, 1, "B"); // average A + // DefzDrecosignalHF1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF42DF->SetMarkerStyle(20); + DefzDrecosignalHF42DF->SetMarkerSize(0.4); + DefzDrecosignalHF42DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHF42DF->SetXTitle("_depth #eta \b"); + DefzDrecosignalHF42DF->SetYTitle(" #phi \b"); + DefzDrecosignalHF42DF->SetZTitle("_depth \b"); + DefzDrecosignalHF42DF->SetMarkerColor(2); + DefzDrecosignalHF42DF->SetLineColor( + 0); // DefzDrecosignalHF42DF->SetMaximum(1.000); // DefzDrecosignalHF42DF->SetMinimum(1.0); + DefzDrecosignalHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DrecosignalGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDrecosignalHF42D) + delete DefzDrecosignalHF42D; + if (DefzDrecosignalHF42D0) + delete DefzDrecosignalHF42D0; + if (DefzDrecosignalHF42DF) + delete DefzDrecosignalHF42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDrecosignalHF41D = new TH1F("DefzDrecosignalHF41D","", nphi, 0., 72. ); - TH1F* DefzDrecosignalHF41D0 = new TH1F("DefzDrecosignalHF41D0","",nphi, 0., 72. ); - TH1F* DefzDrecosignalHF41DF = (TH1F*)DefzDrecosignalHF41D0->Clone("DefzDrecosignalHF41DF"); - - for (int jphi=0;jphi0.) {DefzDrecosignalHF41D ->Fill(jphi,ccc1); DefzDrecosignalHF41D0 ->Fill(jphi,1.); } - }}} - // DefzDrecosignalHF41D->Sumw2();DefzDrecosignalHF41D0->Sumw2(); - - DefzDrecosignalHF41DF->Divide(DefzDrecosignalHF41D,DefzDrecosignalHF41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDrecosignalHF41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDrecosignalHF41DF->SetMarkerStyle(20); DefzDrecosignalHF41DF->SetMarkerSize(1.4); DefzDrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDrecosignalHF41DF->SetXTitle("#phi \b"); DefzDrecosignalHF41DF->SetYTitle(" \b"); DefzDrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDrecosignalHF41DF->SetMarkerColor(4); DefzDrecosignalHF41DF->SetLineColor(4);// DefzDrecosignalHF41DF->SetMinimum(0.8); DefzDrecosignalHF41DF->SetMinimum(-0.015); - DefzDrecosignalHF41DF->Draw("Error"); + TH1F* DefzDrecosignalHF41D = new TH1F("DefzDrecosignalHF41D", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHF41D0 = new TH1F("DefzDrecosignalHF41D0", "", nphi, 0., 72.); + TH1F* DefzDrecosignalHF41DF = (TH1F*)DefzDrecosignalHF41D0->Clone("DefzDrecosignalHF41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + DefzDrecosignalHF41D->Fill(jphi, ccc1); + DefzDrecosignalHF41D0->Fill(jphi, 1.); + } + } + } + } + // DefzDrecosignalHF41D->Sumw2();DefzDrecosignalHF41D0->Sumw2(); + + DefzDrecosignalHF41DF->Divide( + DefzDrecosignalHF41D, DefzDrecosignalHF41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDrecosignalHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDrecosignalHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDrecosignalHF41DF->SetMarkerStyle(20); + DefzDrecosignalHF41DF->SetMarkerSize(1.4); + DefzDrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08); + DefzDrecosignalHF41DF->SetXTitle("#phi \b"); + DefzDrecosignalHF41DF->SetYTitle(" \b"); + DefzDrecosignalHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDrecosignalHF41DF->SetMarkerColor(4); + DefzDrecosignalHF41DF->SetLineColor( + 4); // DefzDrecosignalHF41DF->SetMinimum(0.8); DefzDrecosignalHF41DF->SetMinimum(-0.015); + DefzDrecosignalHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DrecosignalGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (DefzDrecosignalHF41D) delete DefzDrecosignalHF41D; - if (DefzDrecosignalHF41D0) delete DefzDrecosignalHF41D0; - if (DefzDrecosignalHF41DF) delete DefzDrecosignalHF41DF; - //========================================================================================== 14 + if (DefzDrecosignalHF41D) + delete DefzDrecosignalHF41D; + if (DefzDrecosignalHF41D0) + delete DefzDrecosignalHF41D0; + if (DefzDrecosignalHF41DF) + delete DefzDrecosignalHF41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionRecosignalD1=1; - TH1F* h2CeffHFpositivedirectionRecosignalD1 = new TH1F("h2CeffHFpositivedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFpositivedirectionRecosignalD1 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignalD1 == 1) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 2) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 3) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 4) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 5) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 6) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 7) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 8) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 == 9) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==10) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==11) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==12) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionRecosignalD1 ==13) HFpositivedirectionRecosignalD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionRecosignalD1->Draw("Error"); - kcountHFpositivedirectionRecosignalD1++; - if(kcountHFpositivedirectionRecosignalD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHFpositivedirectionRecosignalD1 = 1; + TH1F* h2CeffHFpositivedirectionRecosignalD1 = new TH1F("h2CeffHFpositivedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFpositivedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFpositivedirectionRecosignalD1 = "<SetMarkerColor(2); + HFpositivedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignalD1 == 1) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 2) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 3) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 4) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 5) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 6) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 7) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 8) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 9) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 10) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 11) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 12) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionRecosignalD1 == 13) + HFpositivedirectionRecosignalD1->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionRecosignalD1->Draw("Error"); + kcountHFpositivedirectionRecosignalD1++; + if (kcountHFpositivedirectionRecosignalD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignalD1) delete h2CeffHFpositivedirectionRecosignalD1; - //========================================================================================== 15 + if (h2CeffHFpositivedirectionRecosignalD1) + delete h2CeffHFpositivedirectionRecosignalD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionRecosignalD2=1; - TH1F* h2CeffHFpositivedirectionRecosignalD2 = new TH1F("h2CeffHFpositivedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFpositivedirectionRecosignalD2 = "<SetMarkerColor(2);HFpositivedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionRecosignalD2 == 1) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 2) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 3) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 4) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 5) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 6) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 7) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 8) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 == 9) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==10) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==11) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==12) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionRecosignalD2 ==13) HFpositivedirectionRecosignalD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionRecosignalD2->Draw("Error"); - kcountHFpositivedirectionRecosignalD2++; - if(kcountHFpositivedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHFpositivedirectionRecosignalD2 = 1; + TH1F* h2CeffHFpositivedirectionRecosignalD2 = new TH1F("h2CeffHFpositivedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionRecosignalD: + if (jeta - 41 >= 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFpositivedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFpositivedirectionRecosignalD2 = "<SetMarkerColor(2); + HFpositivedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionRecosignalD2 == 1) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 2) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 3) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 4) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 5) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 6) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 7) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 8) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 9) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 10) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 11) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 12) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionRecosignalD2 == 13) + HFpositivedirectionRecosignalD2->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionRecosignalD2->Draw("Error"); + kcountHFpositivedirectionRecosignalD2++; + if (kcountHFpositivedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionRecosignalD2) delete h2CeffHFpositivedirectionRecosignalD2; - //========================================================================================== 22222214 + if (h2CeffHFpositivedirectionRecosignalD2) + delete h2CeffHFpositivedirectionRecosignalD2; + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionRecosignalD1=1; - TH1F* h2CeffHFnegativedirectionRecosignalD1 = new TH1F("h2CeffHFnegativedirectionRecosignalD1","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFnegativedirectionRecosignalD1 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignalD1 == 1) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 2) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 3) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 4) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 5) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 6) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 7) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 8) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 == 9) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==10) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==11) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==12) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionRecosignalD1 ==13) HFnegativedirectionRecosignalD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionRecosignalD1->Draw("Error"); - kcountHFnegativedirectionRecosignalD1++; - if(kcountHFnegativedirectionRecosignalD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + int kcountHFnegativedirectionRecosignalD1 = 1; + TH1F* h2CeffHFnegativedirectionRecosignalD1 = new TH1F("h2CeffHFnegativedirectionRecosignalD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFnegativedirectionRecosignalD1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignalD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFnegativedirectionRecosignalD1 = "<SetMarkerColor(2); + HFnegativedirectionRecosignalD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignalD1 == 1) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 2) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 3) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 4) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 5) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 6) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 7) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 8) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 9) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 10) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 11) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 12) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionRecosignalD1 == 13) + HFnegativedirectionRecosignalD1->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionRecosignalD1->Draw("Error"); + kcountHFnegativedirectionRecosignalD1++; + if (kcountHFnegativedirectionRecosignalD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignalD1) delete h2CeffHFnegativedirectionRecosignalD1; - //========================================================================================== 22222215 + if (h2CeffHFnegativedirectionRecosignalD1) + delete h2CeffHFnegativedirectionRecosignalD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionRecosignalD2=1; - TH1F* h2CeffHFnegativedirectionRecosignalD2 = new TH1F("h2CeffHFnegativedirectionRecosignalD2","", nphi, 0., 72. ); - - for (int jeta=0;jetaClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionRecosignalD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionRecosignalD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFnegativedirectionRecosignalD2 = "<SetMarkerColor(2);HFnegativedirectionRecosignalD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionRecosignalD2 == 1) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 2) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 3) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 4) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 5) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 6) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 7) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 8) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 == 9) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==10) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==11) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==12) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionRecosignalD2 ==13) HFnegativedirectionRecosignalD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); - HFnegativedirectionRecosignalD2->Draw("Error"); - kcountHFnegativedirectionRecosignalD2++; - if(kcountHFnegativedirectionRecosignalD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41< 0) - }//for jeta + int kcountHFnegativedirectionRecosignalD2 = 1; + TH1F* h2CeffHFnegativedirectionRecosignalD2 = new TH1F("h2CeffHFnegativedirectionRecosignalD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionRecosignalD: + if (jeta - 41 < 0) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = recosignalvarianceHF[i][jeta][jphi]; + if (arecosignalHF[i][jeta][jphi] > 0.) { + HFnegativedirectionRecosignalD2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionRecosignalD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFnegativedirectionRecosignalD2 = "<SetMarkerColor(2); + HFnegativedirectionRecosignalD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionRecosignalD2 == 1) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 2) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 3) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 4) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 5) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 6) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 7) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 8) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 9) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 10) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 11) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 12) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionRecosignalD2 == 13) + HFnegativedirectionRecosignalD2->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionRecosignalD2->Draw("Error"); + kcountHFnegativedirectionRecosignalD2++; + if (kcountHFnegativedirectionRecosignalD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41< 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionRecosignalD2) delete h2CeffHFnegativedirectionRecosignalD2; + if (h2CeffHFnegativedirectionRecosignalD2) + delete h2CeffHFnegativedirectionRecosignalD2; //===================================================================== END of Recosignal HF for phi-symmetry //===================================================================== END of Recosignal HF for phi-symmetry @@ -9902,620 +13788,890 @@ std::cout<<" We are here to print ADC "<FindObjectAny("h_recNoiseEnergy1_HB1"); - TH2F *recNoiseEnergy0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + TH2F* recNoiseEnergy1HB1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB1"); + TH2F* recNoiseEnergy0HB1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); TH2F* recNoiseEnergyHB1 = (TH2F*)recNoiseEnergy1HB1->Clone("recNoiseEnergyHB1"); - recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1,recNoiseEnergy0HB1, 1, 1, "B"); - TH2F *recNoiseEnergy1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB2"); - TH2F *recNoiseEnergy0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1, recNoiseEnergy0HB1, 1, 1, "B"); + TH2F* recNoiseEnergy1HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB2"); + TH2F* recNoiseEnergy0HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); TH2F* recNoiseEnergyHB2 = (TH2F*)recNoiseEnergy1HB2->Clone("recNoiseEnergyHB2"); - recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2,recNoiseEnergy0HB2, 1, 1, "B"); - TH2F *recNoiseEnergy1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB3"); - TH2F *recNoiseEnergy0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2, recNoiseEnergy0HB2, 1, 1, "B"); + TH2F* recNoiseEnergy1HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB3"); + TH2F* recNoiseEnergy0HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); TH2F* recNoiseEnergyHB3 = (TH2F*)recNoiseEnergy1HB3->Clone("recNoiseEnergyHB3"); - recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3,recNoiseEnergy0HB3, 1, 1, "B"); - TH2F *recNoiseEnergy1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB4"); - TH2F *recNoiseEnergy0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3, recNoiseEnergy0HB3, 1, 1, "B"); + TH2F* recNoiseEnergy1HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HB4"); + TH2F* recNoiseEnergy0HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); TH2F* recNoiseEnergyHB4 = (TH2F*)recNoiseEnergy1HB4->Clone("recNoiseEnergyHB4"); - recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4,recNoiseEnergy0HB4, 1, 1, "B"); - for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4, recNoiseEnergy0HB4, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { //====================================================================== PHI normalization & put R into massive areconoiseHB //preparation for PHI normalization: - double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - areconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); - areconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); - areconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); - breconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta+1,jphi+1); - breconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta+1,jphi+1); - breconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta+1,jphi+1); - breconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta+1,jphi+1); - if(areconoiseHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += areconoiseHB[0][jeta][jphi];++nsumreconoiseHB0;} - if(areconoiseHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += areconoiseHB[1][jeta][jphi];++nsumreconoiseHB1;} - if(areconoiseHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += areconoiseHB[2][jeta][jphi];++nsumreconoiseHB2;} - if(areconoiseHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += areconoiseHB[3][jeta][jphi];++nsumreconoiseHB3;} - }// phi + double sumreconoiseHB0 = 0; + int nsumreconoiseHB0 = 0; + double sumreconoiseHB1 = 0; + int nsumreconoiseHB1 = 0; + double sumreconoiseHB2 = 0; + int nsumreconoiseHB2 = 0; + double sumreconoiseHB3 = 0; + int nsumreconoiseHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + areconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta + 1, jphi + 1); + areconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta + 1, jphi + 1); + areconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta + 1, jphi + 1); + areconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[0][jeta][jphi] = recNoiseEnergyHB1->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[1][jeta][jphi] = recNoiseEnergyHB2->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[2][jeta][jphi] = recNoiseEnergyHB3->GetBinContent(jeta + 1, jphi + 1); + breconoiseHB[3][jeta][jphi] = recNoiseEnergyHB4->GetBinContent(jeta + 1, jphi + 1); + if (areconoiseHB[0][jeta][jphi] != 0.) { + sumreconoiseHB0 += areconoiseHB[0][jeta][jphi]; + ++nsumreconoiseHB0; + } + if (areconoiseHB[1][jeta][jphi] != 0.) { + sumreconoiseHB1 += areconoiseHB[1][jeta][jphi]; + ++nsumreconoiseHB1; + } + if (areconoiseHB[2][jeta][jphi] != 0.) { + sumreconoiseHB2 += areconoiseHB[2][jeta][jphi]; + ++nsumreconoiseHB2; + } + if (areconoiseHB[3][jeta][jphi] != 0.) { + sumreconoiseHB3 += areconoiseHB[3][jeta][jphi]; + ++nsumreconoiseHB3; + } + } // phi // PHI normalization: DIF - for(int jphi=0;jphiClear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRreconoiseHB42D = new TH2F("GefzRreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRreconoiseHB42D0 = new TH2F("GefzRreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHB42D = new TH2F("GefzRreconoiseHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRreconoiseHB42D0 = new TH2F("GefzRreconoiseHB42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRreconoiseHB42DF = (TH2F*)GefzRreconoiseHB42D0->Clone("GefzRreconoiseHB42DF"); - for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHB42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzRreconoiseHB42DF->Divide(GefzRreconoiseHB42D,GefzRreconoiseHB42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHB42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRreconoiseHB42D->Fill(kkk, jphi, ccc1); + GefzRreconoiseHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzRreconoiseHB42DF->Divide(GefzRreconoiseHB42D, GefzRreconoiseHB42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB42DF->SetXTitle("_depth #eta \b"); + GefzRreconoiseHB42DF->SetYTitle(" #phi \b"); GefzRreconoiseHB42DF->Draw("COLZ"); - c2x1->cd(2); - TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); - energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); - - + TH1F* energyhitNoise_HB = (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); + energyhitNoise_HB->SetMarkerStyle(20); + energyhitNoise_HB->SetMarkerSize(0.4); + energyhitNoise_HB->GetYaxis()->SetLabelSize(0.04); + energyhitNoise_HB->SetXTitle("energyhitNoise_HB \b"); + energyhitNoise_HB->SetMarkerColor(2); + energyhitNoise_HB->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitNoise_HB->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RreconoiseGeneralD2PhiSymmetryHB.png"); c2x1->Clear(); // clean-up - if (GefzRreconoiseHB42D) delete GefzRreconoiseHB42D; - if (GefzRreconoiseHB42D0) delete GefzRreconoiseHB42D0; - if (GefzRreconoiseHB42DF) delete GefzRreconoiseHB42DF; + if (GefzRreconoiseHB42D) + delete GefzRreconoiseHB42D; + if (GefzRreconoiseHB42D0) + delete GefzRreconoiseHB42D0; + if (GefzRreconoiseHB42DF) + delete GefzRreconoiseHB42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRreconoiseHB41D = new TH1F("GefzRreconoiseHB41D","", nphi, 0., 72. ); - TH1F* GefzRreconoiseHB41D0 = new TH1F("GefzRreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHB41D = new TH1F("GefzRreconoiseHB41D", "", nphi, 0., 72.); + TH1F* GefzRreconoiseHB41D0 = new TH1F("GefzRreconoiseHB41D0", "", nphi, 0., 72.); TH1F* GefzRreconoiseHB41DF = (TH1F*)GefzRreconoiseHB41D0->Clone("GefzRreconoiseHB41DF"); - for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHB41D0 ->Fill(jphi,1.); } - }}}} - GefzRreconoiseHB41DF->Divide(GefzRreconoiseHB41D,GefzRreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRreconoiseHB41D->Fill(jphi, ccc1); + GefzRreconoiseHB41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzRreconoiseHB41DF->Divide(GefzRreconoiseHB41D, GefzRreconoiseHB41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRreconoiseHB41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHB41DF->SetMarkerStyle(20); GefzRreconoiseHB41DF->SetMarkerSize(1.4); GefzRreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHB41DF->SetXTitle("#phi \b"); GefzRreconoiseHB41DF->SetYTitle(" \b"); GefzRreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHB41DF->SetMarkerColor(4); GefzRreconoiseHB41DF->SetLineColor(4);//GefzRreconoiseHB41DF->SetMinimum(0.8); // GefzRreconoiseHB41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHB41DF->SetMarkerStyle(20); + GefzRreconoiseHB41DF->SetMarkerSize(1.4); + GefzRreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); + GefzRreconoiseHB41DF->SetXTitle("#phi \b"); + GefzRreconoiseHB41DF->SetYTitle(" \b"); + GefzRreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRreconoiseHB41DF->SetMarkerColor(4); + GefzRreconoiseHB41DF->SetLineColor( + 4); //GefzRreconoiseHB41DF->SetMinimum(0.8); // GefzRreconoiseHB41DF->SetMaximum(1.000); GefzRreconoiseHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RreconoiseGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (GefzRreconoiseHB41D) delete GefzRreconoiseHB41D; - if (GefzRreconoiseHB41D0) delete GefzRreconoiseHB41D0; - if (GefzRreconoiseHB41DF) delete GefzRreconoiseHB41DF; - //========================================================================================== 4 + if (GefzRreconoiseHB41D) + delete GefzRreconoiseHB41D; + if (GefzRreconoiseHB41D0) + delete GefzRreconoiseHB41D0; + if (GefzRreconoiseHB41DF) + delete GefzRreconoiseHB41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoise1=1; - TH1F* h2CeffHBpositivedirectionReconoise1 = new TH1F("h2CeffHBpositivedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + if (jeta - 41 >= 0 && jeta - 41 <= 15) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBpositivedirectionReconoise1 = "<SetMarkerColor(2);HBpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise1 == 1) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 2) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 3) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 4) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 5) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 6) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 7) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 8) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 == 9) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==10) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==11) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==12) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==13) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==14) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==15) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionReconoise1 ==16) HBpositivedirectionReconoise1 ->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionReconoise1->Draw("Error"); - kcountHBpositivedirectionReconoise1++; - if(kcountHBpositivedirectionReconoise1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBpositivedirectionReconoise1 = (TH1F*)h2CeffHBpositivedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBpositivedirectionReconoise1 = "<SetMarkerColor(2); + HBpositivedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise1 == 1) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 2) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 3) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 4) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 5) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 6) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 7) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 8) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 9) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 10) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 11) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 12) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 13) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 14) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 15) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionReconoise1 == 16) + HBpositivedirectionReconoise1->SetXTitle("R for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoise1->Draw("Error"); + kcountHBpositivedirectionReconoise1++; + if (kcountHBpositivedirectionReconoise1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise1) delete h2CeffHBpositivedirectionReconoise1; - + if (h2CeffHBpositivedirectionReconoise1) + delete h2CeffHBpositivedirectionReconoise1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoise2=1; - TH1F* h2CeffHBpositivedirectionReconoise2 = new TH1F("h2CeffHBpositivedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBpositivedirectionReconoise2 = "<SetMarkerColor(2);HBpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise2 == 1) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 2) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 3) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 4) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 5) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 6) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 7) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 8) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 == 9) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==10) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==11) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==12) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==13) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==14) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==15) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionReconoise2 ==16) HBpositivedirectionReconoise2 ->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionReconoise2->Draw("Error"); - kcountHBpositivedirectionReconoise2++; - if(kcountHBpositivedirectionReconoise2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionReconoise2 = 1; + TH1F* h2CeffHBpositivedirectionReconoise2 = new TH1F("h2CeffHBpositivedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBpositivedirectionReconoise2 = "<SetMarkerColor(2); + HBpositivedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise2 == 1) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 2) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 3) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 4) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 5) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 6) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 7) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 8) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 9) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 10) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 11) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 12) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 13) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 14) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 15) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionReconoise2 == 16) + HBpositivedirectionReconoise2->SetXTitle("R for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoise2->Draw("Error"); + kcountHBpositivedirectionReconoise2++; + if (kcountHBpositivedirectionReconoise2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise2) delete h2CeffHBpositivedirectionReconoise2; - //========================================================================================== 6 + if (h2CeffHBpositivedirectionReconoise2) + delete h2CeffHBpositivedirectionReconoise2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoise3=1; - TH1F* h2CeffHBpositivedirectionReconoise3 = new TH1F("h2CeffHBpositivedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBpositivedirectionReconoise3 = "<SetMarkerColor(2);HBpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise3 == 1) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 2) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 3) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 4) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 5) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 6) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 7) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 8) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 == 9) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==10) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==11) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==12) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==13) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==14) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==15) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionReconoise3 ==16) HBpositivedirectionReconoise3 ->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionReconoise3->Draw("Error"); - kcountHBpositivedirectionReconoise3++; - if(kcountHBpositivedirectionReconoise3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionReconoise3 = 1; + TH1F* h2CeffHBpositivedirectionReconoise3 = new TH1F("h2CeffHBpositivedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBpositivedirectionReconoise3 = "<SetMarkerColor(2); + HBpositivedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise3 == 1) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 2) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 3) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 4) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 5) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 6) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 7) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 8) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 9) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 10) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 11) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 12) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 13) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 14) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 15) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionReconoise3 == 16) + HBpositivedirectionReconoise3->SetXTitle("R for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoise3->Draw("Error"); + kcountHBpositivedirectionReconoise3++; + if (kcountHBpositivedirectionReconoise3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise3) delete h2CeffHBpositivedirectionReconoise3; - //========================================================================================== 7 + if (h2CeffHBpositivedirectionReconoise3) + delete h2CeffHBpositivedirectionReconoise3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoise4=1; - TH1F* h2CeffHBpositivedirectionReconoise4 = new TH1F("h2CeffHBpositivedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBpositivedirectionReconoise4 = "<SetMarkerColor(2);HBpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoise4 == 1) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 2) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 3) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 4) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 5) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 6) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 7) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 8) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 == 9) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==10) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==11) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==12) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==13) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==14) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==15) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionReconoise4 ==16) HBpositivedirectionReconoise4 ->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionReconoise4->Draw("Error"); - kcountHBpositivedirectionReconoise4++; - if(kcountHBpositivedirectionReconoise4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionReconoise4 = 1; + TH1F* h2CeffHBpositivedirectionReconoise4 = new TH1F("h2CeffHBpositivedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBpositivedirectionReconoise4 = "<SetMarkerColor(2); + HBpositivedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoise4 == 1) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 2) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 3) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 4) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 5) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 6) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 7) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 8) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 9) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 10) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 11) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 12) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 13) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 14) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 15) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionReconoise4 == 16) + HBpositivedirectionReconoise4->SetXTitle("R for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoise4->Draw("Error"); + kcountHBpositivedirectionReconoise4++; + if (kcountHBpositivedirectionReconoise4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoise4) delete h2CeffHBpositivedirectionReconoise4; + if (h2CeffHBpositivedirectionReconoise4) + delete h2CeffHBpositivedirectionReconoise4; - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoise1=1; - TH1F* h2CeffHBnegativedirectionReconoise1 = new TH1F("h2CeffHBnegativedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + if (jeta - 41 >= -16 && jeta - 41 <= -1) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBnegativedirectionReconoise1 = "<SetMarkerColor(2);HBnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise1 == 1) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 2) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 3) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 4) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 5) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 6) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 7) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 8) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 == 9) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==10) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==11) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==12) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==13) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==14) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==15) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionReconoise1 ==16) HBnegativedirectionReconoise1 ->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionReconoise1->Draw("Error"); - kcountHBnegativedirectionReconoise1++; - if(kcountHBnegativedirectionReconoise1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBnegativedirectionReconoise1 = (TH1F*)h2CeffHBnegativedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBnegativedirectionReconoise1 = "<SetMarkerColor(2); + HBnegativedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise1 == 1) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 2) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 3) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 4) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 5) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 6) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 7) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 8) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 9) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 10) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 11) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 12) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 13) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 14) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 15) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionReconoise1 == 16) + HBnegativedirectionReconoise1->SetXTitle("R for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoise1->Draw("Error"); + kcountHBnegativedirectionReconoise1++; + if (kcountHBnegativedirectionReconoise1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise1) delete h2CeffHBnegativedirectionReconoise1; - + if (h2CeffHBnegativedirectionReconoise1) + delete h2CeffHBnegativedirectionReconoise1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoise2=1; - TH1F* h2CeffHBnegativedirectionReconoise2 = new TH1F("h2CeffHBnegativedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBnegativedirectionReconoise2 = "<SetMarkerColor(2);HBnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise2 == 1) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 2) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 3) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 4) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 5) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 6) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 7) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 8) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 == 9) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==10) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==11) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==12) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==13) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==14) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==15) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); - if(kcountHBnegativedirectionReconoise2 ==16) HBnegativedirectionReconoise2 ->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); - HBnegativedirectionReconoise2->Draw("Error"); - kcountHBnegativedirectionReconoise2++; - if(kcountHBnegativedirectionReconoise2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + int kcountHBnegativedirectionReconoise2 = 1; + TH1F* h2CeffHBnegativedirectionReconoise2 = new TH1F("h2CeffHBnegativedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBnegativedirectionReconoise2 = "<SetMarkerColor(2); + HBnegativedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise2 == 1) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -16; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 2) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -15; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 3) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -14; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 4) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -13; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 5) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -12; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 6) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -11; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 7) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -10; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 8) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -9; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 9) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -8; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 10) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -7; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 11) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -6; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 12) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -5; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 13) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -4; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 14) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -3; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 15) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -2; depth = 2 \b"); + if (kcountHBnegativedirectionReconoise2 == 16) + HBnegativedirectionReconoise2->SetXTitle("R for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoise2->Draw("Error"); + kcountHBnegativedirectionReconoise2++; + if (kcountHBnegativedirectionReconoise2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise2) delete h2CeffHBnegativedirectionReconoise2; - //========================================================================================== 1116 + if (h2CeffHBnegativedirectionReconoise2) + delete h2CeffHBnegativedirectionReconoise2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoise3=1; - TH1F* h2CeffHBnegativedirectionReconoise3 = new TH1F("h2CeffHBnegativedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBnegativedirectionReconoise3 = "<SetMarkerColor(2);HBnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise3 == 1) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 2) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 3) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 4) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 5) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 6) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 7) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 8) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 == 9) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==10) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==11) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==12) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==13) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==14) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==15) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); - if(kcountHBnegativedirectionReconoise3 ==16) HBnegativedirectionReconoise3 ->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); - - HBnegativedirectionReconoise3->Draw("Error"); - kcountHBnegativedirectionReconoise3++; - if(kcountHBnegativedirectionReconoise3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + int kcountHBnegativedirectionReconoise3 = 1; + TH1F* h2CeffHBnegativedirectionReconoise3 = new TH1F("h2CeffHBnegativedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBnegativedirectionReconoise3 = "<SetMarkerColor(2); + HBnegativedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise3 == 1) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -16; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 2) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -15; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 3) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -14; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 4) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -13; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 5) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -12; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 6) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -11; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 7) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -10; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 8) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -9; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 9) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -8; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 10) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -7; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 11) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -6; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 12) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -5; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 13) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -4; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 14) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -3; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 15) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -2; depth = 3 \b"); + if (kcountHBnegativedirectionReconoise3 == 16) + HBnegativedirectionReconoise3->SetXTitle("R for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoise3->Draw("Error"); + kcountHBnegativedirectionReconoise3++; + if (kcountHBnegativedirectionReconoise3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise3) delete h2CeffHBnegativedirectionReconoise3; - //========================================================================================== 1117 + if (h2CeffHBnegativedirectionReconoise3) + delete h2CeffHBnegativedirectionReconoise3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoise4=1; - TH1F* h2CeffHBnegativedirectionReconoise4 = new TH1F("h2CeffHBnegativedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBnegativedirectionReconoise4 = "<SetMarkerColor(2);HBnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoise4 == 1) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 2) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 3) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 4) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 5) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 6) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 7) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 8) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 == 9) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==10) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==11) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==12) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==13) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==14) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==15) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); - if(kcountHBnegativedirectionReconoise4 ==16) HBnegativedirectionReconoise4 ->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); - HBnegativedirectionReconoise4->Draw("Error"); - kcountHBnegativedirectionReconoise4++; - if(kcountHBnegativedirectionReconoise4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + int kcountHBnegativedirectionReconoise4 = 1; + TH1F* h2CeffHBnegativedirectionReconoise4 = new TH1F("h2CeffHBnegativedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBnegativedirectionReconoise4 = "<SetMarkerColor(2); + HBnegativedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoise4 == 1) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -16; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 2) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -15; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 3) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -14; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 4) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -13; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 5) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -12; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 6) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -11; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 7) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -10; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 8) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -9; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 9) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -8; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 10) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -7; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 11) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -6; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 12) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -5; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 13) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -4; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 14) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -3; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 15) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -2; depth = 4 \b"); + if (kcountHBnegativedirectionReconoise4 == 16) + HBnegativedirectionReconoise4->SetXTitle("R for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoise4->Draw("Error"); + kcountHBnegativedirectionReconoise4++; + if (kcountHBnegativedirectionReconoise4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoise4) delete h2CeffHBnegativedirectionReconoise4; + if (h2CeffHBnegativedirectionReconoise4) + delete h2CeffHBnegativedirectionReconoise4; //====================================================================================================================== // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HE @@ -10524,2146 +14680,2980 @@ std::cout<<" We are here to print ADC "<Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzDIFreconoiseHB42D = new TH2F("GefzDIFreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzDIFreconoiseHB42D0 = new TH2F("GefzDIFreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHB42D = new TH2F("GefzDIFreconoiseHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzDIFreconoiseHB42D0 = new TH2F("GefzDIFreconoiseHB42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzDIFreconoiseHB42DF = (TH2F*)GefzDIFreconoiseHB42D0->Clone("GefzDIFreconoiseHB42DF"); - for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzDIFreconoiseHB42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHB42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzDIFreconoiseHB42DF->Divide(GefzDIFreconoiseHB42D,GefzDIFreconoiseHB42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHB42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHB42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzDIFreconoiseHB42D->Fill(kkk, jphi, ccc1); + GefzDIFreconoiseHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHB42DF->Divide(GefzDIFreconoiseHB42D, GefzDIFreconoiseHB42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB42DF->SetXTitle("_depth #eta \b"); + GefzDIFreconoiseHB42DF->SetYTitle(" #phi \b"); GefzDIFreconoiseHB42DF->Draw("COLZ"); - // c2x1->cd(2); // TH1F *energyhitNoise_HB= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HB"); - // energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); - - + // energyhitNoise_HB ->SetMarkerStyle(20);energyhitNoise_HB ->SetMarkerSize(0.4);energyhitNoise_HB ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HB ->SetXTitle("energyhitNoise_HB \b");energyhitNoise_HB ->SetMarkerColor(2);energyhitNoise_HB ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HB ->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHB.png"); c2x1->Clear(); // clean-up - if (GefzDIFreconoiseHB42D) delete GefzDIFreconoiseHB42D; - if (GefzDIFreconoiseHB42D0) delete GefzDIFreconoiseHB42D0; - if (GefzDIFreconoiseHB42DF) delete GefzDIFreconoiseHB42DF; + if (GefzDIFreconoiseHB42D) + delete GefzDIFreconoiseHB42D; + if (GefzDIFreconoiseHB42D0) + delete GefzDIFreconoiseHB42D0; + if (GefzDIFreconoiseHB42DF) + delete GefzDIFreconoiseHB42DF; //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzDIFreconoiseHB41D = new TH1F("GefzDIFreconoiseHB41D","", nphi, 0., 72. ); - TH1F* GefzDIFreconoiseHB41D0 = new TH1F("GefzDIFreconoiseHB41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHB41D = new TH1F("GefzDIFreconoiseHB41D", "", nphi, 0., 72.); + TH1F* GefzDIFreconoiseHB41D0 = new TH1F("GefzDIFreconoiseHB41D0", "", nphi, 0., 72.); TH1F* GefzDIFreconoiseHB41DF = (TH1F*)GefzDIFreconoiseHB41D0->Clone("GefzDIFreconoiseHB41DF"); - for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHB41D0 ->Fill(jphi,1.); } - }}}} - GefzDIFreconoiseHB41DF->Divide(GefzDIFreconoiseHB41D,GefzDIFreconoiseHB41D0, 1, 1, "B");// DIF averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzDIFreconoiseHB41D->Fill(jphi, ccc1); + GefzDIFreconoiseHB41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHB41DF->Divide( + GefzDIFreconoiseHB41D, GefzDIFreconoiseHB41D0, 1, 1, "B"); // DIF averaged over depthfs & eta GefzDIFreconoiseHB41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHB41DF->SetMarkerStyle(20); GefzDIFreconoiseHB41DF->SetMarkerSize(1.4); GefzDIFreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHB41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHB41DF->SetYTitle(" \b"); GefzDIFreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHB41DF->SetMarkerColor(4); GefzDIFreconoiseHB41DF->SetLineColor(4);//GefzDIFreconoiseHB41DF->SetMinimum(0.8); // GefzDIFreconoiseHB41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHB41DF->SetMarkerStyle(20); + GefzDIFreconoiseHB41DF->SetMarkerSize(1.4); + GefzDIFreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); + GefzDIFreconoiseHB41DF->SetXTitle("#phi \b"); + GefzDIFreconoiseHB41DF->SetYTitle(" \b"); + GefzDIFreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzDIFreconoiseHB41DF->SetMarkerColor(4); + GefzDIFreconoiseHB41DF->SetLineColor( + 4); //GefzDIFreconoiseHB41DF->SetMinimum(0.8); // GefzDIFreconoiseHB41DF->SetMaximum(1.000); GefzDIFreconoiseHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (GefzDIFreconoiseHB41D) delete GefzDIFreconoiseHB41D; - if (GefzDIFreconoiseHB41D0) delete GefzDIFreconoiseHB41D0; - if (GefzDIFreconoiseHB41DF) delete GefzDIFreconoiseHB41DF; - //========================================================================================== 4 + if (GefzDIFreconoiseHB41D) + delete GefzDIFreconoiseHB41D; + if (GefzDIFreconoiseHB41D0) + delete GefzDIFreconoiseHB41D0; + if (GefzDIFreconoiseHB41DF) + delete GefzDIFreconoiseHB41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF1=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { + if (jeta - 41 >= 0 && jeta - 41 <= 15) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF1 == 1) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 2) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 3) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 4) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 5) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 6) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 7) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 8) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 == 9) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==10) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==11) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==12) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==13) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==14) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==15) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseDIF1 ==16) HBpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionReconoiseDIF1->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF1++; - if(kcountHBpositivedirectionReconoiseDIF1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBpositivedirectionReconoiseDIF1 = (TH1F*)h2CeffHBpositivedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF1 == 1) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 2) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 3) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 4) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 5) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 6) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 7) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 8) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 9) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 10) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 11) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 12) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 13) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 14) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 15) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseDIF1 == 16) + HBpositivedirectionReconoiseDIF1->SetXTitle("DIF for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF1++; + if (kcountHBpositivedirectionReconoiseDIF1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF1) delete h2CeffHBpositivedirectionReconoiseDIF1; - + if (h2CeffHBpositivedirectionReconoiseDIF1) + delete h2CeffHBpositivedirectionReconoiseDIF1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF2=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF2 == 1) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 2) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 3) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 4) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 5) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 6) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 7) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 8) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 == 9) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==10) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==11) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==12) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==13) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==14) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==15) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseDIF2 ==16) HBpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionReconoiseDIF2->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF2++; - if(kcountHBpositivedirectionReconoiseDIF2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF2 == 1) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 2) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 3) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 4) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 5) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 6) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 7) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 8) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 9) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 10) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 11) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 12) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 13) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 14) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 15) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseDIF2 == 16) + HBpositivedirectionReconoiseDIF2->SetXTitle("DIF for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF2++; + if (kcountHBpositivedirectionReconoiseDIF2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF2) delete h2CeffHBpositivedirectionReconoiseDIF2; - //========================================================================================== 6 + if (h2CeffHBpositivedirectionReconoiseDIF2) + delete h2CeffHBpositivedirectionReconoiseDIF2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF3=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF3 == 1) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 2) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 3) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 4) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 5) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 6) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 7) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 8) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 == 9) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==10) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==11) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==12) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==13) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==14) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==15) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseDIF3 ==16) HBpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionReconoiseDIF3->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF3++; - if(kcountHBpositivedirectionReconoiseDIF3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF3 == 1) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 2) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 3) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 4) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 5) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 6) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 7) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 8) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 9) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 10) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 11) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 12) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 13) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 14) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 15) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseDIF3 == 16) + HBpositivedirectionReconoiseDIF3->SetXTitle("DIF for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF3++; + if (kcountHBpositivedirectionReconoiseDIF3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF3) delete h2CeffHBpositivedirectionReconoiseDIF3; - //========================================================================================== 7 + if (h2CeffHBpositivedirectionReconoiseDIF3) + delete h2CeffHBpositivedirectionReconoiseDIF3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoiseDIF4=1; - TH1F* h2CeffHBpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseDIF4 == 1) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 2) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 3) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 4) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 5) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 6) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 7) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 8) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 == 9) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==10) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==11) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==12) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==13) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==14) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==15) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseDIF4 ==16) HBpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionReconoiseDIF4->Draw("Error"); - kcountHBpositivedirectionReconoiseDIF4++; - if(kcountHBpositivedirectionReconoiseDIF4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHBpositivedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBpositivedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseDIF4 == 1) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 2) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 3) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 4) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 5) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 6) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 7) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 8) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 9) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 10) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 11) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 12) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 13) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 14) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 15) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseDIF4 == 16) + HBpositivedirectionReconoiseDIF4->SetXTitle("DIF for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHBpositivedirectionReconoiseDIF4++; + if (kcountHBpositivedirectionReconoiseDIF4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseDIF4) delete h2CeffHBpositivedirectionReconoiseDIF4; + if (h2CeffHBpositivedirectionReconoiseDIF4) + delete h2CeffHBpositivedirectionReconoiseDIF4; - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF1=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { + if (jeta - 41 >= -16 && jeta - 41 <= -1) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHBnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF1 == 1) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -16; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 2) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -15; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 3) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -14; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 4) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -13; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 5) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -12; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 6) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -11; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 7) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -10; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 8) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -9; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 == 9) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -8; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==10) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -7; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==11) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -6; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==12) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -5; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==13) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -4; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==14) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -3; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==15) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -2; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseDIF1 ==16) HBnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HB- jeta = -1; depth = 1 \b"); - HBnegativedirectionReconoiseDIF1->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF1++; - if(kcountHBnegativedirectionReconoiseDIF1>16) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HBnegativedirectionReconoiseDIF1 = (TH1F*)h2CeffHBnegativedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHBnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF1 == 1) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -16; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 2) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -15; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 3) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -14; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 4) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -13; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 5) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -12; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 6) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -11; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 7) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -10; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 8) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -9; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 9) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -8; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 10) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -7; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 11) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -6; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 12) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -5; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 13) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -4; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 14) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -3; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 15) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -2; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseDIF1 == 16) + HBnegativedirectionReconoiseDIF1->SetXTitle("DIF for HB- jeta = -1; depth = 1 \b"); + HBnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF1++; + if (kcountHBnegativedirectionReconoiseDIF1 > 16) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF1) delete h2CeffHBnegativedirectionReconoiseDIF1; - + if (h2CeffHBnegativedirectionReconoiseDIF1) + delete h2CeffHBnegativedirectionReconoiseDIF1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF2=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHBnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF2 == 1) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -16; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 2) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -15; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 3) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -14; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 4) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -13; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 5) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -12; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 6) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -11; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 7) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -10; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 8) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -9; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 == 9) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -8; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==10) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -7; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==11) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -6; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==12) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -5; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==13) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -4; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==14) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -3; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==15) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -2; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseDIF2 ==16) HBnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HB- jeta = -1; depth = 2 \b"); - HBnegativedirectionReconoiseDIF2->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF2++; - if(kcountHBnegativedirectionReconoiseDIF2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + int kcountHBnegativedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHBnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF2 == 1) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -16; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 2) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -15; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 3) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -14; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 4) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -13; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 5) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -12; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 6) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -11; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 7) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -10; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 8) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -9; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 9) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -8; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 10) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -7; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 11) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -6; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 12) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -5; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 13) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -4; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 14) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -3; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 15) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -2; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseDIF2 == 16) + HBnegativedirectionReconoiseDIF2->SetXTitle("DIF for HB- jeta = -1; depth = 2 \b"); + HBnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF2++; + if (kcountHBnegativedirectionReconoiseDIF2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF2) delete h2CeffHBnegativedirectionReconoiseDIF2; - //========================================================================================== 1116 + if (h2CeffHBnegativedirectionReconoiseDIF2) + delete h2CeffHBnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF3=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHBnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF3 == 1) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -16; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 2) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -15; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 3) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -14; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 4) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -13; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 5) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -12; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 6) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -11; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 7) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -10; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 8) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -9; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 == 9) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -8; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==10) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -7; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==11) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -6; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==12) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -5; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==13) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -4; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==14) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -3; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==15) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -2; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseDIF3 ==16) HBnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HB- jeta = -1; depth = 3 \b"); - - HBnegativedirectionReconoiseDIF3->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF3++; - if(kcountHBnegativedirectionReconoiseDIF3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + int kcountHBnegativedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHBnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF3 == 1) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -16; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 2) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -15; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 3) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -14; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 4) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -13; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 5) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -12; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 6) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -11; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 7) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -10; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 8) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -9; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 9) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -8; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 10) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -7; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 11) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -6; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 12) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -5; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 13) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -4; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 14) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -3; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 15) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -2; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseDIF3 == 16) + HBnegativedirectionReconoiseDIF3->SetXTitle("DIF for HB- jeta = -1; depth = 3 \b"); + + HBnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF3++; + if (kcountHBnegativedirectionReconoiseDIF3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF3) delete h2CeffHBnegativedirectionReconoiseDIF3; - //========================================================================================== 1117 + if (h2CeffHBnegativedirectionReconoiseDIF3) + delete h2CeffHBnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoiseDIF4=1; - TH1F* h2CeffHBnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1 ) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHBnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseDIF4 == 1) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -16; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 2) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -15; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 3) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -14; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 4) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -13; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 5) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -12; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 6) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -11; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 7) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -10; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 8) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -9; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 == 9) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -8; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==10) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -7; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==11) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -6; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==12) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -5; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==13) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -4; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==14) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -3; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==15) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -2; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseDIF4 ==16) HBnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HB- jeta = -1; depth = 4 \b"); - HBnegativedirectionReconoiseDIF4->Draw("Error"); - kcountHBnegativedirectionReconoiseDIF4++; - if(kcountHBnegativedirectionReconoiseDIF4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0 ) - }//for jeta + int kcountHBnegativedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHBnegativedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHB[i][jeta][jphi]; + if (ccc1 != 0.) { + HBnegativedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHBnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseDIF4 == 1) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -16; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 2) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -15; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 3) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -14; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 4) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -13; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 5) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -12; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 6) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -11; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 7) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -10; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 8) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -9; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 9) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -8; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 10) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -7; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 11) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -6; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 12) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -5; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 13) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -4; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 14) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -3; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 15) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -2; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseDIF4 == 16) + HBnegativedirectionReconoiseDIF4->SetXTitle("DIF for HB- jeta = -1; depth = 4 \b"); + HBnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHBnegativedirectionReconoiseDIF4++; + if (kcountHBnegativedirectionReconoiseDIF4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0 ) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseDIF4) delete h2CeffHBnegativedirectionReconoiseDIF4; + if (h2CeffHBnegativedirectionReconoiseDIF4) + delete h2CeffHBnegativedirectionReconoiseDIF4; //====================================================================================================================== //====================================================================================================================== //====================================================================================================================== // DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD: - - //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HB1"); - TH2F *reconoiseVariance0HB1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HB1"); + TH2F* reconoiseVariance0HB1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB1"); TH2F* reconoiseVarianceHB1 = (TH2F*)reconoiseVariance1HB1->Clone("reconoiseVarianceHB1"); - reconoiseVarianceHB1->Divide(reconoiseVariance1HB1,reconoiseVariance0HB1, 1, 1, "B"); - TH2F *reconoiseVariance1HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB2"); - TH2F *reconoiseVariance0HB2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); + reconoiseVarianceHB1->Divide(reconoiseVariance1HB1, reconoiseVariance0HB1, 1, 1, "B"); + TH2F* reconoiseVariance1HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB2"); + TH2F* reconoiseVariance0HB2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB2"); TH2F* reconoiseVarianceHB2 = (TH2F*)reconoiseVariance1HB2->Clone("reconoiseVarianceHB2"); - reconoiseVarianceHB2->Divide(reconoiseVariance1HB2,reconoiseVariance0HB2, 1, 1, "B"); - TH2F *reconoiseVariance1HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB3"); - TH2F *reconoiseVariance0HB3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); + reconoiseVarianceHB2->Divide(reconoiseVariance1HB2, reconoiseVariance0HB2, 1, 1, "B"); + TH2F* reconoiseVariance1HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB3"); + TH2F* reconoiseVariance0HB3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB3"); TH2F* reconoiseVarianceHB3 = (TH2F*)reconoiseVariance1HB3->Clone("reconoiseVarianceHB3"); - reconoiseVarianceHB3->Divide(reconoiseVariance1HB3,reconoiseVariance0HB3, 1, 1, "B"); - TH2F *reconoiseVariance1HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB4"); - TH2F *reconoiseVariance0HB4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); + reconoiseVarianceHB3->Divide(reconoiseVariance1HB3, reconoiseVariance0HB3, 1, 1, "B"); + TH2F* reconoiseVariance1HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HB4"); + TH2F* reconoiseVariance0HB4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HB4"); TH2F* reconoiseVarianceHB4 = (TH2F*)reconoiseVariance1HB4->Clone("reconoiseVarianceHB4"); - reconoiseVarianceHB4->Divide(reconoiseVariance1HB4,reconoiseVariance0HB4, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHB - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jeta= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { + reconoiseVarianceHB4->Divide(reconoiseVariance1HB4, reconoiseVariance0HB4, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHB + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { //preparation for PHI normalization: - double sumreconoiseHB0=0;int nsumreconoiseHB0=0;double sumreconoiseHB1=0;int nsumreconoiseHB1=0;double sumreconoiseHB2=0;int nsumreconoiseHB2=0;double sumreconoiseHB3=0;int nsumreconoiseHB3=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - reconoisevarianceHB[1][jeta][jphi] = reconoiseVarianceHB2->GetBinContent(jeta+1,jphi+1); - reconoisevarianceHB[2][jeta][jphi] = reconoiseVarianceHB3->GetBinContent(jeta+1,jphi+1); - reconoisevarianceHB[3][jeta][jphi] = reconoiseVarianceHB4->GetBinContent(jeta+1,jphi+1); - if(reconoisevarianceHB[0][jeta][jphi] != 0.) {sumreconoiseHB0 += reconoisevarianceHB[0][jeta][jphi];++nsumreconoiseHB0;} - if(reconoisevarianceHB[1][jeta][jphi] != 0.) {sumreconoiseHB1 += reconoisevarianceHB[1][jeta][jphi];++nsumreconoiseHB1;} - if(reconoisevarianceHB[2][jeta][jphi] != 0.) {sumreconoiseHB2 += reconoisevarianceHB[2][jeta][jphi];++nsumreconoiseHB2;} - if(reconoisevarianceHB[3][jeta][jphi] != 0.) {sumreconoiseHB3 += reconoisevarianceHB[3][jeta][jphi];++nsumreconoiseHB3;} - }// phi + double sumreconoiseHB0 = 0; + int nsumreconoiseHB0 = 0; + double sumreconoiseHB1 = 0; + int nsumreconoiseHB1 = 0; + double sumreconoiseHB2 = 0; + int nsumreconoiseHB2 = 0; + double sumreconoiseHB3 = 0; + int nsumreconoiseHB3 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + reconoisevarianceHB[0][jeta][jphi] = reconoiseVarianceHB1->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHB[1][jeta][jphi] = reconoiseVarianceHB2->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHB[2][jeta][jphi] = reconoiseVarianceHB3->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHB[3][jeta][jphi] = reconoiseVarianceHB4->GetBinContent(jeta + 1, jphi + 1); + if (reconoisevarianceHB[0][jeta][jphi] != 0.) { + sumreconoiseHB0 += reconoisevarianceHB[0][jeta][jphi]; + ++nsumreconoiseHB0; + } + if (reconoisevarianceHB[1][jeta][jphi] != 0.) { + sumreconoiseHB1 += reconoisevarianceHB[1][jeta][jphi]; + ++nsumreconoiseHB1; + } + if (reconoisevarianceHB[2][jeta][jphi] != 0.) { + sumreconoiseHB2 += reconoisevarianceHB[2][jeta][jphi]; + ++nsumreconoiseHB2; + } + if (reconoisevarianceHB[3][jeta][jphi] != 0.) { + sumreconoiseHB3 += reconoisevarianceHB[3][jeta][jphi]; + ++nsumreconoiseHB3; + } + } // phi // PHI normalization : - for(int jphi=0;jphiClear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDreconoiseHB42D = new TH2F("DefzDreconoiseHB42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHB42D0 = new TH2F("DefzDreconoiseHB42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHB42DF = (TH2F*)DefzDreconoiseHB42D0->Clone("DefzDreconoiseHB42DF"); - for (int i=0;i= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 - if(areconoiseHB[i][jeta][jphi]>0.) {DefzDreconoiseHB42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHB42D0 ->Fill(kkk,jphi,1.); } - }}}} - DefzDreconoiseHB42DF->Divide(DefzDreconoiseHB42D,DefzDreconoiseHB42D0, 1, 1, "B");// average A - // DefzDreconoiseHB1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHB42DF->SetMarkerStyle(20); DefzDreconoiseHB42DF->SetMarkerSize(0.4); DefzDreconoiseHB42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHB42DF->SetYTitle(" #phi \b"); DefzDreconoiseHB42DF->SetZTitle("_depth \b"); DefzDreconoiseHB42DF->SetMarkerColor(2); DefzDreconoiseHB42DF->SetLineColor(0); // DefzDreconoiseHB42DF->SetMaximum(1.000); // DefzDreconoiseHB42DF->SetMinimum(1.0); - DefzDreconoiseHB42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DreconoiseGeneralD2PhiSymmetryHB.png"); - c1x0->Clear(); - // clean-up - if (DefzDreconoiseHB42D) delete DefzDreconoiseHB42D; - if (DefzDreconoiseHB42D0) delete DefzDreconoiseHB42D0; - if (DefzDreconoiseHB42DF) delete DefzDreconoiseHB42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDreconoiseHB42D = new TH2F("DefzDreconoiseHB42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHB42D0 = new TH2F("DefzDreconoiseHB42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHB42DF = (TH2F*)DefzDreconoiseHB42D0->Clone("DefzDreconoiseHB42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (areconoiseHB[i][jeta][jphi] > 0.) { + DefzDreconoiseHB42D->Fill(kkk, jphi, ccc1); + DefzDreconoiseHB42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + DefzDreconoiseHB42DF->Divide(DefzDreconoiseHB42D, DefzDreconoiseHB42D0, 1, 1, "B"); // average A + // DefzDreconoiseHB1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB42DF->SetMarkerStyle(20); + DefzDreconoiseHB42DF->SetMarkerSize(0.4); + DefzDreconoiseHB42DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHB42DF->SetXTitle("_depth #eta \b"); + DefzDreconoiseHB42DF->SetYTitle(" #phi \b"); + DefzDreconoiseHB42DF->SetZTitle("_depth \b"); + DefzDreconoiseHB42DF->SetMarkerColor(2); + DefzDreconoiseHB42DF->SetLineColor( + 0); // DefzDreconoiseHB42DF->SetMaximum(1.000); // DefzDreconoiseHB42DF->SetMinimum(1.0); + DefzDreconoiseHB42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHB.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHB42D) + delete DefzDreconoiseHB42D; + if (DefzDreconoiseHB42D0) + delete DefzDreconoiseHB42D0; + if (DefzDreconoiseHB42DF) + delete DefzDreconoiseHB42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDreconoiseHB41D = new TH1F("DefzDreconoiseHB41D","", nphi, 0., 72. ); - TH1F* DefzDreconoiseHB41D0 = new TH1F("DefzDreconoiseHB41D0","",nphi, 0., 72. ); - TH1F* DefzDreconoiseHB41DF = (TH1F*)DefzDreconoiseHB41D0->Clone("DefzDreconoiseHB41DF"); - - for (int jphi=0;jphi= -16 && jeta - 41 <= -1 ) || (jeta - 41 >= 0 && jeta - 41 <= 15 ) ) { - for (int i=0;i0.) {DefzDreconoiseHB41D ->Fill(jphi,ccc1); DefzDreconoiseHB41D0 ->Fill(jphi,1.); } - }}}} - // DefzDreconoiseHB41D->Sumw2();DefzDreconoiseHB41D0->Sumw2(); - - DefzDreconoiseHB41DF->Divide(DefzDreconoiseHB41D,DefzDreconoiseHB41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDreconoiseHB41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHB41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHB41DF->SetMarkerStyle(20); DefzDreconoiseHB41DF->SetMarkerSize(1.4); DefzDreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHB41DF->SetXTitle("#phi \b"); DefzDreconoiseHB41DF->SetYTitle(" \b"); DefzDreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHB41DF->SetMarkerColor(4); DefzDreconoiseHB41DF->SetLineColor(4); //DefzDreconoiseHB41DF->SetMinimum(0.8); DefzDreconoiseHB41DF->SetMinimum(-0.015); - DefzDreconoiseHB41DF->Draw("Error"); + TH1F* DefzDreconoiseHB41D = new TH1F("DefzDreconoiseHB41D", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHB41D0 = new TH1F("DefzDreconoiseHB41D0", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHB41DF = (TH1F*)DefzDreconoiseHB41D0->Clone("DefzDreconoiseHB41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -16 && jeta - 41 <= -1) || (jeta - 41 >= 0 && jeta - 41 <= 15)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + DefzDreconoiseHB41D->Fill(jphi, ccc1); + DefzDreconoiseHB41D0->Fill(jphi, 1.); + } + } + } + } + } + // DefzDreconoiseHB41D->Sumw2();DefzDreconoiseHB41D0->Sumw2(); + + DefzDreconoiseHB41DF->Divide(DefzDreconoiseHB41D, DefzDreconoiseHB41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDreconoiseHB41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHB41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHB41DF->SetMarkerStyle(20); + DefzDreconoiseHB41DF->SetMarkerSize(1.4); + DefzDreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHB41DF->SetXTitle("#phi \b"); + DefzDreconoiseHB41DF->SetYTitle(" \b"); + DefzDreconoiseHB41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDreconoiseHB41DF->SetMarkerColor(4); + DefzDreconoiseHB41DF->SetLineColor( + 4); //DefzDreconoiseHB41DF->SetMinimum(0.8); DefzDreconoiseHB41DF->SetMinimum(-0.015); + DefzDreconoiseHB41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DreconoiseGeneralD1PhiSymmetryHB.png"); c1x1->Clear(); // clean-up - if (DefzDreconoiseHB41D) delete DefzDreconoiseHB41D; - if (DefzDreconoiseHB41D0) delete DefzDreconoiseHB41D0; - if (DefzDreconoiseHB41DF) delete DefzDreconoiseHB41DF; - - //========================================================================================== 14 + if (DefzDreconoiseHB41D) + delete DefzDreconoiseHB41D; + if (DefzDreconoiseHB41D0) + delete DefzDreconoiseHB41D0; + if (DefzDreconoiseHB41DF) + delete DefzDreconoiseHB41DF; + + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD1=1; - TH1F* h2CeffHBpositivedirectionReconoiseD1 = new TH1F("h2CeffHBpositivedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD1 == 1) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 2) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 3) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 4) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 5) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 6) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 7) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 8) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 == 9) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==10) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==11) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==12) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==13) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==14) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==15) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); - if(kcountHBpositivedirectionReconoiseD1 ==16) HBpositivedirectionReconoiseD1 ->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); - HBpositivedirectionReconoiseD1->Draw("Error"); - kcountHBpositivedirectionReconoiseD1++; - if(kcountHBpositivedirectionReconoiseD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionReconoiseD1 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD1 = new TH1F("h2CeffHBpositivedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBpositivedirectionReconoiseD1 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD1 == 1) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 0; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 2) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 1; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 3) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 2; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 4) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 3; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 5) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 4; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 6) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 5; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 7) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 6; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 8) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 7; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 9) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 8; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 10) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 9; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 11) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 10; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 12) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 11; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 13) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 12; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 14) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 13; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 15) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 14; depth = 1 \b"); + if (kcountHBpositivedirectionReconoiseD1 == 16) + HBpositivedirectionReconoiseD1->SetXTitle("D for HB+ jeta = 15; depth = 1 \b"); + HBpositivedirectionReconoiseD1->Draw("Error"); + kcountHBpositivedirectionReconoiseD1++; + if (kcountHBpositivedirectionReconoiseD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD1) delete h2CeffHBpositivedirectionReconoiseD1; - //========================================================================================== 15 + if (h2CeffHBpositivedirectionReconoiseD1) + delete h2CeffHBpositivedirectionReconoiseD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD2=1; - TH1F* h2CeffHBpositivedirectionReconoiseD2 = new TH1F("h2CeffHBpositivedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD2 == 1) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 2) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 3) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 4) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 5) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 6) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 7) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 8) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 == 9) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==10) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==11) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==12) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==13) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==14) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==15) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); - if(kcountHBpositivedirectionReconoiseD2 ==16) HBpositivedirectionReconoiseD2 ->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); - HBpositivedirectionReconoiseD2->Draw("Error"); - kcountHBpositivedirectionReconoiseD2++; - if(kcountHBpositivedirectionReconoiseD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionReconoiseD2 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD2 = new TH1F("h2CeffHBpositivedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBpositivedirectionReconoiseD2 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD2 == 1) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 0; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 2) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 1; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 3) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 2; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 4) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 3; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 5) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 4; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 6) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 5; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 7) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 6; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 8) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 7; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 9) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 8; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 10) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 9; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 11) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 10; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 12) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 11; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 13) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 12; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 14) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 13; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 15) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 14; depth = 2 \b"); + if (kcountHBpositivedirectionReconoiseD2 == 16) + HBpositivedirectionReconoiseD2->SetXTitle("D for HB+ jeta = 15; depth = 2 \b"); + HBpositivedirectionReconoiseD2->Draw("Error"); + kcountHBpositivedirectionReconoiseD2++; + if (kcountHBpositivedirectionReconoiseD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD2) delete h2CeffHBpositivedirectionReconoiseD2; - //========================================================================================== 16 + if (h2CeffHBpositivedirectionReconoiseD2) + delete h2CeffHBpositivedirectionReconoiseD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD3=1; - TH1F* h2CeffHBpositivedirectionReconoiseD3 = new TH1F("h2CeffHBpositivedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD3 == 1) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 2) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 3) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 4) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 5) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 6) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 7) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 8) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 == 9) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==10) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==11) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==12) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==13) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==14) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==15) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); - if(kcountHBpositivedirectionReconoiseD3 ==16) HBpositivedirectionReconoiseD3 ->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); - HBpositivedirectionReconoiseD3->Draw("Error"); - kcountHBpositivedirectionReconoiseD3++; - if(kcountHBpositivedirectionReconoiseD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionReconoiseD3 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD3 = new TH1F("h2CeffHBpositivedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBpositivedirectionReconoiseD3 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD3 == 1) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 0; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 2) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 1; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 3) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 2; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 4) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 3; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 5) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 4; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 6) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 5; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 7) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 6; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 8) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 7; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 9) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 8; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 10) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 9; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 11) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 10; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 12) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 11; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 13) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 12; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 14) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 13; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 15) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 14; depth = 3 \b"); + if (kcountHBpositivedirectionReconoiseD3 == 16) + HBpositivedirectionReconoiseD3->SetXTitle("D for HB+ jeta = 15; depth = 3 \b"); + HBpositivedirectionReconoiseD3->Draw("Error"); + kcountHBpositivedirectionReconoiseD3++; + if (kcountHBpositivedirectionReconoiseD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD3) delete h2CeffHBpositivedirectionReconoiseD3; - //========================================================================================== 17 + if (h2CeffHBpositivedirectionReconoiseD3) + delete h2CeffHBpositivedirectionReconoiseD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBpositivedirectionReconoiseD4=1; - TH1F* h2CeffHBpositivedirectionReconoiseD4 = new TH1F("h2CeffHBpositivedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 0 && jeta - 41 <= 15) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBpositivedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HBpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBpositivedirectionReconoiseD4 == 1) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 2) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 3) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 4) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 5) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 6) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 7) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 8) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 == 9) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==10) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==11) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==12) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==13) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==14) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==15) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); - if(kcountHBpositivedirectionReconoiseD4 ==16) HBpositivedirectionReconoiseD4 ->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); - HBpositivedirectionReconoiseD4->Draw("Error"); - kcountHBpositivedirectionReconoiseD4++; - if(kcountHBpositivedirectionReconoiseD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHBpositivedirectionReconoiseD4 = 1; + TH1F* h2CeffHBpositivedirectionReconoiseD4 = new TH1F("h2CeffHBpositivedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 0 && jeta - 41 <= 15) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBpositivedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HBpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBpositivedirectionReconoiseD4 = "<SetMarkerColor(2); + HBpositivedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBpositivedirectionReconoiseD4 == 1) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 0; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 2) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 1; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 3) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 2; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 4) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 3; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 5) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 4; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 6) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 5; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 7) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 6; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 8) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 7; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 9) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 8; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 10) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 9; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 11) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 10; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 12) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 11; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 13) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 12; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 14) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 13; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 15) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 14; depth = 4 \b"); + if (kcountHBpositivedirectionReconoiseD4 == 16) + HBpositivedirectionReconoiseD4->SetXTitle("D for HB+ jeta = 15; depth = 4 \b"); + HBpositivedirectionReconoiseD4->Draw("Error"); + kcountHBpositivedirectionReconoiseD4++; + if (kcountHBpositivedirectionReconoiseD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBpositivedirectionReconoiseD4) delete h2CeffHBpositivedirectionReconoiseD4; + if (h2CeffHBpositivedirectionReconoiseD4) + delete h2CeffHBpositivedirectionReconoiseD4; - - //========================================================================================== 22214 + //========================================================================================== 22214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD1=1; - TH1F* h2CeffHBnegativedirectionReconoiseD1 = new TH1F("h2CeffHBnegativedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHBnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD1 == 1) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 2) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 3) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 4) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 5) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 6) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 7) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 8) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 == 9) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==10) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==11) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==12) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==13) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==14) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==15) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); - if(kcountHBnegativedirectionReconoiseD1 ==16) HBnegativedirectionReconoiseD1 ->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); - HBnegativedirectionReconoiseD1->Draw("Error"); - kcountHBnegativedirectionReconoiseD1++; - if(kcountHBnegativedirectionReconoiseD1>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHBnegativedirectionReconoiseD1 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD1 = new TH1F("h2CeffHBnegativedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHBnegativedirectionReconoiseD1 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD1 == 1) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-16; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 2) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-15; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 3) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-14; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 4) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-13; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 5) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-12; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 6) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-11; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 7) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-10; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 8) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-9; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 9) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-8; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 10) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-7; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 11) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-6; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 12) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-5; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 13) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-4; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 14) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-3; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 15) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-2; depth = 1 \b"); + if (kcountHBnegativedirectionReconoiseD1 == 16) + HBnegativedirectionReconoiseD1->SetXTitle("D for HB- jeta =-1; depth = 1 \b"); + HBnegativedirectionReconoiseD1->Draw("Error"); + kcountHBnegativedirectionReconoiseD1++; + if (kcountHBnegativedirectionReconoiseD1 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD1) delete h2CeffHBnegativedirectionReconoiseD1; - //========================================================================================== 22215 + if (h2CeffHBnegativedirectionReconoiseD1) + delete h2CeffHBnegativedirectionReconoiseD1; + //========================================================================================== 22215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD2=1; - TH1F* h2CeffHBnegativedirectionReconoiseD2 = new TH1F("h2CeffHBnegativedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHBnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD2 == 1) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 2) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 3) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 4) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 5) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 6) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 7) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 8) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 == 9) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==10) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==11) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==12) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==13) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==14) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==15) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); - if(kcountHBnegativedirectionReconoiseD2 ==16) HBnegativedirectionReconoiseD2 ->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); - HBnegativedirectionReconoiseD2->Draw("Error"); - kcountHBnegativedirectionReconoiseD2++; - if(kcountHBnegativedirectionReconoiseD2>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHBnegativedirectionReconoiseD2 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD2 = new TH1F("h2CeffHBnegativedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHBnegativedirectionReconoiseD2 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD2 == 1) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-16; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 2) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-15; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 3) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-14; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 4) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-13; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 5) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-12; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 6) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-11; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 7) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-10; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 8) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-9; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 9) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-8; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 10) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-7; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 11) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-6; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 12) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-5; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 13) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-4; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 14) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-3; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 15) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-2; depth = 2 \b"); + if (kcountHBnegativedirectionReconoiseD2 == 16) + HBnegativedirectionReconoiseD2->SetXTitle("D for HB- jeta =-1; depth = 2 \b"); + HBnegativedirectionReconoiseD2->Draw("Error"); + kcountHBnegativedirectionReconoiseD2++; + if (kcountHBnegativedirectionReconoiseD2 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD2) delete h2CeffHBnegativedirectionReconoiseD2; - //========================================================================================== 22216 + if (h2CeffHBnegativedirectionReconoiseD2) + delete h2CeffHBnegativedirectionReconoiseD2; + //========================================================================================== 22216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD3=1; - TH1F* h2CeffHBnegativedirectionReconoiseD3 = new TH1F("h2CeffHBnegativedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHBnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD3 == 1) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 2) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 3) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 4) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 5) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 6) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 7) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 8) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 == 9) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==10) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==11) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==12) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==13) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==14) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==15) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); - if(kcountHBnegativedirectionReconoiseD3 ==16) HBnegativedirectionReconoiseD3 ->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); - HBnegativedirectionReconoiseD3->Draw("Error"); - kcountHBnegativedirectionReconoiseD3++; - if(kcountHBnegativedirectionReconoiseD3>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHBnegativedirectionReconoiseD3 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD3 = new TH1F("h2CeffHBnegativedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHBnegativedirectionReconoiseD3 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD3 == 1) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-16; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 2) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-15; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 3) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-14; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 4) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-13; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 5) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-12; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 6) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-11; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 7) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-10; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 8) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-9; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 9) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-8; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 10) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-7; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 11) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-6; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 12) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-5; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 13) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-4; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 14) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-3; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 15) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-2; depth = 3 \b"); + if (kcountHBnegativedirectionReconoiseD3 == 16) + HBnegativedirectionReconoiseD3->SetXTitle("D for HB- jeta =-1; depth = 3 \b"); + HBnegativedirectionReconoiseD3->Draw("Error"); + kcountHBnegativedirectionReconoiseD3++; + if (kcountHBnegativedirectionReconoiseD3 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD3) delete h2CeffHBnegativedirectionReconoiseD3; + if (h2CeffHBnegativedirectionReconoiseD3) + delete h2CeffHBnegativedirectionReconoiseD3; //========================================================================================== 22217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(4,4); + c3x5->Divide(4, 4); c3x5->cd(1); - int kcountHBnegativedirectionReconoiseD4=1; - TH1F* h2CeffHBnegativedirectionReconoiseD4 = new TH1F("h2CeffHBnegativedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -16 && jeta - 41 <= -1) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HBnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HBnegativedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHBnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HBnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHBnegativedirectionReconoiseD4 == 1) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 2) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 3) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 4) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 5) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 6) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 7) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 8) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 == 9) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==10) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==11) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==12) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==13) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==14) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==15) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); - if(kcountHBnegativedirectionReconoiseD4 ==16) HBnegativedirectionReconoiseD4 ->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); - HBnegativedirectionReconoiseD4->Draw("Error"); - kcountHBnegativedirectionReconoiseD4++; - if(kcountHBnegativedirectionReconoiseD4>16) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHBnegativedirectionReconoiseD4 = 1; + TH1F* h2CeffHBnegativedirectionReconoiseD4 = new TH1F("h2CeffHBnegativedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -16 && jeta - 41 <= -1) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHB[i][jeta][jphi]; + if (areconoiseHB[i][jeta][jphi] > 0.) { + HBnegativedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HBnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHBnegativedirectionReconoiseD4 = "<SetMarkerColor(2); + HBnegativedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHBnegativedirectionReconoiseD4 == 1) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-16; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 2) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-15; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 3) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-14; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 4) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-13; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 5) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-12; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 6) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-11; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 7) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-10; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 8) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-9; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 9) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-8; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 10) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-7; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 11) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-6; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 12) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-5; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 13) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-4; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 14) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-3; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 15) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-2; depth = 4 \b"); + if (kcountHBnegativedirectionReconoiseD4 == 16) + HBnegativedirectionReconoiseD4->SetXTitle("D for HB- jeta =-1; depth = 4 \b"); + HBnegativedirectionReconoiseD4->Draw("Error"); + kcountHBnegativedirectionReconoiseD4++; + if (kcountHBnegativedirectionReconoiseD4 > 16) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png"); c3x5->Clear(); // clean-up - if (h2CeffHBnegativedirectionReconoiseD4) delete h2CeffHBnegativedirectionReconoiseD4; - - - + if (h2CeffHBnegativedirectionReconoiseD4) + delete h2CeffHBnegativedirectionReconoiseD4; //===================================================================== END of Reconoise HB for phi-symmetry //===================================================================== END of Reconoise HB for phi-symmetry //===================================================================== END of Reconoise HB for phi-symmetry - - - - - - //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HE - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[3]; - ndepth = 7; - // const int ndepth = 7; - double areconoisehe[ndepth][njeta][njphi]; - double breconoisehe[ndepth][njeta][njphi]; - double reconoisevariancehe[ndepth][njeta][njphi]; + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[3]; + ndepth = 7; + // const int ndepth = 7; + double areconoisehe[ndepth][njeta][njphi]; + double breconoisehe[ndepth][njeta][njphi]; + double reconoisevariancehe[ndepth][njeta][njphi]; //////////////////////////////////////////////////////////////////////////////////////////////////////////// - TH2F *recNoiseEnergy1HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE1"); - TH2F *recNoiseEnergy0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + TH2F* recNoiseEnergy1HE1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE1"); + TH2F* recNoiseEnergy0HE1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); TH2F* recNoiseEnergyHE1 = (TH2F*)recNoiseEnergy1HE1->Clone("recNoiseEnergyHE1"); - recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1,recNoiseEnergy0HE1, 1, 1, "B"); - TH2F *recNoiseEnergy1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE2"); - TH2F *recNoiseEnergy0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1, recNoiseEnergy0HE1, 1, 1, "B"); + TH2F* recNoiseEnergy1HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE2"); + TH2F* recNoiseEnergy0HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); TH2F* recNoiseEnergyHE2 = (TH2F*)recNoiseEnergy1HE2->Clone("recNoiseEnergyHE2"); - recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2,recNoiseEnergy0HE2, 1, 1, "B"); - TH2F *recNoiseEnergy1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE3"); - TH2F *recNoiseEnergy0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2, recNoiseEnergy0HE2, 1, 1, "B"); + TH2F* recNoiseEnergy1HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE3"); + TH2F* recNoiseEnergy0HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); TH2F* recNoiseEnergyHE3 = (TH2F*)recNoiseEnergy1HE3->Clone("recNoiseEnergyHE3"); - recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3,recNoiseEnergy0HE3, 1, 1, "B"); - TH2F *recNoiseEnergy1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE4"); - TH2F *recNoiseEnergy0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3, recNoiseEnergy0HE3, 1, 1, "B"); + TH2F* recNoiseEnergy1HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE4"); + TH2F* recNoiseEnergy0HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); TH2F* recNoiseEnergyHE4 = (TH2F*)recNoiseEnergy1HE4->Clone("recNoiseEnergyHE4"); - recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4,recNoiseEnergy0HE4, 1, 1, "B"); - TH2F *recNoiseEnergy1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE5"); - TH2F *recNoiseEnergy0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4, recNoiseEnergy0HE4, 1, 1, "B"); + TH2F* recNoiseEnergy1HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE5"); + TH2F* recNoiseEnergy0HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); TH2F* recNoiseEnergyHE5 = (TH2F*)recNoiseEnergy1HE5->Clone("recNoiseEnergyHE5"); - recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5,recNoiseEnergy0HE5, 1, 1, "B"); - TH2F *recNoiseEnergy1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE6"); - TH2F *recNoiseEnergy0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5, recNoiseEnergy0HE5, 1, 1, "B"); + TH2F* recNoiseEnergy1HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE6"); + TH2F* recNoiseEnergy0HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); TH2F* recNoiseEnergyHE6 = (TH2F*)recNoiseEnergy1HE6->Clone("recNoiseEnergyHE6"); - recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6,recNoiseEnergy0HE6, 1, 1, "B"); - TH2F *recNoiseEnergy1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE7"); - TH2F *recNoiseEnergy0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6, recNoiseEnergy0HE6, 1, 1, "B"); + TH2F* recNoiseEnergy1HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HE7"); + TH2F* recNoiseEnergy0HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); TH2F* recNoiseEnergyHE7 = (TH2F*)recNoiseEnergy1HE7->Clone("recNoiseEnergyHE7"); - recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7,recNoiseEnergy0HE7, 1, 1, "B"); - for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7, recNoiseEnergy0HE7, 1, 1, "B"); + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { //====================================================================== PHI normalization & put R into massive areconoisehe //preparation for PHI normalization: - double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; - double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - areconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); - areconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); - areconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); - areconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); - areconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); - areconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); - - breconoisehe[0][jeta][jphi] = recNoiseEnergyHE1->GetBinContent(jeta+1,jphi+1); - breconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta+1,jphi+1); - breconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta+1,jphi+1); - breconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta+1,jphi+1); - breconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta+1,jphi+1); - breconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta+1,jphi+1); - breconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta+1,jphi+1); - - if(areconoisehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += areconoisehe[0][jeta][jphi];++nsumreconoiseHE0;} - if(areconoisehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += areconoisehe[1][jeta][jphi];++nsumreconoiseHE1;} - if(areconoisehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += areconoisehe[2][jeta][jphi];++nsumreconoiseHE2;} - if(areconoisehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += areconoisehe[3][jeta][jphi];++nsumreconoiseHE3;} - if(areconoisehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += areconoisehe[4][jeta][jphi];++nsumreconoiseHE4;} - if(areconoisehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += areconoisehe[5][jeta][jphi];++nsumreconoiseHE5;} - if(areconoisehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += areconoisehe[6][jeta][jphi];++nsumreconoiseHE6;} - }// phi - - // PHI normalization for DIF: - for(int jphi=0;jphiGetBinContent(jeta + 1, jphi + 1); + areconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta + 1, jphi + 1); + areconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta + 1, jphi + 1); + + breconoisehe[0][jeta][jphi] = recNoiseEnergyHE1->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[1][jeta][jphi] = recNoiseEnergyHE2->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[2][jeta][jphi] = recNoiseEnergyHE3->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[3][jeta][jphi] = recNoiseEnergyHE4->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[4][jeta][jphi] = recNoiseEnergyHE5->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[5][jeta][jphi] = recNoiseEnergyHE6->GetBinContent(jeta + 1, jphi + 1); + breconoisehe[6][jeta][jphi] = recNoiseEnergyHE7->GetBinContent(jeta + 1, jphi + 1); + + if (areconoisehe[0][jeta][jphi] != 0.) { + sumreconoiseHE0 += areconoisehe[0][jeta][jphi]; + ++nsumreconoiseHE0; + } + if (areconoisehe[1][jeta][jphi] != 0.) { + sumreconoiseHE1 += areconoisehe[1][jeta][jphi]; + ++nsumreconoiseHE1; + } + if (areconoisehe[2][jeta][jphi] != 0.) { + sumreconoiseHE2 += areconoisehe[2][jeta][jphi]; + ++nsumreconoiseHE2; + } + if (areconoisehe[3][jeta][jphi] != 0.) { + sumreconoiseHE3 += areconoisehe[3][jeta][jphi]; + ++nsumreconoiseHE3; + } + if (areconoisehe[4][jeta][jphi] != 0.) { + sumreconoiseHE4 += areconoisehe[4][jeta][jphi]; + ++nsumreconoiseHE4; + } + if (areconoisehe[5][jeta][jphi] != 0.) { + sumreconoiseHE5 += areconoisehe[5][jeta][jphi]; + ++nsumreconoiseHE5; + } + if (areconoisehe[6][jeta][jphi] != 0.) { + sumreconoiseHE6 += areconoisehe[6][jeta][jphi]; + ++nsumreconoiseHE6; + } + } // phi + + // PHI normalization for DIF: + for (int jphi = 0; jphi < njphi; jphi++) { + if (sumreconoiseHE0 != 0.) + breconoisehe[0][jeta][jphi] -= (sumreconoiseHE0 / nsumreconoiseHE0); + if (sumreconoiseHE1 != 0.) + breconoisehe[1][jeta][jphi] -= (sumreconoiseHE1 / nsumreconoiseHE1); + if (sumreconoiseHE2 != 0.) + breconoisehe[2][jeta][jphi] -= (sumreconoiseHE2 / nsumreconoiseHE2); + if (sumreconoiseHE3 != 0.) + breconoisehe[3][jeta][jphi] -= (sumreconoiseHE3 / nsumreconoiseHE3); + if (sumreconoiseHE4 != 0.) + breconoisehe[4][jeta][jphi] -= (sumreconoiseHE4 / nsumreconoiseHE4); + if (sumreconoiseHE5 != 0.) + breconoisehe[5][jeta][jphi] -= (sumreconoiseHE5 / nsumreconoiseHE5); + if (sumreconoiseHE6 != 0.) + breconoisehe[6][jeta][jphi] -= (sumreconoiseHE6 / nsumreconoiseHE6); + } // phi // PHI normalization for R: - for(int jphi=0;jphi= - }//eta + for (int jphi = 0; jphi < njphi; jphi++) { + if (sumreconoiseHE0 != 0.) + areconoisehe[0][jeta][jphi] /= (sumreconoiseHE0 / nsumreconoiseHE0); + if (sumreconoiseHE1 != 0.) + areconoisehe[1][jeta][jphi] /= (sumreconoiseHE1 / nsumreconoiseHE1); + if (sumreconoiseHE2 != 0.) + areconoisehe[2][jeta][jphi] /= (sumreconoiseHE2 / nsumreconoiseHE2); + if (sumreconoiseHE3 != 0.) + areconoisehe[3][jeta][jphi] /= (sumreconoiseHE3 / nsumreconoiseHE3); + if (sumreconoiseHE4 != 0.) + areconoisehe[4][jeta][jphi] /= (sumreconoiseHE4 / nsumreconoiseHE4); + if (sumreconoiseHE5 != 0.) + areconoisehe[5][jeta][jphi] /= (sumreconoiseHE5 / nsumreconoiseHE5); + if (sumreconoiseHE6 != 0.) + areconoisehe[6][jeta][jphi] /= (sumreconoiseHE6 / nsumreconoiseHE6); + } // phi + } //if( (jeta-41 >= + } //eta //------------------------ 2D-eta/phi-plot: R, averaged over depthes //====================================================================== // RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR: Reconoise HE //====================================================================== c2x1->Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRreconoiseHE42D = new TH2F("GefzRreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRreconoiseHE42D0 = new TH2F("GefzRreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHE42D = new TH2F("GefzRreconoiseHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRreconoiseHE42D0 = new TH2F("GefzRreconoiseHE42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRreconoiseHE42DF = (TH2F*)GefzRreconoiseHE42D0->Clone("GefzRreconoiseHE42DF"); - for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHE42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzRreconoiseHE42DF->Divide(GefzRreconoiseHE42D,GefzRreconoiseHE42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHE42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRreconoiseHE42D->Fill(kkk, jphi, ccc1); + GefzRreconoiseHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzRreconoiseHE42DF->Divide(GefzRreconoiseHE42D, GefzRreconoiseHE42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE42DF->SetXTitle("_depth #eta \b"); + GefzRreconoiseHE42DF->SetYTitle(" #phi \b"); GefzRreconoiseHE42DF->Draw("COLZ"); - c2x1->cd(2); - TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); - energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); - - - + TH1F* energyhitNoise_HE = (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); + energyhitNoise_HE->SetMarkerStyle(20); + energyhitNoise_HE->SetMarkerSize(0.4); + energyhitNoise_HE->GetYaxis()->SetLabelSize(0.04); + energyhitNoise_HE->SetXTitle("energyhitNoise_HE \b"); + energyhitNoise_HE->SetMarkerColor(2); + energyhitNoise_HE->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitNoise_HE->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RreconoiseGeneralD2PhiSymmetryHE.png"); c2x1->Clear(); // clean-up - if (GefzRreconoiseHE42D) delete GefzRreconoiseHE42D; - if (GefzRreconoiseHE42D0) delete GefzRreconoiseHE42D0; - if (GefzRreconoiseHE42DF) delete GefzRreconoiseHE42DF; + if (GefzRreconoiseHE42D) + delete GefzRreconoiseHE42D; + if (GefzRreconoiseHE42D0) + delete GefzRreconoiseHE42D0; + if (GefzRreconoiseHE42DF) + delete GefzRreconoiseHE42DF; //====================================================================== 1D plot: R vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRreconoiseHE41D = new TH1F("GefzRreconoiseHE41D","", nphi, 0., 72. ); - TH1F* GefzRreconoiseHE41D0 = new TH1F("GefzRreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHE41D = new TH1F("GefzRreconoiseHE41D", "", nphi, 0., 72.); + TH1F* GefzRreconoiseHE41D0 = new TH1F("GefzRreconoiseHE41D0", "", nphi, 0., 72.); TH1F* GefzRreconoiseHE41DF = (TH1F*)GefzRreconoiseHE41D0->Clone("GefzRreconoiseHE41DF"); - for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHE41D0 ->Fill(jphi,1.); } - }}}} - GefzRreconoiseHE41DF->Divide(GefzRreconoiseHE41D,GefzRreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRreconoiseHE41D->Fill(jphi, ccc1); + GefzRreconoiseHE41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzRreconoiseHE41DF->Divide(GefzRreconoiseHE41D, GefzRreconoiseHE41D0, 1, 1, "B"); // R averaged over depthes & eta GefzRreconoiseHE41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHE41DF->SetMarkerStyle(20); GefzRreconoiseHE41DF->SetMarkerSize(1.4); GefzRreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHE41DF->SetXTitle("#phi \b"); GefzRreconoiseHE41DF->SetYTitle(" \b"); GefzRreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzRreconoiseHE41DF->SetMarkerColor(4); GefzRreconoiseHE41DF->SetLineColor(4); // GefzRreconoiseHE41DF->SetMinimum(0.8); // GefzRreconoiseHE41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHE41DF->SetMarkerStyle(20); + GefzRreconoiseHE41DF->SetMarkerSize(1.4); + GefzRreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); + GefzRreconoiseHE41DF->SetXTitle("#phi \b"); + GefzRreconoiseHE41DF->SetYTitle(" \b"); + GefzRreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); + GefzRreconoiseHE41DF->SetMarkerColor(4); + GefzRreconoiseHE41DF->SetLineColor( + 4); // GefzRreconoiseHE41DF->SetMinimum(0.8); // GefzRreconoiseHE41DF->SetMaximum(1.000); GefzRreconoiseHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RreconoiseGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (GefzRreconoiseHE41D) delete GefzRreconoiseHE41D; - if (GefzRreconoiseHE41D0) delete GefzRreconoiseHE41D0; - if (GefzRreconoiseHE41DF) delete GefzRreconoiseHE41DF; - - - //========================================================================================== 4 + if (GefzRreconoiseHE41D) + delete GefzRreconoiseHE41D; + if (GefzRreconoiseHE41D0) + delete GefzRreconoiseHE41D0; + if (GefzRreconoiseHE41DF) + delete GefzRreconoiseHE41DF; + + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoise1=1; - TH1F* h2CeffHEpositivedirectionReconoise1 = new TH1F("h2CeffHEpositivedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + if (jeta - 41 >= 15 && jeta - 41 <= 28) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEpositivedirectionReconoise1 = "<SetMarkerColor(2);HEpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise1 == 1) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 2) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 3) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 4) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 5) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 6) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 7) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 8) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 == 9) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 ==10) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 ==11) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionReconoise1 ==12) HEpositivedirectionReconoise1 ->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionReconoise1->Draw("Error"); - kcountHEpositivedirectionReconoise1++; - if(kcountHEpositivedirectionReconoise1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 15 && jeta-41 <= 28 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEpositivedirectionReconoise1 = (TH1F*)h2CeffHEpositivedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEpositivedirectionReconoise1 = "<SetMarkerColor(2); + HEpositivedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise1 == 1) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 2) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 3) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 4) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 5) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 6) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 7) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 8) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 9) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 10) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 11) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionReconoise1 == 12) + HEpositivedirectionReconoise1->SetXTitle("R for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoise1->Draw("Error"); + kcountHEpositivedirectionReconoise1++; + if (kcountHEpositivedirectionReconoise1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 15 && jeta-41 <= 28 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise1) delete h2CeffHEpositivedirectionReconoise1; - + if (h2CeffHEpositivedirectionReconoise1) + delete h2CeffHEpositivedirectionReconoise1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoise2=1; - TH1F* h2CeffHEpositivedirectionReconoise2 = new TH1F("h2CeffHEpositivedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEpositivedirectionReconoise2 = "<SetMarkerColor(2);HEpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise2 == 1) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 2) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 3) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 4) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 5) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 6) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 7) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 8) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 == 9) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==10) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==11) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==12) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionReconoise2 ==13) HEpositivedirectionReconoise2 ->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionReconoise2->Draw("Error"); - kcountHEpositivedirectionReconoise2++; - if(kcountHEpositivedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 - }//for jeta + int kcountHEpositivedirectionReconoise2 = 1; + TH1F* h2CeffHEpositivedirectionReconoise2 = new TH1F("h2CeffHEpositivedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEpositivedirectionReconoise2 = "<SetMarkerColor(2); + HEpositivedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise2 == 1) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 2) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 3) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 4) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 5) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 6) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 7) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 8) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 9) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 10) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 11) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 12) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionReconoise2 == 13) + HEpositivedirectionReconoise2->SetXTitle("R for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoise2->Draw("Error"); + kcountHEpositivedirectionReconoise2++; + if (kcountHEpositivedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise2) delete h2CeffHEpositivedirectionReconoise2; - //========================================================================================== 6 + if (h2CeffHEpositivedirectionReconoise2) + delete h2CeffHEpositivedirectionReconoise2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoise3=1; - TH1F* h2CeffHEpositivedirectionReconoise3 = new TH1F("h2CeffHEpositivedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEpositivedirectionReconoise3 = "<SetMarkerColor(2);HEpositivedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise3 == 1) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 2) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 3) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 4) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 5) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 6) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 7) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 8) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 == 9) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==10) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==11) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==12) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionReconoise3 ==13) HEpositivedirectionReconoise3 ->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionReconoise3->Draw("Error"); - kcountHEpositivedirectionReconoise3++; - if(kcountHEpositivedirectionReconoise3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= - }//for jeta + int kcountHEpositivedirectionReconoise3 = 1; + TH1F* h2CeffHEpositivedirectionReconoise3 = new TH1F("h2CeffHEpositivedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEpositivedirectionReconoise3 = "<SetMarkerColor(2); + HEpositivedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise3 == 1) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 2) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 3) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 4) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 5) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 6) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 7) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 8) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 9) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 10) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 11) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 12) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionReconoise3 == 13) + HEpositivedirectionReconoise3->SetXTitle("R for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoise3->Draw("Error"); + kcountHEpositivedirectionReconoise3++; + if (kcountHEpositivedirectionReconoise3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise3) delete h2CeffHEpositivedirectionReconoise3; - //========================================================================================== 7 + if (h2CeffHEpositivedirectionReconoise3) + delete h2CeffHEpositivedirectionReconoise3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoise4=1; - TH1F* h2CeffHEpositivedirectionReconoise4 = new TH1F("h2CeffHEpositivedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEpositivedirectionReconoise4 = "<SetMarkerColor(2);HEpositivedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise4 == 1) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 2) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 3) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 4) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 5) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 6) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 7) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 8) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 == 9) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 ==10) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 ==11) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionReconoise4 ==12) HEpositivedirectionReconoise4 ->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionReconoise4->Draw("Error"); - kcountHEpositivedirectionReconoise4++; - if(kcountHEpositivedirectionReconoise4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEpositivedirectionReconoise4 = 1; + TH1F* h2CeffHEpositivedirectionReconoise4 = new TH1F("h2CeffHEpositivedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEpositivedirectionReconoise4 = "<SetMarkerColor(2); + HEpositivedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise4 == 1) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 2) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 3) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 4) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 5) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 6) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 7) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 8) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 9) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 10) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 11) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionReconoise4 == 12) + HEpositivedirectionReconoise4->SetXTitle("R for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoise4->Draw("Error"); + kcountHEpositivedirectionReconoise4++; + if (kcountHEpositivedirectionReconoise4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise4) delete h2CeffHEpositivedirectionReconoise4; - //========================================================================================== 8 + if (h2CeffHEpositivedirectionReconoise4) + delete h2CeffHEpositivedirectionReconoise4; + //========================================================================================== 8 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoise5=1; - TH1F* h2CeffHEpositivedirectionReconoise5 = new TH1F("h2CeffHEpositivedirectionReconoise5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise5 == 1) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 2) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 3) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 4) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 5) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 6) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 7) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 8) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 == 9) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 ==10) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionReconoise5 ==11) HEpositivedirectionReconoise5 ->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionReconoise5->Draw("Error"); - kcountHEpositivedirectionReconoise5++; - if(kcountHEpositivedirectionReconoise5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEpositivedirectionReconoise5 = 1; + TH1F* h2CeffHEpositivedirectionReconoise5 = new TH1F("h2CeffHEpositivedirectionReconoise5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEpositivedirectionReconoise5 = "<SetMarkerColor(2); + HEpositivedirectionReconoise5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise5 == 1) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 2) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 3) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 4) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 5) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 6) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 7) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 8) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 9) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 10) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionReconoise5 == 11) + HEpositivedirectionReconoise5->SetXTitle("R for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoise5->Draw("Error"); + kcountHEpositivedirectionReconoise5++; + if (kcountHEpositivedirectionReconoise5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise5) delete h2CeffHEpositivedirectionReconoise5; - //========================================================================================== 9 + if (h2CeffHEpositivedirectionReconoise5) + delete h2CeffHEpositivedirectionReconoise5; + //========================================================================================== 9 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoise6=1; - TH1F* h2CeffHEpositivedirectionReconoise6 = new TH1F("h2CeffHEpositivedirectionReconoise6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEpositivedirectionReconoise6 = "<SetMarkerColor(2);HEpositivedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise6 == 1) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 2) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 3) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 4) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 5) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 6) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 7) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 8) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 == 9) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionReconoise6 ==10) HEpositivedirectionReconoise6 ->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionReconoise6->Draw("Error"); - kcountHEpositivedirectionReconoise6++; - if(kcountHEpositivedirectionReconoise6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEpositivedirectionReconoise6 = 1; + TH1F* h2CeffHEpositivedirectionReconoise6 = new TH1F("h2CeffHEpositivedirectionReconoise6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEpositivedirectionReconoise6 = "<SetMarkerColor(2); + HEpositivedirectionReconoise6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise6 == 1) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 2) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 3) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 4) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 5) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 6) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 7) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 8) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 9) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionReconoise6 == 10) + HEpositivedirectionReconoise6->SetXTitle("R for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoise6->Draw("Error"); + kcountHEpositivedirectionReconoise6++; + if (kcountHEpositivedirectionReconoise6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise6) delete h2CeffHEpositivedirectionReconoise6; - //========================================================================================== 10 + if (h2CeffHEpositivedirectionReconoise6) + delete h2CeffHEpositivedirectionReconoise6; + //========================================================================================== 10 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoise7=1; - TH1F* h2CeffHEpositivedirectionReconoise7 = new TH1F("h2CeffHEpositivedirectionReconoise7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoise7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEpositivedirectionReconoise7 = "<SetMarkerColor(2);HEpositivedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoise7 == 1) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionReconoise7 == 2) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionReconoise7 == 3) HEpositivedirectionReconoise7 ->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionReconoise7->Draw("Error"); - kcountHEpositivedirectionReconoise7++; - if(kcountHEpositivedirectionReconoise7>3) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEpositivedirectionReconoise7 = 1; + TH1F* h2CeffHEpositivedirectionReconoise7 = new TH1F("h2CeffHEpositivedirectionReconoise7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoise7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoise7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEpositivedirectionReconoise7 = "<SetMarkerColor(2); + HEpositivedirectionReconoise7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoise7 == 1) + HEpositivedirectionReconoise7->SetXTitle("R for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionReconoise7 == 2) + HEpositivedirectionReconoise7->SetXTitle("R for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionReconoise7 == 3) + HEpositivedirectionReconoise7->SetXTitle("R for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoise7->Draw("Error"); + kcountHEpositivedirectionReconoise7++; + if (kcountHEpositivedirectionReconoise7 > 3) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoise7) delete h2CeffHEpositivedirectionReconoise7; + if (h2CeffHEpositivedirectionReconoise7) + delete h2CeffHEpositivedirectionReconoise7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoise1=1; - TH1F* h2CeffHEnegativedirectionReconoise1 = new TH1F("h2CeffHEnegativedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + if (jeta - 41 >= -29 && jeta - 41 <= -16) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEnegativedirectionReconoise1 = "<SetMarkerColor(2);HEnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise1 == 1) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 2) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 3) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 4) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 5) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 6) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 7) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 8) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 == 9) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 ==10) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 ==11) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionReconoise1 ==12) HEnegativedirectionReconoise1 ->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionReconoise1->Draw("Error"); - kcountHEnegativedirectionReconoise1++; - if(kcountHEnegativedirectionReconoise1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEnegativedirectionReconoise1 = (TH1F*)h2CeffHEnegativedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEnegativedirectionReconoise1 = "<SetMarkerColor(2); + HEnegativedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise1 == 1) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 2) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 3) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 4) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 5) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 6) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 7) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 8) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 9) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 10) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 11) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionReconoise1 == 12) + HEnegativedirectionReconoise1->SetXTitle("R for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoise1->Draw("Error"); + kcountHEnegativedirectionReconoise1++; + if (kcountHEnegativedirectionReconoise1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise1) delete h2CeffHEnegativedirectionReconoise1; - + if (h2CeffHEnegativedirectionReconoise1) + delete h2CeffHEnegativedirectionReconoise1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoise2=1; - TH1F* h2CeffHEnegativedirectionReconoise2 = new TH1F("h2CeffHEnegativedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEnegativedirectionReconoise2 = "<SetMarkerColor(2);HEnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise2 == 1) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 2) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 3) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 4) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 5) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 6) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 7) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 8) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 == 9) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==10) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==11) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==12) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionReconoise2 ==13) HEnegativedirectionReconoise2 ->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionReconoise2->Draw("Error"); - kcountHEnegativedirectionReconoise2++; - if(kcountHEnegativedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEnegativedirectionReconoise2 = 1; + TH1F* h2CeffHEnegativedirectionReconoise2 = new TH1F("h2CeffHEnegativedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEnegativedirectionReconoise2 = "<SetMarkerColor(2); + HEnegativedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise2 == 1) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 2) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 3) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 4) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 5) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 6) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 7) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 8) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 9) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 10) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 11) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 12) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionReconoise2 == 13) + HEnegativedirectionReconoise2->SetXTitle("R for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoise2->Draw("Error"); + kcountHEnegativedirectionReconoise2++; + if (kcountHEnegativedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise2) delete h2CeffHEnegativedirectionReconoise2; - //========================================================================================== 1116 + if (h2CeffHEnegativedirectionReconoise2) + delete h2CeffHEnegativedirectionReconoise2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoise3=1; - TH1F* h2CeffHEnegativedirectionReconoise3 = new TH1F("h2CeffHEnegativedirectionReconoise3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEnegativedirectionReconoise3 = "<SetMarkerColor(2);HEnegativedirectionReconoise3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise3 == 1) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 2) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 3) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 4) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 5) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 6) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 7) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 8) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 == 9) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==10) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==11) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==12) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionReconoise3 ==13) HEnegativedirectionReconoise3 ->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionReconoise3->Draw("Error"); - kcountHEnegativedirectionReconoise3++; - if(kcountHEnegativedirectionReconoise3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEnegativedirectionReconoise3 = 1; + TH1F* h2CeffHEnegativedirectionReconoise3 = new TH1F("h2CeffHEnegativedirectionReconoise3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEnegativedirectionReconoise3 = "<SetMarkerColor(2); + HEnegativedirectionReconoise3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise3 == 1) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 2) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 3) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 4) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 5) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 6) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 7) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 8) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 9) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 10) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 11) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 12) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionReconoise3 == 13) + HEnegativedirectionReconoise3->SetXTitle("R for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoise3->Draw("Error"); + kcountHEnegativedirectionReconoise3++; + if (kcountHEnegativedirectionReconoise3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise3) delete h2CeffHEnegativedirectionReconoise3; - //========================================================================================== 1117 + if (h2CeffHEnegativedirectionReconoise3) + delete h2CeffHEnegativedirectionReconoise3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoise4=1; - TH1F* h2CeffHEnegativedirectionReconoise4 = new TH1F("h2CeffHEnegativedirectionReconoise4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEnegativedirectionReconoise4 = "<SetMarkerColor(2);HEnegativedirectionReconoise4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise4 == 1) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 2) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 3) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 4) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 5) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 6) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 7) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 8) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 == 9) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 ==10) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 ==11) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionReconoise4 ==12) HEnegativedirectionReconoise4 ->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionReconoise4->Draw("Error"); - kcountHEnegativedirectionReconoise4++; - if(kcountHEnegativedirectionReconoise4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEnegativedirectionReconoise4 = 1; + TH1F* h2CeffHEnegativedirectionReconoise4 = new TH1F("h2CeffHEnegativedirectionReconoise4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEnegativedirectionReconoise4 = "<SetMarkerColor(2); + HEnegativedirectionReconoise4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise4 == 1) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 2) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 3) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 4) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 5) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 6) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 7) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 8) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 9) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 10) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 11) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionReconoise4 == 12) + HEnegativedirectionReconoise4->SetXTitle("R for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoise4->Draw("Error"); + kcountHEnegativedirectionReconoise4++; + if (kcountHEnegativedirectionReconoise4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise4) delete h2CeffHEnegativedirectionReconoise4; - //========================================================================================== 1118 + if (h2CeffHEnegativedirectionReconoise4) + delete h2CeffHEnegativedirectionReconoise4; + //========================================================================================== 1118 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoise5=1; - TH1F* h2CeffHEnegativedirectionReconoise5 = new TH1F("h2CeffHEnegativedirectionReconoise5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoise5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise5 == 1) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 2) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 3) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 4) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 5) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 6) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 7) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 8) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 == 9) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 ==10) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionReconoise5 ==11) HEnegativedirectionReconoise5 ->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionReconoise5->Draw("Error"); - kcountHEnegativedirectionReconoise5++; - if(kcountHEnegativedirectionReconoise5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEnegativedirectionReconoise5 = 1; + TH1F* h2CeffHEnegativedirectionReconoise5 = new TH1F("h2CeffHEnegativedirectionReconoise5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEnegativedirectionReconoise5 = "<SetMarkerColor(2); + HEnegativedirectionReconoise5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise5 == 1) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 2) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 3) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 4) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 5) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 6) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 7) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 8) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 9) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 10) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionReconoise5 == 11) + HEnegativedirectionReconoise5->SetXTitle("R for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoise5->Draw("Error"); + kcountHEnegativedirectionReconoise5++; + if (kcountHEnegativedirectionReconoise5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise5) delete h2CeffHEnegativedirectionReconoise5; - //========================================================================================== 1119 + if (h2CeffHEnegativedirectionReconoise5) + delete h2CeffHEnegativedirectionReconoise5; + //========================================================================================== 1119 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoise6=1; - TH1F* h2CeffHEnegativedirectionReconoise6 = new TH1F("h2CeffHEnegativedirectionReconoise6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEnegativedirectionReconoise6 = "<SetMarkerColor(2);HEnegativedirectionReconoise6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise6 == 1) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 2) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 3) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 4) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 5) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 6) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 7) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 8) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 == 9) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionReconoise6 ==10) HEnegativedirectionReconoise6 ->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionReconoise6->Draw("Error"); - kcountHEnegativedirectionReconoise6++; - if(kcountHEnegativedirectionReconoise6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEnegativedirectionReconoise6 = 1; + TH1F* h2CeffHEnegativedirectionReconoise6 = new TH1F("h2CeffHEnegativedirectionReconoise6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEnegativedirectionReconoise6 = "<SetMarkerColor(2); + HEnegativedirectionReconoise6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise6 == 1) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 2) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 3) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 4) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 5) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 6) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 7) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 8) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 9) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionReconoise6 == 10) + HEnegativedirectionReconoise6->SetXTitle("R for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoise6->Draw("Error"); + kcountHEnegativedirectionReconoise6++; + if (kcountHEnegativedirectionReconoise6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise6) delete h2CeffHEnegativedirectionReconoise6; - //========================================================================================== 11110 + if (h2CeffHEnegativedirectionReconoise6) + delete h2CeffHEnegativedirectionReconoise6; + //========================================================================================== 11110 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoise7=1; - TH1F* h2CeffHEnegativedirectionReconoise7 = new TH1F("h2CeffHEnegativedirectionReconoise7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoise7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEnegativedirectionReconoise7 = "<SetMarkerColor(2);HEnegativedirectionReconoise7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoise7 == 1) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionReconoise7 == 2) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionReconoise7 == 3) HEnegativedirectionReconoise7 ->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionReconoise7->Draw("Error"); - kcountHEnegativedirectionReconoise7++; - if(kcountHEnegativedirectionReconoise7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEnegativedirectionReconoise7 = 1; + TH1F* h2CeffHEnegativedirectionReconoise7 = new TH1F("h2CeffHEnegativedirectionReconoise7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoise7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoise7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEnegativedirectionReconoise7 = "<SetMarkerColor(2); + HEnegativedirectionReconoise7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoise7 == 1) + HEnegativedirectionReconoise7->SetXTitle("R for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionReconoise7 == 2) + HEnegativedirectionReconoise7->SetXTitle("R for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionReconoise7 == 3) + HEnegativedirectionReconoise7->SetXTitle("R for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoise7->Draw("Error"); + kcountHEnegativedirectionReconoise7++; + if (kcountHEnegativedirectionReconoise7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoise7) delete h2CeffHEnegativedirectionReconoise7; + if (h2CeffHEnegativedirectionReconoise7) + delete h2CeffHEnegativedirectionReconoise7; //====================================================================================================================== //====================================================================================================================== @@ -12674,857 +17664,1161 @@ std::cout<<" We are here to print ADC "<Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzDIFreconoiseHE42D = new TH2F("GefzDIFreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzDIFreconoiseHE42D0 = new TH2F("GefzDIFreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHE42D = new TH2F("GefzDIFreconoiseHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzDIFreconoiseHE42D0 = new TH2F("GefzDIFreconoiseHE42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzDIFreconoiseHE42DF = (TH2F*)GefzDIFreconoiseHE42D0->Clone("GefzDIFreconoiseHE42DF"); - for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzDIFreconoiseHE42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHE42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzDIFreconoiseHE42DF->Divide(GefzDIFreconoiseHE42D,GefzDIFreconoiseHE42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHE42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHE42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzDIFreconoiseHE42D->Fill(kkk, jphi, ccc1); + GefzDIFreconoiseHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHE42DF->Divide(GefzDIFreconoiseHE42D, GefzDIFreconoiseHE42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE42DF->SetXTitle("_depth #eta \b"); + GefzDIFreconoiseHE42DF->SetYTitle(" #phi \b"); GefzDIFreconoiseHE42DF->Draw("COLZ"); - //c2x1->cd(2); //TH1F *energyhitNoise_HE= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HE"); - //energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); - - - + //energyhitNoise_HE ->SetMarkerStyle(20);energyhitNoise_HE ->SetMarkerSize(0.4);energyhitNoise_HE ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HE ->SetXTitle("energyhitNoise_HE \b");energyhitNoise_HE ->SetMarkerColor(2);energyhitNoise_HE ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HE ->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHE.png"); c2x1->Clear(); // clean-up - if (GefzDIFreconoiseHE42D) delete GefzDIFreconoiseHE42D; - if (GefzDIFreconoiseHE42D0) delete GefzDIFreconoiseHE42D0; - if (GefzDIFreconoiseHE42DF) delete GefzDIFreconoiseHE42DF; + if (GefzDIFreconoiseHE42D) + delete GefzDIFreconoiseHE42D; + if (GefzDIFreconoiseHE42D0) + delete GefzDIFreconoiseHE42D0; + if (GefzDIFreconoiseHE42DF) + delete GefzDIFreconoiseHE42DF; //====================================================================== 1D plot: DIF vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: DIF vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzDIFreconoiseHE41D = new TH1F("GefzDIFreconoiseHE41D","", nphi, 0., 72. ); - TH1F* GefzDIFreconoiseHE41D0 = new TH1F("GefzDIFreconoiseHE41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHE41D = new TH1F("GefzDIFreconoiseHE41D", "", nphi, 0., 72.); + TH1F* GefzDIFreconoiseHE41D0 = new TH1F("GefzDIFreconoiseHE41D0", "", nphi, 0., 72.); TH1F* GefzDIFreconoiseHE41DF = (TH1F*)GefzDIFreconoiseHE41D0->Clone("GefzDIFreconoiseHE41DF"); - for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHE41D0 ->Fill(jphi,1.); } - }}}} - GefzDIFreconoiseHE41DF->Divide(GefzDIFreconoiseHE41D,GefzDIFreconoiseHE41D0, 1, 1, "B");// DIF averaged over depthes & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzDIFreconoiseHE41D->Fill(jphi, ccc1); + GefzDIFreconoiseHE41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHE41DF->Divide( + GefzDIFreconoiseHE41D, GefzDIFreconoiseHE41D0, 1, 1, "B"); // DIF averaged over depthes & eta GefzDIFreconoiseHE41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHE41DF->SetMarkerStyle(20); GefzDIFreconoiseHE41DF->SetMarkerSize(1.4); GefzDIFreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHE41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHE41DF->SetYTitle(" \b"); GefzDIFreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); GefzDIFreconoiseHE41DF->SetMarkerColor(4); GefzDIFreconoiseHE41DF->SetLineColor(4); // GefzDIFreconoiseHE41DF->SetMinimum(0.8); // GefzDIFreconoiseHE41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHE41DF->SetMarkerStyle(20); + GefzDIFreconoiseHE41DF->SetMarkerSize(1.4); + GefzDIFreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); + GefzDIFreconoiseHE41DF->SetXTitle("#phi \b"); + GefzDIFreconoiseHE41DF->SetYTitle(" \b"); + GefzDIFreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); + GefzDIFreconoiseHE41DF->SetMarkerColor(4); + GefzDIFreconoiseHE41DF->SetLineColor( + 4); // GefzDIFreconoiseHE41DF->SetMinimum(0.8); // GefzDIFreconoiseHE41DF->SetMaximum(1.000); GefzDIFreconoiseHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (GefzDIFreconoiseHE41D) delete GefzDIFreconoiseHE41D; - if (GefzDIFreconoiseHE41D0) delete GefzDIFreconoiseHE41D0; - if (GefzDIFreconoiseHE41DF) delete GefzDIFreconoiseHE41DF; - - - //========================================================================================== 4 + if (GefzDIFreconoiseHE41D) + delete GefzDIFreconoiseHE41D; + if (GefzDIFreconoiseHE41D0) + delete GefzDIFreconoiseHE41D0; + if (GefzDIFreconoiseHE41DF) + delete GefzDIFreconoiseHE41DF; + + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF1=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { + if (jeta - 41 >= 15 && jeta - 41 <= 28) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF1 == 1) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 2) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 3) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 4) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 5) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 6) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 7) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 8) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 == 9) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 ==10) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 ==11) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseDIF1 ==12) HEpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionReconoiseDIF1->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF1++; - if(kcountHEpositivedirectionReconoiseDIF1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 15 && jeta-41 <= 28 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEpositivedirectionReconoiseDIF1 = (TH1F*)h2CeffHEpositivedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF1 == 1) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 2) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 3) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 4) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 5) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 6) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 7) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 8) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 9) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 10) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 11) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseDIF1 == 12) + HEpositivedirectionReconoiseDIF1->SetXTitle("DIF for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF1++; + if (kcountHEpositivedirectionReconoiseDIF1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 15 && jeta-41 <= 28 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF1) delete h2CeffHEpositivedirectionReconoiseDIF1; - + if (h2CeffHEpositivedirectionReconoiseDIF1) + delete h2CeffHEpositivedirectionReconoiseDIF1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF2=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF2 == 1) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 2) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 3) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 4) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 5) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 6) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 7) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 8) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 == 9) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==10) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==11) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==12) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseDIF2 ==13) HEpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionReconoiseDIF2->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF2++; - if(kcountHEpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 - }//for jeta + int kcountHEpositivedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF2 == 1) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 2) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 3) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 4) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 5) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 6) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 7) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 8) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 9) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 10) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 11) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 12) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseDIF2 == 13) + HEpositivedirectionReconoiseDIF2->SetXTitle("DIF for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF2++; + if (kcountHEpositivedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF2) delete h2CeffHEpositivedirectionReconoiseDIF2; - //========================================================================================== 6 + if (h2CeffHEpositivedirectionReconoiseDIF2) + delete h2CeffHEpositivedirectionReconoiseDIF2; + //========================================================================================== 6 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF3=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF3 == 1) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 2) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 3) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 4) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 5) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 6) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 7) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 8) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 == 9) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==10) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==11) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==12) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseDIF3 ==13) HEpositivedirectionReconoiseDIF3 ->SetXTitle("DIF for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionReconoiseDIF3->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF3++; - if(kcountHEpositivedirectionReconoiseDIF3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= - }//for jeta + int kcountHEpositivedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF3 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEpositivedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF3 == 1) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 2) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 3) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 4) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 5) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 6) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 7) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 8) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 9) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 10) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 11) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 12) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseDIF3 == 13) + HEpositivedirectionReconoiseDIF3->SetXTitle("DIF for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseDIF3->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF3++; + if (kcountHEpositivedirectionReconoiseDIF3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF3) delete h2CeffHEpositivedirectionReconoiseDIF3; - //========================================================================================== 7 + if (h2CeffHEpositivedirectionReconoiseDIF3) + delete h2CeffHEpositivedirectionReconoiseDIF3; + //========================================================================================== 7 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF4=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF4 == 1) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 2) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 3) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 4) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 5) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 6) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 7) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 8) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 == 9) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 ==10) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 ==11) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseDIF4 ==12) HEpositivedirectionReconoiseDIF4 ->SetXTitle("DIF for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionReconoiseDIF4->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF4++; - if(kcountHEpositivedirectionReconoiseDIF4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEpositivedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF4 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEpositivedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF4 == 1) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 2) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 3) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 4) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 5) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 6) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 7) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 8) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 9) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 10) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 11) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseDIF4 == 12) + HEpositivedirectionReconoiseDIF4->SetXTitle("DIF for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseDIF4->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF4++; + if (kcountHEpositivedirectionReconoiseDIF4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF4) delete h2CeffHEpositivedirectionReconoiseDIF4; - //========================================================================================== 8 + if (h2CeffHEpositivedirectionReconoiseDIF4) + delete h2CeffHEpositivedirectionReconoiseDIF4; + //========================================================================================== 8 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF5=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF5 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEpositivedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF5 == 1) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 2) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 3) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 4) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 5) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 6) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 7) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 8) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 == 9) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 ==10) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseDIF5 ==11) HEpositivedirectionReconoiseDIF5 ->SetXTitle("DIF for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionReconoiseDIF5->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF5++; - if(kcountHEpositivedirectionReconoiseDIF5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEpositivedirectionReconoiseDIF5 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF5 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEpositivedirectionReconoiseDIF5 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF5 == 1) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 2) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 3) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 4) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 5) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 6) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 7) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 8) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 9) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 10) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseDIF5 == 11) + HEpositivedirectionReconoiseDIF5->SetXTitle("DIF for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseDIF5->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF5++; + if (kcountHEpositivedirectionReconoiseDIF5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF5) delete h2CeffHEpositivedirectionReconoiseDIF5; - //========================================================================================== 9 + if (h2CeffHEpositivedirectionReconoiseDIF5) + delete h2CeffHEpositivedirectionReconoiseDIF5; + //========================================================================================== 9 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF6=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF6 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEpositivedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF6 == 1) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 2) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 3) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 4) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 5) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 6) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 7) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 8) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 == 9) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseDIF6 ==10) HEpositivedirectionReconoiseDIF6 ->SetXTitle("DIF for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionReconoiseDIF6->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF6++; - if(kcountHEpositivedirectionReconoiseDIF6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEpositivedirectionReconoiseDIF6 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF6 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEpositivedirectionReconoiseDIF6 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF6 == 1) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 2) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 3) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 4) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 5) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 6) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 7) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 8) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 9) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseDIF6 == 10) + HEpositivedirectionReconoiseDIF6->SetXTitle("DIF for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseDIF6->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF6++; + if (kcountHEpositivedirectionReconoiseDIF6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF6) delete h2CeffHEpositivedirectionReconoiseDIF6; - //========================================================================================== 10 + if (h2CeffHEpositivedirectionReconoiseDIF6) + delete h2CeffHEpositivedirectionReconoiseDIF6; + //========================================================================================== 10 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseDIF7=1; - TH1F* h2CeffHEpositivedirectionReconoiseDIF7 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseDIF7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEpositivedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseDIF7 == 1) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseDIF7 == 2) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseDIF7 == 3) HEpositivedirectionReconoiseDIF7 ->SetXTitle("DIF for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionReconoiseDIF7->Draw("Error"); - kcountHEpositivedirectionReconoiseDIF7++; - if(kcountHEpositivedirectionReconoiseDIF7>3) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEpositivedirectionReconoiseDIF7 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseDIF7 = new TH1F("h2CeffHEpositivedirectionReconoiseDIF7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEpositivedirectionReconoiseDIF7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseDIF7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEpositivedirectionReconoiseDIF7 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseDIF7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseDIF7 == 1) + HEpositivedirectionReconoiseDIF7->SetXTitle("DIF for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseDIF7 == 2) + HEpositivedirectionReconoiseDIF7->SetXTitle("DIF for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseDIF7 == 3) + HEpositivedirectionReconoiseDIF7->SetXTitle("DIF for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseDIF7->Draw("Error"); + kcountHEpositivedirectionReconoiseDIF7++; + if (kcountHEpositivedirectionReconoiseDIF7 > 3) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseDIF7) delete h2CeffHEpositivedirectionReconoiseDIF7; + if (h2CeffHEpositivedirectionReconoiseDIF7) + delete h2CeffHEpositivedirectionReconoiseDIF7; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - //========================================================================================== 1114 + //========================================================================================== 1114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF1=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { + if (jeta - 41 >= -29 && jeta - 41 <= -16) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHEnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF1 == 1) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 2) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 3) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 4) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 5) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 6) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 7) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 8) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 == 9) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 ==10) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 ==11) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseDIF1 ==12) HEnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionReconoiseDIF1->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF1++; - if(kcountHEnegativedirectionReconoiseDIF1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HEnegativedirectionReconoiseDIF1 = (TH1F*)h2CeffHEnegativedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHEnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF1 == 1) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 2) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 3) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 4) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 5) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 6) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 7) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 8) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 9) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 10) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 11) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseDIF1 == 12) + HEnegativedirectionReconoiseDIF1->SetXTitle("DIF for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF1++; + if (kcountHEnegativedirectionReconoiseDIF1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF1) delete h2CeffHEnegativedirectionReconoiseDIF1; - + if (h2CeffHEnegativedirectionReconoiseDIF1) + delete h2CeffHEnegativedirectionReconoiseDIF1; - //========================================================================================== 1115 + //========================================================================================== 1115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF2=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHEnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF2 == 1) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 2) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 3) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 4) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 5) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 6) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 7) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 8) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 == 9) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==10) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==11) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==12) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseDIF2 ==13) HEnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionReconoiseDIF2->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF2++; - if(kcountHEnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEnegativedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHEnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF2 == 1) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 2) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 3) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 4) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 5) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 6) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 7) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 8) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 9) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 10) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 11) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 12) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseDIF2 == 13) + HEnegativedirectionReconoiseDIF2->SetXTitle("DIF for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF2++; + if (kcountHEnegativedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF2) delete h2CeffHEnegativedirectionReconoiseDIF2; - //========================================================================================== 1116 + if (h2CeffHEnegativedirectionReconoiseDIF2) + delete h2CeffHEnegativedirectionReconoiseDIF2; + //========================================================================================== 1116 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=3 //cout<<" 1D plot: R vs phi , different eta, depth=3 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF3=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF3","", nphi, 0., 72. ); - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"666 kcountHEnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF3 == 1) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 2) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 3) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 4) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 5) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 6) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 7) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 8) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 == 9) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==10) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==11) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==12) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseDIF3 ==13) HEnegativedirectionReconoiseDIF3 ->SetXTitle("DIF for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionReconoiseDIF3->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF3++; - if(kcountHEnegativedirectionReconoiseDIF3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEnegativedirectionReconoiseDIF3 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF3 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF3", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"666 kcountHEnegativedirectionReconoiseDIF3 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF3 == 1) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 2) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 3) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 4) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 5) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 6) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 7) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 8) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 9) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 10) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 11) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 12) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseDIF3 == 13) + HEnegativedirectionReconoiseDIF3->SetXTitle("DIF for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseDIF3->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF3++; + if (kcountHEnegativedirectionReconoiseDIF3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF3) delete h2CeffHEnegativedirectionReconoiseDIF3; - //========================================================================================== 1117 + if (h2CeffHEnegativedirectionReconoiseDIF3) + delete h2CeffHEnegativedirectionReconoiseDIF3; + //========================================================================================== 1117 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=4 //cout<<" 1D plot: R vs phi , different eta, depth=4 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF4=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"777 kcountHEnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF4 == 1) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 2) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 3) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 4) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 5) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 6) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 7) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 8) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 == 9) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 ==10) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 ==11) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseDIF4 ==12) HEnegativedirectionReconoiseDIF4 ->SetXTitle("DIF for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionReconoiseDIF4->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF4++; - if(kcountHEnegativedirectionReconoiseDIF4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEnegativedirectionReconoiseDIF4 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF4 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"777 kcountHEnegativedirectionReconoiseDIF4 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF4 == 1) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 2) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 3) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 4) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 5) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 6) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 7) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 8) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 9) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 10) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 11) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseDIF4 == 12) + HEnegativedirectionReconoiseDIF4->SetXTitle("DIF for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseDIF4->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF4++; + if (kcountHEnegativedirectionReconoiseDIF4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF4) delete h2CeffHEnegativedirectionReconoiseDIF4; - //========================================================================================== 1118 + if (h2CeffHEnegativedirectionReconoiseDIF4) + delete h2CeffHEnegativedirectionReconoiseDIF4; + //========================================================================================== 1118 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=5 //cout<<" 1D plot: R vs phi , different eta, depth=5 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF5=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF5 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiSetMarkerColor(2);HEnegativedirectionReconoiseDIF5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF5 == 1) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 2) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 3) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 4) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 5) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 6) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 7) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 8) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 == 9) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 ==10) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseDIF5 ==11) HEnegativedirectionReconoiseDIF5 ->SetXTitle("DIF for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionReconoiseDIF5->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF5++; - if(kcountHEnegativedirectionReconoiseDIF5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEnegativedirectionReconoiseDIF5 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF5 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + // cout<<"888 initial kcountHEnegativedirectionReconoiseDIF5 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF5 == 1) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 2) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 3) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 4) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 5) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 6) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 7) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 8) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 9) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 10) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseDIF5 == 11) + HEnegativedirectionReconoiseDIF5->SetXTitle("DIF for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseDIF5->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF5++; + if (kcountHEnegativedirectionReconoiseDIF5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF5) delete h2CeffHEnegativedirectionReconoiseDIF5; - //========================================================================================== 1119 + if (h2CeffHEnegativedirectionReconoiseDIF5) + delete h2CeffHEnegativedirectionReconoiseDIF5; + //========================================================================================== 1119 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=6 //cout<<" 1D plot: R vs phi , different eta, depth=6 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF6=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF6 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"999 kcountHEnegativedirectionReconoiseDIF6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF6 == 1) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 2) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 3) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 4) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 5) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 6) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 7) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 8) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 == 9) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseDIF6 ==10) HEnegativedirectionReconoiseDIF6 ->SetXTitle("DIF for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionReconoiseDIF6->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF6++; - if(kcountHEnegativedirectionReconoiseDIF6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEnegativedirectionReconoiseDIF6 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF6 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"999 kcountHEnegativedirectionReconoiseDIF6 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF6 == 1) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 2) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 3) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 4) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 5) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 6) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 7) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 8) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 9) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseDIF6 == 10) + HEnegativedirectionReconoiseDIF6->SetXTitle("DIF for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseDIF6->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF6++; + if (kcountHEnegativedirectionReconoiseDIF6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF6) delete h2CeffHEnegativedirectionReconoiseDIF6; - //========================================================================================== 11110 + if (h2CeffHEnegativedirectionReconoiseDIF6) + delete h2CeffHEnegativedirectionReconoiseDIF6; + //========================================================================================== 11110 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=7 //cout<<" 1D plot: R vs phi , different eta, depth=7 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseDIF7=1; - TH1F* h2CeffHEnegativedirectionReconoiseDIF7 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseDIF7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1010 kcountHEnegativedirectionReconoiseDIF7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseDIF7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseDIF7 == 1) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseDIF7 == 2) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseDIF7 == 3) HEnegativedirectionReconoiseDIF7 ->SetXTitle("DIF for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionReconoiseDIF7->Draw("Error"); - kcountHEnegativedirectionReconoiseDIF7++; - if(kcountHEnegativedirectionReconoiseDIF7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -29 && jeta-41 <= -16) - }//for jeta + int kcountHEnegativedirectionReconoiseDIF7 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseDIF7 = new TH1F("h2CeffHEnegativedirectionReconoiseDIF7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoisehe[i][jeta][jphi]; + if (ccc1 != 0.) { + HEnegativedirectionReconoiseDIF7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseDIF7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1010 kcountHEnegativedirectionReconoiseDIF7 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseDIF7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseDIF7 == 1) + HEnegativedirectionReconoiseDIF7->SetXTitle("DIF for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseDIF7 == 2) + HEnegativedirectionReconoiseDIF7->SetXTitle("DIF for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseDIF7 == 3) + HEnegativedirectionReconoiseDIF7->SetXTitle("DIF for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseDIF7->Draw("Error"); + kcountHEnegativedirectionReconoiseDIF7++; + if (kcountHEnegativedirectionReconoiseDIF7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -29 && jeta-41 <= -16) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseDIF7) delete h2CeffHEnegativedirectionReconoiseDIF7; + if (h2CeffHEnegativedirectionReconoiseDIF7) + delete h2CeffHEnegativedirectionReconoiseDIF7; //====================================================================================================================== //====================================================================================================================== @@ -13534,1605 +18828,2194 @@ std::cout<<" We are here to print ADC "<FindObjectAny("h_recNoiseEnergy2_HE1"); - TH2F *reconoiseVariance0HE1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HE1"); + TH2F* reconoiseVariance0HE1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE1"); TH2F* reconoiseVarianceHE1 = (TH2F*)reconoiseVariance1HE1->Clone("reconoiseVarianceHE1"); - reconoiseVarianceHE1->Divide(reconoiseVariance1HE1,reconoiseVariance0HE1, 1, 1, "B"); - TH2F *reconoiseVariance1HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE2"); - TH2F *reconoiseVariance0HE2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); + reconoiseVarianceHE1->Divide(reconoiseVariance1HE1, reconoiseVariance0HE1, 1, 1, "B"); + TH2F* reconoiseVariance1HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE2"); + TH2F* reconoiseVariance0HE2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE2"); TH2F* reconoiseVarianceHE2 = (TH2F*)reconoiseVariance1HE2->Clone("reconoiseVarianceHE2"); - reconoiseVarianceHE2->Divide(reconoiseVariance1HE2,reconoiseVariance0HE2, 1, 1, "B"); - TH2F *reconoiseVariance1HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE3"); - TH2F *reconoiseVariance0HE3= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); + reconoiseVarianceHE2->Divide(reconoiseVariance1HE2, reconoiseVariance0HE2, 1, 1, "B"); + TH2F* reconoiseVariance1HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE3"); + TH2F* reconoiseVariance0HE3 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE3"); TH2F* reconoiseVarianceHE3 = (TH2F*)reconoiseVariance1HE3->Clone("reconoiseVarianceHE3"); - reconoiseVarianceHE3->Divide(reconoiseVariance1HE3,reconoiseVariance0HE3, 1, 1, "B"); - TH2F *reconoiseVariance1HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE4"); - TH2F *reconoiseVariance0HE4= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); + reconoiseVarianceHE3->Divide(reconoiseVariance1HE3, reconoiseVariance0HE3, 1, 1, "B"); + TH2F* reconoiseVariance1HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE4"); + TH2F* reconoiseVariance0HE4 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE4"); TH2F* reconoiseVarianceHE4 = (TH2F*)reconoiseVariance1HE4->Clone("reconoiseVarianceHE4"); - reconoiseVarianceHE4->Divide(reconoiseVariance1HE4,reconoiseVariance0HE4, 1, 1, "B"); - TH2F *reconoiseVariance1HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE5"); - TH2F *reconoiseVariance0HE5= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); + reconoiseVarianceHE4->Divide(reconoiseVariance1HE4, reconoiseVariance0HE4, 1, 1, "B"); + TH2F* reconoiseVariance1HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE5"); + TH2F* reconoiseVariance0HE5 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE5"); TH2F* reconoiseVarianceHE5 = (TH2F*)reconoiseVariance1HE5->Clone("reconoiseVarianceHE5"); - reconoiseVarianceHE5->Divide(reconoiseVariance1HE5,reconoiseVariance0HE5, 1, 1, "B"); - TH2F *reconoiseVariance1HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE6"); - TH2F *reconoiseVariance0HE6= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); + reconoiseVarianceHE5->Divide(reconoiseVariance1HE5, reconoiseVariance0HE5, 1, 1, "B"); + TH2F* reconoiseVariance1HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE6"); + TH2F* reconoiseVariance0HE6 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE6"); TH2F* reconoiseVarianceHE6 = (TH2F*)reconoiseVariance1HE6->Clone("reconoiseVarianceHE6"); - reconoiseVarianceHE6->Divide(reconoiseVariance1HE6,reconoiseVariance0HE6, 1, 1, "B"); - TH2F *reconoiseVariance1HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE7"); - TH2F *reconoiseVariance0HE7= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); + reconoiseVarianceHE6->Divide(reconoiseVariance1HE6, reconoiseVariance0HE6, 1, 1, "B"); + TH2F* reconoiseVariance1HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HE7"); + TH2F* reconoiseVariance0HE7 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HE7"); TH2F* reconoiseVarianceHE7 = (TH2F*)reconoiseVariance1HE7->Clone("reconoiseVarianceHE7"); - reconoiseVarianceHE7->Divide(reconoiseVariance1HE7,reconoiseVariance0HE7, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevariancehe - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jeta= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { + reconoiseVarianceHE7->Divide(reconoiseVariance1HE7, reconoiseVariance0HE7, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevariancehe + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { //preparation for PHI normalization: - double sumreconoiseHE0=0;int nsumreconoiseHE0=0;double sumreconoiseHE1=0;int nsumreconoiseHE1=0;double sumreconoiseHE2=0;int nsumreconoiseHE2=0;double sumreconoiseHE3=0;int nsumreconoiseHE3=0; - double sumreconoiseHE4=0;int nsumreconoiseHE4=0;double sumreconoiseHE5=0;int nsumreconoiseHE5=0;double sumreconoiseHE6=0;int nsumreconoiseHE6=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - reconoisevariancehe[1][jeta][jphi] = reconoiseVarianceHE2->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[2][jeta][jphi] = reconoiseVarianceHE3->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[3][jeta][jphi] = reconoiseVarianceHE4->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[4][jeta][jphi] = reconoiseVarianceHE5->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[5][jeta][jphi] = reconoiseVarianceHE6->GetBinContent(jeta+1,jphi+1); - reconoisevariancehe[6][jeta][jphi] = reconoiseVarianceHE7->GetBinContent(jeta+1,jphi+1); - if(reconoisevariancehe[0][jeta][jphi] != 0.) {sumreconoiseHE0 += reconoisevariancehe[0][jeta][jphi];++nsumreconoiseHE0;} - if(reconoisevariancehe[1][jeta][jphi] != 0.) {sumreconoiseHE1 += reconoisevariancehe[1][jeta][jphi];++nsumreconoiseHE1;} - if(reconoisevariancehe[2][jeta][jphi] != 0.) {sumreconoiseHE2 += reconoisevariancehe[2][jeta][jphi];++nsumreconoiseHE2;} - if(reconoisevariancehe[3][jeta][jphi] != 0.) {sumreconoiseHE3 += reconoisevariancehe[3][jeta][jphi];++nsumreconoiseHE3;} - if(reconoisevariancehe[4][jeta][jphi] != 0.) {sumreconoiseHE4 += reconoisevariancehe[4][jeta][jphi];++nsumreconoiseHE4;} - if(reconoisevariancehe[5][jeta][jphi] != 0.) {sumreconoiseHE5 += reconoisevariancehe[5][jeta][jphi];++nsumreconoiseHE5;} - if(reconoisevariancehe[6][jeta][jphi] != 0.) {sumreconoiseHE6 += reconoisevariancehe[6][jeta][jphi];++nsumreconoiseHE6;} - }// phi + double sumreconoiseHE0 = 0; + int nsumreconoiseHE0 = 0; + double sumreconoiseHE1 = 0; + int nsumreconoiseHE1 = 0; + double sumreconoiseHE2 = 0; + int nsumreconoiseHE2 = 0; + double sumreconoiseHE3 = 0; + int nsumreconoiseHE3 = 0; + double sumreconoiseHE4 = 0; + int nsumreconoiseHE4 = 0; + double sumreconoiseHE5 = 0; + int nsumreconoiseHE5 = 0; + double sumreconoiseHE6 = 0; + int nsumreconoiseHE6 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + reconoisevariancehe[0][jeta][jphi] = reconoiseVarianceHE1->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[1][jeta][jphi] = reconoiseVarianceHE2->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[2][jeta][jphi] = reconoiseVarianceHE3->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[3][jeta][jphi] = reconoiseVarianceHE4->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[4][jeta][jphi] = reconoiseVarianceHE5->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[5][jeta][jphi] = reconoiseVarianceHE6->GetBinContent(jeta + 1, jphi + 1); + reconoisevariancehe[6][jeta][jphi] = reconoiseVarianceHE7->GetBinContent(jeta + 1, jphi + 1); + if (reconoisevariancehe[0][jeta][jphi] != 0.) { + sumreconoiseHE0 += reconoisevariancehe[0][jeta][jphi]; + ++nsumreconoiseHE0; + } + if (reconoisevariancehe[1][jeta][jphi] != 0.) { + sumreconoiseHE1 += reconoisevariancehe[1][jeta][jphi]; + ++nsumreconoiseHE1; + } + if (reconoisevariancehe[2][jeta][jphi] != 0.) { + sumreconoiseHE2 += reconoisevariancehe[2][jeta][jphi]; + ++nsumreconoiseHE2; + } + if (reconoisevariancehe[3][jeta][jphi] != 0.) { + sumreconoiseHE3 += reconoisevariancehe[3][jeta][jphi]; + ++nsumreconoiseHE3; + } + if (reconoisevariancehe[4][jeta][jphi] != 0.) { + sumreconoiseHE4 += reconoisevariancehe[4][jeta][jphi]; + ++nsumreconoiseHE4; + } + if (reconoisevariancehe[5][jeta][jphi] != 0.) { + sumreconoiseHE5 += reconoisevariancehe[5][jeta][jphi]; + ++nsumreconoiseHE5; + } + if (reconoisevariancehe[6][jeta][jphi] != 0.) { + sumreconoiseHE6 += reconoisevariancehe[6][jeta][jphi]; + ++nsumreconoiseHE6; + } + } // phi // PHI normalization : - for(int jphi=0;jphiClear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDreconoiseHE42D = new TH2F("DefzDreconoiseHE42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHE42D0 = new TH2F("DefzDreconoiseHE42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHE42DF = (TH2F*)DefzDreconoiseHE42D0->Clone("DefzDreconoiseHE42DF"); - for (int i=0;i= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 - if(areconoisehe[i][jeta][jphi]>0.) {DefzDreconoiseHE42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHE42D0 ->Fill(kkk,jphi,1.); } - }}}} - DefzDreconoiseHE42DF->Divide(DefzDreconoiseHE42D,DefzDreconoiseHE42D0, 1, 1, "B");// average A - // DefzDreconoiseHE1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHE42DF->SetMarkerStyle(20); DefzDreconoiseHE42DF->SetMarkerSize(0.4); DefzDreconoiseHE42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHE42DF->SetYTitle(" #phi \b"); DefzDreconoiseHE42DF->SetZTitle("_depth \b"); DefzDreconoiseHE42DF->SetMarkerColor(2); DefzDreconoiseHE42DF->SetLineColor(0); // DefzDreconoiseHE42DF->SetMaximum(1.000); // DefzDreconoiseHE42DF->SetMinimum(1.0); - DefzDreconoiseHE42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DreconoiseGeneralD2PhiSymmetryHE.png"); - c1x0->Clear(); - // clean-up - if (DefzDreconoiseHE42D) delete DefzDreconoiseHE42D; - if (DefzDreconoiseHE42D0) delete DefzDreconoiseHE42D0; - if (DefzDreconoiseHE42DF) delete DefzDreconoiseHE42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthes *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDreconoiseHE42D = new TH2F("DefzDreconoiseHE42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHE42D0 = new TH2F("DefzDreconoiseHE42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHE42DF = (TH2F*)DefzDreconoiseHE42D0->Clone("DefzDreconoiseHE42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (areconoisehe[i][jeta][jphi] > 0.) { + DefzDreconoiseHE42D->Fill(kkk, jphi, ccc1); + DefzDreconoiseHE42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + DefzDreconoiseHE42DF->Divide(DefzDreconoiseHE42D, DefzDreconoiseHE42D0, 1, 1, "B"); // average A + // DefzDreconoiseHE1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE42DF->SetMarkerStyle(20); + DefzDreconoiseHE42DF->SetMarkerSize(0.4); + DefzDreconoiseHE42DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHE42DF->SetXTitle("_depth #eta \b"); + DefzDreconoiseHE42DF->SetYTitle(" #phi \b"); + DefzDreconoiseHE42DF->SetZTitle("_depth \b"); + DefzDreconoiseHE42DF->SetMarkerColor(2); + DefzDreconoiseHE42DF->SetLineColor( + 0); // DefzDreconoiseHE42DF->SetMaximum(1.000); // DefzDreconoiseHE42DF->SetMinimum(1.0); + DefzDreconoiseHE42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHE.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHE42D) + delete DefzDreconoiseHE42D; + if (DefzDreconoiseHE42D0) + delete DefzDreconoiseHE42D0; + if (DefzDreconoiseHE42DF) + delete DefzDreconoiseHE42DF; //====================================================================== 1D plot: D vs phi , averaged over depthes & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthes & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDreconoiseHE41D = new TH1F("DefzDreconoiseHE41D","", nphi, 0., 72. ); - TH1F* DefzDreconoiseHE41D0 = new TH1F("DefzDreconoiseHE41D0","",nphi, 0., 72. ); - TH1F* DefzDreconoiseHE41DF = (TH1F*)DefzDreconoiseHE41D0->Clone("DefzDreconoiseHE41DF"); - - for (int jphi=0;jphi= -29 && jeta-41 <= -16) || (jeta-41 >= 15 && jeta-41 <= 28) ) { - for (int i=0;i0.) {DefzDreconoiseHE41D ->Fill(jphi,ccc1); DefzDreconoiseHE41D0 ->Fill(jphi,1.); } - }}}} - // DefzDreconoiseHE41D->Sumw2();DefzDreconoiseHE41D0->Sumw2(); - - DefzDreconoiseHE41DF->Divide(DefzDreconoiseHE41D,DefzDreconoiseHE41D0, 1, 1, "B");// R averaged over depthes & eta - DefzDreconoiseHE41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHE41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHE41DF->SetMarkerStyle(20); DefzDreconoiseHE41DF->SetMarkerSize(1.4); DefzDreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHE41DF->SetXTitle("#phi \b"); DefzDreconoiseHE41DF->SetYTitle(" \b"); DefzDreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); DefzDreconoiseHE41DF->SetMarkerColor(4); DefzDreconoiseHE41DF->SetLineColor(4); // DefzDreconoiseHE41DF->SetMinimum(0.8); DefzDreconoiseHE41DF->SetMinimum(-0.015); - DefzDreconoiseHE41DF->Draw("Error"); + TH1F* DefzDreconoiseHE41D = new TH1F("DefzDreconoiseHE41D", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHE41D0 = new TH1F("DefzDreconoiseHE41D0", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHE41DF = (TH1F*)DefzDreconoiseHE41D0->Clone("DefzDreconoiseHE41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -29 && jeta - 41 <= -16) || (jeta - 41 >= 15 && jeta - 41 <= 28)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + DefzDreconoiseHE41D->Fill(jphi, ccc1); + DefzDreconoiseHE41D0->Fill(jphi, 1.); + } + } + } + } + } + // DefzDreconoiseHE41D->Sumw2();DefzDreconoiseHE41D0->Sumw2(); + + DefzDreconoiseHE41DF->Divide(DefzDreconoiseHE41D, DefzDreconoiseHE41D0, 1, 1, "B"); // R averaged over depthes & eta + DefzDreconoiseHE41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHE41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHE41DF->SetMarkerStyle(20); + DefzDreconoiseHE41DF->SetMarkerSize(1.4); + DefzDreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHE41DF->SetXTitle("#phi \b"); + DefzDreconoiseHE41DF->SetYTitle(" \b"); + DefzDreconoiseHE41DF->SetZTitle("_PHI - AllDepthes \b"); + DefzDreconoiseHE41DF->SetMarkerColor(4); + DefzDreconoiseHE41DF->SetLineColor( + 4); // DefzDreconoiseHE41DF->SetMinimum(0.8); DefzDreconoiseHE41DF->SetMinimum(-0.015); + DefzDreconoiseHE41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DreconoiseGeneralD1PhiSymmetryHE.png"); c1x1->Clear(); // clean-up - if (DefzDreconoiseHE41D) delete DefzDreconoiseHE41D; - if (DefzDreconoiseHE41D0) delete DefzDreconoiseHE41D0; - if (DefzDreconoiseHE41DF) delete DefzDreconoiseHE41DF; - //========================================================================================== 14 + if (DefzDreconoiseHE41D) + delete DefzDreconoiseHE41D; + if (DefzDreconoiseHE41D0) + delete DefzDreconoiseHE41D0; + if (DefzDreconoiseHE41DF) + delete DefzDreconoiseHE41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD1=1; - TH1F* h2CeffHEpositivedirectionReconoiseD1 = new TH1F("h2CeffHEpositivedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD1 == 1) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 2) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 3) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 4) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 5) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 6) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 7) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 8) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 == 9) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 ==10) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 ==11) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); - if(kcountHEpositivedirectionReconoiseD1 ==12) HEpositivedirectionReconoiseD1 ->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); - HEpositivedirectionReconoiseD1->Draw("Error"); - kcountHEpositivedirectionReconoiseD1++; - if(kcountHEpositivedirectionReconoiseD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionReconoiseD1 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD1 = new TH1F("h2CeffHEpositivedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEpositivedirectionReconoiseD1 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD1 == 1) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 17; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 2) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 18; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 3) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 19; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 4) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 20; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 5) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 21; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 6) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 22; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 7) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 23; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 8) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 24; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 9) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 25; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 10) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 26; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 11) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 27; depth = 1 \b"); + if (kcountHEpositivedirectionReconoiseD1 == 12) + HEpositivedirectionReconoiseD1->SetXTitle("D for HE+ jeta = 28; depth = 1 \b"); + HEpositivedirectionReconoiseD1->Draw("Error"); + kcountHEpositivedirectionReconoiseD1++; + if (kcountHEpositivedirectionReconoiseD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD1) delete h2CeffHEpositivedirectionReconoiseD1; - //========================================================================================== 15 + if (h2CeffHEpositivedirectionReconoiseD1) + delete h2CeffHEpositivedirectionReconoiseD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD2=1; - TH1F* h2CeffHEpositivedirectionReconoiseD2 = new TH1F("h2CeffHEpositivedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD2 == 1) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 2) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 3) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 4) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 5) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 6) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 7) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 8) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 == 9) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==10) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==11) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==12) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); - if(kcountHEpositivedirectionReconoiseD2 ==13) HEpositivedirectionReconoiseD2 ->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); - HEpositivedirectionReconoiseD2->Draw("Error"); - kcountHEpositivedirectionReconoiseD2++; - if(kcountHEpositivedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionReconoiseD2 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD2 = new TH1F("h2CeffHEpositivedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEpositivedirectionReconoiseD2 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD2 == 1) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 16; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 2) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 17; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 3) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 18; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 4) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 19; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 5) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 20; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 6) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 21; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 7) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 22; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 8) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 23; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 9) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 24; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 10) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 25; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 11) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 26; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 12) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 27; depth = 2 \b"); + if (kcountHEpositivedirectionReconoiseD2 == 13) + HEpositivedirectionReconoiseD2->SetXTitle("D for HE+ jeta = 28; depth = 2 \b"); + HEpositivedirectionReconoiseD2->Draw("Error"); + kcountHEpositivedirectionReconoiseD2++; + if (kcountHEpositivedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD2) delete h2CeffHEpositivedirectionReconoiseD2; - //========================================================================================== 16 + if (h2CeffHEpositivedirectionReconoiseD2) + delete h2CeffHEpositivedirectionReconoiseD2; + //========================================================================================== 16 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD3=1; - TH1F* h2CeffHEpositivedirectionReconoiseD3 = new TH1F("h2CeffHEpositivedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEpositivedirectionReconoiseD3 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD3 == 1) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 2) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 3) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 4) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 5) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 6) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 7) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 8) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 == 9) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==10) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==11) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==12) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); - if(kcountHEpositivedirectionReconoiseD3 ==13) HEpositivedirectionReconoiseD3 ->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); - HEpositivedirectionReconoiseD3->Draw("Error"); - kcountHEpositivedirectionReconoiseD3++; - if(kcountHEpositivedirectionReconoiseD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionReconoiseD3 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD3 = new TH1F("h2CeffHEpositivedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEpositivedirectionReconoiseD3 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD3 == 1) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 16; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 2) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 17; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 3) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 18; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 4) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 19; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 5) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 20; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 6) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 21; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 7) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 22; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 8) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 23; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 9) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 24; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 10) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 25; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 11) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 26; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 12) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 27; depth = 3 \b"); + if (kcountHEpositivedirectionReconoiseD3 == 13) + HEpositivedirectionReconoiseD3->SetXTitle("D for HE+ jeta = 28; depth = 3 \b"); + HEpositivedirectionReconoiseD3->Draw("Error"); + kcountHEpositivedirectionReconoiseD3++; + if (kcountHEpositivedirectionReconoiseD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD3) delete h2CeffHEpositivedirectionReconoiseD3; - //========================================================================================== 17 + if (h2CeffHEpositivedirectionReconoiseD3) + delete h2CeffHEpositivedirectionReconoiseD3; + //========================================================================================== 17 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD4=1; - TH1F* h2CeffHEpositivedirectionReconoiseD4 = new TH1F("h2CeffHEpositivedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEpositivedirectionReconoiseD4 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD4 == 1) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 2) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 3) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 4) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 5) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 6) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 7) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 8) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 == 9) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 ==10) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 ==11) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); - if(kcountHEpositivedirectionReconoiseD4 ==12) HEpositivedirectionReconoiseD4 ->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); - HEpositivedirectionReconoiseD4->Draw("Error"); - kcountHEpositivedirectionReconoiseD4++; - if(kcountHEpositivedirectionReconoiseD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionReconoiseD4 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD4 = new TH1F("h2CeffHEpositivedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEpositivedirectionReconoiseD4 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD4 == 1) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 15; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 2) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 17; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 3) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 18; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 4) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 19; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 5) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 20; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 6) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 21; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 7) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 22; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 8) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 23; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 9) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 24; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 10) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 25; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 11) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 26; depth = 4 \b"); + if (kcountHEpositivedirectionReconoiseD4 == 12) + HEpositivedirectionReconoiseD4->SetXTitle("D for HE+ jeta = 27; depth = 4 \b"); + HEpositivedirectionReconoiseD4->Draw("Error"); + kcountHEpositivedirectionReconoiseD4++; + if (kcountHEpositivedirectionReconoiseD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD4) delete h2CeffHEpositivedirectionReconoiseD4; - //========================================================================================== 18 + if (h2CeffHEpositivedirectionReconoiseD4) + delete h2CeffHEpositivedirectionReconoiseD4; + //========================================================================================== 18 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD5=1; - TH1F* h2CeffHEpositivedirectionReconoiseD5 = new TH1F("h2CeffHEpositivedirectionReconoiseD5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEpositivedirectionReconoiseD5 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD5 == 1) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 2) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 3) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 4) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 5) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 6) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 7) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 8) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 == 9) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 ==10) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); - if(kcountHEpositivedirectionReconoiseD5 ==11) HEpositivedirectionReconoiseD5 ->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); - HEpositivedirectionReconoiseD5->Draw("Error"); - kcountHEpositivedirectionReconoiseD5++; - if(kcountHEpositivedirectionReconoiseD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionReconoiseD5 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD5 = new TH1F("h2CeffHEpositivedirectionReconoiseD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD5->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEpositivedirectionReconoiseD5 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD5 == 1) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 17; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 2) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 18; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 3) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 19; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 4) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 20; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 5) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 21; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 6) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 22; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 7) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 23; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 8) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 24; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 9) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 25; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 10) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 26; depth = 5 \b"); + if (kcountHEpositivedirectionReconoiseD5 == 11) + HEpositivedirectionReconoiseD5->SetXTitle("D for HE+ jeta = 27; depth = 5 \b"); + HEpositivedirectionReconoiseD5->Draw("Error"); + kcountHEpositivedirectionReconoiseD5++; + if (kcountHEpositivedirectionReconoiseD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD5) delete h2CeffHEpositivedirectionReconoiseD5; - //========================================================================================== 19 + if (h2CeffHEpositivedirectionReconoiseD5) + delete h2CeffHEpositivedirectionReconoiseD5; + //========================================================================================== 19 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD6=1; - TH1F* h2CeffHEpositivedirectionReconoiseD6 = new TH1F("h2CeffHEpositivedirectionReconoiseD6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEpositivedirectionReconoiseD6 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD6 == 1) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 2) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 3) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 4) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 5) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 6) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 7) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 8) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 == 9) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); - if(kcountHEpositivedirectionReconoiseD6 ==10) HEpositivedirectionReconoiseD6 ->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); - HEpositivedirectionReconoiseD6->Draw("Error"); - kcountHEpositivedirectionReconoiseD6++; - if(kcountHEpositivedirectionReconoiseD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionReconoiseD6 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD6 = new TH1F("h2CeffHEpositivedirectionReconoiseD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD6->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEpositivedirectionReconoiseD6 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD6 == 1) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 18; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 2) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 19; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 3) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 20; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 4) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 21; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 5) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 22; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 6) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 23; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 7) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 24; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 8) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 25; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 9) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 26; depth = 6 \b"); + if (kcountHEpositivedirectionReconoiseD6 == 10) + HEpositivedirectionReconoiseD6->SetXTitle("D for HE+ jeta = 27; depth = 6 \b"); + HEpositivedirectionReconoiseD6->Draw("Error"); + kcountHEpositivedirectionReconoiseD6++; + if (kcountHEpositivedirectionReconoiseD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD6) delete h2CeffHEpositivedirectionReconoiseD6; - //========================================================================================== 20 + if (h2CeffHEpositivedirectionReconoiseD6) + delete h2CeffHEpositivedirectionReconoiseD6; + //========================================================================================== 20 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEpositivedirectionReconoiseD7=1; - TH1F* h2CeffHEpositivedirectionReconoiseD7 = new TH1F("h2CeffHEpositivedirectionReconoiseD7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 15 && jeta-41 <= 28) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEpositivedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEpositivedirectionReconoiseD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEpositivedirectionReconoiseD7 = "<SetMarkerColor(2);HEpositivedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEpositivedirectionReconoiseD7 == 1) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseD7 == 2) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); - if(kcountHEpositivedirectionReconoiseD7 == 3) HEpositivedirectionReconoiseD7 ->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); - HEpositivedirectionReconoiseD7->Draw("Error"); - kcountHEpositivedirectionReconoiseD7++; - if(kcountHEpositivedirectionReconoiseD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 0) - }//for jeta + int kcountHEpositivedirectionReconoiseD7 = 1; + TH1F* h2CeffHEpositivedirectionReconoiseD7 = new TH1F("h2CeffHEpositivedirectionReconoiseD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 15 && jeta - 41 <= 28) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEpositivedirectionReconoiseD7->Fill(jphi, ccc1); + ccctest = 1.; //HEpositivedirectionReconoiseD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEpositivedirectionReconoiseD7 = "<SetMarkerColor(2); + HEpositivedirectionReconoiseD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEpositivedirectionReconoiseD7 == 1) + HEpositivedirectionReconoiseD7->SetXTitle("D for HE+ jeta = 25; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseD7 == 2) + HEpositivedirectionReconoiseD7->SetXTitle("D for HE+ jeta = 26; depth = 7 \b"); + if (kcountHEpositivedirectionReconoiseD7 == 3) + HEpositivedirectionReconoiseD7->SetXTitle("D for HE+ jeta = 27; depth = 7 \b"); + HEpositivedirectionReconoiseD7->Draw("Error"); + kcountHEpositivedirectionReconoiseD7++; + if (kcountHEpositivedirectionReconoiseD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEpositivedirectionReconoiseD7) delete h2CeffHEpositivedirectionReconoiseD7; - + if (h2CeffHEpositivedirectionReconoiseD7) + delete h2CeffHEpositivedirectionReconoiseD7; - //========================================================================================== 22222214 + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD1=1; - TH1F* h2CeffHEnegativedirectionReconoiseD1 = new TH1F("h2CeffHEnegativedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHEnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD1 == 1) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 2) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 3) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 4) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 5) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 6) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 7) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 8) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 == 9) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 ==10) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 ==11) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); - if(kcountHEnegativedirectionReconoiseD1 ==12) HEnegativedirectionReconoiseD1 ->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); - HEnegativedirectionReconoiseD1->Draw("Error"); - kcountHEnegativedirectionReconoiseD1++; - if(kcountHEnegativedirectionReconoiseD1>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionReconoiseD1 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD1 = new TH1F("h2CeffHEnegativedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHEnegativedirectionReconoiseD1 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD1 == 1) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-29; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 2) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-28; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 3) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-27; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 4) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-26; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 5) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-25; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 6) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-24; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 7) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-23; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 8) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-22; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 9) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-21; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 10) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-20; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 11) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-19; depth = 1 \b"); + if (kcountHEnegativedirectionReconoiseD1 == 12) + HEnegativedirectionReconoiseD1->SetXTitle("D for HE- jeta =-18; depth = 1 \b"); + HEnegativedirectionReconoiseD1->Draw("Error"); + kcountHEnegativedirectionReconoiseD1++; + if (kcountHEnegativedirectionReconoiseD1 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD1) delete h2CeffHEnegativedirectionReconoiseD1; - //========================================================================================== 22222215 + if (h2CeffHEnegativedirectionReconoiseD1) + delete h2CeffHEnegativedirectionReconoiseD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD2=1; - TH1F* h2CeffHEnegativedirectionReconoiseD2 = new TH1F("h2CeffHEnegativedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHEnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD2 == 1) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 2) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 3) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 4) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 5) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 6) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 7) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 8) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 == 9) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==10) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==11) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==12) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); - if(kcountHEnegativedirectionReconoiseD2 ==13) HEnegativedirectionReconoiseD2 ->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); - HEnegativedirectionReconoiseD2->Draw("Error"); - kcountHEnegativedirectionReconoiseD2++; - if(kcountHEnegativedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionReconoiseD2 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD2 = new TH1F("h2CeffHEnegativedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHEnegativedirectionReconoiseD2 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD2 == 1) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-29; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 2) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-28; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 3) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-27; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 4) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-26; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 5) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-25; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 6) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-24; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 7) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-23; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 8) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-22; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 9) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-21; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 10) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-20; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 11) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-19; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 12) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-18; depth = 2 \b"); + if (kcountHEnegativedirectionReconoiseD2 == 13) + HEnegativedirectionReconoiseD2->SetXTitle("D for HE- jeta =-17; depth = 2 \b"); + HEnegativedirectionReconoiseD2->Draw("Error"); + kcountHEnegativedirectionReconoiseD2++; + if (kcountHEnegativedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD2) delete h2CeffHEnegativedirectionReconoiseD2; - //========================================================================================== 22222216 + if (h2CeffHEnegativedirectionReconoiseD2) + delete h2CeffHEnegativedirectionReconoiseD2; + //========================================================================================== 22222216 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=3 //cout<<" 1D plot: D vs phi , different eta, depth=3 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD3=1; - TH1F* h2CeffHEnegativedirectionReconoiseD3 = new TH1F("h2CeffHEnegativedirectionReconoiseD3","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD3 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD3->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1616 kcountHEnegativedirectionReconoiseD3 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD3 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD3 == 1) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 2) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 3) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 4) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 5) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 6) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 7) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 8) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 == 9) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==10) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==11) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==12) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); - if(kcountHEnegativedirectionReconoiseD3 ==13) HEnegativedirectionReconoiseD3 ->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); - HEnegativedirectionReconoiseD3->Draw("Error"); - kcountHEnegativedirectionReconoiseD3++; - if(kcountHEnegativedirectionReconoiseD3>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionReconoiseD3 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD3 = new TH1F("h2CeffHEnegativedirectionReconoiseD3", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD3->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD3->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1616 kcountHEnegativedirectionReconoiseD3 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD3->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD3 == 1) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-29; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 2) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-28; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 3) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-27; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 4) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-26; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 5) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-25; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 6) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-24; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 7) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-23; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 8) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-22; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 9) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-21; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 10) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-20; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 11) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-19; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 12) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-18; depth = 3 \b"); + if (kcountHEnegativedirectionReconoiseD3 == 13) + HEnegativedirectionReconoiseD3->SetXTitle("D for HE- jeta =-17; depth = 3 \b"); + HEnegativedirectionReconoiseD3->Draw("Error"); + kcountHEnegativedirectionReconoiseD3++; + if (kcountHEnegativedirectionReconoiseD3 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD3) delete h2CeffHEnegativedirectionReconoiseD3; - //========================================================================================== 22222217 + if (h2CeffHEnegativedirectionReconoiseD3) + delete h2CeffHEnegativedirectionReconoiseD3; + //========================================================================================== 22222217 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=4 //cout<<" 1D plot: D vs phi , different eta, depth=4 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD4=1; - TH1F* h2CeffHEnegativedirectionReconoiseD4 = new TH1F("h2CeffHEnegativedirectionReconoiseD4","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD4 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD4->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1717 kcountHEnegativedirectionReconoiseD4 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD4 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD4 == 1) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 2) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 3) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 4) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 5) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 6) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 7) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 8) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 == 9) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 ==10) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 ==11) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); - if(kcountHEnegativedirectionReconoiseD4 ==12) HEnegativedirectionReconoiseD4 ->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); - HEnegativedirectionReconoiseD4->Draw("Error"); - kcountHEnegativedirectionReconoiseD4++; - if(kcountHEnegativedirectionReconoiseD4>12) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionReconoiseD4 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD4 = new TH1F("h2CeffHEnegativedirectionReconoiseD4", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD4->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD4->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1717 kcountHEnegativedirectionReconoiseD4 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD4->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD4 == 1) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-28; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 2) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-27; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 3) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-26; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 4) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-25; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 5) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-24; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 6) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-23; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 7) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-22; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 8) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-21; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 9) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-20; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 10) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-19; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 11) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-18; depth = 4 \b"); + if (kcountHEnegativedirectionReconoiseD4 == 12) + HEnegativedirectionReconoiseD4->SetXTitle("D for HE- jeta =-16; depth = 4 \b"); + HEnegativedirectionReconoiseD4->Draw("Error"); + kcountHEnegativedirectionReconoiseD4++; + if (kcountHEnegativedirectionReconoiseD4 > 12) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD4) delete h2CeffHEnegativedirectionReconoiseD4; - //========================================================================================== 22222218 + if (h2CeffHEnegativedirectionReconoiseD4) + delete h2CeffHEnegativedirectionReconoiseD4; + //========================================================================================== 22222218 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=5 //cout<<" 1D plot: D vs phi , different eta, depth=5 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD5=1; - TH1F* h2CeffHEnegativedirectionReconoiseD5 = new TH1F("h2CeffHEnegativedirectionReconoiseD5","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD5 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD5->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1818 kcountHEnegativedirectionReconoiseD5 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD5 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD5 == 1) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 2) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 3) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 4) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 5) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 6) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 7) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 8) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 == 9) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 ==10) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); - if(kcountHEnegativedirectionReconoiseD5 ==11) HEnegativedirectionReconoiseD5 ->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); - HEnegativedirectionReconoiseD5->Draw("Error"); - kcountHEnegativedirectionReconoiseD5++; - if(kcountHEnegativedirectionReconoiseD5>11) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionReconoiseD5 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD5 = new TH1F("h2CeffHEnegativedirectionReconoiseD5", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD5->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD5->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1818 kcountHEnegativedirectionReconoiseD5 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD5->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD5 == 1) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-28; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 2) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-27; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 3) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-26; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 4) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-25; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 5) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-24; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 6) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-23; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 7) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-22; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 8) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-21; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 9) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-20; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 10) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-19; depth = 5 \b"); + if (kcountHEnegativedirectionReconoiseD5 == 11) + HEnegativedirectionReconoiseD5->SetXTitle("D for HE- jeta =-18; depth = 5 \b"); + HEnegativedirectionReconoiseD5->Draw("Error"); + kcountHEnegativedirectionReconoiseD5++; + if (kcountHEnegativedirectionReconoiseD5 > 11) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD5) delete h2CeffHEnegativedirectionReconoiseD5; - //========================================================================================== 22222219 + if (h2CeffHEnegativedirectionReconoiseD5) + delete h2CeffHEnegativedirectionReconoiseD5; + //========================================================================================== 22222219 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=6 //cout<<" 1D plot: D vs phi , different eta, depth=6 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD6=1; - TH1F* h2CeffHEnegativedirectionReconoiseD6 = new TH1F("h2CeffHEnegativedirectionReconoiseD6","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD6 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD6->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1919 kcountHEnegativedirectionReconoiseD6 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD6 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD6 == 1) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 2) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 3) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 4) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 5) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 6) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 7) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 8) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 == 9) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); - if(kcountHEnegativedirectionReconoiseD6 ==10) HEnegativedirectionReconoiseD6 ->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); - HEnegativedirectionReconoiseD6->Draw("Error"); - kcountHEnegativedirectionReconoiseD6++; - if(kcountHEnegativedirectionReconoiseD6>10) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionReconoiseD6 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD6 = new TH1F("h2CeffHEnegativedirectionReconoiseD6", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD6->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD6->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1919 kcountHEnegativedirectionReconoiseD6 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD6->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD6 == 1) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-28; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 2) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-27; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 3) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-26; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 4) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-25; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 5) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-24; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 6) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-23; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 7) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-22; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 8) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-21; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 9) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-20; depth = 6 \b"); + if (kcountHEnegativedirectionReconoiseD6 == 10) + HEnegativedirectionReconoiseD6->SetXTitle("D for HE- jeta =-19; depth = 6 \b"); + HEnegativedirectionReconoiseD6->Draw("Error"); + kcountHEnegativedirectionReconoiseD6++; + if (kcountHEnegativedirectionReconoiseD6 > 10) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD6) delete h2CeffHEnegativedirectionReconoiseD6; - //========================================================================================== 22222220 + if (h2CeffHEnegativedirectionReconoiseD6) + delete h2CeffHEnegativedirectionReconoiseD6; + //========================================================================================== 22222220 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=7 //cout<<" 1D plot: D vs phi , different eta, depth=7 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHEnegativedirectionReconoiseD7=1; - TH1F* h2CeffHEnegativedirectionReconoiseD7 = new TH1F("h2CeffHEnegativedirectionReconoiseD7","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -29 && jeta-41 <= -16) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HEnegativedirectionReconoiseD7 ->Fill(jphi,ccc1);ccctest = 1.;//HEnegativedirectionReconoiseD7->SetBinError(i,0.01); - } - }// for jphi - if(ccctest !=0.) { - //cout<<"2020 kcountHEnegativedirectionReconoiseD7 = "<SetMarkerColor(2);HEnegativedirectionReconoiseD7 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHEnegativedirectionReconoiseD7 == 1) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseD7 == 2) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); - if(kcountHEnegativedirectionReconoiseD7 == 3) HEnegativedirectionReconoiseD7 ->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); - HEnegativedirectionReconoiseD7->Draw("Error"); - kcountHEnegativedirectionReconoiseD7++; - if(kcountHEnegativedirectionReconoiseD7>3) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 < 0) - }//for jeta + int kcountHEnegativedirectionReconoiseD7 = 1; + TH1F* h2CeffHEnegativedirectionReconoiseD7 = new TH1F("h2CeffHEnegativedirectionReconoiseD7", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -29 && jeta - 41 <= -16) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevariancehe[i][jeta][jphi]; + if (areconoisehe[i][jeta][jphi] > 0.) { + HEnegativedirectionReconoiseD7->Fill(jphi, ccc1); + ccctest = 1.; //HEnegativedirectionReconoiseD7->SetBinError(i,0.01); + } + } // for jphi + if (ccctest != 0.) { + //cout<<"2020 kcountHEnegativedirectionReconoiseD7 = "<SetMarkerColor(2); + HEnegativedirectionReconoiseD7->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHEnegativedirectionReconoiseD7 == 1) + HEnegativedirectionReconoiseD7->SetXTitle("D for HE- jeta =-28; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseD7 == 2) + HEnegativedirectionReconoiseD7->SetXTitle("D for HE- jeta =-27; depth = 7 \b"); + if (kcountHEnegativedirectionReconoiseD7 == 3) + HEnegativedirectionReconoiseD7->SetXTitle("D for HE- jeta =-26; depth = 7 \b"); + HEnegativedirectionReconoiseD7->Draw("Error"); + kcountHEnegativedirectionReconoiseD7++; + if (kcountHEnegativedirectionReconoiseD7 > 3) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 < 0) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png"); c3x5->Clear(); // clean-up - if (h2CeffHEnegativedirectionReconoiseD7) delete h2CeffHEnegativedirectionReconoiseD7; + if (h2CeffHEnegativedirectionReconoiseD7) + delete h2CeffHEnegativedirectionReconoiseD7; //===================================================================== END of Reconoise HE for phi-symmetry //===================================================================== END of Reconoise HE for phi-symmetry //===================================================================== END of Reconoise HE for phi-symmetry //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: Reconoise HF - // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet - //ndepth = k_max[5]; - ndepth = 2; - double areconoiseHF[ndepth][njeta][njphi]; - double breconoiseHF[ndepth][njeta][njphi]; - double reconoisevarianceHF[ndepth][njeta][njphi]; - - - TH2F *recNoiseEnergy1HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF1"); - TH2F *recNoiseEnergy0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + // int k_max[5]={0,4,7,4,4}; // maximum depth for each subdet + //ndepth = k_max[5]; + ndepth = 2; + double areconoiseHF[ndepth][njeta][njphi]; + double breconoiseHF[ndepth][njeta][njphi]; + double reconoisevarianceHF[ndepth][njeta][njphi]; + + TH2F* recNoiseEnergy1HF1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF1"); + TH2F* recNoiseEnergy0HF1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); TH2F* recNoiseEnergyHF1 = (TH2F*)recNoiseEnergy1HF1->Clone("recNoiseEnergyHF1"); - recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1,recNoiseEnergy0HF1, 1, 1, "B"); - TH2F *recNoiseEnergy1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF2"); - TH2F *recNoiseEnergy0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1, recNoiseEnergy0HF1, 1, 1, "B"); + TH2F* recNoiseEnergy1HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy1_HF2"); + TH2F* recNoiseEnergy0HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); TH2F* recNoiseEnergyHF2 = (TH2F*)recNoiseEnergy1HF2->Clone("recNoiseEnergyHF2"); - recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2,recNoiseEnergy0HF2, 1, 1, "B"); - //====================================================================== PHI normalization & put R into massive areconoiseHF - for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2, recNoiseEnergy0HF2, 1, 1, "B"); + //====================================================================== PHI normalization & put R into massive areconoiseHF + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { //preparation for PHI normalization: - double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - areconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); - breconoiseHF[0][jeta][jphi] = recNoiseEnergyHF1->GetBinContent(jeta+1,jphi+1); - breconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta+1,jphi+1); - sumreconoiseHF0 += areconoiseHF[0][jeta][jphi];++nsumreconoiseHF0; - sumreconoiseHF1 += areconoiseHF[1][jeta][jphi];++nsumreconoiseHF1; - }// phi - - // PHI normalization for DIF: - for(int jphi=0;jphiGetBinContent(jeta + 1, jphi + 1); + areconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta + 1, jphi + 1); + breconoiseHF[0][jeta][jphi] = recNoiseEnergyHF1->GetBinContent(jeta + 1, jphi + 1); + breconoiseHF[1][jeta][jphi] = recNoiseEnergyHF2->GetBinContent(jeta + 1, jphi + 1); + sumreconoiseHF0 += areconoiseHF[0][jeta][jphi]; + ++nsumreconoiseHF0; + sumreconoiseHF1 += areconoiseHF[1][jeta][jphi]; + ++nsumreconoiseHF1; + } // phi + + // PHI normalization for DIF: + for (int jphi = 0; jphi < njphi; jphi++) { + if (sumreconoiseHF0 != 0.) + breconoiseHF[0][jeta][jphi] -= (sumreconoiseHF0 / nsumreconoiseHF0); + if (sumreconoiseHF1 != 0.) + breconoiseHF[1][jeta][jphi] -= (sumreconoiseHF1 / nsumreconoiseHF1); + } // phi // PHI normalization for R: - for(int jphi=0;jphiClear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzRreconoiseHF42D = new TH2F("GefzRreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzRreconoiseHF42D0 = new TH2F("GefzRreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzRreconoiseHF42D = new TH2F("GefzRreconoiseHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzRreconoiseHF42D0 = new TH2F("GefzRreconoiseHF42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzRreconoiseHF42DF = (TH2F*)GefzRreconoiseHF42D0->Clone("GefzRreconoiseHF42DF"); - for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzRreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzRreconoiseHF42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzRreconoiseHF42DF->Divide(GefzRreconoiseHF42D,GefzRreconoiseHF42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzRreconoiseHF42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzRreconoiseHF42D->Fill(kkk, jphi, ccc1); + GefzRreconoiseHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzRreconoiseHF42DF->Divide(GefzRreconoiseHF42D, GefzRreconoiseHF42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF42DF->SetXTitle("_depth #eta \b"); + GefzRreconoiseHF42DF->SetYTitle(" #phi \b"); GefzRreconoiseHF42DF->Draw("COLZ"); - - c2x1->cd(2); - TH1F *energyhitNoise_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoise_HF"); - energyhitNoise_HF ->SetMarkerStyle(20);energyhitNoise_HF ->SetMarkerSize(0.4);energyhitNoise_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoise_HF ->SetXTitle("energyhitNoise_HF \b");energyhitNoise_HF ->SetMarkerColor(2);energyhitNoise_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoise_HF ->Draw("Error"); - - + TH1F* energyhitNoise_HF = (TH1F*)dir->FindObjectAny("h_energyhitNoise_HF"); + energyhitNoise_HF->SetMarkerStyle(20); + energyhitNoise_HF->SetMarkerSize(0.4); + energyhitNoise_HF->GetYaxis()->SetLabelSize(0.04); + energyhitNoise_HF->SetXTitle("energyhitNoise_HF \b"); + energyhitNoise_HF->SetMarkerColor(2); + energyhitNoise_HF->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + energyhitNoise_HF->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("RreconoiseGeneralD2PhiSymmetryHF.png"); c2x1->Clear(); // clean-up - if (GefzRreconoiseHF42D) delete GefzRreconoiseHF42D; - if (GefzRreconoiseHF42D0) delete GefzRreconoiseHF42D0; - if (GefzRreconoiseHF42DF) delete GefzRreconoiseHF42DF; + if (GefzRreconoiseHF42D) + delete GefzRreconoiseHF42D; + if (GefzRreconoiseHF42D0) + delete GefzRreconoiseHF42D0; + if (GefzRreconoiseHF42DF) + delete GefzRreconoiseHF42DF; //====================================================================== 1D plot: R vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: R vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzRreconoiseHF41D = new TH1F("GefzRreconoiseHF41D","", nphi, 0., 72. ); - TH1F* GefzRreconoiseHF41D0 = new TH1F("GefzRreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzRreconoiseHF41D = new TH1F("GefzRreconoiseHF41D", "", nphi, 0., 72.); + TH1F* GefzRreconoiseHF41D0 = new TH1F("GefzRreconoiseHF41D0", "", nphi, 0., 72.); TH1F* GefzRreconoiseHF41DF = (TH1F*)GefzRreconoiseHF41D0->Clone("GefzRreconoiseHF41DF"); - for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int i=0;iFill(jphi,ccc1); GefzRreconoiseHF41D0 ->Fill(jphi,1.); } - }}}} - GefzRreconoiseHF41DF->Divide(GefzRreconoiseHF41D,GefzRreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzRreconoiseHF41D->Fill(jphi, ccc1); + GefzRreconoiseHF41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzRreconoiseHF41DF->Divide(GefzRreconoiseHF41D, GefzRreconoiseHF41D0, 1, 1, "B"); // R averaged over depthfs & eta GefzRreconoiseHF41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzRreconoiseHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzRreconoiseHF41DF->SetMarkerStyle(20); GefzRreconoiseHF41DF->SetMarkerSize(1.4); GefzRreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzRreconoiseHF41DF->SetXTitle("#phi \b"); GefzRreconoiseHF41DF->SetYTitle(" \b"); GefzRreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzRreconoiseHF41DF->SetMarkerColor(4); GefzRreconoiseHF41DF->SetLineColor(4);// GefzRreconoiseHF41DF->SetMinimum(0.8); // GefzRreconoiseHF41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzRreconoiseHF41DF->SetMarkerStyle(20); + GefzRreconoiseHF41DF->SetMarkerSize(1.4); + GefzRreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); + GefzRreconoiseHF41DF->SetXTitle("#phi \b"); + GefzRreconoiseHF41DF->SetYTitle(" \b"); + GefzRreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzRreconoiseHF41DF->SetMarkerColor(4); + GefzRreconoiseHF41DF->SetLineColor( + 4); // GefzRreconoiseHF41DF->SetMinimum(0.8); // GefzRreconoiseHF41DF->SetMaximum(1.000); GefzRreconoiseHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("RreconoiseGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (GefzRreconoiseHF41D) delete GefzRreconoiseHF41D; - if (GefzRreconoiseHF41D0) delete GefzRreconoiseHF41D0; - if (GefzRreconoiseHF41DF) delete GefzRreconoiseHF41DF; - //========================================================================================== 4 + if (GefzRreconoiseHF41D) + delete GefzRreconoiseHF41D; + if (GefzRreconoiseHF41D0) + delete GefzRreconoiseHF41D0; + if (GefzRreconoiseHF41DF) + delete GefzRreconoiseHF41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionReconoise1=1; - TH1F* h2CeffHFpositivedirectionReconoise1 = new TH1F("h2CeffHFpositivedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + if (jeta - 41 >= 28 && jeta - 41 <= 40) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFpositivedirectionReconoise1 = "<SetMarkerColor(2);HFpositivedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoise1 == 1) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 2) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 3) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 4) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 5) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 6) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 7) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 8) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 == 9) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==10) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==11) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==12) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionReconoise1 ==13) HFpositivedirectionReconoise1 ->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionReconoise1->Draw("Error"); - kcountHFpositivedirectionReconoise1++; - if(kcountHFpositivedirectionReconoise1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFpositivedirectionReconoise1 = (TH1F*)h2CeffHFpositivedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFpositivedirectionReconoise1 = "<SetMarkerColor(2); + HFpositivedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoise1 == 1) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 2) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 3) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 4) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 5) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 6) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 7) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 8) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 9) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 10) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 11) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 12) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionReconoise1 == 13) + HFpositivedirectionReconoise1->SetXTitle("R for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoise1->Draw("Error"); + kcountHFpositivedirectionReconoise1++; + if (kcountHFpositivedirectionReconoise1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoise1) delete h2CeffHFpositivedirectionReconoise1; - + if (h2CeffHFpositivedirectionReconoise1) + delete h2CeffHFpositivedirectionReconoise1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionReconoise2=1; - TH1F* h2CeffHFpositivedirectionReconoise2 = new TH1F("h2CeffHFpositivedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFpositivedirectionReconoise2 = "<SetMarkerColor(2);HFpositivedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoise2 == 1) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 2) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 3) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 4) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 5) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 6) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 7) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 8) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 == 9) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==10) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==11) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==12) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionReconoise2 ==13) HFpositivedirectionReconoise2 ->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionReconoise2->Draw("Error"); - kcountHFpositivedirectionReconoise2++; - if(kcountHFpositivedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + int kcountHFpositivedirectionReconoise2 = 1; + TH1F* h2CeffHFpositivedirectionReconoise2 = new TH1F("h2CeffHFpositivedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoise: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFpositivedirectionReconoise2 = "<SetMarkerColor(2); + HFpositivedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoise2 == 1) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 2) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 3) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 4) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 5) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 6) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 7) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 8) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 9) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 10) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 11) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 12) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionReconoise2 == 13) + HFpositivedirectionReconoise2->SetXTitle("R for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoise2->Draw("Error"); + kcountHFpositivedirectionReconoise2++; + if (kcountHFpositivedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoise2) delete h2CeffHFpositivedirectionReconoise2; + if (h2CeffHFpositivedirectionReconoise2) + delete h2CeffHFpositivedirectionReconoise2; - //========================================================================================== 1111114 + //========================================================================================== 1111114 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=1 //cout<<" 1D plot: R vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionReconoise1=1; - TH1F* h2CeffHFnegativedirectionReconoise1 = new TH1F("h2CeffHFnegativedirectionReconoise1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + if (jeta - 41 >= -41 && jeta - 41 <= -29) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFnegativedirectionReconoise1 = "<SetMarkerColor(2);HFnegativedirectionReconoise1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoise1 == 1) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 2) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 3) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 4) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 5) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 6) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 7) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 8) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 == 9) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==10) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==11) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==12) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionReconoise1 ==13) HFnegativedirectionReconoise1 ->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionReconoise1->Draw("Error"); - kcountHFnegativedirectionReconoise1++; - if(kcountHFnegativedirectionReconoise1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFnegativedirectionReconoise1 = (TH1F*)h2CeffHFnegativedirectionReconoise1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoise1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoise1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFnegativedirectionReconoise1 = "<SetMarkerColor(2); + HFnegativedirectionReconoise1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoise1 == 1) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 2) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 3) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 4) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 5) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 6) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 7) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 8) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 9) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 10) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 11) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 12) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionReconoise1 == 13) + HFnegativedirectionReconoise1->SetXTitle("R for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoise1->Draw("Error"); + kcountHFnegativedirectionReconoise1++; + if (kcountHFnegativedirectionReconoise1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoise1) delete h2CeffHFnegativedirectionReconoise1; - + if (h2CeffHFnegativedirectionReconoise1) + delete h2CeffHFnegativedirectionReconoise1; - //========================================================================================== 1111115 + //========================================================================================== 1111115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionReconoise2=1; - TH1F* h2CeffHFnegativedirectionReconoise2 = new TH1F("h2CeffHFnegativedirectionReconoise2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoise2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFnegativedirectionReconoise2 = "<SetMarkerColor(2);HFnegativedirectionReconoise2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoise2 == 1) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 2) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 3) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 4) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 5) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 6) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 7) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 8) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 == 9) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==10) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==11) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==12) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionReconoise2 ==13) HFnegativedirectionReconoise2 ->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); - HFnegativedirectionReconoise2->Draw("Error"); - kcountHFnegativedirectionReconoise2++; - if(kcountHFnegativedirectionReconoise2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + int kcountHFnegativedirectionReconoise2 = 1; + TH1F* h2CeffHFnegativedirectionReconoise2 = new TH1F("h2CeffHFnegativedirectionReconoise2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoise: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = areconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoise2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoise2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFnegativedirectionReconoise2 = "<SetMarkerColor(2); + HFnegativedirectionReconoise2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoise2 == 1) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 2) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 3) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 4) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 5) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 6) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 7) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 8) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 9) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 10) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 11) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 12) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionReconoise2 == 13) + HFnegativedirectionReconoise2->SetXTitle("R for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoise2->Draw("Error"); + kcountHFnegativedirectionReconoise2++; + if (kcountHFnegativedirectionReconoise2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoise2) delete h2CeffHFnegativedirectionReconoise2; + if (h2CeffHFnegativedirectionReconoise2) + delete h2CeffHFnegativedirectionReconoise2; //====================================================================================================================== // DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF: Reconoise HF //------------------------ 2D-eta/phi-plot: DIF, averaged over depthfs //====================================================================== //====================================================================== -// cout<<" DIF2D-eta/phi-plot: DIF, averaged over depthfs *****" <Clear(); ///////////////// - c2x1->Divide(2,1); + c2x1->Divide(2, 1); c2x1->cd(1); - TH2F* GefzDIFreconoiseHF42D = new TH2F("GefzDIFreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* GefzDIFreconoiseHF42D0 = new TH2F("GefzDIFreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); + TH2F* GefzDIFreconoiseHF42D = new TH2F("GefzDIFreconoiseHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* GefzDIFreconoiseHF42D0 = new TH2F("GefzDIFreconoiseHF42D0", "", neta, -41., 41., nphi, 0., 72.); TH2F* GefzDIFreconoiseHF42DF = (TH2F*)GefzDIFreconoiseHF42D0->Clone("GefzDIFreconoiseHF42DF"); - for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int jphi=0;jphi0 ) kkk=k2plot+1; //-41 +41 !=0 - if(ccc1!=0.) {GefzDIFreconoiseHF42D ->Fill(kkk,jphi,ccc1); GefzDIFreconoiseHF42D0 ->Fill(kkk,jphi,1.); } - }}}} - GefzDIFreconoiseHF42DF->Divide(GefzDIFreconoiseHF42D,GefzDIFreconoiseHF42D0, 1, 1, "B");// average A - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHF42DF->SetXTitle("_depth #eta \b"); GefzDIFreconoiseHF42DF->SetYTitle(" #phi \b"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 ) kkk=k2plot+1; //-41 +41 !=0 + if (ccc1 != 0.) { + GefzDIFreconoiseHF42D->Fill(kkk, jphi, ccc1); + GefzDIFreconoiseHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHF42DF->Divide(GefzDIFreconoiseHF42D, GefzDIFreconoiseHF42D0, 1, 1, "B"); // average A + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF42DF->SetXTitle("_depth #eta \b"); + GefzDIFreconoiseHF42DF->SetYTitle(" #phi \b"); GefzDIFreconoiseHF42DF->Draw("COLZ"); - - c2x1->cd(2); // TH1F *energyhitNoiseCut_HF= (TH1F*)dir->FindObjectAny("h_energyhitNoiseCut_HF"); - // energyhitNoiseCut_HF ->SetMarkerStyle(20);energyhitNoiseCut_HF ->SetMarkerSize(0.4);energyhitNoiseCut_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoiseCut_HF ->SetXTitle("energyhitNoiseCut_HF \b");energyhitNoiseCut_HF ->SetMarkerColor(2);energyhitNoiseCut_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoiseCut_HF ->Draw("Error"); - - + // energyhitNoiseCut_HF ->SetMarkerStyle(20);energyhitNoiseCut_HF ->SetMarkerSize(0.4);energyhitNoiseCut_HF ->GetYaxis()->SetLabelSize(0.04);energyhitNoiseCut_HF ->SetXTitle("energyhitNoiseCut_HF \b");energyhitNoiseCut_HF ->SetMarkerColor(2);energyhitNoiseCut_HF ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx();energyhitNoiseCut_HF ->Draw("Error"); ///////////////// c2x1->Update(); c2x1->Print("DIFreconoiseGeneralD2PhiSymmetryHF.png"); c2x1->Clear(); // clean-up - if (GefzDIFreconoiseHF42D) delete GefzDIFreconoiseHF42D; - if (GefzDIFreconoiseHF42D0) delete GefzDIFreconoiseHF42D0; - if (GefzDIFreconoiseHF42DF) delete GefzDIFreconoiseHF42DF; + if (GefzDIFreconoiseHF42D) + delete GefzDIFreconoiseHF42D; + if (GefzDIFreconoiseHF42D0) + delete GefzDIFreconoiseHF42D0; + if (GefzDIFreconoiseHF42DF) + delete GefzDIFreconoiseHF42DF; //====================================================================== 1D plot: DIF vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: DIF vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* GefzDIFreconoiseHF41D = new TH1F("GefzDIFreconoiseHF41D","", nphi, 0., 72. ); - TH1F* GefzDIFreconoiseHF41D0 = new TH1F("GefzDIFreconoiseHF41D0","",nphi, 0., 72. ); + TH1F* GefzDIFreconoiseHF41D = new TH1F("GefzDIFreconoiseHF41D", "", nphi, 0., 72.); + TH1F* GefzDIFreconoiseHF41D0 = new TH1F("GefzDIFreconoiseHF41D0", "", nphi, 0., 72.); TH1F* GefzDIFreconoiseHF41DF = (TH1F*)GefzDIFreconoiseHF41D0->Clone("GefzDIFreconoiseHF41DF"); - for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int i=0;iFill(jphi,ccc1); GefzDIFreconoiseHF41D0 ->Fill(jphi,1.); } - }}}} - GefzDIFreconoiseHF41DF->Divide(GefzDIFreconoiseHF41D,GefzDIFreconoiseHF41D0, 1, 1, "B");// DIF averaged over depthfs & eta + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + GefzDIFreconoiseHF41D->Fill(jphi, ccc1); + GefzDIFreconoiseHF41D0->Fill(jphi, 1.); + } + } + } + } + } + GefzDIFreconoiseHF41DF->Divide( + GefzDIFreconoiseHF41D, GefzDIFreconoiseHF41D0, 1, 1, "B"); // DIF averaged over depthfs & eta GefzDIFreconoiseHF41D0->Sumw2(); // for (int jphi=1;jphi<73;jphi++) {GefzDIFreconoiseHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - GefzDIFreconoiseHF41DF->SetMarkerStyle(20); GefzDIFreconoiseHF41DF->SetMarkerSize(1.4); GefzDIFreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); GefzDIFreconoiseHF41DF->SetXTitle("#phi \b"); GefzDIFreconoiseHF41DF->SetYTitle(" \b"); GefzDIFreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); GefzDIFreconoiseHF41DF->SetMarkerColor(4); GefzDIFreconoiseHF41DF->SetLineColor(4);// GefzDIFreconoiseHF41DF->SetMinimum(0.8); // GefzDIFreconoiseHF41DF->SetMaximum(1.000); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + GefzDIFreconoiseHF41DF->SetMarkerStyle(20); + GefzDIFreconoiseHF41DF->SetMarkerSize(1.4); + GefzDIFreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); + GefzDIFreconoiseHF41DF->SetXTitle("#phi \b"); + GefzDIFreconoiseHF41DF->SetYTitle(" \b"); + GefzDIFreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + GefzDIFreconoiseHF41DF->SetMarkerColor(4); + GefzDIFreconoiseHF41DF->SetLineColor( + 4); // GefzDIFreconoiseHF41DF->SetMinimum(0.8); // GefzDIFreconoiseHF41DF->SetMaximum(1.000); GefzDIFreconoiseHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DIFreconoiseGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (GefzDIFreconoiseHF41D) delete GefzDIFreconoiseHF41D; - if (GefzDIFreconoiseHF41D0) delete GefzDIFreconoiseHF41D0; - if (GefzDIFreconoiseHF41DF) delete GefzDIFreconoiseHF41DF; - //========================================================================================== 4 + if (GefzDIFreconoiseHF41D) + delete GefzDIFreconoiseHF41D; + if (GefzDIFreconoiseHF41D0) + delete GefzDIFreconoiseHF41D0; + if (GefzDIFreconoiseHF41DF) + delete GefzDIFreconoiseHF41DF; + //========================================================================================== 4 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionReconoiseDIF1=1; - TH1F* h2CeffHFpositivedirectionReconoiseDIF1 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { + if (jeta - 41 >= 28 && jeta - 41 <= 40) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseDIF1 == 1) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 2) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 3) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 4) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 5) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 6) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 7) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 8) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 == 9) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==10) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==11) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==12) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseDIF1 ==13) HFpositivedirectionReconoiseDIF1 ->SetXTitle("DIF for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionReconoiseDIF1->Draw("Error"); - kcountHFpositivedirectionReconoiseDIF1++; - if(kcountHFpositivedirectionReconoiseDIF1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40 - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFpositivedirectionReconoiseDIF1 = (TH1F*)h2CeffHFpositivedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFpositivedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseDIF1 == 1) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 2) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 3) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 4) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 5) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 6) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 7) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 8) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 9) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 10) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 11) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 12) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseDIF1 == 13) + HFpositivedirectionReconoiseDIF1->SetXTitle("DIF for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseDIF1->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF1++; + if (kcountHFpositivedirectionReconoiseDIF1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40 + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseDIF1) delete h2CeffHFpositivedirectionReconoiseDIF1; - + if (h2CeffHFpositivedirectionReconoiseDIF1) + delete h2CeffHFpositivedirectionReconoiseDIF1; - //========================================================================================== 5 + //========================================================================================== 5 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionReconoiseDIF2=1; - TH1F* h2CeffHFpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseDIF2 == 1) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 2) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 3) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 4) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 5) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 6) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 7) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 8) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 == 9) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==10) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==11) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==12) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseDIF2 ==13) HFpositivedirectionReconoiseDIF2 ->SetXTitle("DIF for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionReconoiseDIF2->Draw("Error"); - kcountHFpositivedirectionReconoiseDIF2++; - if(kcountHFpositivedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + int kcountHFpositivedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHFpositivedirectionReconoiseDIF2 = new TH1F("h2CeffHFpositivedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseDIF: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFpositivedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFpositivedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseDIF2 == 1) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 2) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 3) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 4) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 5) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 6) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 7) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 8) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 9) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 10) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 11) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 12) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseDIF2 == 13) + HFpositivedirectionReconoiseDIF2->SetXTitle("DIF for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseDIF2->Draw("Error"); + kcountHFpositivedirectionReconoiseDIF2++; + if (kcountHFpositivedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseDIF2) delete h2CeffHFpositivedirectionReconoiseDIF2; + if (h2CeffHFpositivedirectionReconoiseDIF2) + delete h2CeffHFpositivedirectionReconoiseDIF2; - //========================================================================================== 1111114 + //========================================================================================== 1111114 //====================================================================== //======================================================================1D plot: DIF vs phi , different eta, depth=1 //cout<<" 1D plot: DIF vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionReconoiseDIF1=1; - TH1F* h2CeffHFnegativedirectionReconoiseDIF1 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF1","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { + if (jeta - 41 >= -41 && jeta - 41 <= -29) { // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - // cout<<"444 kcountHFnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseDIF1 == 1) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 2) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 3) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 4) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 5) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 6) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 7) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 8) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 == 9) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==10) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==11) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==12) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseDIF1 ==13) HFnegativedirectionReconoiseDIF1 ->SetXTitle("DIF for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionReconoiseDIF1->Draw("Error"); - kcountHFnegativedirectionReconoiseDIF1++; - if(kcountHFnegativedirectionReconoiseDIF1>13) break;// - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + for (int i = 0; i < 1; i++) { + TH1F* HFnegativedirectionReconoiseDIF1 = (TH1F*)h2CeffHFnegativedirectionReconoiseDIF1->Clone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoiseDIF1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseDIF1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + // cout<<"444 kcountHFnegativedirectionReconoiseDIF1 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseDIF1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseDIF1 == 1) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 2) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 3) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 4) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 5) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 6) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 7) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 8) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 9) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 10) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 11) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 12) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseDIF1 == 13) + HFnegativedirectionReconoiseDIF1->SetXTitle("DIF for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseDIF1->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF1++; + if (kcountHFnegativedirectionReconoiseDIF1 > 13) + break; // + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseDIF1) delete h2CeffHFnegativedirectionReconoiseDIF1; - + if (h2CeffHFnegativedirectionReconoiseDIF1) + delete h2CeffHFnegativedirectionReconoiseDIF1; - //========================================================================================== 1111115 + //========================================================================================== 1111115 //====================================================================== //======================================================================1D plot: R vs phi , different eta, depth=2 // cout<<" 1D plot: R vs phi , different eta, depth=2 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionReconoiseDIF2=1; - TH1F* h2CeffHFnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF2","", nphi, 0., 72. ); - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - // for (int i=0;iClone("twod1"); - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphiFill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseDIF2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"555 kcountHFnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseDIF2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseDIF2 == 1) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 2) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 3) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 4) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 5) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 6) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 7) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 8) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 == 9) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==10) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==11) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==12) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseDIF2 ==13) HFnegativedirectionReconoiseDIF2 ->SetXTitle("DIF for HF- jeta =-20; depth = 2 \b"); - HFnegativedirectionReconoiseDIF2->Draw("Error"); - kcountHFnegativedirectionReconoiseDIF2++; - if(kcountHFnegativedirectionReconoiseDIF2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + int kcountHFnegativedirectionReconoiseDIF2 = 1; + TH1F* h2CeffHFnegativedirectionReconoiseDIF2 = new TH1F("h2CeffHFnegativedirectionReconoiseDIF2", "", nphi, 0., 72.); + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseDIF: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = breconoiseHF[i][jeta][jphi]; + if (ccc1 != 0.) { + HFnegativedirectionReconoiseDIF2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseDIF2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"555 kcountHFnegativedirectionReconoiseDIF2 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseDIF2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseDIF2 == 1) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 2) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 3) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 4) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 5) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 6) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 7) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 8) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 9) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 10) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 11) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 12) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseDIF2 == 13) + HFnegativedirectionReconoiseDIF2->SetXTitle("DIF for HF- jeta =-20; depth = 2 \b"); + HFnegativedirectionReconoiseDIF2->Draw("Error"); + kcountHFnegativedirectionReconoiseDIF2++; + if (kcountHFnegativedirectionReconoiseDIF2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseDIF2) delete h2CeffHFnegativedirectionReconoiseDIF2; + if (h2CeffHFnegativedirectionReconoiseDIF2) + delete h2CeffHFnegativedirectionReconoiseDIF2; //====================================================================================================================== //====================================================================================================================== @@ -15142,349 +21025,477 @@ std::cout<<" We are here to print ADC "<FindObjectAny("h_recNoiseEnergy2_HF1"); - TH2F *reconoiseVariance0HF1= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); + + //cout<<" Start Vaiance: preparation *****" <FindObjectAny("h_recNoiseEnergy2_HF1"); + TH2F* reconoiseVariance0HF1 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF1"); TH2F* reconoiseVarianceHF1 = (TH2F*)reconoiseVariance1HF1->Clone("reconoiseVarianceHF1"); - reconoiseVarianceHF1->Divide(reconoiseVariance1HF1,reconoiseVariance0HF1, 1, 1, "B"); - TH2F *reconoiseVariance1HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HF2"); - TH2F *reconoiseVariance0HF2= (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); + reconoiseVarianceHF1->Divide(reconoiseVariance1HF1, reconoiseVariance0HF1, 1, 1, "B"); + TH2F* reconoiseVariance1HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy2_HF2"); + TH2F* reconoiseVariance0HF2 = (TH2F*)dir->FindObjectAny("h_recNoiseEnergy0_HF2"); TH2F* reconoiseVarianceHF2 = (TH2F*)reconoiseVariance1HF2->Clone("reconoiseVarianceHF2"); - reconoiseVarianceHF2->Divide(reconoiseVariance1HF2,reconoiseVariance0HF2, 1, 1, "B"); - //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHF - // = sum(R*R)/N - (sum(R)/N)**2 - for(int jeta=0;jeta= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { + reconoiseVarianceHF2->Divide(reconoiseVariance1HF2, reconoiseVariance0HF2, 1, 1, "B"); + //cout<<" Vaiance: preparation DONE *****" < - ()**2 into massive reconoisevarianceHF + // = sum(R*R)/N - (sum(R)/N)**2 + for (int jeta = 0; jeta < njeta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { //preparation for PHI normalization: - double sumreconoiseHF0=0;int nsumreconoiseHF0=0;double sumreconoiseHF1=0;int nsumreconoiseHF1=0; - for(int jphi=0;jphiGetBinContent(jeta+1,jphi+1); - reconoisevarianceHF[1][jeta][jphi] = reconoiseVarianceHF2->GetBinContent(jeta+1,jphi+1); - sumreconoiseHF0 += reconoisevarianceHF[0][jeta][jphi];++nsumreconoiseHF0; - sumreconoiseHF1 += reconoisevarianceHF[1][jeta][jphi];++nsumreconoiseHF1; - }// phi + double sumreconoiseHF0 = 0; + int nsumreconoiseHF0 = 0; + double sumreconoiseHF1 = 0; + int nsumreconoiseHF1 = 0; + for (int jphi = 0; jphi < njphi; jphi++) { + reconoisevarianceHF[0][jeta][jphi] = reconoiseVarianceHF1->GetBinContent(jeta + 1, jphi + 1); + reconoisevarianceHF[1][jeta][jphi] = reconoiseVarianceHF2->GetBinContent(jeta + 1, jphi + 1); + sumreconoiseHF0 += reconoisevarianceHF[0][jeta][jphi]; + ++nsumreconoiseHF0; + sumreconoiseHF1 += reconoisevarianceHF[1][jeta][jphi]; + ++nsumreconoiseHF1; + } // phi // PHI normalization : - for(int jphi=0;jphiClear(); - ///////////////// - c1x0->Divide(1,1); - c1x0->cd(1); - TH2F* DefzDreconoiseHF42D = new TH2F("DefzDreconoiseHF42D","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHF42D0 = new TH2F("DefzDreconoiseHF42D0","", neta, -41., 41., nphi, 0., 72. ); - TH2F* DefzDreconoiseHF42DF = (TH2F*)DefzDreconoiseHF42D0->Clone("DefzDreconoiseHF42DF"); - for (int i=0;i= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int jphi=0;jphi0 kkk=k2plot+1; //-41 +41 !=0 - if(areconoiseHF[i][jeta][jphi]>0.) {DefzDreconoiseHF42D ->Fill(kkk,jphi,ccc1); DefzDreconoiseHF42D0 ->Fill(kkk,jphi,1.); } - }}}} - DefzDreconoiseHF42DF->Divide(DefzDreconoiseHF42D,DefzDreconoiseHF42D0, 1, 1, "B");// average A - // DefzDreconoiseHF1->Sumw2(); - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHF42DF->SetMarkerStyle(20); DefzDreconoiseHF42DF->SetMarkerSize(0.4); DefzDreconoiseHF42DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF42DF->SetXTitle("_depth #eta \b"); DefzDreconoiseHF42DF->SetYTitle(" #phi \b"); DefzDreconoiseHF42DF->SetZTitle("_depth \b"); DefzDreconoiseHF42DF->SetMarkerColor(2); DefzDreconoiseHF42DF->SetLineColor(0); // DefzDreconoiseHF42DF->SetMaximum(1.000); // DefzDreconoiseHF42DF->SetMinimum(1.0); - DefzDreconoiseHF42DF->Draw("COLZ"); - ///////////////// - c1x0->Update(); - c1x0->Print("DreconoiseGeneralD2PhiSymmetryHF.png"); - c1x0->Clear(); - // clean-up - if (DefzDreconoiseHF42D) delete DefzDreconoiseHF42D; - if (DefzDreconoiseHF42D0) delete DefzDreconoiseHF42D0; - if (DefzDreconoiseHF42DF) delete DefzDreconoiseHF42DF; + //cout<<" R2D-eta/phi-plot: D, averaged over depthfs *****" <Clear(); + ///////////////// + c1x0->Divide(1, 1); + c1x0->cd(1); + TH2F* DefzDreconoiseHF42D = new TH2F("DefzDreconoiseHF42D", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHF42D0 = new TH2F("DefzDreconoiseHF42D0", "", neta, -41., 41., nphi, 0., 72.); + TH2F* DefzDreconoiseHF42DF = (TH2F*)DefzDreconoiseHF42D0->Clone("DefzDreconoiseHF42DF"); + for (int i = 0; i < ndepth; i++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + int k2plot = jeta - 41; + int kkk = k2plot; //if(k2plot >0 kkk=k2plot+1; //-41 +41 !=0 + if (areconoiseHF[i][jeta][jphi] > 0.) { + DefzDreconoiseHF42D->Fill(kkk, jphi, ccc1); + DefzDreconoiseHF42D0->Fill(kkk, jphi, 1.); + } + } + } + } + } + DefzDreconoiseHF42DF->Divide(DefzDreconoiseHF42D, DefzDreconoiseHF42D0, 1, 1, "B"); // average A + // DefzDreconoiseHF1->Sumw2(); + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF42DF->SetMarkerStyle(20); + DefzDreconoiseHF42DF->SetMarkerSize(0.4); + DefzDreconoiseHF42DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHF42DF->SetXTitle("_depth #eta \b"); + DefzDreconoiseHF42DF->SetYTitle(" #phi \b"); + DefzDreconoiseHF42DF->SetZTitle("_depth \b"); + DefzDreconoiseHF42DF->SetMarkerColor(2); + DefzDreconoiseHF42DF->SetLineColor( + 0); // DefzDreconoiseHF42DF->SetMaximum(1.000); // DefzDreconoiseHF42DF->SetMinimum(1.0); + DefzDreconoiseHF42DF->Draw("COLZ"); + ///////////////// + c1x0->Update(); + c1x0->Print("DreconoiseGeneralD2PhiSymmetryHF.png"); + c1x0->Clear(); + // clean-up + if (DefzDreconoiseHF42D) + delete DefzDreconoiseHF42D; + if (DefzDreconoiseHF42D0) + delete DefzDreconoiseHF42D0; + if (DefzDreconoiseHF42DF) + delete DefzDreconoiseHF42DF; //====================================================================== 1D plot: D vs phi , averaged over depthfs & eta //====================================================================== //cout<<" 1D plot: D vs phi , averaged over depthfs & eta *****" <Clear(); ///////////////// - c1x1->Divide(1,1); + c1x1->Divide(1, 1); c1x1->cd(1); - TH1F* DefzDreconoiseHF41D = new TH1F("DefzDreconoiseHF41D","", nphi, 0., 72. ); - TH1F* DefzDreconoiseHF41D0 = new TH1F("DefzDreconoiseHF41D0","",nphi, 0., 72. ); - TH1F* DefzDreconoiseHF41DF = (TH1F*)DefzDreconoiseHF41D0->Clone("DefzDreconoiseHF41DF"); - - for (int jphi=0;jphi= -41 && jeta-41 <= -29) || (jeta-41 >= 28 && jeta-41 <= 40) ) { - for (int i=0;i0.) {DefzDreconoiseHF41D ->Fill(jphi,ccc1); DefzDreconoiseHF41D0 ->Fill(jphi,1.); } - }}}} - // DefzDreconoiseHF41D->Sumw2();DefzDreconoiseHF41D0->Sumw2(); - - DefzDreconoiseHF41DF->Divide(DefzDreconoiseHF41D,DefzDreconoiseHF41D0, 1, 1, "B");// R averaged over depthfs & eta - DefzDreconoiseHF41D0->Sumw2(); - // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHF41DF->SetBinError(jphi,0.01);} - gPad->SetGridy(); gPad->SetGridx(); // gPad->SetLogz(); - DefzDreconoiseHF41DF->SetMarkerStyle(20); DefzDreconoiseHF41DF->SetMarkerSize(1.4); DefzDreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); DefzDreconoiseHF41DF->SetXTitle("#phi \b"); DefzDreconoiseHF41DF->SetYTitle(" \b"); DefzDreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); DefzDreconoiseHF41DF->SetMarkerColor(4); DefzDreconoiseHF41DF->SetLineColor(4);// DefzDreconoiseHF41DF->SetMinimum(0.8); DefzDreconoiseHF41DF->SetMinimum(-0.015); - DefzDreconoiseHF41DF->Draw("Error"); + TH1F* DefzDreconoiseHF41D = new TH1F("DefzDreconoiseHF41D", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHF41D0 = new TH1F("DefzDreconoiseHF41D0", "", nphi, 0., 72.); + TH1F* DefzDreconoiseHF41DF = (TH1F*)DefzDreconoiseHF41D0->Clone("DefzDreconoiseHF41DF"); + + for (int jphi = 0; jphi < nphi; jphi++) { + for (int jeta = 0; jeta < neta; jeta++) { + if ((jeta - 41 >= -41 && jeta - 41 <= -29) || (jeta - 41 >= 28 && jeta - 41 <= 40)) { + for (int i = 0; i < ndepth; i++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + DefzDreconoiseHF41D->Fill(jphi, ccc1); + DefzDreconoiseHF41D0->Fill(jphi, 1.); + } + } + } + } + } + // DefzDreconoiseHF41D->Sumw2();DefzDreconoiseHF41D0->Sumw2(); + + DefzDreconoiseHF41DF->Divide(DefzDreconoiseHF41D, DefzDreconoiseHF41D0, 1, 1, "B"); // R averaged over depthfs & eta + DefzDreconoiseHF41D0->Sumw2(); + // for (int jphi=1;jphi<73;jphi++) {DefzDreconoiseHF41DF->SetBinError(jphi,0.01);} + gPad->SetGridy(); + gPad->SetGridx(); // gPad->SetLogz(); + DefzDreconoiseHF41DF->SetMarkerStyle(20); + DefzDreconoiseHF41DF->SetMarkerSize(1.4); + DefzDreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08); + DefzDreconoiseHF41DF->SetXTitle("#phi \b"); + DefzDreconoiseHF41DF->SetYTitle(" \b"); + DefzDreconoiseHF41DF->SetZTitle("_PHI - AllDepthfs \b"); + DefzDreconoiseHF41DF->SetMarkerColor(4); + DefzDreconoiseHF41DF->SetLineColor( + 4); // DefzDreconoiseHF41DF->SetMinimum(0.8); DefzDreconoiseHF41DF->SetMinimum(-0.015); + DefzDreconoiseHF41DF->Draw("Error"); ///////////////// c1x1->Update(); c1x1->Print("DreconoiseGeneralD1PhiSymmetryHF.png"); c1x1->Clear(); // clean-up - if (DefzDreconoiseHF41D) delete DefzDreconoiseHF41D; - if (DefzDreconoiseHF41D0) delete DefzDreconoiseHF41D0; - if (DefzDreconoiseHF41DF) delete DefzDreconoiseHF41DF; - //========================================================================================== 14 + if (DefzDreconoiseHF41D) + delete DefzDreconoiseHF41D; + if (DefzDreconoiseHF41D0) + delete DefzDreconoiseHF41D0; + if (DefzDreconoiseHF41DF) + delete DefzDreconoiseHF41DF; + //========================================================================================== 14 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionReconoiseD1=1; - TH1F* h2CeffHFpositivedirectionReconoiseD1 = new TH1F("h2CeffHFpositivedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFpositivedirectionReconoiseD1 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseD1 == 1) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 2) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 3) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 4) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 5) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 6) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 7) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 8) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 == 9) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==10) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==11) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==12) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); - if(kcountHFpositivedirectionReconoiseD1 ==13) HFpositivedirectionReconoiseD1 ->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); - HFpositivedirectionReconoiseD1->Draw("Error"); - kcountHFpositivedirectionReconoiseD1++; - if(kcountHFpositivedirectionReconoiseD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + int kcountHFpositivedirectionReconoiseD1 = 1; + TH1F* h2CeffHFpositivedirectionReconoiseD1 = new TH1F("h2CeffHFpositivedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFpositivedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFpositivedirectionReconoiseD1 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseD1 == 1) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 28; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 2) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 29; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 3) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 30; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 4) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 31; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 5) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 32; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 6) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 33; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 7) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 34; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 8) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 35; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 9) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 36; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 10) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 37; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 11) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 38; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 12) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 39; depth = 1 \b"); + if (kcountHFpositivedirectionReconoiseD1 == 13) + HFpositivedirectionReconoiseD1->SetXTitle("D for HF+ jeta = 40; depth = 1 \b"); + HFpositivedirectionReconoiseD1->Draw("Error"); + kcountHFpositivedirectionReconoiseD1++; + if (kcountHFpositivedirectionReconoiseD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseD1) delete h2CeffHFpositivedirectionReconoiseD1; - //========================================================================================== 15 + if (h2CeffHFpositivedirectionReconoiseD1) + delete h2CeffHFpositivedirectionReconoiseD1; + //========================================================================================== 15 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFpositivedirectionReconoiseD2=1; - TH1F* h2CeffHFpositivedirectionReconoiseD2 = new TH1F("h2CeffHFpositivedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= 28 && jeta-41 <= 40) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFpositivedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFpositivedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFpositivedirectionReconoiseD2 = "<SetMarkerColor(2);HFpositivedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFpositivedirectionReconoiseD2 == 1) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 2) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 3) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 4) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 5) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 6) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 7) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 8) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 == 9) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==10) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==11) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==12) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); - if(kcountHFpositivedirectionReconoiseD2 ==13) HFpositivedirectionReconoiseD2 ->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); - HFpositivedirectionReconoiseD2->Draw("Error"); - kcountHFpositivedirectionReconoiseD2++; - if(kcountHFpositivedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= 28 && jeta-41 <= 40) - }//for jeta + int kcountHFpositivedirectionReconoiseD2 = 1; + TH1F* h2CeffHFpositivedirectionReconoiseD2 = new TH1F("h2CeffHFpositivedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // positivedirectionReconoiseD: + if (jeta - 41 >= 28 && jeta - 41 <= 40) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFpositivedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HFpositivedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFpositivedirectionReconoiseD2 = "<SetMarkerColor(2); + HFpositivedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFpositivedirectionReconoiseD2 == 1) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 28; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 2) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 29; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 3) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 30; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 4) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 31; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 5) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 32; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 6) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 33; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 7) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 34; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 8) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 35; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 9) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 36; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 10) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 37; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 11) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 38; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 12) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 39; depth = 2 \b"); + if (kcountHFpositivedirectionReconoiseD2 == 13) + HFpositivedirectionReconoiseD2->SetXTitle("D for HF+ jeta = 40; depth = 2 \b"); + HFpositivedirectionReconoiseD2->Draw("Error"); + kcountHFpositivedirectionReconoiseD2++; + if (kcountHFpositivedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= 28 && jeta-41 <= 40) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFpositivedirectionReconoiseD2) delete h2CeffHFpositivedirectionReconoiseD2; - //========================================================================================== 22222214 + if (h2CeffHFpositivedirectionReconoiseD2) + delete h2CeffHFpositivedirectionReconoiseD2; + //========================================================================================== 22222214 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=1 //cout<<" 1D plot: D vs phi , different eta, depth=1 *****" <Clear(); ///////////////// - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionReconoiseD1=1; - TH1F* h2CeffHFnegativedirectionReconoiseD1 = new TH1F("h2CeffHFnegativedirectionReconoiseD1","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD1 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD1->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1414 kcountHFnegativedirectionReconoiseD1 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD1 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseD1 == 1) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 2) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 3) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 4) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 5) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 6) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 7) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 8) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 == 9) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==10) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==11) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==12) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); - if(kcountHFnegativedirectionReconoiseD1 ==13) HFnegativedirectionReconoiseD1 ->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); - HFnegativedirectionReconoiseD1->Draw("Error"); - kcountHFnegativedirectionReconoiseD1++; - if(kcountHFnegativedirectionReconoiseD1>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + int kcountHFnegativedirectionReconoiseD1 = 1; + TH1F* h2CeffHFnegativedirectionReconoiseD1 = new TH1F("h2CeffHFnegativedirectionReconoiseD1", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFnegativedirectionReconoiseD1->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseD1->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1414 kcountHFnegativedirectionReconoiseD1 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseD1->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseD1 == 1) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-41; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 2) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-40; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 3) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-39; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 4) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-38; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 5) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-37; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 6) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-36; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 7) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-35; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 8) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-34; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 9) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-33; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 10) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-32; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 11) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-31; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 12) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-30; depth = 1 \b"); + if (kcountHFnegativedirectionReconoiseD1 == 13) + HFnegativedirectionReconoiseD1->SetXTitle("D for HF- jeta =-29; depth = 1 \b"); + HFnegativedirectionReconoiseD1->Draw("Error"); + kcountHFnegativedirectionReconoiseD1++; + if (kcountHFnegativedirectionReconoiseD1 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseD1) delete h2CeffHFnegativedirectionReconoiseD1; - //========================================================================================== 22222215 + if (h2CeffHFnegativedirectionReconoiseD1) + delete h2CeffHFnegativedirectionReconoiseD1; + //========================================================================================== 22222215 //====================================================================== //======================================================================1D plot: D vs phi , different eta, depth=2 //cout<<" 1D plot: D vs phi , different eta, depth=2 *****" <Clear(); - c3x5->Divide(3,5); + c3x5->Divide(3, 5); c3x5->cd(1); - int kcountHFnegativedirectionReconoiseD2=1; - TH1F* h2CeffHFnegativedirectionReconoiseD2 = new TH1F("h2CeffHFnegativedirectionReconoiseD2","", nphi, 0., 72. ); - - for (int jeta=0;jeta= -41 && jeta-41 <= -29) { - - // for (int i=0;iClone("twod1"); - - float ccctest = 0; // to avoid empty massive elements - for (int jphi=0;jphi0.) {HFnegativedirectionReconoiseD2 ->Fill(jphi,ccc1);ccctest = 1.;//HFnegativedirectionReconoiseD2->SetBinError(i,0.01); - } - }// for jphi - if(ccctest>0.) { - //cout<<"1515 kcountHFnegativedirectionReconoiseD2 = "<SetMarkerColor(2);HFnegativedirectionReconoiseD2 ->SetLineColor(0);gPad->SetGridy();gPad->SetGridx(); - // gPad->SetLogy(); - if(kcountHFnegativedirectionReconoiseD2 == 1) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 2) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 3) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 4) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 5) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 6) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 7) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 8) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 == 9) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==10) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==11) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==12) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); - if(kcountHFnegativedirectionReconoiseD2 ==13) HFnegativedirectionReconoiseD2 ->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); - HFnegativedirectionReconoiseD2->Draw("Error"); - kcountHFnegativedirectionReconoiseD2++; - if(kcountHFnegativedirectionReconoiseD2>13) break;// 4x6 = 24 - }//ccctest>0 - - }// for i - }//if(jeta-41 >= -41 && jeta-41 <= -29) - }//for jeta + int kcountHFnegativedirectionReconoiseD2 = 1; + TH1F* h2CeffHFnegativedirectionReconoiseD2 = new TH1F("h2CeffHFnegativedirectionReconoiseD2", "", nphi, 0., 72.); + + for (int jeta = 0; jeta < njeta; jeta++) { + // negativedirectionReconoiseD: + if (jeta - 41 >= -41 && jeta - 41 <= -29) { + // for (int i=0;iClone("twod1"); + + float ccctest = 0; // to avoid empty massive elements + for (int jphi = 0; jphi < nphi; jphi++) { + double ccc1 = reconoisevarianceHF[i][jeta][jphi]; + if (areconoiseHF[i][jeta][jphi] > 0.) { + HFnegativedirectionReconoiseD2->Fill(jphi, ccc1); + ccctest = 1.; //HFnegativedirectionReconoiseD2->SetBinError(i,0.01); + } + } // for jphi + if (ccctest > 0.) { + //cout<<"1515 kcountHFnegativedirectionReconoiseD2 = "<SetMarkerColor(2); + HFnegativedirectionReconoiseD2->SetLineColor(0); + gPad->SetGridy(); + gPad->SetGridx(); + // gPad->SetLogy(); + if (kcountHFnegativedirectionReconoiseD2 == 1) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-41; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 2) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-40; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 3) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-39; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 4) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-38; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 5) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-37; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 6) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-36; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 7) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-35; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 8) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-34; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 9) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-33; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 10) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-32; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 11) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-31; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 12) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-30; depth = 2 \b"); + if (kcountHFnegativedirectionReconoiseD2 == 13) + HFnegativedirectionReconoiseD2->SetXTitle("D for HF- jeta =-29; depth = 2 \b"); + HFnegativedirectionReconoiseD2->Draw("Error"); + kcountHFnegativedirectionReconoiseD2++; + if (kcountHFnegativedirectionReconoiseD2 > 13) + break; // 4x6 = 24 + } //ccctest>0 + + } // for i + } //if(jeta-41 >= -41 && jeta-41 <= -29) + } //for jeta ///////////////// c3x5->Update(); c3x5->Print("DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png"); c3x5->Clear(); // clean-up - if (h2CeffHFnegativedirectionReconoiseD2) delete h2CeffHFnegativedirectionReconoiseD2; + if (h2CeffHFnegativedirectionReconoiseD2) + delete h2CeffHFnegativedirectionReconoiseD2; //===================================================================== END of Reconoise HF for phi-symmetry //===================================================================== END of Reconoise HF for phi-symmetry @@ -15498,448 +21509,688 @@ std::cout<<" We are here to print ADC "<"<< std::endl; - htmlFileT << ""<< std::endl; - htmlFileT << ""<< std::endl; - htmlFileT << " Remote Monitoring Tool "<< std::endl; - htmlFileT << ""<< std::endl; - htmlFileT << ""<< std::endl; - - - if (sub==1) htmlFileT << "

Criteria for megatile channels for HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileT << "

Criteria for megatile channels for HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==3) htmlFileT << "

Criteria for megatile channels for HO, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileT << "

Criteria for megatile channels for HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileT << "
"<< std::endl; - -// Test Entries - - htmlFileT << "

0. Entries for each channel.

"<< std::endl; - htmlFileT << "

0.A. Entries in each channel for each depth.

"<< std::endl; - htmlFileT << "

Channel legend: color is rate of entries

"<< std::endl; - if (sub==1) htmlFileT << " " << std::endl; - if (sub==2) htmlFileT << " " << std::endl; - if (sub==3) htmlFileT << " " << std::endl; - if (sub==4) htmlFileT << " " << std::endl; - htmlFileT << "
"<< std::endl; - - -// Test Cm - htmlFileT << "

1. Cm criterion: CapID errors for each channel.

"<< std::endl; - htmlFileT << "

1.A. Rate of CapId failures in each channel for each depth.

"<< std::endl; - htmlFileT << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileT << " " << std::endl; - if (sub==2) htmlFileT << " " << std::endl; - if (sub==3) htmlFileT << " " << std::endl; - if (sub==4) htmlFileT << " " << std::endl; - htmlFileT << "
"<< std::endl; - -// Am - htmlFileT << "

2. Am criterion: ADC amplitude collected over all TSs(Full Amplitude) for each channel.

"<< std::endl; - htmlFileT << "

2.A. Full ADC amplitude distribution over all events, channels and depths.

"<< std::endl; - htmlFileT << "

Legend: Bins less "<< MIN_M[2][sub] <<" correpond to bad ADC amplitude

"<< std::endl; - if (sub==1) htmlFileT << " " << std::endl; - if (sub==2) htmlFileT << " " << std::endl; - if (sub==3) htmlFileT << " " << std::endl; - if (sub==4) htmlFileT << " " << std::endl; - htmlFileT << "
"<< std::endl; - htmlFileT << "

2.B. Rate of bad ADC amplitude (<"<"<< std::endl; - htmlFileT << "

Channel legend: white - good, other colours - bad.

"<< std::endl; - if (sub==1) htmlFileT << " " << std::endl; - if (sub==2) htmlFileT << " " << std::endl; - if (sub==3) htmlFileT << " " << std::endl; - if (sub==4) htmlFileT << " " << std::endl; - htmlFileT << "
"<< std::endl; - -// Test Wm - htmlFileT << "

3. Wm criterion: RMS (width) of ADC amplutude for each channel.

"<< std::endl; - htmlFileT << "

3.A. RMS distribution over all events, channel and depth.

"<< std::endl; - htmlFileT << "

Legend: Bins less "<< MIN_M[3][sub] <<" and more "<< MAX_M[3][sub] <<" correpond to bad RMS

"<< std::endl; - if (sub==1) htmlFileT << " " << std::endl; - if (sub==2) htmlFileT << " " << std::endl; - if (sub==3) htmlFileT << " " << std::endl; - if (sub==4) htmlFileT << " " << std::endl; - htmlFileT << "
"<< std::endl; - htmlFileT << "

3.B. Rate of bad RMS (<"<"<"<< std::endl; - htmlFileT << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileT << " " << std::endl; - if (sub==2) htmlFileT << " " << std::endl; - if (sub==3) htmlFileT << " " << std::endl; - if (sub==4) htmlFileT << " " << std::endl; - htmlFileT << "
"<< std::endl; - -// Rm - htmlFileT << "

4. Rm criterion: Ratio ADC value sum over four near maximum (-2, -1, max, +1) TS to ADC value sum over all TS for each channel.

"<< std::endl; - htmlFileT << "

4.A. Ratio distribution over all events, channels and depths.

"<< std::endl; - htmlFileT << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileT << " " << std::endl; - if (sub==2) htmlFileT << " " << std::endl; - if (sub==3) htmlFileT << " " << std::endl; - if (sub==4) htmlFileT << " " << std::endl; - htmlFileT << "
"<< std::endl; - htmlFileT << "

4.B. Rate of bad ratio (<"<"<"<< std::endl; - htmlFileT << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileT << " " << std::endl; - if (sub==2) htmlFileT << " " << std::endl; - if (sub==3) htmlFileT << " " << std::endl; - if (sub==4) htmlFileT << " " << std::endl; - htmlFileT << "
"<< std::endl; - -// TNm - htmlFileT << "

5. TNm criterion: Mean TS position for each channel.

"<< std::endl; - htmlFileT << "

5.A. TN position distribution over all events, channels and depths.

"<< std::endl; - htmlFileT << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileT << " " << std::endl; - if (sub==2) htmlFileT << " " << std::endl; - if (sub==3) htmlFileT << " " << std::endl; - if (sub==4) htmlFileT << " " << std::endl; - htmlFileT << "
"<< std::endl; - htmlFileT << "

5.B. Rate of bad TN position (<"<"<"<< std::endl; - htmlFileT << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileT << " " << std::endl; - if (sub==2) htmlFileT << " " << std::endl; - if (sub==3) htmlFileT << " " << std::endl; - if (sub==4) htmlFileT << " " << std::endl; - htmlFileT << "
"<< std::endl; - -// TXm - htmlFileT << "

6.TXm criterion: Maximum TS position for each channel.

"<< std::endl; - htmlFileT << "

6.A. TX position distribution over all events, channel and depth.

"<< std::endl; - htmlFileT << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileT << " " << std::endl; - if (sub==2) htmlFileT << " " << std::endl; - if (sub==3) htmlFileT << " " << std::endl; - if (sub==4) htmlFileT << " " << std::endl; - htmlFileT << "
"<< std::endl; - htmlFileT << "

6.B. Rate of bad TX position (<"<"<"<< std::endl; - htmlFileT << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileT << " " << std::endl; - if (sub==2) htmlFileT << " " << std::endl; - if (sub==3) htmlFileT << " " << std::endl; - if (sub==4) htmlFileT << " " << std::endl; - htmlFileT << "
"<< std::endl; - - htmlFileT << " " << std::endl; - htmlFileT << " " << std::endl; - htmlFileT.close(); - -//Calibration channels - htmlFileC << ""<< std::endl; - htmlFileC << ""<< std::endl; - htmlFileC << ""<< std::endl; - htmlFileC << " Raw Data Analyser "<< std::endl; - htmlFileC << ""<< std::endl; - htmlFileC << ""<< std::endl; - - if (sub==1) htmlFileC << "

Criteria for calibration channels for HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileC << "

Criteria for calibration channels for HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==3) htmlFileC << "

Criteria for calibration channels for HO, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileC << "

Criteria for calibration channels for HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileC << "
"<< std::endl; - - -// Test Entries - - htmlFileC << "

0. Entries for each channel.

"<< std::endl; - htmlFileC << "

0.A. Entries in each channel for each depth.

"<< std::endl; - htmlFileC << "

Channel legend: color is rate of entries

"<< std::endl; - if (sub==1) htmlFileC << " " << std::endl; - if (sub==2) htmlFileC << " " << std::endl; - if (sub==3) htmlFileC << " " << std::endl; - if (sub==4) htmlFileC << " " << std::endl; - htmlFileC << "
"<< std::endl; - - -// Test Cc - htmlFileC << "

1. Cc criterion: CapID errors for each channel.

"<< std::endl; - htmlFileC << "

1.A. Rate of CapId failures in each channel for each depth.

"<< std::endl; - htmlFileC << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileC << " " << std::endl; - if (sub==2) htmlFileC << " " << std::endl; - if (sub==3) htmlFileC << " " << std::endl; - if (sub==4) htmlFileC << " " << std::endl; - htmlFileC << "
"<< std::endl; - -// Ac - htmlFileC << "

2. Ac criterion: ADC amplitude collected over all TSs(Full Amplitude) for each channel.

"<< std::endl; - htmlFileC << "

2.A. Full ADC amplitude distribution over all events, channels and depths.

"<< std::endl; - htmlFileC << "

Legend: Bins less "<< MIN_C[2][sub] <<" correpond to bad ADC amplitude

"<< std::endl; - if (sub==1) htmlFileC << " " << std::endl; - if (sub==2) htmlFileC << " " << std::endl; - if (sub==3) htmlFileC << " " << std::endl; - if (sub==4) htmlFileC << " " << std::endl; - htmlFileC << "
"<< std::endl; - htmlFileC << "

2.B. Rate of bad ADC amplitude (<"<"<< std::endl; - htmlFileC << "

Channel legend: white - good, other colours - bad.

"<< std::endl; - if (sub==1) htmlFileC << " " << std::endl; - if (sub==2) htmlFileC << " " << std::endl; - if (sub==3) htmlFileC << " " << std::endl; - if (sub==4) htmlFileC << " " << std::endl; - htmlFileC << "
"<< std::endl; - -// Test Wc - htmlFileC << "

3. Wc criterion: RMS (width) of ADC amplutude for each channel.

"<< std::endl; - htmlFileC << "

3.A. W distribution over all events, channel and depth.

"<< std::endl; - htmlFileC << "

Legend: Bins less "<< MIN_C[3][sub] <<" and more "<< MAX_C[3][sub] <<" correpond to bad RMS

"<< std::endl; - if (sub==1) htmlFileC << " " << std::endl; - if (sub==2) htmlFileC << " " << std::endl; - if (sub==3) htmlFileC << " " << std::endl; - if (sub==4) htmlFileC << " " << std::endl; - htmlFileC << "
"<< std::endl; - htmlFileC << "

3.B. Rate of bad W (<"<"<"<< std::endl; - htmlFileC << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileC << " " << std::endl; - if (sub==2) htmlFileC << " " << std::endl; - if (sub==3) htmlFileC << " " << std::endl; - if (sub==4) htmlFileC << " " << std::endl; - htmlFileC << "
"<< std::endl; - -// Rc - htmlFileC << "

4. Rc criterion: Ratio ADC value sum over five near maximum (-2, -1, max, +1, +2) TS to ADC value sum over all TS for each channel.

"<< std::endl; - htmlFileC << "

4.A. Ratio distribution over all events, channels and depths.

"<< std::endl; - htmlFileC << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileC << " " << std::endl; - if (sub==2) htmlFileC << " " << std::endl; - if (sub==3) htmlFileC << " " << std::endl; - if (sub==4) htmlFileC << " " << std::endl; - htmlFileC << "
"<< std::endl; - htmlFileC << "

4.B. Rate of bad Ratio (<"<"<"<< std::endl; - htmlFileC << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileC << " " << std::endl; - if (sub==2) htmlFileC << " " << std::endl; - if (sub==3) htmlFileC << " " << std::endl; - if (sub==4) htmlFileC << " " << std::endl; - htmlFileC << "
"<< std::endl; - -// TNc - htmlFileC << "

5. TNc criterion: Mean TS position for each channel.

"<< std::endl; - htmlFileC << "

5.A. TN position distribution over all events, channels and depths.

"<< std::endl; - htmlFileC << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileC << " " << std::endl; - if (sub==2) htmlFileC << " " << std::endl; - if (sub==3) htmlFileC << " " << std::endl; - if (sub==4) htmlFileC << " " << std::endl; - htmlFileC << "
"<< std::endl; - htmlFileC << "

5.B. Rate of bad TN position (<"<"<"<< std::endl; - htmlFileC << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileC << " " << std::endl; - if (sub==2) htmlFileC << " " << std::endl; - if (sub==3) htmlFileC << " " << std::endl; - if (sub==4) htmlFileC << " " << std::endl; - htmlFileC << "
"<< std::endl; - -// TXm - htmlFileC << "

6.TXc criterion: Maximum TS position for each channel.

"<< std::endl; - htmlFileC << "

6.A. TX position distribution over all events, channel and depth.

"<< std::endl; - htmlFileC << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileC << " " << std::endl; - if (sub==2) htmlFileC << " " << std::endl; - if (sub==3) htmlFileC << " " << std::endl; - if (sub==4) htmlFileC << " " << std::endl; - htmlFileC << "
"<< std::endl; - htmlFileC << "

6.B. Rate of bad TX position (<"<"<"<< std::endl; - htmlFileC << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileC << " " << std::endl; - if (sub==2) htmlFileC << " " << std::endl; - if (sub==3) htmlFileC << " " << std::endl; - if (sub==4) htmlFileC << " " << std::endl; - htmlFileC << "
"<< std::endl; - - htmlFileC << " " << std::endl; - htmlFileC << " " << std::endl; - htmlFileC.close(); - -//Response drift - htmlFileD << ""<< std::endl; - htmlFileD << ""<< std::endl; - htmlFileD << ""<< std::endl; - htmlFileD << " Remore Monitoring Tool "<< std::endl; - htmlFileD << ""<< std::endl; - htmlFileD << ""<< std::endl; - - if (sub==1) htmlFileD << "

Response drift for HB: Current RUN = "<< runnumber <<", Reference RUN = "<"<< std::endl; - if (sub==2) htmlFileD << "

Response drift for HE: Current RUN = "<< runnumber <<", Reference RUN = "<"<< std::endl; - if (sub==3) htmlFileD << "

Response drift for HO: Current RUN = "<< runnumber <<", Reference RUN = "<"<< std::endl; - if (sub==4) htmlFileD << "

Response drift for HF: Current RUN = "<< runnumber <<", Reference RUN = "<"<< std::endl; - htmlFileD << "
"<< std::endl; - -// test GS - htmlFileD << "

1. Gain Stability (GS)

"<< std::endl; - htmlFileD << "

1.A. Averaged channel response, collected over all TS, for Current run in each channel for each depth.

"<< std::endl; - htmlFileD << "

Channel legend: colour means cooresponding value of mean response.

"<< std::endl; - if (sub==1) htmlFileD << " " << std::endl; - if (sub==2) htmlFileD << " " << std::endl; - if (sub==3) htmlFileD << " " << std::endl; - if (sub==4) htmlFileD << " " << std::endl; - htmlFileD << "
"<< std::endl; - htmlFileD << "

1.B. Averaged channel response, collected over all TS, for Reference run in each channel for each depth.

"<< std::endl; - htmlFileD << "

Channel legend: colour means cooresponding value of mean response.

"<< std::endl; - if (sub==1) htmlFileD << " " << std::endl; - if (sub==2) htmlFileD << " " << std::endl; - if (sub==3) htmlFileD << " " << std::endl; - if (sub==4) htmlFileD << " " << std::endl; - htmlFileD << "
"<< std::endl; - htmlFileD << "

1.C. Relative difference between Current and Reference run distribution over all events, channels for each depth.

"<< std::endl; - htmlFileD << "

Legend: Bins less -"<"<< std::endl; - if (sub==1) htmlFileD << " " << std::endl; - if (sub==2) htmlFileD << " " << std::endl; - if (sub==3) htmlFileD << " " << std::endl; - if (sub==4) htmlFileD << " " << std::endl; - htmlFileD << "
"<< std::endl; - htmlFileD << "

1.D. Rate of bad relative difference (<-"<+"<"<< std::endl; - htmlFileD << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileD << " " << std::endl; - if (sub==2) htmlFileD << " " << std::endl; - if (sub==3) htmlFileD << " " << std::endl; - if (sub==4) htmlFileD << " " << std::endl; - htmlFileD << "
"<< std::endl; - - htmlFileD << " " << std::endl; - htmlFileD << " " << std::endl; - htmlFileD.close(); - -// Pedestals - htmlFileP << ""<< std::endl; - htmlFileP << ""<< std::endl; - htmlFileP << ""<< std::endl; - htmlFileP << " Remote Monitoring Tool "<< std::endl; - htmlFileP << ""<< std::endl; - htmlFileP << ""<< std::endl; - - - if (sub==1) htmlFileP << "

Pedestals for HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileP << "

Pedestals for HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==3) htmlFileP << "

Pedestals for HO, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileP << "

Pedestals for HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileP << "
"<< std::endl; - -// Pedestal: - htmlFileP << "

1.Pm criterion: Pedestals for each CapID .

"<< std::endl; - htmlFileP << "

1.A. Pedestal distribution over all events, channels for each CapID and all depths.

"<< std::endl; - htmlFileP << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileP << " " << std::endl; - if (sub==2) htmlFileP << " " << std::endl; - if (sub==3) htmlFileP << " " << std::endl; - if (sub==4) htmlFileP << " " << std::endl; - htmlFileP << "
"<< std::endl; - htmlFileP << "

1.B. Rate of channels at very low Pedestals at least in one CapID for each depth.

"<< std::endl; - htmlFileP << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileP << " " << std::endl; - if (sub==2) htmlFileP << " " << std::endl; - if (sub==3) htmlFileP << " " << std::endl; - if (sub==4) htmlFileP << " " << std::endl; - -// PedestalWidth: - htmlFileP << "

2.pWm criterion: Pedestal Widths for each CapID .

"<< std::endl; - htmlFileP << "

2.A. Pedestal Widths distribution over all events, channels for each CapID and all depths.

"<< std::endl; - htmlFileP << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileP << " " << std::endl; - if (sub==2) htmlFileP << " " << std::endl; - if (sub==3) htmlFileP << " " << std::endl; - if (sub==4) htmlFileP << " " << std::endl; - htmlFileP << "
"<< std::endl; - htmlFileP << "

2.B. Rate of channels at very low Pedestal Widths at least in one CapID for each depth.

"<< std::endl; - htmlFileP << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileP << " " << std::endl; - if (sub==2) htmlFileP << " " << std::endl; - if (sub==3) htmlFileP << " " << std::endl; - if (sub==4) htmlFileP << " " << std::endl; - -// Correlations of Pedestal(Width) and fullAmplitude: - htmlFileP << "

3.Pedestal and pedestalWidths vs Amplitude .

"<< std::endl; - htmlFileP << "

3.A. Correlation of Pedestal(pedestalWidths) and Amplitude over all channels and events .

"<< std::endl; - htmlFileP << "

Legend: colour - entries

"<< std::endl; - if(sub==1) htmlFileP<< "" <" <" <" <"<< std::endl; - htmlFileP.close(); - -// TSs Shapes: - - htmlFileS << ""<< std::endl; - htmlFileS << ""<< std::endl; - htmlFileS << ""<< std::endl; - htmlFileS << " Remote Monitoring Tool "<< std::endl; - htmlFileS << ""<< std::endl; - htmlFileS << ""<< std::endl; - - - if (sub==1) htmlFileS << "

ADC Shape for HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileS << "

ADC Shape for HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==3) htmlFileS << "

ADC Shape for HO, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileS << "

ADC Shape for HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileS << "
"<< std::endl; - - htmlFileS << "

1.Mean ADC Shape.

"<< std::endl; - htmlFileS << "

1.A. ADC shape averaged over all good channels, depth and events.

"<< std::endl; -// htmlFileS << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileS << " " << std::endl; - if (sub==2) htmlFileS << " " << std::endl; - if (sub==3) htmlFileS << " " << std::endl; - if (sub==4) htmlFileS << " " << std::endl; - htmlFileS << "
"<< std::endl; - htmlFileS << "

1.B. ADC shape averaged over all bad channels, depth and events. Bad channels are selected by 5 criteria: CapId, A, W, P, Pw

"<< std::endl; -// htmlFileS << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileS << " " << std::endl; - if (sub==2) htmlFileS << " " << std::endl; - if (sub==3) htmlFileS << " " << std::endl; - if (sub==4) htmlFileS << " " << std::endl; -/* + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + ofstream htmlFileT, htmlFileC, htmlFileD, htmlFileP, htmlFileS, htmlFileM, htmlFileR, htmlFileN; + if (sub == 1) { + htmlFileT.open("HB_Tile.html"); + htmlFileC.open("HB_Calib.html"); + htmlFileD.open("HB_Drift.html"); + htmlFileP.open("HB_Pedestals.html"); + htmlFileS.open("HB_Shapes.html"); + htmlFileM.open("HB_PhiSymmetryDigi.html"); + htmlFileR.open("HB_PhiSymmetryRecoSignal.html"); + htmlFileN.open("HB_PhiSymmetryRecoNoise.html"); + } + if (sub == 2) { + htmlFileT.open("HE_Tile.html"); + htmlFileC.open("HE_Calib.html"); + htmlFileD.open("HE_Drift.html"); + htmlFileP.open("HE_Pedestals.html"); + htmlFileS.open("HE_Shapes.html"); + htmlFileM.open("HE_PhiSymmetryDigi.html"); + htmlFileR.open("HE_PhiSymmetryRecoSignal.html"); + htmlFileN.open("HE_PhiSymmetryRecoNoise.html"); + } + if (sub == 3) { + htmlFileT.open("HO_Tile.html"); + htmlFileC.open("HO_Calib.html"); + htmlFileD.open("HO_Drift.html"); + htmlFileP.open("HO_Pedestals.html"); + htmlFileS.open("HO_Shapes.html"); + } + if (sub == 4) { + htmlFileT.open("HF_Tile.html"); + htmlFileC.open("HF_Calib.html"); + htmlFileD.open("HF_Drift.html"); + htmlFileP.open("HF_Pedestals.html"); + htmlFileS.open("HF_Shapes.html"); + htmlFileM.open("HF_PhiSymmetryDigi.html"); + htmlFileR.open("HF_PhiSymmetryRecoSignal.html"); + htmlFileN.open("HF_PhiSymmetryRecoNoise.html"); + } + + // Megatile channels + htmlFileT << "" << std::endl; + htmlFileT << "" << std::endl; + htmlFileT << "" << std::endl; + htmlFileT << " Remote Monitoring Tool " << std::endl; + htmlFileT << "" << std::endl; + htmlFileT << "" << std::endl; + + if (sub == 1) + htmlFileT << "

Criteria for megatile channels for HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileT << "

Criteria for megatile channels for HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 3) + htmlFileT << "

Criteria for megatile channels for HO, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileT << "

Criteria for megatile channels for HF, RUN = " << runnumber << "

" << std::endl; + htmlFileT << "
" << std::endl; + + // Test Entries + + htmlFileT << "

0. Entries for each channel.

" << std::endl; + htmlFileT << "

0.A. Entries in each channel for each depth.

" << std::endl; + htmlFileT << "

Channel legend: color is rate of entries

" << std::endl; + if (sub == 1) + htmlFileT << " " << std::endl; + if (sub == 2) + htmlFileT << " " << std::endl; + if (sub == 3) + htmlFileT << " " << std::endl; + if (sub == 4) + htmlFileT << " " << std::endl; + htmlFileT << "
" << std::endl; + + // Test Cm + htmlFileT << "

1. Cm criterion: CapID errors for each channel.

" << std::endl; + htmlFileT << "

1.A. Rate of CapId failures in each channel for each depth.

" << std::endl; + htmlFileT << "

Channel legend: white - good, other colour - bad.

" << std::endl; + if (sub == 1) + htmlFileT << " " << std::endl; + if (sub == 2) + htmlFileT << " " << std::endl; + if (sub == 3) + htmlFileT << " " << std::endl; + if (sub == 4) + htmlFileT << " " << std::endl; + htmlFileT << "
" << std::endl; + + // Am + htmlFileT << "

2. Am criterion: ADC amplitude collected over all TSs(Full Amplitude) for each channel.

" + << std::endl; + htmlFileT << "

2.A. Full ADC amplitude distribution over all events, channels and depths.

" << std::endl; + htmlFileT << "

Legend: Bins less " << MIN_M[2][sub] << " correpond to bad ADC amplitude

" << std::endl; + if (sub == 1) + htmlFileT << " " << std::endl; + if (sub == 2) + htmlFileT << " " << std::endl; + if (sub == 3) + htmlFileT << " " << std::endl; + if (sub == 4) + htmlFileT << " " << std::endl; + htmlFileT << "
" << std::endl; + htmlFileT << "

2.B. Rate of bad ADC amplitude (<" << MIN_M[2][sub] << ") in each channel for each depth.

" + << std::endl; + htmlFileT << "

Channel legend: white - good, other colours - bad.

" << std::endl; + if (sub == 1) + htmlFileT << " " << std::endl; + if (sub == 2) + htmlFileT << " " << std::endl; + if (sub == 3) + htmlFileT << " " << std::endl; + if (sub == 4) + htmlFileT << " " << std::endl; + htmlFileT << "
" << std::endl; + + // Test Wm + htmlFileT << "

3. Wm criterion: RMS (width) of ADC amplutude for each channel.

" << std::endl; + htmlFileT << "

3.A. RMS distribution over all events, channel and depth.

" << std::endl; + htmlFileT << "

Legend: Bins less " << MIN_M[3][sub] << " and more " << MAX_M[3][sub] + << " correpond to bad RMS

" << std::endl; + if (sub == 1) + htmlFileT << " " << std::endl; + if (sub == 2) + htmlFileT << " " << std::endl; + if (sub == 3) + htmlFileT << " " << std::endl; + if (sub == 4) + htmlFileT << " " << std::endl; + htmlFileT << "
" << std::endl; + htmlFileT << "

3.B. Rate of bad RMS (<" << MIN_M[3][sub] << ",>" << MAX_M[3][sub] + << ") in each channel for each depth.

" << std::endl; + htmlFileT << "

Channel legend: white - good, other colour - bad.

" << std::endl; + if (sub == 1) + htmlFileT << " " << std::endl; + if (sub == 2) + htmlFileT << " " << std::endl; + if (sub == 3) + htmlFileT << " " << std::endl; + if (sub == 4) + htmlFileT << " " << std::endl; + htmlFileT << "
" << std::endl; + + // Rm + htmlFileT << "

4. Rm criterion: Ratio ADC value sum over four near maximum (-2, -1, max, +1) TS to ADC value " + "sum over all TS for each channel.

" + << std::endl; + htmlFileT << "

4.A. Ratio distribution over all events, channels and depths.

" << std::endl; + htmlFileT << "

Legend: Bins less " << MIN_M[4][sub] << " and more " << MAX_M[4][sub] + << " correpond to bad ratio

" << std::endl; + if (sub == 1) + htmlFileT << " " << std::endl; + if (sub == 2) + htmlFileT << " " << std::endl; + if (sub == 3) + htmlFileT << " " << std::endl; + if (sub == 4) + htmlFileT << " " << std::endl; + htmlFileT << "
" << std::endl; + htmlFileT << "

4.B. Rate of bad ratio (<" << MIN_M[4][sub] << ", >" << MAX_M[4][sub] + << ") in each channel for each depth.

" << std::endl; + htmlFileT << "

Channel legend: white - good, other colour - bad.

" << std::endl; + if (sub == 1) + htmlFileT << " " << std::endl; + if (sub == 2) + htmlFileT << " " << std::endl; + if (sub == 3) + htmlFileT << " " << std::endl; + if (sub == 4) + htmlFileT << " " << std::endl; + htmlFileT << "
" << std::endl; + + // TNm + htmlFileT << "

5. TNm criterion: Mean TS position for each channel.

" << std::endl; + htmlFileT << "

5.A. TN position distribution over all events, channels and depths.

" << std::endl; + htmlFileT << "

Legend: Bins less " << MIN_M[5][sub] << " and more " << MAX_M[5][sub] + << " correpond to bad mean position

" << std::endl; + if (sub == 1) + htmlFileT << " " << std::endl; + if (sub == 2) + htmlFileT << " " << std::endl; + if (sub == 3) + htmlFileT << " " << std::endl; + if (sub == 4) + htmlFileT << " " << std::endl; + htmlFileT << "
" << std::endl; + htmlFileT << "

5.B. Rate of bad TN position (<" << MIN_M[5][sub] << ", >" << MAX_M[5][sub] + << ") in each channel for each depth.

" << std::endl; + htmlFileT << "

Channel legend: white - good, other colour - bad.

" << std::endl; + if (sub == 1) + htmlFileT << " " << std::endl; + if (sub == 2) + htmlFileT << " " << std::endl; + if (sub == 3) + htmlFileT << " " << std::endl; + if (sub == 4) + htmlFileT << " " << std::endl; + htmlFileT << "
" << std::endl; + + // TXm + htmlFileT << "

6.TXm criterion: Maximum TS position for each channel.

" << std::endl; + htmlFileT << "

6.A. TX position distribution over all events, channel and depth.

" << std::endl; + htmlFileT << "

Legend: Bins less " << MIN_M[6][sub] << " and more " << MAX_M[6][sub] + << " correpond to bad position

" << std::endl; + if (sub == 1) + htmlFileT << " " << std::endl; + if (sub == 2) + htmlFileT << " " << std::endl; + if (sub == 3) + htmlFileT << " " << std::endl; + if (sub == 4) + htmlFileT << " " << std::endl; + htmlFileT << "
" << std::endl; + htmlFileT << "

6.B. Rate of bad TX position (<" << MIN_M[6][sub] << ", >" << MAX_M[6][sub] + << ") in each channel for each depth.

" << std::endl; + htmlFileT << "

Channel legend: white - good, other colour - bad.

" << std::endl; + if (sub == 1) + htmlFileT << " " << std::endl; + if (sub == 2) + htmlFileT << " " << std::endl; + if (sub == 3) + htmlFileT << " " << std::endl; + if (sub == 4) + htmlFileT << " " << std::endl; + htmlFileT << "
" << std::endl; + + htmlFileT << " " << std::endl; + htmlFileT << " " << std::endl; + htmlFileT.close(); + + //Calibration channels + htmlFileC << "" << std::endl; + htmlFileC << "" << std::endl; + htmlFileC << "" << std::endl; + htmlFileC << " Raw Data Analyser " << std::endl; + htmlFileC << "" << std::endl; + htmlFileC << "" << std::endl; + + if (sub == 1) + htmlFileC << "

Criteria for calibration channels for HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileC << "

Criteria for calibration channels for HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 3) + htmlFileC << "

Criteria for calibration channels for HO, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileC << "

Criteria for calibration channels for HF, RUN = " << runnumber << "

" << std::endl; + htmlFileC << "
" << std::endl; + + // Test Entries + + htmlFileC << "

0. Entries for each channel.

" << std::endl; + htmlFileC << "

0.A. Entries in each channel for each depth.

" << std::endl; + htmlFileC << "

Channel legend: color is rate of entries

" << std::endl; + if (sub == 1) + htmlFileC << " " << std::endl; + if (sub == 2) + htmlFileC << " " << std::endl; + if (sub == 3) + htmlFileC << " " << std::endl; + if (sub == 4) + htmlFileC << " " << std::endl; + htmlFileC << "
" << std::endl; + + // Test Cc + htmlFileC << "

1. Cc criterion: CapID errors for each channel.

" << std::endl; + htmlFileC << "

1.A. Rate of CapId failures in each channel for each depth.

" << std::endl; + htmlFileC << "

Channel legend: white - good, other colour - bad.

" << std::endl; + if (sub == 1) + htmlFileC << " " << std::endl; + if (sub == 2) + htmlFileC << " " << std::endl; + if (sub == 3) + htmlFileC << " " << std::endl; + if (sub == 4) + htmlFileC << " " << std::endl; + htmlFileC << "
" << std::endl; + + // Ac + htmlFileC << "

2. Ac criterion: ADC amplitude collected over all TSs(Full Amplitude) for each channel.

" + << std::endl; + htmlFileC << "

2.A. Full ADC amplitude distribution over all events, channels and depths.

" << std::endl; + htmlFileC << "

Legend: Bins less " << MIN_C[2][sub] << " correpond to bad ADC amplitude

" << std::endl; + if (sub == 1) + htmlFileC << " " << std::endl; + if (sub == 2) + htmlFileC << " " << std::endl; + if (sub == 3) + htmlFileC << " " << std::endl; + if (sub == 4) + htmlFileC << " " << std::endl; + htmlFileC << "
" << std::endl; + htmlFileC << "

2.B. Rate of bad ADC amplitude (<" << MIN_C[2][sub] << ") in each channel for each depth.

" + << std::endl; + htmlFileC << "

Channel legend: white - good, other colours - bad.

" << std::endl; + if (sub == 1) + htmlFileC << " " << std::endl; + if (sub == 2) + htmlFileC << " " << std::endl; + if (sub == 3) + htmlFileC << " " << std::endl; + if (sub == 4) + htmlFileC << " " << std::endl; + htmlFileC << "
" << std::endl; + + // Test Wc + htmlFileC << "

3. Wc criterion: RMS (width) of ADC amplutude for each channel.

" << std::endl; + htmlFileC << "

3.A. W distribution over all events, channel and depth.

" << std::endl; + htmlFileC << "

Legend: Bins less " << MIN_C[3][sub] << " and more " << MAX_C[3][sub] + << " correpond to bad RMS

" << std::endl; + if (sub == 1) + htmlFileC << " " << std::endl; + if (sub == 2) + htmlFileC << " " << std::endl; + if (sub == 3) + htmlFileC << " " << std::endl; + if (sub == 4) + htmlFileC << " " << std::endl; + htmlFileC << "
" << std::endl; + htmlFileC << "

3.B. Rate of bad W (<" << MIN_C[3][sub] << ",>" << MAX_C[3][sub] + << ") in each channel for each depth.

" << std::endl; + htmlFileC << "

Channel legend: white - good, other colour - bad.

" << std::endl; + if (sub == 1) + htmlFileC << " " << std::endl; + if (sub == 2) + htmlFileC << " " << std::endl; + if (sub == 3) + htmlFileC << " " << std::endl; + if (sub == 4) + htmlFileC << " " << std::endl; + htmlFileC << "
" << std::endl; + + // Rc + htmlFileC << "

4. Rc criterion: Ratio ADC value sum over five near maximum (-2, -1, max, +1, +2) TS to ADC " + "value sum over all TS for each channel.

" + << std::endl; + htmlFileC << "

4.A. Ratio distribution over all events, channels and depths.

" << std::endl; + htmlFileC << "

Legend: Bins less " << MIN_C[4][sub] << " and more " << MAX_C[4][sub] + << " correpond to bad ratio

" << std::endl; + if (sub == 1) + htmlFileC << " " << std::endl; + if (sub == 2) + htmlFileC << " " << std::endl; + if (sub == 3) + htmlFileC << " " << std::endl; + if (sub == 4) + htmlFileC << " " << std::endl; + htmlFileC << "
" << std::endl; + htmlFileC << "

4.B. Rate of bad Ratio (<" << MIN_C[4][sub] << ", >" << MAX_C[4][sub] + << ") in each channel for each depth.

" << std::endl; + htmlFileC << "

Channel legend: white - good, other colour - bad.

" << std::endl; + if (sub == 1) + htmlFileC << " " << std::endl; + if (sub == 2) + htmlFileC << " " << std::endl; + if (sub == 3) + htmlFileC << " " << std::endl; + if (sub == 4) + htmlFileC << " " << std::endl; + htmlFileC << "
" << std::endl; + + // TNc + htmlFileC << "

5. TNc criterion: Mean TS position for each channel.

" << std::endl; + htmlFileC << "

5.A. TN position distribution over all events, channels and depths.

" << std::endl; + htmlFileC << "

Legend: Bins less " << MIN_C[5][sub] << " and more " << MAX_C[5][sub] + << " correpond to bad position

" << std::endl; + if (sub == 1) + htmlFileC << " " << std::endl; + if (sub == 2) + htmlFileC << " " << std::endl; + if (sub == 3) + htmlFileC << " " << std::endl; + if (sub == 4) + htmlFileC << " " << std::endl; + htmlFileC << "
" << std::endl; + htmlFileC << "

5.B. Rate of bad TN position (<" << MIN_C[5][sub] << ", >" << MAX_C[5][sub] + << ") in each channel for each depth.

" << std::endl; + htmlFileC << "

Channel legend: white - good, other colour - bad.

" << std::endl; + if (sub == 1) + htmlFileC << " " << std::endl; + if (sub == 2) + htmlFileC << " " << std::endl; + if (sub == 3) + htmlFileC << " " << std::endl; + if (sub == 4) + htmlFileC << " " << std::endl; + htmlFileC << "
" << std::endl; + + // TXm + htmlFileC << "

6.TXc criterion: Maximum TS position for each channel.

" << std::endl; + htmlFileC << "

6.A. TX position distribution over all events, channel and depth.

" << std::endl; + htmlFileC << "

Legend: Bins less " << MIN_C[6][sub] << " and more " << MAX_C[6][sub] + << " correpond to bad position

" << std::endl; + if (sub == 1) + htmlFileC << " " << std::endl; + if (sub == 2) + htmlFileC << " " << std::endl; + if (sub == 3) + htmlFileC << " " << std::endl; + if (sub == 4) + htmlFileC << " " << std::endl; + htmlFileC << "
" << std::endl; + htmlFileC << "

6.B. Rate of bad TX position (<" << MIN_C[6][sub] << ", >" << MAX_C[6][sub] + << ") in each channel for each depth.

" << std::endl; + htmlFileC << "

Channel legend: white - good, other colour - bad.

" << std::endl; + if (sub == 1) + htmlFileC << " " << std::endl; + if (sub == 2) + htmlFileC << " " << std::endl; + if (sub == 3) + htmlFileC << " " << std::endl; + if (sub == 4) + htmlFileC << " " << std::endl; + htmlFileC << "
" << std::endl; + + htmlFileC << " " << std::endl; + htmlFileC << " " << std::endl; + htmlFileC.close(); + + //Response drift + htmlFileD << "" << std::endl; + htmlFileD << "" << std::endl; + htmlFileD << "" << std::endl; + htmlFileD << " Remore Monitoring Tool " << std::endl; + htmlFileD << "" << std::endl; + htmlFileD << "" << std::endl; + + if (sub == 1) + htmlFileD << "

Response drift for HB: Current RUN = " << runnumber << ", Reference RUN = " << refrunnumber + << "

" << std::endl; + if (sub == 2) + htmlFileD << "

Response drift for HE: Current RUN = " << runnumber << ", Reference RUN = " << refrunnumber + << "

" << std::endl; + if (sub == 3) + htmlFileD << "

Response drift for HO: Current RUN = " << runnumber << ", Reference RUN = " << refrunnumber + << "

" << std::endl; + if (sub == 4) + htmlFileD << "

Response drift for HF: Current RUN = " << runnumber << ", Reference RUN = " << refrunnumber + << "

" << std::endl; + htmlFileD << "
" << std::endl; + + // test GS + htmlFileD << "

1. Gain Stability (GS)

" << std::endl; + htmlFileD << "

1.A. Averaged channel response, collected over all TS, for Current run in each channel for each " + "depth.

" + << std::endl; + htmlFileD << "

Channel legend: colour means cooresponding value of mean response.

" << std::endl; + if (sub == 1) + htmlFileD << " " << std::endl; + if (sub == 2) + htmlFileD << " " << std::endl; + if (sub == 3) + htmlFileD << " " << std::endl; + if (sub == 4) + htmlFileD << " " << std::endl; + htmlFileD << "
" << std::endl; + htmlFileD << "

1.B. Averaged channel response, collected over all TS, for Reference run in each channel for " + "each depth.

" + << std::endl; + htmlFileD << "

Channel legend: colour means cooresponding value of mean response.

" << std::endl; + if (sub == 1) + htmlFileD << " " << std::endl; + if (sub == 2) + htmlFileD << " " << std::endl; + if (sub == 3) + htmlFileD << " " << std::endl; + if (sub == 4) + htmlFileD << " " << std::endl; + htmlFileD << "
" << std::endl; + htmlFileD << "

1.C. Relative difference between Current and Reference run distribution over all events, " + "channels for each depth.

" + << std::endl; + htmlFileD << "

Legend: Bins less -" << porog[sub] << "% and more +" << porog[sub] + << "% correpond to bad relative difference position

" << std::endl; + if (sub == 1) + htmlFileD << " " << std::endl; + if (sub == 2) + htmlFileD << " " << std::endl; + if (sub == 3) + htmlFileD << " " << std::endl; + if (sub == 4) + htmlFileD << " " << std::endl; + htmlFileD << "
" << std::endl; + htmlFileD << "

1.D. Rate of bad relative difference (<-" << porog[sub] << ", >+" << porog[sub] + << ") in each channel for each depth.

" << std::endl; + htmlFileD << "

Channel legend: white - good, other colour - bad.

" << std::endl; + if (sub == 1) + htmlFileD << " " << std::endl; + if (sub == 2) + htmlFileD << " " << std::endl; + if (sub == 3) + htmlFileD << " " << std::endl; + if (sub == 4) + htmlFileD << " " << std::endl; + htmlFileD << "
" << std::endl; + + htmlFileD << " " << std::endl; + htmlFileD << " " << std::endl; + htmlFileD.close(); + + // Pedestals + htmlFileP << "" << std::endl; + htmlFileP << "" << std::endl; + htmlFileP << "" << std::endl; + htmlFileP << " Remote Monitoring Tool " << std::endl; + htmlFileP << "" << std::endl; + htmlFileP << "" << std::endl; + + if (sub == 1) + htmlFileP << "

Pedestals for HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileP << "

Pedestals for HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 3) + htmlFileP << "

Pedestals for HO, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileP << "

Pedestals for HF, RUN = " << runnumber << "

" << std::endl; + htmlFileP << "
" << std::endl; + + // Pedestal: + htmlFileP << "

1.Pm criterion: Pedestals for each CapID .

" << std::endl; + htmlFileP << "

1.A. Pedestal distribution over all events, channels for each CapID and all depths.

" + << std::endl; + htmlFileP << "

Legend: Bins less " << Pedest[0][sub] << " correpond to bad Pedestals

" << std::endl; + if (sub == 1) + htmlFileP << " " << std::endl; + if (sub == 2) + htmlFileP << " " << std::endl; + if (sub == 3) + htmlFileP << " " << std::endl; + if (sub == 4) + htmlFileP << " " << std::endl; + htmlFileP << "
" << std::endl; + htmlFileP << "

1.B. Rate of channels at very low Pedestals at least in one CapID for each depth.

" + << std::endl; + htmlFileP << "

Channel legend: white - good, other colour - bad.

" << std::endl; + if (sub == 1) + htmlFileP << " " << std::endl; + if (sub == 2) + htmlFileP << " " << std::endl; + if (sub == 3) + htmlFileP << " " << std::endl; + if (sub == 4) + htmlFileP << " " << std::endl; + + // PedestalWidth: + htmlFileP << "

2.pWm criterion: Pedestal Widths for each CapID .

" << std::endl; + htmlFileP << "

2.A. Pedestal Widths distribution over all events, channels for each CapID and all depths.

" + << std::endl; + htmlFileP << "

Legend: Bins less " << Pedest[1][sub] << " correpond to bad Pedestal Widths

" << std::endl; + if (sub == 1) + htmlFileP << " " << std::endl; + if (sub == 2) + htmlFileP << " " << std::endl; + if (sub == 3) + htmlFileP << " " << std::endl; + if (sub == 4) + htmlFileP << " " << std::endl; + htmlFileP << "
" << std::endl; + htmlFileP << "

2.B. Rate of channels at very low Pedestal Widths at least in one CapID for each depth.

" + << std::endl; + htmlFileP << "

Channel legend: white - good, other colour - bad.

" << std::endl; + if (sub == 1) + htmlFileP << " " << std::endl; + if (sub == 2) + htmlFileP << " " << std::endl; + if (sub == 3) + htmlFileP << " " << std::endl; + if (sub == 4) + htmlFileP << " " << std::endl; + + // Correlations of Pedestal(Width) and fullAmplitude: + htmlFileP << "

3.Pedestal and pedestalWidths vs Amplitude .

" << std::endl; + htmlFileP << "

3.A. Correlation of Pedestal(pedestalWidths) and Amplitude over all channels and events .

" + << std::endl; + htmlFileP << "

Legend: colour - entries

" << std::endl; + if (sub == 1) + htmlFileP << "" << std::endl; + if (sub == 2) + htmlFileP << "" << std::endl; + if (sub == 3) + htmlFileP << "" << std::endl; + if (sub == 4) + htmlFileP << "" << std::endl; + htmlFileP << "
" << std::endl; + htmlFileP.close(); + + // TSs Shapes: + + htmlFileS << "" << std::endl; + htmlFileS << "" << std::endl; + htmlFileS << "" << std::endl; + htmlFileS << " Remote Monitoring Tool " << std::endl; + htmlFileS << "" << std::endl; + htmlFileS << "" << std::endl; + + if (sub == 1) + htmlFileS << "

ADC Shape for HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileS << "

ADC Shape for HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 3) + htmlFileS << "

ADC Shape for HO, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileS << "

ADC Shape for HF, RUN = " << runnumber << "

" << std::endl; + htmlFileS << "
" << std::endl; + + htmlFileS << "

1.Mean ADC Shape.

" << std::endl; + htmlFileS << "

1.A. ADC shape averaged over all good channels, depth and events.

" << std::endl; + // htmlFileS << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileS << " " << std::endl; + if (sub == 2) + htmlFileS << " " << std::endl; + if (sub == 3) + htmlFileS << " " << std::endl; + if (sub == 4) + htmlFileS << " " << std::endl; + htmlFileS << "
" << std::endl; + htmlFileS << "

1.B. ADC shape averaged over all bad channels, depth and events. Bad channels are selected by 5 " + "criteria: CapId, A, W, P, Pw

" + << std::endl; + // htmlFileS << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileS << " " << std::endl; + if (sub == 2) + htmlFileS << " " << std::endl; + if (sub == 3) + htmlFileS << " " << std::endl; + if (sub == 4) + htmlFileS << " " << std::endl; + /* htmlFileS << "

2. ADC in Time Slice

"<< std::endl; htmlFileS << "

2.A. ADC counts histogrammed over all channels, depth and events.

"<< std::endl; // htmlFileS << "

Legend: Bins less "<"<< std::endl; @@ -15977,928 +22228,1242 @@ std::cout<<" We are here to print ADC "<" << std::endl; if (sub==4) htmlFileS << " " << std::endl; */ - htmlFileS.close(); - - /////////////////////////////////////////// - - - -//////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: - -///////////////////////////////////////////////////////////////////////////////////////////////////////// Digis - - htmlFileM << ""<< std::endl; - htmlFileM << ""<< std::endl; - htmlFileM << ""<< std::endl; - htmlFileM << " Remote Monitoring Tool "<< std::endl; - htmlFileM << ""<< std::endl; - htmlFileM << ""<< std::endl; - - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - - if (sub==1) htmlFileM << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileM << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileM << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileM << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; -// htmlFileM << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - - /////////////////////////////////////////////// R different Depthes: - htmlFileM << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileM << "

1C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

1D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

1E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

1F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - if (sub==2) htmlFileM << "

1G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - if (sub==2) htmlFileM << "

1H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - if (sub==2) htmlFileM << "

1I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileM << "

2: D(digivarianceSignalhe)

"<< std::endl; - htmlFileM << "

2A: eta/phi-plot: D(digivarianceSignalhe), averaged over depthes

"<< std::endl; -// htmlFileM << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

2B: D(digivarianceSignalhe) vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - ///////////////////////////////////////////////D different Depthes: - htmlFileM << "

Positive direction, D(digivarianceSignalhe)

"<< std::endl; - htmlFileM << "

2C: D(digivarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

2.D. D(digivarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

2E: D(digivarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

2F: D(digivarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - if (sub==2) htmlFileM << "

2G: D(digivarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - if (sub==2) htmlFileM << "

2H: D(digivarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - if (sub==2) htmlFileM << "

2I: D(digivarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - /////////////////////////////////////////// NegativeDirection: - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - htmlFileM << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - - /////////////////////////////////////////////// different Depthes: - htmlFileM << "

3C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

3D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

3E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

3F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - if (sub==2) htmlFileM << "

3G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - if (sub==2) htmlFileM << "

3H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - if (sub==2) htmlFileM << "

3I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileM << "

4: Negative direction, D(digivarianceSignalhe)

"<< std::endl; - /////////////////////////////////////////////// different Depthes: - htmlFileM << "

4C: D(digivarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

4.D. D(digivarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

4E: D(digivarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - htmlFileM << "

4F: D(digivarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileM << " " << std::endl; - if (sub==2) htmlFileM << " " << std::endl; - if (sub==4) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - if (sub==2) htmlFileM << "

4G: D(digivarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - if (sub==2) htmlFileM << "

4H: D(digivarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - - if (sub==2) htmlFileM << "

4I: D(digivarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileM << " " << std::endl; - htmlFileM << "
"<< std::endl; - /////////////////////////////////////////// - htmlFileM.close(); - /////////////////////////////////////////// end of Digi - // -////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: -////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: -////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: - - htmlFileR << ""<< std::endl; - htmlFileR << ""<< std::endl; - htmlFileR << ""<< std::endl; - htmlFileR << " Remote Monitoring Tool "<< std::endl; - htmlFileR << ""<< std::endl; - htmlFileR << ""<< std::endl; - - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - - if (sub==1) htmlFileR << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileR << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileR << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileR << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; -// htmlFileR << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - - /////////////////////////////////////////////// R different Depthes: - htmlFileR << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileR << "

1C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

1D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

1E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

1F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

1G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

1H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

1I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileR << "

2: D(recosignalvarianceSignalhe)

"<< std::endl; - htmlFileR << "

2A: eta/phi-plot: D(recosignalvarianceSignalhe), averaged over depthes

"<< std::endl; -// htmlFileR << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

2B: D(recosignalvarianceSignalhe) vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - ///////////////////////////////////////////////D different Depthes: - htmlFileR << "

Positive direction, D(recosignalvarianceSignalhe)

"<< std::endl; - htmlFileR << "

2C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

2.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

2E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

2F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

2G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

2H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

2I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - /////////////////////////////////////////// NegativeDirection: - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - htmlFileR << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - - /////////////////////////////////////////////// different Depthes: - htmlFileR << "

3C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

3D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

3E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

3F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

3G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

3H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

3I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileR << "

4: Negative direction, D(recosignalvarianceSignalhe)

"<< std::endl; - /////////////////////////////////////////////// different Depthes: - htmlFileR << "

4C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - htmlFileR << "

4.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - if (sub==4) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

4E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileR << "

4F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileR << " " << std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

4G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

4H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - - if (sub==2) htmlFileR << "

4I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileR << " " << std::endl; - htmlFileR << "
"<< std::endl; - /////////////////////////////////////////// - htmlFileR.close(); - /////////////////////////////////////////// end of Recosignal - // -////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: -////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: -////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: - - htmlFileN << ""<< std::endl; - htmlFileN << ""<< std::endl; - htmlFileN << ""<< std::endl; - htmlFileN << " Remote Monitoring Tool "<< std::endl; - htmlFileN << ""<< std::endl; - htmlFileN << ""<< std::endl; - - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - - if (sub==1) htmlFileN << "

Phi-symmetry for Calibration Group, HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileN << "

Phi-symmetry for Calibration Group, HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileN << "

Phi-symmetry for Calibration Group, HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileN << "

1A: eta/phi-plot: R, averaged over depthes

"<< std::endl; -// htmlFileN << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

1B: R vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - - /////////////////////////////////////////////// R different Depthes: - htmlFileN << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - htmlFileN << "

1C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

1D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

1E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

1F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

1G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

1H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

1I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileN << "

2: D(reconoisevarianceNoisehe)

"<< std::endl; - htmlFileN << "

2A: eta/phi-plot: D(reconoisevarianceNoisehe), averaged over depthes

"<< std::endl; -// htmlFileN << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

2B: D(reconoisevarianceNoisehe) vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// PositiveDirection: - ///////////////////////////////////////////////D different Depthes: - htmlFileN << "

Positive direction, D(reconoisevarianceNoisehe)

"<< std::endl; - htmlFileN << "

2C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

2.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

2E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

2F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

2G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

2H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

2I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - /////////////////////////////////////////// NegativeDirection: - /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR - htmlFileN << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

"<< std::endl; - - /////////////////////////////////////////////// different Depthes: - htmlFileN << "

3C: R vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

3D: R vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

3E: R vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

3F: R vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

3G: R vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

3H: R vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

3I: R vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD - htmlFileN << "

4: Negative direction, D(reconoisevarianceNoisehe)

"<< std::endl; - /////////////////////////////////////////////// different Depthes: - htmlFileN << "

4C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

4.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

4E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

4F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

4G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

4H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

4I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - /////////////////////////////////////////// - - - - /////////////////////////////////////////////// DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF - - if (sub==1) htmlFileN << "

Only for Noise RecHits these lines below, HB, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFileN << "

Only for Noise RecHits these lines below, HE, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFileN << "

Only for Noise RecHits these lines below, HF, RUN = "<< runnumber <<"

"<< std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5: DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; - htmlFileN << "

5A: eta/phi-plot: DIF, averaged over depthes

"<< std::endl; -// htmlFileN << "

Legend: Bins less "<"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5B: DIF vs phi , averaged over depthes & eta

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// DIF PositiveDirection: - - /////////////////////////////////////////////// DIF different Depthes: - htmlFileN << "

Positive direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; - htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

1E: DIF vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// DIF NegativeDirection: - - /////////////////////////////////////////////// DIF different Depthes: - htmlFileN << "

Negative direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

"<< std::endl; - htmlFileN << "

5C: DIF vs phi , different eta, Depth1

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - htmlFileN << "

5D: DIF vs phi , different eta, Depth2

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - if (sub==4) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

5E: DIF vs phi , different eta, Depth3

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==1 || sub==2) htmlFileN << "

5F: DIF vs phi , different eta, Depth4

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==1) htmlFileN << " " << std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5G: DIF vs phi , different eta, Depth5

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5H: DIF vs phi , different eta, Depth6

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - if (sub==2) htmlFileN << "

5I: DIF vs phi , different eta, Depth7

"<< std::endl; -// htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; - if (sub==2) htmlFileN << " " << std::endl; - htmlFileN << "
"<< std::endl; - - - /////////////////////////////////////////// end of Reconoise - - // - // - htmlFileN.close(); - - /////////////////////////////////////////// end of Reconoise - /////////////////////////////////////////// end of Reconoise - + htmlFileS.close(); + + /////////////////////////////////////////// + + //////////////////////////////////////////////////////////////////////////////////////////////////// Phi-symmetry for Calibration Group: + + ///////////////////////////////////////////////////////////////////////////////////////////////////////// Digis + + htmlFileM << "" << std::endl; + htmlFileM << "" << std::endl; + htmlFileM << "" << std::endl; + htmlFileM << " Remote Monitoring Tool " << std::endl; + htmlFileM << "" << std::endl; + htmlFileM << "" << std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub == 1) + htmlFileM << "

Phi-symmetry for Calibration Group, HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileM << "

Phi-symmetry for Calibration Group, HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileM << "

Phi-symmetry for Calibration Group, HF, RUN = " << runnumber << "

" << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileM << "

1A: eta/phi-plot: R, averaged over depthes

" << std::endl; + // htmlFileM << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

1B: R vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileM << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileM << "

1C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

1D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

1E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

1F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + if (sub == 2) + htmlFileM << "

1G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + if (sub == 2) + htmlFileM << "

1H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + if (sub == 2) + htmlFileM << "

1I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileM << "

2: D(digivarianceSignalhe)

" << std::endl; + htmlFileM << "

2A: eta/phi-plot: D(digivarianceSignalhe), averaged over depthes

" << std::endl; + // htmlFileM << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

2B: D(digivarianceSignalhe) vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileM << "

Positive direction, D(digivarianceSignalhe)

" << std::endl; + htmlFileM << "

2C: D(digivarianceSignalhe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

2.D. D(digivarianceSignalhe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

2E: D(digivarianceSignalhe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

2F: D(digivarianceSignalhe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + if (sub == 2) + htmlFileM << "

2G: D(digivarianceSignalhe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + if (sub == 2) + htmlFileM << "

2H: D(digivarianceSignalhe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + if (sub == 2) + htmlFileM << "

2I: D(digivarianceSignalhe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileM << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" + << std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileM << "

3C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

3D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

3E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

3F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + if (sub == 2) + htmlFileM << "

3G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + if (sub == 2) + htmlFileM << "

3H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + if (sub == 2) + htmlFileM << "

3I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileM << "

4: Negative direction, D(digivarianceSignalhe)

" << std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileM << "

4C: D(digivarianceSignalhe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

4.D. D(digivarianceSignalhe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

4E: D(digivarianceSignalhe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + htmlFileM << "

4F: D(digivarianceSignalhe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileM << " " << std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + if (sub == 4) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + if (sub == 2) + htmlFileM << "

4G: D(digivarianceSignalhe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + if (sub == 2) + htmlFileM << "

4H: D(digivarianceSignalhe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + + if (sub == 2) + htmlFileM << "

4I: D(digivarianceSignalhe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileM << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileM << " " << std::endl; + htmlFileM << "
" << std::endl; + /////////////////////////////////////////// + htmlFileM.close(); + /////////////////////////////////////////// end of Digi + // + ////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoSignal: + + htmlFileR << "" << std::endl; + htmlFileR << "" << std::endl; + htmlFileR << "" << std::endl; + htmlFileR << " Remote Monitoring Tool " << std::endl; + htmlFileR << "" << std::endl; + htmlFileR << "" << std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub == 1) + htmlFileR << "

Phi-symmetry for Calibration Group, HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileR << "

Phi-symmetry for Calibration Group, HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileR << "

Phi-symmetry for Calibration Group, HF, RUN = " << runnumber << "

" << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileR << "

1A: eta/phi-plot: R, averaged over depthes

" << std::endl; + // htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

1B: R vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileR << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileR << "

1C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

1D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

1E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

1F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

1G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

1H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

1I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

2: D(recosignalvarianceSignalhe)

" << std::endl; + htmlFileR << "

2A: eta/phi-plot: D(recosignalvarianceSignalhe), averaged over depthes

" << std::endl; + // htmlFileR << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

2B: D(recosignalvarianceSignalhe) vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileR << "

Positive direction, D(recosignalvarianceSignalhe)

" << std::endl; + htmlFileR << "

2C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

2.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

2E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

2F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

2G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

2H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

2I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileR << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" + << std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

3C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

3D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

3E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

3F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

3G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

3H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

3I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileR << "

4: Negative direction, D(recosignalvarianceSignalhe)

" << std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileR << "

4C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + htmlFileR << "

4.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + if (sub == 4) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

4E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileR << "

4F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileR << " " << std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

4G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

4H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + + if (sub == 2) + htmlFileR << "

4I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileR << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileR << " " << std::endl; + htmlFileR << "
" << std::endl; + /////////////////////////////////////////// + htmlFileR.close(); + /////////////////////////////////////////// end of Recosignal + // + ////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + ////////////////////////////////////////////////////////////////////////////////////////////// RecoNoise: + + htmlFileN << "" << std::endl; + htmlFileN << "" << std::endl; + htmlFileN << "" << std::endl; + htmlFileN << " Remote Monitoring Tool " << std::endl; + htmlFileN << "" << std::endl; + htmlFileN << "" << std::endl; + + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + + if (sub == 1) + htmlFileN << "

Phi-symmetry for Calibration Group, HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileN << "

Phi-symmetry for Calibration Group, HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileN << "

Phi-symmetry for Calibration Group, HF, RUN = " << runnumber << "

" << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileN << "

1A: eta/phi-plot: R, averaged over depthes

" << std::endl; + // htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

1B: R vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + + /////////////////////////////////////////////// R different Depthes: + htmlFileN << "

Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" << std::endl; + htmlFileN << "

1C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

1D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

1E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

1F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

1G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

1H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

1I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

2: D(reconoisevarianceNoisehe)

" << std::endl; + htmlFileN << "

2A: eta/phi-plot: D(reconoisevarianceNoisehe), averaged over depthes

" << std::endl; + // htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

2B: D(reconoisevarianceNoisehe) vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// PositiveDirection: + ///////////////////////////////////////////////D different Depthes: + htmlFileN << "

Positive direction, D(reconoisevarianceNoisehe)

" << std::endl; + htmlFileN << "

2C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

2.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

2E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

2F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

2G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

2H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

2I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// NegativeDirection: + /////////////////////////////////////////////// RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR + htmlFileN << "

3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta

" + << std::endl; + + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

3C: R vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

3D: R vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

3E: R vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

3F: R vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

3G: R vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

3H: R vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

3I: R vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////////// DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD + htmlFileN << "

4: Negative direction, D(reconoisevarianceNoisehe)

" << std::endl; + /////////////////////////////////////////////// different Depthes: + htmlFileN << "

4C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

4.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

4E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

4F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

4G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

4H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

4I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + /////////////////////////////////////////// + + /////////////////////////////////////////////// DIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIFDIF + + if (sub == 1) + htmlFileN << "

Only for Noise RecHits these lines below, HB, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFileN << "

Only for Noise RecHits these lines below, HE, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFileN << "

Only for Noise RecHits these lines below, HF, RUN = " << runnumber << "

" << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5: DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

" << std::endl; + htmlFileN << "

5A: eta/phi-plot: DIF, averaged over depthes

" << std::endl; + // htmlFileN << "

Legend: Bins less "<"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5B: DIF vs phi , averaged over depthes & eta

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// DIF PositiveDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Positive direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

" + << std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

1E: DIF vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

5F: DIF vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5G: DIF vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5H: DIF vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5I: DIF vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// DIF NegativeDirection: + + /////////////////////////////////////////////// DIF different Depthes: + htmlFileN << "

Negative direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta

" + << std::endl; + htmlFileN << "

5C: DIF vs phi , different eta, Depth1

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + htmlFileN << "

5D: DIF vs phi , different eta, Depth2

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + if (sub == 4) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

5E: DIF vs phi , different eta, Depth3

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 1 || sub == 2) + htmlFileN << "

5F: DIF vs phi , different eta, Depth4

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 1) + htmlFileN << " " << std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5G: DIF vs phi , different eta, Depth5

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5H: DIF vs phi , different eta, Depth6

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + if (sub == 2) + htmlFileN << "

5I: DIF vs phi , different eta, Depth7

" << std::endl; + // htmlFileN << "

Channel legend: white - good, other colour - bad.

"<< std::endl; + if (sub == 2) + htmlFileN << " " << std::endl; + htmlFileN << "
" << std::endl; + + /////////////////////////////////////////// end of Reconoise + + // + // + htmlFileN.close(); + + /////////////////////////////////////////// end of Reconoise + /////////////////////////////////////////// end of Reconoise + + // + // + } // end sub //for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + //====================================================================== - - - // - // - }// end sub //for (int sub=1;sub<=4;sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO - - - -//====================================================================== - - std::cout<<"********"<"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << " Remote Monitoring Tool "<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - if (sub==1) htmlFile << "

HCAL BARREL, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==2) htmlFile << "

HCAL ENDCAP, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==3) htmlFile << "

HCAL OUTER, RUN = "<< runnumber <<"

"<< std::endl; - if (sub==4) htmlFile << "

HCAL FORWARD, RUN = "<< runnumber <<"

"<< std::endl; - htmlFile << "
"<< std::endl; - if (sub==1) htmlFile << "

1. Analysis results for HB

"<< std::endl; - if (sub==2) htmlFile << "

1. Analysis results for HE

"<< std::endl; - if (sub==3) htmlFile << "

1. Analysis results for HO

"<< std::endl; - if (sub==4) htmlFile << "

1. Analysis results for HF

"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - - - if (sub==1) { - - - /* + std::cout << "********" << std::endl; + std::cout << "************ Start creating subdet html pages: - rather long time needed, waiting please" + << std::endl; + //====================================================================== + // Creating subdet html pages: + + for (int sub = 1; sub <= 4; sub++) { //Subdetector: 1-HB, 2-HE, 3-HF, 4-HO + ofstream htmlFile; + if (sub == 1) + htmlFile.open("HB.html"); + if (sub == 2) + htmlFile.open("HE.html"); + if (sub == 3) + htmlFile.open("HO.html"); + if (sub == 4) + htmlFile.open("HF.html"); + + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << " Remote Monitoring Tool " << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + if (sub == 1) + htmlFile << "

HCAL BARREL, RUN = " << runnumber << "

" << std::endl; + if (sub == 2) + htmlFile << "

HCAL ENDCAP, RUN = " << runnumber << "

" << std::endl; + if (sub == 3) + htmlFile << "

HCAL OUTER, RUN = " << runnumber << "

" << std::endl; + if (sub == 4) + htmlFile << "

HCAL FORWARD, RUN = " << runnumber << "

" << std::endl; + htmlFile << "
" << std::endl; + if (sub == 1) + htmlFile << "

1. Analysis results for HB

" << std::endl; + if (sub == 2) + htmlFile << "

1. Analysis results for HE

" << std::endl; + if (sub == 3) + htmlFile << "

1. Analysis results for HO

" << std::endl; + if (sub == 4) + htmlFile << "

1. Analysis results for HF

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "" << std::endl; + + if (sub == 1) { + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; @@ -16909,24 +23474,25 @@ std::cout<<" We are here to print ADC "<Phi-symmetryRecoNoise"<< std::endl; */ - - - - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - - } - if (sub==2) { - - - /* + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + } + if (sub == 2) { + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; @@ -16937,40 +23503,45 @@ std::cout<<" We are here to print ADC "<Phi-symmetryRecoNoise"<< std::endl; */ - - - - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - - } - if (sub==3) { - /* + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + } + if (sub == 3) { + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; */ - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - } - - - - if (sub==4) { + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + } - /* + if (sub == 4) { + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; @@ -16981,136 +23552,154 @@ std::cout<<" We are here to print ADC "<Phi-symmetryRecoNoise"<< std::endl; */ + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + } + + htmlFile << "" << std::endl; + htmlFile << "
Megatile ChannelsCalibration ChannelsGain StabilityMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesPhi-SymmetryDigiPhi-SymmetryRecoSignalPhi-SymmetryRecoNoiseMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesPhi-SymmetryDigiPhi-SymmetryRecoSignalPhi-SymmetryRecoNoiseMegatile ChannelsCalibration ChannelsGain StabilityMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesPhi-symmetryDigiPhi-symmetryRecoSignalPhi-symmetryRecoNoiseMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesPhi-symmetryDigiPhi-symmetryRecoSignalPhi-symmetryRecoNoiseMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesMegatile ChannelsCalibration ChannelsGain StabilityMegatile ChannelsCalibration ChannelsGain StabilityPedestalsADC ShapesPhi-symmetryDigiPhi-symmetryRecoSignalPhi-symmetryRecoNoise
" << std::endl; + htmlFile << "
" << std::endl; - - htmlFile << " Megatile Channels"<< std::endl; - htmlFile << " Calibration Channels"<< std::endl; - htmlFile << " Gain Stability"<< std::endl; - htmlFile << " Pedestals"<< std::endl; - htmlFile << " ADC Shapes"<< std::endl; - htmlFile << " Phi-symmetryDigi"<< std::endl; - htmlFile << " Phi-symmetryRecoSignal"<< std::endl; - htmlFile << " Phi-symmetryRecoNoise"<< std::endl; - - - } - - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << "
"<< std::endl; - - - htmlFile << " " << std::endl; - htmlFile << " " << std::endl; - htmlFile.close(); + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); } - -//====================================================================== - - - std::cout<<"********"<"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << " Remote Monitoring Tool "<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << "

Description of Remote Monitoring Tool criteria for bad channel selection

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- C means CAPID Errors assuming we inspect CAPID non-rotation,error & validation bits, and for this criterion - no need to apply any cuts to select bcs.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- A means full amplitude, collected over all time slices

"<< std::endl; - htmlFile << "

- R means ratio criterion where we define as a bad, the channels, for which the signal portion in 4 middle TSs(plus one, minus two around TS with maximal amplitude) is out of some range of reasonable values

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- W means width of shape distribution. Width is defined as square root from dispersion.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- TN means mean time position of adc signal.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- TX means TS number of maximum signal

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- m means megatile channels. For example Am means Amplitude criteria for megatile channels

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- c means calibration channels. For example Ac means Amplitude criteria for calibration channels

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- Pm means Pedestals.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << "

- pWm means pedestal Width.

"<< std::endl; - htmlFile << "
"<< std::endl; - htmlFile << " " << std::endl; - htmlFile << " " << std::endl; - htmlFile.close(); - -//====================================================================== - - std::cout<<"********"<"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << " Remote Monitoring Tool "<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - - htmlFile << "

Remote Monitoring Tool, RUN = "<< runnumber <<".

"<< std::endl; - htmlFile << "
"<< std::endl; - - htmlFile << "

1. Analysis results for subdetectors

"<< std::endl; - htmlFile << ""<< std::endl; - htmlFile << ""<< std::endl; - - /* + + //====================================================================== + + std::cout << "********" << std::endl; + std::cout << "************ Start creating description HELP html file:" << std::endl; + //====================================================================== + // Creating description html file: + ofstream htmlFile; + htmlFile.open("HELP.html"); + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << " Remote Monitoring Tool " << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "

Description of Remote Monitoring Tool criteria for bad channel selection

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- C means CAPID Errors assuming we inspect CAPID non-rotation,error & validation bits, and for " + "this criterion - no need to apply any cuts to select bcs.

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- A means full amplitude, collected over all time slices

" << std::endl; + htmlFile << "

- R means ratio criterion where we define as a bad, the channels, for which the signal portion in " + "4 middle TSs(plus one, minus two around TS with maximal amplitude) is out of some range of reasonable " + "values

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- W means width of shape distribution. Width is defined as square root from dispersion.

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- TN means mean time position of adc signal.

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- TX means TS number of maximum signal

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- m means megatile channels. For example Am means Amplitude criteria for megatile channels

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile + << "

- c means calibration channels. For example Ac means Amplitude criteria for calibration channels

" + << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- Pm means Pedestals.

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "

- pWm means pedestal Width.

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + + //====================================================================== + + std::cout << "********" << std::endl; + std::cout << "************ Start creating MAP html file: - rather long time needed, waiting please" << std::endl; + //====================================================================== + // Creating main html file: + htmlFile.open("MAP.html"); + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << " Remote Monitoring Tool " << std::endl; + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + + htmlFile << "

Remote Monitoring Tool, RUN = " << runnumber << ".

" << std::endl; + htmlFile << "
" << std::endl; + + htmlFile << "

1. Analysis results for subdetectors

" << std::endl; + htmlFile << "
" << std::endl; + htmlFile << "" << std::endl; + + /* htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; htmlFile << " "<< std::endl; -*/ - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - htmlFile << " "<< std::endl; - - htmlFile << ""<< std::endl; - htmlFile << "
HBHEHOHFHBHEHOHF
"<< std::endl; - htmlFile << "
"<< std::endl; - - htmlFile << " " << std::endl; - htmlFile << " " << std::endl; - htmlFile.close(); -//====================================================================== - -//====================================================================== -// Close and delete all possible things: - hfile->Close(); -// hfile->Delete(); -// Exit Root - gSystem->Exit(0); -//====================================================================== +*/ + htmlFile << " HB" << std::endl; + htmlFile << " HE" << std::endl; + htmlFile << " HO" << std::endl; + htmlFile << " HF" << std::endl; + + htmlFile << "" << std::endl; + htmlFile << "" << std::endl; + htmlFile << "
" << std::endl; + + htmlFile << " " << std::endl; + htmlFile << " " << std::endl; + htmlFile.close(); + //====================================================================== + //====================================================================== + // Close and delete all possible things: + hfile->Close(); + // hfile->Delete(); + // Exit Root + gSystem->Exit(0); + //====================================================================== } - - diff --git a/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAPTEST.cc b/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAPTEST.cc index 796823583df71..35cb94a44406d 100644 --- a/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAPTEST.cc +++ b/DPGAnalysis/HcalTools/macros/rmt/RemoteMonitoringMAPTEST.cc @@ -72,7 +72,6 @@ int main(int argc, char *argv[]) { // with TfileService implementation, change everywhere below: hreffile->Get to refdir->FindObjectAny // with TfileService implementation, change everywhere below: hfile->Get to dir->FindObjectAny - double MIN_M[7][5]; double MAX_M[7][5]; double MIN_C[7][5]; diff --git a/DPGAnalysis/HcalTools/plugins/CMTRawAnalyzer.cc b/DPGAnalysis/HcalTools/plugins/CMTRawAnalyzer.cc index 6866936f52bb1..486755db71300 100644 --- a/DPGAnalysis/HcalTools/plugins/CMTRawAnalyzer.cc +++ b/DPGAnalysis/HcalTools/plugins/CMTRawAnalyzer.cc @@ -4173,427 +4173,428 @@ void CMTRawAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& iS /////////////////// END of GENERAL NULLING //////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////////////// - if (flagToUseDigiCollectionsORNot_ != 0 ) { - /////////////////////////////////////////////////////////////////////////////////////////////////////////// - //////////////////////// START of DigiCollections running: /////////////////////////////////// - //////////////////////////////////////////////////////////////////// - if (flagupgradeqie1011_ != 2 && flagupgradeqie1011_ != 3 && flagupgradeqie1011_ != 6 && flagupgradeqie1011_ != 7 && - flagupgradeqie1011_ != 8) { - edm::Handle hf; - iEvent.getByToken(tok_hf_, hf); - bool gotHFDigis = true; - if (!(iEvent.getByToken(tok_hf_, hf))) { - gotHFDigis = false; - } //this is a boolean set up to check if there are HFdigis in input root file - if (!(hf.isValid())) { - gotHFDigis = false; - } //if it is not there, leave it false - if (!gotHFDigis) { - std::cout << " ****************************** =========================== No HFDigiCollection found " - << std::endl; - } else { - //////////////////////////////////////////////////////////////////// qie8 QIE8 : - for (HFDigiCollection::const_iterator digi = hf->begin(); digi != hf->end(); digi++) { - eta = digi->id().ieta(); - phi = digi->id().iphi(); - depth = digi->id().depth(); - nTS = digi->size(); - /////////////////// - counterhf++; - //////////////////////////////////////////////////////////// for zerrors.C script: - if (recordHistoes_ && studyCapIDErrorsHist_) - fillDigiErrorsHF(digi); - ////////////////////////////////////// for ztsmaxa.C,zratio34.C,zrms.C & zdifampl.C scripts: - if (recordHistoes_) - fillDigiAmplitudeHF(digi); - //////////////////////////////////////////// calibration staff (often not needed): - if (recordHistoes_ && studyCalibCellsHist_) { - int iphi = phi - 1; - int ieta = eta; - if (ieta > 0) - ieta -= 1; - if (nTS <= numOfTS) - for (int i = 0; i < nTS; i++) { - TS_data[i] = adc2fC[digi->sample(i).adc()]; + if (flagToUseDigiCollectionsORNot_ != 0) { + /////////////////////////////////////////////////////////////////////////////////////////////////////////// + //////////////////////// START of DigiCollections running: /////////////////////////////////// + //////////////////////////////////////////////////////////////////// + if (flagupgradeqie1011_ != 2 && flagupgradeqie1011_ != 3 && flagupgradeqie1011_ != 6 && + flagupgradeqie1011_ != 7 && flagupgradeqie1011_ != 8) { + edm::Handle hf; + iEvent.getByToken(tok_hf_, hf); + bool gotHFDigis = true; + if (!(iEvent.getByToken(tok_hf_, hf))) { + gotHFDigis = false; + } //this is a boolean set up to check if there are HFdigis in input root file + if (!(hf.isValid())) { + gotHFDigis = false; + } //if it is not there, leave it false + if (!gotHFDigis) { + std::cout << " ****************************** =========================== No HFDigiCollection found " + << std::endl; + } else { + //////////////////////////////////////////////////////////////////// qie8 QIE8 : + for (HFDigiCollection::const_iterator digi = hf->begin(); digi != hf->end(); digi++) { + eta = digi->id().ieta(); + phi = digi->id().iphi(); + depth = digi->id().depth(); + nTS = digi->size(); + /////////////////// + counterhf++; + //////////////////////////////////////////////////////////// for zerrors.C script: + if (recordHistoes_ && studyCapIDErrorsHist_) + fillDigiErrorsHF(digi); + ////////////////////////////////////// for ztsmaxa.C,zratio34.C,zrms.C & zdifampl.C scripts: + if (recordHistoes_) + fillDigiAmplitudeHF(digi); + //////////////////////////////////////////// calibration staff (often not needed): + if (recordHistoes_ && studyCalibCellsHist_) { + int iphi = phi - 1; + int ieta = eta; + if (ieta > 0) + ieta -= 1; + if (nTS <= numOfTS) + for (int i = 0; i < nTS; i++) { + TS_data[i] = adc2fC[digi->sample(i).adc()]; + signal[3][ieta + 41][iphi] += TS_data[i]; + if (i > 1 && i < 6) + signal3[3][ieta + 41][iphi] += TS_data[i]; + } // TS + } // if(recordHistoes_ && studyCalibCellsHist_) + } // for + } // hf.isValid + } // end flagupgrade + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// HFQIE10 DigiCollection + //////////////////////////////////////////////////////////////////////////////////////////////////upgradeHF upgradehf + // upgrade: + if (flagupgradeqie1011_ != 1) { + edm::Handle hfqie10; + iEvent.getByToken(tok_qie10_, hfqie10); + const QIE10DigiCollection& qie10dc = + *(hfqie10); //////////////////////////////////////////////// <<<========= !!!! + bool gotQIE10Digis = true; + if (!(iEvent.getByToken(tok_qie10_, hfqie10))) { + gotQIE10Digis = false; + } //this is a boolean set up to check if there are HFdigis in input root file + if (!(hfqie10.isValid())) { + gotQIE10Digis = false; + } //if it is not there, leave it false + if (!gotQIE10Digis) { + std::cout << " No QIE10DigiCollection collection is found " << std::endl; + } else { + //////////////////////////////////////////////////////////////////// qie10 QIE10 : + double totalAmplitudeHF = 0.; + for (unsigned int j = 0; j < qie10dc.size(); j++) { + QIE10DataFrame qie10df = static_cast(qie10dc[j]); + DetId detid = qie10df.detid(); + HcalDetId hcaldetid = HcalDetId(detid); + int eta = hcaldetid.ieta(); + int phi = hcaldetid.iphi(); + // int depth = hcaldetid.depth(); + // loop over the samples in the digi + nTS = qie10df.samples(); + /////////////////// + counterhfqie10++; + //////////////////////////////////////////////////////////// for zerrors.C script: + if (recordHistoes_ && studyCapIDErrorsHist_) + fillDigiErrorsHFQIE10(qie10df); + ////////////////////////////////////// for ztsmaxa.C,zratio34.C,zrms.C & zdifampl.C scripts: + if (recordHistoes_) + fillDigiAmplitudeHFQIE10(qie10df); + /////////////////// + // if(recordHistoes_ ) { + if (recordHistoes_ && studyCalibCellsHist_) { + int iphi = phi - 1; + int ieta = eta; + if (ieta > 0) + ieta -= 1; + double amplitudefullTSs = 0.; + double nnnnnnTS = 0.; + for (int i = 0; i < nTS; ++i) { + // j - QIE channel + // i - time sample (TS) + int adc = qie10df[i].adc(); + // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + // float charge = adc2fC_QIE10[ adc ]; + TS_data[i] = adc2fC_QIE10[adc]; signal[3][ieta + 41][iphi] += TS_data[i]; + totalAmplitudeHF += TS_data[i]; + amplitudefullTSs += TS_data[i]; + nnnnnnTS++; if (i > 1 && i < 6) signal3[3][ieta + 41][iphi] += TS_data[i]; - } // TS - } // if(recordHistoes_ && studyCalibCellsHist_) - } // for - } // hf.isValid - } // end flagupgrade - - ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// HFQIE10 DigiCollection - //////////////////////////////////////////////////////////////////////////////////////////////////upgradeHF upgradehf - // upgrade: - if (flagupgradeqie1011_ != 1) { - edm::Handle hfqie10; - iEvent.getByToken(tok_qie10_, hfqie10); - const QIE10DigiCollection& qie10dc = - *(hfqie10); //////////////////////////////////////////////// <<<========= !!!! - bool gotQIE10Digis = true; - if (!(iEvent.getByToken(tok_qie10_, hfqie10))) { - gotQIE10Digis = false; - } //this is a boolean set up to check if there are HFdigis in input root file - if (!(hfqie10.isValid())) { - gotQIE10Digis = false; - } //if it is not there, leave it false - if (!gotQIE10Digis) { - std::cout << " No QIE10DigiCollection collection is found " << std::endl; - } else { - //////////////////////////////////////////////////////////////////// qie10 QIE10 : - double totalAmplitudeHF = 0.; - for (unsigned int j = 0; j < qie10dc.size(); j++) { - QIE10DataFrame qie10df = static_cast(qie10dc[j]); - DetId detid = qie10df.detid(); - HcalDetId hcaldetid = HcalDetId(detid); - int eta = hcaldetid.ieta(); - int phi = hcaldetid.iphi(); - // int depth = hcaldetid.depth(); - // loop over the samples in the digi - nTS = qie10df.samples(); - /////////////////// - counterhfqie10++; - //////////////////////////////////////////////////////////// for zerrors.C script: - if (recordHistoes_ && studyCapIDErrorsHist_) - fillDigiErrorsHFQIE10(qie10df); - ////////////////////////////////////// for ztsmaxa.C,zratio34.C,zrms.C & zdifampl.C scripts: - if (recordHistoes_) - fillDigiAmplitudeHFQIE10(qie10df); - /////////////////// - // if(recordHistoes_ ) { - if (recordHistoes_ && studyCalibCellsHist_) { - int iphi = phi - 1; - int ieta = eta; - if (ieta > 0) - ieta -= 1; - double amplitudefullTSs = 0.; - double nnnnnnTS = 0.; - for (int i = 0; i < nTS; ++i) { - // j - QIE channel - // i - time sample (TS) - int adc = qie10df[i].adc(); - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - // float charge = adc2fC_QIE10[ adc ]; - TS_data[i] = adc2fC_QIE10[adc]; - signal[3][ieta + 41][iphi] += TS_data[i]; - totalAmplitudeHF += TS_data[i]; - amplitudefullTSs += TS_data[i]; - nnnnnnTS++; - if (i > 1 && i < 6) - signal3[3][ieta + 41][iphi] += TS_data[i]; - - } // TS - h_numberofhitsHFtest->Fill(nnnnnnTS); - h_AmplitudeHFtest->Fill(amplitudefullTSs); - } // if(recordHistoes_ && studyCalibCellsHist_) - } // for - h_totalAmplitudeHF->Fill(totalAmplitudeHF); - h_totalAmplitudeHFperEvent->Fill(float(eventcounter), totalAmplitudeHF); - } // hfqie10.isValid - } // end flagupgrade - //end upgrade - // - // - //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// HBHEDigiCollection usual, <=2018 - int qwert1 = 0; - int qwert2 = 0; - int qwert3 = 0; - int qwert4 = 0; - int qwert5 = 0; - if (flagupgradeqie1011_ != 2 && flagupgradeqie1011_ != 3) { - edm::Handle hbhe; - iEvent.getByToken(tok_hbhe_, hbhe); - bool gotHBHEDigis = true; - if (!(iEvent.getByToken(tok_hbhe_, hbhe))) - gotHBHEDigis = false; //this is a boolean set up to check if there are HBHEgigis in input root file - if (!(hbhe.isValid())) - gotHBHEDigis = false; //if it is not there, leave it false - if (!gotHBHEDigis) { - std::cout << " No HBHEDigiCollection collection is found " << std::endl; - } else { - // unsigned int NHBHEDigiCollectionsize = hbhe->size(); - double totalAmplitudeHB = 0.; - double totalAmplitudeHE = 0.; - double nnnnnnTSHB = 0.; - double nnnnnnTSHE = 0.; - for (HBHEDigiCollection::const_iterator digi = hbhe->begin(); digi != hbhe->end(); digi++) { - eta = digi->id().ieta(); - phi = digi->id().iphi(); - depth = digi->id().depth(); - nTS = digi->size(); - /////////////////////////////////////// counters of event*digis - nnnnnnhbhe++; - nnnnnn++; - ////////////////////////////////// counters of event for subdet & depth - if (digi->id().subdet() == HcalBarrel && depth == 1 && qwert1 == 0) { - nnnnnn1++; - qwert1 = 1; - } - if (digi->id().subdet() == HcalBarrel && depth == 2 && qwert2 == 0) { - nnnnnn2++; - qwert2 = 1; - } - if (digi->id().subdet() == HcalEndcap && depth == 1 && qwert3 == 0) { - nnnnnn3++; - qwert3 = 1; - } - if (digi->id().subdet() == HcalEndcap && depth == 2 && qwert4 == 0) { - nnnnnn4++; - qwert4 = 1; + } // TS + h_numberofhitsHFtest->Fill(nnnnnnTS); + h_AmplitudeHFtest->Fill(amplitudefullTSs); + } // if(recordHistoes_ && studyCalibCellsHist_) + } // for + h_totalAmplitudeHF->Fill(totalAmplitudeHF); + h_totalAmplitudeHFperEvent->Fill(float(eventcounter), totalAmplitudeHF); + } // hfqie10.isValid + } // end flagupgrade + //end upgrade + // + // + //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// HBHEDigiCollection usual, <=2018 + int qwert1 = 0; + int qwert2 = 0; + int qwert3 = 0; + int qwert4 = 0; + int qwert5 = 0; + if (flagupgradeqie1011_ != 2 && flagupgradeqie1011_ != 3) { + edm::Handle hbhe; + iEvent.getByToken(tok_hbhe_, hbhe); + bool gotHBHEDigis = true; + if (!(iEvent.getByToken(tok_hbhe_, hbhe))) + gotHBHEDigis = false; //this is a boolean set up to check if there are HBHEgigis in input root file + if (!(hbhe.isValid())) + gotHBHEDigis = false; //if it is not there, leave it false + if (!gotHBHEDigis) { + std::cout << " No HBHEDigiCollection collection is found " << std::endl; + } else { + // unsigned int NHBHEDigiCollectionsize = hbhe->size(); + double totalAmplitudeHB = 0.; + double totalAmplitudeHE = 0.; + double nnnnnnTSHB = 0.; + double nnnnnnTSHE = 0.; + + for (HBHEDigiCollection::const_iterator digi = hbhe->begin(); digi != hbhe->end(); digi++) { + eta = digi->id().ieta(); + phi = digi->id().iphi(); + depth = digi->id().depth(); + nTS = digi->size(); + /////////////////////////////////////// counters of event*digis + nnnnnnhbhe++; + nnnnnn++; + ////////////////////////////////// counters of event for subdet & depth + if (digi->id().subdet() == HcalBarrel && depth == 1 && qwert1 == 0) { + nnnnnn1++; + qwert1 = 1; + } + if (digi->id().subdet() == HcalBarrel && depth == 2 && qwert2 == 0) { + nnnnnn2++; + qwert2 = 1; + } + if (digi->id().subdet() == HcalEndcap && depth == 1 && qwert3 == 0) { + nnnnnn3++; + qwert3 = 1; + } + if (digi->id().subdet() == HcalEndcap && depth == 2 && qwert4 == 0) { + nnnnnn4++; + qwert4 = 1; + } + if (digi->id().subdet() == HcalEndcap && depth == 3 && qwert5 == 0) { + nnnnnn5++; + qwert5 = 1; + } + //////////////////////////////////////////////////////////// for zerrors.C script: + if (recordHistoes_ && studyCapIDErrorsHist_) + fillDigiErrors(digi); + ////////////////////////////////////// for ztsmaxa.C,zratio34.C,zrms.C & zdifampl.C scripts: + if (recordHistoes_) + fillDigiAmplitude(digi); + + if (recordHistoes_ && studyCalibCellsHist_) { + int iphi = phi - 1; + int ieta = eta; + if (ieta > 0) + ieta -= 1; + ////////////////////////////////////////// HB: + if (digi->id().subdet() == HcalBarrel) { + double amplitudefullTSs = 0.; + nnnnnnTSHB++; + if (nTS <= numOfTS) + for (int i = 0; i < nTS; i++) { + TS_data[i] = adc2fC[digi->sample(i).adc()]; + signal[0][ieta + 41][iphi] += TS_data[i]; + amplitudefullTSs += TS_data[i]; + totalAmplitudeHB += TS_data[i]; + if (i > 1 && i < 6) + signal3[0][ieta + 41][iphi] += TS_data[i]; + } + h_AmplitudeHBtest->Fill(amplitudefullTSs); + } // HB + ////////////////////////////////////////// HE: + if (digi->id().subdet() == HcalEndcap) { + double amplitudefullTSs = 0.; + nnnnnnTSHE++; + if (nTS <= numOfTS) + for (int i = 0; i < nTS; i++) { + TS_data[i] = adc2fC[digi->sample(i).adc()]; + signal[1][ieta + 41][iphi] += TS_data[i]; + totalAmplitudeHE += TS_data[i]; + amplitudefullTSs += TS_data[i]; + if (i > 1 && i < 6) + signal3[1][ieta + 41][iphi] += TS_data[i]; + } + h_AmplitudeHEtest->Fill(amplitudefullTSs); + } // HE + + } //if(recordHistoes_ && studyCalibCellsHist_) + if (recordNtuples_ && nevent50 < maxNeventsInNtuple_) { + } //if(recordNtuples_) + } // for HBHE digis + if (totalAmplitudeHB != 0.) { + h_numberofhitsHBtest->Fill(nnnnnnTSHB); + h_totalAmplitudeHB->Fill(totalAmplitudeHB); + h_totalAmplitudeHBperEvent->Fill(float(eventcounter), totalAmplitudeHB); } - if (digi->id().subdet() == HcalEndcap && depth == 3 && qwert5 == 0) { - nnnnnn5++; - qwert5 = 1; + if (totalAmplitudeHE != 0.) { + h_numberofhitsHEtest->Fill(nnnnnnTSHE); + h_totalAmplitudeHE->Fill(totalAmplitudeHE); + h_totalAmplitudeHEperEvent->Fill(float(eventcounter), totalAmplitudeHE); } - //////////////////////////////////////////////////////////// for zerrors.C script: - if (recordHistoes_ && studyCapIDErrorsHist_) - fillDigiErrors(digi); - ////////////////////////////////////// for ztsmaxa.C,zratio34.C,zrms.C & zdifampl.C scripts: - if (recordHistoes_) - fillDigiAmplitude(digi); + } //hbhe.isValid + } // end flagupgrade + //--------------------------------------------------------------- + ////////////////////////////////////////////////////////////////////////////////////////////////// upgradeHBHE upgradehe HBHE with SiPM (both >=2020) + // upgrade: + if (flagupgradeqie1011_ != 1 && flagupgradeqie1011_ != 4 && flagupgradeqie1011_ != 5 && + flagupgradeqie1011_ != 10) { + edm::Handle heqie11; + iEvent.getByToken(tok_qie11_, heqie11); + const QIE11DigiCollection& qie11dc = + *(heqie11); //////////////////////////////////////////////// <<<========= !!!! + bool gotQIE11Digis = true; + if (!(iEvent.getByToken(tok_qie11_, heqie11))) + gotQIE11Digis = false; //this is a boolean set up to check if there are QIE11gigis in input root file + if (!(heqie11.isValid())) + gotQIE11Digis = false; //if it is not there, leave it false + if (!gotQIE11Digis) { + std::cout << " No QIE11DigiCollection collection is found " << std::endl; + } else { + //////////////////////////////////////////////////////////////////// qie11 QIE11 : + double totalAmplitudeHBQIE11 = 0.; + double totalAmplitudeHEQIE11 = 0.; + double nnnnnnTSHBQIE11 = 0.; + double nnnnnnTSHEQIE11 = 0.; + for (unsigned int j = 0; j < qie11dc.size(); j++) { + QIE11DataFrame qie11df = static_cast(qie11dc[j]); + DetId detid = qie11df.detid(); + HcalDetId hcaldetid = HcalDetId(detid); + int eta = hcaldetid.ieta(); + int phi = hcaldetid.iphi(); + int depth = hcaldetid.depth(); + if (depth == 0) + return; + int sub = hcaldetid.subdet(); // 1-HB, 2-HE (HFDigiCollection: 4-HF) + // loop over the samples in the digi + nTS = qie11df.samples(); + /////////////////// + nnnnnnhbheqie11++; + nnnnnn++; + if (recordHistoes_ && studyCapIDErrorsHist_) + fillDigiErrorsQIE11(qie11df); + ////////////////////////////////////// for ztsmaxa.C,zratio34.C,zrms.C & zdifampl.C scripts: + if (recordHistoes_) + fillDigiAmplitudeQIE11(qie11df); + /////////////////// + ////////////////////////////////// counters of event for subdet & depth + if (sub == 1 && depth == 1 && qwert1 == 0) { + nnnnnn1++; + qwert1 = 1; + } + if (sub == 1 && depth == 2 && qwert2 == 0) { + nnnnnn2++; + qwert2 = 1; + } + if (sub == 2 && depth == 1 && qwert3 == 0) { + nnnnnn3++; + qwert3 = 1; + } + if (sub == 2 && depth == 2 && qwert4 == 0) { + nnnnnn4++; + qwert4 = 1; + } + if (sub == 2 && depth == 3 && qwert5 == 0) { + nnnnnn5++; + qwert5 = 1; + } - if (recordHistoes_ && studyCalibCellsHist_) { - int iphi = phi - 1; - int ieta = eta; - if (ieta > 0) - ieta -= 1; - ////////////////////////////////////////// HB: - if (digi->id().subdet() == HcalBarrel) { - double amplitudefullTSs = 0.; - nnnnnnTSHB++; - if (nTS <= numOfTS) - for (int i = 0; i < nTS; i++) { - TS_data[i] = adc2fC[digi->sample(i).adc()]; - signal[0][ieta + 41][iphi] += TS_data[i]; - amplitudefullTSs += TS_data[i]; - totalAmplitudeHB += TS_data[i]; + if (recordHistoes_ && studyCalibCellsHist_) { + int iphi = phi - 1; + int ieta = eta; + if (ieta > 0) + ieta -= 1; + // HB: + if (sub == 1) { + double amplitudefullTSs1 = 0.; + double amplitudefullTSs6 = 0.; + nnnnnnTSHBQIE11++; + for (int i = 0; i < nTS; ++i) { + int adc = qie11df[i].adc(); + double charge1 = adc2fC_QIE11_shunt1[adc]; + double charge6 = adc2fC_QIE11_shunt6[adc]; + amplitudefullTSs1 += charge1; + amplitudefullTSs6 += charge6; + double charge = charge6; + TS_data[i] = charge; + signal[0][ieta + 41][iphi] += charge; if (i > 1 && i < 6) - signal3[0][ieta + 41][iphi] += TS_data[i]; - } - h_AmplitudeHBtest->Fill(amplitudefullTSs); - } // HB - ////////////////////////////////////////// HE: - if (digi->id().subdet() == HcalEndcap) { - double amplitudefullTSs = 0.; - nnnnnnTSHE++; - if (nTS <= numOfTS) + signal3[0][ieta + 41][iphi] += charge; + totalAmplitudeHBQIE11 += charge; + } //for + h_AmplitudeHBtest1->Fill(amplitudefullTSs1, 1.); + h_AmplitudeHBtest6->Fill(amplitudefullTSs6, 1.); + } //HB end + // HE: + if (sub == 2) { + double amplitudefullTSs1 = 0.; + double amplitudefullTSs6 = 0.; + nnnnnnTSHEQIE11++; for (int i = 0; i < nTS; i++) { - TS_data[i] = adc2fC[digi->sample(i).adc()]; - signal[1][ieta + 41][iphi] += TS_data[i]; - totalAmplitudeHE += TS_data[i]; - amplitudefullTSs += TS_data[i]; + int adc = qie11df[i].adc(); + double charge1 = adc2fC_QIE11_shunt1[adc]; + double charge6 = adc2fC_QIE11_shunt6[adc]; + amplitudefullTSs1 += charge1; + amplitudefullTSs6 += charge6; + double charge = charge6; + TS_data[i] = charge; + signal[1][ieta + 41][iphi] += charge; if (i > 1 && i < 6) - signal3[1][ieta + 41][iphi] += TS_data[i]; - } - h_AmplitudeHEtest->Fill(amplitudefullTSs); - } // HE - - } //if(recordHistoes_ && studyCalibCellsHist_) - if (recordNtuples_ && nevent50 < maxNeventsInNtuple_) { - } //if(recordNtuples_) - } // for HBHE digis - if (totalAmplitudeHB != 0.) { - h_numberofhitsHBtest->Fill(nnnnnnTSHB); - h_totalAmplitudeHB->Fill(totalAmplitudeHB); - h_totalAmplitudeHBperEvent->Fill(float(eventcounter), totalAmplitudeHB); - } - if (totalAmplitudeHE != 0.) { - h_numberofhitsHEtest->Fill(nnnnnnTSHE); - h_totalAmplitudeHE->Fill(totalAmplitudeHE); - h_totalAmplitudeHEperEvent->Fill(float(eventcounter), totalAmplitudeHE); - } - } //hbhe.isValid - } // end flagupgrade - //--------------------------------------------------------------- - ////////////////////////////////////////////////////////////////////////////////////////////////// upgradeHBHE upgradehe HBHE with SiPM (both >=2020) - // upgrade: - if (flagupgradeqie1011_ != 1 && flagupgradeqie1011_ != 4 && flagupgradeqie1011_ != 5 && flagupgradeqie1011_ != 10) { - edm::Handle heqie11; - iEvent.getByToken(tok_qie11_, heqie11); - const QIE11DigiCollection& qie11dc = - *(heqie11); //////////////////////////////////////////////// <<<========= !!!! - bool gotQIE11Digis = true; - if (!(iEvent.getByToken(tok_qie11_, heqie11))) - gotQIE11Digis = false; //this is a boolean set up to check if there are QIE11gigis in input root file - if (!(heqie11.isValid())) - gotQIE11Digis = false; //if it is not there, leave it false - if (!gotQIE11Digis) { - std::cout << " No QIE11DigiCollection collection is found " << std::endl; + signal3[1][ieta + 41][iphi] += charge; + totalAmplitudeHEQIE11 += charge; + } //for + h_AmplitudeHEtest1->Fill(amplitudefullTSs1, 1.); + h_AmplitudeHEtest6->Fill(amplitudefullTSs6, 1.); + + } //HE end + } //if(recordHistoes_ && studyCalibCellsHist_) + } // for QIE11 digis + + if (totalAmplitudeHBQIE11 != 0.) { + h_numberofhitsHBtest->Fill(nnnnnnTSHBQIE11); + h_totalAmplitudeHB->Fill(totalAmplitudeHBQIE11); + h_totalAmplitudeHBperEvent->Fill(float(eventcounter), totalAmplitudeHBQIE11); + } + if (totalAmplitudeHEQIE11 != 0.) { + h_numberofhitsHEtest->Fill(nnnnnnTSHEQIE11); + h_totalAmplitudeHE->Fill(totalAmplitudeHEQIE11); + h_totalAmplitudeHEperEvent->Fill(float(eventcounter), totalAmplitudeHEQIE11); + } + } //heqie11.isValid + } // end flagupgrade + + /////////////////////////////////////////////////////////////////////////////////////////////////////////////// HODigiCollection + edm::Handle ho; + iEvent.getByToken(tok_ho_, ho); + bool gotHODigis = true; + if (!(iEvent.getByToken(tok_ho_, ho))) + gotHODigis = false; //this is a boolean set up to check if there are HOgigis in input root file + if (!(ho.isValid())) + gotHODigis = false; //if it is not there, leave it false + if (!gotHODigis) { + // if(!ho.isValid()) { + std::cout << " No HO collection is found " << std::endl; } else { - //////////////////////////////////////////////////////////////////// qie11 QIE11 : - double totalAmplitudeHBQIE11 = 0.; - double totalAmplitudeHEQIE11 = 0.; - double nnnnnnTSHBQIE11 = 0.; - double nnnnnnTSHEQIE11 = 0.; - for (unsigned int j = 0; j < qie11dc.size(); j++) { - QIE11DataFrame qie11df = static_cast(qie11dc[j]); - DetId detid = qie11df.detid(); - HcalDetId hcaldetid = HcalDetId(detid); - int eta = hcaldetid.ieta(); - int phi = hcaldetid.iphi(); - int depth = hcaldetid.depth(); - if (depth == 0) - return; - int sub = hcaldetid.subdet(); // 1-HB, 2-HE (HFDigiCollection: 4-HF) - // loop over the samples in the digi - nTS = qie11df.samples(); + int qwert6 = 0; + double totalAmplitudeHO = 0.; + for (HODigiCollection::const_iterator digi = ho->begin(); digi != ho->end(); digi++) { + eta = digi->id().ieta(); + phi = digi->id().iphi(); + depth = digi->id().depth(); + nTS = digi->size(); /////////////////// - nnnnnnhbheqie11++; - nnnnnn++; + counterho++; + ////////////////////////////////// counters of event + if (qwert6 == 0) { + nnnnnn6++; + qwert6 = 1; + } + //////////////////////////////////////////////////////////// for zerrors.C script: if (recordHistoes_ && studyCapIDErrorsHist_) - fillDigiErrorsQIE11(qie11df); + fillDigiErrorsHO(digi); ////////////////////////////////////// for ztsmaxa.C,zratio34.C,zrms.C & zdifampl.C scripts: if (recordHistoes_) - fillDigiAmplitudeQIE11(qie11df); + fillDigiAmplitudeHO(digi); /////////////////// - ////////////////////////////////// counters of event for subdet & depth - if (sub == 1 && depth == 1 && qwert1 == 0) { - nnnnnn1++; - qwert1 = 1; - } - if (sub == 1 && depth == 2 && qwert2 == 0) { - nnnnnn2++; - qwert2 = 1; - } - if (sub == 2 && depth == 1 && qwert3 == 0) { - nnnnnn3++; - qwert3 = 1; - } - if (sub == 2 && depth == 2 && qwert4 == 0) { - nnnnnn4++; - qwert4 = 1; - } - if (sub == 2 && depth == 3 && qwert5 == 0) { - nnnnnn5++; - qwert5 = 1; - } - if (recordHistoes_ && studyCalibCellsHist_) { int iphi = phi - 1; int ieta = eta; if (ieta > 0) ieta -= 1; - // HB: - if (sub == 1) { - double amplitudefullTSs1 = 0.; - double amplitudefullTSs6 = 0.; - nnnnnnTSHBQIE11++; - for (int i = 0; i < nTS; ++i) { - int adc = qie11df[i].adc(); - double charge1 = adc2fC_QIE11_shunt1[adc]; - double charge6 = adc2fC_QIE11_shunt6[adc]; - amplitudefullTSs1 += charge1; - amplitudefullTSs6 += charge6; - double charge = charge6; - TS_data[i] = charge; - signal[0][ieta + 41][iphi] += charge; - if (i > 1 && i < 6) - signal3[0][ieta + 41][iphi] += charge; - totalAmplitudeHBQIE11 += charge; - } //for - h_AmplitudeHBtest1->Fill(amplitudefullTSs1, 1.); - h_AmplitudeHBtest6->Fill(amplitudefullTSs6, 1.); - } //HB end - // HE: - if (sub == 2) { - double amplitudefullTSs1 = 0.; - double amplitudefullTSs6 = 0.; - nnnnnnTSHEQIE11++; + double nnnnnnTS = 0.; + double amplitudefullTSs = 0.; + if (nTS <= numOfTS) for (int i = 0; i < nTS; i++) { - int adc = qie11df[i].adc(); - double charge1 = adc2fC_QIE11_shunt1[adc]; - double charge6 = adc2fC_QIE11_shunt6[adc]; - amplitudefullTSs1 += charge1; - amplitudefullTSs6 += charge6; - double charge = charge6; - TS_data[i] = charge; - signal[1][ieta + 41][iphi] += charge; + TS_data[i] = adc2fC[digi->sample(i).adc()]; + amplitudefullTSs += TS_data[i]; + signal[2][ieta + 41][iphi] += TS_data[i]; + totalAmplitudeHO += TS_data[i]; if (i > 1 && i < 6) - signal3[1][ieta + 41][iphi] += charge; - totalAmplitudeHEQIE11 += charge; - } //for - h_AmplitudeHEtest1->Fill(amplitudefullTSs1, 1.); - h_AmplitudeHEtest6->Fill(amplitudefullTSs6, 1.); - - } //HE end - } //if(recordHistoes_ && studyCalibCellsHist_) - } // for QIE11 digis - - if (totalAmplitudeHBQIE11 != 0.) { - h_numberofhitsHBtest->Fill(nnnnnnTSHBQIE11); - h_totalAmplitudeHB->Fill(totalAmplitudeHBQIE11); - h_totalAmplitudeHBperEvent->Fill(float(eventcounter), totalAmplitudeHBQIE11); - } - if (totalAmplitudeHEQIE11 != 0.) { - h_numberofhitsHEtest->Fill(nnnnnnTSHEQIE11); - h_totalAmplitudeHE->Fill(totalAmplitudeHEQIE11); - h_totalAmplitudeHEperEvent->Fill(float(eventcounter), totalAmplitudeHEQIE11); - } - } //heqie11.isValid - } // end flagupgrade - - /////////////////////////////////////////////////////////////////////////////////////////////////////////////// HODigiCollection - edm::Handle ho; - iEvent.getByToken(tok_ho_, ho); - bool gotHODigis = true; - if (!(iEvent.getByToken(tok_ho_, ho))) - gotHODigis = false; //this is a boolean set up to check if there are HOgigis in input root file - if (!(ho.isValid())) - gotHODigis = false; //if it is not there, leave it false - if (!gotHODigis) { - // if(!ho.isValid()) { - std::cout << " No HO collection is found " << std::endl; - } else { - int qwert6 = 0; - double totalAmplitudeHO = 0.; - for (HODigiCollection::const_iterator digi = ho->begin(); digi != ho->end(); digi++) { - eta = digi->id().ieta(); - phi = digi->id().iphi(); - depth = digi->id().depth(); - nTS = digi->size(); - /////////////////// - counterho++; - ////////////////////////////////// counters of event - if (qwert6 == 0) { - nnnnnn6++; - qwert6 = 1; - } - //////////////////////////////////////////////////////////// for zerrors.C script: - if (recordHistoes_ && studyCapIDErrorsHist_) - fillDigiErrorsHO(digi); - ////////////////////////////////////// for ztsmaxa.C,zratio34.C,zrms.C & zdifampl.C scripts: - if (recordHistoes_) - fillDigiAmplitudeHO(digi); - /////////////////// - if (recordHistoes_ && studyCalibCellsHist_) { - int iphi = phi - 1; - int ieta = eta; - if (ieta > 0) - ieta -= 1; - double nnnnnnTS = 0.; - double amplitudefullTSs = 0.; - if (nTS <= numOfTS) - for (int i = 0; i < nTS; i++) { - TS_data[i] = adc2fC[digi->sample(i).adc()]; - amplitudefullTSs += TS_data[i]; - signal[2][ieta + 41][iphi] += TS_data[i]; - totalAmplitudeHO += TS_data[i]; - if (i > 1 && i < 6) - signal3[2][ieta + 41][iphi] += TS_data[i]; - nnnnnnTS++; - } //if for - h_AmplitudeHOtest->Fill(amplitudefullTSs); - h_numberofhitsHOtest->Fill(nnnnnnTS); - } //if(recordHistoes_ && studyCalibCellsHist_) - } //for HODigiCollection - - h_totalAmplitudeHO->Fill(totalAmplitudeHO); - h_totalAmplitudeHOperEvent->Fill(float(eventcounter), totalAmplitudeHO); - } //ho.isValid( - }// flagToUseDigiCollectionsORNot_ + signal3[2][ieta + 41][iphi] += TS_data[i]; + nnnnnnTS++; + } //if for + h_AmplitudeHOtest->Fill(amplitudefullTSs); + h_numberofhitsHOtest->Fill(nnnnnnTS); + } //if(recordHistoes_ && studyCalibCellsHist_) + } //for HODigiCollection + + h_totalAmplitudeHO->Fill(totalAmplitudeHO); + h_totalAmplitudeHOperEvent->Fill(float(eventcounter), totalAmplitudeHO); + } //ho.isValid( + } // flagToUseDigiCollectionsORNot_ //////////////////////////////////// RecHits for phi-symmetry monitoring of calibration group: // AZ 04.11.2019 @@ -6585,7 +6586,7 @@ void CMTRawAnalyzer::beginJob() { h_energyhitNoise_HB = fs_->make("h_energyhitNoise_HB", " ", npfit, -0.22, 0.22); h_energyhitNoise_HE = fs_->make("h_energyhitNoise_HE", " ", npfit, -0.22, 0.22); h_energyhitNoise_HF = fs_->make("h_energyhitNoise_HF", " ", npfit, -4.4, 4.4); - + //HB: h_recSignalEnergy0_HB1 = fs_->make("h_recSignalEnergy0_HB1", " ", neta, -41., 41., nphi, 0., bphi); h_recSignalEnergy1_HB1 = fs_->make("h_recSignalEnergy1_HB1", " ", neta, -41., 41., nphi, 0., bphi);